/* ========================================
   EWINGS - Responsive Design CSS
   ======================================== */

/* Tablet Styles */
@media (max-width: 1024px) {
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .hero h1 {
        font-size: var(--font-size-4xl);
    }
    
    .hero p {
        font-size: var(--font-size-lg);
    }
    
    .page-header h1 {
        font-size: var(--font-size-3xl);
    }
    
    .page-header p {
        font-size: var(--font-size-base);
    }
    
    .card {
        padding: var(--spacing-lg);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .header-content {
        /* flex-direction: column; */
        gap: var(--spacing-md);
        padding: var(--spacing-sm) 0;
    }
    
    .main-navigation {
        width: 100%;
    }
    
    .main-navigation ul {
        flex-direction: column;
        text-align: center;
        /* gap: var(--spacing-sm); */
        padding: var(--spacing-md) 0;
        border-top: 1px solid var(--accent-color);
        margin-top: var(--spacing-md);
    }
    
    .main-navigation a {
        display: block;
        padding: var(--spacing-md);
        border-bottom: 1px solid var(--accent-color);
        border-radius: 0;
    }
    
    .main-navigation a:hover {
        background-color: var(--accent-light);
        color: var(--primary-color);
    }
    
    .main-navigation a::after {
        display: none;
    }
    
    .hero {
        padding: var(--spacing-2xl) 0;
    }
    
    .hero h1 {
        font-size: var(--font-size-3xl);
        margin-bottom: var(--spacing-md);
    }
    
    .hero p {
        font-size: var(--font-size-base);
        margin-bottom: var(--spacing-xl);
    }
    
    .page-header {
        padding: var(--spacing-2xl) 0;
    }
    
    .page-header h1 {
        font-size: var(--font-size-2xl);
        margin-bottom: var(--spacing-sm);
    }
    
    .page-header p {
        font-size: var(--font-size-base);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-lg);
    }
    
    .btn {
        padding: var(--spacing-md) var(--spacing-lg);
        font-size: var(--font-size-sm);
        width: 100%;
        justify-content: center;
    }
    
    .btn-sm {
        padding: var(--spacing-sm) var(--spacing-md);
    }
    
    .btn-lg {
        padding: var(--spacing-lg) var(--spacing-xl);
    }
    
    .section {
        padding: var(--spacing-2xl) 0;
    }
    
    .section-sm {
        padding: var(--spacing-xl) 0;
    }
    
    .section-lg {
        padding: var(--spacing-2xl) 0;
    }
    
    .card {
        padding: var(--spacing-lg);
        margin-bottom: var(--spacing-lg);
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .logo img {
        max-height: 40px;
        max-width: 60px !important;
    }
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .hero h1 {
        font-size: var(--font-size-2xl);
        line-height: 1.3;
    }
    
    .hero p {
        font-size: var(--font-size-sm);
        line-height: 1.6;
    }
    
    .page-header h1 {
        font-size: var(--font-size-xl);
    }
    
    .page-header p {
        font-size: var(--font-size-sm);
    }
    
    .btn {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: var(--font-size-xs);
    }
    
    .section {
        padding: var(--spacing-xl) 0;
    }
    
    .card {
        padding: var(--spacing-md);
        border-radius: var(--border-radius-md);
    }
    
    .footer-content {
        gap: var(--spacing-md);
    }
    
    .footer-section {
        text-align: center;
    }
    .video-content {
        height: 110px !important;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(76, 41, 181, 0.3) 100%);
    }

    .hero-section {
        background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 25%, #2a2a2a 50%, #1a1a1a 75%, #0a0a0a 100%);
        /* max-height: 100vh; */
        padding: 4rem 0;
        position: relative;
        overflow: hidden;
        display: flex;
        align-items: center;
    }

}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: var(--spacing-xl) 0;
    }
    
    .hero h1 {
        font-size: var(--font-size-2xl);
    }
    
    .hero p {
        font-size: var(--font-size-sm);
    }
    
    .page-header {
        padding: var(--spacing-xl) 0;
    }
    
    .main-navigation ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--spacing-sm);
    }
    
    .main-navigation a {
        padding: var(--spacing-sm) var(--spacing-md);
        border: none;
        border-radius: var(--border-radius-sm);
    }
}

/* Medium Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .main-navigation ul {
        gap: var(--spacing-lg);
    }
    
    .main-navigation a {
        font-size: var(--font-size-xs);
        padding: var(--spacing-sm) var(--spacing-md);
    }
    
    .hero h1 {
        font-size: var(--font-size-4xl);
    }
    
    .hero p {
        font-size: var(--font-size-lg);
    }
    
    .btn {
        padding: var(--spacing-md) var(--spacing-xl);
    }
}

/* Large Desktop */
@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
    }
    
    .hero h1 {
        font-size: var(--font-size-5xl);
    }
    
    .hero p {
        font-size: var(--font-size-xl);
        max-width: 700px;
    }
    
    .section {
        padding: var(--spacing-3xl) 0;
    }
    
    .card {
        padding: var(--spacing-2xl);
    }
    
    .main-navigation ul {
        gap: var(--spacing-xl);
    }
    .video-content {
        height: 270px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(76, 41, 181, 0.3) 100%);
    }
    .hero-section {
        background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 25%, #2a2a2a 50%, #1a1a1a 75%, #0a0a0a 100%);
        max-height: 100vh;
        padding: 4rem 0;
        position: relative;
        overflow: hidden;
        display: flex;
        align-items: center;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
    
    .btn {
        border: 0.5px solid transparent;
    }
}

