/* 
Theme Name:		 astra child
Theme URI:		 http://childtheme-generator.com/
Description:	 astra child is a child theme of Astra, created by ChildTheme-Generator.com
Author:			 Abhishek
Author URI:		 http://childtheme-generator.com/
Template:		 astra
Version:		 1.0.0
Text Domain:	 astra-child
*/

:root {
    --primary-color: #1a9c92; /* Teal matching the screenshot */
    --secondary-color: #e2a495; /* Accent Peach/Pink */
    --dark-color: #0F172A;
    --light-color: #EDF6EE;
    --text-color: #454F5E;
    
    --light-teal: #accfcb; /* Background of welcome section */
    --dark-teal: #2f5c50; /* Background of footer */
    
    --font-heading: 'Brygada 1918', serif;
    --font-body: 'Inter', sans-serif;
}
ol, ul {
    margin: 0;
}
body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: #FAFAFA;
    line-height: 1.68;
    font-size: 0.95rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: var(--font-heading) !important;
    color: var(--dark-color);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.2px;
}

p, .lead, .welcome-desc, .appointment-desc, .footer-text, .footer-contact, .nav-link, .btn, .dropdown-item, .procedure-title, .form-label, .form-control, .form-select {
    font-family: var(--font-body);
}

.text-teal {
    color: var(--primary-color) !important;
}
.bg-light-teal {
    background-color: var(--light-teal) !important;
}
.bg-dark-teal {
    background-color: var(--dark-teal) !important;
}

/* Custom Buttons */
.btn-primary-custom {
    font-family: var(--font-body);
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-primary-custom:hover {
    background-color: var(--dark-teal);
    border-color: var(--dark-teal);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26, 156, 146, 0.35);
}

.btn-white-custom {
    font-family: var(--font-body);
    background-color: white;
    border-color: white;
    color: var(--primary-color);
    padding: 13px 32px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    border-radius: 4px;
    font-size: 0.82rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-white-custom:hover {
    background-color: #f8f9fa;
    color: var(--dark-teal);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-outline-custom {
    font-family: var(--font-body);
    background-color: transparent;
    border: 1.5px solid var(--primary-color);
    color: var(--primary-color);
    padding: 11px 28px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}
.btn-outline-custom:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-outline-white {
    font-family: var(--font-body);
    background-color: transparent;
    border: 1.5px solid rgba(255,255,255,0.7);
    color: white;
    padding: 9px 22px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    font-size: 0.82rem;
    transition: all 0.3s ease;
}
.btn-outline-white:hover {
    background-color: white;
    color: var(--dark-color);
}

/* Navbar */
.navbar {
    padding: 20px 0;
}
.navbar-brand img {
    max-height: 100px;
}
.nav-link {
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 1px;
    margin: 0 5px;
    transition: color 0.3s;
}
.nav-link:hover {
    color: var(--secondary-color) !important;
}

/* Header Social Icons */
.header-social-icons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff !important;
    font-size: 1.2rem; /* Noticeably larger font icon */
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.header-social-link svg {
    width: 17px;
    height: 17px;
}

.header-social-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff !important;
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 4px 14px rgba(26, 156, 146, 0.55);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 650px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    display: flex;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 23, 42, 0.45);
    z-index: 1;
}
.hero-grid-container {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
}
.hero-grid-row {
    height: 100%;
    margin: 0;
}
.hero-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    transition: background 0.35s ease, border-color 0.35s ease;
    cursor: pointer;
    padding: 30px 20px;
    text-decoration: none !important;
    -webkit-tap-highlight-color: transparent;
    outline: none !important;
}
.hero-col:last-child {
    border-right: none;
}
.hero-col:hover {
    background: rgba(255, 255, 255, 0.08);
}
.hero-col-subtitle {
    color: var(--secondary-color);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
    font-family: var(--font-body);
}
.hero-col-title {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.25;
}
.hero-col-desc {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.88rem;
    line-height: 1.55;
    padding: 0 4px;
    font-family: var(--font-body);
    font-weight: 400;
    margin-bottom: 0;
}

