/* =====================================================
   style.css — Hydotech Hydraulics
   Complete Responsive Stylesheet
   ===================================================== */

/* ===== CSS VARIABLES ===== */
:root {
    /* Colors */
    --primary: #0b3b5c;
    --primary-dark: #062536;
    --primary-light: #1e6fa8;
    --accent: #f4a261;
    --accent-dark: #d97706;
    --white: #ffffff;
    --off-white: #f8fafd;
    --light-bg: #f1f5f9;
    --gray: #4a5c6e;
    --gray-light: #94a3b8;
    --text-dark: #0b1e33;
    --border: #e0e8f0;
    
    /* Shadows */
    --shadow-sm: 0 4px 20px rgba(0, 20, 40, 0.08);
    --shadow-md: 0 12px 30px rgba(0, 20, 40, 0.12);
    --shadow-hover: 0 20px 45px rgba(0, 30, 60, 0.18);
    
    /* Radius */
    --radius-xs: 8px;
    --radius-sm: 12px;
    --radius-card: 20px;
    --radius-btn: 50px;
    --radius-full: 9999px;
    
    /* Spacing (8px grid) */
    --space-0: 0;
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    
    /* Typography */
    --font-size-xs: clamp(0.8125rem, 2vw, 0.875rem);
    --font-size-sm: clamp(0.875rem, 2.5vw, 1rem);
    --font-size-base: clamp(1rem, 3.5vw, 1.125rem);
    
    /* Effects */
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --header-height: clamp(66px, 12vw, 80px);
    
    /* Viewport */
    --vh: 1vh;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Poppins', sans-serif;
    background: var(--off-white);
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.7;
    font-size: var(--font-size-base);
    text-rendering: optimizeSpeed;
    -webkit-font-smoothing: antialiased;
    scroll-padding-top: var(--header-height);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* ===== CONTAINERS ===== */
.auto-container {
    max-width: 1400px;
    margin: 0 auto;
    padding-inline: clamp(var(--space-3), 4vw, var(--space-6));
    padding-inline-start: max(var(--space-3), env(safe-area-inset-left));
    padding-inline-end: max(var(--space-3), env(safe-area-inset-right));
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-8);
    min-height: 48px;
    border-radius: var(--radius-btn);
    font-weight: 600;
    font-size: var(--font-size-sm);
    line-height: 1.4;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    text-decoration: none;
    font-family: inherit;
    touch-action: manipulation;
    min-width: clamp(120px, 20vw, 200px);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(11, 59, 92, 0.25);
    border: 2px solid white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(11, 59, 92, 0.35);
    color: var(--white);
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-outline-white {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-outline-blue {
    border: 2px solid #00aaff;
    color: #00aaff;
    background: transparent;
}

.btn-outline-blue:hover {
    background: #00aaff;
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    font-weight: 700;
}

.btn-white:hover {
    background: var(--accent);
    color: var(--white);
}

.btn-small {
    padding: 10px 22px;
    font-size: 14px;
}

.highlight {
    color: var(--accent);
}

.highlight-blue {
    color: #38bdf8;
}

/* ===== SOCIAL FLOAT ===== */
.social-float {
    position: fixed;
    top: 50%;
    right: clamp(0.75rem, 3vw, 1.125rem);
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: clamp(var(--space-2), 3vh, var(--space-3));
    z-index: 1000;
    bottom: auto;
}

.social-btn {
    width: clamp(44px, 12vw, 56px);
    height: clamp(44px, 12vw, 56px);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: clamp(16px, 4vw, 20px);
    text-decoration: none;
    position: relative;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    touch-action: manipulation;
}

.social-btn::before {
    content: "";
    position: absolute;
    width: 150%;
    height: 150%;
    background: rgba(255, 255, 255, 0.2);
    top: -150%;
    left: -150%;
    transform: rotate(45deg);
    transition: 0.5s;
}

.social-btn:hover::before {
    top: -10%;
    left: -10%;
}

.social-btn:hover {
    transform: scale(1.15) rotate(6deg);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.social-btn span {
    position: absolute;
    right: 60px;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 5px 12px;
    font-size: 12px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    font-family: inherit;
}

.social-btn:hover span {
    opacity: 1;
}

.social-btn.whatsapp { background: linear-gradient(135deg, #25D366, #128C7E); }
.social-btn.instagram { background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af); }
.social-btn.facebook { background: linear-gradient(135deg, #1877f2, #0d5ed7); }
.social-btn.youtube { background: linear-gradient(135deg, #ff0000, #cc0000); }
.social-btn.call { background: linear-gradient(135deg, #f59e0b, #d97706); }

/* ===== TOP MARQUEE BAR ===== */
.hydro-topbar {
    background: linear-gradient(90deg, #0d1b2a, #1b263b);
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hydro-marquee {
    overflow: hidden;
    padding: 9px 0;
}

.hydro-track {
    display: flex;
    width: max-content;
    animation: hydroScroll 24s linear infinite;
}

.hydro-track:hover {
    animation-play-state: paused;
}

.hydro-content {
    display: flex;
    align-items: center;
    gap: 30px;
    white-space: nowrap;
    padding-right: 60px;
}

.hydro-content a {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13.5px;
    transition: var(--transition);
}

.hydro-content a:hover {
    color: #00d4ff;
}

.hydro-content .separator {
    opacity: 0.4;
}

@keyframes hydroScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== HEADER / NAVBAR ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 990;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-lower {
    background: var(--white);
    padding: 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
    position: relative;
}

/* Logo */
.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 58px;
    width: auto;
    display: block;
}

/* Hamburger Button */
.navbar-toggler {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: var(--primary);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
    transition: var(--transition);
}

.navbar-toggler:hover {
    background: var(--primary-dark);
}

.navbar-toggler .bar {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: center;
}

/* Hamburger → X animation */
.navbar-toggler.active .bar:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}
.navbar-toggler.active .bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.navbar-toggler.active .bar:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* Nav Menu */
.main-menu {
    display: flex;
    align-items: center;
}

.navigation {
    display: flex;
    align-items: center;
    gap: 5px;
}

.navigation > li {
    position: relative;
}

.navigation > li > a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 600;
    font-size: 15px;
    padding: 12px 16px;
    border-radius: 8px;
    transition: var(--transition);
    white-space: nowrap;
}

.navigation > li > a:hover,
.navigation > li.active > a {
    color: var(--accent);
    background: rgba(244, 162, 97, 0.08);
}

.navigation > li > a .dropdown-arrow {
    font-size: 11px;
    transition: transform 0.3s ease;
}

/* Sub-menu Dropdown */
.sub-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 230px;
    background: var(--white);
    border-radius: 16px;
    padding: 10px 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s ease;
    z-index: 9999;
    border: 1px solid var(--border);
}

.has-dropdown:hover .sub-menu,
.has-dropdown.open .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.has-dropdown:hover > a .dropdown-arrow,
.has-dropdown.open > a .dropdown-arrow {
    transform: rotate(180deg);
}

.sub-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: var(--primary);
    font-size: 14.5px;
    font-weight: 500;
    border-radius: 10px;
    transition: var(--transition);
}

.sub-menu li a:hover {
    background: var(--light-bg);
    color: var(--accent-dark);
    padding-left: 20px;
}

.sub-menu li a i {
    font-size: 12px;
    color: var(--accent);
    width: 16px;
}

/* Mobile Overlay */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 988;
    backdrop-filter: blur(2px);
}

.nav-overlay.active {
    display: block;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    background: url('images/application/bcab.jpg') no-repeat center center / cover;
    padding: 90px 0 60px;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(6, 37, 54, 0.85) 0%, rgba(11, 59, 92, 0.65) 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
    position: relative;
    z-index: 2;
}

.hero-content {
    color: var(--white);
}

.badge {
    display: inline-block;
    background: rgba(244, 162, 97, 0.2);
    border: 1px solid rgba(244, 162, 97, 0.4);
    color: var(--accent);
    padding: 7px 20px;
    border-radius: var(--radius-btn);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.hero-content h1 {
    font-size: clamp(32px, clamp(5vw, 1rem + 3vw, 6vw), 54px);
    font-weight: 800;
    line-height: 1.18;
    margin-bottom: clamp(var(--space-4), 5vw, var(--space-6));
    color: var(--white);
}

.hero-content p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 32px;
    max-width: 480px;
    line-height: 1.7;
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.stats {
    display: flex;
    gap: 35px;
    flex-wrap: wrap;
}

.stats div {
    text-align: center;
}

.stats div strong {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.stats div span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
    margin-top: 4px;
    display: block;
}

.hero-image {
    position: relative;
    text-align: center;
}

.main-hero-img {
    width: 100%;
    max-width: 460px;
    margin: auto;
    animation: floatAnim 5s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4));
}

@keyframes floatAnim {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-16px); }
}

.floating-card {
    position: absolute;
    background: var(--white);
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: var(--shadow-hover);
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    animation: floatAnim 5s ease-in-out infinite;
    white-space: nowrap;
}

.floating-card i {
    color: var(--accent);
    font-size: 18px;
}

.card1 { top: 15%; left: 0; animation-delay: 0s; }
.card2 { top: 50%; right: -5%; animation-delay: 1.5s; }
.card3 { bottom: 8%; left: 20%; animation-delay: 3s; }

/* ===== BRANDS TICKER ===== */
.brands-ticker {
    background: var(--white);
    overflow: hidden;
    padding: 14px 0;
    border-top: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
}

.ticker-track {
    display: flex;
    align-items: center;
    gap: 45px;
    width: max-content;
    animation: tickerScroll 22s linear infinite;
}

.ticker-track:hover {
    animation-play-state: paused;
}

.ticker-track span {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ticker-track img {
    width: clamp(60px, 18vw, 90px);
    height: clamp(50px, 15vw, 80px);
    aspect-ratio: 1;
    object-fit: contain;
    transition: var(--transition);
}

.ticker-track span:hover img {
    transform: scale(1.1);
}

@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== MORE PRODUCTS SLIDER ===== */
.more-products-section {
    background: var(--off-white);
    padding: 50px 0;
}

.section-title-center {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 30px;
    position: relative;
}

.section-title-center::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 10px auto 0;
    border-radius: 3px;
}

.logo-slider {
    overflow: hidden;
    padding: 15px 0;
}

.product-track {
    display: flex;
    width: max-content;
    animation: productScroll 40s linear infinite;
    gap: 16px;
}

.product-track:hover {
    animation-play-state: paused;
}

.product-item {
    width: clamp(200px, 45vw, 280px);
    flex-shrink: 0;
    scroll-snap-align: start;
}

.product-img-wrap {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    aspect-ratio: 5/4;
    background: var(--light-bg);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.product-img-wrap:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
    transition: var(--transition);
}

.product-img-wrap:hover img {
    transform: scale(1.04);
}

.product-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(11, 59, 92, 0.88);
    color: var(--white);
    padding: 9px 12px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    backdrop-filter: blur(4px);
}

@keyframes productScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== ABOUT SECTION ===== */
.about-section {
    padding: 90px 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.subtitle {
    color: var(--accent-dark);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: block;
}

.title {
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
    line-height: 1.3;
}

.description {
    color: var(--gray);
    margin-bottom: 14px;
    font-size: 15.5px;
    line-height: 1.75;
}

.features {
    margin: 28px 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--off-white);
    border-radius: 14px;
    padding: 18px;
    transition: var(--transition);
}

.feature-item:hover {
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}

.feat-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.feat-text h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.feat-text p {
    font-size: 14px;
    color: var(--gray);
    margin: 0;
}

.about-media {
    position: relative;
    min-height: 400px;
}

.image-main {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.image-main img {
    width: 100%;
    object-fit: cover;
    border: 4px solid var(--accent);
    border-radius: 18px;
    background: #07212f;
}

.image-overlay {
    position: absolute;
    bottom: -25px;
    left: -35px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 5px solid var(--primary);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.image-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stat-badge {
    position: absolute;
    top: 68%;
    right: 0;
    background: var(--primary-dark);
    color: var(--white);
    width: 130px;
    height: 130px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 3px solid var(--accent);
}

.stat-badge .counter {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.stat-badge .plus {
    font-size: 2rem;
    font-weight: 800;
}

.stat-badge p {
    font-size: 12px;
    font-weight: 600;
    margin-top: 4px;
    color: var(--accent);
}

/* ===== WHO WE ARE STATS ===== */
.rk-stats-section {
    background: #7d7e80;
    color: var(--white);
    text-align: center;
    padding: 70px 0;
}

.rk-heading {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
}

.rk-stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.rk-stat-item {
    padding: 20px;
}

.rk-icon-circle {
    background: var(--white);
    width: 110px;
    height: 110px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #333;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.rk-icon-circle img {
    width: 55px;
    height: auto;
}

.rk-counter-wrap {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}

.rk-counter,
.rk-suffix {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.rk-text {
    margin-top: 10px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: orange;
    text-underline-offset: 8px;
}

/* ===== PRODUCTS SECTION ===== */
.products-section {
    padding: 90px 0;
    background: var(--off-white);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.section-header p {
    font-size: 17px;
    color: var(--gray);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(280px, 50vw, 380px), 1fr));
    gap: clamp(var(--space-4), 4vw, var(--space-6));
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.blog-card img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    background: var(--light-bg);
    padding: 10px;
    transition: var(--transition);
}

.blog-card:hover img {
    transform: scale(1.04);
}

.card-content {
    padding: 22px;
}

.card-content h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.meta {
    font-size: 13.5px;
    color: var(--gray-light);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 14px;
    color: var(--primary);
    padding: 8px 18px;
    border: 2px solid var(--primary);
    border-radius: 30px;
    transition: var(--transition);
}

.read-more:hover {
    background: var(--primary);
    color: var(--white);
}

/* ===== PARALLAX SECTION ===== */
.parallax-section {
    position: relative;
    min-height: 480px;
    background: url('images/application/para.png') no-repeat center center / cover;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.parallax-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.62);
}

.parallax-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    padding: 20px;
}

.parallax-content h1 {
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 800;
    margin-bottom: 14px;
}

.parallax-content p {
    color: rgba(255,255,255,0.82);
    font-size: 17px;
    margin-bottom: 28px;
}

/* ===== TORQUE SECTION ===== */
.torque-section {
    background: linear-gradient(to right, #0a0a0a, #1a0d00);
    color: var(--white);
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}

.torque-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.torque-image img {
    width: 100%;
    max-width: 480px;
    border-radius: 14px;
}

.torque-content h2 {
    font-size: clamp(24px, 3vw, 40px);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 22px;
    color: var(--white);
}

.torque-content p {
    color: #ccc;
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.7;
}

/* ===== APPLICATIONS SECTION ===== */
.applications-section {
    background: #0f172a;
    color: var(--white);
    padding: 90px 0;
}

.applications-section .section-header h2 {
    color: var(--white);
}

.applications-section .section-header p {
    color: rgba(255,255,255,0.65);
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    border-radius: 16px;
    overflow: hidden;
}

.app-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1 / 1;
}

.app-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.app-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(30, 58, 138, 0.5) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 22px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.35s ease;
}

.app-card:hover .app-overlay {
    opacity: 1;
    transform: translateY(0);
}

.app-card:hover img {
    transform: scale(1.12);
}

.app-overlay h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.app-overlay p {
    font-size: 13.5px;
    color: rgba(203, 213, 245, 0.9);
    margin-bottom: 14px;
    line-height: 1.5;
}

.app-overlay a {
    display: inline-block;
    padding: 8px 20px;
    background: #2563eb;
    color: var(--white);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
    align-self: flex-start;
}

.app-overlay a:hover {
    background: #1d4ed8;
    transform: translateX(4px);
}

/* ===== SELL SECTION ===== */
.sell-section {
    background: linear-gradient(rgba(0,0,0,0.72), rgba(0,0,0,0.72)),
        url('images/application/sell1.png') no-repeat center / cover;
    padding: 90px 0;
    color: var(--white);
}

.sell-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.sell-text h2 {
    font-size: clamp(24px, 3.5vw, 44px);
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 28px;
    color: var(--white);
}

.sell-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow-hover);
}

