/* style.css - Final Premium Version (Glass Header + App Layout + Bottom Nav + Visible Footer) */

/* 1. IMPORT FONTS */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Montserrat:wght@800;900&family=Outfit:wght@400;700&display=swap');
/* Font Awesome for Icons */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* --- PROFESSIONAL SCROLLING & SCROLLBAR --- */
html { scroll-behavior: smooth; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #0f172a; }
::-webkit-scrollbar-thumb { background: #334155; border-radius: 10px; border: 2px solid #0f172a; }
::-webkit-scrollbar-thumb:hover { background: #d97706; }

:root {
    --primary: #0f172a;      /* Deep Corporate Navy */
    --accent: #d97706;       /* Gold/Orange */
    --text-dark: #1e293b;
    --bg-body: #f8fafc;
    --footer-bg: #0b1120;    /* Darker Footer Background */
    --hero-green-bg: #ecfdf5; 
    --hero-green-btn: #16a34a; 
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; -webkit-tap-highlight-color: transparent; }

body { background-color: var(--bg-body); color: var(--text-dark); line-height: 1.6; }
a { text-decoration: none; transition: all 0.3s ease; }

/* --- 1. RUNNING DISCLAIMER --- */
.running-disclaimer-bar {
    background-color: #fffbeb; color: #92400e; font-size: 0.9rem; padding: 12px 0;
    border-bottom: 1px solid #fcd34d; white-space: nowrap; overflow: hidden; position: relative; z-index: 1001;
}
.scrolling-text { display: inline-block; padding-left: 100%; animation: scroll-left 25s linear infinite; font-weight: 600; }
@keyframes scroll-left { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

/* --- 2. GLASS NAVBAR --- */
.navbar {
    background: rgba(15, 23, 42, 0.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    padding: 1rem 5%; display: flex; justify-content: space-between; align-items: center;
    position: sticky; top: 0; z-index: 1000; box-shadow: 0 4px 30px rgba(0,0,0,0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.logo-container { display: flex; align-items: center; gap: 15px; }
.logo-container img { 
    height: 55px; width: 55px; object-fit: cover; border-radius: 50%;        
    border: 2px solid rgba(251, 191, 36, 0.5); box-shadow: 0 0 15px rgba(251, 191, 36, 0.2); 
}
.brand-name {
    font-family: 'Montserrat', sans-serif; font-size: 1.7rem; font-weight: 900; 
    background: linear-gradient(90deg, #ffffff, #fbbf24); -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; text-transform: uppercase; letter-spacing: 1.5px; 
    text-shadow: 0px 0px 25px rgba(251, 191, 36, 0.3);
}
.nav-links { display: flex; gap: 2.5rem; align-items: center; }
.nav-links a { font-weight: 600; font-size: 1rem; color: #cbd5e1; position: relative; padding: 5px 0; transition: color 0.3s ease; }
.nav-links a:hover { color: #fbbf24; }
.nav-links a::after {
    content: ''; position: absolute; width: 0; height: 2px; bottom: 0; left: 0; background-color: #fbbf24; transition: width 0.3s ease-in-out;
}
.nav-links a:hover::after { width: 100%; }

/* ACTIVE TRACK STATUS BUTTON */
.btn-track { 
    background: linear-gradient(135deg, #d97706, #f59e0b) !important; color: white !important; padding: 12px 28px; 
    border-radius: 50px; font-weight: 700; font-size: 0.95rem; border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3); transition: all 0.3s ease; cursor: pointer; display: inline-block;
}
.btn-track:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5); background: linear-gradient(135deg, #b45309, #d97706) !important; }

/* --- 3. HERO SECTION --- */
.hero-section { padding: 1.5rem 5% 1rem; background-color: white; }
.hero-card {
    background-color: var(--hero-green-bg); border-radius: 16px; padding: 2rem 3rem;
    display: flex; justify-content: space-between; align-items: center; position: relative; overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05); min-height: 300px;
}
.hero-text { flex: 1; max-width: 550px; z-index: 2; }
.hero-text h1 { font-size: 2rem; font-weight: 800; color: #0f172a; line-height: 1.2; margin-bottom: 0.8rem; }
.hero-text p { font-size: 1rem; color: #334155; margin-bottom: 1.2rem; }
.hero-features { list-style: none; margin-bottom: 1.5rem; }
.hero-features li { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; color: #475569; font-weight: 600; margin-bottom: 0.4rem; }
.hero-features i { color: var(--hero-green-btn); }
.btn-hero-green {
    display: inline-block; background-color: var(--hero-green-btn); color: white; padding: 12px 28px; font-size: 0.9rem; font-weight: 700;
    border-radius: 6px; text-transform: uppercase; box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}
.btn-hero-green:hover { background-color: #15803d; transform: translateY(-2px); }
.hero-image-container { flex: 1; display: flex; justify-content: flex-end; position: relative; }
.hero-image-container img { max-height: 240px; width: auto; object-fit: contain; filter: drop-shadow(0 8px 15px rgba(0,0,0,0.1)); border-radius: 10px; }

/* Trust Strip */
.trust-strip { display: flex; justify-content: center; gap: 2rem; padding: 1.5rem 0; border-bottom: 1px solid #f1f5f9; flex-wrap: wrap; background: white; }
.trust-item { display: flex; align-items: center; gap: 10px; }
.trust-text strong { display: block; font-size: 0.85rem; color: #1e293b; }
.trust-text span { font-size: 0.8rem; color: #64748b; }

/* --- 4. FILTER SECTION --- */
.filter-section { background: white; padding: 1rem 5%; border-bottom: 1px solid #e2e8f0; position: sticky; top: 80px; z-index: 950; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.modern-search-container { max-width: 100%; margin-bottom: 1rem; position: relative; }
.modern-search-input { width: 100%; padding: 12px 20px 12px 50px; border: 1px solid #cbd5e1; border-radius: 8px; outline: none; }
.search-icon-fixed { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: #94a3b8; }
.filter-tags-wrapper { display: flex; align-items: center; gap: 10px; }
.filter-scroll-container { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 5px; scrollbar-width: none; }
.filter-chip { white-space: nowrap; padding: 8px 20px; border-radius: 50px; border: 1px solid #cbd5e1; background: white; cursor: pointer; transition: 0.2s; font-size: 0.9rem; }
.filter-chip:hover { border-color: var(--primary); background: #f1f5f9; }
.filter-chip.active { background: #b91c1c; color: white; border-color: #b91c1c; font-weight: 600; }
.scroll-btn { background: white; border: 1px solid #e2e8f0; width: 35px; height: 35px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; }

/* --- 5. CLEAN SERVICE GRID --- */
.container { padding: 4rem 5%; max-width: 1400px; margin: 0 auto; }
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 2rem; }

.service-box {
    background: white; border: 1px solid #f1f5f9; padding: 2rem; text-align: center; border-radius: 16px; 
    transition: 0.4s ease; display: flex; flex-direction: column; align-items: center; justify-content: space-between;
    position: relative; overflow: hidden; height: 100%; min-height: 280px; z-index: 1;
}
.service-box:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1); border-color: transparent; }
.service-box::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0%; height: 4px; background: #d97706; transition: 0.4s; }
.service-box:hover::after { width: 100%; }
.service-box img { height: 100px !important; width: auto !important; object-fit: contain; margin-bottom: 1.5rem; transition: transform 0.4s; }
.service-box:hover img { transform: scale(1.1); }
.service-box h4 { font-size: 1.25rem; font-weight: 700; color: #0f172a; margin-bottom: 1.5rem; }

.apply-btn-card {
    background-color: transparent; color: #0f172a; border: 2px solid #0f172a; padding: 10px 24px;
    width: 100%; border-radius: 50px; font-weight: 700; font-size: 0.9rem; cursor: pointer; transition: 0.3s;
}
.apply-btn-card:hover { background-color: #0f172a; color: white; box-shadow: 0 5px 15px rgba(15, 23, 42, 0.2); }

/* --- 6. POPUP MODAL (TRACKING & APPLY) --- */
.modal-overlay {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.8); backdrop-filter: blur(5px); z-index: 3000; align-items: center; justify-content: center; animation: fadeIn 0.3s ease;
}
.modal-card {
    background: white; width: 90%; max-width: 400px; padding: 30px; border-radius: 20px;
    text-align: center; position: relative; box-shadow: 0 20px 50px rgba(0,0,0,0.3); animation: slideUp 0.3s ease;
}
.modal-icon { width: 80px; height: 80px; background: #ecfdf5; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; color: #16a34a; font-size: 40px; }
.modal-title { font-size: 1.5rem; font-weight: 800; color: #0f172a; margin-bottom: 10px; }
.modal-desc { color: #64748b; margin-bottom: 25px; font-size: 0.95rem; }
.btn-proceed {
    background: linear-gradient(135deg, #d97706, #f59e0b); color: white; border: none; padding: 14px 0; width: 100%;
    font-weight: 700; border-radius: 8px; font-size: 1rem; cursor: pointer; box-shadow: 0 5px 15px rgba(217, 119, 6, 0.3); transition: 0.3s;
}
.btn-proceed:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(217, 119, 6, 0.4); }
.close-modal { position: absolute; top: 15px; right: 20px; font-size: 24px; color: #94a3b8; cursor: pointer; }
.close-modal:hover { color: #ef4444; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(50px); } to { transform: translateY(0); } }

/* --- 7. PREMIUM DARK FOOTER --- */
footer { background: #0b1120; color: #94a3b8; padding-top: 60px; margin-top: 60px; border-top: 4px solid #2563eb; font-family: 'Outfit', sans-serif; }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; }
.footer-brand .logo-text { font-size: 24px; font-weight: 800; color: white; display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.footer-brand .logo-text img { height: 100px; width: 100px; border-radius: 50%; border: 2px solid #d97706; box-shadow: 0 0 15px rgba(217, 119, 6, 0.2); }
.footer-desc { font-size: 14px; line-height: 1.6; margin-bottom: 25px; opacity: 0.9; color: #cbd5e1; }
.social-links { display: flex; gap: 12px; margin-top: 20px; }
.social-links a { width: 38px; height: 38px; background: rgba(255,255,255,0.08); color: white; display: flex; justify-content: center; align-items: center; border-radius: 50%; transition: 0.3s; font-size: 14px; border: 1px solid rgba(255,255,255,0.1); }
.social-links a:hover { background: #2563eb; border-color: #2563eb; transform: translateY(-3px); }
.footer-col h3 { color: white; font-size: 18px; font-weight: 700; margin-bottom: 25px; position: relative; padding-bottom: 10px; }
.footer-col h3::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background: #d97706; border-radius: 2px; }
.footer-links ul { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { text-decoration: none; color: #cbd5e1; font-size: 14px; transition: 0.3s; display: flex; align-items: center; gap: 8px; }
.footer-links a::before { content: '\f105'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: #d97706; }
.footer-links a:hover { color: #fbbf24; transform: translateX(5px); }
.contact-row { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 20px; font-size: 14px; color: #cbd5e1; }
.contact-row i { color: #fbbf24; font-size: 16px; margin-top: 4px; }
.newsletter-box { position: relative; margin-top: 15px; }
.newsletter-box input { width: 100%; padding: 12px 15px; padding-right: 50px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 6px; color: white; outline: none; font-size: 13px; }
.newsletter-box button { position: absolute; right: 5px; top: 5px; background: #d97706; color: white; border: none; width: 34px; height: 34px; border-radius: 4px; cursor: pointer; transition: 0.3s; display: flex; align-items: center; justify-content: center; }
.newsletter-box button:hover { background: #b45309; }
.footer-legal-bar { background: #020617; padding: 25px 0; margin-top: 50px; border-top: 1px solid #1e293b; text-align: center; width: 100%; }
.disclaimer-text { background: rgba(217, 119, 6, 0.1); color: #fbbf24; padding: 15px 5%; font-size: 13px; line-height: 1.5; margin-bottom: 15px; border-top: 1px dashed rgba(217, 119, 6, 0.4); border-bottom: 1px dashed rgba(217, 119, 6, 0.4); display: block; width: 100%; }
.copyright-text { font-size: 13px; color: #64748b; margin-top: 10px; }

/* --- FLOAT BUTTONS --- */
.whatsapp-float { position: fixed; bottom: 25px; right: 25px; background: #25d366; color: white; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 32px; box-shadow: 0 4px 10px rgba(0,0,0,0.3); z-index: 2000; transition: 0.3s; }
.whatsapp-float:hover { background: #128c7e; transform: scale(1.1); }
.chat-toggle-btn { position: fixed; bottom: 25px; left: 25px; background: #2563eb; color: white; width: 60px; height: 60px; border-radius: 50%; border: none; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,0.3); z-index: 2000; font-size: 24px; transition: 0.3s; display: flex; align-items: center; justify-content: center; }
.chat-toggle-btn:hover { transform: scale(1.1); background: #1d4ed8; }
.chat-window { display: none; position: fixed; bottom: 100px; left: 25px; width: 350px; height: 450px; background: white; border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,0.2); z-index: 2001; flex-direction: column; overflow: hidden; border: 1px solid #e2e8f0; }
.chat-header { background: #0f172a; color: white; padding: 15px; display: flex; justify-content: space-between; align-items: center; font-weight: 600; }
.chat-close { cursor: pointer; font-size: 1.2rem; }
.chat-body { flex: 1; padding: 15px; overflow-y: auto; background: #f8fafc; display: flex; flex-direction: column; gap: 10px; }
.bot-msg, .user-msg { padding: 10px 15px; border-radius: 8px; font-size: 0.9rem; max-width: 80%; }
.bot-msg { background: #e2e8f0; color: #1e293b; align-self: flex-start; }
.user-msg { background: #2563eb; color: white; align-self: flex-end; }
.chat-options { padding: 10px; background: white; border-top: 1px solid #eee; display: flex; gap: 5px; flex-wrap: wrap; }
.chat-btn { background: white; border: 1px solid #2563eb; color: #2563eb; padding: 5px 10px; border-radius: 20px; font-size: 0.8rem; cursor: pointer; transition: 0.2s; }
.chat-btn:hover { background: #2563eb; color: white; }

/* Help Modal Specifics */
.help-action-btn { padding: 15px; border-radius: 12px; text-decoration: none; font-weight: 700; color: white; display: flex; align-items: center; justify-content: center; gap: 10px; transition: 0.3s; }
.help-action-btn.whatsapp { background: #25d366; }
.help-action-btn.email { background: #0f172a; }
.help-action-btn:hover { transform: translateY(-3px); }

/* --- SCROLL REVEAL ANIMATION CLASSES --- */
.reveal-on-scroll { opacity: 0; transform: translateY(50px); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
.reveal-on-scroll.active { opacity: 1; transform: translateY(0); }

/* =========================================
   APP-STYLE MOBILE UI (With Hero Image & Footer)
   ========================================= */

/* Default Hidden Elements (Desktop) */
.mobile-bottom-nav { display: none; } 
.hamburger { display: none; }

@media screen and (max-width: 768px) {
    
    /* 1. Global Mobile Fixes */
    body { 
        background-color: #f8f9fa; 
        padding-bottom: 90px; /* Space for Bottom Nav */
    }

    /* 2. Cleaner Header (Logo Visible) */
    .navbar { 
        padding: 10px 5%; 
        box-shadow: 0 2px 10px rgba(0,0,0,0.05); /* Slight shadow back */
        border-bottom: 1px solid #eee;
        justify-content: center; /* Center Logo */
    }
    .hamburger, .nav-links { display: none !important; }
    .logo-container img { height: 45px; width: 45px; } /* Logo size proper */
    .brand-name { font-size: 1.2rem; color: #333; }

    /* 3. Hero Section (IMAGE IS BACK) */
    .hero-section { padding: 15px 15px 5px; }
    .hero-card { 
        background: white; /* White card background */
        color: #333; 
        padding: 20px; 
        box-shadow: 0 4px 15px rgba(0,0,0,0.05); 
        text-align: center; /* Center text & image */
        flex-direction: column-reverse; /* Image on Top, Text below (or vice versa) */
        min-height: auto;
        border-radius: 15px;
    }
    .hero-text { width: 100%; margin-top: 15px; z-index: 1; }
    .hero-text h1 { 
        font-size: 1.6rem; font-weight: 800; color: #1a1a1a; 
        line-height: 1.2; margin-bottom: 8px; 
    }
    .hero-text p { font-size: 0.9rem; color: #666; margin-bottom: 15px; }
    
    /* Hero Image Visible & Styled */
    .hero-image-container { 
        display: flex; 
        justify-content: center; 
        width: 100%; 
        margin-bottom: 10px;
    }
    .hero-image-container img { 
        position: relative; 
        max-height: 150px; /* Size controlled */
        width: auto;
        filter: drop-shadow(0 5px 10px rgba(0,0,0,0.1));
    }
    .hero-features, .btn-hero-green { display: none; } /* Keep features hidden to save space */

    /* 4. Sticky Floating Search */
    .filter-section { 
        position: sticky; top: 60px; z-index: 800; 
        background: #f8f9fa; padding: 10px 15px; 
    }
    .modern-search-input { 
        background: white; border: none; 
        box-shadow: 0 4px 15px rgba(0,0,0,0.05); 
        padding: 12px 15px 12px 40px; 
        border-radius: 10px; font-size: 0.9rem;
    }
    .search-icon-fixed { left: 15px; color: #2563eb; }
    .filter-chip { 
        padding: 8px 15px; font-size: 0.8rem; background: white; border: none;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05); 
    }

    /* 5. Services Grid (App Widgets - 2 Column) */
    .container { padding: 0 15px 20px; }
    .category-grid {
        grid-template-columns: repeat(2, 1fr); 
        gap: 12px; 
    }
    .service-box {
        background: white; border-radius: 15px; border: none; 
        box-shadow: 0 2px 10px rgba(0,0,0,0.03); 
        padding: 15px 10px; min-height: 150px;
        flex-direction: column; justify-content: center; align-items: center; text-align: center;
    }
    .service-box img { height: 50px !important; width: 50px !important; margin-bottom: 10px; object-fit: contain; }
    .service-box h4 { font-size: 0.85rem; font-weight: 700; color: #333; margin-bottom: 5px; line-height: 1.3; }
    .apply-btn-card { margin-top: 5px; background: #eff6ff; color: #2563eb; font-size: 0.75rem; padding: 5px 10px; width: 100%; border-radius: 5px; border: none; font-weight: 600; }
    .service-box::after { display: none; }

    /* 6. FULL FOOTER IS BACK */
    footer { 
        padding-top: 40px; 
        padding-bottom: 100px; /* Extra padding so Bottom Nav doesn't cover it */
        text-align: center; 
    }
    .footer-container { 
        display: grid; /* Enabled again */
        grid-template-columns: 1fr; /* Stack vertically */
        gap: 30px; 
    }
    .footer-brand .logo-text, .social-links, .footer-links a, .contact-row { 
        justify-content: center; 
    }
    .footer-legal-bar { 
        margin-top: 30px; 
        padding-bottom: 20px; 
    }
    .newsletter-box button { right: 0; }

    /* 7. Bottom Navigation Bar */
    .mobile-bottom-nav {
        background: white; border-top: none;
        box-shadow: 0 -5px 25px rgba(0,0,0,0.06);
        padding: 10px 0 5px; border-radius: 20px 20px 0 0;
        position: fixed; bottom: 0; left: 0; width: 100%;
        display: flex; justify-content: space-around; align-items: center;
        z-index: 2000;
    }
    .nav-item { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: #aaa; gap: 4px; }
    .nav-item i { font-size: 1.4rem; }
    .nav-item span { font-size: 0.7rem; font-weight: 600; }
    .nav-item.active { color: #2563eb; }
    .nav-item.active i { transform: translateY(-2px); }

    /* Center Floating Button (Track) */
    .center-item { position: relative; top: -10px; }
    .center-circle {
        background: #0f172a; box-shadow: 0 8px 20px rgba(15, 23, 42, 0.4);
        border: 4px solid #fff; width: 55px; height: 55px;
        border-radius: 50%; display: flex; align-items: center; justify-content: center;
        margin-top: -25px;
    }
    .center-circle i { color: white; font-size: 1.3rem; }

    /* Floating Buttons Position (Moved Up) */
    .whatsapp-float, .chat-toggle-btn { bottom: 90px; width: 45px; height: 45px; font-size: 20px; }
}