/* Global style resets and basic settings */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    margin: 0;
    background-color: #f8fafc;
    color: #334155;
    padding-top: 80px; /* Add spacing for fixed navigation bar - desktop */
    box-sizing: border-box;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top navigation bar styles */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 20px;
}

.nav-logo h1 {
    font-size: 1.4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #3498db, #2c3e50);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
}

.nav-tagline {
    font-size: 0.75rem;
    color: #666;
    display: block;
    margin-top: 2px;
}

.language-toggle {
    display: flex;
    margin-right: 20px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background: white;
    z-index: 100;
}

.lang-btn {
    padding: 8px 12px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    color: #666;
}

.lang-btn.active {
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
    transform: translateY(-2px);
}

/* 🆕 Enhanced hero banner styles - with dynamic comparison slider */
.hero-banner {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    min-height: calc(100vh - 80px); /* Subtract navigation bar height */
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.08"><circle cx="30" cy="30" r="2"/></g></g></svg>');
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* 🔧 Optimized Hero content layout - centered text without comparison */
.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1000px; /* Reduced width for better centered layout */
    width: 100%;
    padding: 4rem 2rem;
    margin: 0 auto;
}

.hero-text {
    max-width: 800px; /* Increased max width for centered layout */
    text-align: center; /* Center align the text */
    padding: 3rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    width: 100%;
}

/* Hero title font size adjustment for centered layout */
.hero-title {
    font-size: 4rem; /* Increased title font size */
    line-height: 1.1; /* Adjusted for tighter line spacing */
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 2rem; /* Increased bottom margin */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    animation: slideInUp 1s ease-out;
    letter-spacing: -0.02em; /* Adjusted letter spacing */
}

.hero-subtitle {
    font-size: 1.4rem; /* Slightly increased subtitle font size */
    line-height: 1.5; /* Optimized line height */
    color: #34495e;
    margin-bottom: 3rem; /* Increased bottom margin */
    animation: slideInUp 1s ease-out 0.2s both;
    font-weight: 400;
}

/* 🔧 Hide comparison slider - not needed in centered layout */
.hero-comparison {
    display: none;
}

/* 🔧 Performance optimization: key styles to prevent lag */
.comparison-before,
.comparison-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: none; /* 🔧 Removed transition to prevent lag */
}

.comparison-before {
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1497032628192-86f99bcd76bc');
    z-index: 1;
}

.comparison-after {
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab');
    z-index: 2;
    width: 50%;
    will-change: width; /* 🔧 GPU acceleration optimization */
}

.comparison-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: white;
    z-index: 3;
    cursor: ew-resize;
    transform: translateX(-2px);
    will-change: left; /* 🔧 GPU acceleration optimization */
}

.comparison-handle::after {
    content: '〈〉';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    color: #2c3e50;
    padding: 10px 5px;
    border-radius: 5px;
    font-weight: bold;
}

.comparison-text {
    position: absolute;
    bottom: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    background: rgba(0, 0, 0, 0.6);
    padding: 5px 15px;
    border-radius: 5px;
    text-shadow: 1px 1px 2px black;
}

.before-text {
    left: 20px;
}

.after-text {
    right: 20px;
}

.salary-tag {
    position: absolute;
    top: 20px;
    font-size: 1.1rem;
    font-weight: 700;
    color: black;
    background: rgba(255, 255, 255, 0.85);
    padding: 8px 15px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.before-salary {
    left: 20px;
    background: #e74c3c;
    color: white;
}

.after-salary {
    right: 20px;
    background: #2ecc71;
    color: white;
}

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(52, 152, 219, 0.3);
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(52, 152, 219, 0.4);
}

.cta-button:active {
    transform: translateY(0);
}

.alt-button {
    background: transparent;
    color: #2c3e50;
    border: 2px solid #bdc3c7;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.alt-button:hover {
    background: #ecf0f1;
    border-color: #34495e;
    color: #34495e;
}

/* User Stage Selection Section Styles */
.user-stage-section {
    padding: 3.5rem 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #3498db, #2c3e50);
    border-radius: 2px;
}

.stage-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.stage-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.8rem 1.5rem;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.stage-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-color: #3498db;
}

.stage-card.selected {
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.3);
}

.stage-icon {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
    display: inline-block;
}

.stage-card h4 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.4rem;
}

.stage-card p {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Quiz CTA Section Styles */
.quiz-cta-section {
    padding: 2.5rem 0;
    background: #f8f9fa;
    color: #2c3e50;
}

.quiz-cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.quiz-cta-section h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    text-shadow: none;
}

.quiz-cta-section p {
    font-size: 0.95rem;
    opacity: 0.8;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.quiz-button {
    background: #ffcc00;
    color: #2c3e50;
    padding: 1rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(255, 204, 0, 0.3);
}

.quiz-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(255, 204, 0, 0.4);
    background: #ffc107;
}

