/* CSS Variables - Premium Dark Theme */
:root {
    --bg-main: #0a0c10;
    --bg-surface: #161b22;
    --bg-card: #1c2128;
    --primary: #58a6ff;
    --primary-hover: #1f6feb;
    --accent: #f2cc60;
    --text-high: #f0f6fc;
    --text-med: #8b949e;
    --text-low: #6e7681;
    --border: #30363d;
    --border-hover: #8b949e;
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    --container-width: 1200px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Reset & Base Styles */
html {
    scroll-behavior: smooth;
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

body.body-site {
    margin: 0;
    padding: 0;
    background-color: var(--bg-main);
    color: var(--text-high);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

div.container {
    max-width: var(--container-width);
    margin: 20px auto;
    padding: 0 24px;
}

/* Typography */
/* Typography Spacing */
h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: 24px;
    line-height: 1.3;
}

p {
    margin-bottom: 24px;
}

/* Base Div Spacing (careful application) */
.about-card,
.testimonial-card,
.faq-item,
.hero-content>div,
.why-content>div {
    margin-bottom: 30px;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-high);
}

.text-center {
    text-align: center;
}

.text-gradient {
    background: linear-gradient(90deg, var(--primary), #bc8cff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-main);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(88, 166, 255, 0.2);
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--border);
    color: var(--text-high);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-large {
    padding: 18px 40px;
    font-size: 18px;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-med);
}

/* Page Loader */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-main);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

.loader-logo {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: -2px;
}

.loader-line {
    width: 120px;
    height: 3px;
    background: var(--border);
    margin: 20px auto 0;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.loader-line::after {
    content: '';
    position: absolute;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary);
    animation: loading 1.5s infinite linear;
}

@keyframes loading {
    to {
        left: 100%;
    }
}

/* Ad Disclosure Bar */
.ad-disclosure {
    background: #1c2128;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.ad-text {
    margin: 0;
    font-size: 12px;
    color: var(--text-low);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Header & Sticky Nav */
.main-header {
    background: rgba(10, 12, 16, 0.85);
    backdrop-filter: blur(12px);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 900;
    border-bottom: 1px solid var(--border);
}

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

.logo-link {
    font-size: 26px;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -1px;
}

/* Desktop Navigation (Default) */
.nav-menu {
    display: flex;
    align-items: center;
}

.mobile-nav-header,
.close-menu {
    display: none;
    /* Hidden on desktop */
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin: 0 18px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-med);
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
}

.mobile-cta {
    display: none;
    /* Hidden on desktop */
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger .bar {
    width: 28px;
    height: 2px;
    background-color: var(--text-high);
    border-radius: 2px;
    transition: 0.3s;
}

/* Hamburger Animation to 'X' */
.hamburger.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Hero Section */
.hero-section {
    padding: 100px 0 60px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(88, 166, 255, 0.1);
    color: var(--primary);
    border: 1px solid rgba(88, 166, 255, 0.3);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 64px;
    margin-bottom: 28px;
}

.hero-description {
    font-size: 20px;
    color: var(--text-med);
    margin-bottom: 40px;
}

.hero-meta {
    margin-top: 20px;
    font-size: 15px;
    color: var(--text-med);
}

.old-price {
    text-decoration: line-through;
    margin-left: 8px;
    color: var(--text-low);
}

.hero-image-wrapper {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.8);
}

.hero-img {
    width: 100%;
    display: block;
    transition: transform 0.8s ease;
}

.hero-image-wrapper:hover .hero-img {
    transform: scale(1.05);
}

/* Sections Global */
.section-padding {
    padding: 160px 0;
    /* Significantly increased for Desktop */
}

/* Explicit div spacing for layout containers that might not be grids */
.section-padding>div {
    margin-bottom: 40px;
}

.section-header {
    text-align: center;
    margin-bottom: 120px;
    /* Increased for Desktop */
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 40px;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-med);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 100px;
    /* Large Desktop Gap */
}

