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

:root {
    --primary-blue: #4A5FA5;
    --primary-green: #7BC143;
    --accent-red: #E63946;
    --accent-orange: #F77F00;
    --accent-cyan: #06D6A0;
    --text-dark: #2B2D42;
    --text-light: #8D99AE;
    --bg-light: #F8F9FA;
    --white: #FFFFFF;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

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

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%);
    color: var(--white);
    padding: 80px 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    color: var(--white);
}

.highlight {
    color: var(--accent-cyan);
}

.highlight-red {
    color: var(--accent-orange);
    font-weight: 700;
}

.hero-features {
    margin-bottom: 2rem;
}

.hero-features ul {
    list-style: none;
    padding: 0;
}

.hero-features li {
    padding: 0.6rem 0;
    padding-left: 1.8rem;
    position: relative;
    color: var(--white);
    font-size: 1.05rem;
}

.hero-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
    font-size: 1.2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--accent-orange);
    color: var(--white);
    padding: 14px 35px;
    font-size: 1.1rem;
}

.btn-primary:hover {
    background: #e67300;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

.btn-trial {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    color: var(--white);
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
}

.btn-trial:hover {
    background: linear-gradient(135deg, #3d4f8f, #6aa835);
    transform: translateY(-2px);
}

.hero-form-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    max-width: 450px;
}

.hero-form-card h3 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
}

.hero-form .form-group {
    margin-bottom: 1rem;
}

.hero-form input {
    width: 100%;
    padding: 12px;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.hero-form input:focus {
    outline: none;
    border-color: #E63946;
}

.form-privacy {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

/* Section Styles */
section {
    padding: 80px 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* About Section */
.about {
    background: var(--bg-light);
}

.about-text {
    max-width: 900px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature-text h4 {
    color: var(--primary-blue);
    margin: 0;
    font-size: 1.1rem;
    min-height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-text p {
    margin: 0;
    line-height: 1.5;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-green));
    transform: scaleX(0);
    transition: transform 0.4s;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card.expanded {
    background: linear-gradient(135deg, rgba(74, 95, 165, 0.05), rgba(123, 193, 67, 0.05));
}

.service-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(74, 95, 165, 0.15), rgba(123, 193, 67, 0.15));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s, box-shadow 0.4s;
    box-shadow: 0 4px 15px rgba(74, 95, 165, 0.1);
}

.service-card:hover .service-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(74, 95, 165, 0.3);
}

.service-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.1));
}

.service-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    text-align: center;
}

.service-description {
    color: var(--text-light);
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
}

.service-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.4s;
    opacity: 0;
}

.service-card.expanded .service-details {
    max-height: 500px;
    opacity: 1;
    margin-bottom: 1.5rem;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    padding: 0.6rem 0;
    padding-left: 1.8rem;
    position: relative;
    color: var(--text-dark);
    transition: transform 0.2s, color 0.2s;
}

.service-card li:hover {
    transform: translateX(5px);
    color: var(--primary-blue);
}

.service-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
    font-size: 1.2rem;
}

.service-btn {
    width: 100%;
    padding: 12px 24px;
    background: linear-gradient(135deg, #5A7BC4, #8FCA5A);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    margin-top: auto;
}

.service-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.service-btn:hover::before {
    width: 300px;
    height: 300px;
}

.service-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(74, 95, 165, 0.4);
}

.service-card.expanded .service-btn {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
}

.service-card.expanded .service-btn::after {
    content: ' ▲';
}

.service-btn::after {
    content: ' ▼';
    font-size: 0.8rem;
}

/* Info Section */
.info-section {
    background: var(--bg-light);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.info-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.info-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.info-list {
    list-style: none;
}

.info-list li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    border-bottom: 1px solid var(--bg-light);
}

.info-list li:last-child {
    border-bottom: none;
}

.info-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-size: 1.5rem;
}

/* Doctors Section */
.doctors {
    background: var(--bg-light);
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.doctor-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
    margin-top: 120px;
    position: relative;
    padding-top: 120px;
}

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

.doctor-image {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.doctor-image img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 20%;
    border: 8px solid var(--white);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    display: block;
}

/* Clip wrapper — same circle size, hides overflow so zoom stays inside */
.doctor-img-clip {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 8px solid var(--white);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Remove border/shadow from img when clip wrapper is used */
.doctor-img-clip img {
    width: 100%;
    height: 100%;
    border-radius: 0;
    border: none;
    box-shadow: none;
    object-fit: cover;
    object-position: center 20%;
    transform: scale(1.5) translateY(6%);
    transform-origin: center top;
    display: block;
}

.doctor-placeholder {
    width: 150px;
    height: 150px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-blue);
}

.doctor-info {
    padding: 0 2rem 2rem 2rem;
    text-align: center;
}

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

.doctor-title {
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 1rem;
}

.doctor-description {
    color: var(--text-light);
    line-height: 1.8;
    list-style: none;
    padding: 0;
    margin: 0;
}

.doctor-description li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.doctor-description li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
    font-size: 1.1rem;
}

/* Testimonials Section */
.testimonials-note {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 3rem;
}

.testimonials-note p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Carousel wrapper: positions arrow buttons on the sides */
.testimonials-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Scrollable track */
.testimonials-carousel {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0.5rem 0.25rem 1rem;
    flex: 1;
    /* hide scrollbar */
    scrollbar-width: none;
}
.testimonials-carousel::-webkit-scrollbar {
    display: none;
}

/* Each video card — fixed width so they don't shrink */
.testimonial-video {
    flex: 0 0 280px;
    scroll-snap-align: start;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Shorts are 9:16 portrait ratio */
.video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 177.78%;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Arrow buttons */
.carousel-btn {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--primary-green);
    background: var(--white);
    color: var(--primary-green);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
    padding: 0;
}
.carousel-btn:hover {
    background: var(--primary-green);
    color: var(--white);
}

/* Reviews Section */
.reviews {
    background: var(--bg-light);
}

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

.rating-summary {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    display: inline-block;
}

.rating-score {
    margin-bottom: 1rem;
}

.score {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-blue);
}

.stars {
    color: #FFD700;
    font-size: 1.5rem;
    margin-top: 0.5rem;
}

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

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.review-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.reviewer-info {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.reviewer-name {
    color: var(--primary-blue);
    margin-bottom: 0.25rem;
}

.review-stars {
    color: #FFD700;
    font-size: 1rem;
}

.review-text {
    color: var(--text-light);
    line-height: 1.8;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.info-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.info-item h4 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.info-item p {
    color: var(--text-light);
}

.info-item a {
    color: var(--primary-green);
    text-decoration: none;
}

.info-item a:hover {
    text-decoration: underline;
}

.contact-form-container {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
}

.contact-form h3 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s;
}

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

.form-note {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 1rem;
    text-align: center;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Footer */
.footer {
    background: var(--primary-blue);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    padding: 0.75rem 1rem;
    border-radius: 14px;
    margin-bottom: 1rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.footer-logo img {
    height: 72px;
    width: auto;
    object-fit: contain;
    display: block;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--accent-cyan);
}

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

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

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    white-space: nowrap;
}

.footer-contact-list .contact-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-section a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

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

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

    .about-features {
        grid-template-columns: 1fr;
    }

    .info-grid,
    .doctors-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }

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

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

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

/* Tablet and larger screens - 4 columns */
@media (min-width: 769px) and (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }
}
