/* 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;
}

/* Header Container */
header.container {
    max-width: 1200px;
    margin: 20px auto 20px;
    padding: 0 15px;
}

/* Footer Container */
footer.container {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding: 0 15px 20px;
}

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

/* ====== HERO SECTION REDESIGN - FIXED FULL WIDTH ====== */
.hero-banner {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, 
        rgba(23, 25, 28, 0.95) 0%, 
        rgba(35, 37, 42, 0.98) 50%, 
        rgba(40, 42, 48, 0.95) 100%);
    margin: 0;
    width: 100%;
    background-size: cover;
    background-attachment: fixed;
}

/* Hero background extended to full width */
.hero-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(23, 25, 28, 0.98) 0%, 
        rgba(35, 37, 42, 0.95) 50%, 
        rgba(40, 42, 48, 0.98) 100%);
    z-index: -1;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -10%; /* Extended beyond viewport */
    right: -10%; /* Extended beyond viewport */
    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;
    background-attachment: fixed;
    z-index: -2;
    opacity: 0.4;
    width: 120%; /* Extended width */
}

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

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

.hero-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: -10%; /* Extended beyond viewport */
    right: -10%; /* Extended beyond viewport */
    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: -1;
    animation: gradientShift 10s ease-in-out infinite alternate;
    width: 120%; /* Extended width */
}

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

/* Hero Content - Redesigned */
.hero-content-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 2;
}

.premium-green-text {
    display: block;
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(90deg, 
        #4f74b0 0%, 
        #3a5a8c 25%, 
        #4f74b0 50%, 
        #3a5a8c 75%, 
        #4f74b0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 300% auto;
    animation: shimmer 4s linear infinite;
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 20px rgba(79, 116, 176, 0.3);
    letter-spacing: -0.5px;
}

@keyframes shimmer {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 300% center;
    }
}

.hero-banner h1 .text-white {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.3px;
}

