/* --- style.css (v4/v5 - Water Ripple) --- */
:root {
    /* Shared Variables */
    --font-family: 'Poppins', sans-serif;
    --header-height: 80px;

    /* * NEW: Light Mode (Default) 
     * (Soft, clean, professional)
    */
    --primary-color: #0057b8;   /* Professional Strong Blue */
    --secondary-color: #00abf0; /* Lighter Accent Blue */
    --primary-color-rgb: 0, 87, 184;
    --bg-color: #fff;         /* NEW: Soft off-white background */
    --card-color: #FFFFFF;       /* NEW: Pure white cards */
    --text-primary: #222222;     /* Dark Gray/Black */
    --text-secondary: #666666;   /* Medium Gray */
    --border-color: rgba(0, 0, 0, 0.08); /* Softer border */
    --header-scrolled-bg: rgba(255, 255, 255, 0.85); 
    --logo-filter: none;
}

body.dark-mode {
    /* * Dark Mode (Your Original)
     * (Electric, vibrant)
    */
    --primary-color: #00BFFF;   /* Deep Sky Blue */
    --secondary-color: #0077FF; /* Brighter Blue */
    --primary-color-rgb: 0, 191, 255;
    --bg-color: #0A0A0A;
    --card-color: #141414;
    --text-primary: #FFFFFF;
    --text-secondary: #A0A0A0;
    --border-color: rgba(255, 255, 255, 0.1);
    --header-scrolled-bg: rgba(10, 10, 10, 0.8);
    --logo-filter: drop-shadow(0 0 15px rgba(0, 191, 255, 0.5));
}

/* --- Base & Transitions --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    opacity: 0; 
    transition: opacity 0.4s ease-in-out, background-color 0.4s ease, color 0.4s ease;
}
body.fade-in { opacity: 1; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
a { color: var(--primary-color); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--secondary-color); }

/* --- Buttons --- */
.btn { display: inline-block; padding: 14px 30px; border-radius: 50px; font-weight: 600; border: none; cursor: pointer; transition: all 0.3s ease; }
.btn-primary { 
    background: var(--primary-color); 
    color: var(--bg-color);
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(var(--primary-color-rgb), 0.3); 
}
.btn-primary:hover { 
    background: var(--secondary-color); 
    transform: translateY(-3px); 
    box-shadow: 0 8px 25px rgba(var(--primary-color-rgb), 0.5); 
}
.btn-secondary { background: transparent; color: var(--primary-color); border: 2px solid var(--primary-color); }
.btn-secondary:hover { background: var(--primary-color); color: var(--bg-color); font-weight: 600; }

/* --- Header & Navigation --- */
header { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    z-index: 1000; 
    padding: 0.8rem 0; 
    background: transparent; 
    border-bottom: 1px solid transparent; 
    height: var(--header-height); 
    display: flex; 
    align-items: center; 
    transition: all 0.4s ease; 
}
/* --- HERO SECTION: Video Background Styling --- */

#hero {
    position: relative; /* Set to relative so the video can be absolutely positioned within it */
    width: 100%;
    min-height: 80vh; /* Set a clear height for the hero section */
    overflow: hidden; /* Hide anything that spills out */
    display: flex; /* Helps center content */
    align-items: center; /* Vertically center content */
    justify-content: center; /* Horizontally center content */
}

/* Container for the video element */
.video-background {
    position: absolute;
    top: 11%;
    left: 0;
    width: 100%;
    height: 111%;
    z-index: 1; /* Place video behind the text */
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the video covers the entire container without stretching */
    filter: brightness(50%); /* Dims the video so the white text is readable */
}

