/* CSS Reset and Variables */
:root {
    --primary-teal: #008a9f;
    /* Approximation from image */
    --primary-teal-dark: #006e80;
    --action-orange: #ff6600;
    /* Approximation from image */
    --action-orange-hover: #e55c00;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    /* Faint blue/gray backgrounds */
    --bg-white: #ffffff;
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

/* Typography */
.serif-heading {
    font-family: var(--font-serif);
    font-weight: 500;
    color: var(--text-dark);
}

.subtitle {
    color: var(--primary-teal);
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.subtitle-small {
    font-size: 0.875rem;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

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

.btn-primary:hover {
    background-color: var(--action-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
}

.icon-teal {
    color: var(--primary-teal);
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 60px;
}

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

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

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* Hero Section */
.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 138, 159, 0.9), rgba(0, 138, 159, 0.5));
    z-index: -1;
}

.hero-content {
    color: white;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* About Section */
.about {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.watermark {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.03);
    white-space: nowrap;
    z-index: -1;
}

.watermark-right {
    left: auto;
    right: -100px;
    transform: none;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-image-col,
.about-content-col {
    flex: 1;
}

.image-mask {
    border-radius: 0 0 500px 500px;
    overflow: hidden;
    height: 600px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

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

.about-content-col h2 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.about-content-col p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.services-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.services-header h2 {
    font-size: 3rem;
}

.carousel-container {
    position: relative;
}

.services-carousel {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding-bottom: 2rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    /* Firefox */
}

.services-carousel::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.service-card {
    flex: 0 0 calc(25% - 1.5rem);
    min-width: 280px;
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    scroll-snap-align: start;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    background: rgba(0, 138, 159, 0.9);
}

.service-card:hover .serif-heading,
.service-card:hover p,
.service-card:hover .icon-teal {
    color: white;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.service-icon span {
    font-size: 2.5rem;
    transition: var(--transition);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    transition: var(--transition);
}

.service-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    flex-grow: 1;
    transition: var(--transition);
}

.arrow-btn {
    align-self: flex-start;
    background: none;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-teal);
    cursor: pointer;
    transition: var(--transition);
}

.arrow-btn span {
    transition: transform 0.3s ease;
}

.service-card:hover .arrow-btn {
    background: var(--action-orange);
    color: white;
    border-color: var(--action-orange);
}

.service-card:hover .arrow-btn span {
    transform: rotate(-45deg);
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.control-btn {
    background: white;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.control-btn:hover {
    background: var(--primary-teal);
    color: white;
    border-color: var(--primary-teal);
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
}

.testimonials-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.test-content {
    flex: 1;
}

.test-content h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.highlight {
    color: var(--primary-teal);
}

.quote-text {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 2rem;
    position: relative;
}

.patient-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.patient-profile img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.patient-profile span {
    font-weight: 600;
}

.test-image {
    flex: 1;
}

.image-mask-right {
    border-radius: 50% 50% 50% 50% / 40% 60% 60% 40%;
    overflow: hidden;
    height: 500px;
}

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

.test-controls {
    display: flex;
    /* justify-content: center; */
    gap: 1rem;
    margin-top: 2rem;
}

/* Gallery Section */
.gallery {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.gallery-grid {
    display: flex;
    width: max-content;
    animation: scrollGallery 20s linear infinite;
}

.gallery-grid img {
    margin: 0px 10px;
    width: calc(25vw - 20px);
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
    flex-shrink: 0;
    border-radius: 10px;
}

.gallery-grid:hover {
    animation-play-state: paused;
}

.gallery-grid img:hover {
    transform: scale(1.05);
    z-index: 1;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

@keyframes scrollGallery {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Awards Section */
.awards {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.awards-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.awards-image {
    flex: 1;
}

.image-mask-left {
    border-radius: 50% 50% 50% 50% / 60% 40% 40% 60%;
    overflow: hidden;
    height: 500px;
}

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

.awards-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.award-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.award-badge {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary-teal);
    color: var(--primary-teal);
}

.award-badge img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.award-info h3 {
    font-size: 2rem;
    color: var(--primary-teal);
    margin-bottom: 0.25rem;
}

/* Contact Section */
.contact {
    padding: 100px 0;
}

.contact-box {
    background-color: var(--primary-teal);
    border-radius: 20px;
    display: flex;
    overflow: hidden;
    color: white;
}

.contact-form-col {
    flex: 3;
    padding: 4rem;
}

.contact-form-col h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 2rem;
}

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

.contact-form label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-family: inherit;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.2);
}

.contact-form textarea {
    height: 120px;
    resize: vertical;
}

.contact-info-col {
    flex: 2;
    background-color: var(--primary-teal-dark);
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
}

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

.info-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-text .label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    opacity: 0.8;
}

.info-text .val {
    font-size: 1.25rem;
    font-weight: 500;
}

.social-links {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    color: var(--primary-teal-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--action-orange);
    color: white;
}

.social-icon.whatsapp {
    color: #25D366;
    font-size: 1.25rem;
}

.social-icon.whatsapp:hover {
    background: #25D366;
    color: white;
}

/* Footer */
.footer {
    padding: 6rem 0 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.footer-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 15rem;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.02);
    z-index: -1;
    pointer-events: none;
}

.footer-logo {
    height: 60px;
    margin-bottom: 2rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

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

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

.copyright {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Animations & Responsiveness */
.fade-up,
.fade-left,
.fade-right {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up {
    transform: translateY(30px);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-left {
    transform: translateX(30px);
}

.fade-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-right {
    transform: translateX(-30px);
}

.fade-right.visible {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .about-container,
    .testimonials-container,
    .awards-container {
        gap: 2rem;
    }

    .gallery-grid img {
        width: calc(50vw - 20px);
    }

    .contact-box {
        flex-direction: column;
    }

    .contact-form-col,
    .contact-info-col {
        padding: 2rem;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .navbar .btn-primary {
        display: none;
    }

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

    .about-container,
    .testimonials-container,
    .awards-container {
        flex-direction: column;
        text-align: center;
    }

    .watermark {
        font-size: 5rem;
        top: 20px;
    }

    .image-mask,
    .image-mask-right,
    .image-mask-left {
        height: 400px;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .test-content {
        order: 2;
    }

    .test-image {
        order: 1;
        width: 100%;
    }

    .awards-image {
        order: 1;
        width: 100%;
    }

    .awards-list {
        order: 2;
        align-items: center;
        text-align: left;
    }

    .service-card {
        flex: 0 0 calc(100% - 2rem);
    }
}

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

    .gallery-grid img {
        width: calc(100vw - 20px);
    }
}