/* Welcome Section */
.welcome-section {
    position: relative;
    overflow: hidden;
}
.welcome-subtitle {
    font-size: 0.78rem;
    letter-spacing: 2.2px;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    font-family: var(--font-body);
    display: inline-block;
    margin-bottom: 12px;
}
.welcome-title {
    font-size: 2.75rem;
    color: #1e293b;
    line-height: 1.18;
    margin-bottom: 20px;
    font-weight: 600;
    font-family: var(--font-heading);
}
.welcome-desc {
    font-size: 1.02rem;
    color: #334155;
    line-height: 1.75;
    margin-bottom: 35px;
    font-family: var(--font-body);
}
.welcome-image-container {
    display: flex;
    justify-content: center;
    align-items: flex-end; /* To align doctor image to bottom */
    height: 100%;
}
.welcome-image {
    max-height: 600px;
    object-fit: contain;
    object-position: bottom;
}

/* Appointment Section */
.appointment-section {
    padding: 65px 0 75px 0;
    background-color: white;
    text-align: center;
}
.appointment-subtitle {
    font-size: 0.78rem;
    letter-spacing: 2px;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 12px;
    font-family: var(--font-body);
    text-transform: uppercase;
    display: inline-block;
}
.appointment-title {
    font-size: 2.6rem;
    color: #1e293b;
    line-height: 1.22;
    margin-bottom: 18px;
    font-family: var(--font-heading);
    font-weight: 600;
}
.appointment-desc {
    color: #475569;
    font-size: 0.98rem;
    line-height: 1.7;
    margin-bottom: 35px;
    font-family: var(--font-body);
}
.appointment-desc strong {
    color: var(--primary-color);
}

/* Footer */
.site-footer {
    color: white;
    padding: 80px 0 30px;
}
.site-footer h5 {
    color: white;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 20px;
}
.footer-logo {
    max-width: 150px;
    margin-bottom: 20px;
}
.footer-text {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
}
.footer-link {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
    font-size: 0.9rem;
    transition: color 0.3s;
}
.footer-link:hover {
    color: white;
}
.footer-contact p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 5px;
}
.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.copyright-text {
    color: rgba(255,255,255,0.8);
    font-size: 0.85rem;
    margin: 0;
}
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    color: white;
    margin-left: 10px;
    transition: all 0.3s;
    font-size: 1.1rem;
}
.social-icon:hover {
    color: rgba(255,255,255,0.7);
}
/* ==========================================================================
   Inner Pages Creative Layout Styles
   ========================================================================== */
.inner-hero {
    position: relative;
    padding: 180px 0 120px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.inner-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8));
    z-index: 1;
}
.inner-hero .container {
    position: relative;
    z-index: 2;
}
.image-offset-box {
    position: relative;
    padding: 20px;
    z-index: 1;
}
.image-offset-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 40px;
    left: 40px;
    background-color: var(--light-teal);
    z-index: -1;
    border-radius: 10px;
}
.image-offset-box img {
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    width: 100%;
}
.service-feature-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    transition: all 0.4s ease;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.02);
}
.service-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(13, 133, 133, 0.1);
    border-color: var(--light-teal);
}
.service-feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}
.cta-strip {
    background: linear-gradient(135deg, var(--primary-color), var(--light-teal));
    padding: 80px 0;
    color: white;
}

