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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Libre Franklin', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #66696B;
    background-color: #fff;
    letter-spacing: 0.02em;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

/* Hero Section */
.hero {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    position: relative;
    padding-top: 80px;
    min-height: auto;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem;
    background-color: #fff;
    border-bottom: 1px solid #f0f0f0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
}

.menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.menu-btn span {
    width: 20px;
    height: 2px;
    background-color: #4A90E2;
    border-radius: 1px;
    transition: all 0.3s ease;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-image {
    height: 40px;
    width: auto;
    max-width: 200px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}


.book-btn {
    background-color: #71A4D8;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.book-btn:hover {
    background-color: #5A8BC4;
}

/* Main Content */
.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1rem 0;
}

.text-content {
    margin-bottom: 0;
}

.hero-headline {
    font-size: 2.75rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subheadline {
    font-size: 1.5rem;
    font-weight: 400;
    color: #66696B;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.description {
    font-size: 1rem;
    line-height: 1.6;
    color: #66696B;
    margin-bottom: 2rem;
    text-align: left;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.google-rating {
    display: flex;
    justify-content: flex-start;
    text-decoration: none;
    color: inherit;
}

.rating-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: #f8fbff;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 1px solid #e3f2fd;
    box-shadow: 0 2px 8px rgba(113, 164, 216, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    width: 100%;
    justify-content: center;
}

.rating-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(113, 164, 216, 0.3);
    background-color: #71A4D8;
}

.rating-badge:hover .rating-text {
    color: white;
}

.rating-badge:hover .rating-subtext {
    color: rgba(255, 255, 255, 0.9);
}

.rating-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    flex: 1;
}

.google-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.rating-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    line-height: 1.2;
}

.rating-subtext {
    font-size: 0.75rem;
    font-weight: 400;
    color: #666;
    line-height: 1.2;
    margin-left: 0;
}

.stars {
    display: flex;
    gap: 0.1rem;
    align-items: center;
    flex-shrink: 0;
}

.star {
    color: #ffc107;
    font-size: 1rem;
    line-height: 1;
}

.cta-primary {
    background-color: #71A4D8;
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
}

.cta-primary:hover {
    background-color: #5A8BC4;
}