.hero-banner .text-xl {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 2rem;
    font-weight: 400;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px 20px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* CTA Buttons - Compact */
.order-now-btn {
    background: var(--gradient-primary);
    color: white;
    padding: 0.9rem 2rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 8px 25px rgba(246, 131, 32, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
    min-width: 180px;
}

.order-now-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(246, 131, 32, 0.4);
}

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

.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(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

/* ====== TRUST BADGES - COMPACT ====== */
.trust-badges-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin: 2rem auto 1rem;
    max-width: 800px;
    padding: 0 15px;
}

.trust-badge {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(246, 131, 32, 0.3);
    padding: 0.7rem 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(246, 131, 32, 0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 140px;
    max-width: 200px;
    min-height: 60px;
}

.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 6px 20px rgba(246, 131, 32, 0.25);
}

.trust-badge i {
    color: #F68320;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.trust-badge span {
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ====== ACTIVE EVENTS CARD - COMPACT ====== */
.active-events-container {
    width: 100%;
    max-width: 1200px;
    margin: 2rem auto 0;
    padding: 0 15px;
}

.active-events-card {
    background: linear-gradient(135deg, rgba(35, 37, 42, 0.95) 0%, rgba(40, 42, 48, 0.95) 100%);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(246, 131, 32, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.active-events-card h2 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

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

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

.event-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.event-dates {
    font-size: 0.85rem;
    opacity: 0.8;
    color: white;
}

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

.category-filter-container {
    display: flex;
    overflow-x: auto;
    padding: 10px 0;
    gap: 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--border);
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.category-filter-container::-webkit-scrollbar {
    height: 6px;
}

.category-filter-container::-webkit-scrollbar-track {
    background: var(--border);
    border-radius: 3px;
}

.category-filter-container::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

.category-filter-container::-webkit-scrollbar-thumb:hover {
    background: var(--primary-hover);
}

.category-tab-btn {
    background: var(--card);
    border: 2px solid var(--border);
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 0.6rem 1.2rem;
    color: var(--text);
    font-weight: 600;
    border-radius: 10px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    flex-shrink: 0;
    min-height: 44px;
}

.category-tab-btn:hover {
    background: var(--hover);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.category-tab-btn.active {
    background: var(--gradient-primary);
    box-shadow: 0 6px 20px rgba(246, 131, 32, 0.25);
    color: white;
    border-color: var(--primary);
}

/* ====== OFFER CARD DESIGN - COMPACT ====== */
#offers {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 3rem;
    padding: 0 15px;
}

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

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

.offer-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
    line-height: 1.3;
    text-align: center;
}

.discount-section {
    margin-bottom: 1rem;
    text-align: center;
}

.discount-percentage {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    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;
}

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

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

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

.promo-code-section {
    margin-bottom: 1rem;
    text-align: center;
}

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

.promo-code {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary);
    background: rgba(79, 116, 176, 0.1);
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    display: inline-block;
    border: 1px dashed var(--secondary);
    font-family: 'Courier New', monospace;
}

.dark-theme .promo-code {
    background: rgba(79, 116, 176, 0.15);
}

.btn-view-details {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
    width: 100%;
    margin-top: auto;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

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

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

.section-header {
    text-align: center;
    margin-bottom: 1.5rem; /* Reduced margin */
    width: 100%;
    padding: 0;
}

.section-header h1 {
    font-size: 1.8rem; /* Reduced size */
    color: var(--text);
    margin-bottom: 0.5rem; /* Reduced margin */
    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: 0.95rem; /* Reduced size */
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.4; /* Adjusted line height */
    margin: 0 auto;
    font-weight: 500;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem; /* Reduced gap */
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.feature-card {
    background: var(--card);
    border-radius: 12px; /* Smaller radius */
    padding: 1.2rem; /* Reduced padding */
    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: 3px; /* Reduced height */
    background: var(--gradient-primary);
}

.feature-card:hover {
    transform: translateY(-3px); /* Reduced translate */
    box-shadow: 0 8px 20px rgba(246, 131, 32, 0.12);
    border-color: var(--primary);
}

.feature-icon {
    width: 48px; /* Reduced from 60px */
    height: 48px; /* Reduced from 60px */
    background: var(--gradient-primary);
    border-radius: 12px; /* Smaller radius */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem; /* Reduced margin */
    color: white;
    font-size: 1.25rem; /* Reduced from 24px (1.5rem) */
    box-shadow: 0 4px 12px rgba(246, 131, 32, 0.25); /* Reduced shadow */
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.05);
}

.feature-card h3 {
    font-size: 1.1rem; /* Reduced from 1.3rem */
    color: var(--text);
    margin-bottom: 0.6rem; /* Reduced margin */
    font-weight: 700;
    line-height: 1.3;
    min-height: auto;
}

.feature-card p {
    font-size: 0.85rem; /* Reduced from 0.95rem */
    color: var(--text-secondary);
    line-height: 1.4; /* Adjusted line height */
    flex-grow: 1;
    margin-bottom: 0;
}

/* ====== HOW IT WORKS - SMALLER CARDS ====== */
.how-it-works-section {
    width: 100%;
    max-width: 1200px;
    margin: 2rem auto; /* Reduced margin */
    padding: 0 15px;
}

.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); /* Smaller minmax */
    gap: 1rem; /* Reduced gap */
    margin-top: 1.5rem; /* Reduced margin */
}

.how-it-works-card {
    background: var(--card);
    border: 2px solid var(--border);
    color: var(--text);
    border-radius: 12px; /* Smaller radius */
    padding: 1.2rem; /* Reduced padding */
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 180px; /* Added min-height for consistency */
}

.how-it-works-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px); /* Reduced translate */
    box-shadow: 0 8px 20px var(--shadow-color); /* Reduced shadow */
}

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

.how-it-works-card:hover .step-number {
    transform: scale(1.1);
}

