/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0066FF;
    --secondary-color: #0052CC;
    --accent-color: #4A90E2;
    --danger-color: #F04747;
    --warning-color: #FAA61A;
    --bg-primary: #F5F5F5;
    --bg-secondary: #F8F9FA;
    --bg-tertiary: #F0F2F5;
    --text-primary: #2C2F33;
    --text-secondary: #6C757D;
    --text-light: #99AAB5;
    --border-color: #E3E5E8;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
    --radius: 12px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: white;
    overflow-x: hidden;
    padding-top: 70px; /* Account for fixed navbar */
    transition: padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth resizing - reduce transitions during window resize for better performance */
body.is-resizing * {
    transition-duration: 0.1s !important;
}

/* Smooth scrolling for the entire page */
html {
    scroll-behavior: smooth;
}

/* Navigation - Smooth Transitions */
.navbar {
    background: white;
    box-shadow: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid #e5e7eb;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, padding, box-shadow;
}

.navbar.scrolled {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-bottom-color: #d1d5db;
}

.nav-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 1.2rem 2rem 0.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-brand {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.nav-brand h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

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

.nav-menu, .nav-menu-right {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu a, .nav-menu-left a, .nav-menu-right a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.875rem;
    transition: none;
    position: relative;
}

.nav-menu a:hover, .nav-menu-left a:hover, .nav-menu-right a:hover {
    color: var(--text-primary);
}

.nav-menu-left a:not([class*="btn"]):hover,
.nav-menu-right a:not([class*="btn"]):hover {
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 0.75rem;
    margin-bottom: -0.75rem;
}

.nav-menu-left a.active, .nav-menu-right a.active {
    color: #2d2d2d;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 0.75rem;
    margin-bottom: -0.75rem;
}

.btn-login {
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--primary-color);
    border-radius: var(--radius);
    color: var(--primary-color) !important;
}

.btn-signup {
    padding: 0.5rem 1.5rem;
    background: var(--primary-color);
    color: white !important;
    border-radius: var(--radius);
}

.btn-signin {
    padding: 0.5rem 1.2rem;
    background: var(--primary-color);
    color: white !important;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 0.9rem;
    transition: none;
    box-shadow: none;
}

.btn-signin:hover {
    background: var(--primary-color);
    color: white !important;
    transform: none;
    box-shadow: none;
    border-bottom: none;
}

.btn-employers {
    padding: 0.5rem 1.2rem;
    background: var(--primary-color);
    color: white !important;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 0.9rem;
    transition: none;
    box-shadow: none;
}

.btn-employers:hover {
    background: var(--primary-color);
    color: white !important;
    transform: none;
    box-shadow: none;
    border-bottom: none;
}