.cta-secondary {
    background-color: #DAEDFF;
    color: #66696B;
    border: 1px solid #71A4D8;
    padding: 1rem 1.5rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.cta-secondary:hover {
    background-color: #C8E0FF;
}

.cta-secondary svg {
    color: #4A90E2;
}

/* Hero Image */
.hero-image {
    flex: 1;
    display: flex;
    align-items: flex-end;
    margin-top: 0;
    position: relative;
    z-index: 1;
}

.hero-image img {
    width: 100vw;
    height: auto;
    object-fit: cover;
    max-height: 60vh;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

/* Responsive Design */
@media (min-width: 768px) {
    .hero {
        padding-top: 100px;
        padding-bottom: 3rem;
        min-height: auto;
    }
    
    .hero-content {
        flex-direction: row;
        align-items: flex-start;
        gap: 4rem;
        padding: 4rem 2rem;
        max-width: 1200px;
        margin: 0 auto;
        min-height: auto;
    }
    
    .text-content {
        flex: 1;
        margin-bottom: 0;
        padding: 0;
        max-width: 500px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .hero-headline {
        font-size: 3.25rem;
        line-height: 1.1;
        margin-bottom: 1.5rem;
    }
    
    .hero-subheadline {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }
    
    .description {
        font-size: 1.125rem;
        margin-bottom: 2.5rem;
    }
    
    .hero-image {
        flex: 1;
        margin-top: 0;
        margin-left: 0;
        margin-right: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-image img {
        width: 100%;
        height: auto;
        max-height: 80vh;
        object-fit: cover;
        border-radius: 12px;
        margin-left: 0;
        margin-right: 0;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-primary {
        flex: 1;
        max-width: 300px;
        padding: 1.25rem 2rem;
        font-size: 1.125rem;
    }
    
    .cta-secondary {
        flex: 1;
        max-width: 200px;
    }
    
    .google-rating {
        justify-content: flex-start;
        margin-top: 1.5rem;
    }
    
    .rating-badge {
        padding: 1rem 1.25rem;
        gap: 1rem;
    }
    
    .rating-text {
        font-size: 1rem;
    }
    
    .rating-subtext {
        font-size: 0.85rem;
    }
    
    .star {
        font-size: 1.1rem;
    }
}

/* Features Section */
.features-section {
    padding: 3rem 1rem 1rem;
    background-color: #fff;
    margin-top: -2rem;
    border-radius: 20px 20px 0 0;
    position: relative;
    z-index: 2;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    margin-top: -6rem;
    min-height: 300px;
    padding-bottom: 0;
}

.feature-card {
    background-color: #DAEDFF;
    padding: 1rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateY(50px) scale(0.8);
    transition: all 0.6s ease;
}

.feature-card:nth-child(1) {
    z-index: 4;
}

.feature-card:nth-child(2) {
    z-index: 3;
}

.feature-card:nth-child(3) {
    z-index: 2;
}

.feature-card:nth-child(4) {
    z-index: 1;
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.feature-card.visible:nth-child(1) {
    transform: translateY(0) scale(1);
}

.feature-card.visible:nth-child(2) {
    transform: translateY(70px) scale(1);
}

.feature-card.visible:nth-child(3) {
    transform: translateY(140px) scale(1);
}

.feature-card.visible:nth-child(4) {
    transform: translateY(210px) scale(1);
}

.feature-number {
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    letter-spacing: 0.02em;
    text-align: center;
}

@media (min-width: 768px) {
    .features-section {
        padding: 3rem 2rem;
        margin-top: 0;
    }
    
    .features-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        position: static;
        min-height: auto;
        margin-top: 0;
        padding-bottom: 0;
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .feature-card {
        padding: 1.25rem;
        position: static;
        transform: none !important;
        opacity: 1 !important;
    }
    
    .feature-number {
        font-size: 1.1rem;
    }
}

@media (min-width: 1024px) {
    .hero-headline {
        font-size: 3.75rem;
    }
    
    .hero-subheadline {
        font-size: 2rem;
    }
    
    .features-container {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
}

/* Clear Aligners Section */
.clear-aligners-section {
    background-color: #DAEDFF;
    padding: 3rem 1rem;
    border-radius: 20px;
    margin: 0 1rem 2rem;
    position: relative;
    z-index: 1;
}

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

.content-block {
    margin-bottom: 2rem;
}

.content-block:last-child {
    margin-bottom: 0;
}

.content-block h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.content-block p {
    font-size: 1rem;
    line-height: 1.6;
    color: #66696B;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.content-block ul {
    list-style-type: disc;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.content-block li {
    font-size: 1rem;
    line-height: 1.6;
    color: #66696B;
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

@media (min-width: 1024px) {
    .header {
        padding: 1.5rem 2rem;
    }
    
    .hero-content {
        padding: 3rem 2rem;
    }
    
    .description {
        font-size: 1.125rem;
    }
    
    .clear-aligners-section {
        padding: 4rem 2rem;
        margin: 2rem;
    }
    
    .content-block h2 {
        font-size: 1.75rem;
    }
    
    .content-block p,
    .content-block li {
        font-size: 1.125rem;
    }
}

/* Why Choose Sherwood Smiles Section */
.why-choose-section {
    padding: 1.5rem 2rem;
    background-color: #fff;
}

.why-choose-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.team-image {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.team-image img {
    width: 100%;
    height: auto;
    display: block;
}

.why-choose-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    text-align: left;
    margin-bottom: 2rem;
    letter-spacing: 0.02em;
}

.why-choose-text {
    max-width: 600px;
    margin: 0 auto;
}

.why-choose-text p {
    font-size: 1rem;
    color: #66696B;
    line-height: 1.7;
    letter-spacing: 0.02em;
    margin-bottom: 1.5rem;
    text-align: left;
}

.why-choose-text p:last-child {
    margin-bottom: 0;
}

.why-choose-cta {
    margin-top: 2rem;
}

.cta-button {
    background-color: #71A4D8;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    letter-spacing: 0.02em;
}

.cta-button:hover {
    background-color: #5A8BC4;
}

@media (min-width: 768px) {
    .why-choose-container {
        flex-direction: row;
        align-items: center;
        gap: 4rem;
    }
    
    .team-image {
        flex: 1;
    }
    
    .why-choose-content {
        flex: 1;
    }
    
    .why-choose-content h2 {
        text-align: left;
        font-size: 1.75rem;
    }
    
    .why-choose-text {
        margin: 0;
    }
}

@media (min-width: 1024px) {
    .why-choose-text p {
        font-size: 1.125rem;
    }
}

/* Process Section */
.process-section {
    padding: 1.5rem 2rem;
    background-color: #fff;
}

.process-container {
    max-width: 1200px;
    margin: 0 auto;
}

.process-container h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    text-align: left;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.process-subtitle {
    font-size: 1rem;
    color: #66696B;
    text-align: left;
    margin-bottom: 3rem;
    line-height: 1.6;
    letter-spacing: 0.02em;
    max-width: 800px;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.process-card {
    background-color: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid #DAEDFF;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.process-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.process-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.process-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.process-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.process-content p {
    font-size: 1rem;
    color: #66696B;
    line-height: 1.6;
    letter-spacing: 0.02em;
}

@media (min-width: 768px) {
    .process-section {
        padding: 3rem 2rem;
    }
    
    .process-container {
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .process-steps {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .process-image {
        height: 200px;
    }
    
    .process-content {
        padding: 2rem;
    }
    
    .process-container h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .process-subtitle {
        font-size: 1.125rem;
        margin-bottom: 3rem;
    }
}

@media (min-width: 1024px) {
    .process-section {
        padding: 4rem 2rem;
    }
    
    .process-steps {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        gap: 2.5rem;
        justify-items: center;
        align-items: start;
    }
    
    .process-card {
        width: 100%;
        max-width: 350px;
        min-height: 500px;
    }
    
    .process-card:nth-child(1) {
        grid-column: 1 / 3;
    }
    
    .process-card:nth-child(2) {
        grid-column: 3 / 5;
    }
    
    .process-card:nth-child(3) {
        grid-column: 5 / 7;
    }
    
    .process-card:nth-child(4) {
        grid-column: 2 / 4;
        grid-row: 2;
    }
    
    .process-card:nth-child(5) {
        grid-column: 4 / 6;
        grid-row: 2;
    }
    
    .process-container h2 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }
    
    .process-subtitle {
        font-size: 1.25rem;
        margin-bottom: 4rem;
    }
    
    .process-image {
        height: 220px;
    }
    
    .process-content {
        padding: 2.5rem;
    }
    
    .process-content h3 {
        font-size: 1.5rem;
        margin-bottom: 1.25rem;
    }
    
    .process-content p {
        font-size: 1.125rem;
    }
}

/* Payment Options Section */
.payment-section {
    padding: 1.5rem 2rem;
    background-color: #fff;
}

.payment-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.payment-container h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    text-align: left;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
    width: 100%;
}

.payment-content {
    text-align: left;
    max-width: 600px;
}

.payment-content p {
    font-size: 1rem;
    color: #66696B;
    line-height: 1.7;
    letter-spacing: 0.02em;
    margin-bottom: 2rem;
}

.payment-content ul {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.payment-content ul li {
    margin-bottom: 0.75rem;
}

.payment-cta {
    margin-top: 1rem;
}

.payment-image {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.payment-image img {
    width: 100%;
    height: auto;
    display: block;
}

@media (min-width: 768px) {
    .payment-section {
        padding: 3rem 2rem;
    }
    
    .payment-container {
        display: block;
    }
    
    .payment-container h2 {
        font-size: 2rem;
        text-align: left;
        margin-bottom: 3rem;
    }
    
    .payment-content-wrapper {
        display: flex;
        align-items: center;
        gap: 4rem;
    }
    
    .payment-content {
        flex: 1;
        max-width: none;
    }
    
    .payment-content p {
        font-size: 1.125rem;
        margin-bottom: 2.5rem;
    }
    
    .payment-image {
        flex: 1;
        max-width: 500px;
        margin-bottom: 0;
    }
    
    .payment-image img {
        border-radius: 12px;
    }
}

@media (min-width: 1024px) {
    .payment-section {
        padding: 4rem 2rem;
    }
    
    .payment-container h2 {
        font-size: 2.5rem;
        margin-bottom: 4rem;
    }
    
    .payment-content-wrapper {
        gap: 5rem;
    }
    
    .payment-content p {
        font-size: 1.25rem;
        margin-bottom: 3rem;
    }
    
    .payment-image {
        max-width: 600px;
    }
}

/* FAQ Section */
.faq-section {
    padding: 1.5rem 2rem;
    background-color: #fff;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-container h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    text-align: left;
    margin-bottom: 2rem;
    letter-spacing: 0.02em;
}

.faq-list {
    display: flex;
    flex-direction: column;
}

.faq-item {
    border-bottom: 1px solid #e0e0e0;
    padding: 1.5rem 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #71A4D8;
}

.faq-question span:first-child {
    font-size: 1rem;
    color: #333;
    font-weight: 500;
    letter-spacing: 0.02em;
    flex: 1;
    padding-right: 1rem;
}

.faq-icon {
    font-size: 1.25rem;
    color: #333;
    font-weight: 300;
    transition: transform 0.3s ease;
    min-width: 20px;
    text-align: center;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    font-size: 1rem;
    color: #66696B;
    line-height: 1.6;
    letter-spacing: 0.02em;
    margin: 0;
    padding-top: 1rem;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

@media (min-width: 768px) {
    .faq-container h2 {
        font-size: 1.75rem;
    }
    
    .faq-question span:first-child {
        font-size: 1.125rem;
    }
}

@media (min-width: 1024px) {
    .faq-container h2 {
        font-size: 2rem;
    }
    
    .faq-question span:first-child {
        font-size: 1.25rem;
    }
}

/* Footer */
.footer {
    background-color: #71A4D8;
    color: white;
    padding: 1.5rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.footer-logo {
    max-width: 600px;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    margin-bottom: 1.5rem;
}

.footer-logo p {
    font-size: 1rem;
    line-height: 1.6;
    letter-spacing: 0.02em;
    margin: 0;
}

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

.footer-column h3 {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

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

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

.footer-column a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    transition: opacity 0.3s ease;
}

.footer-column a:hover {
    opacity: 0.8;
}

.footer-contact h3 {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.contact-info p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.operating-hours {
    margin: 0.75rem 0;
}

.operating-hours p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.social-media {
    display: flex;
    gap: 1rem;
    margin-top: 0.75rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.social-icon img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.social-icon:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

@media (min-width: 768px) {
    .footer {
        padding: 2rem;
    }
    
    .footer-container {
        display: grid;
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
        gap: 3rem;
        align-items: start;
    }
    
    .footer-top {
        margin-bottom: 0;
    }
    
    .footer-logo {
        max-width: none;
    }
    
    .footer-logo-img {
        height: 70px;
        margin-bottom: 1rem;
    }
    
    .footer-logo p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .footer-links {
        display: contents;
        margin-bottom: 0;
    }
    
    .footer-column h3 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .footer-column a {
        font-size: 0.9rem;
    }
    
    .footer-column li {
        margin-bottom: 0.4rem;
    }
    
    .footer-contact h3 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .contact-info p,
    .operating-hours p {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
    }
    
    .operating-hours {
        margin: 0.5rem 0;
    }
    
    .social-media {
        margin-top: 0.75rem;
        gap: 0.75rem;
    }
    
    .social-icon {
        width: 35px;
        height: 35px;
    }
    
    .social-icon img {
        width: 18px;
        height: 18px;
    }
}

@media (min-width: 1024px) {
    .footer {
        padding: 2.5rem 2rem;
    }
    
    .footer-container {
        grid-template-columns: 2.5fr 1fr 1fr 1.5fr;
        gap: 4rem;
    }
    
    .footer-logo-img {
        height: 80px;
        margin-bottom: 1rem;
    }
    
    .footer-logo p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .footer-column h3 {
        font-size: 1.1rem;
        margin-bottom: 0.875rem;
    }
    
    .footer-column a {
        font-size: 1rem;
    }
    
    .footer-column li {
        margin-bottom: 0.5rem;
    }
    
    .footer-contact h3 {
        font-size: 1.1rem;
        margin-bottom: 0.875rem;
    }
    
    .contact-info p,
    .operating-hours p {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }
    
    .operating-hours {
        margin: 0.75rem 0;
    }
    
    .social-media {
        gap: 1rem;
        margin-top: 1rem;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
    }
    
    .social-icon img {
        width: 20px;
        height: 20px;
    }
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 2rem;
    margin-top: 1.5rem;
}

.footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    letter-spacing: 0.02em;
}

.footer-book-now {
    color: white;
    text-decoration: underline;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: opacity 0.3s ease;
}

.footer-book-now:hover {
    opacity: 0.8;
}

@media (max-width: 767px) {
    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

/* Multi-step Form Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(113, 164, 216, 0.95);
    z-index: 10000;
    overflow-y: scroll;
    padding: 0;
    /* iOS Safari fixes */
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.modal-overlay.active {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-height: 100vh;
    min-height: 100dvh; /* Dynamic viewport height for iOS */
    padding: 2rem 1rem;
    box-sizing: border-box;
}

/* Prevent body scroll when modal is open (iOS fix) */
body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
    /* iOS Safari specific fixes */
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: none;
}

.modal-container {
    background: white;
    border-radius: 20px;
    width: 100%;
    max-width: 500px;
    max-height: none;
    overflow: visible;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    margin: auto;
}

.modal-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
}

.modal-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background-color: #f0f0f0;
    color: #333;
}

.modal-body {
    padding: 2rem;
    flex: 1;
    overflow-y: auto;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background-color: #f0f0f0;
    border-radius: 3px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: #71A4D8;
    border-radius: 3px;
    width: 8.33%;
    transition: width 0.3s ease;
}

.step-counter {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 2rem;
}

.form-step {
    display: none;
    animation: fadeIn 0.3s ease;
}

.form-step.active {
    display: block;
}

.form-step h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 2rem;
    line-height: 1.4;
}

.clinic-address {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.radio-option {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.radio-option:hover {
    border-color: #71A4D8;
    background-color: #DAEDFF;
}

.radio-option input[type="radio"] {
    margin-right: 1rem;
    width: 20px;
    height: 20px;
    accent-color: #71A4D8;
}

.radio-option span {
    font-size: 1rem;
    color: #333;
    line-height: 1.4;
}

.radio-option input[type="radio"]:checked + span {
    font-weight: 500;
}

.radio-option:has(input[type="radio"]:checked) {
    border-color: #71A4D8;
    background-color: #DAEDFF;
}

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

.input-group input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Libre Franklin', sans-serif;
    transition: border-color 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: #71A4D8;
}

.input-group input::placeholder {
    color: #999;
}

/* Consent Checkbox Styling */
.consent-group {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.consent-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    padding: 1rem;
    border-radius: 12px;
    transition: background-color 0.3s ease;
}

.consent-checkbox:hover {
    background-color: #f8f9fa;
}

.consent-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    cursor: pointer;
    margin-top: 2px;
    accent-color: #71A4D8;
}

.consent-checkbox span {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333;
}

.consent-checkbox span a {
    color: #71A4D8;
    text-decoration: underline;
    font-weight: 500;
}

.consent-checkbox span a:hover {
    color: #5A8BC4;
}

/* International Phone Input Styling */
.iti {
    width: 100%;
}

.iti__input {
    width: 100% !important;
    padding: 1rem !important;
    padding-left: 52px !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 12px !important;
    font-size: 1rem !important;
    font-family: 'Libre Franklin', sans-serif !important;
    transition: border-color 0.3s ease !important;
}

.iti__input:focus {
    outline: none !important;
    border-color: #71A4D8 !important;
}

.iti__country-list {
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid #e0e0e0;
    max-height: 200px;
    font-family: 'Libre Franklin', sans-serif;
}

.iti__country:hover {
    background-color: #DAEDFF;
}

.iti__country--highlight {
    background-color: #71A4D8 !important;
}

.iti__selected-country {
    border-radius: 12px 0 0 12px;
}

.modal-footer {
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    border-radius: 0 0 20px 20px;
}

.btn-prev,
.btn-next,
.btn-submit {
    background-color: #71A4D8;
    border: none;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    padding: 1rem 2rem;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-family: 'Libre Franklin', sans-serif;
    min-width: 120px;
}

.btn-prev {
    background-color: transparent;
    color: #71A4D8;
    border: 2px solid #71A4D8;
}

.btn-prev:hover {
    background-color: #71A4D8;
    color: white;
}

.btn-next:hover,
.btn-submit:hover {
    background-color: #5A8BC4;
    transform: translateY(-1px);
}

.btn-prev:hover,
.btn-next:hover,
.btn-submit:hover {
    box-shadow: 0 4px 12px rgba(113, 164, 216, 0.3);
}

.btn-prev:disabled,
.btn-next:disabled,
.btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

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

/* Mobile responsive */
@media (max-width: 768px) {
    .modal-overlay {
        background: rgba(113, 164, 216, 0.95) !important;
        width: 100vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        padding: 0 !important;
        overflow-y: scroll !important;
        /* iOS Safari mobile fixes */
        -webkit-overflow-scrolling: touch !important;
        overscroll-behavior: contain !important;
    }
    
    .modal-overlay.active {
        padding: 1rem !important;
        min-height: 100vh !important;
        min-height: 100dvh !important;
    }
    
    .modal-container {
        margin: 0 !important;
        max-height: none !important;
        width: 100% !important;
        border-radius: 12px !important;
        overflow: visible !important;
    }
    
    .modal-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .modal-header h2 {
        font-size: 1.25rem;
    }
    
    .modal-body {
        padding: 1rem 0.75rem;
    }
    
    .form-step h3 {
        font-size: 1.1rem;
    }
    
    .modal-footer {
        padding: 1rem 0.75rem;
    }
    
    .btn-prev,
    .btn-next,
    .btn-submit {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* Fix country selector on mobile */
    .iti__country-list {
        z-index: 99999 !important;
        font-size: 16px !important; /* Prevents zoom on iOS */
        position: absolute !important;
        max-height: 200px !important;
        overflow-y: auto !important;
        border: 1px solid #ccc !important;
        background: white !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
        width: 100% !important;
        left: 0 !important;
        right: 0 !important;
    }
    
    .iti__country {
        font-size: 16px !important; /* Prevents zoom on iOS */
        padding: 8px 12px !important;
        cursor: pointer !important;
    }
    
    .iti__country:hover {
        background: #f5f5f5 !important;
    }
    
    /* Ensure the dropdown flag is clickable */
    .iti__selected-flag {
        cursor: pointer !important;
        z-index: 10000 !important;
    }
    
    /* Enhanced country selector for mobile */
    .iti__country-list {
        z-index: 99999 !important;
        position: absolute !important;
        max-height: 200px !important;
        overflow-y: auto !important;
        width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        background: white !important;
        border: 1px solid #ccc !important;
        border-radius: 4px !important;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1) !important;
    }
    
    .iti__country {
        padding: 12px 16px !important;
        cursor: pointer !important;
        border-bottom: 1px solid #f0f0f0 !important;
        font-size: 16px !important;
        display: flex !important;
        align-items: center !important;
        background: white !important;
    }
    
    .iti__country:hover {
        background-color: #f5f5f5 !important;
    }
    
    .iti__country:last-child {
        border-bottom: none !important;
    }
    
    /* Make sure country flags and text are visible */
    .iti__country .iti__flag {
        margin-right: 8px !important;
    }
    
    .iti__country-name {
        color: #333 !important;
    }
    
    /* Fix phone input - normal behavior */
    input[type="tel"] {
        pointer-events: auto !important;
    }
    
    .iti__selected-flag {
        pointer-events: auto !important;
        cursor: pointer !important;
        z-index: 10000 !important;
    }
    
    /* Phone input group styling */
    .phone-input-group {
        display: flex !important;
        gap: 0.5rem !important;
    }
    
    .phone-input-group select {
        flex: 0 0 auto !important;
        width: 120px !important;
        padding: 1rem !important;
        border: 2px solid #e5e7eb !important;
        border-radius: 12px !important;
        font-size: 16px !important;
        background: white !important;
        cursor: pointer !important;
    }
    
    .phone-input-group input[type="tel"] {
        flex: 1 !important;
        padding: 1rem !important;
        border: 2px solid #e5e7eb !important;
        border-radius: 12px !important;
        font-size: 16px !important;
    }
    
    .phone-input-group select:focus,
    .phone-input-group input[type="tel"]:focus {
        outline: none !important;
        border-color: #71A4D8 !important;
        box-shadow: 0 0 0 3px rgba(113, 164, 216, 0.1) !important;
    }
    
    /* Prevent zoom on input focus */
    input[type="tel"],
    input[type="text"],
    input[type="email"],
    select {
        font-size: 16px !important;
    }
    
    /* Fix radio button alignment on mobile */
    .radio-option {
        display: flex !important;
        align-items: flex-start !important;
        padding: 1rem !important;
    }
    
    .radio-option input[type="radio"] {
        margin-right: 1rem !important;
        margin-top: 0.125rem !important; /* Slight top margin to align with first line of text */
        flex-shrink: 0 !important;
        width: 20px !important;
        height: 20px !important;
    }
    
    .radio-option span {
        flex: 1 !important;
        line-height: 1.4 !important;
    }
}

/* New form elements */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checkbox-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkbox-option:hover {
    border-color: #71A4D8;
    background-color: #f8fafc;
}

.checkbox-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #71A4D8;
}

.micro-question {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid #71A4D8;
}

.micro-question h4 {
    margin-bottom: 0.75rem;
    color: #1f2937;
    font-size: 1rem;
}

.helper-text {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.5rem;
    font-style: italic;
}

.upload-section {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: #f8fafc;
    border-radius: 8px;
    border: 2px dashed #71A4D8;
}

.upload-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.upload-btn, .skip-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.upload-btn {
    background-color: #71A4D8;
    color: white;
}

.upload-btn:hover {
    background-color: #5a8bc4;
}

.skip-btn {
    background-color: transparent;
    color: #6b7280;
    border: 2px solid #e5e7eb;
}

.skip-btn:hover {
    border-color: #71A4D8;
    color: #71A4D8;
}

.toggle-group {
    margin-top: 1rem;
}

.toggle-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-option:hover {
    border-color: #71A4D8;
    background-color: #f8fafc;
}

.toggle-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #71A4D8;
}

.privacy-note {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 1rem;
    font-style: italic;
}

.question-text {
    font-size: 1rem;
    color: #1f2937;
    margin-bottom: 1rem;
    font-weight: 500;
}

.reassurance-text {
    font-size: 0.875rem;
    color: #059669;
    margin-top: 0.5rem;
    font-weight: 500;
}

.sub-question {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid #71A4D8;
}

.sub-question h4 {
    margin-bottom: 0.75rem;
    color: #1f2937;
    font-size: 1rem;
}

.note-text {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.5rem;
    font-style: italic;
}

.privacy-link {
    color: #71A4D8;
    text-decoration: underline;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: block;
}

.privacy-link:hover {
    color: #5a8bc4;
}

/* Disqualification styling - identical to regular options */
.disqualify-option {
    /* Remove all special styling - make identical to regular options */
}

/* Clinic phone display */
.clinic-phone-display {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background-color: #f0f9ff;
    border: 2px solid #71A4D8;
    border-radius: 12px;
    text-align: center;
}

.phone-info h4 {
    color: #1e40af;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.phone-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e40af;
    margin: 1rem 0;
    background-color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    border: 2px solid #71A4D8;
    display: inline-block;
}

.phone-note {
    color: #374151;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Form lock styling */
.form-locked {
    pointer-events: none;
    opacity: 0.6;
}

.disqualification-message {
    text-align: center;
    padding: 2rem;
    background-color: #fef2f2;
    border: 2px solid #fca5a5;
    border-radius: 12px;
    margin: 1rem 0;
}

.disqualification-message h3 {
    color: #dc2626;
    margin-bottom: 1rem;
}

.disqualification-message p {
    color: #991b1b;
    margin-bottom: 1rem;
}

.disqualification-message .contact-info {
    background-color: #fecaca;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.disqualification-message .contact-info strong {
    color: #dc2626;
}

/* Availability Indicator Styles */
.availability-indicator {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    padding: 0.75rem 1rem;
    background-color: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 8px;
    width: fit-content;
}

.availability-dot {
    width: 8px;
    height: 8px;
    background-color: #22c55e;
    border-radius: 50%;
    margin-right: 0.5rem;
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

.availability-text {
    font-size: 0.9rem;
    color: #16a34a;
    font-weight: 500;
}

#slots-remaining {
    font-weight: 600;
    color: #15803d;
}

/* Enhanced Loading and Validation Styles */

/* Loading spinner and related styles */
.submit-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
    cursor: not-allowed !important;
}

.submit-loading .btn-text {
    opacity: 0.5;
}

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s ease-in-out infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Enhanced form validation styles */
.form-field-error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: block;
}

.field-required {
    color: #ef4444;
    margin-left: 2px;
}

/* Email validation specific styles */
.email-invalid {
    border-color: #f59e0b !important;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1) !important;
}

.email-warning {
    color: #f59e0b;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: block;
}