/* ===== LOCATION / CONTACT ===== */
.location-contact {
    padding: 90px 0;
    background: var(--off-white);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    align-items: stretch;
    margin-top: 40px;
}

.contact-card {
    background: var(--white);
    padding: 38px;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--primary);
}

.contact-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-card > p {
    color: var(--gray);
    font-size: 14.5px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.contact-card ul {
    margin-bottom: 25px;
}

.contact-card li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14.5px;
}

.contact-card li:last-child {
    border-bottom: none;
}

.contact-card li i {
    color: var(--primary);
    width: 18px;
    flex-shrink: 0;
}

.contact-card a {
    color: var(--primary);
    font-weight: 500;
}

.contact-card a:hover {
    color: var(--accent-dark);
}

.map-box {
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    min-height: 380px;
}

.map-box iframe {
    width: 100%;
    height: 100%;
    min-height: 380px;
    border: none;
    display: block;
}

/* ===== CONTACT ADVANCED ===== */
.contact-advanced {
    background: linear-gradient(145deg, var(--primary) 0%, #124a6e 100%);
    padding: 80px 0;
}

.contact-wrapper {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border-radius: 28px;
    padding: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-text h2 {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    margin-bottom: 16px;
}

.contact-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    margin-bottom: 28px;
}

.contact-icons {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.c-icon-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
}

.c-icon-item i {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

.contact-form-mini input,
.contact-form-mini textarea,
.contact-form-mini select {
    width: 100%;
    padding: 14px 20px;
    margin-bottom: 14px;
    border: none;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.92);
    font-family: inherit;
    font-size: 15px;
    color: var(--text-dark);
    outline: none;
    transition: var(--transition);
    display: block;
}

.contact-form-mini textarea {
    border-radius: 18px;
    resize: vertical;
    min-height: 100px;
}

.contact-form-mini input:focus,
.contact-form-mini textarea:focus {
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(244, 162, 97, 0.35);
}

.contact-form-mini button {
    width: 100%;
}

/* ===== FOOTER ===== */
.hydro-footer {
    background: var(--primary);
    color: var(--white);
    font-family: 'Poppins', 'Inter', sans-serif;
}

.footer-top {
    padding: 65px 0 30px;
}

.hydro-container {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
}

.hydro-logo-img {
    width: 130px;
    margin-bottom: 18px;
    display: block;
}

.hydro-about p {
    font-size: 14.5px;
    line-height: 1.7;
    color: rgba(255,255,255,0.75);
    margin-bottom: 22px;
}

.hydro-social {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hydro-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border-radius: 50%;
    font-size: 16px;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.15);
}

