:root {
    --theme-navy: #152238;
    --theme-navy-light: #1f3554;
    --theme-maroon: #8b1c31;
    --text-dark: #333333;
    --text-grey: #777777;
    --bg-light: #f4f6fa;
    --bg-white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

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

/* Utilities */
.text-center { text-align: center; }
.maroon-text { color: var(--theme-maroon); font-weight: 600; text-transform: uppercase; letter-spacing: 2px;}
.btn-navy {
    background: var(--theme-navy);
    color: white;
    padding: 12px 30px;
    border: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.3s;
    display: inline-block;
}
.btn-navy:hover { opacity: 0.8; }
.btn-white {
    background: white;
    color: var(--theme-navy);
    padding: 10px 25px;
    border: none;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
}

/* Nav */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    position: fixed;
    top: 0; 
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    z-index: 1000;
    transition: background 0.3s;
}
.logo-img { height: 60px; width: auto; object-fit: contain;}
.nav-links { display: flex; list-style: none; gap: 30px; }
.nav-links a { text-decoration: none; color: var(--theme-navy); font-size: 0.9rem; font-weight: 600; text-transform: uppercase; }

/* Hero */
.hero {
    min-height: 50vh;
    background: radial-gradient(circle at top center, #ffffff 0%, var(--bg-light) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 140px;
}
.hero h4 { color: var(--text-grey); text-transform: uppercase; letter-spacing: 2px; font-weight: 400; margin-bottom: 5px; font-size: 0.9rem;}
.hero h1 { color: var(--theme-maroon); font-size: 2.8rem; font-weight: 300; margin-bottom: 15px; letter-spacing: 1px;}
.hero p { color: var(--text-grey); max-width: 700px; font-size: 0.95rem; margin-bottom: 30px; line-height: 1.8;}

/* Conditions Setup */
.conditions {
    padding: 80px 5%;
    text-align: center;
    position: relative;
    background: linear-gradient(180deg, var(--bg-light) 0%, rgba(200,210,230,0.3) 100%);
}
.conditions-title { margin-bottom: 80px; position:relative; z-index: 20;}
.conditions-title p { color: var(--theme-maroon); font-size: 1.5rem; letter-spacing: 3px; font-weight: 300;}
.conditions-title strong { font-weight: 600; }

.diagram-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}
.diagram-center img {
    height: 450px;
    z-index: 10;
    position: relative;
    mix-blend-mode: multiply;
}
.diagram-markers {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0; left: 0;
    pointer-events: none;
}
.marker {
    position: absolute;
    width: 180px;
    font-size: 0.8rem;
    color: var(--text-grey);
    line-height: 1.4;
}
.marker h5 { color: var(--text-dark); font-size: 0.9rem; margin-bottom: 3px; text-transform: uppercase; }
.marker::after { /* The connecting line */
    content: '';
    position: absolute;
    height: 1px;
    background: #d0b070;
    width: 80px;
    top: 10px;
}
/* Positioning markers left aligned text */
.marker.left { text-align: right; }
.marker.left::after { right: -90px; }
.marker.right { text-align: left; }
.marker.right::after { left: -90px; }

.m1 { top: 15%; left: 10%; }
.m2 { top: 35%; left: 5%; }
.m3 { top: 55%; left: 10%; }
.m4 { top: 15%; right: 10%; }
.m5 { top: 40%; right: 5%; }
.m6 { top: 65%; right: 10%; }

/* Services */
.services-title { text-align: center; margin: 60px 0 30px 0; }
.services-title p { color: var(--theme-maroon); font-size: 1.5rem; letter-spacing: 3px; font-weight: 300;}
.services-title strong { font-weight: 600; }

.services-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 80px;
}
.service-box {
    background: var(--theme-navy);
    color: white;
    width: 160px;
    height: 160px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: transform 0.3s;
    cursor: pointer;
}
.service-box:hover { transform: translateY(-5px); background: var(--theme-navy-light); }
.service-box .icon { font-size: 2.5rem; margin-bottom: 15px; font-weight: 300;}
.service-box h6 { font-size: 0.8rem; font-weight: 400; text-transform: uppercase; letter-spacing: 1px; line-height: 1.4;}

/* Dark Skeleton / Doctor Profile Section */
.profile-section {
    background: var(--theme-navy);
    margin-top: -50px;
    padding-top: 150px;
    padding-bottom: 150px;
    clip-path: polygon(0 8vw, 100% 0, 100% 100%, 0 100%);
    position: relative;
    text-align: center;
    color: white;
    background-image: radial-gradient(circle at center, rgba(30,60,100,0.5) 0%, var(--theme-navy) 70%);
}

.profile-card {
    position: relative;
    z-index: 2;
    display: inline-block;
}
.profile-img-wrap {
    width: 140px;
    height: 140px;
    border: 3px solid white;
    border-radius: 15px;
    overflow: hidden;
    margin: 0 auto 20px auto;
}
.profile-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.profile-card h4 { color: var(--theme-maroon); font-size: 0.85rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 5px; font-weight: 600;}
.profile-card h2 { font-size: 2rem; font-weight: 300; margin-bottom: 15px; letter-spacing: 1px;}
.profile-card p {
    font-size: 0.85rem;
    color: #a0aabf;
    max-width: 600px;
    margin: 0 auto 25px auto;
    line-height: 1.8;
}

