/* Complete Theme System */
:root {
    /* WordPress Color Palette */
    --wp--preset--color--black: #000000;
    --wp--preset--color--white: #ffffff;
    
    /* Light Theme Variables - Updated Color Palette */
    --primary: #F68320;
    --primary-hover: #dd612d;
    --secondary: #4f74b0;
    --accent: #FAE9CD;
    
    --bg: #FAE9CD;
    --card: #ffffff;
    --text: #17191C;
    --text-secondary: #5a5d64;
    --border: #e0d4c2;
    --hover: #f5e5d0;
    --section-bg: linear-gradient(135deg, #FAE9CD 0%, #f5e5d0 100%);
    
    /* New Variables */
    --shadow-color: rgba(246, 131, 32, 0.15);
    --gradient-primary: linear-gradient(135deg, #F68320 0%, #dd612d 100%);
    --gradient-secondary: linear-gradient(135deg, #4f74b0 0%, #3a5a8c 100%);
    --gradient-accent: linear-gradient(135deg, #FAE9CD 0%, #f5dfc4 100%);
}

.dark-theme {
    /* Dark Theme Variables - Updated */
    --bg: #17191C;
    --card: #23252a;
    --text: #ffffff;
    --text-secondary: #b0b2b8;
    --border: #3a3c42;
    --hover: #2c2e34;
    --section-bg: linear-gradient(135deg, #17191C 0%, #23252a 100%);
    
    /* Updated Dark Theme Colors */
    --shadow-color: rgba(246, 131, 32, 0.25);
    --gradient-primary: linear-gradient(135deg, #F68320 0%, #dd612d 100%);
    --gradient-secondary: linear-gradient(135deg, #4f74b0 0%, #3a5a8c 100%);
    --gradient-accent: linear-gradient(135deg, #2c2e34 0%, #23252a 100%);
}

/* Base Styles - FIXED LAYOUT */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
    padding: 0;
    margin: 0;
    min-height: 100vh;
}

/* Main Content Container - FIXED */
#main-content {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    overflow-x: hidden;
}

/* Container System */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
}

/* ====== HERO SECTION MOBILE FIXED ====== */
.hero-banner {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, 
        rgba(23, 25, 28, 0.98) 0%, 
        rgba(35, 37, 42, 0.97) 50%, 
        rgba(40, 42, 48, 0.98) 100%);
    margin: 0;
    width: 100%;
    padding: 30px 0;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://yourpowerpro.com/wp-content/uploads/2022/12/data-center-environment-requirements.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    opacity: 0.3;
}

.hero-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(246, 131, 32, 0.15) 0%, 
        rgba(79, 116, 176, 0.12) 50%, 
        rgba(221, 97, 45, 0.15) 100%);
    z-index: 2;
    animation: gradientShift 10s ease-in-out infinite alternate;
}

.dark-theme .hero-banner {
    background: linear-gradient(135deg, 
        rgba(35, 37, 42, 0.98) 0%, 
        rgba(40, 42, 48, 0.97) 50%, 
        rgba(45, 47, 52, 0.98) 100%);
}

.dark-theme .hero-banner::before {
    opacity: 0.2;
}

.hero-content-wrapper {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    text-align: center; /* MOBILE FIX: Center align everything */
}

/* Mobile first - all centered */
.hero-title-container {
    width: 100%;
    margin-bottom: 20px;
    text-align: center;
}

.dark-theme .premium-green-text {
    background: linear-gradient(90deg, 
        #5d8bd6 0%, 
        #4a6db0 25%, 
        #5d8bd6 50%, 
        #4a6db0 75%, 
        #5d8bd6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Dark theme hero title - FIXED */
.dark-theme .premium-green-text {
    background: linear-gradient(90deg, 
        #5d8bd6 0%, 
        #4a6db0 25%, 
        #5d8bd6 50%, 
        #4a6db0 75%, 
        #5d8bd6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 20px rgba(93, 139, 214, 0.4);
}

.hero-title-secondary {
    display: block;
    font-size: 1.4rem; /* Smaller for mobile */
    font-weight: 800;
    color: white;
    line-height: 1.2;
    text-align: center; /* MOBILE FIX */
}

.hero-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    max-width: 100%;
    margin: 0 auto 20px;
    font-weight: 400;
    padding: 0 10px;
    text-align: center; /* MOBILE FIX */
}

/* Mobile Optimized CTA Buttons - Centered */
.hero-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 300px;
    margin: 0 auto 20px;
    align-items: center;
}

.order-now-btn {
    background: var(--gradient-primary);
    color: white;
    padding: 14px 24px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 6px 20px rgba(246, 131, 32, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
    width: 100%;
    min-height: 50px;
}

.order-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(246, 131, 32, 0.4);
    background: linear-gradient(135deg, #dd612d 0%, #F68320 100%);
}

.glass-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 14px 24px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    width: 100%;
    min-height: 50px;
}

.glass-card:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.15) 100%);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* TRUST BADGES - MOBILE CENTERED & INLINE */
.trust-badges-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 0 auto 20px;
    width: 100%;
    max-width: 400px;
    padding: 0 10px;
    text-align: center;
}