.hydro-social a:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-3px);
}

.hydro-col h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-light);
    display: inline-block;
}

.hydro-col ul li {
    margin-bottom: 11px;
}

.hydro-col ul li a {
    color: rgba(255,255,255,0.75);
    font-size: 14.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.hydro-col ul li a:hover {
    color: var(--white);
    padding-left: 6px;
}

.hydro-col ul li a i {
    font-size: 12px;
    color: var(--accent);
}

.hydro-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 14px;
    color: rgba(255,255,255,0.78);
    line-height: 1.5;
}

.hydro-contact li i {
    color: var(--accent);
    width: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

.hydro-contact li a {
    color: rgba(255,255,255,0.78);
    transition: var(--transition);
}

.hydro-contact li a:hover {
    color: var(--white);
}

.hydro-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    padding: 20px 0;
    text-align: center;
}

.hydro-bottom p {
    font-size: 13.5px;
    color: rgba(255,255,255,0.6);
}

.hydro-bottom a {
    color: var(--accent);
}

/* ===== SECTION HEADER SHARED ===== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 800;
    margin-bottom: 12px;
}

.section-header p {
    font-size: 16.5px;
    color: var(--gray);
}

/* =====================================================
   RESPONSIVE BREAKPOINTS
   ===================================================== */

/* ===== XL → L (1200px → 1100px) ===== */
@media (max-width: 1200px) {
    .blog-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
}

