/* ===== CSS VARIABLES & RESET ===== */
:root {
    --primary: #3A9E2F; /* Brand Green */
    --primary-light: #7FD455; /* Light Green */
    --secondary: #1E6B1E; /* Mid Green */
    --dark: #0D2E0D; /* Dark Green */
    --light: #F5F9F2; /* Off White */
    --white: #FFFFFF;
    --text-main: #1A2E1A; /* Text Dark */
    --text-muted: #5e735e; /* Adjusted muted dark green */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-soft: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    background-color: var(--white);
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    line-height: 1.6;
}

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

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

/* ===== UTILITIES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 6rem 0;
}

.text-center { text-align: center; }
.text-left { text-align: left !important; }
.text-white { color: var(--white); }
.bg-light { background-color: var(--light); }
.bg-dark { background-color: var(--secondary); }
.bg-deep { background-color: var(--dark); }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.text-white .section-title,
.section-title.text-white {
    color: var(--white);
}

.text-white .section-title span,
.section-title.text-white span {
    color: var(--primary-light);
}

.section-title span {
    color: var(--primary);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.text-white .section-header p,
.section-header.text-white p {
    color: rgba(255, 255, 255, 0.9);
}

/* ===== BUTTONS ===== */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(58, 158, 47, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(58, 158, 47, 0.6);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--dark);
    transform: translateY(-3px);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    font-weight: 600;
    margin-top: 1rem;
}

.link-arrow:hover {
    color: var(--primary-light);
    gap: 0.5rem;
}

/* ===== HEADER & SURF ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 1.2rem 0;
    background: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

/* Internal pages header fix */
.header.static-header {
    background: var(--white);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.header.static-header.scrolled {
    background: var(--white);
}

.header.static-header .nav-menu a, .header.static-header .logo {
    color: var(--dark);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    z-index: 100;
}

.header.scrolled .logo {
    color: var(--dark);
}

.logo span {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--dark);
    font-weight: 600;
    position: relative;
}

.header.scrolled .nav-menu a {
    color: var(--dark);
}

/* Dropdown Menu Styles */
.nav-item.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 240px;
    background: var(--white);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-radius: 12px;
    padding: 1rem 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    border: 1px solid rgba(0,0,0,0.05);
}

.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--dark) !important;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: var(--light);
    color: var(--primary) !important;
    padding-left: 2rem;
}

.dropdown-arrow {
    font-size: 0.7rem;
    margin-left: 5px;
    transition: transform 0.3s;
}

.nav-item.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

@media (max-width: 992px) {
    .nav-item.dropdown .dropdown-menu {
        position: static;
        width: 100%;
        transform: none !important;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        background: rgba(255,255,255,0.05);
        padding-left: 1.5rem;
        margin-top: 0.5rem;
        display: none;
    }
    .nav-item.dropdown.active .dropdown-menu {
        display: block;
    }
    .nav-menu a { color: var(--dark) !important; }
}

.header.scrolled .nav-menu a.btn-primary {
    color: var(--white);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-menu a:not(.btn-primary):hover::after {
    width: 100%;
}

.nav-menu a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 100;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: var(--dark);
    margin: 5px auto;
    transition: var(--transition);
}

