
.remedy-banner a {
    color: inherit;
    text-decoration: none;
}

.remedy-banner a:hover {
    text-decoration: underline;
}

/* Navigation */
.main-nav {
    background: transparent;  /* Remove grey background */
    padding: 0.25rem;
    position: fixed;
    top: 2rem; /* Adjusted to account for banner */
    right: 0;  /* Align to right side */
    z-index: 1000;
    width: auto;  /* Only take necessary width */
}

.nav-container {
    display: flex;
    justify-content: flex-end;  /* Align content to right */
    align-items: center;
    padding: 0 1rem;
}

.nav-logo {
    display: none;  /* Hide the logo text */
}

.hamburger-menu {
    display: block;
    background: var(--secondary-color);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 0.5rem 0.75rem;
    color: var(--text-color);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hamburger-menu:hover {
    background: rgba(45, 45, 45, 0.9);
    color: var(--accent-color);
}

.nav-links {
    position: absolute;
    top: 100%;
    right: 0;  /* Align dropdown to right */
    background: var(--secondary-color);
    padding: 0.5rem;
    flex-direction: column;
    gap: 0.5rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    border-radius: 4px;
    margin-top: 0.25rem;
    min-width: 200px;  /* Ensure dropdown has enough width for text */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    padding: 0.75rem 1rem;
    width: 100%;
    text-align: left;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-color);
}

.nav-link.active {
    color: var(--accent-color);
    background: rgba(74, 144, 226, 0.1);
}

/* Insurance Verification Page */
.insurance-container {
    padding-top: 120px; /* Increased padding to fix crowding */
    padding-bottom: 2rem;
    max-width: 800px;
}

.insurance-container h1 {
    color: var(--accent-color);
    margin-bottom: 1.5rem; /* Increased margin */
    font-size: 2.5rem;
    font-weight: 600;
}

.insurance-intro {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.insurance-form-container {
    background: var(--secondary-color);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.insurance-form .form-group {
    margin-bottom: 1.5rem;
}

.insurance-form label {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    display: block;
    font-weight: 500;
}

.insurance-form .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-color);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.insurance-form .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
    outline: none;
}