.step-title {
    font-size: 1.1rem; /* Reduced from 1.3rem */
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem; /* Reduced margin */
    line-height: 1.3;
}

.step-description {
    font-size: 0.85rem; /* Reduced from 0.95rem */
    color: var(--text-secondary);
    line-height: 1.4; /* Adjusted line height */
    margin: 0;
}

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

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Smaller minmax */
    gap: 1rem; /* Reduced gap */
    margin-top: 1.5rem; /* Reduced margin */
}

.testimonial-card {
    background: var(--card);
    border: 2px solid var(--border);
    border-radius: 12px; /* Smaller radius */
    padding: 1.2rem; /* Reduced padding */
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px); /* Reduced translate */
    box-shadow: 0 8px 20px var(--shadow-color); /* Reduced shadow */
}

.rating-stars {
    margin-bottom: 0.6rem; /* Reduced margin */
}

.rating-stars i {
    color: #F68320;
    margin-right: 2px;
    font-size: 0.85rem; /* Reduced size */
}

.testimonial-content {
    font-size: 0.85rem; /* Reduced from 0.95rem */
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.4; /* Adjusted line height */
}

/* ====== THEME SWITCHER - COMPACT ====== */
.theme-switch-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 15px;
}

.theme-switch-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
}

.theme-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    background: var(--gradient-accent);
    border-radius: 50px;
    cursor: pointer;
    border: 2px solid var(--border);
    transition: all 0.3s ease;
}

.theme-switch:before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    top: 1px;
    left: 1px;
    background: var(--gradient-primary);
    transition: transform 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.dark-theme .theme-switch:before {
    transform: translateX(24px);
}

.theme-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    z-index: 1;
    pointer-events: none;
}

.theme-icon.sun {
    left: 7px;
    color: #f59e0b;
}

.theme-icon.moon {
    right: 7px;
    color: #4f74b0;
}

.dark-theme .theme-icon.sun {
    color: #8b9bb4;
}

.dark-theme .theme-icon.moon {
    color: #f5f5f5;
}

