/* ========================================
   HARON INDIA - Modern Agricultural Website
   ======================================== */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #2E7D32;
    --dark-green: #1B5E20;
    --light-green: #4CAF50;
    --accent-green: #66BB6A;
    --earth-brown: #795548;
    --light-earth: #A1887F;
    --cream: #FFF8E1;
    --off-white: #FAFAFA;
    --text-dark: #212121;
    --text-light: #757575;
    --white: #FFFFFF;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
    font-size: clamp(14px, 1.1vw, 16px);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--off-white);
    overflow-x: hidden;
}

/* Keyframe Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.animate-on-scroll {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.6rem); }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(16px, 2vw, 24px);
    position: relative;
    z-index: 2;
}

/* ========================================
   NAVIGATION BAR - Glassmorphism
   ======================================== */
.navbar {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    height: 50px;
    width: auto;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu li a {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    touch-action: manipulation;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    background-color: var(--primary-green);
    color: var(--white);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-green);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ========================================
   HERO SECTION - WebGL Style
   ======================================== */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--white);
    background-image: url('detail-rice-plant-sunset-valencia-with-plantation-out-focus-rice-grains-plant-seed_181624-25838.jpg'); /* Replace with the actual image path */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Removed video background styles */
.hero-video {
    display: none;
}

.video-overlay {
    display: none;
}

.gradient-overlay {
    display: none;
}

/* Animated Particles */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: particleFloat 15s infinite linear;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 12s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; animation-duration: 18s; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; animation-duration: 15s; }
.particle:nth-child(4) { left: 40%; animation-delay: 1s; animation-duration: 20s; }
.particle:nth-child(5) { left: 50%; animation-delay: 3s; animation-duration: 14s; }
.particle:nth-child(6) { left: 60%; animation-delay: 5s; animation-duration: 16s; }
.particle:nth-child(7) { left: 70%; animation-delay: 2.5s; animation-duration: 13s; }
.particle:nth-child(8) { left: 80%; animation-delay: 4.5s; animation-duration: 17s; }
.particle:nth-child(9) { left: 90%; animation-delay: 1.5s; animation-duration: 19s; }
.particle:nth-child(10) { left: 15%; animation-delay: 6s; animation-duration: 11s; }

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) translateX(0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(100px) scale(1);
        opacity: 0;
    }
}

/* Floating Icons */
.floating-icon {
    position: absolute;
    font-size: 2rem;
    opacity: 0.2;
    animation: floatParticles 6s ease-in-out infinite;
    z-index: 2;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

/* Floating Elements for Sections */
.floating-element {
    position: absolute;
    font-size: 2.5rem;
    opacity: 0.15;
    animation: floatParticles 8s ease-in-out infinite;
    z-index: 1;
    filter: drop-shadow(0 0 8px rgba(76, 175, 80, 0.3));
    pointer-events: none;
}

.floating-element-light {
    position: absolute;
    font-size: 2.5rem;
    opacity: 0.25;
    animation: floatParticles 8s ease-in-out infinite;
    z-index: 1;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.4));
    pointer-events: none;
}

/* Glassmorphism Card - Enhanced Animation */
.glass-card {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    border-radius: 30px;
    padding: 3rem 4rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
    animation: glassFadeIn 1.2s ease-out;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

@keyframes glassFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Floating Particles Effect */
@keyframes floatParticles {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-20px) translateX(10px);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-10px) translateX(-10px);
        opacity: 0.4;
    }
    75% {
        transform: translateY(-30px) translateX(5px);
        opacity: 0.6;
    }
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 0 20px;
    animation: fadeIn 1s ease;
}

/* Hero Title with Split Lines */
.hero-title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
    font-size: clamp(2.4rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 
        2px 2px 10px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(46, 125, 50, 0.5);
    animation: slideInLeft 0.8s ease 0.2s both;
}

.title-line.highlight {
    background: linear-gradient(135deg, #ffffff 0%, #a5d6a7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: clamp(3rem, 6vw, 4rem);
    animation: slideInRight 0.8s ease 0.4s both;
    position: relative;
}

.title-line.highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: expandLine 1s ease 0.8s both;
}