.auth-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.divider-vertical {
    width: 1px;
    height: 30px;
    background-color: #d1d5db;
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-find-jobs {
    padding: 0.8rem 2rem;
    background: #0066FF !important;
    background-color: #0066FF !important;
    color: white !important;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.btn-find-jobs:hover {
    background: #0052CC !important;
    background-color: #0052CC !important;
    transform: translateY(-2px);
}

/* Old hamburger - deprecated */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* New Hamburger Menu Icon Styles */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger-menu span {
    display: block;
    height: 3px;
    width: 100%;
    background: #4a5568;
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.hamburger-menu:hover span {
    background: #2d3748;
}

.hamburger-menu.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.mobile-menu-overlay.active {
    right: 0;
}

.mobile-menu-overlay::before {
    content: '';
    position: fixed;
    top: 0;
    left: -100vw;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: -1;
}

.mobile-menu-overlay.active::before {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-content {
    padding: 24px;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f0f2f5;
}

.mobile-menu-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #2C2F33;
    margin: 0;
}

.close-menu {
    background: none;
    border: none;
    font-size: 36px;
    color: #6C757D;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.close-menu:hover {
    background: #f0f2f5;
    color: #2C2F33;
}

.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-list li {
    margin-bottom: 8px;
}

.mobile-menu-list a {
    display: block;
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 500;
    color: #2C2F33;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(0);
}

.mobile-menu-list a:hover {
    background: #f0f2f5;
    color: #0066FF;
    transform: translateX(8px);
}

.mobile-menu-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 16px 0;
}

.mobile-menu-signin,
.mobile-menu-employers {
    background: #0066FF !important;
    color: white !important;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 102, 255, 0.2);
}

.mobile-menu-signin:hover,
.mobile-menu-employers:hover {
    background: #0052CC !important;
    transform: translateX(0) translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(0, 102, 255, 0.3);
}

/* Hero Section - Old (kept for other pages) */
.hero {
    background: linear-gradient(135deg, #0066FF 0%, #0052CC 100%);
    padding: 5rem 2rem;
    text-align: center;
    color: white;
}

/* Modern Hero Section */
.hero-modern {
    background: white;
    padding: 2rem 2rem;
    min-height: 80vh;
    display: flex;
    align-items: flex-start;
    padding-top: 14rem;
}

.hero-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.search-container {
    max-width: 800px;
    margin: 0 auto 2rem;
    display: flex;
    gap: 1rem;
    background: white;
    padding: 1rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.search-container input {
    flex: 1;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
}

.btn-search {
    padding: 1rem 2rem;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-search:hover {
    background: #3CA374;
}

.popular-searches {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 0.9rem;
}

.popular-searches a {
    color: white;
    text-decoration: none;
    padding: 0.3rem 0.8rem;
    background: rgba(255,255,255,0.2);
    border-radius: 20px;
    transition: background 0.3s;
}

.popular-searches a:hover {
    background: rgba(255,255,255,0.3);
}

/* Stats Section */
.stats {
    background: var(--bg-secondary);
    padding: 3rem 2rem;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Featured Jobs */
.featured-jobs {
    padding: 4rem 2rem;
    background: var(--bg-primary);
}

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

.featured-jobs h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

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

.job-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: all 0.3s;
    cursor: pointer;
}

.job-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
}

.company-logo {
    width: 50px;
    height: 50px;
    background: var(--bg-secondary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.job-info {
    flex: 1;
    margin-left: 1rem;
}

.job-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.company-name {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.job-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.job-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.job-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    padding: 0.3rem 0.8rem;
    background: var(--bg-tertiary);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.tag.age-tag {
    background: #E3F2FD;
    color: #1976D2;
}

.tag.type-tag {
    background: #F3E5F5;
    color: #7B1FA2;
}

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

.btn-primary {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 600;
    transition: background 0.3s;
}

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

/* Categories */
.categories {
    background: var(--bg-secondary);
    padding: 4rem 2rem;
}

.categories h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

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

.category-card {
    background: white;
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.category-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.category-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

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

/* How It Works */
.how-it-works {
    padding: 4rem 2rem;
    background: var(--bg-primary);
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0066FF 0%, #0052CC 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.step h3 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.step p {
    color: var(--text-secondary);
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 3rem 2rem 1rem;
}

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

.footer-section h3, .footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

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

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid #444;
    color: #B2B8BD;
}

.footer-bottom a {
    color: #B2B8BD;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .nav-menu-left {
        display: none !important;
    }

    .hamburger {
        display: flex;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .search-container {
        flex-direction: column;
    }

    .job-grid {
        grid-template-columns: 1fr;
    }

    .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .steps {
        grid-template-columns: 1fr;
    }
}
/* Modern Landing Page Styles */
.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-left {
    padding-right: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.search-modern {
    display: flex;
    gap: 1rem;
    padding: 0.5rem;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.search-input,
.location-input {
    flex: 1;
    padding: 1rem;
    border: none;
    background: white;
    border-radius: 8px;
    font-size: 1rem;
}

.search-input {
    flex: 2;
}

.btn-search-modern {
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-search-modern:hover {
    background: var(--secondary-color);
}

/* Auth Card */
.auth-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0,102,255,0.1);
    border: 1px solid var(--border-color);
}

.auth-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.auth-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.btn-primary-full,
.btn-secondary-full {
    display: block;
    width: 100%;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-primary-full {
    background: var(--primary-color);
    color: white;
    margin-bottom: 1rem;
}

.btn-primary-full:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-secondary-full {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary-full:hover {
    background: var(--bg-secondary);
}

.divider-text {
    text-align: center;
    color: var(--text-light);
    margin: 1rem 0;
    font-size: 0.9rem;
}

/* Value Section */
.value-section {
    padding: 4rem 2rem;
    background: var(--bg-secondary);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.value-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.value-card p {
    color: var(--text-secondary);
}

/* Simple Footer */
.footer-simple {
    background: white;
    padding: 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

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

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

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

/* Responsive Updates */
@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-left {
        padding-right: 0;
    }

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

    .search-modern {
        flex-direction: column;
    }

    .auth-card {
        max-width: 500px;
        margin: 0 auto;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .value-grid {
        grid-template-columns: 1fr;
    }
}

/* Teen-Focused Styles */
.teen-stats {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.stat-bubble {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    background: linear-gradient(135deg, #E8F4FD 0%, #F0F8FF 100%);
    border: 2px solid #0066FF;
    border-radius: 50px;
    font-weight: 600;
    color: var(--text-primary);
    animation: float 3s ease-in-out infinite;
}

.stat-bubble:nth-child(2) {
    animation-delay: 0.5s;
}

.stat-bubble:nth-child(3) {
    animation-delay: 1s;
}

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

.stat-emoji {
    font-size: 1.3rem;
}

/* Auth Card - Updated */
.auth-card {
    position: relative;
}

/* Teen Quotes Section */
.teen-quotes {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #F0F8FF 0%, #E8F4FD 100%);
}

.teen-quotes h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.quotes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.quote-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform 0.3s;
    border-left: 4px solid var(--primary-color);
}

.quote-card:hover {
    transform: translateY(-5px) rotate(1deg);
}

.quote-card p {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    font-style: italic;
}

.quote-card span {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Update hero styles */
/* Gradient title style removed - see updated version below */

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-weight: 500;
}

.btn-search-modern {
    background: linear-gradient(135deg, #0066FF 0%, #0052CC 100%);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.btn-search-modern:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0,102,255,0.3);
}

.search-input::placeholder,
.location-input::placeholder {
    color: #999;
    font-style: italic;
}

/* Mobile Responsive Updates */
@media (max-width: 768px) {
    .teen-stats {
        justify-content: center;
    }

    .stat-bubble {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }

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

    .teen-quotes h2 {
        font-size: 1.8rem;
    }

    .quotes-grid {
        grid-template-columns: 1fr;
    }
}

/* Updated Navigation */
.nav-brand-left {
    flex: 0;
}

.nav-brand-left h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-menu-left {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    padding-left: 4rem;
    margin-left: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu-right {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin-left: auto;
    padding-right: 10px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu-right li:not(.auth-buttons) {
    align-self: flex-end;
}

/* Logo smooth transitions */
.nav-logo {
    transition: none;
}

.nav-logo img {
    transition: none;
}

/* Disabled: logo scaling on scroll */
.navbar.scrolled .nav-logo img {
    transform: none;
}

/* Additional intermediate breakpoints for ultra-smooth transitions */
@media (max-width: 1200px) {
    .nav-container {
        padding: 0.6rem 1.75rem;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-menu-left, .nav-menu-right {
        gap: 1.75rem;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
}

@media (max-width: 900px) {
    .nav-container {
        padding: 0.6rem 1.25rem;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-menu-left, .nav-menu-right {
        gap: 1.25rem;
        font-size: 0.95rem;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
}

/* Modern Search Box */
.search-box-modern {
    background: white;
    border-radius: 60px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    padding: 0.4rem;
    margin-top: 2rem;
    max-width: 700px;
    border: 1px solid var(--border-color);
}

.search-inner {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-input-modern,
.location-input-modern {
    border: none;
    background: transparent;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    outline: none;
}

.search-input-modern {
    flex: 2;
}

.location-input-modern {
    flex: 1;
}

.search-divider {
    width: 1px;
    height: 30px;
    background: var(--border-color);
}

.btn-search-new {
    padding: 0.9rem 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-search-new:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
}

/* Update hero title without gradient */
.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .search-box-modern {
        border-radius: 16px;
    }

    .search-inner {
        flex-direction: column;
        gap: 1rem;
    }

    .search-divider {
        width: 100%;
        height: 1px;
    }

    .search-input-modern,
    .location-input-modern {
        width: 100%;
    }

    .btn-search-new {
        width: 100%;
    }
}

/* New Hero Layout */
.hero-container-new {
    max-width: 1200px;
    margin: 0 auto;
}

.hero-top-left {
    text-align: left;
    margin-bottom: 3rem;
}

.hero-title-left {
    font-size: 5rem;
    font-weight: bold;
    color: #2a2a2a;
    margin-bottom: 1rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-family: 'Trade Gothic Bold No. 2', 'Trade Gothic', 'Arial', sans-serif;
    white-space: nowrap;
    text-align: center;
}

#changingText {
    display: inline-block;
    min-width: 300px;
    text-align: left;
}

@keyframes blink {
    from, to {
        border-color: transparent;
    }
    50% {
        border-color: #2a2a2a;
    }
}

.hero-subtitle-left {
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-align: center;
}

.hero-main-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-search-section {
    display: flex;
    align-items: center;
}

/* Clean Auth Card */
.auth-card-clean {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    text-align: center;
}

.ready-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.auth-card-clean p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.btn-get-started {
    display: inline-block;
    width: 100%;
    padding: 1.2rem 2rem;
    background: var(--primary-color);
    color: white;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-get-started:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 102, 255, 0.25);
}

/* Responsive adjustments */
@media (max-width: 968px) {
    .hero-main-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .auth-card-clean {
        max-width: 400px;
        margin: 0 auto;
    }

    .ready-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .hero-top-left {
        text-align: center;
    }

    .hero-title-left {
        font-size: 1.8rem;
    }

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

/* Logo Image Styles */
.logo-img {
    height: 70px;
    width: auto;
    display: block;
    cursor: pointer;
    transition: transform 0.3s;
    margin: -10px 0;  /* This prevents the nav from expanding */
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav-brand-left {
    display: flex;
    align-items: center;
    overflow: visible;
}

/* Mobile responsive logo */
@media (max-width: 768px) {
    .logo-img {
        height: 50px;
        margin: -5px 0;
    }
}

/* Header Logo Styles */
.header-logo {
    height: 150px;
    width: auto;
    margin-bottom: 2rem;
    display: block;
}

@media (max-width: 768px) {
    .header-logo {
        height: 100px;
        margin-bottom: 1.5rem;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Hero Left-Aligned Layout */
.hero-container-flex {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 3rem;
    align-items: center;
}

.hero-left-image {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-left-image img {
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.hero-left-content {
    flex: 1;
    text-align: center;
    padding-left: 0;
    margin: 0 auto;
    max-width: 1000px;
}

.hero-right-content {
    display: none;
}

.info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.info-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.info-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2a2a2a;
    margin-bottom: 0.3rem;
}

.info-card p {
    font-size: 0.95rem;
    color: #6C757D;
}

/* Search Form - Modern Design */
.search-form {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    background: white;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1), 0 2px 6px rgba(0, 0, 0, 0.06);
    align-items: stretch;
    max-width: 900px;
    margin: 2rem auto 0;
    transition: all 0.3s ease;
    overflow: hidden;
    border: 1px solid #b0b0b0;
    position: relative;
    z-index: 1;
}

.search-form:focus-within {
    background: #f7f7f7;
    border-color: #0066FF;
    box-shadow: 0 4px 14px rgba(37, 87, 167, 0.14), 0 2px 6px rgba(0, 0, 0, 0.06);
}

.search-group {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    background: transparent;
    border-radius: 0;
    border: none;
    transition: all 0.3s ease;
}

.search-group:focus-within {
    background: transparent;
    border: none;
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #9ca3af;
    pointer-events: none;
}

.search-input {
    width: 100%;
    padding: 18px 20px 18px 50px;
    border: none;
    font-size: 14px;
    background: transparent;
    color: #2d2d2d;
    font-weight: 500;
    height: 58px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.search-input:focus {
    outline: none;
}

.search-input::placeholder {
    color: #9ca3af;
    font-size: 14px;
    font-weight: 400;
}

.search-button {
    background: #0066FF;
    color: white;
    border: none;
    border-radius: 12px;
    padding: 0 32px;
    margin: 8px 10px 8px 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 115px;
    letter-spacing: 0.3px;
    height: 42px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.search-button:active {
    transform: scale(0.98);
}

/* Responsive */
@media (max-width: 968px) {
    .hero-container-flex {
        flex-direction: column;
        gap: 2rem;
    }

    .hero-left-content {
        width: 100%;
    }

    .search-box-left {
        max-width: 100%;
    }
}

/* Gradual logo size reduction at intermediate breakpoints */
@media (max-width: 1200px) {
    .nav-logo img {
        height: 180px;
        width: 180px;
        transition: none;
    }

    .nav-logo {
        left: -41px;
        top: -78px;
    }
}

@media (max-width: 1100px) {
    .nav-logo img {
        height: 160px;
        width: 160px;
    }

    .nav-logo {
        left: -37px;
        top: -70px;
    }
}

@media (max-width: 1000px) {
    .nav-logo img {
        height: 140px;
        width: 140px;
    }

    .nav-logo {
        left: -32px;
        top: -61px;
    }
}

@media (max-width: 900px) {
    .nav-logo img {
        height: 120px;
        width: 120px;
    }

    .nav-logo {
        left: -28px;
        top: -53px;
    }
}

@media (max-width: 850px) {
    .nav-logo img {
        height: 100px;
        width: 100px;
    }

    .nav-logo {
        left: -23px;
        top: -44px;
    }
}

/* Show hamburger menu when items start getting close */
@media (max-width: 1100px) {
    /* Start showing hamburger when About gets close to Labour Law Guide */
    .hamburger-menu {
        display: flex;
    }

    .nav-menu-left li:not(:first-child) {
        opacity: 0;
        transform: scale(0.8);
        pointer-events: none;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-menu-right {
        opacity: 0;
        transform: scale(0.8);
        pointer-events: none;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
}

@media (max-width: 1000px) {
    /* Hide all menu items - use opacity/visibility for smooth transition */
    .nav-menu-left,
    .nav-menu-right {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .hamburger-menu {
        display: flex;
        margin-right: 20px;
        margin-left: auto;
    }
}

/* Tablet breakpoint for smooth transitions */
@media (max-width: 1024px) {
    .nav-container {
        padding: 0.6rem 1.5rem;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-menu-left, .nav-menu-right {
        gap: 1.5rem;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 60px;
        transition: padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .navbar {
        height: 60px;
        min-height: 60px;
        padding: 5px 0;
        border-bottom: none;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-container {
        padding: 0.4rem 1rem;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        min-height: 60px;
        height: 100%;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* Logo on left - smooth transitions */
    .nav-logo {
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
        margin: 0 !important;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-logo img {
        height: 55px !important;
        width: 55px !important;
        margin-left: 0 !important;
        border-radius: 50%;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-logo {
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
        display: flex !important;
        align-items: center !important;
    }

    /* HIDE all menu items on mobile - show only hamburger */
    .nav-menu-left,
    .nav-menu-right {
        display: none !important;
        visibility: hidden !important;
    }

    /* Show hamburger menu */
    .hamburger-menu {
        display: flex !important;
        margin-right: 10px !important;
        margin-left: 0 !important;
    }

    /* SEARCH BAR MOBILE */
    .search-form {
        flex-direction: column !important;
        max-width: 100% !important;
        margin: 1.5rem 1rem !important;
        padding: 12px !important;
        gap: 10px !important;
    }

    .search-group {
        width: 100% !important;
    }

    .search-input {
        height: 48px !important;
        font-size: 15px !important;
        padding: 12px 15px 12px 45px !important;
    }

    .search-icon {
        left: 15px !important;
        width: 18px !important;
        height: 18px !important;
    }

    .search-button {
        width: 100% !important;
        height: 48px !important;
        margin: 0 !important;
        font-size: 15px !important;
        padding: 0 24px !important;
        min-width: auto !important;
    }

    .hero-container {
        padding: 2rem 1rem;
    }

    .search-box {
        padding: 12px;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 58px;
        transition: padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .navbar {
        height: 58px;
        min-height: 58px;
        padding: 4px 0;
        border-bottom: none;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-container {
        padding: 0.35rem 0.75rem;
        min-height: 58px;
        height: 100%;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-logo img {
        height: 50px !important;
        width: 50px !important;
        margin-left: 0 !important;
        transition: none;
    }

    .nav-logo {
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
        display: flex !important;
        align-items: center !important;
    }

    /* Ensure hamburger is visible on small phones */
    .hamburger-menu {
        display: flex !important;
        width: 26px;
        height: 19px;
    }

    .mobile-menu-overlay {
        max-width: 100%;
    }

    /* SEARCH BAR PHONE */
    .search-form {
        margin: 1rem 0.75rem !important;
        padding: 10px !important;
    }

    .search-input {
        height: 46px !important;
        font-size: 14px !important;
    }

    .search-button {
        height: 46px !important;
        font-size: 14px !important;
    }

    .hero-container {
        padding: 1.5rem 0.75rem;
    }

    .search-box {
        padding: 10px;
    }
}