/* CEO Message Section */
.ceo-message-section {
    background: var(--bg-white);
    padding: 100px 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.ceo-text-content { flex: 1; text-align: left; }
.ceo-text-content h5 { color: var(--theme-maroon); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 15px; font-weight: 600;}
.ceo-text-content h2 { color: var(--theme-navy); font-size: 2.2rem; margin-bottom: 25px; line-height: 1.2; font-weight: 300; }
.ceo-text-content p { color: var(--text-grey); font-size: 1rem; line-height: 1.8; margin-bottom: 30px; }
.ceo-sig { font-style: italic; color: var(--theme-navy); font-weight: 600; font-size: 1.1rem; }
.ceo-sig span { display: block; font-style: normal; font-size: 0.85rem; color: var(--theme-maroon); font-weight: 400; margin-top: 5px; }

@media (max-width: 992px) {
    .ceo-message-section { text-align: center; padding: 60px 5%; }
}

/* Certifications Bar Overlay */
.overlap-wrapper {
    background: var(--bg-light);
    position: relative;
}
.certifications-banner {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 30px 50px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80%;
    max-width: 900px;
    z-index: 10;
}
.cert-title { font-size: 0.75rem; letter-spacing: 2px; color: var(--text-grey); margin-bottom: 20px; font-weight: 600;}
.cert-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    gap: 30px;
}
.cert-logos span { font-weight: 800; font-size: 1.2rem; color: var(--theme-navy-light); }

/* Contact / Map */
.contact-section {
    padding: 150px 5% 80px 5%;
    text-align: center;
    background: var(--bg-white);
}
.contact-section h5 { color: #d0b070; font-size: 0.85rem; letter-spacing: 2px; margin-bottom: 10px; text-transform: uppercase;}
.contact-section h2 { color: var(--theme-maroon); font-size: 1.5rem; font-weight: 300; letter-spacing: 2px; margin-bottom: 40px;}

.contact-wrap {
    display: flex;
    justify-content: center;
    gap: 50px;
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}
.half { flex: 1; }
.half p { color: var(--text-grey); font-size: 0.95rem; margin-bottom: 15px;}


/* Team Section */
.team-section {
    padding: 80px 5%;
    text-align: center;
    background: var(--bg-white);
}
.team-title p { color: var(--theme-maroon); font-size: 1.5rem; letter-spacing: 3px; font-weight: 300;}
.team-title strong { font-weight: 600; }
.team-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
}
.team-card { text-align: center; width: 220px; }
.team-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 20px auto;
    background-size: cover;
    background-position: center;
    background-color: var(--theme-navy-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    font-weight: 800;
}
.team-card h4 { color: var(--theme-navy); font-size: 1.1rem; margin-bottom: 5px; text-transform: uppercase; }
.team-card p { color: var(--text-grey); font-size: 0.9rem; margin-bottom: 8px; }
.team-points { list-style: none; padding: 0; margin: 10px 0; }
.team-points li { font-size: 0.8rem; color: var(--text-grey); margin-bottom: 4px; line-height: 1.3; }
.team-card .qual { color: var(--theme-maroon); font-size: 0.8rem; font-weight: 600; line-height: 1.2; margin-bottom: 5px; }
.team-card .exp { color: var(--text-grey); font-size: 0.75rem; font-style: italic; }

/* Testimonials Section */
.testimonials-section {
    padding: 80px 5% 40px 5%;
    text-align: center;
    background: var(--bg-light);
}
.video-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
}
.video-card { width: 350px; text-align: left; }
.video-thumbnail {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    position: relative;
    cursor: pointer;
    margin-bottom: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}
.video-thumbnail:hover { transform: translateY(-5px); }
.play-btn {
    width: 60px; height: 60px;
    background: rgba(255,255,255,0.9);
    color: var(--theme-maroon);
    border-radius: 50%;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    padding-left: 5px; /* Center play triangle visually */
}
.video-card h4 { color: var(--theme-navy); font-size: 1.1rem; margin-bottom: 5px; }
.video-card p { color: var(--text-grey); font-size: 0.9rem; }

@media (max-width: 768px) {
    .video-grid { flex-wrap: wrap; }
    .diagram-markers { display: none; }
    .services-grid { flex-wrap: wrap; }
    .contact-wrap { flex-direction: column; }
    .cert-logos { flex-direction: column; }
    .certifications-banner { position: relative; top: 0; transform: none; left: 0; width: 100%; box-shadow: none; border-radius: 0;}
    .profile-section { padding-top: 80px; padding-bottom: 80px; clip-path: none; margin-top: 0;}
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white !important;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    z-index: 2000;
    transition: transform 0.3s, background-color 0.3s;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #1ebe57;
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}