/* Ensure the hero content sits on top of the video */
.hero-content {
    position: relative;
    z-index: 2; /* Place content above the video */
    color: white; /* Make the text white for contrast */
    text-align: center;
    max-width: 800px;
    padding: 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 15px;
}
header.scrolled { 
    background: var(--header-scrolled-bg); 
    /* backdrop-filter: blur(10px);  */
    border-bottom: 1px solid var(--border-color); 
    header .nav-links a {
    color: #222222 !important;
}
header .nav-links a:hover,
header .nav-links a.active-link {
    color: var(--primary-color) !important;
}
}
nav.container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    width: 100%; 
}
.logo img { 
    height: 110px; 
    transition: transform 0.3s ease, filter 0.4s ease;
}
body.dark-mode .logo img {
    filter: var(--logo-filter);
}
.logo:hover img { 
    transform: scale(1.05); 
}
.nav-links { 
    list-style: none; 
    display: flex; 
    gap: 1rem; 
    align-items: center;
}
.nav-links a { 
    color: var(--text-primary); 
    text-decoration: none; 
    font-weight: 500; 
    font-size: 1rem; 
    padding: 10px 15px; 
    border-radius: 50px; 
    transition: all 0.3s ease; 
    text-transform: uppercase; 
}
.nav-links a:hover,
.nav-links a.active-link { 
    background-color: rgba(var(--primary-color-rgb), 0.1); 
    color: var(--primary-color); 
}

/* --- Theme Toggle Button --- */
.theme-toggle-btn {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 50px;
    transition: all 0.3s ease;
    line-height: 1;
}
.theme-toggle-btn:hover {
    background-color: rgba(var(--primary-color-rgb), 0.1);
    color: var(--primary-color);
}
.theme-toggle-btn .fa-moon { display: none; }
.theme-toggle-btn .fa-sun { display: inline-block; }

.menu-toggle { 
    display: none; 
    background: none; 
    border: none; 
    color: var(--text-primary); 
    font-size: 1.7rem; 
    cursor: pointer; 
    z-index: 1001; 
}

/* --- Hero Section --- */
#hero { 
    height: 100vh; 
    position: relative; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    text-align: center;
    overflow: hidden; 
}

/* === DUAL CANVAS STYLES === */
#hero-canvas, #light-hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    z-index: 1; 
}

/* Light Mode: Show LIGHT canvas */
#hero-canvas { display: none; } /* Dark (3D) */
#light-hero-canvas { 
    display: block; 
    opacity: 1; /* Ripples look good at full opacity */
} /* Light (2D) */

/* Dark Mode: Show DARK canvas */
body.dark-mode #hero-canvas { display: block; }
body.dark-mode #light-hero-canvas { display: none; }
/* === END DUAL CANVAS STYLES === */

.hero-content { 
    position: relative; 
    z-index: 10; 
    max-width: 800px; 
    text-align: center; 
}
.hero-logo-image {
    max-width: 90%;
    width: 500px; 
    height: auto;
    margin-bottom: 2rem;
    transition: filter 0.4s ease;
}
body.dark-mode .hero-logo-image {
    filter: var(--logo-filter);
}

.hero-subtitle { 
    font-size: clamp(1.4rem, 2.5vw, 2.2rem); 
    font-weight: 300; 
    margin-bottom: 3rem; 
    color: var(--text-secondary);
}
/* Add shadow in light mode for readability on ripples */
body:not(.dark-mode) .hero-subtitle {
     text-shadow: 0 2px 5px rgba(255,255,255,0.5);
}


/* --- Content Sections --- */
.content-section { 
    padding: 8rem 0; 
    position: relative; 
    overflow: hidden; 
}
.section-header { 
    text-align: center; 
    margin-bottom: 4.5rem; 
}
.section-title { 
    font-size: clamp(2.5rem, 5vw, 4rem); 
    font-weight: 800; 
    margin-bottom: 1rem; 
    color: var(--text-primary); 
    text-transform: uppercase; 
}
.section-header p { 
    font-size: 1.15rem; 
    color: var(--text-secondary); 
    max-width: 700px; 
    margin: 0 auto; 
}

/* --- Page Specific Padding --- */
#team-page, #products-page, #gallery-page, #contact-page, #about-page {
    background-color: var(--bg-color);
    padding-top: calc(var(--header-height) + 6rem);
}

