/* Import Geist font */
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&display=swap');

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: white;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.header {
    padding: 0 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    width: 160px;
}

.nhs-logo-container {
    width: 192px;
    display:flex;
}

.logo-container img,
.nhs-logo-container img {
    max-width: 100%;
    height: auto;
}

/* Hero Section */
.hero {
    background-color: #005EB8;
    color: white;
    padding: 4rem 0;
}

.hero-content {
    text-align: center;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.badge-icon {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge span {
    font-size: 0.875rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.cta-button.primary {
    background-color: rgb(4, 120, 87);
    color: white;
}

.cta-button.secondary {
    background-color: rgb(4, 120, 87);
    color: white;
}

.cta-button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.cta-note {
    font-size: 0.875rem;
    margin-top: 0.5rem;
    opacity: 0.8;
}

/* Medical Centre Info */
.medical-info {
    padding: 4rem 0;
}

.medical-info-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.medical-info-header {
    /* display: flex;
    align-items: center;
    gap: 0.5rem; */
    margin-bottom: 1rem;
}

.medical-info-header h2 {
    font-size: 1.25rem;
    font-weight: bold;
}

.bourne-health-logo {
    max-width: 100%;
    height: auto;
    margin-bottom: 0.5rem;
}

.medical-info-text h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.medical-info-text p {
    color: #555;
    margin-bottom: 1rem;
}

.medical-info-image {
    flex: 1;
    display:flex;
    justify-content:flex-end;
}

.medical-info-image img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

/* Why Choose Us */
.why-choose-us {
    padding: 3rem 0;
    background-color: #f5f0ff;
}

.section-title {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    background-color: white;
    padding: 0.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-content h3 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.feature-content p {
    font-size: 0.875rem;
    color: #666;
}

/* How It Works */
.how-it-works {
    padding: 4rem 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.step {
    text-align: center;
}

.step-number {
    background-color: #452d6d;
    color: white;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: bold;
}

.step h3 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.step p {
    font-size: 0.875rem;
    color: #666;
}

.how-it-works-cta {
    text-align: center;
    margin-top: 2rem;
}

.inclusion-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #666;
    margin: 0 auto 2rem;
    background-color: #F5F0FF;
    border-radius: 10px;
    padding: 0.5rem 1rem;
    width: fit-content;
}

.inclusion-note-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* What We Offer */
.what-we-offer {
    padding: 3rem 0;
    background-color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.service {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.check-icon {
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.service p {
    color: #555;
}

/* Testimonials */
.testimonials {
    padding: 3rem 0;
    background-color: #f5f0ff;
}

.testimonials-carousel {
    position: relative;
    max-width: 48rem;
    margin: 0 auto;
}

.carousel-container {
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.carousel-track {
    display: flex;
    transition: transform 0.4s ease-in-out;
}

.testimonial {
    min-width: 100%;
    width: 100%;
    background-color: white;
    padding: 2rem;
    flex-shrink: 0;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.testimonial-text {
    font-size: 1.125rem;
    font-style: italic;
    color: #555;
    margin-bottom: 1rem;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    line-height: 1.6;
}

.testimonial-author {
    font-size: 0.875rem;
    color: #666;
    margin-block-end: 5px;
}

.g-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.google-stars {
    margin-bottom: 4px;
}

.google-stars svg {
    display: block;
}

/* Carousel Navigation */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: white;
    border: 2px solid #452d6d;
    color: #452d6d;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.carousel-btn:hover {
    background-color: #452d6d;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn-prev {
    left: -1.5rem;
}

.carousel-btn-next {
    right: -1.5rem;
}

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.indicator {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    border: none;
    background-color: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background-color: #452d6d;
    transform: scale(1.2);
}

.indicator:hover {
    background-color: #452d6d;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .carousel-btn {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .carousel-btn-prev {
        left: -1rem;
    }
    
    .carousel-btn-next {
        right: -1rem;
    }
    
    .testimonial {
        padding: 1.5rem;
        min-width: 100%;
        width: 100%;
    }
    
    .testimonial-text {
        font-size: 1rem;
        line-height: 1.5;
        word-break: break-word;
    }
    
    .testimonials-carousel {
        margin: 0 1rem;
    }
}

/* Find Us */
.find-us {
    padding: 3rem 0;
    background-color: white;
}

.find-us-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-info {
    background-color: #f5f0ff;
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.contact-item h3 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-item p {
    font-size: 0.875rem;
    color: #666;
}

.contact-item a {
    color: inherit;
    text-decoration: none;
}

.map-container {
    height: 16rem;
    background-color: #e5e7eb;
    border-radius: 0.5rem;
    overflow: hidden;
    position: relative;
}

.map-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-label {
    position: absolute;
    bottom: 0.5rem;
    left: 0.5rem;
    font-size: 0.75rem;
    color: #666;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

/* FAQ */
.faq {
    padding: 3rem 0;
    background-color: #f5f0ff;
}

.faq-list {
    max-width: 64rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.125rem;
    color: #333;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f8f6ff;
}

.faq-question span {
    flex: 1;
    margin-right: 1rem;
}

.faq-icon {
    color: #452d6d;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.faq-answer p {
    color: #555;
    margin: 0;
}

/* Final CTA */
.final-cta {
    padding: 4rem 0;
    background-color: #005EB8;
    color: white;
}

.final-cta-content {
    text-align: center;
}

.final-cta h2 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.final-cta p {
    max-width: 36rem;
    margin: 0 auto 2rem;
}

/* Footer */
.footer {
    padding: 2rem 0;
    border-top: 1px solid #e5e7eb;
}

.footer-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.footer-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.footer-header h2 {
    font-size: 0.875rem;
    font-weight: bold;
    text-transform: uppercase;
}

.footer-left p {
    font-size: 0.75rem;
    color: #666;
}

.footer-right {
    text-align: center;
}

.footer-link {
    font-size: 0.875rem;
    color: #452d6d;
    text-decoration: none;
}

.footer-link:hover {
    text-decoration: underline;
}

.footer-logo {
    margin: 0.5rem 0;
}

.footer-copyright {
    font-size: 0.75rem;
    color: #666;
    margin-top: 0.5rem;
}

/* Responsive Design */
@media (min-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .medical-info-content {
        flex-direction: row;
    }
    
    .medical-info-text {
        flex: 1;
    }
    
    .medical-info-image {
        flex: 1;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .find-us-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-content {
        flex-direction: row;
    }
    
    .footer-right {
        text-align: right;
    }
    
    .map-container {
        height: auto;
        min-height: 18rem;
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .hero-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .badge {
        flex-direction: column;
        text-align: center;
    }
    
    .find-us-content {
        grid-template-columns: 1fr;
    }
    
    .header-content {
        flex-direction: row;
        gap: 0.5rem;
        align-items: center;
    }
    
    .logo-container {
        width: 120px;
    }
    
    .nhs-logo-container {
        width: 140px;
    }
    
    .logo-container img,
    .nhs-logo-container img {
        width: 100%;
        height: auto;
    }
    
    /* FAQ mobile fixes */
    .faq-item.active .faq-answer {
        max-height: none;
        padding: 0 1rem 1.5rem 1rem;
    }
    
    .faq-question {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .faq-answer {
        padding: 0 1rem;
    }
} 