/* ===== GENERAL STYLES ===== */
:root {
    /* Updated color palette based on logo's green theme */
    --primary-color: #5a705e;
    /* Cactus - main green from logo */
    --secondary-color: #4c5e4f;
    /* Verdant Hush - darker green for depth */
    --accent-color: #92a195;
    /* Envy - lighter green for accents */
    --tertiary-color: #5a705e;
    /* Cactus again - for consistency */
    --text-color: #2f2b28;
    /* Noir - dark color for readability */
    --light-text: #ffffff;
    /* White - for contrast on dark backgrounds */
    --light-gray: #dbdfdb;
    /* White Bullet - light green-gray background */
    --medium-gray: #c9cec9;
    /* Lighter variant of White Bullet */
    --dark-gray: #767d76;
    /* Darker variant of Envy */
    --border-color: #c5ccc5;
    /* Light border color with green tint */
    --success-color: #5a705e;
    /* Cactus - success messages */
    --warning-color: #a58a5a;
    /* Muted gold for warnings */
    --danger-color: #a55a5a;
    /* Muted red for errors */
    --shadow: 0 4px 12px rgba(90, 112, 94, 0.15);
    /* Shadow with primary color */
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 10px;
    font-size: 2.5rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background-color: var(--accent-color);
}

.section-header p {
    font-size: 1.2rem;
    color: var(--dark-gray);
    max-width: 700px;
    margin: 0 auto;
}

.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--light-text);
    border: none;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
}

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

.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
}

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

.text-link {
    font-weight: 600;
    text-decoration: underline;
}

/* ===== TOP BAR ===== */
.top-bar {
    background-color: var(--secondary-color);
    color: var(--light-text);
    padding: 8px 0;
    font-size: 0.875rem;
}

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

.contact-info span {
    margin-right: 20px;
}

.contact-info i {
    margin-right: 5px;
}

.social-links a {
    color: var(--light-text);
    margin-left: 15px;
    font-size: 0.875rem;
}

.social-links a:hover {
    color: var(--accent-color);
}

/* ===== HEADER & NAVIGATION ===== */
header {
    background-color: var(--light-text);
    padding: 1.5rem 0;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo and header styling improvements */
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 70px;
    /* Slightly larger logo */
    margin-right: 15px;
}

.logo h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
    font-weight: 700;
    color: var(--primary-color);
}

.logo span {
    display: block;
    font-size: 1rem;
    color: var(--tertiary-color);
    /* Use green accent for clinic text */
    font-weight: 400;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: var(--transition);
}

.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    position: relative;
}

.nav-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-color);
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
}

/* Navigation active state */
.nav-menu li a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-menu li a:hover {
    color: var(--tertiary-color);
    /* Green on hover */
}

.nav-menu .has-dropdown>a {
    padding-right: 30px;
}

