:root {
    --primary: #004e92;
    --secondary: #56ab2f;
    --dark: #1a1a1a;
    --light: #f4f7f6;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #004e92 0%, #56ab2f 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
body { background-color: var(--white); color: var(--dark); line-height: 1.6; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ==================== NAVIGATION (DESKTOP DEFAULT) ==================== */
nav {
    padding: 5px 0; /* Reduced padding for sleeker look */
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #eee;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary);
}

.logo-img { height: 90px; width: auto; } /* Fixed Desktop Height */

/* Desktop Menu Layout */
.nav-links {
    list-style: none;
    display: flex; /* Horizontal on Desktop */
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    position: relative;
    transition: 0.3s;
}

/* Hover & Active Effect (Underline) */
.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary);
    transition: 0.3s;
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

/* Hide Mobile Elements on Desktop */
.hamburger, .mobile-nav-group, .mobile-call-btn {
    display: none;
}

/* ==================== BUTTONS & UTILS ==================== */
.btn-primary {
    background: var(--primary);
    color: white !important;
    padding: 10px 25px;
    border-radius: 50px;
    transition: 0.3s;
}
.btn-primary:hover { background: var(--secondary); transform: translateY(-2px); }
.btn-primary::after { display: none; } /* No underline for button */

/* ==================== HERO SECTION ==================== */
.hero {
    padding-top: 140px;
    padding-bottom: 80px;
    background: radial-gradient(circle at top right, #eef9f0 0%, #fff 40%);
}
.hero-content { display: flex; align-items: center; justify-content: space-between; }
.hero-text { flex: 1; padding-right: 50px; }
.hero-text h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 20px; color: #0f172a; }
.highlight { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.badge { background: #e0f2fe; color: var(--primary); padding: 5px 12px; border-radius: 20px; font-size: 0.9rem; font-weight: 600; margin-bottom: 20px; display: inline-block; }
.cta-group { margin-top: 30px; display: flex; gap: 15px; }

/* Phone Mockup */
.phone-mockup { width: 300px; height: 600px; background: #000; border-radius: 40px; padding: 10px; box-shadow: 0 20px 50px rgba(0,0,0,0.2); position: relative; border: 4px solid #333; }
.screen { background: white; width: 100%; height: 100%; border-radius: 30px; overflow: hidden; position: relative; display: flex; flex-direction: column; }
.app-header { background: var(--primary); color: white; padding: 30px 20px 10px; display: flex; justify-content: space-between; }
.water-circle { width: 180px; height: 180px; border: 5px solid #eee; border-radius: 50%; margin: 40px auto; position: relative; overflow: hidden; background: #fff; }
.wave { position: absolute; bottom: 0; left: 0; width: 200%; height: 60%; background: rgba(0, 78, 146, 0.6); animation: wave 4s infinite linear; }
@keyframes wave { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.app-stats { padding: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat-box { background: #f4f7f6; padding: 15px; border-radius: 12px; text-align: center; }
.alert-box { background: #dcfce7; color: #166534; margin: 20px; padding: 10px; border-radius: 8px; text-align: center; font-weight: bold; font-size: 0.9rem; }

/* Ticker & Features */
.ticker-section { background: var(--dark); color: white; text-align: center; padding: 40px 0; }
.ticker-section h2 { font-size: 4rem; font-weight: 700; color: var(--secondary); font-family: monospace; }
.features { padding: 100px 0; }
.section-title { text-align: center; margin-bottom: 60px; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.card { padding: 30px; border-radius: 20px; background: white; box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: 0.3s; border: 1px solid #eee; }
.card:hover { transform: translateY(-10px); border-color: var(--primary); }
.card .icon { font-size: 2rem; margin-bottom: 20px; background: #e0f2fe; width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }

/* Industrial */
.industrial { padding-bottom: 80px; }
.split-layout { display: flex; align-items: center; gap: 50px; padding: 80px 20px; }
.text-side { flex: 1; min-width: 300px; }
.visual-side { flex: 1; display: flex; justify-content: center; }
.check-list { list-style: none; margin: 20px 0; }
.check-list li { margin-bottom: 10px; font-size: 1.1rem; color: var(--dark); }
.industrial-img { width: 100%; max-width: 600px; border-radius: 20px; box-shadow: 0 20px 40px rgba(0, 78, 146, 0.2); border: 4px solid white; display: block; margin: 0 auto; }

/* Impact */
.impact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-bottom: 50px; }
.impact-card { background: white; padding: 40px 20px; border-radius: 20px; text-align: center; border: 1px solid #eee; transition: 0.3s; }
.impact-card:hover { box-shadow: 0 10px 40px rgba(86, 171, 47, 0.2); transform: translateY(-5px); border-color: var(--secondary); }
.impact-icon { font-size: 2.5rem; margin-bottom: 15px; }
.impact-number { font-size: 2.5rem; font-weight: 800; color: var(--secondary); margin: 10px 0; }
.impact-desc { color: #666; font-size: 0.95rem; }
.roi-box { background: var(--primary); color: white; padding: 40px; border-radius: 20px; text-align: center; max-width: 800px; margin: 0 auto; box-shadow: 0 20px 40px rgba(0, 78, 146, 0.3); }
.roi-box h3 { margin-bottom: 10px; font-size: 1.5rem; }
.roi-box strong { color: #ffd700; font-size: 1.2rem; }

/* Footer */
footer { background: #0f172a; color: white; padding-top: 60px; margin-top: auto; }
.footer-content { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 40px; flex-wrap: wrap; gap: 30px; }
.footer-col { flex: 1; min-width: 250px; }
.footer-col h3 { color: var(--secondary); font-size: 1.5rem; margin-bottom: 15px; letter-spacing: 1px; }
.footer-col h4 { color: #94a3b8; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 15px; }
.address-text { color: #cbd5e1; font-size: 0.95rem; line-height: 1.8; }
.email-link { color: white; text-decoration: none; font-size: 1.1rem; transition: 0.3s; display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.05); padding: 10px 20px; border-radius: 50px; }
.email-link:hover { background: var(--primary); transform: translateY(-2px); }
.social-icons { display: flex; gap: 15px; }
.social-icons a { width: 40px; height: 40px; background: rgba(255,255,255,0.1); color: white; display: flex; align-items: center; justify-content: center; border-radius: 50%; text-decoration: none; transition: 0.3s; font-size: 1.1rem; }
.social-icons a:hover { background: var(--secondary); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(86, 171, 47, 0.3); }
.right-text, .center-text { display: flex; flex-direction: column; align-items: center; }
.copyright-bar { border-top: 1px solid rgba(255,255,255,0.1); text-align: center; padding: 20px 0; font-size: 0.85rem; color: #64748b; }
.footer-links-list { list-style: none; padding: 0; }
.footer-links-list li { margin-bottom: 10px; }
.footer-links-list a { text-decoration: none; color: #cbd5e1; font-size: 0.95rem; transition: 0.3s; display: inline-block; }
.footer-links-list a:hover { color: var(--secondary); transform: translateX(5px); }

/* About Page Styles */
.page-header { padding-top: 150px; padding-bottom: 80px; background: var(--light); text-align: center; }
.page-header h1 { font-size: 3rem; color: var(--primary); margin-top: 20px; }
.story-section { padding: 100px 0; background: white; }
.story-text h2 { font-size: 2rem; color: var(--primary); margin-bottom: 30px; font-style: italic; position: relative; }
.story-text h2::before { content: '“'; font-size: 5rem; color: rgba(0, 78, 146, 0.1); position: absolute; top: -40px; left: -20px; z-index: -1; }
.story-text p { margin-bottom: 20px; font-size: 1.05rem; color: #555; }
.highlight-text { font-size: 1.2rem; color: var(--dark); border-left: 4px solid var(--secondary); padding-left: 20px; margin: 30px 0; }
.founder-sign { margin-top: 40px; }
.founder-sign strong { display: block; font-size: 1.2rem; color: var(--primary); }
.relative-container { position: relative; height: 500px; }
.story-img-main { width: 85%; height: 450px; object-fit: cover; border-radius: 20px; position: absolute; top: 0; left: 0; z-index: 1; }
.story-img-overlay { width: 45%; height: auto; border-radius: 15px; position: absolute; bottom: 0; right: 0; z-index: 2; border: 5px solid white; }
.dna-section { padding: 100px 0; background: #f8fafc; }
.dna-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.dna-card { background: white; padding: 40px; border-radius: 20px; border: 1px solid #eee; transition: 0.3s; }
.dna-card:hover { border-color: var(--primary); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.dna-icon { font-size: 3rem; margin-bottom: 20px; }
.team-section { padding: 100px 0; background: white; }
.team-gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; margin-top: 50px; }
.gallery-item { position: relative; height: 400px; overflow: hidden; border-radius: 20px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.photo-caption { position: absolute; bottom: 20px; left: 20px; background: rgba(255,255,255,0.9); padding: 8px 16px; border-radius: 50px; font-weight: 600; color: var(--primary); font-size: 0.9rem; }
.shadow-sm { box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.shadow-md { box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
.shadow-lg { box-shadow: 0 20px 50px rgba(0,0,0,0.2); }
.rounded-lg { border-radius: 20px; }

/* ==================== MOBILE RESPONSIVENESS ==================== */
@media (max-width: 900px) {
    .team-gallery { grid-template-columns: 1fr; height: auto; }
    .main-team-photo { height: 300px; }
    .side-team-photo { height: 300px; }
    .nav-phone { display: none; }
}

@media (max-width: 768px) {
    /* Reveal Mobile Elements */
    .mobile-nav-group { display: flex; align-items: center; }
    .hamburger { display: block; font-size: 1.5rem; color: var(--primary); cursor: pointer; margin-left: 15px; }
    
    /* Hide Desktop Logo Text */
    .logo-text { display: none; }
    .logo-img { height: 60px; width: auto; object-fit: contain; }

    /* Mobile Call Button */
    .mobile-call-btn { display: flex; align-items: center; gap: 6px; background-color: #004e92; color: white !important; padding: 8px 16px; border-radius: 50px; text-decoration: none; font-weight: 600; font-size: 0.85rem; box-shadow: 0 4px 10px rgba(0, 78, 146, 0.2); transition: 0.2s; }
    .mobile-call-btn:active { transform: scale(0.95); background-color: #003366; }

    /* Mobile Menu Logic */
    .nav-links {
        display: none; /* Hidden Default */
        position: absolute;
        top: 90px; /* Pushed down to clear header */
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        align-items: center;
        gap: 25px;
        padding: 40px 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        border-top: 1px solid #eee;
    }
    
    .nav-links.active { display: flex; } /* Show when Active */
    
    /* Layout Adjustments */
    .hero-content, .split-layout { flex-direction: column; }
    .hero-text { padding-right: 0; text-align: center; margin-bottom: 40px; }
    .hero-text h1 { font-size: 2.5rem; }
    .cta-group { justify-content: center; }
    .footer-content { flex-direction: column; text-align: center; align-items: center; }
    .relative-container { height: auto; margin-bottom: 50px; }
    .story-img-main { position: relative; width: 100%; height: 350px; }
    .story-img-overlay { position: absolute; width: 40%; bottom: -30px; right: 10px; }
    .reverse-on-mobile { flex-direction: column-reverse; }
    
    /* Header Fixes */
    .page-header { padding-top: 120px !important; padding-bottom: 40px; }
    .page-header h1 { font-size: 2rem !important; line-height: 1.3; margin-top: 10px; padding: 0 15px; }
}

/* Active Link Style for Navbar */
.active-link {
    color: var(--primary) !important; /* Force Blue */
    font-weight: 700 !important;      /* Force Bold */
    border-bottom: 2px solid var(--primary); /* Optional: Add underline to be sure */
}
/* Floating WhatsApp */
.whatsapp-float { position: fixed; width: 60px; height: 60px; bottom: 30px; right: 30px; background-color: #25d366; color: #FFF; border-radius: 50px; text-align: center; font-size: 35px; box-shadow: 2px 2px 10px rgba(0,0,0,0.3); z-index: 10000; display: flex; align-items: center; justify-content: center; transition: 0.3s; animation: pulse 2s infinite; }
.whatsapp-float:hover { background-color: #1ebe57; transform: scale(1.1); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); } 70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