.trust-badge {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(246, 131, 32, 0.3);
    padding: 12px 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(246, 131, 32, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-align: center;
    min-height: 70px;
    width: 100%;
}

.trust-badge:hover {
    background: linear-gradient(135deg, rgba(246, 131, 32, 0.2) 0%, rgba(221, 97, 45, 0.15) 100%);
    border-color: #F68320;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(246, 131, 32, 0.25);
}

.trust-badge i {
    color: #F68320;
    font-size: 1.2rem;
    margin-bottom: 3px;
}

.trust-badge span {
    color: white;
    font-weight: 600;
    font-size: 0.75rem;
    line-height: 1.1;
    text-align: center;
}

/* Active Events - MOBILE CENTERED */
.active-events-section {
    background: linear-gradient(135deg, rgba(35, 37, 42, 0.95) 0%, rgba(40, 42, 48, 0.95) 100%);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(246, 131, 32, 0.2);
    border-radius: 12px;
    padding: 20px 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
}

.active-events-section h3 {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.event-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(246, 131, 32, 0.2);
    padding: 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
    display: block;
    text-align: center;
}

.event-card:hover {
    transform: translateY(-2px);
    border-color: rgba(246, 131, 32, 0.4);
    box-shadow: 0 6px 20px rgba(246, 131, 32, 0.2);
}

.event-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: white;
    line-height: 1.3;
    text-align: center;
}

.event-dates {
    font-size: 0.75rem;
    opacity: 0.8;
    color: white;
    margin-bottom: 8px;
    line-height: 1.2;
    text-align: center;
}

.event-badge {
    display: block;
    background: linear-gradient(135deg, #F68320 0%, #dd612d 100%);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    margin: 0 auto;
    width: fit-content;
}

/* ====== CATEGORY FILTER - RESPONSIVE FLEX ====== */
.category-filter-section {
    margin: 1.5rem auto 2rem;
    text-align: center;
    max-width: 100%;
    padding: 0 15px;
    width: 100%;
}

.category-filter-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 10px 0;
}

.category-tab-btn {
    background: var(--card);
    border: 2px solid var(--border);
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 10px 16px;
    color: var(--text);
    font-weight: 600;
    border-radius: 10px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    text-align: center;
    justify-content: center;
    box-shadow: 0 2px 8px var(--shadow);
    flex: 0 0 auto;
}

.category-tab-btn:hover {
    background: var(--bg);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow);
}

.category-tab-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 4px 15px rgba(246, 131, 32, 0.3);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
}

.category-tab-btn.active:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary-dark));
}

/* Responsive styles */
@media (max-width: 768px) {
    .category-filter-section {
        padding: 0 10px;
        margin: 1rem auto 1.5rem;
    }
    
    .category-filter-container {
        gap: 8px;
        padding: 8px 0;
    }
    
    .category-tab-btn {
        padding: 8px 12px;
        font-size: 0.85rem;
        border-radius: 8px;
        gap: 6px;
    }
    
    /* Small screens - show in single line if possible, otherwise wrap */
    .category-tab-btn {
        flex: 1 0 auto;
        min-width: fit-content;
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .category-filter-section {
        padding: 0 8px;
        margin: 0.75rem auto 1.25rem;
    }
    
    .category-filter-container {
        gap: 6px;
        padding: 6px 0;
    }
    
    .category-tab-btn {
        padding: 7px 10px;
        font-size: 0.8rem;
        gap: 5px;
        max-width: 180px;
    }
}

/* Desktop styles */
@media (min-width: 992px) {
    .category-filter-section {
        max-width: 1200px;
    }
    
    .category-filter-container {
        gap: 12px;
        padding: 15px 0;
    }
    
    .category-tab-btn {
        padding: 12px 20px;
        font-size: 1rem;
    }
}

/* Medium screens - better wrapping */
@media (min-width: 769px) and (max-width: 991px) {
    .category-filter-container {
        gap: 10px;
    }
    
    .category-tab-btn {
        flex: 1 0 calc(25% - 10px);
        min-width: 150px;
        max-width: 200px;
    }
}
/* Offer Card Design */
#offersContainer {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    width: 100%;
}