@keyframes expandLine {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

.hero-logo {
    width: 150px;
    height: 150px;
    margin: 0 auto 2rem;
    border-radius: 20px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(255, 255, 255, 0.2),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 10px;
    object-fit: contain;
    animation: scaleIn 0.8s ease, float 3s ease-in-out infinite 1s;
    transition: all 0.4s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-logo:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 
        0 15px 50px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(255, 255, 255, 0.3),
        inset 0 0 30px rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Hero h1 styles moved to .hero-title above */

.tagline {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
    opacity: 1;
    font-weight: 300;
    text-shadow: 
        2px 2px 10px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(0, 0, 0, 0.3);
    animation: slideInRight 0.8s ease 0.6s both;
    letter-spacing: 1px;
    line-height: 1.6;
}

/* CTA Buttons Container */
.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: scaleIn 0.8s ease 0.8s both;
}

/* Glassmorphism Button */
.glass-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.glass-button span {
    position: relative;
    z-index: 2;
}

.button-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: 1;
}

.glass-button:hover .button-glow {
    width: 400px;
    height: 400px;
}

.glass-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 0 30px rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.25);
}

.glass-button.secondary {
    background: rgba(46, 125, 50, 0.3);
    border-color: rgba(76, 175, 80, 0.5);
}

.glass-button.secondary:hover {
    background: rgba(46, 125, 50, 0.5);
    border-color: rgba(76, 175, 80, 0.8);
}

/* Legacy CTA Button (for other pages) */
.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--white);
    color: var(--primary-green);
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    animation: scaleIn 0.8s ease 0.6s both;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--light-green);
    transition: width 0.6s ease, height 0.6s ease, top 0.6s ease, left 0.6s ease;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    color: var(--white);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: fadeIn 1s ease 1.2s both;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

.arrow {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.arrow span {
    width: 8px;
    height: 8px;
    border-right: 2px solid rgba(255, 255, 255, 0.8);
    border-bottom: 2px solid rgba(255, 255, 255, 0.8);
    transform: rotate(45deg);
    animation: arrowBounce 1.5s infinite;
}

.arrow span:nth-child(2) {
    animation-delay: 0.2s;
}

.arrow span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes arrowBounce {
    0%, 100% {
        opacity: 0;
        transform: rotate(45deg) translateY(0);
    }
    50% {
        opacity: 1;
        transform: rotate(45deg) translateY(-5px);
    }
}

/* ========================================
   SECTIONS
   ======================================== */
.section {
    padding: 6rem 20px;
    position: relative;
    overflow: hidden;
}

/* Section Background Gradients with Enhanced Patterns */
.section-gradient-1 {
    background: 
        linear-gradient(135deg, 
            rgba(255, 248, 225, 0.6) 0%, 
            rgba(241, 248, 233, 0.7) 50%, 
            rgba(232, 245, 233, 0.6) 100%),
        url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23E8F5E9" opacity="0.3"/><circle cx="75" cy="75" r="1" fill="%23F1F8E9" opacity="0.3"/><circle cx="50" cy="10" r="0.5" fill="%23C8E6C9" opacity="0.2"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    background-size: cover, 200px 200px;
    position: relative;
}

.section-gradient-1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(46, 125, 50, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(27, 94, 32, 0.1) 0%, transparent 50%),
        linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    pointer-events: none;
    animation: backgroundShift 20s ease-in-out infinite;
}

.section-gradient-2 {
    background: 
        linear-gradient(135deg, 
            rgba(232, 245, 233, 0.6) 0%, 
            rgba(200, 230, 201, 0.7) 50%, 
            rgba(241, 248, 233, 0.6) 100%),
        url('data:image/svg+xml,<svg width="120" height="120" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="2" fill="%23C8E6C9" opacity="0.2"/></pattern></defs><rect width="120" height="120" fill="url(%23dots)"/></svg>');
    background-size: cover, 80px 80px;
    position: relative;
}

.section-gradient-2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(76, 175, 80, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(46, 125, 50, 0.1) 0%, transparent 50%),
        linear-gradient(-45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    pointer-events: none;
    animation: backgroundShift 25s ease-in-out infinite reverse;
}