/* Transformations Slider */
.transformations-section {
    background-color: #f7f3ec;
    padding: 80px 0;
    overflow: hidden;
}
.transformations-subtitle {
    font-size: 11px;
    letter-spacing: 3px;
    color: #b58d60;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
}
.transformations-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-style: italic;
    color: #1a1a1a;
    margin-bottom: 50px;
}
.transformationSwiper {
    width: 100%;
    padding-bottom: 20px;
}
.transformationSwiper .swiper-slide {
    width: auto;
}
.transformation-card {
    background: #fff;
    padding: 15px;
    border-radius: 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    width: 320px;
    margin: 0 auto;
}
.transformation-labels {
    display: flex;
    justify-content: space-around;
    padding-bottom: 10px;
    color: #b58d60;
    font-size: 14px;
    font-family: var(--font-heading);
    /* display: none; */
}
.transformation-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center;
    display: block;
}
.transformation-treatment {
    text-align: center;
    color: #b58d60;
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.1rem;
    padding-top: 15px;
    padding-bottom: 5px;
}
.transformationSwiper .swiper-button-next,
.transformationSwiper .swiper-button-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color) !important;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(26, 156, 146, 0.2);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 25;
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.transformationSwiper .swiper-button-prev {
    left: 25px;
}

.transformationSwiper .swiper-button-next {
    right: 25px;
}

.transformationSwiper .swiper-button-next:hover,
.transformationSwiper .swiper-button-prev:hover {
    background: var(--primary-color);
    color: white !important;
    border-color: var(--primary-color);
    box-shadow: 0 6px 20px rgba(26, 156, 146, 0.35);
    transform: translateY(-50%) scale(1.06);
}

.transformationSwiper .swiper-button-next::after,
.transformationSwiper .swiper-button-prev::after {
    font-size: 1.1rem;
    font-weight: bold;
}

@media (max-width: 767px) {
    .transformationSwiper .swiper-button-prev {
        left: 10px;
    }
    .transformationSwiper .swiper-button-next {
        right: 10px;
    }
    .transformationSwiper .swiper-button-prev,
    .transformationSwiper .swiper-button-next {
        width: 40px;
        height: 40px;
    }
    .transformationSwiper .swiper-button-next::after,
    .transformationSwiper .swiper-button-prev::after {
        font-size: 0.95rem;
    }
}

/* ==========================================================================
   Responsive Styles (Mobile & Tablet)
   ========================================================================== */
@media (max-width: 991px) {
    .hero-section {
        height: auto;
        min-height: 100vh;
        padding-top: 100px;
        padding-bottom: 20px;
    }
    .hero-grid-row {
        flex-wrap: wrap;
    }
    .hero-col {
        flex: 0 0 50%;
        max-width: 50%;
        border-right: 1px solid rgba(255, 255, 255, 0.2) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        min-height: 200px;
        padding: 28px 16px;
    }
    .hero-col:nth-child(2n) {
        border-right: none !important;
    }
    .hero-col:nth-last-child(-n+2) {
        border-bottom: none;
    }
    .welcome-title {
        font-size: 2.3rem;
    }
    .appointment-title, .transformations-title {
        font-size: 2.1rem;
    }
}

