﻿@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&display=swap');

/* ═══════════════════════════════════════════════════════════
   CSS VARIABLES - NEW BRANDING COLORS
   ═══════════════════════════════════════════════════════════ */
:root {
    /* Primary Blue - Trust & Medical Expertise */
    --boomerpath-blue: #3b82f6;
    --boomerpath-blue-dark: #2563eb;
    --boomerpath-blue-light: #93c5fd;
    --boomerpath-blue-lighter: #dbeafe;
    /* Secondary Coral/Peach - Warmth & Care */
    --boomerpath-coral: #f97316;
    --boomerpath-coral-dark: #ea580c;
    --boomerpath-coral-light: #fed7aa;
    /* Tertiary Teal - Calm & Health */
    --boomerpath-teal: #06b6d4;
    --boomerpath-teal-dark: #0891b2;
    --boomerpath-teal-light: #a5f3fc;
    /* Success Green - Wellness & Positive */
    --boomerpath-green: #10b981;
    --boomerpath-green-dark: #059669;
    --boomerpath-green-light: #d1fae5;
    /* Neutral Text Colors */
    --text-primary: #1e3a8a;
    --text-secondary: #475569;
    --text-tertiary: #64748b;
    --text-light: #9ca3af;
    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-tertiary: #f3f4f6;
    --border-color: #e5e7eb;
    /* Legacy accent for backward compatibility */
    --boomerpath-accent: #3b82f6;
    /* Font Family */
    --font-family-primary: 'Nunito', sans-serif;
}

/* ═══════════════════════════════════════════════════════════
   BASE TYPOGRAPHY AND COLORS
   ═══════════════════════════════════════════════════════════ */
body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: var(--bg-secondary);
    color: var(--text-secondary);
}

h1, h2, h3,
.nav-links a {
    font-family: var(--font-family-primary);
    color: var(--text-primary);
}