/* --- Welcome/About --- */
.welcome-grid {
    display: grid;
    grid-template-columns: 1fr; 
    gap: 2rem;
    align-items: center;
    max-width: 900px; 
    margin: 0 auto; 
    text-align: center; 
}
.welcome-text .section-title {
    text-align: center;
}
.welcome-text p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}
.mission-vision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.mission-vision-card { 
    background: var(--card-color); 
    padding: 3rem; 
    border-radius: 20px; 
    text-align: center; 
    border: 1px solid var(--border-color); 
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.4s ease; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.03); /* Soft shadow */
}
.mission-vision-card:hover { 
    transform: translateY(-8px); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.08); 
}
body.dark-mode .mission-vision-card:hover {
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.mission-vision-card h3 { font-size: 2rem; margin-bottom: 1rem; color: var(--primary-color); }
.mission-vision-card p { font-size: 1.05rem; color: var(--text-secondary); line-height: 1.8; }

/* --- Team Page --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
}
.team-card {
    text-align: center;
    background: transparent;
    transition: transform 0.3s ease;
}
.team-card:hover {
    transform: translateY(-10px);
}
.team-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 4px solid var(--primary-color); 
    box-shadow: 0 10px 30px rgba(var(--primary-color-rgb), 0.3);
}
.team-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}
.team-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.team-member-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: flex-start;
    background: var(--card-color);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    margin-bottom: 3rem;
    overflow: hidden;
    transition: background-color 0.4s ease, border-color 0.4s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}
.team-member-card.reverse {
    grid-template-columns: 1fr 300px;
}
.team-member-photo {
    width: 100%;
    border-radius: 15px;
    object-fit: cover;
    aspect-ratio: 1 / 1.1;
    box-shadow: 0 10px 30px rgba(var(--primary-color-rgb), 0.2);
}
.team-member-card.reverse .team-member-photo {
    grid-column: 2;
    grid-row: 1;
}
.team-member-bio { display: flex; flex-direction: column; }
.team-member-bio h3 { font-size: 2.5rem; font-weight: 700; color: var(--text-primary); line-height: 1.2; }
.team-member-bio .title { font-size: 1.2rem; color: var(--primary-color); font-weight: 500; margin-bottom: 1.5rem; }
.team-member-bio p { font-size: 1.05rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 1rem; }
.team-member-bio .know-more { color: var(--secondary-color); font-weight: 600; text-decoration: none; font-size: 1rem; }

/* --- Partners --- */
.scroller { max-width: 100%; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent); mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent); }
.partners-grid { display: flex; flex-wrap: nowrap; gap: 4rem; width: max-content; animation: scroll 40s linear infinite; }
.partner-logo { flex-shrink: 0; }
.partner-logo img { max-width: 160px; height: 80px; object-fit: contain; transition: all 0.3s ease; }
.partner-logo:hover img { transform: scale(1.1); }
.scroller:hover .partners-grid { animation-play-state: paused; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --- Gallery/Impact Page --- */
.youtube-video-container { 
    position: relative; 
    padding-bottom: 56.25%; 
    height: 0; 
    overflow: hidden; 
    border-radius: 15px; 
    border: 1px solid var(--border-color); 
    box-shadow: 0 15px 40px rgba(0,0,0,0.1); 
    margin-bottom: 5rem; 
}
body.dark-mode .youtube-video-container {
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}
.youtube-video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

.stats-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    background: var(--card-color);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}
.stat-item { text-align: center; }
.stat-item i { font-size: 3rem; color: var(--primary-color); margin-bottom: 1.5rem; }
.stat-item h3 { font-size: 3.5rem; font-weight: 700; color: var(--text-primary); line-height: 1; }
.stat-item p { font-size: 1.1rem; color: var(--text-secondary); }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.gallery-item {
    background: var(--card-color);
    border-radius: 18px;
    overflow: hidden;
    border: 1.5px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}
.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}
body.dark-mode .gallery-item:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.25);
}
.gallery-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}
.gallery-item p { padding: 1.5rem; font-size: 1.05rem; color: var(--text-secondary); }

/* --- Products Page --- */
.product-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
    background: var(--card-color);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: background-color 0.4s ease, border-color 0.4s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}
