/* Color variables */
:root {
    --primary-blue: #1B3C69; /* Top Choice dark blue */
    --primary-blue-hover: #2B4C79; /* Slightly lighter for hover states */
    --secondary-blue: #1B3C69; /* For text and accents */
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    padding-top: 84px; /* Add padding equal to navbar height */
}

/* Navbar styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed; /* Change from relative to fixed */
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000; /* Ensure navbar stays above other content */
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.main-nav {
    flex-grow: 1;
    margin: 0 2rem;
}

.nav-links {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem;
}

.nav-links li a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-links li a:hover {
    background-color: #f0f0f0;
    color: #0056b3;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    position: absolute;
    right: 2rem;
    top: 2rem;
    z-index: 100;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--primary-blue);
    transition: all 0.3s ease;
}

@media (max-width: 1200px) {
    .navbar {
        flex-wrap: wrap;
        padding: 1rem;
    }

    .logo-container {
        flex: 1;
        margin-right: 1rem;
    }

    .main-nav {
        order: 3;
        flex: 0 0 100%;
        margin: 1rem 0 0;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }

    .nav-links li {
        margin: 0.25rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.75rem 1rem;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 0.5rem;
    }

    .logo-container {
        flex: 1;
        gap: 0.75rem;
        max-width: 100%;
        margin-bottom: 0.5rem;
    }

    .logo {
        height: 38px;
        width: auto;
    }

    .brand-info {
        padding-top: 0;
        flex-grow: 1;
        min-width: 0;
    }

    .brand-info h1 {
        font-size: 1rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .subtitle {
        font-size: 0.7rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .contact, .languages {
        display: none;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        cursor: pointer;
        z-index: 1000;
        position: relative;
    }

    .menu-toggle span {
        display: block;
        width: 100%;
        height: 3px;
        background-color: #333;
        transition: all 0.3s ease;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

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

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .main-nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: white;
        padding-top: 80px;
        z-index: 999;
    }

    .main-nav.active {
        display: block;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .nav-links li {
        margin: 15px 0;
        text-align: center;
    }

    .nav-links a {
        color: #333;
        text-decoration: none;
        font-size: 1.2rem;
        font-weight: 500;
        display: block;
        padding: 10px 0;
    }

    .mobile-contact-info {
        text-align: center;
        margin-top: 2rem;
        padding: 1rem;
        border-top: 1px solid #eee;
    }

    .mobile-contact-info h3 {
        color: var(--primary-blue);
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

    .mobile-contact-info .subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .mobile-contact-info .email {
        color: var(--primary-blue);
        text-decoration: none;
        font-size: 0.9rem;
        margin-bottom: 1rem;
        display: block;
    }

    .mobile-contact-info .languages {
        font-size: 0.9rem;
        color: #666;
        display: block;
        margin-top: 0.5rem;
    }

    .contact-button {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin: 0.5rem 0;
        order: 2;
    }

    .cta-button {
        width: auto;
        min-width: 200px;
        max-width: 280px;
        margin: 0 auto;
    }

    .phone-number {
        display: none;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.75rem;
    }

    .logo {
        height: 35px;
    }

    .brand-info h1 {
        font-size: 0.95rem;
    }

    .subtitle {
        font-size: 0.65rem;
    }

    .menu-toggle {
        width: 22px;
        height: 16px;
    }

    .cta-button {
        width: 100%;
        max-width: 240px;
        height: 43px;
        font-size: 0.9rem;
    }
}

.logo {
    height: 60px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

.brand-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding-top: 0.25rem;
}

.brand-info h1 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 0;
    line-height: 1.2;
}

.subtitle {
    color: var(--primary-blue);
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
}

.contact, .languages {
    font-size: 0.8rem;
    color: #666;
    margin: 0;
    line-height: 1.2;
}

.contact-button {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.phone-number {
    font-size: 2rem;
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: bold;
    line-height: 1.2;
    transition: color 0.3s;
}

.phone-number:hover {
    color: var(--primary-blue-hover);
}

.cta-button {
    background-color: var(--primary-blue);
    color: white;
    padding: 0;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.3s;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 230.34px;
    height: 49.54px;
}

.cta-button:hover {
    background-color: var(--primary-blue-hover);
    color: white;
    text-decoration: none;
}

@media (max-width: 1024px) {
    .navbar {
        padding: 0.8rem 3%;
    }
    
    .logo {
        height: 55px;
    }
    
    .brand-info h1 {
        font-size: 1.2rem;
    }
    
    .phone-number {
        font-size: 1.8rem;
    }
    
    .cta-button {
        width: 220px;
        height: 47px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.8rem 3%;
    }
    
    .logo {
        height: 45px;
    }
    
    .brand-info h1 {
        font-size: 1.1rem;
    }
    
    .subtitle {
        font-size: 0.8rem;
    }
    
    .contact, .languages {
        font-size: 0.75rem;
    }
    
    .phone-number {
        font-size: 1.6rem;
    }
    
    .cta-button {
        width: 200px;
        height: 43px;
        font-size: 0.9rem;
    }
}

/* Hero section */
.hero {
    background: url('assets/hero-background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 600px;
    height: calc(100vh - 100px);
    max-height: 800px;
    display: flex;
    align-items: center;
    text-align: left;
    color: white;
    margin-top: 0; /* Remove margin-top since we added padding to body */
    padding: 2rem 5%;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(27, 60, 105, 0.75);
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
    margin: 0 auto;
}

.hero-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-weight: 700;
    letter-spacing: 1px;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.hero-benefits {
    list-style: none;
    margin-bottom: 2.5rem;
}

.hero-benefits li {
    font-size: clamp(1rem, 2vw, 1.3rem);
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    padding-left: 2rem;
    position: relative;
}

.hero-benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: white;
    font-weight: bold;
}

.hero-cta {
    background-color: var(--primary-blue);
    color: white;
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background-color 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    min-width: 180px;
}

.hero-cta:hover {
    background-color: var(--primary-blue-hover);
}

/* Services section */
.services {
    padding: 4rem 5%;
    background-color: #f8f9fa;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    display: flex;
    flex-direction: column;
    min-height: 320px;
    position: relative;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.service-card p {
    flex-grow: 1;
    margin-bottom: 2rem;
    color: #4a5568;
    line-height: 1.6;
}

.read-more {
    background-color: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
    text-decoration: none;
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    min-width: 120px;
}

.read-more:hover {
    background-color: var(--primary-blue);
    color: white;
    text-decoration: none;
}

/* Update responsive design for services */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        min-height: 280px;
    }
}

/* Contact form */
.contact-form {
    padding: 4rem 5%;
    background-color: white;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
}

.form-container h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 2rem;
}

#quoteForm {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#quoteForm input,
#quoteForm textarea {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

#quoteForm textarea {
    height: 150px;
    resize: vertical;
}

.submit-button {
    background-color: var(--primary-blue);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: var(--primary-blue-hover);
}

/* Location section */
.location {
    padding: 4rem 5%;
    background-color: #f8f9fa;
}

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

.location-container h2 {
    color: var(--primary-blue);
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 600;
}

.location-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    background-color: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.address-section h3,
.hours h3 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.address-section a {
    color: #4a5568;
    text-decoration: none;
    transition: color 0.3s;
    display: block;
    line-height: 1.8;
}

.address-section a:hover {
    color: var(--primary-blue);
}

.hours-content {
    line-height: 1.8;
}

.hours-regular {
    margin-bottom: 1.5rem;
}

.appointment-notice {
    background-color: var(--primary-blue);
    color: white;
    padding: 1rem;
    border-radius: 5px;
    display: inline-block;
    font-weight: 500;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .location-details {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
}

/* Footer */
footer {
    background-color: var(--primary-blue);
    color: white;
    padding: clamp(2rem, 4vw, 3rem) 5%;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(2rem, 4vw, 3rem);
}

.footer-contact {
    line-height: 1.8;
}

.footer-contact p {
    margin-bottom: 0.5rem;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.footer-hours h3 {
    font-size: clamp(1.1rem, 1.8vw, 1.2rem);
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-hours p {
    margin-bottom: 0.5rem;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    line-height: 1.8;
}

.footer-hours .appointment-note {
    margin-top: 1rem;
    font-size: clamp(0.85rem, 1.4vw, 0.95rem);
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    display: inline-block;
}

.footer-right {
    text-align: right;
}

.footer-right p {
    margin-bottom: 0.5rem;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
}

.social-icon {
    color: white;
    font-size: 1.8rem;
    transition: color 0.3s;
}

.social-icon:hover {
    color: #f8f9fa;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .footer-right {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-hours .appointment-note {
        margin: 1rem auto 0;
    }
}

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

.service-card {
    animation: fadeIn 0.5s ease-out forwards;
}

/* Insurance page styles */
.insurance-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
}

.section-heading i {
    font-size: 2rem;
    color: var(--primary-blue);
    width: 40px;
    text-align: center;
}

.section-heading h2 {
    font-size: 2rem;
    margin: 0;
}

/* List styles */
.insurance-list {
    list-style: none;
    padding-left: 3.5rem; /* Align with the heading text */
    margin-bottom: 2rem;
}

.insurance-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.insurance-list li::before {
    content: "•";
    color: var(--primary-blue);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Paragraph styles */
.insurance-section p {
    padding-left: 3.5rem; /* Align with the heading text */
    margin-bottom: 2rem;
    line-height: 1.6;
}

.logos a {
    display: block;
    text-decoration: none;
}

.logos a:hover {
    opacity: 0.9;
}

/* Add this to your existing mobile-only class section */
.mobile-only, 
.hero-cta {
    display: none;
}

/* Show mobile-only elements on screens smaller than 768px */
@media screen and (max-width: 767px) {
    .mobile-only,
    .hero-cta {
        display: block;
    }
}

/* Desktop Menu Styles */
@media (min-width: 769px) {
    .menu-toggle {
        display: none;
    }

    .main-nav {
        display: block;
    }

    .nav-links {
        display: flex;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .nav-links li {
        margin: 0 15px;
    }

    .nav-links a {
        color: #333;
        text-decoration: none;
        font-weight: 500;
    }
} 