/* ===== L → M Tablet (1100px → 992px) ===== */
@media (max-width: 1100px) {
    .rk-stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hydro-container {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-6);
    }
    
    .app-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    :root { --header-height: 72px; }

    /* Navbar becomes mobile */
    .navbar-toggler {
        display: flex;
    }

    .main-menu {
        position: fixed;
        top: 0;
        right: -320px;
        width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 20px 40px;
        overflow-y: auto;
        box-shadow: -10px 0 40px rgba(0,0,0,0.15);
        z-index: 989;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .main-menu.open {
        right: 0;
    }

    .navigation {
        flex-direction: column;
        width: 100%;
        gap: 4px;
    }

    .navigation > li {
        width: 100%;
    }

    .navigation > li > a {
        width: 100%;
        padding: 14px 16px;
        justify-content: space-between;
        border-radius: 10px;
        font-size: 15.5px;
        border-bottom: 1px solid var(--border);
    }

    /* Sub-menu on mobile: drops down inline */
    .sub-menu {
        position: static;
        opacity: 1;
        visibility: hidden;
        transform: none;
        box-shadow: none;
        border: none;
        background: var(--light-bg);
        border-radius: 10px;
        margin: 6px 0;
        padding: 8px 6px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease, visibility 0.35s ease;
    }

    .has-dropdown.open .sub-menu {
        visibility: visible;
        max-height: 400px;
    }

    /* Hero */
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 36px;
    }

    .hero-content p { margin: 0 auto 28px; }
    .hero-btns { justify-content: center; }
    .stats { justify-content: center; }
    .floating-card { display: none; }

    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .image-overlay {
        left: 15px;
        width: 150px;
        height: 150px;
    }

    /* Products */
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Torque */
    .torque-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 36px;
    }

    .torque-image { text-align: center; }

    /* Sell */
    .sell-grid {
        grid-template-columns: 1fr;
        gap: 36px;
        text-align: center;
    }

    /* Location */
    .location-grid {
        grid-template-columns: 1fr;
    }

    /* Contact form wrapper */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 36px 28px;
    }
}