.header.scrolled .hamburger .bar {
    background-color: var(--dark);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: calc(100vh - 90px);
    display: flex;
    align-items: center;
    position: relative;
    background-image: url('../images/Home/Hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding-top: 0;
    margin-top: 90px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.hero h1 span {
    color: var(--primary-light);
    text-shadow: 0 0 20px rgba(58, 158, 47, 0.4);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Simple Hero for Inner Pages */
.hero-inner {
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin-top: 90px;
}
.hero-inner .hero-overlay {
    background: transparent;
}
.hero-inner h1 {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.3;
    position: relative;
    z-index: 2;
    color: var(--white);
    text-align: center;
    margin: 0 auto 1.5rem;
}
.hero-inner h1 span {
    color: var(--primary-light);
    text-shadow: 0 0 20px rgba(58, 158, 47, 0.4);
}

/* ===== USPs ===== */
.usp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 10;
}

.usp-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.usp-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-bottom-color: var(--primary);
}

.usp-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.usp-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

/* ===== SPLIT LAYOUT (About) ===== */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.split-content p {
    margin-bottom: 1.5rem;
}

.image-placeholder {
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
    z-index: 1;
}

.image-placeholder img {
    transition: transform 0.7s;
}

.image-placeholder:hover img {
    transform: scale(1.05);
}

.premium-shadow {
    box-shadow: 20px 20px 0px var(--primary-light);
}

/* ===== SERVICES GRID ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.service-card {
    background: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    display: block;
}

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

.service-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 46, 13, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-overlay span {
    color: var(--white);
    font-weight: 600;
    padding: 0.8rem 2rem;
    border: 2px solid var(--white);
    border-radius: 50px;
    transform: translateY(20px);
    transition: var(--transition);
}

.service-card:hover .service-overlay span {
    transform: translateY(0);
}

.service-info {
    padding: 2rem;
}

.service-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
    transition: var(--transition);
}

.service-card:hover .service-info h3 {
    color: var(--primary);
}

/* ===== TESTIMONIALS (Glassmorphism) ===== */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 1rem;
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stars {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.glass-card p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* ===== CTA SECTION ===== */
.cta {
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.tech-pattern::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.2) 2px, transparent 2px);
    background-size: 30px 30px;
    opacity: 0.5;
}

.cta h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.btn-large {
    padding: 1rem 3rem;
    font-size: 1.1rem;
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(58, 158, 47, 0.4);
}
.btn-large:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(58, 158, 47, 0.6);
}

/* ===== FOOTER ===== */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    color: var(--text-muted);
}


/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    .split-layout, .testimonial-grid, .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .usp-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .testimonial-ultra-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .usp-steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }

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

@media (max-width: 768px) {
    /* ===== NAVIGATION ===== */
    .hamburger {
        display: block;
    }

    .hamburger .bar {
        background-color: var(--dark);
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu a {
        color: var(--dark) !important;
        margin: 0.5rem 0;
        font-size: 1.1rem;
    }

    .header.static-header .nav-menu {
        top: 60px;
    }

    /* ===== HERO ===== */
    .hero {
        margin-top: 70px;
        min-height: auto;
        padding-top: 4rem;
        padding-bottom: 4rem;
        background-attachment: scroll !important;
    }

    .hero-inner {
        margin-top: 0 !important;
    }
    
    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .hero p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.8rem;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        margin: 0;
        display: block;
        text-align: center;
    }

    /* ===== GENERAL LAYOUT ===== */
    .section-padding {
        padding: 3.5rem 0;
    }

    .container {
        padding: 0 1.2rem;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .section-header p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    /* ===== WHAT WE DO (USP Steps) ===== */
    .usp-steps-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        margin-top: 2rem;
    }

    .usp-circle-wrapper {
        width: 200px;
        height: 200px;
        margin: 0 auto;
    }
    
    .usp-circle-wrapper .usp-badge {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .usp-step h3 {
        font-size: 1.2rem;
    }

    /* ===== ABOUT SPLIT LAYOUT ===== */
    .split-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .split-image {
        order: -1;
    }

    .premium-shadow {
        box-shadow: 10px 10px 0px var(--primary-light);
    }

    /* ===== SERVICES GRID (Our Specialized Components) ===== */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-image {
        height: 220px;
    }

    .service-info {
        padding: 1.5rem;
    }

    .service-info h3 {
        font-size: 1.3rem;
    }

    /* ===== WHY HIMALAYA EXPORTS ===== */
    .usp-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .usp-grid[style] {
        grid-template-columns: 1fr !important;
        gap: 1.2rem !important;
    }

    .usp-card {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        display: flex !important;
        padding: 1.8rem 1.5rem !important;
    }

    [class*="usp-card"][style*="display: flex"] {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 1rem !important;
    }

    .usp-grid .usp-card .usp-icon {
        margin-bottom: 0.5rem;
    }

    /* ===== STATS / ACHIEVEMENTS ===== */
    .stats-grid,
    div.stats-grid[style] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }

    .stat-item h3 {
        font-size: 2.8rem !important;
    }

    /* ===== TESTIMONIALS ===== */
    .testimonial-ultra-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .testi-card-ultra {
        padding: 2rem 1.5rem;
    }

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

    /* ===== CTA ===== */
    .cta h2 {
        font-size: 1.8rem;
    }

    .cta p {
        font-size: 1rem;
    }

    .btn-large {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }

    /* ===== FOOTER ===== */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* ===== WHATSAPP ===== */
    .floating-whatsapp {
        bottom: 15px;
        right: 15px;
        width: 55px;
        height: 55px;
        font-size: 1.8rem;
    }
}

