/* ===== GLOBAL STYLES ===== */

* {
    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;
    color: #1F2937;
    overflow-x: hidden;
}

/* ===== HEADER STYLES ===== */
/* Header Styles */
header {
    background: #2563EB;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Top Level Navigation */
.nav-top {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-top-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: #FCD34D; /* Fallback color */
    background: linear-gradient(135deg, #FCD34D 0%, #F59E0B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    text-shadow: 0 1px 3px rgba(252, 211, 77, 0.3);
}

.nav-auth {
    display: flex;
    gap: 16px;
    align-items: center;
}

/* Bottom Level Navigation */
.nav-bottom {
    padding: 12px 0;
    background: linear-gradient(135deg, #7C3AED 0%, #9333EA 50%, #A855F7 100%);
}

.nav-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-sections {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-interest {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 16px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #4B5563;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:not(.btn):hover {
    color: #4F46E5;
    transform: translateY(-2px);
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 50%;
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

/* Section navigation links in header */
.nav-section-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-section-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.nav-section-link.active {
    color: white;
    background: rgba(255, 255, 255, 0.2);
}

/* Interest button in header */
.btn-interest-nav {
    background: linear-gradient(135deg, #FCD34D 0%, #F59E0B 100%);
    color: #1F2937;
    font-weight: 800;
    font-size: 16px;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(252, 211, 77, 0.4);
    border: 2px solid #FCD34D;
}

.btn-interest-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(252, 211, 77, 0.6);
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: white;
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, #4F46E5 0%, #9333EA 50%, #A855F7 100%);
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    color: white;
    text-align: center;
    padding-top: 200px;
    padding-bottom: 60px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: white;
}

.hero-content h1 .highlight {
    background: linear-gradient(135deg, #FCD34D 0%, #F59E0B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #FCD34D; /* Fallback for browsers that don't support background-clip */
}

/* Interest Button */
.interest-button-container {
    margin-bottom: 32px;
    text-align: center;
}

.btn-interest {
    background: linear-gradient(135deg, #FCD34D 0%, #F59E0B 100%);
    color: #1F2937;
    font-weight: 700;
    font-size: 16px;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(252, 211, 77, 0.3);
    animation: pulse-glow 2s infinite;
}

.btn-interest:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(252, 211, 77, 0.4);
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(252, 211, 77, 0.3);
    }
    50% {
        box-shadow: 0 6px 20px rgba(252, 211, 77, 0.5);
    }
}

.hero-content > p {
    font-size: 18px;
    font-weight: 700;
    font-style: italic;
    margin-bottom: 48px;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.95);
}

/* Hero Map Container */
.hero-map-container {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 1000px;
    margin: 0 auto 48px auto;
    color: #1F2937;
}

.hero-map-container .map-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 12px;
}

.hero-map-container .map-header p {
    color: #6B7280;
    font-size: 16px;
    opacity: 1;
    margin-bottom: 24px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    opacity: 0.9;
}

.trust-item::before {
    content: "✓";
    color: #10B981;
    font-weight: bold;
}

/* ===== MAP STYLES (Now in Hero) ===== */
.map-header {
    text-align: center;
    margin-bottom: 32px;
}

.search-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.search-input {
    padding: 16px;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    width: 100%;
}

.search-input:focus {
    outline: none;
    border-color: #4F46E5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* Map Styles - Preserve existing functionality */
#map {
    height: 400px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* ===== ABOUT SECTION ===== */
.about-section {
    background: white;
    padding: 100px 0 80px 0;
    margin-top: 20px;
}

.about-header {
    text-align: center;
    margin-bottom: 64px;
}

.about-header h2 {
    font-size: 48px;
    font-weight: 800;
    color: #1F2937;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.about-header .highlight {
    color: #FF6B35;
}

.about-header p {
    font-size: 18px;
    color: #6B7280;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 80px;
}

.feature-card {
    text-align: center;
    padding: 32px 24px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 12px;
}

.feature-card p {
    color: #6B7280;
    line-height: 1.6;
}

/* ===== HOW IT WORKS SECTION ===== */
.how-it-works {
    background: #F9FAFB;
    padding: 80px 0;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    color: #1F2937;
    margin-bottom: 48px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.how-it-works-container {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-bottom: 48px;
}

.workflow-section {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.workflow-title {
    font-size: 28px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 32px;
    text-align: center;
    padding-bottom: 16px;
    border-bottom: 3px solid #4F46E5;
}

.workflow-title.provider {
    border-bottom-color: #FF6B35;
}



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

.step-card {
    background: white;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    position: relative;
}

.step-number {
    position: absolute;
    top: -16px;
    left: 24px;
    background: #FF6B35;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.step-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 12px;
}

.step-card p {
    color: #6B7280;
}

/* ===== SERVICES SECTION ===== */
.services-section {
    background: white;
    padding: 80px 0;
}

.services-section .section-title {
    color: #1F2937;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.service-item {
    background: #F9FAFB;
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.service-item:hover {
    background: #4F46E5;
    color: white;
    transform: translateY(-4px);
}

/* ===== FOOTER STYLES ===== */
.footer {
    background: #1F2937;
    color: white;
    padding: 24px 0;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #D1D5DB;
    text-decoration: none;
    transition: color 0.3s ease;
}

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