.section-gradient-3 {
    background: 
        linear-gradient(135deg, 
            rgba(241, 248, 233, 0.7) 0%, 
            rgba(255, 248, 225, 0.6) 50%, 
            rgba(232, 245, 233, 0.7) 100%),
        url('data:image/svg+xml,<svg width="150" height="150" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="%23E8F5E9" stroke-width="1" opacity="0.15"/></pattern></defs><rect width="150" height="150" fill="url(%23grid)"/></svg>');
    background-size: cover, 100px 100px;
    position: relative;
}

.section-gradient-3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 50% 50%, rgba(46, 125, 50, 0.15) 0%, transparent 60%),
        linear-gradient(90deg, transparent 40%, rgba(255, 255, 255, 0.1) 50%, transparent 60%);
    pointer-events: none;
    animation: backgroundShift 30s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% {
        transform: translateX(0) translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateX(20px) translateY(10px);
        opacity: 0.9;
    }
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 5vw, 2.8rem);
    color: var(--primary-green);
    margin-bottom: 3.5rem;
    position: relative;
    padding-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--primary-green), 
        var(--accent-green), 
        transparent);
    border-radius: 3px;
    animation: expandLine 1s ease 0.5s both;
}

/* ========================================
   CARDS - Glassmorphism Style
   ======================================== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(1.5rem, 3vw, 2.5rem);
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Glass Card Small */
.glass-card-small {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: clamp(1.8rem, 2.5vw, 2.5rem);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.glass-card-small::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 15s linear infinite;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.glass-card-small:hover::before {
    opacity: 1;
}

.card-icon-wrapper {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.card-icon {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(46, 125, 50, 0.2) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    pointer-events: none;
    z-index: 0;
}

.glass-card-small:hover .card-glow {
    width: 300px;
    height: 300px;
}

.glass-card-small:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        0 0 40px rgba(46, 125, 50, 0.2);
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.85);
}

.glass-card-small:hover .card-icon {
    transform: scale(1.15) rotate(5deg) translateY(-5px);
    filter: drop-shadow(0 8px 16px rgba(46, 125, 50, 0.3));
}

.glass-card-small h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

.glass-card-small:hover h3 {
    color: var(--dark-green);
}

.glass-card-small p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
    position: relative;
    z-index: 1;
}

/* Legacy Card Support - Enhanced Animations */
.card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: clamp(1.8rem, 2.5vw, 2.5rem);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    transition: left 0.6s ease;
}

.card:hover::before {
    left: 100%;
}

.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    transition: left 0.6s ease;
}

.card:hover::after {
    left: 100%;
}

.card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.85);
}

.card h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 600;
    transition: color 0.3s ease;
}

.card:hover h3 {
    color: var(--dark-green);
}

.card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
}

/* Service Cards with Enhanced Style */
.service-card {
    position: relative;
    overflow: hidden;
    text-align: left;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.85);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-green));
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-image-wrapper {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    position: relative;
}

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

.service-card:hover .service-image {
    transform: scale(1.1) rotate(2deg);
}

.service-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.7), rgba(27, 94, 32, 0.7));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--white);
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-image-overlay {
    opacity: 0.7;
}

/* ========================================
   ABOUT PAGE SECTIONS
   ======================================== */
.about-intro {
    background: linear-gradient(135deg, #FFF8E1 0%, #F1F8E9 50%, #E8F5E9 100%);
    padding: 4rem 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 15% 50%, rgba(46, 125, 50, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(46, 125, 50, 0.04) 0%, transparent 50%);
    z-index: 0;
}

.about-intro h1 {
    color: var(--primary-green);
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.vision-mission {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.vm-card {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow);
    border-left: 5px solid var(--primary-green);
}

.vm-card h2 {
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.vm-icon {
    font-size: 2rem;
}

/* Team Hero Section - Modern Green Gradient */
.team-hero {
    position: relative;
    width: 100%;
    min-height: 280px;
    padding: 3.5rem 2rem 4.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--white);
    /* Rich green diagonal gradient from reference */
    background: linear-gradient(140deg, #1e6b39 0%, #2d8a47 35%, #3a9a54 70%, #2d8a47 100%);
}

/* Diagonal soft light for glass effect */
.team-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -30%;
    width: 160%;
    height: 160%;
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.12) 0%,
        rgba(255, 255, 255, 0.05) 25%,
        transparent 50%,
        rgba(0, 0, 0, 0.08) 100%
    );
    pointer-events: none;
    z-index: 1;
}