@media (max-width: 767px) {
    /* Typography Adjustments */
    .welcome-title {
        font-size: 2.1rem;
        line-height: 1.22;
    }
    .appointment-title, .transformations-title {
        font-size: 1.95rem;
    }
    .hero-col-title {
        font-size: 1.45rem;
    }
    
    /* Hero Section Mobile */
    .hero-section {
        height: auto;
        min-height: auto;
        padding-top: 90px;
        padding-bottom: 15px;
    }
    .hero-col {
        flex: 0 0 100%;
        max-width: 100%;
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
        min-height: 140px;
        padding: 20px 15px;
    }
    .hero-col:last-child {
        border-bottom: none !important;
    }
    .hero-col-subtitle {
        font-size: 0.72rem;
        letter-spacing: 1.8px;
    }
    .hero-col-desc {
        font-size: 0.84rem;
        line-height: 1.45;
    }
    .welcome-desc {
        font-size: 0.95rem;
        line-height: 1.65;
    }

    /* Inner Pages */
    .inner-hero {
        padding: 140px 0 80px;
    }
    .image-offset-box::before {
        left: 15px;
        bottom: 15px;
    }

    /* Footer */
    .site-footer {
        padding: 60px 0 30px;
        text-align: center;
    }
    .footer-logo {
        margin: 0 auto 20px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
    .social-icon {
        margin: 0 5px;
    }
    
    /* Sections Padding */
    .appointment-section, .transformations-section, .cta-strip {
        padding: 60px 0;
    }
    
    /* Navbar styling on mobile */
    .navbar-collapse {
        background-color: rgba(15, 23, 42, 0.98);
        padding: 20px;
        border-radius: 8px;
        margin-top: 15px;
    }
    .nav-item {
        margin-bottom: 12px;
    }
    .navbar-toggler {
        border-color: rgba(255,255,255,0.5);
    }
}

/* ==========================================================================
   Custom Team Section Styles (Premium Adaptive Layout)
   ========================================================================== */
/* Default style: Dark-Teal layout for Home Page */
.team-section {
    background-color: var(--dark-teal); /* Rich theme dark teal */
    color: white;
    position: relative;
    overflow: hidden;
}

.team-section::before {
    content: '';
    position: absolute;
    top: 0; left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.team-subtitle {
    font-size: 11px;
    letter-spacing: 4px;
    color: var(--primary-color); /* Theme primary teal */
    font-weight: 700;
    text-transform: uppercase;
}

.team-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 600;
    color: white; /* White title on dark background */
    margin-bottom: 50px;
}

.teamSwiper .swiper-slide {
    height: auto;
    display: flex;
}

.team-card {
    padding: 15px;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.team-card:hover {
    transform: translateY(-8px);
}

.team-img-wrapper {
    width: 220px;
    height: 310px;
    margin: 0 auto 20px auto;
    border-radius: 50%; /* Symmetrical oval shape matching cropped photos */
    border: 1px solid rgba(255, 255, 255, 0.35); /* Clean white outline on dark bg */
    overflow: hidden;
    background-color: transparent; /* No card background on dark bg */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.team-card:hover .team-img-wrapper {
    border-color: white;
}

.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.team-card:hover .team-img-wrapper img {
    transform: scale(1.06);
}

.team-name {
    font-family: var(--font-heading);
    color: white; /* White text on dark bg */
    font-size: 1.45rem;
    margin-bottom: 6px;
    font-weight: 600;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.team-specialty {
    font-family: var(--font-heading);
    color: var(--secondary-color); /* Accent color on dark bg */
    font-weight: 600;
    font-size: 0.88rem;
    margin-bottom: 6px;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.35;
}

.team-experience {
    font-family: var(--font-heading);
    color: rgba(255, 255, 255, 0.75); /* Soft white on dark bg */
    font-size: 0.85rem;
    font-style: italic;
    font-weight: 500;
    margin-bottom: 12px;
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.3;
}

.team-bio {
    font-family: var(--font-heading);
    color: rgba(255, 255, 255, 0.82); /* Soft white text on dark bg */
    font-size: 0.88rem;
    line-height: 1.55;
    max-width: 280px;
    margin: 0 auto 14px auto;
    font-weight: 400;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 60px; /* Exact uniform height across all cards */
    text-align: center;
}

.team-read-more {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: auto auto 0 auto;
    padding: 5px 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    cursor: pointer;
    line-height: 1;
}

.team-read-more:hover {
    background: var(--primary-color);
    color: white !important;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 156, 146, 0.4);
}

.team-section.team-light .team-bio {
    color: #555555;
}

.team-section.team-light .team-read-more {
    color: var(--primary-color);
    background: rgba(26, 156, 146, 0.08);
    border: 1px solid rgba(26, 156, 146, 0.22);
}

.team-section.team-light .team-read-more:hover {
    background: var(--primary-color);
    color: white !important;
    border-color: var(--primary-color);
}

/* Custom Swiper Buttons for Team Section */
.teamSwiper .swiper-button-next,
.teamSwiper .swiper-button-prev {
    color: white !important;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.teamSwiper .swiper-button-next:hover,
.teamSwiper .swiper-button-prev:hover {
    background: white;
    color: var(--dark-teal) !important; /* Invert colors to theme teal arrow */
    border-color: white;
}

/* ==========================================================================
   Adaptive Modifier: Light-Teal/Mint layout for About Us Page
   ========================================================================== */
.team-section.team-light {
    background-color: var(--light-color); /* Light sage/mint background to break monotony */
    color: var(--text-color);
}

.team-section.team-light::before {
    background: linear-gradient(to right, transparent, rgba(26, 156, 146, 0.15), transparent);
}

.team-section.team-light .team-title {
    color: var(--dark-color); /* Dark slate title for visibility */
}

.team-section.team-light .team-img-wrapper {
    border: 1px solid rgba(26, 156, 146, 0.25); /* Elegant teal outline */
    background-color: white; /* White base behind doctor portrait */
}

.team-section.team-light .team-card:hover .team-img-wrapper {
    border-color: var(--primary-color);
}

.team-section.team-light .team-name {
    color: var(--dark-color); /* Dark slate for readability */
}

.team-section.team-light .team-specialty {
    color: var(--primary-color); /* Theme primary teal */
}

.team-section.team-light .team-experience {
    color: rgba(15, 23, 42, 0.65); /* Dark slate with opacity */
}

.team-section.team-light .team-bio {
    color: var(--text-color); /* Readable slate grey body text */
}

.team-section.team-light .teamSwiper .swiper-button-next,
.team-section.team-light .teamSwiper .swiper-button-prev {
    color: var(--primary-color) !important;
    background: rgba(26, 156, 146, 0.08);
    border-color: rgba(26, 156, 146, 0.15);
}

.team-section.team-light .teamSwiper .swiper-button-next:hover,
.team-section.team-light .teamSwiper .swiper-button-prev:hover {
    background: var(--primary-color);
    color: white !important;
    border-color: var(--primary-color);
}

.teamSwiper .swiper-button-next::after,
.teamSwiper .swiper-button-prev::after {
    font-size: 1rem;
    font-weight: bold;
}

/* ==========================================================================
   Global Prominent CTA Styles (Conversion Maximization)
   ========================================================================== */

/* Make header CTA button solid primary color for maximum conversion */
.site-header .btn-outline-white {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: white !important;
    border-radius: 4px !important;
    box-shadow: 0 4px 12px rgba(26, 156, 146, 0.25);
    transition: all 0.3s ease;
}

.site-header .btn-outline-white:hover {
    background-color: var(--dark-teal) !important;
    border-color: var(--dark-teal) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(26, 156, 146, 0.4);
}

/* Floating WhatsApp conversion widget */
.floating-whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white !important;
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.floating-whatsapp-btn i {
    font-size: 1.3rem;
}

.floating-whatsapp-btn:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    background-color: #20ba5a;
}

@media (max-width: 767px) {
    .floating-whatsapp-btn {
        bottom: 20px;
        right: 20px;
        padding: 10px 16px;
        font-size: 0.85rem;
    }
}

/* ==========================================================================
   Inner Page Header Styles (Cacheable & Consistent Dark-Teal)
   ========================================================================== */
.page-header {
    padding: 180px 0 100px;
    background-color: var(--dark-teal); /* Dark teal for high contrast */
    text-align: center;
}

.page-header h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: #ffffff;
    margin-bottom: 20px;
}

/* ==========================================================================
   Contact Page Elements
   ========================================================================== */
.contact-info-box {
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
}

.contact-info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.contact-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* ==========================================================================
   Header Dropdown Hover Logic (Desktop)
   ========================================================================== */
@media (min-width: 992px) {
    .navbar-nav .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0; /* Align perfectly with the navbar */
        animation: fadeInDropdown 0.2s ease-in-out forwards;
    }
}

@keyframes fadeInDropdown {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Services Parent Page Layout
   ========================================================================== */
.service-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.04);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(26, 156, 146, 0.12);
    border-color: rgba(26, 156, 146, 0.25);
}

