/* ClearCare - Main Stylesheet */

/* Variables */
:root {
    --olive: #1f4f2c;
    --laurel:     #707858;
    --moss:       #4e553d;
    --deep-green: #2f3324;
    --black-green: #13150c;
    --soft-white: #c3dec6;

    --primary-color: var(--olive);
    --primary-dark: var(--laurel);
    --primary-light: var(--soft-white);
    --primary-very-light: #fff;
    --accent-color: var(--moss);
    --text-dark: #13150c;
    --text-medium: var(--deep-green);
    --text-light: var(--soft-white);
    --white: #fff;
    --off-white: var(--soft-white);
    --border-color: var(--moss);
    --shadow-color: rgba(47, 51, 36, 0.10);
    --danger-color: #FF5252;
    --success-color: var(--olive);
    --warning-color: #FFC107;
    --border-radius: 8px;
    --box-shadow: 0 2px 10px var(--shadow-color);
    --header-height: 70px;
    --container-width: 1200px;
}

/* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-variation-settings: "wdth" 100;
    font-style: normal;
    font-weight: 400;
}

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

a:hover {
    color: var(--primary-dark);
}

ul, ol {
    list-style-type: none;
}

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

/* Container */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.25rem;
    margin-bottom: 1.25rem;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

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

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

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-very-light);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* --- Clean Responsive Navbar --- */
.navbar {
    width: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}
.navbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    padding: 0 1.5rem;
    position: relative;
}
.navbar-logo img {
    height: 40px;
    display: block;
}
.navbar-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.navbar-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: 1rem;
}
.navbar-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    margin: 5px 0;
    background: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s;
}
@media (max-width: 900px) {
    .navbar-inner {
        padding: 0 1rem;
    }
    .navbar-links {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100vw;
        background: var(--white);
        box-shadow: 0 2px 10px rgba(0,0,0,0.08);
        z-index: 1000;
        gap: 0;
    }
    .navbar-links.open {
        display: flex;
    }
    .navbar-links a {
        width: 100%;
        padding: 1rem 1.5rem;
        margin: 0;
        border-bottom: 1px solid var(--border-color);
    }
    .navbar-toggle {
        display: flex !important;
    }
}
/* --- End Clean Responsive Navbar --- */

/* Hero Section */
.hero {
    padding: 4rem 0;
    background-color: var(--primary-very-light);
    position: relative;
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
}

.hero-content {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    text-align: left;
}

.hero h1 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.hero p {
    color: var(--text-medium);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.hero-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
}

/* Search Form */
.search-container {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    margin-bottom: 1.5rem;
    width: 100%;
    max-width: 900px; /* Increased from the default container width */
    margin-left: auto;
    margin-right: auto;
}

.search-form {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 1.5rem;
    align-items: end;
}

.search-group {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.search-group label {
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-medium);
}

.select-wrapper,
.input-wrapper {
    position: relative;
    width: 100%;
}

.select-wrapper i,
.input-wrapper i {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.select-wrapper i {
    right: 1rem;
    pointer-events: none;
}

.input-wrapper i {
    left: 1rem;
}

.search-group select,
.search-group input {
    width: 100%;
    padding: 0.15rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background-color: var(--white);
    font-size: 1rem;
    color: var(--text-dark);
    transition: border-color 0.3s ease;
    height: 3rem; /* Consistent height for all form elements */
}

.search-group input {
    padding-left: 1.5rem;
}

.search-group select:focus,
.search-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.search-btn {
    height: 3rem; /* Match the height of the inputs */
    padding: 0 1.5rem; /* Make the button more rectangular than square */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.search-btn i {
    font-size: 1rem;
}

/* Insurance section */
.insurance-wrapper {
    text-align: center;
}

.insurance-wrapper p {
    color: var(--text-medium);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.insurance-logos {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.insurance-logos span {
    color: var(--text-light);
    font-weight: 500;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background-color: var(--white);
}

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

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

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

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem;
}

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

.feature-card h3 {
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-medium);
}

/* Specialties Section */
.specialties {
    padding: 5rem 0;
    background-color: var(--off-white);
}

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

.specialty-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
    cursor: pointer;
}

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

.specialty-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1rem;
}

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