.team-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: var(--off-white);
    clip-path: path('M 0 50 Q 384 15, 768 50 T 1536 50 L 1536 50 L 0 50 Z');
    z-index: 10;
}

.team-hero .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.team-hero-title {
    font-size: clamp(2.3rem, 5.2vw, 3.6rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.25),
        0 4px 16px rgba(0, 0, 0, 0.15);
    letter-spacing: -0.3px;
}

.team-hero-tagline {
    font-size: clamp(1rem, 2.1vw, 1.28rem);
    color: rgba(255, 255, 255, 0.96);
    font-weight: 400;
    opacity: 1;
    text-shadow: 
        0 1px 4px rgba(0, 0, 0, 0.25),
        0 2px 8px rgba(0, 0, 0, 0.12);
    letter-spacing: 0.2px;
}

.team-hero .floating-icon {
    opacity: 0.16;
    font-size: 1.75rem;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2));
    z-index: 2;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.team-member {
    background: rgba(232, 245, 233, 0.6);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(46, 125, 50, 0.1);
}

.team-member:hover {
    transform: translateY(-8px);
    background: rgba(232, 245, 233, 0.8);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.member-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--white);
    margin: 0 auto 1.5rem;
}

.member-name {
    color: var(--primary-green);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.member-role {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 1rem;
}

/* Contact Section */
.contact-section {
    background-color: var(--cream);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow);
    text-align: center;
}

.contact-icon {
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.contact-card h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.contact-card a {
    color: var(--text-dark);
    font-size: 1.1rem;
}

.contact-card a:hover {
    color: var(--primary-green);
}

/* ========================================
   FEATURES GRID
   ======================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: clamp(1.5rem, 3vw, 2rem);
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.glass-card-feature {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2.5rem 2rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.glass-card-feature::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(46, 125, 50, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.glass-card-feature:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    animation: float 3s ease-in-out infinite;
}

.glass-card-feature:hover .feature-icon {
    transform: scale(1.2) translateY(-8px);
    filter: drop-shadow(0 8px 16px rgba(46, 125, 50, 0.3));
    animation: none;
}

.glass-card-feature h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

.glass-card-feature:hover h3 {
    color: var(--dark-green);
}

.glass-card-feature p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    position: relative;
    z-index: 1;
}

.glass-card-feature:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        0 0 40px rgba(46, 125, 50, 0.15);
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.85);
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    background: 
        linear-gradient(135deg, 
            rgba(46, 125, 50, 0.15) 0%, 
            rgba(27, 94, 32, 0.2) 50%, 
            rgba(46, 125, 50, 0.15) 100%),
        url('data:image/svg+xml,<svg width="200" height="200" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="waves" width="200" height="200" patternUnits="userSpaceOnUse"><path d="M0,100 Q50,50 100,100 T200,100" fill="none" stroke="%232E7D32" stroke-width="2" opacity="0.1"/><path d="M0,150 Q50,100 100,150 T200,150" fill="none" stroke="%231B5E20" stroke-width="2" opacity="0.08"/></pattern></defs><rect width="200" height="200" fill="url(%23waves)"/></svg>');
    background-size: cover, 400px 400px;
    position: relative;
    padding: 6rem 20px;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(46, 125, 50, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(27, 94, 32, 0.15) 0%, transparent 50%),
        linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.1) 50%, transparent 60%);
    pointer-events: none;
    animation: backgroundShift 25s ease-in-out infinite;
}

.cta-section::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(46, 125, 50, 0.05) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
    pointer-events: none;
}

.glass-card-cta {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    padding: 4rem 3rem;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    overflow: hidden;
    animation: glassFadeIn 1s ease;
}

.glass-card-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(46, 125, 50, 0.1) 0%, transparent 70%);
    animation: rotate 25s linear infinite;
    pointer-events: none;
}

.cta-title {
    color: var(--primary-green);
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 1.5rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.cta-text {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-dark);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

/* ========================================
   FOOTER - Glassmorphism
   ======================================== */
.footer {
    background: 
        linear-gradient(135deg, 
            var(--dark-green) 0%, 
            #1B5E20 50%, 
            var(--dark-green) 100%),
        url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="footerPattern" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1.5" fill="%23FFFFFF" opacity="0.1"/><circle cx="80" cy="80" r="1" fill="%23FFFFFF" opacity="0.08"/><circle cx="50" cy="50" r="0.5" fill="%23FFFFFF" opacity="0.06"/></pattern></defs><rect width="100" height="100" fill="url(%23footerPattern)"/></svg>');
    background-size: cover, 150px 150px;
    color: var(--white);
    padding: 4rem 20px 2rem;
    position: relative;
    overflow: hidden;
}

.footer-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        linear-gradient(135deg, transparent 30%, rgba(255, 255, 255, 0.03) 50%, transparent 70%);
    pointer-events: none;
    animation: backgroundShift 20s ease-in-out infinite;
}