a {
    color: var(--boomerpath-blue);
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

    a:hover,
    a:focus {
        color: var(--boomerpath-blue-dark);
        text-decoration: underline;
    }

/* ═══════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════ */
.site-header {
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.header-shell {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    height: 100px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    padding: 10px 0 10px 10px;
}

.logo {
    height: 80px;
    max-width: 180px;
    margin: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-right: 20px;
}

    .nav-links a {
        padding: 0.5rem 1rem;
        background: linear-gradient(135deg, var(--boomerpath-blue) 0%, var(--boomerpath-blue-dark) 100%);
        color: #fff;
        border-radius: 8px;
        font-weight: 600;
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
    }

        .nav-links a:hover,
        .nav-links a:focus {
            background: linear-gradient(135deg, var(--boomerpath-blue-dark) 0%, var(--boomerpath-blue) 100%);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
            text-decoration: none;
        }

/* ═══════════════════════════════════════════════════════════
   UTILITY CLASSES FOR NEW COLORS
   ═══════════════════════════════════════════════════════════ */

/* Background Utilities */
.bg-blue {
    background-color: var(--boomerpath-blue);
}

.bg-blue-light {
    background-color: var(--boomerpath-blue-light);
}

.bg-coral {
    background-color: var(--boomerpath-coral);
}

.bg-teal {
    background-color: var(--boomerpath-teal);
}

.bg-green {
    background-color: var(--boomerpath-green);
}

/* Text Color Utilities */
.text-blue {
    color: var(--boomerpath-blue);
}

.text-coral {
    color: var(--boomerpath-coral);
}

.text-teal {
    color: var(--boomerpath-teal);
}

.text-green {
    color: var(--boomerpath-green);
}

.text-primary {
    color: var(--text-primary);
}

.text-secondary {
    color: var(--text-secondary);
}

/* Button Variants */
.btn-primary {
    background: linear-gradient(135deg, var(--boomerpath-blue) 0%, var(--boomerpath-blue-dark) 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(59, 130, 246, 0.3);
    }

.btn-coral {
    background: linear-gradient(135deg, var(--boomerpath-coral) 0%, var(--boomerpath-coral-dark) 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.2);
}

    .btn-coral:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(249, 115, 22, 0.3);
    }

.btn-outline {
    background: transparent;
    color: var(--boomerpath-blue);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    border: 2px solid var(--boomerpath-blue);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .btn-outline:hover {
        background: var(--boomerpath-blue);
        color: white;
    }
/* ═══════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════ */
.hero-section {
    position: relative;
    height: 480px;
    background-image: url("/images/hero.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: #fff;
    padding: 2rem;
    z-index: 1;
    position: relative;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--boomerpath-blue);
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.2s ease-in-out;
}

    .cta-button:hover,
    .cta-button:focus {
        background-color: var(--boomerpath-blue-dark);
        text-decoration: none;
    }

/* ═══════════════════════════════════════════════════════════
   FEATURES SECTION
   ═══════════════════════════════════════════════════════════ */
.features-section {
    margin-top: 0;
    padding: 1rem 2rem;
}

.section-header {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 2rem;
    color: var(--boomerpath-blue);
}

.feature-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.feature-card {
    background-color: #fefefe;
    border: 1px solid #ddd;
    padding: 1.5rem;
    width: 300px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.footer-section {
    background-color: var(--boomerpath-blue);
    color: #fff;
    padding: 2rem 1.5rem;
    text-align: center;
    font-family: var(--font-family-primary);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

    .footer-section .container {
        max-width: 1200px;
        margin: 0 auto;
    }

.footer-copy {
    margin: 0;
    font-size: 0.95rem;
    color: #fff;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

    .footer-links li {
        display: inline;
    }

    .footer-links a {
        color: #fff;
        font-weight: 500;
        text-decoration: none;
        transition: color 0.2s ease;
    }

        .footer-links a:hover {
            color: #cfd8e3;
            text-decoration: none;
        }

/* ═══════════════════════════════════════════════════════════
   PRIVACY PAGE
   ═══════════════════════════════════════════════════════════ */
.privacy-header {
    background-color: #f0f8ff;
    padding: 2rem;
    text-align: center;
}

    .privacy-header h1 {
        font-size: 2.5rem;
        color: var(--boomerpath-blue-dark);
        margin-bottom: 0.5rem;
    }

.privacy-section {
    padding: 2rem;
    border-bottom: 1px solid #eee;
}

    .privacy-section h2 {
        font-size: 1.75rem;
        color: var(--boomerpath-blue);
        margin-bottom: 1rem;
    }

    .privacy-section ul {
        padding-left: 1.5rem;
        list-style: disc;
    }

    .privacy-section p {
        font-size: 1.05rem;
        line-height: 1.6;
        color: #333;
    }

/* ═══════════════════════════════════════════════════════════
   REGISTRATION PAGE
   ═══════════════════════════════════════════════════════════ */
.register-wrapper {
    display: flex;
    justify-content: center;
    padding: 3rem 1rem;
    min-height: calc(100vh - 200px);
}

.register-card {
    width: 100%;
    max-width: 1100px;
    background-color: #fff;
    padding: 2.5rem 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Table Layout for Two Columns */
.register-table {
    width: 100%;
    border-collapse: collapse;
}

    .register-table td {
        vertical-align: top;
        padding: 0;
    }

.form-column {
    width: 60%;
    padding-right: 2rem;
}

.cards-column {
    width: 40%;
    min-width: 380px;
}

.register-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--boomerpath-blue);
    margin-bottom: 0.5rem;
    text-align: center;
}

.register-subtitle {
    text-align: center;
    color: #6c757d;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.section-heading {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--boomerpath-blue);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9ecef;
}

/* Account Type Cards - Vertical in Table */
.account-type-section {
    margin-bottom: 0;
}

.account-type-cards-vertical {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.account-type-card {
    position: relative;
    cursor: pointer;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.3s ease;
    background: white;
    width: 100%;
}

    .account-type-card:hover {
        border-color: var(--boomerpath-blue);
        background-color: #e3f2fd;
        box-shadow: 0 4px 12px rgba(61, 83, 111, 0.1);
        transform: translateY(-2px);
    }

    .account-type-card input[type="radio"] {
        position: absolute;
        opacity: 0;
    }

        .account-type-card input[type="radio"]:checked + .card-content {
            color: var(--boomerpath-blue);
        }

            .account-type-card input[type="radio"]:checked + .card-content::before {
                content: '✓';
                position: absolute;
                top: 10px;
                right: 10px;
                background: var(--boomerpath-blue);
                color: white;
                width: 24px;
                height: 24px;
                border-radius: 50%;
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 14px;
                font-weight: bold;
            }

            .account-type-card input[type="radio"]:checked + .card-content .card-icon {
                background: var(--boomerpath-blue);
                color: white;
            }

.card-content {
    position: relative;
    text-align: center;
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #e9ecef;
    color: var(--boomerpath-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
}

.card-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.card-content p {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.4;
}

/* Form Sections */
.form-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

    .form-group label {
        font-weight: 600;
        margin-bottom: 0.5rem;
        color: #495057;
    }

    .form-group .form-control {
        padding: 0.75rem;
        border-radius: 6px;
        border: 1px solid #ced4da;
        transition: border-color 0.15s ease-in-out;
    }

        .form-group .form-control:focus {
            border-color: var(--boomerpath-blue);
            box-shadow: 0 0 0 0.2rem rgba(61, 83, 111, 0.25);
        }

/* Submit Button - Branding Blue */
#registerForm .btn-primary {
    background-color: var(--boomerpath-blue);
    border-color: var(--boomerpath-blue);
    font-weight: 600;
    transition: all 0.3s ease;
}

    #registerForm .btn-primary:hover {
        background-color: var(--boomerpath-blue-dark);
        border-color: var(--boomerpath-blue-dark);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(61, 83, 111, 0.3);
    }

    #registerForm .btn-primary:active {
        transform: translateY(0);
    }

    #registerForm .btn-primary:focus {
        box-shadow: 0 0 0 0.25rem rgba(61, 83, 111, 0.25);
    }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE DESIGN
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 992px) {
    /* Stack table on mobile */
    .register-table,
    .register-table tbody,
    .register-table tr,
    .register-table td {
        display: block;
        width: 100%;
    }

    .form-column,
    .cards-column {
        width: 100%;
        padding-right: 0;
    }

    .cards-column {
        margin-top: 2rem;
        min-width: 0;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: auto;
        padding: 2rem 1.5rem 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .features-section {
        padding: 1rem 1.5rem;
    }

    .header-shell {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1rem;
        height: auto;
    }

    .nav-links {
        align-self: flex-end;
    }

    .register-wrapper {
        padding: 1.5rem 1rem;
    }

    .register-card {
        padding: 1.5rem;
        max-width: 100%;
    }

    .register-layout {
        gap: 1.5rem;
    }

    .account-type-card {
        min-width: 260px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .footer-links {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
    }
}