/* Recommended Routes Section Styles */
.routes-section {
    padding: 3.5rem 0;
    background: #f8f9fa;
}

.routes-section .section-title {
    color: #2c3e50;
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
}

.routes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1.2rem !important;
    max-width: 1200px;
    margin: 0 auto;
}

.route-card {
    background: white;
    border-radius: 10px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: auto !important;
    min-height: 200px !important;
}

.route-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.route-header {
    padding: 0.75rem !important;
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
    display: flex;
    flex-direction: column !important;
    gap: 0.3rem;
}

.route-header h4 {
    font-size: 0.9rem !important;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
}

.route-time {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.15rem 0.5rem;
    border-radius: 15px;
    font-size: 0.7rem !important;
    font-weight: 500;
    align-self: flex-start !important;
    white-space: nowrap;
}

.route-steps {
    padding: 0.6rem 0.75rem !important;
    flex-grow: 1;
}

.step {
    padding-bottom: 0.4rem;
    margin-bottom: 0.4rem;
    border-bottom: 1px dashed #e0e0e0;
    color: #555;
    font-size: 0.75rem !important;
    line-height: 1.3;
}

.step:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.route-button {
    display: block;
    width: calc(100% - 1.5rem) !important;
    margin: 0 0.75rem 0.75rem !important;
    padding: 0.6rem !important;
    background: #ffcc00;
    color: #2c3e50;
    border: none;
    border-radius: 6px !important;
    font-size: 0.8rem !important;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.route-button:hover {
    background: #ffc107;
    transform: scale(1.02);
}

/* Practical Resources Section Styles */
.resources-section {
    padding: 3.5rem 0 !important;
    background: white !important;
    min-height: auto !important;
}

.resources-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
    gap: 1.5rem !important;
    margin-top: 2rem !important;
}

.resource-card {
    position: relative;
    padding: 1.8rem 1.5rem !important;
    border-radius: 12px;
    text-align: center;
    background: #f8f9fa !important;
    transition: all 0.3s ease;
    overflow: hidden;
    min-height: 200px !important;
    cursor: pointer;
    border: 2px solid transparent;
}

.resource-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(52, 152, 219, 0.1) 0%, rgba(52, 152, 219, 0) 70%);
    transition: opacity 0.5s ease;
    opacity: 0;
}

.resource-card:hover::before {
    opacity: 1;
}

.resource-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #3498db;
    background: white !important;
}

.resource-icon {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
    color: #3498db;
}

.resource-card h4 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.4rem;
}

.resource-card p {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.resource-links {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 0.4rem !important;
    margin-top: 0.8rem !important;
}

.resource-links a {
    text-decoration: none !important;
    background: #e9ecef !important;
    color: #495057 !important;
    padding: 0.4rem 0.8rem !important;
    border-radius: 15px !important;
    font-size: 0.75rem !important;
    transition: all 0.3s ease !important;
}

.resource-links a:hover {
    background: #3498db !important;
    color: white !important;
    transform: translateY(-2px) !important;
}

/* Success Stories Section */
.success-stories-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.success-stories-section .section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #2d3748;
}

.stories-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.stories-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 2rem;
}