.about-card {
    background: var(--bg-surface);
    padding: 48px 32px;
    border-radius: 24px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.about-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.about-icon {
    font-size: 48px;
    margin-bottom: 24px;
}

/* Why Us Section */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.why-img {
    width: 100%;
    border-radius: 30px;
    border: 1px solid var(--border);
}

.why-list {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.why-list li {
    margin-bottom: 20px;
    font-size: 18px;
    display: flex;
    align-items: center;
}

.why-check {
    color: var(--accent);
    margin-right: 15px;
    font-weight: bold;
}

.trust-badges {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.trust-badge {
    font-size: 14px;
    background: var(--bg-card);
    padding: 5px 12px;
    border-radius: 5px;
    color: var(--text-low);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 80px;
    /* Large Desktop Gap */
}

.gallery-img {
    width: 100%;
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.gallery-img:hover {
    transform: scale(1.02);
    border-color: var(--primary);
}

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 100px;
    /* Large Desktop Gap */
}

.testimonial-card {
    background: var(--bg-surface);
    padding: 40px;
    border-radius: 24px;
    border-left: 4px solid var(--primary);
}

.rating {
    color: var(--accent);
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-name {
    font-weight: 700;
    display: block;
}

.testimonial-status {
    font-size: 13px;
    color: var(--text-low);
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    margin-bottom: 10px;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    background: none;
    border: none;
    color: var(--text-high);
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    color: var(--text-med);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 24px;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-toggle {
    transition: var(--transition);
    font-size: 24px;
}

/* Footer */
.main-footer {
    padding: 100px 0 0;
    background: #010409;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 80px;
}

.footer-logo {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 24px;
}

.footer-desc {
    color: var(--text-med);
    margin-bottom: 30px;
}

.footer-col h4 {
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    color: var(--text-low);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a,
.footer-btn {
    color: var(--text-med);
    text-decoration: none;
    transition: 0.2s;
    background: none;
    border: none;
    padding: 0;
    font-size: inherit;
    cursor: pointer;
}

.footer-links a:hover,
.footer-btn:hover {
    color: var(--primary);
}

.footer-disclosure {
    background: #0d1117;
    padding: 24px 0;
    border-top: 1px solid var(--border);
}

.disclosure-note {
    font-size: 12px;
    color: var(--text-low);
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.footer-bottom {
    background: #0a0c10;
    padding: 30px 0;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: var(--text-low);
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 400px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
    z-index: 2000;
    transform: translateY(200%);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-popup.show {
    transform: translateY(0);
}

.cookie-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.cookie-buttons button {
    flex: 1;
}

/* Modals */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: none;
    z-index: 3000;
    padding: 24px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--bg-surface);
    width: 100%;
    max-width: 600px;
    border-radius: 24px;
    padding: 48px;
    position: relative;
    border: 1px solid var(--border);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.close-modal {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 32px;
    background: none;
    border: none;
    color: var(--text-med);
    cursor: pointer;
}

.modal-header h2 {
    margin-bottom: 30px;
    font-size: 32px;
}

.modal-body.scrollable {
    overflow-y: auto;
    padding-right: 15px;
}

.modal-body.scrollable::-webkit-scrollbar {
    width: 4px;
}

.modal-body.scrollable::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 10px;
}

/* Mobile Responsiveness & Header Fixes */
@media (max-width: 1024px) {
    .desktop-only {
        display: none;
    }

    .hamburger {
        display: flex;
        z-index: 10001;
        /* Above the overlay menu */
        position: relative;
    }

    /* Full Screen Overlay Menu */
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 12, 16, 0.98);
        /* Deep premium dark */
        backdrop-filter: blur(16px);
        padding: 80px 24px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 10000;
        overflow-y: hidden;
        /* Prevent scrolling background */
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
    }

    /* Hide internal header in favor of main header hamburger */
    .mobile-nav-header {
        display: none;
    }

    .close-menu {
        display: none;
        /* Use hamburger to toggle close */
    }

    .nav-list {
        flex-direction: column;
        gap: 32px;
        width: 100%;
        max-width: 400px;
        text-align: center;
    }

    .nav-link {
        font-size: 28px;
        font-weight: 700;
        display: inline-block;
        padding: 5px 0;
        border-bottom: none;
        color: var(--text-med);
        transform: translateY(20px);
        opacity: 0;
        transition: 0.3s;
    }

    /* Staggered Animation for Links */
    .nav-menu.active .nav-link {
        transform: translateY(0);
        opacity: 1;
        color: var(--text-high);
    }

    .nav-menu.active .nav-item:nth-child(1) .nav-link {
        transition-delay: 0.1s;
    }

    .nav-menu.active .nav-item:nth-child(2) .nav-link {
        transition-delay: 0.2s;
    }

    .nav-menu.active .nav-item:nth-child(3) .nav-link {
        transition-delay: 0.3s;
    }

    .nav-menu.active .nav-item:nth-child(4) .nav-link {
        transition-delay: 0.4s;
    }

    .nav-link:hover {
        color: var(--primary);
        transform: scale(1.05);
    }

    .mobile-cta {
        display: block;
        margin-top: 48px;
        opacity: 0;
        transform: translateY(20px);
        transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.5s;
    }

    .nav-menu.active .mobile-cta {
        opacity: 1;
        transform: translateY(0);
    }

    .mobile-cta .btn {
        width: auto;
        padding: 16px 48px;
        font-size: 18px;
    }
}

/* Consolidated Mobile/Tablet Fixes (Max Width 1000px) */
@media (max-width: 1000px) {

    /* Global Spacing Reduction */
    .section-padding {
        padding: 80px 0;
        /* Increased from 60px for mobile/tablet */
    }

    .hero-section {
        padding: 80px 0 50px;
    }

    /* Grid Stacking (Force 1 column for small screens) */
    .hero-grid,
    .about-grid,
    .why-grid,
    .gallery-grid,
    .testimonial-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        /* Increased from 30px for mobile */
    }

    /* Prevent "chipka hua" content */
    p {
        margin-bottom: 16px;
    }

    /* Text Adjustments */
    .hero-title {
        font-size: 36px;
        text-align: center;
    }

    .hero-description {
        font-size: 18px;
        text-align: center;
    }

    .hero-grid {
        text-align: center;
    }

    .hero-cta {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Image First & Sizing */
    .hero-image-wrapper,
    .why-image {
        order: -1;
        max-width: 320px;
        /* Reduced Size on Mobile */
        width: 85%;
        margin: 0 auto 30px;
    }

    /* Footer Center */
    .footer-grid {
        text-align: center;
    }

    .footer-links li {
        justify-content: center;
    }

    /* Cookie Popup Fix */
    .cookie-popup {
        width: 90% !important;
        left: 5% !important;
        right: 5% !important;
        bottom: 20px;
        padding: 24px;
    }

    .cookie-buttons {
        flex-direction: column;
    }

    /* Responsive Centered Modal */
    .modal-content {
        width: 90% !important;
        max-width: 400px;
        padding: 24px;
        max-height: 80vh;
        margin: 0 auto;
    }

    .close-modal {
        top: 16px;
        right: 16px;
        font-size: 28px;
    }

    .modal-header h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }
}