/* Dark Mode Support (Optional) */
@media (prefers-color-scheme: dark) {
    :root {
        --base-neutral: #1a1a1a;
        --light-neutral: #2d2d2d;
        --text-dark: #ffffff;
        --text-medium: #cccccc;
        --text-light: #999999;
        --accent-color: #3a3a3a;
        --accent-light: #4a4a4a;
    }
    
    .site-header {
        background: var(--base-neutral);
        border-bottom-color: var(--accent-color);
    }
    
    .page-header {
        background: var(--light-neutral);
        border-bottom-color: var(--accent-color);
    }
    
    .card {
        background: var(--base-neutral);
        border-color: var(--accent-color);
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .btn::before {
        display: none;
    }
    
    .main-navigation a::after {
        display: none;
    }
}

/* Print Styles Enhancement */
@media print {
    .site-header,
    .site-footer,
    .btn,
    .main-navigation {
        display: none !important;
    }
    
    body {
        color: #000 !important;
        background: #fff !important;
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .container {
        max-width: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .hero {
        background: #fff !important;
        color: #000 !important;
        padding: 20pt 0 !important;
    }
    
    .hero h1 {
        color: #000 !important;
        font-size: 24pt !important;
    }
    
    .hero p {
        color: #333 !important;
        font-size: 14pt !important;
    }
    
    .page-header {
        background: #f5f5f5 !important;
        color: #000 !important;
        padding: 20pt 0 !important;
    }
    
    .card {
        border: 1px solid #ccc !important;
        box-shadow: none !important;
        margin-bottom: 20pt !important;
        page-break-inside: avoid;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
        page-break-inside: avoid;
    }
    
    p, blockquote, table, figure {
        page-break-inside: avoid;
    }
}


/* ========================================
   OFFER SECTION - Responsive Design
   ======================================== */

/* Tablet Styles */
@media (max-width: 1024px) {
    .offer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .offer-details {
        text-align: center;
    }

    .offer-includes-list {
        display: inline-block; /* Center the list items */
        text-align: left;
    }
    
    .offer-timer-cta {
        padding: 1.5rem;
    }

    .timer-number {
        font-size: 2.5rem;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .offer-section {
        padding: 3rem 0;
    }
    
    .offer-title {
        font-size: 1.8rem;
    }

    .offer-includes-list {
        columns: 1; /* Stack list items on mobile */
    }

    .offer-scarcity {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
    
    .countdown-timer {
        gap: 1rem;
    }

    .timer-number {
        font-size: 2.2rem;
    }

    .timer-label {
        font-size: 0.75rem;
    }

    .offer-quote {
        font-size: 1rem;
        max-width: 95%;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .offer-section {
        padding: 2.5rem 0;
    }

    .offer-title {
        font-size: 1.6rem;
    }

    .countdown-timer {
        flex-wrap: wrap; /* Allow timer units to wrap if needed */
        justify-content: space-around;
        gap: 0.5rem;
    }

    .timer-unit {
        flex-basis: 45%; /* Two units per row */
        margin-bottom: 1rem;
    }

    .timer-number {
        font-size: 2rem;
    }

    .offer-expired-message {
        font-size: 1.2rem;
    }
}

/* ========================================
    FESTIVE OFFER SECTION - Responsive
    ======================================== */

/* Tablet Styles */
@media (max-width: 1024px) {
    .festive-offer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .festive-details-wrapper {
        padding: 2rem;
    }

    .festive-timer-wrapper {
        margin-top: 1rem;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .festive-offer-section {
        padding: 3rem 0;
    }
    
    .festive-title {
        font-size: 2rem;
    }
    
    .festive-subtitle {
        font-size: 1.1rem;
    }

    .festive-details-wrapper {
        padding: 1.5rem;
    }

    .festive-includes-list {
        columns: 1; /* Single column list on mobile */
    }

    .festive-timer-number {
        font-size: 2.2rem;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .festive-offer-section {
        padding: 2.5rem 0;
    }

    .festive-title {
        font-size: 1.7rem;
    }

    .festive-countdown-timer {
        gap: 0.5rem;
        flex-wrap: wrap; /* Allow timer units to wrap */
    }

    .festive-timer-unit {
        flex-basis: 48%; /* Two units per row */
        margin-bottom: 0.5rem;
        padding: 0.5rem;
        min-width: 70px;
    }

    .festive-timer-number {
        font-size: 1.8rem;
    }

    .festive-timer-label {
        font-size: 0.7rem;
    }
    
    .festive-expired-message {
        font-size: 1.2rem;
    }
}


/* ========================================
    GANESH CHATURTHI OFFER - Responsive
    ======================================== */

/* ========================================
    DIVINE GLOW - Responsive Styles
    ======================================== */



    

    @media (max-width: 992px) {
        .divine-features-grid {
            grid-template-columns: repeat(3, 1fr);
        }
    }
    
    @media (max-width: 768px) {
        .divine-offer-section {
            padding: 4rem 0;
        }
        .divine-main-title {
            font-size: 2.5rem;
        }
        .divine-features-grid {
            grid-template-columns: repeat(2, 1fr);
        }
        .divine-mandala-wrapper {
            width: 320px;
            height: 320px;
        }
        .offer-text-overlay p {
            font-size: 2rem;
        }
    }
    
    @media (max-width: 480px) {
        .divine-main-title {
            font-size: 2rem;
        }
        .divine-subtitle {
            font-size: 1rem;
        }
        .divine-mandala-wrapper {
            width: 280px;
            height: 280px;
        }
        .offer-text-overlay h3 { font-size: 0.9rem; }
        .offer-text-overlay p { font-size: 1.8rem; }
        
        .divine-countdown-timer {
            gap: 1rem;
        }
        .divine-timer-number {
            font-size: 2.2rem;
        }
        .divine-timer-label {
            font-size: 0.7rem;
        }
        .divine-features-grid {
            gap: 1rem;
        }
        .divine-feature-card {
            padding: 1.2rem 0.5rem;
        }
        .feature-card-icon {
            font-size: 2rem;
        }
        .divine-feature-card p {
            font-size: 0.9rem;
        }
    }


  /* ========================================
    FESTIVE CELEBRATION - Responsive (V3)
    ======================================== */

    /* sdgdfg */

    /* ========================================
    FESTIVE CELEBRATION - Responsive (FLEXBOX REBUILD)
    ======================================== */

/* ========================================
    FESTIVE CELEBRATION - Responsive (2-Card Mobile Update)
    ======================================== */



    @media (min-width: 1200px){
        .g-offer-right-col{
            grid-template-columns: repeat(4, 1fr);
        }
    }

    @media (max-width: 992px) {
        .g-offer-main-content {
            flex-direction: column; /* Stack left and right columns on tablet */
        }
        .g-offer-right-col {
            grid-template-columns: repeat(4, 1fr); /* 4 cards in a row */
        }
        .g-large-card {
            flex-direction: row;
            text-align: left;
        }
    }
    
    @media (max-width: 768px) {
        /* === MOBILE LAYOUT UPDATE: 2 CARDS PER ROW === */
        .g-offer-section {
            height: auto;
            padding: 3rem 0;
        }
        .g-offer-main-content {
            flex-direction: column;
        }
        .g-offer-right-col {
            grid-template-columns: repeat(2, 1fr) !important; /* Creates a 2-column grid for the 8 cards */
        }
        .g-large-card {
            flex-direction: column;
            text-align: center;
        }
        .g-feature-card {
            /* Revert to stacking for better look in 2-col grid */
            flex-direction: column;
            justify-content: center;
            text-align: center;
            gap: 0;
            padding: 1.5rem 1rem;
        }
        
        /* (Other general mobile styles) */
        .g-title-large { font-size: 2.5rem; }
        .g-garland { display: none; }
    }
    
    @media (max-width: 480px) {
        .g-offer-header { margin-bottom: 2rem; }
        .g-title-large { font-size: 2rem; }
        .g-title-small { font-size: 1rem; }
        .g-diya { font-size: 2rem; }
        .g-large-card-content h3 { font-size: 1.3rem; }
        .g-hot-trigger { font-size: 0.8rem; }
        .g-feature-icon { font-size: 1.8rem; }
        .g-feature-card h5 { font-size: 0.9rem; }
    }

    /* ========================================
    TECHNOLOGIES & PLATFORMS - Responsive
    ======================================== */

/* Tablet Styles */
@media (min-width: 769px) {
    .payment-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}


/* Desktop Styles */
@media (min-width: 1025px) {
    .tech-stack-wrapper {
        flex-direction: row; /* Side-by-side columns on desktop */
        padding: 2.5rem;
        align-items: stretch;
    }

    .tech-column {
        flex: 3; /* Assign a base size */
        padding: 2rem;
    }

    .tech-column.wide {
        flex: 5; /* Make the middle column wider */
    }

    .tech-column-title {
        text-align: left;
    }
}


/* ========================================
    NICHE SLIDER SECTION - Responsive
    ======================================== */

    @media (max-width: 768px) {
        .niche-slider-section .section-title {
            font-size: 1.8rem;
        }
    }