/* ===== MOBILE ===== */
@media (max-width: 640px) {
    :root { --header-height: 66px; }

    .logo img { height: 48px; }

    /* Social float — bottom right on mobile */
    .social-float {
        top: auto;
        bottom: 15px;
        right: 12px;
        transform: none;
        gap: 10px;
    }

    .social-btn {
        width: 44px;
        height: 44px;
        font-size: 17px;
    }

    .social-btn span { display: none; }

    /* Hero */
    .hero { padding: 60px 0 40px; }
    .hero-content h1 { font-size: 30px; }
    .stats { gap: 20px; }

    /* Brands ticker images */
    .ticker-track img {
        width: 60px;
        height: 54px;
    }

    /* Products slider */
    .product-item { width: 180px; }
    .product-img-wrap { height: 160px; }

    /* About */
    .about-section { padding: 60px 0; }
    .image-overlay { width: 120px; height: 120px; left: 10px; }
    .stat-badge { width: 110px; height: 110px; }
    .stat-badge .counter, .stat-badge .plus { font-size: 1.5rem; }

    /* Stats grid */
    .rk-stats-container {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .rk-counter, .rk-suffix { font-size: 2rem; }
    .rk-icon-circle { width: 80px; height: 80px; }
    .rk-icon-circle img { width: 40px; }

    /* Products */
    .blog-grid {
        grid-template-columns: 1fr;
    }

    /* App Grid */
    .app-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Location */
    .contact-card { padding: 24px; }
    .map-box { min-height: 280px; }
    .map-box iframe { min-height: 280px; }

    /* Contact form */
    .contact-wrapper { padding: 28px 20px; }

    /* Footer */
    .hydro-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .hydro-social { justify-content: center; }
    .hydro-col ul li a { justify-content: center; }
    .hydro-contact li { justify-content: center; flex-wrap: wrap; }

    /* Parallax — disable fixed on mobile for performance */
    .parallax-section {
        background-attachment: scroll;
        min-height: 360px;
    }
}

@media (max-width: 420px) {
    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .hero-btns .btn {
        width: 100%;
        justify-content: center;
    }

    .app-grid {
        grid-template-columns: 1fr;
    }

    .rk-stats-container {
        grid-template-columns: 1fr;
    }
}