/* ====== MAIN CONTENT AREA FIX ====== */
.main-content-area {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ====== RESPONSIVE DESIGN ====== */
@media (min-width: 768px) {
    .container,
    .hero-content-wrapper,
    .active-events-container,
    #offers,
    .hosting-section,
    .how-it-works-section,
    .testimonials-section,
    .category-filter-section {
        max-width: 720px;
        padding: 0 15px;
    }
    
    .hero-banner {
        min-height: 75vh;
    }
    
    .premium-green-text {
        font-size: 4rem;
    }
    
    .hero-banner h1 .text-white {
        font-size: 2.8rem;
    }
    
    .hero-banner .text-xl {
        font-size: 1.2rem;
        padding: 20px 30px;
    }
    
    /* Category filter - horizontal alignment */
    .category-filter-container {
        justify-content: center;
        flex-wrap: wrap;
        overflow-x: visible;
        gap: 0.8rem;
    }
    
    .hosting-section {
        padding: 2.5rem 15px !important;
        margin: 2.5rem auto;
    }
    
    .section-header h1 {
        font-size: 2rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .features-grid {
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-icon {
        width: 52px;
        height: 52px;
        font-size: 1.3rem;
        margin-bottom: 1.2rem;
    }
    
    .feature-card h3 {
        font-size: 1.2rem;
    }
    
    .feature-card p {
        font-size: 0.9rem;
    }
    
    .how-it-works-grid {
        gap: 1.5rem;
    }
    
    .how-it-works-card {
        padding: 1.5rem;
    }
    
    .step-number {
        width: 2.8rem;
        height: 2.8rem;
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .step-title {
        font-size: 1.2rem;
    }
    
    .step-description {
        font-size: 0.9rem;
    }
}

@media (min-width: 1024px) {
    .container,
    .hero-content-wrapper,
    .active-events-container,
    #offers,
    .hosting-section,
    .how-it-works-section,
    .testimonials-section,
    .category-filter-section {
        max-width: 960px;
        padding: 0 15px;
    }
    
    .hero-banner {
        min-height: 80vh;
    }
    
    .premium-green-text {
        font-size: 4.5rem;
    }
    
    .hosting-section {
        padding: 3rem 15px !important;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.8rem;
    }
    
    .feature-card {
        padding: 1.8rem;
    }
    
    .feature-icon {
        width: 56px;
        height: 56px;
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }
    
    .feature-card h3 {
        font-size: 1.3rem;
    }
    
    .feature-card p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .how-it-works-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.8rem;
    }
    
    .how-it-works-card {
        padding: 1.8rem;
    }
    
    .step-number {
        width: 3rem;
        height: 3rem;
        font-size: 1.4rem;
        margin-bottom: 1.2rem;
    }
    
    .step-title {
        font-size: 1.3rem;
    }
    
    .step-description {
        font-size: 0.95rem;
    }
}

@media (min-width: 1200px) {
    .container,
    .hero-content-wrapper,
    .active-events-container,
    #offers,
    .hosting-section,
    .how-it-works-section,
    .testimonials-section,
    .category-filter-section {
        max-width: 1140px;
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    body {
        padding: 0;
    }
    
    #main-content {
        padding: 0;
    }
    
    .hero-banner {
        min-height: 60vh;
    }
    
    .premium-green-text {
        font-size: 2.5rem;
    }
    
    .hero-banner h1 .text-white {
        font-size: 1.8rem;
    }
    
    .hero-banner .text-xl {
        font-size: 1rem;
        padding: 12px 15px;
        margin-bottom: 1.5rem;
    }
    
    .order-now-btn,
    .glass-card {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        min-width: 150px;
    }
    
    .trust-badges-container {
        gap: 0.5rem;
        margin: 1.5rem auto 1rem;
    }
    
    .trust-badge {
        min-width: 120px;
        padding: 0.6rem 0.8rem;
        min-height: 55px;
    }
    
    .trust-badge i {
        font-size: 1rem;
    }
    
    .trust-badge span {
        font-size: 0.8rem;
    }
    
    .active-events-container {
        padding: 0 10px;
    }
    
    .active-events-card {
        padding: 1.2rem;
        margin-top: 1.5rem;
        border-radius: 12px;
    }
    
    .active-events-card h2 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .theme-switch-container {
        margin: 5px 0;
        justify-content: center;
    }
    
    .theme-switch-label {
        display: none;
    }
    
    /* Category filter - horizontal scroll on mobile */
    .category-filter-container {
        padding-bottom: 15px;
        margin-bottom: 5px;
    }
    
    .category-tab-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        min-height: 40px;
    }
    
    .hosting-section {
        padding: 2rem 10px !important;
        margin: 2rem auto;
        border-radius: 12px;
    }
    
    .section-header h1 {
        font-size: 1.6rem;
    }
    
    .section-header p {
        font-size: 0.9rem;
    }
    
    .features-grid {
        gap: 1rem;
    }
    
    .feature-card {
        padding: 1rem;
    }
    
    .feature-icon {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
        border-radius: 10px;
    }
    
    .feature-card h3 {
        font-size: 1rem;
    }
    
    .feature-card p {
        font-size: 0.8rem;
    }
    
    .how-it-works-section {
        margin: 1.5rem auto;
    }
    
    .how-it-works-grid {
        gap: 1rem;
        margin-top: 1.2rem;
    }
    
    .how-it-works-card {
        padding: 1rem;
        min-height: 160px;
    }
    
    .step-number {
        width: 2.2rem;
        height: 2.2rem;
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }
    
    .step-title {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }
    
    .step-description {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    #main-content {
        padding: 0;
    }
    
    .hero-banner {
        min-height: 55vh;
    }
    
    .premium-green-text {
        font-size: 2rem;
        margin-bottom: 0.3rem;
    }
    
    .hero-banner h1 .text-white {
        font-size: 1.5rem;
        margin-top: 0.3rem;
        margin-bottom: 1rem;
    }
    
    .hero-banner .text-xl {
        font-size: 0.9rem;
        padding: 10px 12px;
        margin-bottom: 1.2rem;
    }
    
    .order-now-btn,
    .glass-card {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
        min-width: 130px;
        gap: 0.3rem;
    }
    
    .trust-badges-container {
        gap: 0.4rem;
    }
    
    .trust-badge {
        min-width: 45%;
        padding: 0.5rem 0.6rem;
        min-height: 50px;
        border-radius: 8px;
    }
    
    .trust-badge i {
        font-size: 0.9rem;
    }
    
    .trust-badge span {
        font-size: 0.75rem;
    }
    
    .active-events-container {
        padding: 0 8px;
    }
    
    .active-events-card {
        padding: 1rem;
        margin-top: 1.2rem;
    }
    
    .active-events-card h2 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    /* Category filter - mobile optimization */
    .category-filter-container {
        padding: 8px 0 12px;
    }
    
    .category-tab-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
        min-height: 36px;
    }
    
    .hosting-section {
        padding: 1.5rem 8px !important;
        margin: 1.5rem auto;
    }
    
    .section-header h1 {
        font-size: 1.4rem;
    }
    
    .section-header p {
        font-size: 0.85rem;
    }
    
    .features-grid {
        gap: 0.8rem;
    }
    
    .feature-card {
        padding: 0.8rem;
        border-radius: 10px;
    }
    
    .feature-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-bottom: 0.6rem;
        border-radius: 8px;
    }
    
    .feature-card h3 {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }
    
    .feature-card p {
        font-size: 0.75rem;
    }
    
    .offer-card {
        padding: 1rem;
        min-height: 250px;
        border-radius: 12px;
    }
    
    .discount-percentage {
        font-size: 2rem;
    }
    
    .offer-name {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .promo-code {
        font-size: 1rem;
        padding: 0.3rem 0.6rem;
    }
    
    .btn-view-details {
        padding: 0.7rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .how-it-works-section {
        margin: 1.5rem auto;
        padding: 0 8px;
    }
    
    .how-it-works-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        margin-top: 1rem;
    }
    
    .how-it-works-card {
        padding: 0.8rem;
        min-height: 150px;
    }
    
    .step-number {
        width: 2rem;
        height: 2rem;
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .step-title {
        font-size: 0.95rem;
        margin-bottom: 0.3rem;
    }
    
    .step-description {
        font-size: 0.75rem;
    }
}

/* SEO Optimizations */
img {
    max-width: 100%;
    height: auto;
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* Print Styles */
@media print {
    .hero-banner {
        background: white !important;
        color: black !important;
        border: 1px solid #ddd;
        min-height: auto;
    }
    
    .premium-green-text {
        -webkit-text-fill-color: black !important;
        background: none !important;
    }
    
    .order-now-btn,
    .glass-card,
    .theme-switch-container {
        display: none !important;
    }
    
    .feature-card,
    .offer-card,
    .testimonial-card {
        break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --primary: #F68320;
        --secondary: #4f74b0;
        --border: #000000;
    }
    
    .offer-card,
    .feature-card,
    .testimonial-card {
        border: 2px solid var(--border) !important;
    }
}

/* Offers Grid */
#offersContainer {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    width: 100%;
}

/* Animation for cards */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-in {
    animation: slideIn 0.5s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

/* Skip to main content link */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.sr-only:focus {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: auto;
    height: auto;
    padding: 12px 20px;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: white;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
}

/* Header styles */
header.container {
    width: 100%;
    max-width: 1200px;
    margin: 20px auto;
}

/* Gradient Text */
.gradient-text {
    display: inline-block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Badge styles */
.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.2rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 12px;
}

.badge-primary {
    background: var(--gradient-primary);
    color: white;
}