.glass-card-footer {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 3rem 2rem;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.footer-logo {
    height: 70px;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 10px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
}

.footer-logo:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.glass-card-footer h3 {
    margin-bottom: 1rem;
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 700;
}

.footer-tagline {
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.glass-social {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.glass-social::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.glass-social:hover::before {
    width: 100px;
    height: 100px;
}

.glass-social span {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.glass-social:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.25);
}

.glass-social:hover span {
    transform: scale(1.2);
}

.copyright {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.95rem;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.8);
}

/* ========================================
   PRODUCTS & SERVICES HERO - GREEN GRADIENT
   ======================================== */

/* Products Hero with Modern Green Gradient */
.products-hero {
    position: relative;
    width: 100%;
    min-height: 100px;
    padding: 3.5rem 2rem 4.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--white);
    /* Rich green diagonal gradient from reference */
    background: linear-gradient(140deg, #1e6b39 0%, #2d8a47 35%, #3a9a54 70%, #2d8a47 100%);
}

/* Diagonal soft light for glass effect */
.products-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -30%;
    width: 160%;
    height: 60%;
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.12) 0%,
        rgba(255, 255, 255, 0.05) 25%,
        transparent 50%,
        rgba(0, 0, 0, 0.08) 100%
    );
    pointer-events: none;
    z-index: 1;
}

.products-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: var(--off-white);
    clip-path: path('M 0 50 Q 384 15, 768 50 T 1536 50 L 1536 50 L 0 50 Z');
    z-index: 10;
}

.products-hero-bg {
    display: none;
}

/* Services Hero with Modern Green Gradient */
.services-hero {
    position: relative;
    width: 100%;
    min-height: 280px;
    padding: 3.5rem 2rem 4.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--white);
    /* Rich green diagonal gradient from reference */
    background: linear-gradient(140deg, #1e6b39 0%, #2d8a47 35%, #3a9a54 70%, #2d8a47 100%);
}

/* Diagonal soft light for glass effect */
.services-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -30%;
    width: 160%;
    height: 160%;
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.12) 0%,
        rgba(255, 255, 255, 0.05) 25%,
        transparent 50%,
        rgba(0, 0, 0, 0.08) 100%
    );
    pointer-events: none;
    z-index: 1;
}

.services-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: var(--off-white);
    clip-path: path('M 0 50 Q 384 15, 768 50 T 1536 50 L 1536 50 L 0 50 Z');
    z-index: 10;
}

.services-hero-bg {
    display: none;
}

.products-hero .gradient-overlay,
.services-hero .gradient-overlay {
    display: none;
}

.products-hero .video-overlay,
.services-hero .video-overlay {
    display: none;
}

.products-hero .hero-content,
services-hero .hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
}

.products-hero .glass-card,
services-hero .glass-card {
    background: transparent;
    backdrop-filter: none;
    border: none;
    box-shadow: none;
    padding: 0;
}

.products-hero .hero-title,
services-hero .hero-title {
    margin-bottom: 1rem;
}