.story-card {
    flex: 0 0 350px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.story-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

/* New Avatar Styles */
.story-avatar {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.avatar-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.avatar-initial {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.story-content h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
    text-align: center;
}

.story-content p {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
    text-align: center;
    position: relative;
    padding: 0 10px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Remove problematic pseudo-elements that may cause text display issues */
.story-content p::before,
.story-content p::after {
    display: none;
}

/* New Metrics Styles */
.story-metrics {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.metric:last-child {
    border-bottom: none;
}

.metric-label {
    font-size: 0.875rem;
    color: #718096;
    font-weight: 500;
}

.metric-value {
    font-size: 0.875rem;
    color: #2d3748;
    font-weight: 700;
}

/* Arrow buttons */
.arrow-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
}

.arrow-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #3498db;
    background: white;
    color: #3498db;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    }

.arrow-btn:hover {
    background: #3498db;
    color: white;
    transform: scale(1.05);
    }

.arrow-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    }

/* Mobile responsiveness */
@media (max-width: 768px) {
    /* Mobile styles - adjust navigation bar spacing */
    body {
        padding-top: 60px; /* Use smaller spacing for mobile */
    }
    
    .hero-banner {
        min-height: calc(100vh - 60px); /* Adjust hero height for mobile */
        padding: 2rem 0;
    }
    
    .mobile-menu-toggle {
        display: block;
        z-index: 1001;
        transition: all 0.3s ease;
    }

    .mobile-menu-toggle.active {
        transform: rotate(90deg);
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 1rem 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        opacity: 0;
        transform: translateY(-10px);
    }

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

    .nav-menu a {
        padding: 0.75rem 1.5rem;
        border-bottom: 1px solid #f0f0f0;
        transition: all 0.3s ease;
    }

    .nav-menu a:last-child {
        border-bottom: none;
    }

    .nav-menu a:hover {
        background: #f8f9fa;
        transform: translateX(5px);
    }

    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .route-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .route-time {
        align-self: flex-start;
    }

    .language-toggle {
        position: absolute;
        top: 1rem;
        right: 4rem;
        z-index: 1001;
    }

    .lang-btn {
        padding: 6px 10px;
    }

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

    .cta-button, .alt-button {
        width: 80%;
        text-align: center;
    }

    .quiz-cta-section h3 {
        font-size: 2rem;
    }

    .quiz-cta-section p {
        font-size: 1.1rem;
    }

    .stories-track {
        gap: 1rem;
    }

    .story-card {
        flex: 0 0 280px;
    }

    .story-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .stage-card, .route-card, .resource-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-content {
        padding: 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-comparison {
        height: 250px;
    }

    .stage-card, .route-card, .resource-card {
        padding: 1.5rem;
    }

    .user-stage-section, .routes-section, .resources-section {
        padding: 3rem 0;
    }

    .language-toggle {
        right: 3.5rem;
    }

    /* Enhanced mobile styles for success stories */
    .success-stories-section {
        padding: 4rem 0; /* Reduce padding for small screens */
    }
    
    .story-card {
        padding: 1.25rem; /* Further reduce padding */
        max-width: 100%; /* Use full width on very small screens */
        margin-bottom: 1rem;
    }

    .story-content h4 {
        font-size: 1rem; /* Smaller title */
        line-height: 1.2;
    }
    
    .story-content p {
        font-size: 0.9rem; /* Smaller paragraph text */
        line-height: 1.4;
        padding: 0; /* Remove padding on very small screens */
        margin-bottom: 1rem;
    }
    
    /* Optimize metrics for very small screens */
    .story-metrics {
        gap: 0.5rem;
    }
    
    .metric {
        padding: 0.3rem 0;
        flex-direction: column; /* Stack label and value vertically */
        align-items: flex-start;
        gap: 0.2rem;
    }
    
    .metric-label,
    .metric-value {
        font-size: 0.8rem;
    }
    
    .metric-value {
        font-weight: 600; /* Slightly reduce weight */
    }

    .slider-arrow {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
}

@media (max-width: 1200px) {
    .routes-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 1rem !important;
    }
    
    .route-card {
        min-height: 180px !important;
    }
    
    .route-header h4 {
        font-size: 0.85rem !important;
        line-height: 1.1;
    }
    
    .route-time {
        font-size: 0.65rem !important;
    }
    
    .step {
        font-size: 0.7rem !important;
    }
}

@media (max-width: 992px) {
    .routes-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.2rem !important;
    }
}

@media (max-width: 576px) {
    .routes-grid {
        grid-template-columns: 1fr !important;
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(52, 152, 219, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(52, 152, 219, 0);
    }
}

.cta-button:focus {
    animation: pulse 1s;
}

/* Custom Scrollbar Styles */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #888;
}

/* User Feedback Section Styles */
.feedback-section {
    padding: 3.5rem 0;
    background: #f8f9fa;
}

.feedback-form-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.feedback-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95rem;
}

.feedback-form select,
.feedback-form input,
.feedback-form textarea {
    padding: 0.875rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.feedback-form select:focus,
.feedback-form input:focus,
.feedback-form textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.feedback-form textarea {
    resize: vertical;
    min-height: 120px;
}

.feedback-submit-btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(52, 152, 219, 0.3);
    align-self: center;
    min-width: 200px;
}

.feedback-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(52, 152, 219, 0.4);
}

.feedback-submit-btn:active {
    transform: translateY(0);
}

