:root {
    --brand: #0B2B5A;
    --accent: #C8A2C8;
    --white: #ffffff;
    --muted: #6b7280;
    --maxw: 1100px;
}

* {
    box-sizing: border-box
}

body {
    font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial;
    margin: 0;
    color: #0f172a;
    background: linear-gradient(180deg, #fbfdff, #f7f7fb);
}

.container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 20px
}

.site-header {
    background: rgba(255, 255, 255, 0.9);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 6px rgba(12, 16, 29, 0.05);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px
}

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

#main-nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.mobile-book {
    display: none;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav a {
    text-decoration: none;
    color: #001F3F;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: #C8A2C8;
    transition: width 0.3s ease;
}

.nav a:hover {
    color: #C8A2C8;
}

.nav a:hover::after {
    width: 100%;
}

.mobile-book {
    display: none;
}

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

.btn {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 15px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-outline {
    border: 2px solid #C8A2C8;
    color: #001F3F;
    background: transparent;
}

.btn-outline:hover {
    background: #001F3F;
    color: #fff;
    border: none;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0, 31, 63, 0.3);
}

.btn-primary {
    background: #001F3F;
    color: #fff;
    border: 2px solid transparent;
}

.btn-primary:hover {
    background: #C8A2C8;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(200, 162, 200, 0.4);
}


.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 20px
}

.hero {
    height: 100vh;
    position: relative;
    overflow: hidden
}

.carousel {
    height: 100%;
    position: relative;
    overflow: hidden;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.slide {
    opacity: 0;
    transform: scale(1.03);
    transition: opacity 700ms ease, transform 900ms ease
}

.slide.is-active {
    opacity: 1;
    transform: scale(1);
    visibility: visible;
    pointer-events: auto;
    position: relative;
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 43, 90, 0.9), rgba(200, 162, 200, 0.5));
}

.hero-content {
    position: relative;
    color: #fff;
    padding: 40px 20px;
    max-width: 720px
}

.hero-content h1 {
    font-size: 2.4rem;
    margin: 0 0 8px
}

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

.lead {
    opacity: 0.95
}

.hero-ctas {
    margin-top: 18px;
    display: flex;
    gap: 12px
}

.hero-btn1 {
    background: #C8A2C8;
    color: #001F3F;
}

.hero-btn1:hover {
    background: #001F3F;
    color: #fff;
    border: none;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0, 31, 63, 0.3);
}

.hero-btn2 {
    border: 2px solid #001F3F;
    color: #fff;
    background:transparent;
}

.hero-btn2:hover {
    background: #C8A2C8;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(200, 162, 200, 0.4);
}

.section-head {
    text-align: center;
    margin-bottom: 20px
}

.about {
    padding: 1rem 0;
    background: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    align-items: center;
}

.about-text {
    max-width: 600px;
}

.about-text h2 {
    font-size: 2rem;
    color: #0B2B5A;
    margin-bottom: 1.2rem;
}

.about-text p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.about-text .btn {
    margin-top: 1.5rem;
}

.about-img {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    margin-top: 3rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.about-img img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform .5s ease;
}

.about-img:hover img {
    transform: scale(1.05);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-text {
        margin: 0 auto;
    }
}

.services {
    background: #f9f9ff;
    text-align: center;
}

.section-head {
    margin-bottom: 3rem;
}

.section-head h2 {
    font-size: 2rem;
    color: #001F3F;
    margin-bottom: 0.8rem;
}

.section-head p {
    color: #555;
}

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

.service-card {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform .3s ease, box-shadow .3s ease;
    text-align: left;
}

.service-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.service-img {
    height: 220px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-content {
    padding: 1.5rem;
}

.service-content h3 {
    color: #1a1a1a;
    font-size: 1.25rem;
    margin-bottom: 0.6rem;
}

.service-content p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.service-content .btn {
    display: inline-block;
    font-size: 0.9rem;
    padding: 0.6rem 1.4rem;
    border-radius: 2rem;
    transition: all 0.3s ease;
}

.service-content .btn:hover {
    background: #001F3F;
    color: #fff;
    border-color: #7a5af8;
}

.center {
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .service-card {
        text-align: center;
    }

    .service-content {
        padding: 1.2rem;
    }
}


.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px
}

.gallery-grid img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px
}

.testimonials {
    padding: 1rem 0;
    background: #fff;
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-card {
    background: #f9f9ff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: left;
}

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

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.testimonial-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #7a5af8;
}

.testimonial-header h4 {
    font-size: 1.1rem;
    color: #001F3F;
    margin-bottom: 0.2rem;
}

.testimonial-header span {
    font-size: 0.9rem;
    color: #777;
}

.testimonial-text {
    font-style: italic;
    color: #444;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .testimonial-card {
        text-align: center;
    }

    .testimonial-header {
        flex-direction: column;
    }
}

.contact-preview {
    background: #f8fbff;
    padding: 60px 20px;
}

.contact-card {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 30px 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
}

.contact-info h3 {
    font-size: 1.6rem;
    color: #001F3F;
    font-weight: 600;
}

.contact-info p {
    color: #555;
    font-size: 1rem;
    margin: 5px 0;
}