.product-showcase:nth-child(even) {
    /* No reverse needed, image handles it */
}
.product-image, .product-logo {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 15px;
}
.product-logo {
    object-fit: contain;
    padding: 2rem;
}
.product-details h3 { font-size: 2.2rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.5rem; }
.product-details .subtitle { font-size: 1.2rem; color: var(--text-secondary); margin-bottom: 1.5rem; }
.spec-title { font-size: 1.3rem; font-weight: 600; color: var(--text-primary); margin-top: 2rem; margin-bottom: 1rem; border-bottom: 2px solid var(--primary-color); padding-bottom: 0.5rem; display: inline-block; }
.spec-list { list-style: none; color: var(--text-secondary); line-height: 1.9; }
.spec-list li strong { color: var(--text-primary); font-weight: 600; }
.product-status { display: inline-block; padding: 6px 14px; border-radius: 50px; font-weight: 600; font-size: 0.9rem; margin-bottom: 1rem; }
.product-status.instock { background-color: rgba(40, 167, 69, 0.15); color: #28a745; }
.product-status.unavailable { background-color: rgba(220, 53, 69, 0.15); color: #dc3545; }
.product-status.upcoming { background-color: rgba(var(--primary-color-rgb), 0.15); color: var(--primary-color); }
.product-actions { margin-top: 2rem; }

/* --- Contact Page & Home Page Form --- */
.contact-grid-new, .contact-container { 
    display: grid; 
    grid-template-columns: 1fr 1.2fr; 
    gap: 4rem; 
    align-items: flex-start; 
}
.contact-text .section-title { text-align: left; }
.contact-details p { display: flex; align-items: center; gap: 1.2rem; margin-bottom: 1.5rem; font-size: 1.15rem; }
.contact-details i { color: var(--primary-color); font-size: 1.4rem; }
.contact-details-list { list-style: none; padding: 0; }
.contact-details-list li { display: flex; align-items: flex-start; gap: 1.5rem; margin-bottom: 2.5rem; font-size: 1.1rem; }
.contact-details-list i { color: var(--primary-color); font-size: 1.5rem; margin-top: 5px; min-width: 25px; text-align: center; }
.contact-details-list h4 { font-size: 1.2rem; font-weight: 600; color: var(--text-primary); margin-bottom: 0.25rem; }
.contact-details-list p { font-size: 1rem; color: var(--text-secondary); line-height: 1.6; }
.contact-details-list p a { color: var(--text-secondary); }
.contact-details-list p a:hover { color: var(--primary-color); }
.map-container { border-radius: 15px; overflow: hidden; border: 1px solid var(--border-color); height: 300px; }
.map-container iframe { width: 100%; height: 100%; }

.contact-form input, .contact-form textarea { 
    width: 100%; 
    padding: 18px; 
    margin-bottom: 1.5rem; 
    background: var(--card-color); 
    border: 1px solid var(--border-color); 
    border-radius: 10px; 
    color: var(--text-primary); 
    font-family: var(--font-family); 
    font-size: 1rem; 
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}
.contact-form input::placeholder, .contact-form textarea::placeholder { 
    color: var(--text-secondary); 
}
.contact-form input:focus, .contact-form textarea:focus { 
    border-color: var(--primary-color); 
    box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.25); 
    outline: none; 
}
.contact-form .btn-primary { width: 100%; }

/* --- CTA & Footer --- */
.cta-banner { 
    background: var(--card-color); 
    border-radius: 20px; 
    padding: 3rem 4rem; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    border: 1px solid var(--border-color);
    transition: background-color 0.4s ease, border-color 0.4s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}
.cta-content { max-width: 60%; }
.cta-content h3 { font-size: 2.5rem; font-weight: 700; margin-bottom: 1.5rem; line-height: 1.3; }
.cta-content p { font-size: 1.2rem; margin-bottom: 2.5rem; color: var(--text-secondary); }
.cta-image img { 
    max-width: 400px; 
    transition: filter 0.4s ease;
}
body.dark-mode .cta-image img {
    filter: var(--logo-filter);
}

footer { 
    padding: 5rem 0; 
    background: var(--card-color); 
    border-top: 1px solid var(--border-color); 
    margin-top: 6rem; 
    transition: background-color 0.4s ease, border-color 0.4s ease;
}
.footer-links { display: flex; justify-content: space-between; align-items: center; margin-bottom: 3rem; flex-wrap: wrap; gap: 1.5rem; }
.footer-nav, .footer-legal { list-style: none; display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-nav a, .footer-legal a { color: var(--text-secondary); font-weight: 500; }
.footer-nav a:hover, .footer-legal a:hover { color: var(--primary-color); }
.copyright { text-align: center; color: var(--text-secondary); font-size: 0.95rem; }

/* --- Responsive Design --- */
@media(max-width: 1024px) { /* Tablet */
    .container { padding: 0 1.5rem; }
    .nav-links { gap: 0.5rem; }
    .nav-links a { padding: 8px 10px; font-size: 0.9rem; }
    .theme-toggle-btn { padding: 8px 10px; font-size: 1.1rem; }
    .mission-vision-grid { grid-template-columns: 1fr; }
    .cta-banner { flex-direction: column; text-align: center; }
    .cta-content { max-width: 100%; margin-bottom: 2rem; }
    .cta-image { display: none; }
    .team-member-card, .team-member-card.reverse { grid-template-columns: 1fr; }
    .team-member-card.reverse .team-member-photo { grid-column: 1; }
    .product-showcase { grid-template-columns: 1fr; }
    .product-showcase .product-image { height: 300px; }
    .contact-grid-new, .contact-container { grid-template-columns: 1fr; }
}

@media(max-width: 768px) { /* Mobile */
    .menu-toggle { display: block; z-index: 1002; }
    .nav-links { 
        display: flex; 
        position: fixed; 
        top: 0; 
        left: 0; 
        width: 100%; 
        height: 100%; 
        background: var(--bg-color); 
        flex-direction: column; 
        align-items: center; 
        justify-content: center;
        padding: 2rem 0; 
        gap: 1.5rem; 
        transform: translateY(-100%); 
        transition: transform 0.4s ease-in-out, background-color 0.4s ease; 
        z-index: 1001;
    }
    .nav-links.active { 
        transform: translateY(0); 
    }
    .nav-links a { 
        font-size: 1.5rem; 
    }
    .theme-toggle-btn {
        font-size: 1.5rem;
    }
    .nav-links .btn {
        padding: 12px 28px;
        font-size: 1.3rem;
    }
    .hero-subtitle { font-size: 1.2rem; }
    .section-title { font-size: 2.2rem; }
    .content-section { padding: 5rem 0; }
    .team-member-bio h3 { font-size: 2rem; }
    .stats-grid-full { grid-template-columns: 1fr 1fr; gap: 2.5rem; padding: 2rem; }
    .stat-item h3 { font-size: 2.5rem; }
    .cta-banner { padding: 2rem; }
    .cta-content h3 { font-size: 2rem; }
    .footer-links { flex-direction: column; align-items: center; text-align: center; }
}
/* ============================================
   ALL FIXES v3
   ============================================ */

/* FIX 1: Canvas - hero button clickable */
#hero-canvas, #light-hero-canvas {
    pointer-events: none !important;
    z-index: 1 !important;
}
.hero-content {
    position: relative;
    z-index: 10 !important;
    pointer-events: all !important;
    color: #ffffff !important;
}

/* FIX 2: Hero button white glass style */
.hero-content .btn-primary {
    background: #ffffff !important;
    color: #0057b8 !important;
    border: 2px solid #ffffff !important;
    backdrop-filter: none !important;
}
.hero-content .btn-primary:hover {
    background: #0057b8 !important;
    color: #ffffff !important;
    border-color: #0057b8 !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 15px 35px rgba(255,255,255,0.25) !important;
}

/* FIX 3: Video dark overlay - hides droplets */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.video-background::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 2;
}
.video-background video {
    filter: brightness(60%) saturate(80%);
}

