/* ==========================================================================
   ADP Clinic - Custom Styles
   ========================================================================== */

/* WOW.js requires elements to start hidden so they animate in cleanly */
.wow { visibility: hidden; }

/* Disable all animations when ANIMATIONS_ENABLED is false in config.php */
.no-animations .wow,
.no-animations .text-anime-style-1,
.no-animations .text-anime-style-2,
.no-animations .text-anime-style-3,
.no-animations .reveal,
.no-animations .image-anime {
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
}

/* ==========================================================================
   Accessibility: Skip to content link
   ========================================================================== */

.skip-to-content {
    position: absolute;
    top: -100px;
    left: 0;
    z-index: 10000;
    background: var(--primary-color, #0D7377);
    color: #fff;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 0 0 8px 0;
    text-decoration: none;
    transition: top 0.2s ease;
}

.skip-to-content:focus {
    top: 0;
    color: #fff;
}

/* ==========================================================================
   CSS Variables
   ========================================================================== */

:root {
    --primary-color: #0D7377;
    --secondary-color: #14505C;
    --accent-color: #40C9A2;
    --bg-color: #F7FAFA;
    --text-color: #1A2E35;
    --white-color: #FFFFFF;
    --divider-color: rgba(13, 115, 119, 0.1);
    --default-font: "Sora", sans-serif;
    --accent-font: "Marcellus", serif;
}

[data-division="dental"] {
    --primary-color: #0D7377;
    --secondary-color: #14505C;
    --accent-color: #40C9A2;
    --bg-color: #F7FAFA;
    --text-color: #1A2E35;
}

[data-division="aesthetic"] {
    --primary-color: #8C7366;
    --secondary-color: #5C4742;
    --accent-color: #E8B4A6;
    --bg-color: #FAF8F5;
    --text-color: #2D2926;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--default-font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--white-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--accent-font);
    font-weight: 400;
    line-height: 1.3;
    color: var(--primary-color);
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
}

/* ==========================================================================
   Preloader
   ========================================================================== */

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white-color);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-container {
    text-align: center;
}

.loading {
    width: 50px;
    height: 50px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#loading-icon img {
    width: 60px;
}

/* ==========================================================================
   Mobile Top Bar
   ========================================================================== */

.mobile-top-bar {
    display: none;
    background: linear-gradient(135deg, #0D7377 0%, #8C7366 100%);
    color: #fff;
    padding: 8px 0;
    font-size: 12px;
}

.mobile-top-bar .top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.mobile-top-bar .top-bar-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.mobile-top-bar .top-bar-item i {
    font-size: 11px;
    opacity: 0.9;
}

.mobile-top-bar .top-bar-item a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

.mobile-top-bar .top-bar-item a:hover {
    opacity: 0.8;
}

.mobile-top-bar .top-bar-item span {
    font-weight: 400;
}

/* Show on mobile and tablet only */
@media (max-width: 991px) {
    .mobile-top-bar {
        display: block;
    }
}

@media (max-width: 480px) {
    .mobile-top-bar {
        font-size: 11px;
        padding: 6px 0;
    }

    .mobile-top-bar .top-bar-content {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    .mobile-top-bar .top-bar-item {
        justify-content: center;
    }
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 0px 0 15px 0;
    transition: all 0.3s ease;
    background: transparent;
}

.main-header.scrolled,
.header-sticky {
    background: var(--white-color);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.navbar {
    padding: 0;
}

.navbar-brand img {
    height: 45px;
    transition: height 0.3s ease;
}

.division-indicator {
    margin-left: 15px;
}

.division-badge {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.division-badge.dental {
    background: rgba(13, 115, 119, 0.1);
    color: #0D7377;
}

.division-badge.aesthetic {
    background: rgba(140, 115, 102, 0.1);
    color: #8C7366;
}

.main-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-grow: 1;
}

.nav-menu-wrapper {
    margin-right: 30px;
}

.navbar-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-color);
    padding: 10px 0;
    display: block;
}

.nav-link:hover {
    color: var(--accent-color);
}

/* Dropdown */
.nav-item.submenu > ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white-color);
    min-width: 200px;
    padding: 15px 0;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    list-style: none;
}

.nav-item.submenu:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-item.submenu ul .nav-link {
    padding: 8px 20px;
    font-size: 14px;
}

.header-contact-btn a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--primary-color);
}

.navbar-toggle {
    display: none;
    width: 30px;
    height: 20px;
    cursor: pointer;
    position: relative;
}

/* SlickNav Mobile Menu Styling */
.slicknav_btn {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    position: relative;
}

.slicknav_menutxt {
    display: none !important;
}

.slicknav_icon {
    width: 28px !important;
    height: 18px !important;
    position: relative;
    display: inline-block;
}