.service-card-img-wrapper {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
    background-color: #f8f9fa;
}

.service-card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

/* ==========================================================================
   Contact Form Dropdown (.form-select) Padding & Height Alignment
   ========================================================================== */
#contact-form .form-control:not(textarea) {
    padding: 12px 15px;
    height: 52px;
}

#contact-form .form-select {
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 15px;
    padding-right: 2.25rem;
    height: 52px;
    border-radius: 4px;
    border: 1px solid #dee2e6;
    background-color: #ffffff;
    font-size: 1rem;
    color: #212529;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

#contact-form .form-select:focus {
    border-color: var(--primary-color);
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(26, 156, 146, 0.25);
}

/* ==========================================================================
   Specialty Highlight Cards (Clove Dental Icon Style)
   ========================================================================== */
.specialty-highlight-card {
    background-color: #ffffff;
    border: 1px solid rgba(93, 64, 55, 0.08);
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(93, 64, 55, 0.02);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    min-height: 140px;
}

.specialty-highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(93, 64, 55, 0.08);
    border-color: rgba(26, 156, 146, 0.3); /* Theme primary color */
}

.specialty-icon-wrapper {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blob-bg.bg-peach {
    position: absolute;
    width: 42px;
    height: 42px;
    background-color: #FCF0EA; /* Light peach blob */
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; /* Irregular organic blob shape */
    top: 5px;
    left: 12px;
    z-index: 1;
}

.specialty-svg {
    position: relative;
    z-index: 2;
    width: 38px;
    height: 38px;
}

/* ==========================================================================
   Serial Procedure List Items (Unclubbed Client Layout)
   ========================================================================== */
.procedure-list-item {
    background: #ffffff;
    border: 1px solid rgba(26, 156, 146, 0.15);
    border-radius: 12px;
    padding: 14px 18px;
    transition: all 0.25s ease-in-out;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    height: 100%;
    display: flex;
    align-items: center;
}

.procedure-list-item:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
    box-shadow: 0 6px 18px rgba(26, 156, 146, 0.12);
    background: #fbfdfc;
}