/* FIX 4: Products button hover */
.product-actions .btn-primary {
    background: var(--primary-color) !important;
    color: #ffffff !important;
    border: 2px solid var(--primary-color) !important;
    padding: 14px 36px !important;
    font-weight: 700 !important;
    transition: all 0.3s ease !important;
}
.product-actions .btn-primary:hover {
    background: transparent !important;
    color: var(--primary-color) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 30px rgba(0,87,184,0.25) !important;
}

/* ============================================
   NEW PAGE LOADER - Dark Water Wave
   ============================================ */
#page-loader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #f0f7ff;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 35px;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    overflow: hidden;
}
#page-loader.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
#page-loader::before {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(0,87,184,0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: loaderGlow 3s ease-in-out infinite;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
}
@keyframes loaderGlow {
    0%, 100% { transform: translate(-50%,-50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%,-50%) scale(1.3); opacity: 1; }
}
.loader-logo {
    height: 75px;
    filter: none;
    position: relative; z-index: 1;
    animation: floatLogo 2.5s ease-in-out infinite;
}
@keyframes floatLogo {
    0%, 100% { transform: translateY(0); opacity: 0.9; }
    50% { transform: translateY(-14px); opacity: 1; }
}
.loader-wave-container {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    height: 50px;
    position: relative; z-index: 1;
}
.loader-wave-container span {
    display: block;
    width: 7px;
    border-radius: 4px;
    background: linear-gradient(180deg, #00abf0 0%, #0057b8 100%);
    animation: waveBar 1.4s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(0,171,240,0.5);
}
.loader-wave-container span:nth-child(1) { height: 15px; animation-delay: 0.0s; }
.loader-wave-container span:nth-child(2) { height: 28px; animation-delay: 0.1s; }
.loader-wave-container span:nth-child(3) { height: 42px; animation-delay: 0.2s; }
.loader-wave-container span:nth-child(4) { height: 50px; animation-delay: 0.3s; }
.loader-wave-container span:nth-child(5) { height: 42px; animation-delay: 0.4s; }
.loader-wave-container span:nth-child(6) { height: 50px; animation-delay: 0.3s; }
.loader-wave-container span:nth-child(7) { height: 42px; animation-delay: 0.2s; }
.loader-wave-container span:nth-child(8) { height: 28px; animation-delay: 0.1s; }
.loader-wave-container span:nth-child(9) { height: 15px; animation-delay: 0.0s; }
@keyframes waveBar {
    0%, 100% { transform: scaleY(0.3); opacity: 0.4; }
    50% { transform: scaleY(1); opacity: 1; }
}
.loader-text {
    color: rgba(0,87,184,0.6);
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    position: relative; z-index: 1;
    animation: loaderTextBlink 1.8s ease-in-out infinite;
}
@keyframes loaderTextBlink {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.9; }
}