.contact-info a {
    color: #001F3F;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #C8A2C8;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .contact-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        text-align: left;
    }

    .contact-btn {
        width: 100%;
    }

    .contact-btn .btn-primary {
        width: 100%;
        text-align: center;
    }
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 8px;
    border: 1px solid #e6e6ee
}

.muted {
    color: var(--muted);
    font-size: 0.95rem
}

.site-footer {
    background-color: #001F3F;
    color: #fff;
    padding: 60px 20px 20px;
    font-family: 'Poppins', sans-serif;
}

.footer-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 40px;
}

.footer-logo {
    background: rgba(236, 236, 236, 0.9);
    border-radius: 10px;
    /* padding: 8px; */
    width: 200px;
    /* margin-bottom: 15px; */
}

.footer-brand p {
    font-size: 0.95rem;
    color: #dbe4f0;
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 12px;
    font-weight: 600;
}

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

.footer-links ul li {
    margin: 8px 0;
}

.footer-links ul li a {
    color: #dbe4f0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #C8A2C8;
}

.footer-contact p {
    font-size: 0.95rem;
    margin: 6px 0;
}

.footer-contact a {
    color: #66b2ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #C8A2C8;
}

.socials {
    margin-top: 12px;
    display: flex;
    gap: 12px;
}

.socials a {
    color: #66b2ff;
    background: rgba(255, 255, 255, 0.1);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.socials a:hover {
    background: #C8A2C8;
    color: #002244;
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    font-size: 0.9rem;
    color: #a5b8d8;
}

.footer-bottom a {
    color: #66b2ff;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer-inner {
        text-align: left;
        gap: 30px;
    }

    .footer-bottom {
        font-size: 0.85rem;
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

.pages-hero {
    position: relative;
    background: url('../images/clinic.jpg') center/cover no-repeat;
    color: #fff;
    padding: 120px 20px;
    text-align: center;
}

.pages-hero .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.pages-hero .hero-content {
    position: relative;
    z-index: 2;
}

.pages-hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.pages-hero p {
    font-size: 1.1rem;
    color: #f3f3f3;
}

/* FORM SECTION */
.appointment-section {
    padding: 20px;
    background: #f9f9fb;
}

.appointment-section h2 {
    text-align: center;
    color: #0b3954;
    margin-bottom: 40px;
}

#appointmentForm {
    max-width: 800px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
    padding: 14px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 1rem;
    transition: 0.3s ease;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
    border-color: #0b3954;
    outline: none;
    box-shadow: 0 0 6px rgba(11, 57, 84, 0.25);
}

textarea {
    resize: none;
    grid-column: 1 / -1;
    min-height: 120px;
}

.map-section {
    background: #fff;
}

.map-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.map-info h3 {
    color: #0b3954;
    margin-bottom: 15px;
}

.map-info p {
    color: #555;
    margin-bottom: 8px;
    line-height: 1.6;
}

.map iframe {
    width: 100%;
    height: 320px;
    border-radius: 12px;
    border: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    color: #fff;
    font-size: 1.8rem;
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    z-index: 1000;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .book-hero h1 {
        font-size: 2.2rem;
    }

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

.about-intro {
    text-align: center;
    padding: 4rem 1rem;
    max-width: 800px;
}

.mission-vision {
    background: #f8f9fa;
    padding: 4rem 1rem;
}

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

.mv-item {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.mv-item ul {
    list-style: none;
    padding: 0;
}

.mv-item li {
    margin: 0.5rem 0;
}

.why-choose-us {
    padding: 4rem 1rem;
}

.choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    text-align: center;
}

.choose-item i {
    font-size: 2rem;
    color: #00bfa6;
    margin-bottom: 1rem;
}

.team-section {
    padding: 4rem 1rem;
    text-align: center;
}

.team-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.team-member {
    background: #fff;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    width: 250px;
}

.team-member img {
    width: 100%;
    border-radius: 1rem;
    height: 250px;
    object-fit: cover;
}

.about-cta {
    background: #00bfa6;
    color: #fff;
    text-align: center;
    padding: 4rem 1rem;
}

.about-cta .btn {
    background: #fff;
    color: #00bfa6;
    margin-top: 1rem;
}



/* Responsive */
@media (max-width:900px) {
    .hamburger {
        display: block;
        font-size: 1.8rem;
        background: none;
        border: none;
        cursor: pointer;
        color: #001F3F;
    }


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

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

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

    .nav {
        display: none
    }

    .desktop-book {
        display: none;
    }

    .nav {
        position: fixed;
        top: 84px;
        right: -100%;
        width: 50%;
        height: 50vh;
        background: #fff;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.4s ease;
        z-index: 999;
    }

    .nav.active {
        right: 0;
    }

    .nav a {
        font-size: 1.1rem;
        color: #001F3F;
    }

    .mobile-book {
        display: inline-block;
        background: #001F3F;
        color: #fff !important;
        padding: 10px 20px;
        border-radius: 30px;
        font-weight: 600;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
    }

    .mobile-book:hover {
        background: #C8A2C8;
    }
}

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

    .gallery-grid img {
        height: 110px
    }

    .footer-logo {
    background: rgba(236, 236, 236, 0.9);
    border-radius: 10px;
    width: 120px;
}
}