.nav-menu .has-dropdown>a i {
    font-size: 0.75rem;
    margin-left: 5px;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 220px;
    background-color: var(--light-text);
    box-shadow: var(--shadow);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li {
    display: block;
}

.dropdown li a {
    padding: 10px 20px;
}

/* ===== CTA BUTTONS ===== */
.cta-buttons {
    background-color: var(--light-gray);
    padding: 1rem 0;
}

.cta-buttons .container {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.cta-button {
    flex: 1;
    display: block;
    padding: 15px 10px;
    text-align: center;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    border-radius: 5px;
    transition: var(--transition);
}

.cta-button.schedule {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.cta-button.portal {
    background-color: var(--secondary-color);
    color: var(--light-text);
}

.cta-button.pay {
    background-color: var(--tertiary-color);
    /* Using green accent for pay button */
    color: var(--light-text);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    color: var(--light-text);
}

/* ===== HERO SECTION ===== */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://via.placeholder.com/1920x800');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-text);
}

.hero-content {
    max-width: 800px;
    padding: 0 15px;
}

.hero h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--light-text);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

/* ===== WELCOME SECTION ===== */
.welcome {
    background-color: var(--light-text);
}

.welcome-content {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.welcome-text {
    flex: 1;
}

.welcome-image {
    flex: 1;
}

.welcome-image img {
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* ===== SERVICES SECTION ===== */
.services {
    background-color: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
    margin-bottom: 3rem;
}

.service-card {
    background-color: var(--light-text);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon i {
    font-size: 2rem;
    color: var(--light-text);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.service-link {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.service-link:hover {
    color: var(--secondary-color);
}

.service-cta {
    text-align: center;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    background-color: var(--light-text);
}

.testimonial-carousel {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 2rem 0;
}

.testimonial-slide {
    background-color: var(--light-gray);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    display: none;
}

.testimonial-slide.active {
    display: block;
    animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.quote-icon {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.author-name {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.author-detail {
    color: var(--dark-gray);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
}

.prev-btn,
.next-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-gray);
    padding: 0 15px;
    transition: var(--transition);
}

.prev-btn:hover,
.next-btn:hover {
    color: var(--primary-color);
}

.dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--medium-gray);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary-color);
}

/* ===== ANNOUNCEMENTS SECTION ===== */
.announcements {
    background-color: var(--light-gray);
}

.announcement-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.announcement-card {
    background-color: var(--light-text);
    border-radius: 10px;
    padding: 25px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.announcement-card:hover {
    transform: translateY(-5px);
}

.announcement-date {
    color: var(--dark-gray);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.announcement-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.announcement-link {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* ===== INSURANCE SECTION ===== */
.insurance {
    background-color: var(--light-text);
}

.insurance-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.insurance-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin: 2rem 0;
}

.insurance-logos img {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.insurance-logos img:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* ===== CONTACT & LOCATION SECTION ===== */
.contact-location {
    background-color: var(--light-gray);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form-container,
.location-info {
    background-color: var(--light-text);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var (--shadow);
}

.contact-form-container h3,
.location-info h3 {
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(90, 112, 94, 0.2);
}

.form-group.full-width {
    grid-column: span 2;
}

.location-details {
    margin-bottom: 2rem;
}

.address-block,
.phone-block,
.email-block,
.hours-block {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.address-block i,
.phone-block i,
.email-block i,
.hours-block i {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-right: 15px;
    margin-top: 3px;
}

.address-block h4,
.phone-block h4,
.email-block h4,
.hours-block h4 {
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
}

/* Form Status Messages */
#form-status {
    margin-top: 20px;
}

.success-message,
.error-message {
    padding: 15px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.success-message {
    background-color: rgba(40, 167, 69, 0.1);
    color: var(--success-color);
    border: 1px solid var(--success-color);
}

.error-message {
    background-color: rgba(220, 53, 69, 0.1);
    color: var(--danger-color);
    border: 1px solid var(--danger-color);
}

.success-message i,
.error-message i {
    font-size: 1.5rem;
    margin-right: 10px;
}

.newsletter-status {
    margin-top: 10px;
    font-size: 0.9rem;
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--secondary-color);
    color: var(--light-text);
    padding-top: 5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 3rem;
}

.footer-column h3 {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer-column p {
    color: rgba(255, 255, 255, 0.8);
}

.footer-social {
    margin-top: 1.5rem;
}

.footer-social a {
    display: inline-block;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light-text);
    border-radius: 50%;
    text-align: center;
    line-height: 36px;
    margin-right: 10px;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--accent-color);
    color: var(--light-text);
}

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

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-column ul li a:hover {
    color: var(--light-text);
}

.newsletter-form {
    position: relative;
    margin-top: 1.5rem;
}

.newsletter-form input {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 5px;
    margin-bottom: 10px;
}

.newsletter-form button {
    width: 100%;
    padding: 12px 15px;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    text-align: center;
}

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

.footer-bottom p {
    margin-bottom: 0;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom a {
    color: var(--accent-color);
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--tertiary-color);
    color: var(--light-text);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-color);
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1200px) {
    .hero h2 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.25rem;
    }
}

@media (max-width: 992px) {
    .welcome-content {
        flex-direction: column;
    }

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

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Mobile Navigation */
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background-color: var(--light-text);
        flex-direction: column;
        padding-top: 80px;
        transition: right 0.3s ease-in-out;
        z-index: 99;
        box-shadow: var(--shadow);
    }

    .nav-menu.active {
        right: 0;
    }

    .dropdown {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        max-height: 0;
        overflow: hidden;
        box-shadow: none;
        padding: 0;
        transform: none;
        transition: max-height 0.3s ease-in-out;
    }

    .has-dropdown.active .dropdown {
        max-height: 500px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .hero {
        height: 500px;
    }

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

    .cta-buttons .container {
        flex-direction: column;
    }

    .testimonial-slide {
        padding: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom .container {
        flex-direction: column;
    }

    .footer-bottom p:first-child {
        margin-bottom: 0.5rem;
    }

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

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

@media (max-width: 576px) {
    .top-bar .container {
        flex-direction: column;
    }

    .social-links {
        margin-top: 10px;
    }

    .logo img {
        max-height: 45px;
    }

    .logo h1 {
        font-size: 1.25rem;
    }

    .logo span {
        font-size: 0.9rem;
    }

    .hero {
        height: 400px;
    }

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

    .announcement-cards {
        grid-template-columns: 1fr;
    }

    .testimonial-slide {
        padding: 1.5rem;
    }
}

/* Thank You Page Styles */
.thank-you-section {
    padding: 5rem 0;
    text-align: center;
}

.thank-you-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem;
    background-color: var(--light-text);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.thank-you-icon {
    font-size: 5rem;
    color: var(--success-color);
    margin-bottom: 2rem;
}

.thank-you-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.thank-you-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.redirect-notice {
    font-size: 0.9rem;
    color: var(--dark-gray);
    margin-top: 2rem;
}

.thank-you-buttons {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* Patient Documents Styles */
.patient-documents {
    background-color: var(--light-text);
    padding: 5rem 0;
}

.documents-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.document-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 2rem;
}

.document-card {
    display: flex;
    background-color: var(--light-gray);
    border-radius: 10px;
    padding: 25px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.document-card:hover {
    transform: translateY(-5px);
}

.document-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.document-icon i {
    font-size: 1.5rem;
    color: var (--light-text);
}

.document-info {
    flex: 1;
}

.document-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.document-info p {
    font-size: 0.9rem;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background-color: var(--accent-color);
    color: var(--light-text);
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

.download-btn i {
    margin-right: 8px;
}

.download-btn:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.additional-resources {
    background-color: var(--light-gray);
    padding: 5rem 0;
}

.resources-content {
    max-width: 1000px;
    margin: 0 auto;
}

.resources-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.resource-item {
    background-color: var(--light-text);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.resource-item:hover {
    transform: translateY(-5px);
}

.resource-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(30, 115, 190, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.resource-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.resource-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.resource-item p {
    color: var(--dark-gray);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.btn-secondary.small {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.document-questions {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 4rem 0;
}

.questions-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.questions-content h2 {
    color: var(--light-text);
    margin-bottom: 1rem;
}

.questions-content p {
    margin-bottom: 2rem;
}

.questions-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.questions-buttons .btn-secondary {
    background-color: transparent;
    color: var(--light-text);
    border-color: var(--light-text);
}

.questions-buttons .btn-secondary:hover {
    background-color: var(--light-text);
    color: var (--primary-color);
}

@media (max-width: 768px) {
    .document-grid {
        grid-template-columns: 1fr;
    }

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

/* Password Protection Styles */
.password-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.password-form {
    width: 100%;
    max-width: 400px;
    padding: 30px;
}

.password-container {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    text-align: center;
}

.password-logo {
    max-height: 80px;
    margin-bottom: 20px;
}

.password-container h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.password-container p {
    margin-bottom: 20px;
    color: var(--dark-gray);
}

.password-container .form-group {
    margin-bottom: 15px;
}

.password-container input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: inherit;
    transition: var(--transition);
}

.password-container input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(90, 112, 94, 0.2);
}

.password-error {
    color: var(--danger-color);
    margin-bottom: 15px;
    font-size: 0.9rem;
    min-height: 20px;
}

.password-container .btn-primary {
    width: 100%;
}

.password-back {
    margin-top: 15px;
    font-size: 0.9rem;
}

.password-back a {
    color: var(--primary-color);
    text-decoration: underline;
}

.password-back a:hover {
    color: var(--secondary-color);
}