.products-hero .title-line,
services-hero .title-line {
    font-size: clamp(2.3rem, 5.2vw, 3.6rem);
    font-weight: 700;
    color: var(--white);
    text-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.25),
        0 4px 16px rgba(0, 0, 0, 0.15);
    letter-spacing: -0.3px;
    line-height: 1.15;
}

.products-hero .tagline,
services-hero .tagline {
    font-size: clamp(1rem, 2.1vw, 1.28rem);
    color: rgba(255, 255, 255, 0.96);
    font-weight: 400;
    text-shadow: 
        0 1px 4px rgba(0, 0, 0, 0.25),
        0 2px 8px rgba(0, 0, 0, 0.12);
    letter-spacing: 0.2px;
    margin-bottom: 0;
    line-height: 1.5;
}

.products-hero .floating-icon,
services-hero .floating-icon {
    opacity: 0.16;
    font-size: 1.75rem;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2));
    z-index: 2;
}

.product-card {
    text-align: left;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.product-card:hover {
    background: rgba(255, 255, 255, 0.85);
    transform: translateY(-8px);
}

.product-icon {
    width: 100%;
    height: 150px;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.product-card:hover .product-icon {
    transform: scale(1.05);
}

.product-subtitle {
    color: var(--text-light);
    font-size: 1rem;
    font-style: italic;
    margin-bottom: 1rem;
}

.product-features {
    margin-top: 1.5rem;
}

.product-features h4 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.product-features ul {
    list-style: none;
    padding: 0;
}

.product-features ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
    line-height: 1.6;
}

.product-features ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
}

.product-badge {
    margin-top: 1.5rem;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
    color: var(--white);
    border-radius: 25px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Hardware Showcase */
.hardware-showcase {
    max-width: 1200px;
    margin: 0 auto;
}

.hardware-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    overflow: hidden;
    animation: fadeInUp 0.8s ease;
    transition: all 0.4s ease;
}

.hardware-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 15px 50px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.hardware-image-placeholder {
    background: linear-gradient(135deg, var(--cream), var(--off-white));
    padding: 4rem 2rem;
    text-align: center;
    border-bottom: 3px solid var(--primary-green);
}

.hardware-content {
    padding: 3rem;
}

.hardware-description p {
    color: var(--text-dark);
}

.hardware-specs {
    margin-top: 2rem;
}

.spec-item {
    background-color: var(--off-white);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.spec-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px var(--shadow);
}

.spec-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.spec-item h4 {
    color: var(--primary-green);
    margin: 1rem 0 0.5rem;
    font-size: 1.1rem;
}

.spec-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.hardware-benefits ul {
    list-style: none;
    padding: 0;
}

.hardware-benefits li {
    padding: 0.8rem;
    color: var(--text-dark);
    font-size: 1.05rem;
}

/* Technology Grid */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.tech-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tech-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.85);
}

.tech-card h3 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.tech-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ========================================
   TEAM PAGE STYLES
   ======================================== */

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.leader-card {
    background: rgba(232, 245, 233, 0.6);
    border-radius: 20px;
    border: 1px solid rgba(46, 125, 50, 0.1);
    overflow: hidden;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
}

.leader-card:hover {
    transform: translateY(-10px);
    background: rgba(232, 245, 233, 0.8);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.leader-image-wrapper {
    width: 100%;
    height: 450px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.leader-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.1) 100%);
    pointer-events: none;
    z-index: 1;
}

.leader-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
    filter: brightness(1.05) contrast(1.1);
}

.leader-card:hover .leader-image {
    transform: scale(1.1);
    filter: brightness(1.1) contrast(1.15);
}

/* Specific styling for better image quality */
.leader-card:nth-child(1) .leader-image {
    object-position: center 20%;
    object-fit: cover;
}

.leader-card:nth-child(2) .leader-image {
    object-fit: contain !important;
    object-position: center center;
    filter: brightness(1.0) contrast(1.0) saturate(1.0);
    max-width: 100%;
    max-height: 100%;
}

.leader-info {
    padding: 2rem;
}