/* ENHANCEMENTS */
.product-showcase { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.product-showcase:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(0,87,184,0.08); }
.team-member-card { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.team-member-card:hover { transform: translateY(-4px); box-shadow: 0 15px 40px rgba(0,87,184,0.08); }
.stat-item { transition: transform 0.3s ease; }
.stat-item:hover { transform: translateY(-6px); }
/* NAV FIX */
header:not(.scrolled) .nav-links a {
    color: #ffffff !important;
     background: rgba(255,255,255,0.15) !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
header:not(.scrolled) .nav-links a:hover {
    background: rgba(255,255,255,0.15) !important;
    color: #ffffff !important;
}

/* HERO BUTTON FIX */
.hero-content {
    position: relative !important;
    z-index: 100 !important;
    pointer-events: all !important;
}
.hero-content a.btn {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 101 !important;
    pointer-events: all !important;
    background: #ffffff !important;
    color: #0057b8 !important;
    border: 2px solid #ffffff !important;
    padding: 16px 40px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    text-decoration: none !important;
    margin-top: 20px !important;
    cursor: pointer !important;
}
.hero-content a.btn:hover {
    background: #0057b8 !important;
    color: #ffffff !important;
    border-color: #0057b8 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3) !important;
}
/* NAV SCROLLED FIX */
header.scrolled {
    background: #ffffff !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08) !important;
}
header.scrolled .nav-links a {
    color: #0a1628 !important;
    text-shadow: none !important;
}