.offer-card {
    background: var(--card);
    border: 2px solid var(--border);
    color: var(--text);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px var(--shadow-color);
    min-height: 320px;
}

.dark-theme .offer-card {
    background: var(--card);
    border-color: var(--border);
    color: var(--text);
}

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

/* Offer Name */
.offer-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
    line-height: 1.3;
    text-align: center;
}

/* Discount Section */
.discount-section {
    margin-bottom: 16px;
    text-align: center;
}

/* FIXED: Discount percentage for both light and dark themes */
.discount-percentage {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 5px;
    line-height: 1;
    background: linear-gradient(135deg, 
        #F68320 0%, 
        #dd612d 25%, 
        #4f74b0 50%, 
        #3a5a8c 75%, 
        #dd612d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 300% auto;
    animation: discountGlow 3s ease-in-out infinite alternate;
}

/* FIXED: Dark theme discount percentage - IMPROVED CONTRAST */
.dark-theme .discount-percentage {
    background: linear-gradient(135deg, 
        #F68320 0%, 
        #ff9440 25%, 
        #5d8bd6 50%, 
        #4a6db0 75%, 
        #ff9440 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(255, 148, 64, 0.3);
}

@keyframes discountGlow {
    0% {
        background-position: 0% 50%;
        opacity: 0.9;
    }
    50% {
        opacity: 1;
    }
    100% {
        background-position: 100% 50%;
        opacity: 0.9;
    }
}

.discount-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Promo Code Section */
.promo-code-section {
    margin-bottom: 16px;
    text-align: center;
}

.promo-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.promo-code {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--secondary);
    background: rgba(79, 116, 176, 0.1);
    padding: 6px 12px;
    border-radius: 8px;
    display: inline-block;
    border: 1px dashed var(--secondary);
}

.dark-theme .promo-code {
    background: rgba(93, 139, 214, 0.15);
    color: #a8c6ff;
    border-color: #5d8bd6;
}

/* Validity Status */
.validity-status {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 8px;
}

.validity-active {
    background: rgba(0, 208, 132, 0.1);
    color: var(--secondary);
    border: 1px solid rgba(0, 208, 132, 0.3);
}

.validity-expired {
    background: rgba(255, 68, 68, 0.1);
    color: #ff4444;
    border: 1px solid rgba(255, 68, 68, 0.3);
}

.dark-theme .validity-active {
    background: rgba(0, 208, 132, 0.15);
    color: #00d084;
}

.dark-theme .validity-expired {
    background: rgba(255, 68, 68, 0.15);
    color: #ff6b6b;
}

/* Purchase Count */
.purchase-count-section {
    text-align: center;
    margin-bottom: 16px;
}

.purchase-count {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.purchase-count i {
    color: var(--primary);
    margin-right: 4px;
}

.dark-theme .purchase-count {
    color: var(--text-secondary);
}

/* View Details Button */
.btn-view-details {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
    width: 100%;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.btn-view-details:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(246, 131, 32, 0.3);
}

/* Dark theme button enhancement */
.dark-theme .btn-view-details {
    background: linear-gradient(135deg, #F68320 0%, #ff9440 100%);
    box-shadow: 0 4px 15px rgba(246, 131, 32, 0.3);
}

.dark-theme .btn-view-details:hover {
    box-shadow: 0 8px 25px rgba(246, 131, 32, 0.4);
}

/* Specifications */
.offer-specs {
    border-top: 1px solid var(--border);
    padding-top: 16px;
    margin-top: 8px;
}

.spec-item {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.spec-item::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

.dark-theme .spec-item {
    color: var(--text-secondary);
}

.dark-theme .spec-item::before {
    color: #5d8bd6;
}

/* Featured Badge */
.featured-badge {
    position: absolute;
    top: 3px;
    right: 12px;
    background: var(--gradient-primary);
    color: white;
    padding: 2px 4px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(246, 131, 32, 0.3);
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Dark theme featured badge */
.dark-theme .featured-badge {
    background: linear-gradient(135deg, #F68320 0%, #ff9440 100%);
    box-shadow: 0 4px 12px rgba(246, 131, 32, 0.4);
}

/* Mobile Responsive for Offer Cards */
@media (max-width: 768px) {
    #offersContainer {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .offer-card {
        min-height: 350px;
        padding: 1.25rem;
    }
    
    .offer-name {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }
    
    .discount-percentage {
        font-size: 3.5rem;
        margin-bottom: 8px;
    }
    
    .discount-text {
        font-size: 1.1rem;
    }
    
    .promo-code {
        font-size: 1.25rem;
        padding: 8px 16px;
    }
    
    .btn-view-details {
        padding: 14px 24px;
        font-size: 1rem;
        min-height: 48px;
    }
    
    .featured-badge {
        top: 8px;
        right: 8px;
        padding: 2px 4px;
        font-size: 0.5rem;
    }
}

@media (max-width: 480px) {
    .offer-card {
        min-height: 340px;
        padding: 1rem;
    }
    
    .offer-name {
        font-size: 1.3rem;
    }
    
    .discount-percentage {
        font-size: 3.2rem;
    }
    
    .promo-code {
        font-size: 1.15rem;
        padding: 6px 12px;
    }
}

/* Additional fix for very small screens */
@media (max-width: 360px) {
    .offer-card {
        min-height: 320px;
        padding: 0.875rem;
    }
    
    .discount-percentage {
        font-size: 2.8rem;
    }
    
    .promo-code {
        font-size: 1rem;
    }
}

/* ====== HOSTING FEATURES SECTION ====== */
.hosting-section {
    width: 100%;
    max-width: 1200px;
    padding: 3rem 15px !important;
    background: var(--section-bg);
    margin: 3rem auto;
    border-radius: 20px;
    box-sizing: border-box !important;
    border: 1px solid var(--border);
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
    width: 100%;
    padding: 0;
}

.section-header h1 {
    font-size: 2.2rem;
    color: var(--text);
    margin-bottom: 1rem;
    font-weight: 800;
    line-height: 1.2;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    line-height: 1.6;
    margin: 0 auto;
    font-weight: 500;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.feature-card {
    background: var(--card);
    border-radius: 15px;
    padding: 1.8rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(246, 131, 32, 0.15);
    border-color: var(--primary);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 6px 15px rgba(246, 131, 32, 0.3);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(246, 131, 32, 0.4);
}

.feature-card h3 {
    font-size: 1.3rem;
    color: var(--text);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 0;
}

/* ====== HOW IT WORKS SECTION ====== */
#how-it-works {
    width: 100%;
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 15px;
}

.how-it-works-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.8rem;
    margin-top: 2rem;
}

.how-it-works-card {
    background: var(--card);
    border: 2px solid var(--border);
    color: var(--text);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 220px;
}

.how-it-works-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 12px 25px var(--shadow-color);
}

.step-number {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 1.2rem;
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 6px 15px rgba(246, 131, 32, 0.3);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.how-it-works-card:hover .step-number {
    transform: scale(1.15) rotate(5deg);
}

.step-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.step-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* ====== TESTIMONIALS SECTION ====== */
.testimonials-section {
    width: 100%;
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 15px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.8rem;
    margin-top: 2rem;
}

.testimonial-card {
    background: var(--card);
    border: 2px solid var(--border);
    border-radius: 15px;
    padding: 1.8rem;
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 12px 25px var(--shadow-color);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    margin-right: 1rem;
    background: var(--gradient-primary);
}

.testimonial-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.testimonial-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.rating-stars {
    margin-bottom: 1rem;
}

.rating-stars i {
    color: #F68320;
    margin-right: 3px;
    font-size: 1rem;
}

.testimonial-content {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.6;
    border-left: 3px solid var(--primary);
    padding-left: 1rem;
}

/* ====== TABLET RESPONSIVE ====== */
@media (min-width: 640px) {
    .hero-banner {
        padding: 35px 0;
        min-height: 65vh;
    }
    
    .premium-green-text {
        font-size: 2.5rem;
    }
    
    .hero-title-secondary {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 30px;
        max-width: 90%;
    }
    
    .hero-cta-buttons {
        flex-direction: row;
        max-width: 450px;
        gap: 15px;
        margin-bottom: 30px;
    }
    
    .order-now-btn,
    .glass-card {
        width: auto;
        min-width: 200px;
        padding: 15px 25px;
    }
    
    .trust-badges-container {
        grid-template-columns: repeat(4, 1fr);
        max-width: 600px;
        gap: 12px;
    }
    
    .trust-badge {
        min-height: 80px;
        padding: 15px 10px;
    }
    
    .trust-badge i {
        font-size: 1.4rem;
    }
    
    .trust-badge span {
        font-size: 0.85rem;
    }
    
    .active-events-section {
        max-width: 600px;
        padding: 25px 20px;
    }
    
    .active-events-section h3 {
        font-size: 1.2rem;
    }
    
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .event-title {
        font-size: 1rem;
    }
    
    .event-dates {
        font-size: 0.85rem;
    }
    
    /* Tablet: Offer Cards 2 columns */
    #offersContainer {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .offer-card {
        min-height: 400px;
    }
    
    /* Category filter - desktop style for tablet */
    .category-filter-container {
        flex-wrap: wrap;
        justify-content: center;
        overflow-x: visible;
    }
    
    .category-tab-btn {
        padding: 12px 20px;
        font-size: 0.95rem;
        min-height: 50px;
    }
    
    /* Tablet: Features 2 columns */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Tablet: How it works 3 columns */
    .how-it-works-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Tablet: Testimonials 2 columns */
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ====== DESKTOP RESPONSIVE ====== */
@media (min-width: 1024px) {
    .hero-banner {
        min-height: 75vh;
        padding: 50px 0;
    }
    
    .premium-green-text {
        font-size: 3.5rem;
    }
    
    .hero-title-secondary {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
        margin-bottom: 40px;
        max-width: 900px;
    }
    
    .trust-badges-container {
        max-width: 1000px;
        gap: 20px;
    }
    
    .trust-badge {
        min-height: 100px;
        padding: 20px 15px;
    }
    
    .trust-badge i {
        font-size: 1.8rem;
    }
    
    .trust-badge span {
        font-size: 1rem;
    }
    
    .active-events-section {
        max-width: 1000px;
    }
    
    .events-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    /* Desktop: Offer Cards 4 columns */
    #offersContainer {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }
    
    .offer-card {
        min-height: 420px;
    }
    
    /* Desktop: Features 3 columns */
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Desktop: How it works stays 3 columns */
    
    /* Desktop: Testimonials 3 columns */
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ====== LARGE DESKTOP ====== */
@media (min-width: 1280px) {
    .premium-green-text {
        font-size: 4rem;
    }
    
    .hero-title-secondary {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
}

/* ====== VERY SMALL MOBILE ====== */
@media (max-width: 360px) {
    .hero-banner {
        padding: 20px 0;
        min-height: 55vh;
    }
    
    .premium-green-text {
        font-size: 1.6rem;
    }
    
    .hero-title-secondary {
        font-size: 1.2rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .trust-badges-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .trust-badge {
        min-height: 60px;
        padding: 8px 6px;
    }
    
    .trust-badge i {
        font-size: 1rem;
    }
    
    .trust-badge span {
        font-size: 0.7rem;
    }
    
    .active-events-section {
        padding: 15px 10px;
    }
    
    .event-card {
        padding: 10px;
    }
    
    .event-title {
        font-size: 0.8rem;
    }
    
    /* Extra large offer cards for very small screens */
    .offer-card {
        min-height: 350px;
        padding: 20px 15px;
    }
    
    .offer-name {
        font-size: 1.2rem;
        min-height: 55px;
    }
    
    .discount-percentage {
        font-size: 3rem;
    }
    
    .promo-code {
        font-size: 1.1rem;
        padding: 10px 15px;
    }
    
    .btn-view-details {
        padding: 14px 18px;
        font-size: 1rem;
        min-height: 50px;
    }
}

/* Animation Keyframes */
@keyframes shimmer {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 300% center;
    }
}

@keyframes gradientShift {
    0% {
        opacity: 0.4;
        background-position: 0% 50%;
    }
    100% {
        opacity: 0.8;
        background-position: 100% 50%;
    }
}

@keyframes discountGlow {
    0% {
        background-position: 0% 50%;
        opacity: 0.9;
    }
    50% {
        opacity: 1;
    }
    100% {
        background-position: 100% 50%;
        opacity: 0.9;
    }
}

/* Mobile Performance Optimizations */
@media (max-width: 768px) {
    .hero-banner::before {
        background-attachment: scroll;
    }
    
    .hero-banner::after {
        animation-duration: 2s;
    }
    
    .premium-green-text,
    .discount-percentage {
        animation-duration: 2s;
    }
}

/* ====== THEME SWITCHER STYLES ====== */
.nav-switch-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.switch-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.theme-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.theme-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50px;
    transition: .4s;
    border: 2px solid var(--border);
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: .4s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.theme-switch input:checked + .slider {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
}

.theme-switch input:checked + .slider:before {
    transform: translateX(30px);
}

/* Dark theme adjustments for switcher */
.dark-theme .slider {
    background: linear-gradient(135deg, #5d8bd6, #F68320);
    border-color: rgba(255, 255, 255, 0.2);
}

.dark-theme .slider:before {
    background-color: var(--dark-card);
}

/* Mobile theme toggle */
.mobile-theme-toggle {
    display: flex;
    justify-content: center;
    margin: 15px 0;
}

.mobile-theme-toggle .theme-switch {
    transform: scale(0.9);
}

/* Responsive theme switcher */
@media (max-width: 767px) {
    .nav-switch-container {
        display: none;
    }
    
    .mobile-theme-toggle {
        display: flex;
    }
}

@media (min-width: 768px) {
    .mobile-theme-toggle {
        display: none;
    }
}

/* ====== THEMA PERSISTENCE STYLES ====== */
:root {
    /* Light theme colors */
    --primary: #F68320;
    --primary-hover: #dd612d;
    --secondary: #4f74b0;
    --accent: #FAE9CD;
    
    /* Light Mode Colors */
    --light-bg: #FAE9CD;
    --light-card: #ffffff;
    --light-text: #17191C;
    --light-text-secondary: #5a5d64;
    --light-border: #e0d4c2;
    --light-hover: #f5e5d0;
    --light-shadow: rgba(246, 131, 32, 0.15);
    
    /* Dark Mode Colors */
    --dark-bg: #17191C;
    --dark-card: #23252a;
    --dark-text: #ffffff;
    --dark-text-secondary: #b0b2b8;
    --dark-border: #3a3c42;
    --dark-hover: #2c2e34;
    --dark-shadow: rgba(246, 131, 32, 0.25);
    
    /* Current Theme Variables */
    --bg: var(--light-bg);
    --card: var(--light-card);
    --text: var(--light-text);
    --text-secondary: var(--light-text-secondary);
    --border: var(--light-border);
    --hover: var(--light-hover);
    --shadow-color: var(--light-shadow);
}

/* Dark Theme Class */
.dark-theme {
    --bg: var(--dark-bg);
    --card: var(--dark-card);
    --text: var(--dark-text);
    --text-secondary: var(--dark-text-secondary);
    --border: var(--dark-border);
    --hover: var(--dark-hover);
    --shadow-color: var(--dark-shadow);
}

/* Body transitions */
body {
    background-color: var(--bg);
    color: var(--text);
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Apply theme to all elements */
.offer-card {
    background: var(--card);
    border-color: var(--border);
    color: var(--text);
    box-shadow: 0 6px 20px var(--shadow-color);
}

.discount-percentage {
    background: linear-gradient(135deg, #F68320 0%, #dd612d 25%, #4f74b0 50%, #3a5a8c 75%, #dd612d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dark-theme .discount-percentage {
    background: linear-gradient(135deg, #F68320 0%, #ff9440 25%, #5d8bd6 50%, #4a6db0 75%, #ff9440 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.promo-code {
    color: var(--secondary);
    background: rgba(79, 116, 176, 0.1);
    border-color: var(--secondary);
}

.dark-theme .promo-code {
    color: #a8c6ff;
    background: rgba(93, 139, 214, 0.15);
    border-color: #5d8bd6;
}

.spec-item {
    color: var(--text-secondary);
}

.spec-item strong {
    color: var(--text);
}

/* Navbar theme fixes */
.navbar-theme {
    background-color: var(--card) !important;
    border-bottom-color: var(--border) !important;
}

.nav-link {
    color: var(--text) !important;
}

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