.leader-info h3 {
    font-size: 1.8rem;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.leader-role {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.leader-description p {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.leader-highlights h4 {
    color: var(--primary-green);
    margin: 1.5rem 0 1rem;
    font-size: 1.1rem;
}

.leader-highlights ul {
    list-style: none;
    padding: 0;
}

.leader-highlights ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
    line-height: 1.6;
}

.leader-highlights ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
}

/* Team Stats Section */
.team-stats-section {
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
}

/* Team Stats */
.team-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.stat-card {
    padding: 2rem;
    background: rgba(232, 245, 233, 0.6);
    border-radius: 15px;
    border: 1px solid rgba(46, 125, 50, 0.1);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    background: rgba(232, 245, 233, 0.8);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Department Grid */
.department-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.department-card {
    background: rgba(232, 245, 233, 0.6);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(46, 125, 50, 0.1);
    border-top: 4px solid var(--primary-green);
}

.department-card:hover {
    transform: translateY(-10px);
    background: rgba(232, 245, 233, 0.8);
    border-top-width: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.department-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.department-card h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.department-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.department-team {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--cream);
    color: var(--primary-green);
    font-weight: 600;
    font-size: 0.95rem;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.7rem; }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        gap: 0;
        box-shadow: 0 5px 10px var(--shadow);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav-menu.active {
        max-height: 300px;
    }
    
    .nav-menu li {
        width: 100%;
        text-align: center;
    }
    
    .nav-menu li a {
        display: block;
        padding: 1rem;
        border-radius: 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero {
        min-height: 100vh;
    }
    
    .glass-card {
        padding: 2.5rem 2rem;
    }
    
    .title-line {
        font-size: 2.5rem;
    }
    
    .title-line.highlight {
        font-size: 3rem;
    }
    
    .tagline {
        font-size: 1.1rem;
    }
    
    .hero-logo {
        width: 120px;
        height: 120px;
    }
    
    .cta-buttons {
        gap: 1rem;
    }
    
    .glass-button {
        padding: 1rem 2.5rem;
    }
    
    .section {
        padding: 4rem 20px;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }
    
    .cards-grid,
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .glass-card-small,
    .glass-card-feature {
        padding: 2rem 1.5rem;
    }
    
    .glass-card-cta {
        padding: 3rem 2rem;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .cta-text {
        font-size: 1rem;
    }
    
    .leadership-grid {
        grid-template-columns: 1fr;
    }
    
    .leader-image-wrapper {
        height: 350px;
    }
    
    .leader-card:nth-child(2) .leader-image {
        filter: brightness(1.0) contrast(1.0) saturate(1.0);
    }
    
    .department-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .team-stats {
        grid-template-columns: 1fr;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .hero {
        min-height: 100vh;
        padding: 2rem 20px;
    }
    
    .hero-video {
        min-width: 100%;
        min-height: 100%;
    }
    
    .glass-card {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }
    
    .hero-logo {
        width: 100px;
        height: 100px;
    }
    
    .title-line {
        font-size: 2rem;
    }
    
    .title-line.highlight {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .glass-button {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
    }
    
    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
    
    /* Hide floating particles on mobile for performance */
    .floating-icon {
        display: none;
    }
    
    .particles-container {
        display: none;
    }
    
    .scroll-indicator {
        bottom: 20px;
    }
    
    .mouse {
        width: 25px;
        height: 40px;
    }
    
    .section {
        padding: 3rem 20px;
    }
    
    .glass-card-small,
    .glass-card-feature {
        padding: 1.8rem 1.5rem;
    }
    
    .glass-card-cta {
        padding: 2.5rem 1.5rem;
    }
    
    .glass-card-footer {
        padding: 2.5rem 1.5rem;
    }
    
    .footer-logo {
        height: 60px;
    }
    
    .glass-social {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .vm-card {
        padding: 2rem;
    }
    
    .about-intro h1 {
        font-size: 2rem;
    }
}

@media (min-width: 1024px) {
    .section { padding: 6rem clamp(20px, 2vw, 28px); }
    .cards-grid { gap: 2.5rem; }
    .hero { min-height: 92vh; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
}

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

:focus-visible { outline: 3px solid var(--accent-green); outline-offset: 2px; border-radius: 6px; }