.insurance-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.insurance-form select.form-control {
    /* Improve dropdown visibility */
    background-color: var(--secondary-color);
    cursor: pointer;
    appearance: none;
    padding-right: 2.5rem;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

.insurance-form select.form-control:focus {
    background-color: var(--secondary-color);
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
    outline: none;
}

/* Style dropdown options */
.insurance-form select.form-control option {
    background-color: var(--secondary-color);
    color: var(--text-color);
    padding: 1rem;
}

/* Hover state for select */
.insurance-form select.form-control:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-verify {
    background: linear-gradient(135deg, var(--accent-color), #357ABD);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-verify:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.insurance-info {
    background: var(--secondary-color);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
}

.insurance-info h3 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.insurance-info ul {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.insurance-info ul li {
    color: var(--text-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.insurance-info ul li i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.insurance-note {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-top: 1rem;
}

.insurance-note i {
    color: var(--accent-color);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.insurance-note p {
    margin: 0;
    color: var(--text-color);
    opacity: 0.9;
    font-size: 0.95rem;
}

/* Update hero section to account for fixed nav */
/* Hero Section */
.hero {
    min-height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)),
                        url('https://images.unsplash.com/photo-1439066615861-d1af74d74000');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-start; /* Changed from center to flex-start */
    justify-content: center;
    text-align: center;
    padding-top: 20vh; /* Increased to account for banner */
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
}

.tagline {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-weight: 700;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Mobile adjustments for hero section */
@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        padding-top: 25vh; /* Adjusted for mobile as well */
        display: flex;
        align-items: flex-start;
        justify-content: center;
    }

    .hero-content {
        padding-top: 0;
    }

    .tagline {
        font-size: 2.5rem;
        padding: 0 1rem;
        margin-top: 0;
    }

    .hero-description {
        font-size: 1.2rem;
        padding: 0 1rem;
    }

    .cta-container {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding: 0 1rem;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
        flex-wrap: wrap;
    }

    .nav-logo {
        font-size: 1.2rem;
        width: 100%;
        text-align: center;
        margin-bottom: 0.5rem;
    }

    .nav-links {
        width: 100%;
        justify-content: center;
        gap: 0.5rem;
    }

    .nav-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }

    .insurance-container {
        padding: 80px 1rem 2rem;
    }

    .insurance-container h1 {
        font-size: 2rem;
    }

    .insurance-form-container {
        padding: 1.5rem;
    }
    .hero {
        padding-top: 120px; /* Account for wrapped nav */
    }

    .tagline {
        font-size: 2rem;
        padding: 0 1rem;
    }

    .hero-description {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .cta-container {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding: 0 1rem;
    }

    .cta-box {
        width: 100%;
        max-width: 100%;
        padding: 1.5rem;
    }


    .chat-messages {
        padding: 1rem;
        padding-bottom: 120px;
    }

    .chat-input {
        padding: 1rem;
    }

    .input-group {
        padding: 0.5rem;
    }

    .input-group input {
        font-size: 0.95rem;
    }

    .insurance-container,
    .schedule-container {
        padding: 120px 1rem 2rem;
    }

    .insurance-form-container,
    .schedule-form-container {
        padding: 1.25rem;
    }

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

    .form-control {
        font-size: 0.95rem;
        padding: 0.6rem 0.8rem;
    }

    .crisis-section {
        padding: 2rem 1rem;
    }

    .crisis-section h2 {
        font-size: 1.8rem;
    }

    .hotline-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .hotline-card {
        padding: 1.5rem;
    }

    .btn-verify,
    .btn-schedule,
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .disclaimer {
        font-size: 0.8rem;
        padding: 0 1rem;
    }

    .welcome-message {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .welcome-message h3 {
        font-size: 1.2rem;
    }

    .struggle-selection {
        padding: 1.25rem;
    }

    .struggle-option {
        padding: 1.25rem;
    }

    .struggle-option i {
        font-size: 1.5rem;
    }

    .struggle-option span {
        font-size: 1.1rem;
    }

    .struggle-option p {
        font-size: 0.9rem;
    }

    .profile-pic {
        font-size: 32px;
    }

    .representative-info h2 {
        font-size: 1.1rem;
    }

    .status-text {
        font-size: 0.8rem;
    }
    .cta-container {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .cta-box {
        width: 100%;
        max-width: 100%;
    }
    .container {
        padding: 1rem;
    }

    .message {
        max-width: 85%;
    }

    .chat-input {
        padding: 1rem;
    }

    .input-group {
        flex-direction: column;
    }

    .input-group button {
        width: 100%;
    }
}

/* Additional small screen optimizations */
@media (max-width: 480px) {
    .tagline {
        font-size: 1.8rem;
    }

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

    .message {
        max-width: 90%;
    }

    .form-control {
        font-size: 0.9rem;
    }
}

/* Remedy Therapy Banner */
.remedy-banner {
    background: var(--accent-color);
    color: white;
    text-align: center;
    padding: 0.5rem;
    font-weight: 500;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
}

.remedy-banner p {
    margin: 0;
    font-size: 0.9rem;
}


/* Terms of Service Page */
.terms-container {
    padding-top: 100px; /* Account for fixed nav */
    padding-bottom: 2rem;
    max-width: 800px;
}

/* Privacy Policy Page */
.privacy-container {
    padding-top: 120px; /* Account for fixed nav */
    padding-bottom: 2rem;
    max-width: 800px;
}

.privacy-container h1 {
    color: var(--accent-color);
    margin-bottom: 2rem;
    font-size: 2.5rem;
    font-weight: 600;
}

.privacy-intro {
    background: var(--secondary-color);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.privacy-intro p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
}

.privacy-intro ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.privacy-intro ul li {
    color: var(--text-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.privacy-intro ul li::before {
    content: "•";
    color: var(--accent-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.privacy-section {
    background: var(--secondary-color);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.privacy-section h2 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.privacy-section h2 i {
    font-size: 1.25rem;
}

.privacy-section h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    margin-top: 2rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.privacy-section p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
}

.privacy-section ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.privacy-section ul li {
    color: var(--text-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.privacy-section ul li::before {
    content: "•";
    color: var(--accent-color);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.privacy-section address {
    color: var(--text-color);
    font-style: normal;
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

/* Mobile adjustments for privacy page */
@media (max-width: 768px) {
    .privacy-container {
        padding: 100px 1rem 2rem;
    }

    .privacy-container h1 {
        font-size: 2rem;
    }

    .privacy-intro,
    .privacy-section {
        padding: 1.5rem;
    }

    .privacy-section h2 {
        font-size: 1.3rem;
    }

    .privacy-section h3 {
        font-size: 1.1rem;
    }

    .privacy-section p,
    .privacy-section ul li {
        font-size: 0.95rem;
    }
}

.terms-container h1 {
    color: var(--accent-color);
    margin-bottom: 2rem;
    font-size: 2.5rem;
    font-weight: 600;
}

.terms-section {
    background: var(--secondary-color);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.terms-section h2 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.terms-section h2 i {
    font-size: 1.25rem;
}

.terms-section p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
}

.terms-section ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.terms-section ul li {
    color: var(--text-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.terms-section ul li i {
    color: var(--accent-color);
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Mobile adjustments for terms page */
@media (max-width: 768px) {
    .terms-container {
        padding: 80px 1rem 2rem;
    }

    .terms-container h1 {
        font-size: 2rem;
    }

    .terms-section {
        padding: 1.5rem;
    }

    .terms-section h2 {
        font-size: 1.3rem;
    }

    .terms-section p,
    .terms-section ul li {
        font-size: 0.95rem;
    }
}

/* Keep existing styles below */
:root {
    --primary-color: #1a1a1a;
    --secondary-color: #2d2d2d;
    --accent-color: #4A90E2;
    --text-color: #ffffff;
    --chat-bg: rgba(26, 26, 26, 0.95);
    --message-user-bg: #4A90E2;
    --message-bot-bg: #2d2d2d;
    --input-bg: #2d2d2d;
    --gradient-start: rgba(74, 144, 226, 0.1);
    --gradient-end: rgba(74, 144, 226, 0.02);
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: var(--primary-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* Crisis Hotlines Section */
.crisis-section {
    background-color: var(--secondary-color);
    padding: 4rem 2rem;
    text-align: center;
}

.crisis-section h2 {
    color: var(--accent-color);
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

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

.hotline-card {
    background: var(--primary-color);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.hotline-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.hotline-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.hotline-card:hover i {
    transform: scale(1.1);
}

.hotline-card h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.hotline-card .phone {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 1rem 0;
    color: var(--text-color);
}

/* Chat Button */
.chat-button {
    background: linear-gradient(135deg, var(--accent-color), #357ABD);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.chat-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

.chat-button i {
    font-size: 1.3rem;
}

/* Chat Popup */
.chat-popup {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 380px;
    height: 600px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.chat-popup.active {
    display: flex;
    animation: slideUp 0.4s ease;
}

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

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    background: linear-gradient(to right, var(--secondary-color), #3a3a3a);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-header-info {
    flex: 1;
}

.representative-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.profile-pic-container {
    position: relative;
    width: 40px;
    height: 40px;
}

.profile-pic {
    font-size: 40px;
    color: var(--accent-color);
}

.status-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--secondary-color);
}

.status-indicator.online {
    background-color: #2ecc71;
}

.representative-info {
    display: flex;
    flex-direction: column;
}

.representative-info h2 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--text-color);
    font-weight: 600;
}

.status-text {
    font-size: 0.85rem;
    color: #2ecc71;
}

.minimize-button {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    margin-left: 1rem;
}


/* Struggle Selection Screen */
.struggle-selection {
    display: none;
    flex-direction: column;
    padding: 2rem;
    flex: 1;
    background: var(--chat-bg);
    overflow-y: auto; /* Added for scrolling */
}

.struggle-selection.active {
    display: flex;
    animation: fadeIn 0.4s ease;
}

.struggle-selection h3 {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.struggle-selection p {
    color: var(--text-color);
    text-align: center;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-size: 1.1rem;
}

.struggle-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.struggle-option {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.struggle-option:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.1), rgba(74, 144, 226, 0.05));
    border-color: var(--accent-color);
    box-shadow: 0 4px 20px rgba(74, 144, 226, 0.2);
}

.struggle-option i {
    font-size: 1.75rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.struggle-option span {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.struggle-option p {
    font-size: 0.95rem;
    opacity: 0.8;
    margin: 0;
    text-align: left;
    line-height: 1.5;
}

/* Chat Interface */
.chat-interface {
    display: none;
    flex-direction: column;
    flex: 1;
    background: var(--chat-bg);
    height: calc(100% - 68px); /* Account for header height */
    position: relative;
}

.chat-interface.active {
    display: flex;
    animation: fadeIn 0.4s ease;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    padding-bottom: 140px; /* Increased padding to prevent messages being hidden */
    display: flex;
    flex-direction: column;
    gap: 1rem;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

.chat-input {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.25rem;
    background: linear-gradient(to bottom, var(--secondary-color), #3a3a3a);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10;
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
    .chat-popup {
        width: 100%;
        height: 100%;
        bottom: 0;
        right: 0;
        border-radius: 0;
        margin: 0;
    }

    .chat-messages {
        padding: 1rem;
        padding-bottom: 120px; /* Adjusted padding for mobile */
    }

    .chat-input {
        padding: 1rem;
        background: var(--secondary-color);
    }

    .input-group {
        padding: 0.75rem;
        margin-bottom: env(safe-area-inset-bottom); /* iOS safe area support */
    }

    .message {
        max-width: 85%;
        font-size: 0.95rem;
        margin-bottom: 0.5rem; /* Added spacing between messages */
    }
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .message {
        max-width: 85%;
    }

    .chat-input {
        padding: 1rem;
    }

    .input-group {
        flex-direction: column;
    }

    .input-group button {
        width: 100%;
    }
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.chat-window {
    flex: 1;    background: var(--chat-bg);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.message {
    max-width: 75%;
    padding: 1rem 1.25rem;
    border-radius: 16px;
    animation: messageSlide 0.3s ease;
    line-height: 1.5;
    font-size: 0.95rem;
}

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

.user-message {    background: linear-gradient(135deg, var(--accent-color), #357ABD);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.2);
}

.bot-message {
    background: linear-gradient(135deg, var(--message-bot-bg), #383838);
    color: var(--text-color);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.welcome-message {
    text-align: center;
    background: linear-gradient(135deg, var(--message-bot-bg), #383838);
    padding: 2rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.welcome-message h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;fontweight: 600;
    letter-spacing:0.5px;
}

.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.chat-messages::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 3px;
}

.disclaimer {
    text-align: center;
    margin-top: 2rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Loading animation */
.typing-indicator {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--message-bot-bg);
    border-radius: 12px;
    width: fit-content;
    align-self: flex-start;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    animation: bounce 0.5s infinite alternate;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes bounce {
    from { transform: translateY(0); }
    to { transform: translateY(-5px); }
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .message {
        max-width: 85%;
    }

    .chat-input {
        padding: 1rem;
    }

    .input-group {
        flex-direction: column;
    }

    .input-group button {
        width: 100%;
    }
}

/* CTA Boxes */
.cta-container {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    justify-content: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.cta-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    flex: 1;
    max-width: 300px;
    text-align: center;
    transition: all 0.3s ease;
}

.cta-box:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-box i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.cta-box h3 {
    color: var(--text-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.cta-button {
    background: linear-gradient(135deg, var(--accent-color), #357ABD);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    font-weight: 500;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.cta-button i {
    font-size: 1.1rem;
    margin: 0;
    color: white;
}

@media (max-width: 768px) {
    .cta-container {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .cta-box {
        width: 100%;
        max-width: 100%;
    }
}

/* Schedule Call Page Styles */
.schedule-container {
    padding-top: 100px; /* Account for fixed nav */
    padding-bottom: 2rem;
    max-width: 800px;
}

.schedule-container h1 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 2.5rem;
    font-weight: 600;
}

.schedule-intro {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.schedule-form-container {
    background: var(--secondary-color);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.schedule-form .form-group {
    margin-bottom: 1.5rem;
}

.schedule-form label {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    display: block;
    font-weight: 500;
}

.schedule-form .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-color);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.schedule-form select.form-control {
    /* Improve dropdown visibility */
    background-color: var(--secondary-color);
    cursor: pointer;
    appearance: none;
    padding-right: 2.5rem;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

.schedule-form select.form-control:focus {
    background-color: var(--secondary-color);
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
    outline: none;
}

/* Style dropdown options */
.schedule-form select.form-control option {
    background-color: var(--secondary-color);
    color: var(--text-color);
    padding: 1rem;
}

/* Hover state for select */
.schedule-form select.form-control:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Focus state */
.schedule-form .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
    outline: none;
}

/* Placeholder text */
.schedule-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.btn-schedule {
    background: linear-gradient(135deg, var(--accent-color), #357ABD);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-schedule:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.schedule-info {
    background: var(--secondary-color);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
}

.schedule-info h3 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.schedule-info ul {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.schedule-info ul li {
    color: var(--text-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.schedule-info ul li i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.schedule-note {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-top: 1rem;
}

.schedule-note i {
    color: var(--accent-color);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.schedule-note p {
    margin: 0;
    color: var(--text-color);
    opacity: 0.9;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .schedule-container {
        padding: 80px 1rem 2rem;
    }

    .schedule-container h1 {
        font-size: 2rem;
    }

    .schedule-form-container {
        padding: 1.5rem;
    }
}

/* Add to existing CSS */
.alert {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.alert-success {
    background: rgba(40, 167, 69, 0.2);
    border: 1px solid rgba(40, 167, 69, 0.3);
    color: #98ff98;
}

.d-none {
    display: none;
}

/* Chat input styles */
.input-group {
    display: flex;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 0.75rem;
    transition: all 0.3s ease;
    max-width: 900px;
    margin: 0 auto;
}

.input-group:focus-within {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.3);
}

.input-group input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0.75rem 1rem;
    color: var(--text-color);
    font-size: 1rem;
    min-width: 0; /* Prevent input from overflowing */
}

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

.input-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.input-group button {
    background: linear-gradient(135deg, var(--accent-color), #357ABD);
    color: white;
    border: none;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0; /* Prevent button from shrinking */
}

.input-group button:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.3);
}

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

/* Mobile adjustments for chat input */
@media (max-width: 768px) {
    .input-group {
        padding: 0.5rem;
        gap: 0.5rem;
        margin-bottom: env(safe-area-inset-bottom); /* iOS safe area support */
        flex-direction: row; /* Keep input and button in same row */
    }

    .input-group input {
        padding: 0.5rem;
        font-size: 0.95rem;
    }

    .input-group button {
        width: 36px; /* Slightly smaller on mobile */
        height: 36px;
    }
}

/* Resources Page Styles */
.resources-container {
    padding-top: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 2rem;
}

.resources-container h1 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 2.5rem;
    font-weight: 600;
}

.resources-intro {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.resource-section {
    margin-bottom: 3rem;
}

.resource-section h2 {
    color: var(--accent-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.resource-section h2 i {
    font-size: 1.5rem;
}

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

.resource-card {
    background: var(--secondary-color);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.resource-card i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.resource-card h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.resource-card .phone {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 1rem 0;
    color: var(--accent-color);
}

.resource-card p {
    color: var(--text-color);
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.resource-card a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.resource-card a:hover {
    color: #357ABD;
    text-decoration: underline;
}

/* Mobile responsiveness for resources page */
@media (max-width: 768px) {
    .resources-container {
        padding: 80px 1rem 2rem;
    }

    .resources-container h1 {
        font-size: 2rem;
    }

    .resource-section h2 {
        font-size: 1.5rem;
    }

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

    .resource-card {
        padding: 1.5rem;
    }

    .resource-card .phone {
        font-size: 1.2rem;
    }
}

/* Education Pages Styles */
.education-container {
    padding-top: 80px;
    max-width: 1000px;
    margin: 0 auto;
    padding-bottom: 2rem;
}

.education-container h1 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 2.5rem;
    font-weight: 600;
}

.education-intro {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.education-section {
    background: var(--secondary-color);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.education-section h2 {
    color: var(--accent-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.education-section h2 i {
    font-size: 1.5rem;
}

.education-section p {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.treatment-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none; /* For when used as a link */
    display: block; /* For when used as a link */
    color: inherit; /* For when used as a link */
}

.treatment-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
    text-decoration: none; /* Keep no underline on hover */
    color: inherit; /* Keep text color on hover */
}

.treatment-card i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.treatment-card h3 {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.treatment-card p {
    color: var(--text-color);
    font-size: 0.95rem;
    margin: 0;
    opacity: 0.9;
}

/* Add subtle indication that it's clickable */
a.treatment-card:after {
    content: '\f054'; /* Font Awesome chevron-right icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.8rem;
    color: var(--accent-color);
    opacity: 0;
    margin-top: 1rem;
    display: block;
    transition: all 0.3s ease;
}

a.treatment-card:hover:after {
    opacity: 1;
}

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

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.benefit-card {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
}

.benefit-card i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.benefit-card h3 {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.benefit-card p {
    color: var(--text-color);
    font-size: 0.95rem;
    margin: 0;
    opacity: 0.9;
}

.cta-section {
    text-align: center;
    padding: 3rem 0;
}

.cta-section h2 {
    color: var(--accent-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.education-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--accent-color), #357ABD);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
}

.education-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
    color: white;
}

/* Topics Grid for Education Landing Page */
.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.topic-card {
    background: var(--secondary-color);
    padding: 2rem;
    border-radius: 12px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.topic-card:hover {
    transform: translateY(-2px);
    background: rgba(74, 144, 226, 0.1);
    text-decoration: none;
}

.topic-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.topic-card h2 {
    color: var(--text-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.topic-card p {
    color: var(--text-color);
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.learn-more {
    color: var(--accent-color);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.topic-card:hover .learn-more {
    color: white;
}

.education-note {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 3rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.education-note i {
    font-size: 1.5rem;
    color: var(--accent-color);
    flex-shrink: 0;
}

.education-note p {
    margin: 0;
    color: var(--text-color);
    opacity: 0.9;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .education-container {
        padding: 80px 1rem 2rem;
    }

    .education-container h1 {
        font-size: 2rem;
    }

    .education-section {
        padding: 1.5rem;
    }

    .education-section h2 {
        font-size: 1.5rem;
    }

    .treatment-options,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .topic-card {
        padding: 1.5rem;
    }

    .topic-card h2 {
        font-size: 1.3rem;
    }

    .education-note {
        flex-direction: column;
        text-align: center;
    }

    .education-note i {
        margin-bottom: 0.5rem;
    }
}