.slicknav_icon-bar {
    display: block !important;
    width: 100% !important;
    height: 2px !important;
    background-color: var(--primary-color) !important;
    border-radius: 0 !important;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.slicknav_icon-bar:nth-child(1) {
    top: 0;
}

.slicknav_icon-bar:nth-child(2) {
    top: 6px;
}

.slicknav_icon-bar:nth-child(3) {
    top: 14px;
}

.slicknav_btn:hover .slicknav_icon-bar {
    background-color: var(--accent-color) !important;
}

/* Hamburger animation when menu is open */
.slicknav_open .slicknav_icon-bar:nth-child(1) {
    top: 8px;
    transform: rotate(45deg);
}

.slicknav_open .slicknav_icon-bar:nth-child(2) {
    opacity: 0;
}

.slicknav_open .slicknav_icon-bar:nth-child(3) {
    top: 5px;
    transform: rotate(-45deg);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn-default {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    background: var(--primary-color);
    color: var(--white-color);
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-default:hover {
    background: var(--secondary-color);
    color: var(--white-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 14px;
}

.btn-link:hover {
    color: var(--primary-color);
}

/* ==========================================================================
   Section Styles
   ========================================================================== */

section {
    padding: 80px 0;
}

.section-row {
    margin-bottom: 50px;
}

.section-title {
    margin-bottom: 30px;
}

.section-title h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-family: var(--default-font);
}

.section-title h2,
.section-title h1 {
    font-size: 42px;
    color: var(--primary-color);
    line-height: 1.2;
}

.section-title h2 span,
.section-title h1 span {
    color: var(--accent-color);
}

.section-title p {
    font-size: 16px;
    color: var(--text-color);
    margin-top: 15px;
    max-width: 600px;
}

.section-title.text-center p {
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-family: var(--default-font);
}

.section-desc {
    font-size: 16px;
    color: var(--text-color);
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.85;
    line-height: 1.7;
}

.bg-light {
    background: var(--bg-color);
}

/* ==========================================================================
   Doctors Section (Homepage)
   ========================================================================== */

/* ==========================================================================
   Founder Section (Homepage)
   ========================================================================== */

.founder-section {
    background: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.founder-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(13, 115, 119, 0.03) 100%);
    pointer-events: none;
}

.founder-image {
    position: relative;
    display: inline-block;
}

.founder-image img {
    width: 100%;
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.founder-badge {
    position: absolute;
    bottom: 20px;
    left: -20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white-color);
    padding: 15px 25px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(13, 115, 119, 0.3);
}

.founder-badge i {
    font-size: 24px;
    color: var(--accent-color);
}

.founder-badge span {
    font-size: 14px;
    font-weight: 600;
}

.founder-content {
    padding-left: 30px;
}

.founder-content .section-title {
    font-size: 38px;
    margin-bottom: 5px;
}

.founder-credentials {
    display: block;
    font-size: 14px;
    color: var(--accent-color);
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.founder-designation {
    font-size: 16px;
    color: var(--text-color);
    font-weight: 500;
    margin-bottom: 15px;
    opacity: 0.85;
}

.founder-bio {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 25px;
}

.founder-highlights {
    margin-bottom: 30px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--divider-color);
}

.highlight-item:last-child {
    border-bottom: none;
}

.highlight-item i {
    width: 40px;
    height: 40px;
    background: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.highlight-item span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
}

.founder-actions {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.founder-social {
    display: flex;
    gap: 10px;
}

.founder-social a {
    width: 45px;
    height: 45px;
    background: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.founder-social a:hover {
    background: var(--primary-color);
    color: var(--white-color);
    transform: translateY(-3px);
}

@media (max-width: 991px) {
    .founder-content {
        padding-left: 0;
        margin-top: 40px;
    }

    .founder-image img {
        max-width: 100%;
    }

    .founder-badge {
        left: 20px;
    }
}

@media (max-width: 767px) {
    .founder-content .section-title {
        font-size: 28px;
    }

    .founder-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

/* ==========================================================================
   Doctors Section (Homepage)
   ========================================================================== */

.doctors-section {
    background: linear-gradient(180deg, var(--white-color) 0%, var(--bg-color) 100%);
}

.doctors-section .section-title {
    font-size: 42px;
}

.doctors-section .section-title span {
    color: var(--accent-color);
}

/* ==========================================================================
   Page Header
   ========================================================================== */

.page-header {
    background: linear-gradient(135deg, var(--bg-color) 0%, #E8F4F4 100%);
    padding: 100px 0 35px;
    position: relative;
}

[data-division="aesthetic"] .page-header {
    background: linear-gradient(135deg, var(--bg-color) 0%, #F5EDE8 100%);
}

.page-header-box h1,
.page-header-content h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.page-header-image img {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.header-btn {
    margin-top: 30px;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 10px;
    background: none;
}

.breadcrumb-item {
    font-size: 14px;
}

.breadcrumb-item a {
    color: var(--text-color);
}

.breadcrumb-item.active {
    color: var(--primary-color);
    font-weight: 600;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: '/';
    margin-right: 10px;
    color: var(--text-color);
}

/* ==========================================================================
   Service Cards
   ========================================================================== */

.service-item,
.service-card {
    background: var(--white-color);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    margin-bottom: 30px;
    border: 1px solid var(--divider-color);
}

.service-item:hover,
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
    border-color: var(--accent-color);
}

.service-item .icon-box {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-item .icon-box img {
    width: 40px;
    filter: brightness(0) invert(1);
}

.service-item .icon-box i {
    font-size: 32px;
    color: var(--white-color);
}

.service-item h3,
.service-body h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.service-item p,
.service-body p {
    font-size: 14px;
    color: var(--text-color);
    margin-bottom: 15px;
}

.read-more-btn a {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 14px;
}

/* ==========================================================================
   Team Cards
   ========================================================================== */

.team-card {
    background: var(--white-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    transition: all 0.4s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.team-card .team-image {
    position: relative;
    overflow: hidden;
}

.team-card .team-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

.team-card .team-content {
    padding: 25px;
    text-align: center;
}

.team-card .team-content h3 {
    font-size: 22px;
    margin-bottom: 5px;
}

.team-card .credentials {
    color: var(--accent-color);
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 5px;
}

.team-card .designation {
    color: var(--text-color);
    font-size: 14px;
    margin-bottom: 15px;
}

/* ==========================================================================
   Stats Section
   ========================================================================== */

.stats-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 60px 0;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-item h2 {
    font-size: 48px;
    color: var(--white-color);
    margin-bottom: 10px;
}

.stat-item p {
    color: rgba(255,255,255,0.8);
    font-size: 16px;
    margin: 0;
}

/* ==========================================================================
   Features / Why Choose Us
   ========================================================================== */

.features-list {
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.feature-item .icon-box {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    font-size: 24px;
}

.feature-item .feature-content h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.feature-item .feature-content p {
    font-size: 14px;
    margin: 0;
}

/* ==========================================================================
   Instagram Section
   ========================================================================== */

.instagram-section {
    padding: 80px 0;
}

.instagram-feed-placeholder {
    background: var(--bg-color);
    padding: 60px;
    border-radius: 15px;
    border: 2px dashed var(--divider-color);
}

/* ==========================================================================
   CTA Section
   ========================================================================== */

.cta-section {
    background: var(--bg-color);
    padding: 60px 0;
    border-top: 1px solid var(--divider-color);
}

.cta-content h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.cta-content p {
    margin: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.main-footer {
    background: var(--primary-color);
    color: var(--white-color);
    padding: 60px 0 0;
}

.footer-about {
    margin-bottom: 30px;
}

.footer-logo img {
    height: 50px;
    filter: brightness(0) invert(1);
    margin-bottom: 20px;
}

.footer-about-content p {
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.footer-links {
    margin-bottom: 30px;
}

.footer-links h3 {
    font-size: 18px;
    color: var(--white-color);
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-contact-row {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 30px 0;
    margin-top: 30px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.8);
    font-size: 14px;
}

.footer-contact-item i {
    color: var(--accent-color);
}

.footer-contact-item a {
    color: rgba(255,255,255,0.8);
}

.footer-contact-item a:hover {
    color: var(--white-color);
}

.footer-copyright {
    background: rgba(0,0,0,0.2);
    padding: 20px 0;
    margin-top: 30px;
}

.footer-copyright p {
    margin: 0;
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    text-align: center;
}

/* Footer Instagram Section */
.footer-instagram-row {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 40px;
    margin-top: 40px;
}

.footer-instagram-section {
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
}

.footer-instagram-section h3 {
    color: var(--white-color);
    font-size: 18px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-instagram-section h3 i {
    font-size: 22px;
}

.footer-instagram-section.dental h3 i {
    color: #40C9A2;
}

.footer-instagram-section.aesthetic h3 i {
    color: #E8B4A6;
}

.instagram-grid {
    margin-bottom: 20px;
}

.instagram-placeholder {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}

.instagram-placeholder .placeholder-item {
    aspect-ratio: 1;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.instagram-placeholder .placeholder-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
}

.instagram-placeholder .placeholder-item::after {
    content: '\f03e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 400;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(255,255,255,0.3);
    font-size: 16px;
}

/* Instagram Feed Items (Static Images) */
.instagram-feed-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.instagram-feed-items.footer-feed {
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}

.instagram-item {
    position: relative;
    display: block;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255,255,255,0.1);
}

.instagram-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.instagram-item:hover img {
    transform: scale(1.1);
}

.instagram-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.instagram-item:hover .instagram-overlay {
    opacity: 1;
}

.instagram-overlay i {
    color: #fff;
    font-size: 24px;
}

.footer-feed .instagram-overlay i {
    font-size: 16px;
}

/* Fallback for missing images */
.instagram-item.placeholder-fallback {
    background: rgba(255,255,255,0.1);
}

.instagram-item.placeholder-fallback img {
    display: none;
}

.instagram-item.placeholder-fallback::before {
    content: '\f03e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 400;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(255,255,255,0.3);
    font-size: 20px;
}

.instagram-item.placeholder-fallback .instagram-overlay {
    display: none;
}

/* Homepage Instagram Feed Box Styles */
.instagram-feed-box {
    background: var(--bg-color);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
}

.instagram-feed-box.dental {
    background: linear-gradient(135deg, #F7FAFA 0%, #E8F4F4 100%);
}

.instagram-feed-box.aesthetic {
    background: linear-gradient(135deg, #FAF8F5 0%, #F5EDE8 100%);
}

.instagram-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.instagram-header i {
    font-size: 36px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.instagram-info h4 {
    margin: 0 0 5px 0;
    font-size: 18px;
    color: var(--text-color);
}

.instagram-info span {
    font-size: 14px;
    color: var(--text-color);
    opacity: 0.7;
}

.instagram-feed-box .instagram-grid {
    margin-bottom: 20px;
}

.instagram-feed-box .instagram-item {
    background: rgba(0,0,0,0.05);
}

.instagram-feed-box .instagram-item.placeholder-fallback::before {
    color: rgba(0,0,0,0.2);
}

.instagram-follow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    background: var(--primary-color);
    color: var(--white-color);
}

.instagram-follow:hover {
    background: var(--secondary-color);
    color: var(--white-color);
    transform: translateY(-2px);
}

.instagram-feed-box.aesthetic .instagram-follow {
    background: #8C7366;
}

.instagram-feed-box.aesthetic .instagram-follow:hover {
    background: #5C4742;
}

@media (max-width: 991px) {
    .instagram-feed-items {
        grid-template-columns: repeat(3, 1fr);
    }

    .instagram-feed-items.footer-feed {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .instagram-feed-box {
        padding: 20px;
    }

    .instagram-header i {
        font-size: 28px;
    }

    .instagram-info h4 {
        font-size: 16px;
    }
}

.instagram-follow-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.instagram-follow-btn.dental {
    background: #40C9A2;
    color: var(--white-color);
}

.instagram-follow-btn.dental:hover {
    background: #0D7377;
    color: var(--white-color);
}

.instagram-follow-btn.aesthetic {
    background: #E8B4A6;
    color: #5C4742;
}

.instagram-follow-btn.aesthetic:hover {
    background: #8C7366;
    color: var(--white-color);
}

@media (max-width: 991px) {
    .instagram-placeholder {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .footer-instagram-section {
        padding: 20px;
    }

    .instagram-placeholder {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ==========================================================================
   Contact Page
   ========================================================================== */

.contact-info-card {
    background: var(--white-color);
    border-radius: 15px;
    padding: 35px 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    transition: all 0.4s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
}

.contact-info-card .icon-box {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info-card .icon-box i {
    font-size: 28px;
    color: var(--white-color);
}

.contact-info-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.contact-info-card p {
    color: var(--text-color);
    margin-bottom: 15px;
}

/* Forms */
.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid var(--divider-color);
    border-radius: 8px;
    font-size: 15px;
    font-family: var(--default-font);
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(64, 201, 162, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Alerts */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.alert-success {
    background: rgba(64, 201, 162, 0.1);
    border: 1px solid var(--accent-color);
    color: var(--primary-color);
}

.alert-danger {
    background: rgba(230, 87, 87, 0.1);
    border: 1px solid rgb(230, 87, 87);
    color: rgb(230, 87, 87);
}

/* ==========================================================================
   Accordion (FAQ)
   ========================================================================== */

.accordion-item {
    background: var(--white-color);
    border: 1px solid var(--divider-color);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.accordion-button {
    width: 100%;
    padding: 20px 25px;
    background: var(--white-color);
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    text-align: left;
    cursor: pointer;
}

.accordion-button:not(.collapsed) {
    background: var(--bg-color);
}

.accordion-body {
    padding: 0 25px 20px;
    color: var(--text-color);
}

/* ==========================================================================
   Contact Page Additional Styles
   ========================================================================== */

.contact-info-section {
    padding: 80px 0;
}

.contact-form-section {
    padding: 80px 0;
}

.contact-form-wrapper {
    padding-right: 30px;
}

.contact-map .map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.contact-map .map-container iframe {
    display: block;
}

.contact-social {
    background: var(--white-color);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.contact-social h4 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.contact-social .social-links {
    display: flex;
    gap: 10px;
}

.contact-social .social-links a {
    width: 45px;
    height: 45px;
    background: var(--bg-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.contact-social .social-links a:hover {
    background: var(--primary-color);
    color: var(--white-color);
}

.status-badge {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-badge.open {
    background: rgba(64, 201, 162, 0.15);
    color: var(--accent-color);
}

.form-submit {
    margin-top: 20px;
}

/* ==========================================================================
   Doctor Profile Page
   ========================================================================== */

.doctor-profile {
    padding: 80px 0;
}

.doctor-profile-sidebar {
    position: sticky;
    top: 120px;
}

.doctor-image {
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 25px;
}

.doctor-image img {
    width: 100%;
}

.doctor-quick-info {
    background: var(--white-color);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.doctor-quick-info h3 {
    font-size: 24px;
    margin-bottom: 5px;
}

.doctor-quick-info .credentials {
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 5px;
}

.doctor-quick-info .designation {
    color: var(--text-color);
    margin-bottom: 20px;
}

.doctor-divisions {
    margin-bottom: 20px;
}

.doctor-divisions h4,
.doctor-contact h4,
.doctor-social h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 10px;
    font-family: var(--default-font);
}

.division-tag {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-right: 5px;
    margin-bottom: 5px;
}

.division-tag.dental {
    background: rgba(13, 115, 119, 0.1);
    color: #0D7377;
}

.division-tag.aesthetic {
    background: rgba(140, 115, 102, 0.1);
    color: #8C7366;
}

.division-tag .primary-badge {
    font-size: 10px;
    margin-left: 5px;
    opacity: 0.7;
}

.doctor-contact {
    margin-bottom: 20px;
}

.doctor-contact p {
    font-size: 14px;
    margin-bottom: 8px;
}

.doctor-contact i {
    width: 20px;
    color: var(--accent-color);
}

.doctor-social .social-links {
    display: flex;
    gap: 10px;
}

.doctor-social .social-links a {
    width: 40px;
    height: 40px;
    background: var(--bg-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.doctor-social .social-links a:hover {
    background: var(--primary-color);
    color: var(--white-color);
}

.doctor-cta {
    margin-top: 25px;
}

.doctor-profile-content .doctor-bio h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.doctor-qualifications {
    margin-top: 40px;
}

.doctor-qualifications h3,
.doctor-services h3 {
    font-size: 24px;
    margin-bottom: 25px;
}

.qualification-box {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: var(--bg-color);
    border-radius: 15px;
    margin-bottom: 20px;
}

.qualification-box .icon-box {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    font-size: 20px;
}

.qualification-box h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.qualification-box p {
    font-size: 14px;
    margin: 0;
    color: var(--text-color);
}

.doctor-services {
    margin-top: 40px;
}

.service-links {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
}

.btn-outlined {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outlined:hover {
    background: var(--primary-color);
    color: var(--white-color);
}

/* Doctor Card */
.doctor-card {
    background: var(--white-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    transition: all 0.4s ease;
}

.doctor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.doctor-card .doctor-image {
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
    border-radius: 15px 15px 0 0;
}

.doctor-card .doctor-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
    display: block;
}

.doctor-card:hover .doctor-image img {
    transform: scale(1.05);
}

.doctor-card .doctor-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    transition: bottom 0.4s ease;
}

.doctor-card:hover .doctor-social {
    bottom: 0;
}

.doctor-card .doctor-social a {
    width: 40px;
    height: 40px;
    background: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.doctor-card .doctor-social a:hover {
    background: var(--accent-color);
    color: var(--white-color);
}

.doctor-card .doctor-content {
    padding: 25px;
    text-align: center;
}

.doctor-card .doctor-content h3,
.doctor-card .doctor-content h4 {
    font-size: 22px;
    margin-bottom: 5px;
}

.doctor-card .doctor-content h3 a,
.doctor-card .doctor-content h4 a {
    color: var(--primary-color);
}

.doctor-card .doctor-content .credentials {
    display: block;
    font-size: 12px;
    color: var(--accent-color);
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.doctor-card .doctor-content .specialty {
    display: block;
    font-size: 14px;
    color: var(--text-color);
    font-weight: 500;
    margin-bottom: 12px;
    opacity: 0.85;
}

.doctor-card .doctor-content p {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 15px;
    opacity: 0.9;
}

.doctor-card .doctor-content .read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.doctor-card .doctor-content .read-more:hover {
    color: var(--accent-color);
    gap: 12px;
}

.doctor-card .doctor-content .read-more i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.doctor-card .doctor-content .read-more:hover i {
    transform: translateX(3px);
}

.doctor-card .doctor-divisions {
    margin-bottom: 10px;
}

/* ==========================================================================
   Service Single Page
   ========================================================================== */

.page-service-single {
    padding: 80px 0;
}

.service-sidebar {
    position: sticky;
    top: 120px;
}

.service-category-list {
    background: var(--white-color);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.service-category-list h3 {
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--divider-color);
}

.service-category-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-category-list ul li {
    margin-bottom: 10px;
}

.service-category-list ul li a {
    display: block;
    padding: 12px 15px;
    background: var(--bg-color);
    border-radius: 8px;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.service-category-list ul li a:hover,
.service-category-list ul li.active a {
    background: var(--primary-color);
    color: var(--white-color);
}

.sidebar-cta-box {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    color: var(--white-color);
    margin-bottom: 30px;
}

.sidebar-cta-box .icon-box {
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
}

.sidebar-cta-box h3 {
    color: var(--white-color);
    font-size: 22px;
    margin-bottom: 10px;
}

.sidebar-cta-box p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.sidebar-cta-box .btn-default {
    background: var(--white-color);
    color: var(--primary-color);
}

.sidebar-hours {
    background: var(--white-color);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.sidebar-hours h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

.sidebar-hours ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-hours ul li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--divider-color);
}

.sidebar-hours ul li:last-child {
    border-bottom: none;
}

.service-featured-image {
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
}

.service-entry h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.service-entry h3 {
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 15px;
}

.service-details ul,
.service-benefits ul {
    list-style: none;
    padding: 0;
}

.service-details ul li,
.service-benefits ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.service-details ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.service-benefits ul li i {
    color: var(--accent-color);
    margin-right: 10px;
}

.service-cta {
    background: var(--bg-color);
    padding: 30px;
    border-radius: 15px;
    margin-top: 40px;
}

.service-cta h3 {
    margin-top: 0;
}

.service-cta .btn-default {
    margin-right: 10px;
    margin-bottom: 10px;
}

.related-services {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid var(--divider-color);
}

/* ==========================================================================
   About Page Additional
   ========================================================================== */

.about-section {
    padding: 80px 0;
}

.about-images {
    position: relative;
}

.about-img-1 {
    width: 60%;
}

.about-img-1 img {
    border-radius: 15px;
}

.about-img-2 {
    position: absolute;
    bottom: -30px;
    right: 0;
    width: 55%;
}

.about-img-2 img {
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

/* About Image Container */
.about-image {
    position: relative;
    display: inline-block;
}

.about-image img {
    width: 100%;
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    object-fit: cover;
}

.experience-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 15px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(13, 115, 119, 0.3);
    min-width: 100px;
}

.experience-badge .years {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--white-color);
    line-height: 1;
    font-family: var(--accent-font);
}

.experience-badge .text {
    display: block;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 5px;
}

.experience-badge h3 {
    font-size: 36px;
    color: var(--white-color);
    margin-bottom: 0;
}

.experience-badge p {
    color: var(--white-color);
    font-size: 12px;
    margin: 0;
}

.about-content {
    padding-left: 30px;
}

.about-features .feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
}

.about-features .feature-item i {
    color: var(--accent-color);
}

.about-btn {
    margin-top: 25px;
}

/* Division Cards */
.divisions-section {
    padding: 80px 0;
}

.division-card {
    background: var(--white-color);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.division-card:hover {
    transform: translateY(-10px);
}

.division-card.dental-card:hover {
    border-color: #0D7377;
}

.division-card.aesthetic-card:hover {
    border-color: #8C7366;
}

.division-card .division-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 25px;
}

.division-card .division-icon img {
    width: 100%;
}

.division-card h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.division-card p {
    margin-bottom: 20px;
}

.division-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.division-card ul li {
    padding: 8px 0;
}

.division-card ul li i {
    color: var(--accent-color);
    margin-right: 10px;
}

/* Values Cards */
.value-card {
    background: var(--white-color);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    transition: all 0.4s ease;
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-card .icon-box {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white-color);
    font-size: 28px;
}

.value-card h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

.value-card p {
    font-size: 14px;
    margin: 0;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 991px) {
    .main-header {
        position: relative;
        padding: 0;
    }

    .main-menu {
        display: none;
    }

    .navbar-toggle {
        display: block;
    }

    section {
        padding: 60px 0;
    }

    .section-title h2 {
        font-size: 32px;
    }

    .page-header {
        padding: 90px 0 30px;
    }

    .page-header-box h1 {
        font-size: 32px;
    }
}

@media (max-width: 991px) {
    .about-content {
        padding-left: 0;
        margin-top: 60px;
    }

    .about-img-2 {
        position: relative;
        bottom: 0;
        width: 100%;
        margin-top: 20px;
    }

    .about-image {
        text-align: center;
    }

    .about-image img {
        max-width: 100%;
    }

    .experience-badge {
        position: absolute;
        bottom: 15px;
        right: 15px;
        padding: 12px 15px;
    }

    .experience-badge .years {
        font-size: 26px;
    }

    .experience-badge .text {
        font-size: 10px;
    }

    .contact-form-wrapper {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .doctor-profile-sidebar {
        position: static;
        margin-bottom: 40px;
    }

    .service-sidebar {
        position: static;
        margin-bottom: 40px;
    }
}

@media (max-width: 767px) {
    .section-title h2 {
        font-size: 28px;
    }

    .page-header {
        padding: 85px 0 25px;
    }

    .page-header-box h1 {
        font-size: 26px;
    }

    .stat-item h2 {
        font-size: 36px;
    }

    .footer-contact-row .row {
        gap: 15px;
    }

    .doctor-profile-content .doctor-bio h2 {
        font-size: 26px;
    }

    .service-entry h2 {
        font-size: 26px;
    }

    .division-card {
        padding: 25px;
    }

    .division-card h3 {
        font-size: 24px;
    }

    .value-card .icon-box {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
}

/* ==========================================================================
   Instagram Modal
   ========================================================================== */

.instagram-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.instagram-modal.active {
    opacity: 1;
    visibility: visible;
}

.instagram-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.instagram-modal-container {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    z-index: 1;
}

.instagram-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 10;
}

.instagram-modal-close:hover {
    transform: scale(1.2);
}

.instagram-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.instagram-modal-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.instagram-modal-prev {
    left: -70px;
}

.instagram-modal-next {
    right: -70px;
}

.instagram-modal-content {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 85vh;
}

.instagram-modal-media {
    position: relative;
    background: #000;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.instagram-modal-media.loading::after {
    content: '';
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.instagram-modal-media img,
.instagram-modal-media video {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
}

.instagram-modal-media video {
    width: 100%;
}

.instagram-modal-info {
    padding: 20px;
    background: #fff;
}

.instagram-modal-caption {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 15px;
    max-height: 100px;
    overflow-y: auto;
}

.instagram-modal-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.instagram-modal-link:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(220, 39, 67, 0.4);
}

.instagram-modal-error {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    padding: 40px;
}

.instagram-modal-error i {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.instagram-modal-error p {
    margin: 0;
    font-size: 14px;
}

/* Video badge on thumbnails */
.instagram-video-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.footer-feed .instagram-video-badge {
    width: 20px;
    height: 20px;
    font-size: 8px;
    top: 4px;
    right: 4px;
}

/* Play icon on video items */
.instagram-item[data-media-type="VIDEO"] .instagram-overlay i {
    font-size: 32px;
}

.footer-feed .instagram-item[data-media-type="VIDEO"] .instagram-overlay i {
    font-size: 18px;
}

/* Responsive modal */
@media (max-width: 991px) {
    .instagram-modal-nav {
        display: none;
    }

    .instagram-modal-container {
        max-width: 95vw;
    }

    .instagram-modal-close {
        top: -45px;
        right: 5px;
    }
}

@media (max-width: 767px) {
    .instagram-modal-content {
        max-height: 80vh;
    }

    .instagram-modal-media img,
    .instagram-modal-media video {
        max-height: 50vh;
    }

    .instagram-modal-info {
        padding: 15px;
    }

    .instagram-modal-caption {
        font-size: 13px;
        max-height: 80px;
    }
}

/* ==========================================================================
   Section Utilities (Homepage)
   ========================================================================== */

.section-padding {
    padding: 90px 0;
}

.section-subtitle {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-color);
    margin-bottom: 12px;
    position: relative;
    padding-left: 28px;
}

.section-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 2px;
    background: var(--accent-color);
}

.section-title {
    font-size: 42px;
    line-height: 1.2;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.section-title span {
    color: var(--accent-color);
}

.section-desc {
    font-size: 16px;
    color: var(--text-color);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ==========================================================================
   Hero Section (Homepage)
   ========================================================================== */

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section.hero-home {
    background: linear-gradient(145deg, #082d30 0%, #0D7377 45%, #0f5c62 75%, #1a3a42 100%);
    padding: 116px 0 90px;
}

/* Animated blob layers */
.hero-section.hero-home::before {
    content: '';
    position: absolute;
    top: -15%;
    right: -8%;
    width: 680px;
    height: 680px;
    background: radial-gradient(circle, rgba(64,201,162,0.16) 0%, transparent 65%);
    border-radius: 50%;
    animation: heroBlob1 9s ease-in-out infinite alternate;
    pointer-events: none;
}

.hero-section.hero-home::after {
    content: '';
    position: absolute;
    bottom: -15%;
    left: -5%;
    width: 460px;
    height: 460px;
    background: radial-gradient(circle, rgba(232,180,166,0.12) 0%, transparent 65%);
    border-radius: 50%;
    animation: heroBlob2 12s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes heroBlob1 {
    0%   { transform: translate(0,0) scale(1); }
    100% { transform: translate(-50px,40px) scale(1.12); }
}

@keyframes heroBlob2 {
    0%   { transform: translate(0,0) scale(1); }
    100% { transform: translate(40px,-50px) scale(1.1); }
}

/* Floating particles */
.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-particles span {
    position: absolute;
    display: block;
    border-radius: 50%;
    background: rgba(64,201,162,0.18);
    animation: particleDrift linear infinite;
}

.hero-particles span:nth-child(1) { width:10px; height:10px; left:12%; top:20%; animation-duration:14s; animation-delay:0s; }
.hero-particles span:nth-child(2) { width:6px;  height:6px;  left:30%; top:70%; animation-duration:18s; animation-delay:3s; }
.hero-particles span:nth-child(3) { width:14px; height:14px; left:55%; top:15%; animation-duration:12s; animation-delay:1s; }
.hero-particles span:nth-child(4) { width:8px;  height:8px;  left:70%; top:65%; animation-duration:16s; animation-delay:5s; background:rgba(232,180,166,0.2); }
.hero-particles span:nth-child(5) { width:5px;  height:5px;  left:85%; top:30%; animation-duration:20s; animation-delay:2s; }
.hero-particles span:nth-child(6) { width:12px; height:12px; left:45%; top:85%; animation-duration:15s; animation-delay:4s; background:rgba(232,180,166,0.15); }

@keyframes particleDrift {
    0%   { transform: translateY(0) rotate(0deg); opacity:0.4; }
    50%  { opacity:0.8; }
    100% { transform: translateY(-120px) rotate(360deg); opacity:0; }
}

/* SVG bg shape */
.hero-bg-shape {
    position: absolute;
    top: 0;
    right: 0;
    width: 52%;
    height: 100%;
    background: url('../images/dental-pattern.svg') no-repeat center right;
    background-size: cover;
    opacity: 0.04;
    pointer-events: none;
}

/* ── Left content ── */

.hero-section.hero-home .hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding-right: 20px;
}

.hero-section.hero-home .hero-content .hero-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #a8f0d8 !important;
    margin-bottom: 22px;
    background: rgba(64,201,162,0.15);
    border: 1px solid rgba(64,201,162,0.45);
    padding: 9px 20px;
    border-radius: 50px;
    text-shadow: 0 1px 6px rgba(0,0,0,0.3);
    -webkit-text-fill-color: #a8f0d8 !important;
}

.hero-section.hero-home .hero-subtitle::before {
    content: '';
    width: 7px;
    height: 7px;
    background: #40C9A2;
    border-radius: 50%;
    flex-shrink: 0;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity:1; }
    50%       { transform: scale(1.5); opacity:0.5; }
}

.hero-section.hero-home .hero-content h1,
.hero-section.hero-home .hero-content h1 span {
    font-size: 62px;
    line-height: 1.08;
    color: #ffffff !important;
    margin-bottom: 22px;
    font-family: var(--accent-font);
    text-shadow: 0 2px 24px rgba(0,0,0,0.4);
}

.hero-section.hero-home .hero-content h1 .text-gradient {
    background: linear-gradient(120deg, #40C9A2 0%, #c8f7e8 50%, #F0C8BC 100%);
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    color: transparent !important;
    text-shadow: none !important;
    filter: drop-shadow(0 2px 12px rgba(64,201,162,0.5));
}

.hero-section.hero-home .hero-content > p {
    font-size: 17px;
    line-height: 1.75;
    color: rgba(255,255,255,0.88) !important;
    margin-bottom: 36px;
    text-shadow: 0 1px 8px rgba(0,0,0,0.3);
    max-width: 500px;
}

/* Division selector */
.hero-section.hero-home .hero-division-selector {
    margin-bottom: 36px;
}

.hero-section.hero-home .selector-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.75);
    margin-bottom: 14px;
}

.selector-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.selector-opt {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 22px;
    border-radius: 16px;
    border: 1px solid transparent;
    transition: all 0.35s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.selector-opt::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.35s ease;
    border-radius: 16px;
}

.selector-opt.dental {
    background: rgba(255,255,255,0.07);
    border-color: rgba(64,201,162,0.25);
    color: #fff;
}

.selector-opt.dental::before {
    background: linear-gradient(135deg, rgba(13,115,119,0.4), rgba(64,201,162,0.2));
}

.selector-opt.aesthetic {
    background: rgba(255,255,255,0.07);
    border-color: rgba(232,180,166,0.25);
    color: #fff;
}

.selector-opt.aesthetic::before {
    background: linear-gradient(135deg, rgba(140,115,102,0.4), rgba(232,180,166,0.2));
}

.selector-opt:hover::before { opacity: 1; }

.selector-opt:hover {
    border-color: transparent;
    transform: translateX(6px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.25);
}

.opt-icon {
    position: relative;
    z-index: 1;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.selector-opt.dental .opt-icon {
    background: rgba(64,201,162,0.2);
    color: #40C9A2;
}

.selector-opt.aesthetic .opt-icon {
    background: rgba(232,180,166,0.2);
    color: #E8B4A6;
}

.selector-opt:hover .opt-icon {
    background: rgba(255,255,255,0.15);
}

.opt-text {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.opt-text strong {
    font-size: 15px;
    font-weight: 700;
    color: #fff !important;
    line-height: 1;
    text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}

.opt-text small {
    font-size: 12px;
    color: rgba(255,255,255,0.7) !important;
    line-height: 1;
}

.opt-arrow {
    position: relative;
    z-index: 1;
    font-size: 13px;
    color: rgba(255,255,255,0.35);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.selector-opt:hover .opt-arrow {
    color: rgba(255,255,255,0.9);
    transform: translateX(4px);
}

/* Bottom row: phone + trust */
.hero-bottom {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.hero-phone {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
}

.phone-icon {
    width: 52px;
    height: 52px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    color: #fff;
    flex-shrink: 0;
    animation: ringPulse 2.5s ease-in-out infinite;
}

@keyframes ringPulse {
    0%  { box-shadow: 0 0 0 0 rgba(64,201,162,0.55); }
    70% { box-shadow: 0 0 0 16px rgba(64,201,162,0); }
    100%{ box-shadow: 0 0 0 0 rgba(64,201,162,0); }
}

.phone-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-section.hero-home .phone-text small {
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
}

.hero-section.hero-home .phone-text strong {
    font-size: 17px;
    font-weight: 700;
    color: #fff !important;
}

.hero-section.hero-home .hero-phone:hover .phone-text strong {
    color: #40C9A2 !important;
}

.hero-trust {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding-left: 24px;
    border-left: 1px solid rgba(255,255,255,0.15);
}

.hero-section.hero-home .trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255,255,255,0.85) !important;
    font-weight: 500;
}

.hero-section.hero-home .trust-item i {
    color: #40C9A2;
    font-size: 12px;
}

/* ── Right visual ── */

.hero-visual {
    position: relative;
    z-index: 2;
    height: 720px;
}

/* Soft glow orbs */
.hv-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(70px);
    z-index: 0;
}

.hv-glow-teal {
    width: 380px;
    height: 380px;
    background: rgba(64,201,162,0.2);
    top: 0%;
    left: 15%;
    animation: glowPulse 7s ease-in-out infinite alternate;
}

.hv-glow-rose {
    width: 280px;
    height: 280px;
    background: rgba(232,180,166,0.15);
    bottom: 5%;
    right: 5%;
    animation: glowPulse 9s ease-in-out infinite alternate-reverse;
}

@keyframes glowPulse {
    0%   { transform: scale(1);   opacity: 0.7; }
    100% { transform: scale(1.2); opacity: 1;   }
}

/* Dotted grid */
.hv-dots {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1px);
    background-size: 22px 22px;
    pointer-events: none;
}

/* ── Main image frame — single element, contains photo + info ── */

.hero-img-main {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 420px;
    height: 600px;
    z-index: 2;
    border-radius: 28px;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(64,201,162,0.2),
        0 30px 60px rgba(0,0,0,0.45),
        0 60px 100px rgba(0,0,0,0.28);
}

/* Photos — stacked, cross-fade */
.him-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
    transform: scale(1.04);
}

.him-img.him-active {
    opacity: 1;
    transform: scale(1);
}

.hero-visual:hover .him-img.him-active {
    transform: scale(1.04);
    transition: transform 9s ease, opacity 0.6s ease;
}

/* Deep gradient — transparent top, near-black at bottom for info legibility */
.him-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(5, 22, 24, 0.96) 0%,
        rgba(5, 22, 24, 0.6)  30%,
        transparent           58%
    );
    pointer-events: none;
    z-index: 2;
}

/* Rotating dashed ring — lives outside overflow so not clipped */
.hero-img-ring {
    position: absolute;
    inset: -20px;
    border-radius: 222px 222px 44px 44px;
    border: 1.5px dashed rgba(64,201,162,0.32);
    z-index: 10;
    animation: ringRotate 28s linear infinite;
    pointer-events: none;
    overflow: visible;
}

.hero-img-ring::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    width: 12px;
    height: 12px;
    background: #40C9A2;
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 12px 4px rgba(64,201,162,0.6);
}

.hero-img-ring::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 8px;
    height: 8px;
    background: #E8B4A6;
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 10px 3px rgba(232,180,166,0.6);
}

@keyframes ringRotate {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Info panel — glass bar pinned to bottom of the frame */
.him-info-panel {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 5;
    padding: 20px 22px 24px;
}

/* Dental border tint */
.hero-img-main.hdc-is-dental {
    box-shadow:
        0 0 0 1px rgba(64,201,162,0.25),
        0 30px 60px rgba(0,0,0,0.45),
        0 60px 100px rgba(0,0,0,0.28);
}

/* Aesthetic border tint */
.hero-img-main.hdc-is-aesthetic {
    box-shadow:
        0 0 0 1px rgba(232,180,166,0.3),
        0 30px 60px rgba(0,0,0,0.45),
        0 60px 100px rgba(0,0,0,0.28);
}

/* Info text always readable */
.him-info-panel .float-body strong,
.him-info-panel .float-body span {
    text-shadow: 0 1px 6px rgba(0,0,0,0.7);
}

/* ── Floating cards ── */

.hero-float-card {
    position: absolute;
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 6;
    color: #fff;
}

/* hero-float-founder removed — merged into hero-img-main */

/* Card 2: Stats — upper right, outside frame */
.hero-float-stat {
    top: 60px;
    right: -55px;
    background: rgba(6,50,55,0.82);
    border: 1px solid rgba(64,201,162,0.25);
    box-shadow: 0 16px 48px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.07);
    padding: 18px 22px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    min-width: 190px;
    animation: floatB 6s ease-in-out infinite alternate;
}

@keyframes floatA {
    0%   { transform: translateY(0px);   }
    100% { transform: translateY(-10px); }
}

@keyframes floatB {
    0%   { transform: translateY(0px);  }
    100% { transform: translateY(10px); }
}

/* Founder card: avatar */

.float-body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
}

.float-body strong {
    font-size: 14px;
    font-weight: 700;
    color: #fff !important;
    line-height: 1.2;
    -webkit-text-fill-color: #fff !important;
}

.float-body span {
    font-size: 11px;
    color: rgba(255,255,255,0.65) !important;
    line-height: 1.3;
    -webkit-text-fill-color: rgba(255,255,255,0.65) !important;
}

/* Extra credential line */
.hfc-cred {
    font-size: 11px !important;
    color: #40C9A2 !important;
    -webkit-text-fill-color: #40C9A2 !important;
    font-weight: 600 !important;
}

/* Stats card internals */
.hfs-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 12px;
}

.hfs-rating {
    display: flex;
    gap: 2px;
}

.hfs-rating i {
    font-size: 11px;
    color: #FFC107 !important;
    -webkit-text-fill-color: #FFC107 !important;
}

.hfs-bottom {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.float-stat-number {
    font-size: 34px;
    font-weight: 700;
    color: #fff !important;
    line-height: 1;
    font-family: var(--accent-font);
    -webkit-text-fill-color: #fff !important;
}

.float-stat-number sup {
    font-size: 16px;
    color: #40C9A2 !important;
    -webkit-text-fill-color: #40C9A2 !important;
}

.float-stat-label {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255,255,255,0.65) !important;
    -webkit-text-fill-color: rgba(255,255,255,0.65) !important;
}

.float-stat-avatars {
    display: flex;
    align-items: center;
}

.float-stat-avatars img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    border: 2px solid rgba(6,50,55,0.9);
    margin-left: -8px;
}

.float-stat-avatars img:first-child { margin-left: 0; }

.avatar-more {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0D7377, #40C9A2);
    color: #fff !important;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -8px;
    border: 2px solid rgba(6,50,55,0.9);
    -webkit-text-fill-color: #fff !important;
}

/* Icon blocks */
.float-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

.dental-bg   { background: linear-gradient(135deg, #0a5458, #40C9A2); }
.aesthetic-bg { background: linear-gradient(135deg, #5C4742, #E8B4A6); }

/* ── Deco icons ── */

.hero-deco-icon {
    position: absolute;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
    pointer-events: none;
}

.hero-deco-tooth {
    width: 50px;
    height: 50px;
    top: 10%;
    left: 2%;
    background: rgba(64,201,162,0.1);
    border: 1px solid rgba(64,201,162,0.3);
    color: #40C9A2 !important;
    font-size: 19px;
    -webkit-text-fill-color: #40C9A2 !important;
    animation: decoFloat 5s ease-in-out infinite;
    box-shadow: 0 0 18px rgba(64,201,162,0.18);
}

.hero-deco-heart {
    width: 44px;
    height: 44px;
    bottom: 18%;
    right: 2%;
    background: rgba(232,180,166,0.1);
    border: 1px solid rgba(232,180,166,0.3);
    color: #E8B4A6 !important;
    font-size: 16px;
    -webkit-text-fill-color: #E8B4A6 !important;
    animation: decoFloat 7s ease-in-out infinite reverse;
    box-shadow: 0 0 14px rgba(232,180,166,0.18);
}

@keyframes decoFloat {
    0%, 100% { transform: translateY(0)     rotate(0deg); }
    50%       { transform: translateY(-14px) rotate(12deg); }
}

/* ── Image swap states ── */

.him-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    opacity: 0;
    transition: opacity 0.55s ease, transform 0.55s ease;
    transform: scale(1.03);
}

.him-img.him-active {
    opacity: 1;
    transform: scale(1);
}

/* Tint the ring + glow when aesthetic is active */
.hv-aesthetic .hero-img-ring {
    border-color: rgba(232,180,166,0.35);
}

.hv-aesthetic .hero-img-ring::before {
    background: #E8B4A6;
    box-shadow: 0 0 12px 4px rgba(232,180,166,0.55);
}

.hv-aesthetic .hero-img-ring::after {
    background: #40C9A2;
    box-shadow: 0 0 10px 3px rgba(64,201,162,0.55);
}

.hv-aesthetic .hv-glow-teal {
    opacity: 0.4;
}

.hv-aesthetic .hv-glow-rose {
    opacity: 1;
    width: 420px;
    height: 420px;
}

/* ── Doctor card swap states ── */

.hdc-state {
    display: none;
    align-items: center;
    gap: 14px;
    width: 100%;
}

.hdc-state.hdc-active {
    display: flex;
    animation: cardFadeIn 0.4s ease;
}

@keyframes cardFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Card border tint per state */
.hdc-is-dental {
    border-color: rgba(64,201,162,0.35) !important;
}

.hdc-is-aesthetic {
    border-color: rgba(232,180,166,0.35) !important;
    background: rgba(50,25,20,0.82) !important;
}

/* Profile link arrow */
.hdc-link {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    text-decoration: none;
}

.dental-link {
    background: rgba(64,201,162,0.15);
    border: 1px solid rgba(64,201,162,0.35);
    color: #40C9A2 !important;
    -webkit-text-fill-color: #40C9A2 !important;
}

.dental-link:hover {
    background: #40C9A2;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    transform: translateX(3px);
}

.aesthetic-link {
    background: rgba(232,180,166,0.15);
    border: 1px solid rgba(232,180,166,0.35);
    color: #E8B4A6 !important;
    -webkit-text-fill-color: #E8B4A6 !important;
}

.aesthetic-link:hover {
    background: #E8B4A6;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    transform: translateX(3px);
}

/* Credential colour per division */
.dental-cred {
    color: #40C9A2 !important;
    -webkit-text-fill-color: #40C9A2 !important;
}

.aesthetic-cred {
    color: #E8B4A6 !important;
    -webkit-text-fill-color: #E8B4A6 !important;
}

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.hero-scroll-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.hero-scroll-btn:hover { opacity: 1; }

.hero-scroll-btn span {
    display: block;
    width: 22px;
    height: 36px;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 12px;
    position: relative;
}

.hero-scroll-btn span::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: rgba(255,255,255,0.7);
    border-radius: 2px;
    animation: scrollBounce 1.6s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { top: 5px; opacity: 1; }
    50%       { top: 14px; opacity: 0.3; }
}

/* ==========================================================================
   About Section
   ========================================================================== */

.about-section {
    background: var(--white-color);
}

.about-image {
    position: relative;
    display: inline-block;
    width: 100%;
}

.about-image img {
    border-radius: 24px;
    box-shadow: 0 30px 70px rgba(0,0,0,0.12);
    width: 100%;
    object-fit: cover;
    min-height: 420px;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 40px rgba(13, 115, 119, 0.35);
    text-align: center;
    color: #fff;
}

.experience-badge .years {
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    font-family: var(--accent-font);
}

.experience-badge .text {
    font-size: 11px;
    font-weight: 500;
    opacity: 0.9;
    line-height: 1.3;
    padding: 0 8px;
}

.about-content {
    padding-left: 20px;
}

.about-features {
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-features .feature-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: var(--bg-color);
    padding: 20px;
    border-radius: 14px;
    border: 1px solid var(--divider-color);
    transition: all 0.3s ease;
}

.about-features .feature-item:hover {
    transform: translateX(6px);
    border-color: var(--accent-color);
    box-shadow: 0 8px 25px rgba(0,0,0,0.07);
}

.about-features .feature-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.about-features .feature-icon.dental {
    background: linear-gradient(135deg, #0D7377, #40C9A2);
    color: #fff;
}

.about-features .feature-icon.aesthetic {
    background: linear-gradient(135deg, #8C7366, #E8B4A6);
    color: #fff;
}

.about-features .feature-content h4 {
    font-size: 17px;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.about-features .feature-content p {
    font-size: 14px;
    margin: 0;
    color: var(--text-color);
    opacity: 0.8;
}

/* ==========================================================================
   Division Cards Section
   ========================================================================== */

.divisions-section {
    background: var(--bg-color);
}

.division-card {
    background: var(--white-color);
    border-radius: 24px;
    padding: 45px 40px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.07);
    border: 2px solid transparent;
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.division-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.division-card.dental::before {
    background: linear-gradient(90deg, #0D7377, #40C9A2);
}

.division-card.aesthetic::before {
    background: linear-gradient(90deg, #8C7366, #E8B4A6);
}

.division-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 70px rgba(0,0,0,0.12);
}

.division-card.dental:hover {
    border-color: rgba(64, 201, 162, 0.3);
}

.division-card.aesthetic:hover {
    border-color: rgba(232, 180, 166, 0.4);
}

.division-card:hover::before {
    opacity: 1;
}

.division-card .division-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin-bottom: 25px;
}

.division-card.dental .division-icon {
    background: linear-gradient(135deg, rgba(13,115,119,0.12), rgba(64,201,162,0.15));
    color: #0D7377;
}

.division-card.aesthetic .division-icon {
    background: linear-gradient(135deg, rgba(140,115,102,0.12), rgba(232,180,166,0.15));
    color: #8C7366;
}

.division-card h3 {
    font-size: 28px;
    margin-bottom: 14px;
    color: var(--primary-color);
}

.division-card.aesthetic h3 {
    color: #8C7366;
}

.division-card p {
    font-size: 15px;
    color: var(--text-color);
    opacity: 0.8;
    line-height: 1.7;
    margin-bottom: 24px;
}

.division-highlights {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.division-highlights li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
}

.division-highlights li i {
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, #0D7377, #40C9A2);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    flex-shrink: 0;
}

.division-card.aesthetic .division-highlights li i {
    background: linear-gradient(135deg, #8C7366, #E8B4A6);
}

/* ==========================================================================
   Doctor Cards (Homepage)
   ========================================================================== */

.doctors-section .doctor-card {
    background: var(--white-color);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    border: 1px solid var(--divider-color);
}

.doctors-section .doctor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 70px rgba(0,0,0,0.13);
}

.doctors-row {
    gap: 0;
}

.doctor-card .doctor-image {
    position: relative;
    overflow: hidden;
    height: 340px;
}

.doctor-card .doctor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.doctor-card:hover .doctor-image img {
    transform: scale(1.06);
}

.doctor-social {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.35s ease;
}

.doctor-card:hover .doctor-social {
    opacity: 1;
    transform: translateX(0);
}

.doctor-social a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--primary-color);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.doctor-social a:hover {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.1);
}

.doctor-card .doctor-content {
    padding: 28px 30px;
}

.doctor-card .doctor-content h4 {
    font-size: 22px;
    margin-bottom: 6px;
    color: var(--primary-color);
}

.doctor-card .credentials {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-color);
    letter-spacing: 0.3px;
    margin-bottom: 4px;
}

.doctor-card .specialty {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    opacity: 0.7;
    margin-bottom: 14px;
}

.doctor-card .doctor-content p {
    font-size: 14px;
    color: var(--text-color);
    opacity: 0.75;
    line-height: 1.6;
    margin-bottom: 18px;
}

.doctor-card .read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.doctor-card .read-more:hover {
    color: var(--accent-color);
    gap: 12px;
}

/* ==========================================================================
   Service Cards with Image Layout (Homepage)
   ========================================================================== */

.services-section .service-card {
    padding: 0;
    border-radius: 18px;
    overflow: hidden;
    text-align: left;
    border: 1px solid var(--divider-color);
    background: var(--white-color);
    box-shadow: 0 10px 35px rgba(0,0,0,0.07);
    transition: all 0.4s ease;
    margin-bottom: 30px;
}

.services-section .service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 55px rgba(0,0,0,0.13);
    border-color: transparent;
}

.service-card .service-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.service-card .service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.08);
}

.service-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13,115,119,0.6) 0%, transparent 60%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.service-card.aesthetic .service-overlay {
    background: linear-gradient(to top, rgba(140,115,102,0.6) 0%, transparent 60%);
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.btn-view {
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 18px;
    transform: scale(0.7);
    transition: transform 0.3s ease;
}

.service-card:hover .btn-view {
    transform: scale(1);
}

.service-card .service-content {
    padding: 22px 24px;
}

.service-content .service-category {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color);
    margin-bottom: 8px;
}

.service-card.aesthetic .service-category {
    color: #8C7366;
}

.service-content h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.service-content h4 a {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.service-content h4 a:hover {
    color: var(--accent-color);
}

.service-card.aesthetic .service-content h4 a:hover {
    color: #8C7366;
}

.service-content p {
    font-size: 13px;
    color: var(--text-color);
    opacity: 0.75;
    margin: 0;
    line-height: 1.6;
}

/* ==========================================================================
   Stats Section — Redesigned
   ========================================================================== */

.stats-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.stats-wrapper {
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    position: relative;
}

.stat-item + .stat-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background: rgba(255,255,255,0.15);
}

.stat-icon {
    width: 64px;
    height: 64px;
    background: rgba(255,255,255,0.12);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 26px;
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.stat-item:hover .stat-icon {
    background: var(--accent-color);
    color: #fff;
    transform: scale(1.08) rotate(-5deg);
}

.stat-number {
    font-size: 52px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 10px;
    font-family: var(--accent-font);
}

.stat-label {
    font-size: 14px;
    color: rgba(255,255,255,0.75);
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   Why Choose Us Section
   ========================================================================== */

.why-choose-section {
    background: var(--bg-color);
}

.why-features {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.why-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 22px;
    background: var(--white-color);
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid var(--divider-color);
    transition: all 0.35s ease;
}

.why-item:hover {
    transform: translateX(8px);
    box-shadow: 0 10px 35px rgba(0,0,0,0.1);
    border-color: var(--accent-color);
}

.why-icon {
    width: 58px;
    height: 58px;
    min-width: 58px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    flex-shrink: 0;
    transition: transform 0.35s ease;
}

.why-item:hover .why-icon {
    transform: scale(1.1) rotate(-8deg);
}

.why-content h5 {
    font-size: 17px;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.why-content p {
    font-size: 14px;
    color: var(--text-color);
    opacity: 0.75;
    margin: 0;
    line-height: 1.6;
}

.why-image {
    padding: 20px;
    text-align: center;
}

.why-image img {
    max-width: 90%;
    filter: drop-shadow(0 20px 40px rgba(13,115,119,0.15));
    animation: floatY 6s ease-in-out infinite;
}

@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-18px); }
}

/* ==========================================================================
   CTA Section — Redesigned
   ========================================================================== */

.cta-section {
    background: linear-gradient(135deg, #0D7377 0%, #14505C 100%);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -80%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(64,201,162,0.2) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-wrapper {
    position: relative;
    z-index: 1;
}

.cta-wrapper h2 {
    font-size: 40px;
    color: #fff;
    margin-bottom: 12px;
}

.cta-wrapper p {
    font-size: 17px;
    color: rgba(255,255,255,0.78);
    margin: 0;
}

.btn-default.btn-white {
    background: #fff;
    color: var(--primary-color);
    font-size: 15px;
}

.btn-default.btn-white:hover {
    background: var(--accent-color);
    color: #fff;
    box-shadow: 0 12px 30px rgba(64, 201, 162, 0.4);
}

.btn-default.btn-aesthetic {
    background: linear-gradient(135deg, #8C7366, #5C4742);
}

.btn-default.btn-aesthetic:hover {
    background: linear-gradient(135deg, #5C4742, #8C7366);
    box-shadow: 0 12px 30px rgba(140, 115, 102, 0.35);
}

/* ==========================================================================
   Dental / Aesthetic color helpers
   ========================================================================== */

.dental-color { color: #0D7377; }
.aesthetic-color { color: #8C7366; }

/* ==========================================================================
   Homepage Responsive
   ========================================================================== */

@media (max-width: 1199px) {
    .hero-content h1 { font-size: 52px; }
    .section-title { font-size: 36px; }
    .cta-wrapper h2 { font-size: 34px; }
}

@media (max-width: 1199px) {
    .hero-content h1 { font-size: 52px; }
    .hero-visual { height: 660px; }
    .hero-img-main { width: 360px; height: 520px; }
    .hero-float-founder { left: -20px; min-width: 220px; }
    .hero-float-stat    { right: -20px; }
}

@media (max-width: 991px) {
    .section-padding { padding: 70px 0; }

    .hero-section.hero-home {
        padding: 120px 0 80px;
        min-height: auto;
    }

    .hero-content { padding-right: 0; }
    .hero-content h1 { font-size: 44px; }
    .hero-content > p { font-size: 16px; }

    .about-content { padding-left: 0; margin-top: 40px; }

    .experience-badge {
        bottom: 10px;
        right: 10px;
        width: 100px;
        height: 100px;
    }
    .experience-badge .years { font-size: 26px; }

    .stat-item + .stat-item::before { display: none; }
    .founder-content { padding-left: 0; margin-top: 30px; }
    .cta-wrapper h2 { font-size: 28px; }
    .cta-wrapper .text-lg-end { margin-top: 20px; }
}

@media (max-width: 767px) {
    .hero-content h1 { font-size: 36px; }
    .section-title { font-size: 30px; }
    .selector-opt { padding: 14px 18px; }
    .stat-number { font-size: 40px; }
    .division-card { padding: 35px 28px; }
    .doctor-card .doctor-image { height: 280px; }
    .why-item { flex-direction: column; gap: 14px; }
    .why-icon { width: 50px; height: 50px; }
    .experience-badge { display: none; }
    .hero-bottom { gap: 20px; }
    .hero-trust { border-left: none; padding-left: 0; flex-direction: row; gap: 14px; }
}

@media (max-width: 480px) {
    .hero-section.hero-home { padding: 100px 0 70px; }
    .hero-content h1 { font-size: 30px; }
    .hero-subtitle { font-size: 11px; letter-spacing: 2px; }
    .phone-text strong { font-size: 15px; }
    .section-padding { padding: 55px 0; }
    .opt-text small { display: none; }
}