/* ===== ROTATING USP CIRCLES (NEW) ===== */
.subtitle-badge {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: rgba(58, 158, 47, 0.1);
    color: var(--primary);
    font-weight: 800;
    border-radius: 50px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 0.9rem;
}
.usp-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
    position: relative;
    z-index: 10;
}
@media (max-width: 1200px) {
    .usp-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .usp-steps-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}
.usp-step {
    text-align: center;
    position: relative;
}
.usp-circle-wrapper {
    position: relative;
    width: 220px;
    height: 220px;
    margin: 0 auto 2rem;
}
.usp-circle-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 2;
    border: 5px solid var(--white);
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.usp-dashed-border {
    position: absolute;
    top: -12px;
    left: -12px;
    right: -12px;
    bottom: -12px;
    border-radius: 50%;
    border: 2px dashed var(--primary); /* Red color moving line */
    animation: rotate 15s linear infinite;
    z-index: 1;
}
@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.usp-badge {
    position: absolute;
    top: 5px;
    left: -5px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 800;
    z-index: 3;
    border: 3px solid var(--white);
}
.usp-step h3 {
    font-size: 1.4rem;
    color: var(--dark);
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    font-weight: 800;
}
.usp-step p {
    color: var(--text-muted);
}
/* Removed redundant media query already handled above */

/* ===== MARQUEE CLIENT LOGOS ===== */
.client-marquee {
    background: var(--white);
    padding: 2.5rem 0;
    overflow: hidden;
    position: relative;
    border-bottom: 2px dashed rgba(0,0,0,0.05);
}
.marquee-wrapper {
    white-space: nowrap;
    overflow: hidden;
    padding: 1.5rem 0;
}
.marquee-wrapper.border-bottom {
    border-top: 2px dashed rgba(0,0,0,0.05);
}
.marquee-track {
    display: inline-block;
}
.marquee-track-right {
    animation: marqueeRight 30s linear infinite;
}
.marquee-track-left {
    animation: marqueeLeft 30s linear infinite;
}
.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 4rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-muted);
}
@keyframes marqueeLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}
@keyframes marqueeRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* ===== ULTRA MODERN TESTIMONIALS & ANIMATIONS ===== */
.floating-img {
    animation: floating 3s ease-in-out infinite alternate;
}
@keyframes floating {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-15px); }
}

.float-hover {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.float-hover:hover {
    transform: translateY(-15px);
}

.link-hover {
    position: relative;
    overflow: hidden;
}
.link-hover::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.6s ease-out;
}
.link-hover:hover::after {
    transform: translate(-50%, -50%) scale(1);
}

.testimonial-ultra-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
}