/* Feedback form responsive design */
@media (max-width: 768px) {
    .feedback-section {
        padding: 2.5rem 0;
        background: #f8f9fa;
        display: block !important; /* Ensure section is visible on mobile */
        visibility: visible !important;
    }
    
    .feedback-form-container {
        margin: 0 1rem;
        padding: 2rem 1.5rem;
        background: white;
        border-radius: 16px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
        border: 1px solid #e2e8f0;
    }
    
    .feedback-submit-btn {
        width: 100%;
        min-width: auto;
        padding: 1.25rem;
        background: linear-gradient(135deg, #3498db, #2c3e50);
        color: white;
        border: none;
        border-radius: 12px;
        font-size: 1.1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
        margin-top: 0.5rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .feedback-submit-btn:hover {
        background: linear-gradient(135deg, #2980b9, #1a252f);
        transform: translateY(-2px);
        box-shadow: 0 10px 30px rgba(52, 152, 219, 0.4);
    }
    
    .feedback-form select,
    .feedback-form input,
    .feedback-form textarea {
        padding: 1rem 1.25rem;
        border: 2px solid #e2e8f0;
        border-radius: 10px;
        font-size: 16px; /* Prevent zoom on iOS */
        width: 100%;
        box-sizing: border-box;
        transition: all 0.3s ease;
        background: #fafbfc;
    }
    
    .feedback-form select:focus,
    .feedback-form input:focus,
    .feedback-form textarea:focus {
        outline: none;
        border-color: #3498db;
        box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
        background: white;
    }
    
    .section-title {
        font-size: 1.8rem;
        text-align: center;
        color: #2c3e50;
        margin-bottom: 1.5rem;
        font-weight: 700;
    }
    
    .form-group label {
        font-weight: 600;
        color: #2c3e50;
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    .feedback-form textarea {
        min-height: 140px;
        resize: vertical;
    }
}

/* Site Footer */

/* Mobile Feedback CTA */
.mobile-feedback-cta {
    text-align: center;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 2rem 1.5rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
    position: relative;
    overflow: hidden;
}

.mobile-feedback-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
}

.mobile-feedback-cta h2 {
    margin: 0 0 0.75rem 0;
    font-size: 1.6rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.mobile-feedback-cta p {
    margin: 0;
    font-size: 1.1rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
    font-weight: 400;
    line-height: 1.5;
}

@media (min-width: 769px) {
    .mobile-feedback-cta {
        display: none;
    }
}

@media (max-width: 480px) {
    .mobile-feedback-cta {
        padding: 1.5rem 1rem;
        margin: 0 1rem 2rem;
        border-radius: 12px;
    }
    
    .mobile-feedback-cta h2 {
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
    }
    
    .mobile-feedback-cta p {
        font-size: 1rem;
    }
}

/* Add styles for download functionality and email collection */

/* Download Guide Button in Hero */
.download-guide-button {
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.download-guide-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    background: linear-gradient(135deg, #059669, #047857);
}

/* Premium Download Section */
.premium-download-section {
    margin: 3rem 0;
    padding: 2rem 0;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.premium-download-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.premium-download-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.premium-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.premium-download-card h4 {
    color: #1F2937;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.premium-download-card > p {
    color: #6B7280;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.download-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.benefit {
    color: #374151;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
}

.premium-download-button {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
}

.premium-download-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(245, 158, 11, 0.4);
    background: linear-gradient(135deg, #D97706, #B45309);
}

/* Email Collection Modal */
.email-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

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

.email-modal-content {
    background: white;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
}

.email-modal-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid #E5E7EB;
    position: relative;
}

.email-modal-header h3 {
    color: #1F2937;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    padding-right: 2rem;
}

.email-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: #9CA3AF;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
    transition: color 0.2s ease;
}

.email-modal-close:hover {
    color: #374151;
}

.email-modal-body {
    padding: 2rem;
}

.email-modal-benefits {
    margin-bottom: 2rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: #F9FAFB;
    border-radius: 8px;
}

.benefit-icon {
    font-size: 1.2rem;
    margin-right: 0.75rem;
    width: 1.5rem;
    text-align: center;
}

.email-collection-form .form-group {
    margin-bottom: 1rem;
}

.email-collection-form input,
.email-collection-form select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
    font-family: inherit;
}

.email-collection-form input:focus,
.email-collection-form select:focus {
    outline: none;
    border-color: #3B82F6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.email-collection-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
}

.email-collection-form select {
    background-color: white;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
    appearance: none;
}

.email-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #3B82F6, #1D4ED8);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.email-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
    background: linear-gradient(135deg, #1D4ED8, #1E40AF);
}

.email-disclaimer {
    font-size: 0.875rem;
    color: #6B7280;
    text-align: center;
    line-height: 1.4;
    margin: 0;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .download-guide-button {
        width: 100%;
        order: 3;
    }
    
    .premium-download-card {
        padding: 1.5rem;
    }
    
    .download-benefits {
        grid-template-columns: 1fr;
    }
    
    .email-modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .email-modal-header,
    .email-modal-body {
        padding: 1.5rem;
    }
}

/* Site Footer Styles */
.site-footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

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

.footer-section h4 {
    color: #3498db;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border-bottom: 2px solid #3498db;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-section a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #5dade2;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    color: #95a5a6;
    font-size: 0.9rem;
    margin: 0;
}

/* Footer responsive design */
@media (max-width: 768px) {
    .site-footer {
        padding: 2rem 0 1rem;
        margin-top: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
    }
    
    .footer-section p {
        font-size: 0.85rem;
    }
    
    .footer-bottom {
        padding-top: 1rem;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
    }
}