.specialty-card h3 {
    color: var(--text-dark);
    font-size: 1.125rem;
    margin-bottom: 0;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background-color: var(--white);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background-color: var(--primary-very-light);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
}

.stars {
    color: var(--warning-color);
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

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

.author-detail {
    color: var(--text-medium);
    font-size: 0.875rem;
}

/* CTA Section */
.cta {
    padding: 5rem 0;
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta h2 {
    color: var(--white);
}

.cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

.cta .btn-primary {
    background-color: var(--white);
    color: var(--primary-color);
}

.cta .btn-primary:hover {
    background-color: var(--off-white);
}

/* Footer */
footer {
    background-color: var(--off-white);
    padding: 5rem 0 2rem;
}

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

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.footer-section h4 {
    font-size: 1.125rem;
    margin-bottom: 1.25rem;
    color: var(--text-dark);
}

.footer-section p {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

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

.footer-section ul li a {
    color: var(--text-medium);
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-light);
    margin-bottom: 0;
}

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

.footer-links a {
    color: var(--text-light);
    font-size: 0.875rem;
}

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

/* Error and message styles */
.message {
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    margin-top: 1rem;
    font-size: 0.875rem;
}

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

.message.success {
    background-color: rgba(76, 175, 80, 0.1);
    color: var(--success-color);
    border: 1px solid var(--success-color);
}

/* Mobile menu for responsive design */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--text-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.25rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        text-align: center;
        margin: 0 auto;
    }
    
    .hero-image {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .search-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        height: auto;
        padding: 1rem;
    }
    
    .logo {
        margin-bottom: 1rem;
    }
    
    .nav-links {
        margin-bottom: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        margin-top: 1rem;
        justify-content: center;
    }
    
    .mobile-menu-toggle {
        display: flex;
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
    }
    
    .nav-links {
        display: none;
        width: 100%;
    }
    
    .nav-links.active {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .nav-buttons {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }
    
    .nav-buttons .btn {
        width: 100%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card,
    .specialty-card,
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .insurance-logos {
        flex-wrap: wrap;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.feature-card,
.specialty-card,
.testimonial-card {
    animation: fadeIn 0.6s ease-out forwards;
}

.feature-card:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.4s;
}

.feature-card:nth-child(4) {
    animation-delay: 0.6s;
}

/* Accessibility improvements */
.btn:focus,
select:focus,
input:focus {
    outline: 2px solid var(--primary-dark);
    outline-offset: 2px;
}

/* Skip to content link for accessibility */
.skip-to-content {
    position: absolute;
    left: -9999px;
    top: 0;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: -999;
}

.skip-to-content:focus {
    left: 0;
    top: 0;
    width: auto;
    height: auto;
    overflow: auto;
    padding: 0.5rem 1rem;
    background-color: var(--white);
    color: var(--primary-color);
    font-weight: 500;
    z-index: 999;
}

/* Print styles */
@media print {
    .navbar,
    .hero,
    .cta,
    footer {
        display: none;
    }
    
    body {
        background-color: var(--white);
        color: black;
    }
    
    .container {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
    
    .feature-card,
    .specialty-card,
    .testimonial-card {
        box-shadow: none;
        border: 1px solid var(--border-color);
        break-inside: avoid;
    }
}


/* Provider List Styles */
.providers-header {
    background-color: var(--primary-very-light);
    padding: 3rem 0 2rem;
}

.providers-header h1 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.search-summary {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.search-summary p {
    margin-bottom: 0;
}

.providers-list {
    padding: 3rem 0;
}

.provider-count {
    margin-bottom: 2rem;
    color: var(--text-medium);
}

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

.provider-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
}

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

.provider-type {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.provider-info {
    margin-bottom: 1.5rem;
}

.provider-info p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
}

.provider-info i {
    color: var(--primary-color);
    margin-right: 0.75rem;
    min-width: 1rem;
    text-align: center;
}

.provider-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.no-results {
    text-align: center;
    padding: 3rem 0;
}

.no-results h2 {
    margin-bottom: 1rem;
}

.no-results p {
    margin-bottom: 2rem;
    color: var(--text-medium);
}

@media (max-width: 768px) {
    .search-summary {
        flex-direction: column;
        gap: 1rem;
    }
    
    .search-summary .btn {
        width: 100%;
    }
    
    .providers-grid {
        grid-template-columns: 1fr;
    }
}

/* Provider Detail Page Styles */

/* Provider Name Link in List Page */
.provider-name-link {
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.provider-name-link:hover {
    color: var(--primary-color);
}

/* Breadcrumb */
.provider-header {
    background-color: var(--primary-very-light);
    padding: 1.5rem 0;
}

.provider-breadcrumb {
    font-size: 0.875rem;
    color: var(--text-medium);
}

.provider-breadcrumb a {
    color: var(--text-medium);
    transition: color 0.3s ease;
}

.provider-breadcrumb a:hover {
    color: var(--primary-color);
}

/* Provider Detail Section */
.provider-detail {
    padding: 3rem 0;
}

.provider-detail-wrapper {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.provider-image {
    background-color: var(--off-white);
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.provider-icon {
    width: 100%;
    max-width: 200px;
    height: auto;
}

.provider-info-detail {
    padding: 2rem;
}

.provider-info-detail h1 {
    margin-bottom: 0.5rem;
}

.provider-specialty {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

/* Contact Items */
.provider-contact {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

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

.contact-text h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-text p {
    margin-bottom: 0.5rem;
    color: var(--text-medium);
}

.website-link {
    word-break: break-all;
}

/* Comments */
.provider-comments {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.provider-comments h3 {
    margin-bottom: 1rem;
}

/* CTA Section */
.provider-cta {
    background-color: var(--primary-very-light);
    padding: 3rem 0;
    margin-top: 3rem;
}

.cta-wrapper {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-wrapper h2 {
    margin-bottom: 1rem;
}

.cta-wrapper p {
    margin-bottom: 1.5rem;
    color: var(--text-medium);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .provider-detail-wrapper {
        grid-template-columns: 1fr;
    }
    
    .provider-image {
        padding: 3rem;
    }
    
    .provider-icon {
        max-width: 180px;
    }
}

@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .contact-item {
        flex-direction: column;
    }
    
    .contact-icon {
        margin-bottom: 0.5rem;
    }
}


/* Eligibility Check Form */
.eligibility-check {
    background-color: var(--primary-very-light);
    padding: 3rem 0;
    text-align: center;
    margin-top: 3rem;
}

.eligibility-check h2 {
    color: var(--text-dark);
    margin-bottom: 2rem;
}

/* Form Container */
.eligibility-form {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Form Groups */
.eligibility-form .form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

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

/* Input Fields */
.eligibility-form input,
.eligibility-form select {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background-color: var(--white);
    font-size: 1rem;
    color: var(--text-dark);
    transition: border-color 0.3s ease;
}

.eligibility-form input:focus,
.eligibility-form select:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* File Upload */
.eligibility-form input[type="file"] {
    padding: 0.5rem;
    font-size: 0.875rem;
}

/* Disabled Button */
.eligibility-form button {
    width: 100%;
    padding: 0.875rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--border-radius);
    background-color: var(--text-light);
    color: var(--white);
    border: none;
    cursor: not-allowed;
}

/* Note */
.eligibility-note {
    font-size: 1.2rem;
    color: var(--danger-color);
    font-weight: 500;
    text-align: center;
    margin-top: -0.5rem;
}

/* Hamburger menu styles */
.navbar-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}
.navbar-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    margin: 5px 0;
    background: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s;
}

@media (max-width: 900px) {
    .navbar-toggle {
        display: flex !important;
    }
    .navbar .container {
        flex-wrap: nowrap;
        justify-content: flex-start;
    }
    .navbar-left {
        flex-shrink: 0;
        align-items: center;
    }
    .nav-main {
        display: none;
        flex-direction: column;
        width: 100vw;
        background: var(--white);
        position: absolute;
        top: 70px;
        left: 0;
        box-shadow: 0 2px 10px rgba(0,0,0,0.08);
        z-index: 1000;
    }
    .nav-main.open {
        display: flex;
    }
    .nav-links, .nav-buttons {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        padding: 0 1.5rem;
    }
    .nav-links a, .nav-buttons a {
        width: 100%;
        margin: 0.5rem 0;
    }
    .search-form {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    .search-form .search-group,
    .search-form .search-btn {
        width: 100%;
    }
    .search-form .search-btn {
        align-self: flex-end;
    }
}