.testi-card-ultra {
    background: rgba(255, 255, 255, 0.05); /* Glass feel on dark bg */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 3rem 2rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    transition: all 0.5s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.testi-card-ultra:hover {
    transform: translateY(-15px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 40px rgba(58, 158, 47, 0.2);
}

.testi-card-ultra .quote-mark {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 8rem;
    font-family: serif;
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
    z-index: 0;
}

.testi-card-ultra .stars {
    color: #f59e0b;
    font-size: 1.2rem;
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testi-card-ultra .review-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.85);
    margin-bottom: 2.5rem;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    position: relative;
    z-index: 1;
}

.testi-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.testi-author h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.testi-author span {
    color: var(--primary-light);
    font-size: 0.85rem;
    font-weight: 600;
}

@media (max-width: 992px) {
    .testimonial-ultra-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== FLOATING WHATSAPP WIDGET ===== */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background-color: #25d366; /* Official WhatsApp Green */
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.3s ease;
    text-decoration: none;
}
.floating-whatsapp::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #25d366;
    border-radius: 50%;
    z-index: -1;
    animation: pulse-whatsapp 2.5s infinite;
}
@keyframes pulse-whatsapp {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.6); opacity: 0; }
}
.floating-whatsapp:hover {
    transform: translateY(-5px);
    color: white;
}

/* Added for card image hover effect */
.usp-card:hover .hover-zoom { transform: scale(1.15); }

/* ===== ABOUT PAGE - DESKTOP GRID CLASSES ===== */
.hero-inner-sub {
    color: rgba(255,255,255,0.9);
    font-size: 1.25rem;
    max-width: 800px;
    margin: 1.5rem auto 0;
    line-height: 1.8;
}

.about-2col-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.about-card-pad {
    padding: 3.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-soft);
}

.supply-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.about-diff-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 2rem;
}

.about-team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

@media (max-width: 992px) {
    .about-2col-grid { grid-template-columns: 1fr; gap: 2rem; }
    .supply-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .about-diff-grid { grid-template-columns: 1fr; gap: 2rem; }
    .about-team-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

@media (max-width: 768px) {
    .hero-inner-sub { font-size: 1rem; margin: 1rem auto 0; padding: 0 0.5rem; }
    .about-2col-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .about-card-pad { padding: 2rem 1.5rem; }
    .about-card-pad h3 { font-size: 1.4rem !important; }
    .supply-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 2rem; }
    .about-diff-grid { grid-template-columns: 1fr; gap: 1.2rem; }
    .about-team-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ===== SERVICE PAGES - PRODUCT CARD GRIDS ===== */
/* Covers: oil-mill-parts, rice-mill-parts, export-list, industrial-chemicals */
.service-parts-grid,
.service-pages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

/* Gallery grid for rice-mill page */
@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ===== SERVICE PAGES MOBILE (max 768px) ===== */
@media (max-width: 768px) {
    /* Hero inner banner subtitle text */
    .hero-inner p[style*="font-size: 1.25rem"] {
        font-size: 1rem !important;
        margin: 1rem auto 0 !important;
        padding: 0 0.5rem;
    }

    /* All service page product grids - 1 column on mobile */
    /* Using [style] attribute selector to catch all inline grids with minmax(320px */
    [style*="minmax(320px"] {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 1.2rem !important;
    }

    /* Oilseeds / crops we cover grid - 1 column */
    [style*="minmax(250px"] {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    /* Gallery grid */
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    /* Swiper slide height reduce */
    .swiper-slide [style*="height: 500px"] {
        height: 280px !important;
    }

    /* Rotating logo element - shrink on mobile */
    [style*="width:350px; height:350px"] {
        width: 220px !important;
        height: 220px !important;
    }

    /* Split layout for service intro sections */
    .split-layout {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    /* CTA button full width on mobile */
    .cta .btn-primary {
        display: block;
        width: 100%;
        text-align: center;
        font-size: 1rem !important;
        padding: 1rem 1.5rem !important;
    }

    /* Section header subtitle */
    .section-header p {
        font-size: 0.95rem;
    }

    /* Hero inner smaller height */
    .hero-inner {
        min-height: 300px !important;
        padding: 5rem 0 3rem;
    }

    .hero-inner h1 {
        font-size: 2rem !important;
        line-height: 1.2;
    }
}