.procedure-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(26, 156, 146, 0.1);
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.88rem;
    border-radius: 8px;
    flex-shrink: 0;
}

.procedure-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    line-height: 1.35;
}

.procedure-sublist {
    margin-top: 8px;
    padding-left: 0;
    list-style: none;
    margin-bottom: 0;
}

.procedure-sublist li {
    font-size: 0.85rem;
    color: #555;
    padding: 2px 0;
    display: flex;
    align-items: center;
}

.procedure-sublist li i {
    color: var(--primary-color);
    font-size: 6px;
    margin-right: 8px;
}

/* ==========================================================================
   Google Reviews Section
   ========================================================================== */
.reviews-section {
    background-color: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.google-review-card {
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    border-color: rgba(26, 156, 146, 0.12) !important;
}

.google-review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(26, 156, 146, 0.1);
    border-color: rgba(26, 156, 146, 0.35) !important;
}

.btn-outline-teal {
    color: var(--primary-color);
    border: 1.5px solid var(--primary-color);
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-teal:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(26, 156, 146, 0.25);
}

.reviewsSwiper .swiper-button-next,
.reviewsSwiper .swiper-button-prev {
    color: var(--primary-color) !important;
    width: 44px;
    height: 44px;
    background: white;
    border: 1px solid rgba(26, 156, 146, 0.2);
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.reviewsSwiper .swiper-button-next:hover,
.reviewsSwiper .swiper-button-prev:hover {
    background: var(--primary-color);
    color: white !important;
    border-color: var(--primary-color);
    box-shadow: 0 6px 16px rgba(26, 156, 146, 0.3);
}

.reviewsSwiper .swiper-button-next::after,
.reviewsSwiper .swiper-button-prev::after {
    font-size: 1rem;
    font-weight: bold;
}

.reviews-pagination .swiper-pagination-bullet-active {
    background-color: var(--primary-color) !important;
}
