@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }
body { background-color: #f8fafc; color: #0f172a; overflow-x: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Navbar */
nav { background: #fff; padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 100; }
.logo-box { text-decoration: none; display: flex; align-items: center; gap: 10px; }
.brand-name { font-size: 1.5rem; font-weight: 800; color: #0369a1; }
.brand-name span { color: #0ea5e9; }
.brand-sub { display: block; font-size: 0.8rem; color: #64748b; letter-spacing: 1px; }
.prime-nav-btn { background: #0ea5e9; color: #fff; text-decoration: none; padding: 10px 20px; border-radius: 50px; font-weight: 600; display: flex; align-items: center; gap: 8px; transition: 0.3s; }

/* Marquee */
.marquee-wrapper { background: #0369a1; color: #fff; padding: 10px 0; overflow: hidden; white-space: nowrap; }
.marquee-content { display: inline-block; animation: marquee 20s linear infinite; }
.marquee-content span { margin-right: 50px; font-weight: 500; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* --- Quick Navigation Cards --- */
.quick-nav-section { padding: 30px 20px 10px; }
.quick-nav-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.nav-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 15px; padding: 15px; display: flex; align-items: center; justify-content: center; gap: 12px; color: #334155; font-weight: 700; font-size: 1rem; box-shadow: 0 4px 6px rgba(0,0,0,0.02); transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1); cursor: pointer; border: none; outline: none; width: 100%; }
.nav-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(14, 165, 233, 0.15); border-color: #0ea5e9; }
.nav-icon { width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; border-radius: 12px; font-size: 1.3rem; }
.home-icon  { color: #0ea5e9; background: #e0f2fe; }
.pkg-icon   { color: #f59e0b; background: #fef3c7; }
.test-icon  { color: #10b981; background: #d1fae5; }
.about-icon { color: #8b5cf6; background: #ede9fe; }

@media (max-width: 768px) {
    .quick-nav-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .nav-card { flex-direction: column; text-align: center; padding: 20px 10px; gap: 10px; font-size: 0.95rem; }
    .nav-icon { width: 50px; height: 50px; font-size: 1.5rem; border-radius: 50%; }
}

/* --- Packages Slider --- */
.hero-package-slider { padding: 30px 20px; }
.package-container { max-width: 1200px; margin: 0 auto; }
.slider-wrapper { overflow: hidden; width: 100%; padding: 20px 0; }
.package-track { display: flex; gap: 20px; will-change: transform; }

.package-card { background: #fff; border-radius: 20px; padding: 25px; box-shadow: 0 6px 15px rgba(0,0,0,0.05); border: 1px solid #e2e8f0; flex: 0 0 100%; max-width: 100%; transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease; }
.package-card:hover { transform: translateY(-10px) scale(1.02); box-shadow: 0 20px 35px rgba(14, 165, 233, 0.15); z-index: 10; }
.package-card.premium { border: 2px solid #f59e0b; background: linear-gradient(to bottom right, #fffbeb, #ffffff); }

.pkg-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.pkg-badge { background: #0ea5e9; color: #fff; padding: 5px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; }
.pkg-badge.gold { background: #f59e0b; }
.pkg-main-icon { font-size: 2rem; color: #0ea5e9; }
.gold-icon { color: #f59e0b; }
.pkg-price { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.old-price { text-decoration: line-through; color: #94a3b8; font-size: 1rem; }
.new-price { font-size: 1.8rem; font-weight: 800; color: #0369a1; }
.pkg-features { list-style: none; margin-bottom: 25px; padding: 0; }
.pkg-features li { margin-bottom: 10px; font-size: 0.9rem; display: flex; gap: 10px; }
.pkg-features li i { color: #10b981; }

.btn-pkg-anim { width: 100%; padding: 12px; border-radius: 10px; border: none; background: #0ea5e9; color: #fff; font-weight: 600; font-size: 1rem; cursor: pointer; transition: 0.3s; }
.btn-pkg-anim.gold-btn { background: #f59e0b; }

.slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 15px; }
.slider-dots .dot { width: 12px; height: 12px; background: #cbd5e1; border-radius: 50%; transition: all 0.4s ease; }
.slider-dots .dot.active { background: #0ea5e9; width: 30px; border-radius: 10px; }

@media (min-width: 768px) { .package-card { flex: 0 0 calc(50% - 10px); max-width: calc(50% - 10px); } }
@media (min-width: 1024px) { 
    .package-card { flex: 0 0 calc(33.333% - 14px); max-width: calc(33.333% - 14px); } 
    .slider-dots { display: none; } 
}

/* --- Search & Grid --- */
.search-box-wrapper input { width: 100%; padding: 18px; border-radius: 50px; border: 1px solid #e2e8f0; box-shadow: 0 4px 15px rgba(0,0,0,0.05); font-size: 1.1rem; outline: none; text-indent: 20px; }
.test-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 15px; margin-top: 20px; }

/* Modals */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(15, 23, 42, 0.85); z-index: 10000; align-items: center; justify-content: center; padding: 20px; }
.modal-card { background: #fff; width: 100%; max-width: 450px; border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; max-height: 90vh; }
.modal-header { background: #0ea5e9; color: #fff; padding: 18px; text-align: center; position: relative; }
.close-btn { position: absolute; right: 15px; top: 15px; background: none; border: none; color: #fff; font-size: 1.8rem; cursor: pointer; }
.modal-body { padding: 20px; overflow-y: auto; }
.form-input { width: 100%; padding: 12px; border: 1.5px solid #e2e8f0; border-radius: 10px; margin-bottom: 15px; outline: none; }
label { font-size: 0.85rem; font-weight: 700; color: #64748b; margin-bottom: 5px; display: block; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.btn-confirm { width: 100%; background: #10b981; color: #fff; padding: 15px; border: none; font-size: 1.1rem; font-weight: 700; cursor: pointer; }
.price-box { background: #f0f9ff; padding: 15px; border-radius: 10px; border: 1px dashed #0ea5e9; text-align: center; margin-bottom: 20px; }

.wa-float { position: fixed; bottom: 20px; right: 20px; background: #25D366; color: white; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 35px; box-shadow: 2px 2px 10px rgba(0,0,0,0.2); z-index: 1000; }
/* --- App Style Page Views --- */
.page-view {
    display: none;
    animation: slideIn 0.3s ease-in-out;
    min-height: 100vh;
    background: #f8fafc;
    padding-bottom: 50px;
}

.page-view.active {
    display: block;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Sub-Page Top Header (With Back Button) */
.sub-page-header {
    background: #0ea5e9;
    color: #fff;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.btn-back {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

.sub-page-title {
    font-size: 1.2rem;
    font-weight: 700;
}
/* =========================================
   Advanced WhatsApp Button Styling
   ========================================= */

.wa-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    z-index: 1000;
}

/* Tooltip Styling */
.wa-tooltip {
    background-color: #ffffff;
    color: #333333;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    margin-right: 15px;
    opacity: 0; /* Hidden by default */
    transform: translateX(20px);
    transition: all 0.3s ease;
    pointer-events: none; /* Taaki tooltip par click na ho */
    font-family: 'Poppins', sans-serif;
    white-space: nowrap;
}

/* Show tooltip when hovering over the container */
.wa-container:hover .wa-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* Floating Button Styling */
.wa-float {
    background-color: #25D366; /* Official WhatsApp Green */
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    animation: wa-pulse 2s infinite; /* Pulse animation attach kiya */
    transition: transform 0.3s ease;
}

/* Button scaling on hover */
.wa-float:hover {
    transform: scale(1.1);
    animation: none; /* Hover karne par pulse rok dene ke liye */
}

/* Keyframes for Pulse Effect */
@keyframes wa-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);
    }
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
    .wa-container {
        bottom: 20px;
        right: 20px;
    }
    .wa-float {
        width: 55px;
        height: 55px;
        font-size: 32px;
    }
    /* Mobile me jagah kam hoti hai, isliye tooltip hide kar diya gaya hai */
    .wa-tooltip {
        display: none; 
    }
}
/* Updated Circular Logo Styling */
.logo-img {
    height: 60px;          /* Logo ko thoda bada kiya taaki clear dikhe */
    width: 60px;           /* Width aur height barabar hone se perfect circle banega */
    border-radius: 50%;    /* Ise circle me convert karta hai */
    object-fit: cover;     /* Image circle ke andar saaf tarike se fit ho jayegi */
    border: 2px solid #00A3E0; /* Ek light-blue border taaki logo ubhar kar aaye */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Halka sa 3D shadow effect */
    background-color: #fff; /* Agar image ka background transparent hai toh white dikhega */
    padding: 2px;          /* Border aur image ke beech halka sa space */
}
/* Quick Nav Grid Layout */
.quick-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 15px;
    padding: 20px 0;
}

.nav-card {
    background: #fff;
    border: none;
    border-radius: 15px;
    padding: 15px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #334155;
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: 0.3s;
    cursor: pointer;
}

.nav-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.nav-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 8px;
}

/* Specific Icon Colors */
.home-icon { background: #e0f2fe; color: #0ea5e9; }
.pkg-icon { background: #fef3c7; color: #f59e0b; }
.test-icon { background: #dcfce7; color: #10b981; }
.map-icon { background: #fee2e2; color: #ef4444; }
.call-icon { background: #f0fdf4; color: #16a34a; }
.about-icon { background: #f5f3ff; color: #8b5cf6; }
.gallery-icon { background: #fae8ff; color: #d946ef; }
.fb-icon { background: #eff6ff; color: #1877f2; }
.insta-icon { background: #fff1f2; color: #e1306c; }
.yt-icon { background: #fef2f2; color: #ff0000; }

/* Mobile Adjustment */
@media (max-width: 480px) {
    .quick-nav-grid {
        grid-template-columns: repeat(3, 1fr); /* Mobile pe ek line me 3 buttons */
        gap: 10px;
    }
    .nav-card span { font-size: 0.75rem; }
}
/* Gallery Layout */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Mobile pe 2 images ek saath */
    gap: 12px;
    padding: 20px 0;
}

.gallery-item {
    aspect-ratio: 1 / 1; /* Saari images square dikhengi (Symmetry) */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    border: 2px solid #fff;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Fullscreen Zoom Effect */
.image-modal {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
}

#full-image {
    max-width: 100%;
    max-height: 80%;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(255,255,255,0.2);
}

.close-modal {
    position: absolute;
    top: 30px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
}
/* --- Root Variables for Theme Consistency --- */
:root {
    --footer-bg: #0f172a;
    --accent-color: #0ea5e9;
    --text-muted: #94a3b8;
    --glass-bg: rgba(255, 255, 255, 0.03);
}

.main-footer {
    background: var(--footer-bg);
    color: #f1f5f9;
    padding-top: 70px;
    font-family: 'Poppins', sans-serif;
    border-top: 4px solid var(--accent-color);
}

.footer-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 25px 50px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
    gap: 40px;
}

/* Typography & Titles */
.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.col-title {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 25px;
    position: relative;
}

.col-title::after {
    content: '';
    width: 40px;
    height: 3px;
    background: var(--accent-color);
    position: absolute;
    bottom: -8px;
    left: 0;
    border-radius: 2px;
}

.brand-desc {
    line-height: 1.6;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

/* Social Icons */
.footer-socials {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: var(--glass-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #fff;
    transition: 0.3s;
    border: 1px solid rgba(255,255,255,0.05);
}

.social-icon:hover {
    background: var(--accent-color);
    transform: translateY(-5px);
}

/* Links */
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.footer-links a i { font-size: 10px; opacity: 0.5; }
.footer-links a:hover { color: var(--accent-color); padding-left: 8px; }

/* Contact Items */
.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    color: var(--text-muted);
}

.contact-item i { color: var(--accent-color); font-size: 1.1rem; }

/* Hours Card */
.hours-card {
    background: var(--glass-bg);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.05);
}

.hour-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.status-indicator {
    margin-top: 15px;
    font-weight: 600;
    color: #22c55e;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(34, 197, 94, 0.4);
    animation: pulse 1.5s infinite;
}

/* Bottom Bar */
.footer-bottom {
    background: #020617;
    padding: 25px 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.bottom-content {
    max-width: 1250px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.developer-tag {
    display: flex;
    align-items: center;
    gap: 15px;
}

.developer-tag span { color: #fff; font-weight: 600; }

.dev-links a {
    color: var(--text-muted);
    margin-left: 10px;
    font-size: 1rem;
    transition: 0.3s;
}

.dev-links a:hover { color: var(--accent-color); }

/* Animations */
@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* --- Mobile Responsive --- */
@media (max-width: 1024px) {
    .footer-container { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 600px) {
    .footer-container { grid-template-columns: 1fr; text-align: center; }
    .col-title::after { left: 50%; transform: translateX(-50%); }
    .footer-socials { justify-content: center; }
    .footer-links a { justify-content: center; }
    .contact-item { flex-direction: column; gap: 5px; }
    .bottom-content { flex-direction: column; gap: 20px; text-align: center; }
}
.info-page {
    max-width: 800px;
    margin: 50px auto;
    padding: 30px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    line-height: 1.8;
    color: #334155;
}

.info-page h1 {
    color: #0ea5e9;
    margin-bottom: 30px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 10px;
}

.info-page h3 {
    color: #1e293b;
    margin-top: 25px;
}
/* --- Ultra Advanced Footer Bottom --- */
.footer-bottom {
    background: #020617; /* Deep Midnight Blue */
    padding: 30px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-family: 'Inter', sans-serif;
}

.bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

/* Copyright Area */
.copyright-area p {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
}

.brand-name {
    color: #fff;
    font-weight: 600;
}

/* Developer Premium Tag */
.developer-premium-tag {
    display: flex;
    align-items: center;
    gap: 25px;
    background: rgba(255, 255, 255, 0.03);
    padding: 8px 8px 8px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: 0.3s ease;
}

.developer-premium-tag:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #0ea5e9;
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.1);
}

.dev-text {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #94a3b8;
}

.pulse-heart {
    color: #ef4444;
    font-size: 12px;
    animation: heartBeat 1.5s infinite;
}

.dev-name strong {
    color: #fff;
    font-weight: 600;
    transition: 0.3s;
}

.developer-premium-tag:hover .dev-name strong {
    color: #0ea5e9;
}

/* Social Hub Icons */
.dev-social-hub {
    display: flex;
    gap: 8px;
}

.hub-link {
    width: 35px;
    height: 35px;
    background: #1e293b;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hub-link.wa:hover { background: #25d366; transform: rotate(360deg) scale(1.1); }
.hub-link.fb:hover { background: #1877f2; transform: rotate(360deg) scale(1.1); }
.hub-link.web:hover { background: #0ea5e9; transform: rotate(360deg) scale(1.1); }

/* Animations */
@keyframes heartBeat {
    0% { transform: scale(1); }
    15% { transform: scale(1.3); }
    30% { transform: scale(1); }
    45% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .bottom-container {
        flex-direction: column-reverse;
        text-align: center;
    }
    .developer-premium-tag {
        padding: 10px 20px;
        flex-direction: column;
        border-radius: 20px;
        gap: 15px;
    }
    .dev-social-hub {
        margin-top: 5px;
    }
}
/* Modal Overlay ko scrollable banane ke liye */
#masterModalOverlay, 
.modal-overlay-success { /* Success modal ki id/class yahan add karein */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none; /* JS control karega */
    justify-content: center;
    align-items: flex-start; /* Mobile par top se start ho taaki scroll ho sake */
    overflow-y: auto;       /* Sabse important line */
    padding: 20px 10px;     /* Mobile edges se thoda gap */
    z-index: 9999;
    -webkit-overflow-scrolling: touch;
}

/* Modal Content Box */
.master-modal-content {
    background: #fff;
    width: 100%;
    max-width: 450px;
    border-radius: 20px;
    margin: auto; /* Vertically center if possible */
    position: relative;
    padding-bottom: 20px; /* Niche ke buttons ke liye space */
}

/* Mobile specific adjustment */
@media (max-width: 480px) {
    #masterModalOverlay {
        padding: 10px 5px;
    }
    .master-modal-content {
        border-radius: 15px;
        width: 95%;
    }
}
