@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --primary-color: #008080; /* Teal Green */
    --primary-dark: #005b5b;
    --primary-light: #00aaaa;
    --primary-bg-light: #e6f7f7;
    --primary-glow: rgba(0, 128, 128, 0.3);
    --secondary-color: #0b2e2e;
    --accent-color: #d4af37; /* Premium Gold touch */
    
    --bg-main: #ffffff;
    --bg-surface: #f8fbfb;
    --bg-glass: rgba(255, 255, 255, 0.85);
    --bg-glass-modal: rgba(255, 255, 255, 0.95);
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border-color: rgba(0, 128, 128, 0.15);
    --shadow-sm: 0 2px 8px rgba(0, 128, 128, 0.08);
    --shadow-md: 0 8px 24px rgba(0, 128, 128, 0.12);
    --shadow-lg: 0 16px 40px rgba(0, 128, 128, 0.18);
    --radius-box: 1rem;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
    --primary-color: #00aaaa;
    --primary-dark: #008080;
    --primary-light: #00c5c5;
    --primary-bg-light: #0a1f1f;
    --primary-glow: rgba(0, 170, 170, 0.4);
    --secondary-color: #e2e8f0;
    --accent-color: #ffd700;
    
    --bg-main: #071313;
    --bg-surface: #0a1a1a;
    --bg-glass: rgba(10, 26, 26, 0.85);
    --bg-glass-modal: rgba(15, 35, 35, 0.95);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border-color: rgba(0, 170, 170, 0.25);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    overflow-x: hidden;
    transition: var(--transition);
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--secondary-color);
    letter-spacing: -0.03em;
}

/* Glassmorphism & Top Navigation */
.navbar-glass {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.navbar-brand {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand img {
    height: 42px;
    width: auto;
}

.nav-link {
    color: var(--text-main) !important;
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0 0.25rem;
    padding: 0.5rem 0.8rem !important;
    border-radius: 0.5rem;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
    background: var(--primary-bg-light);
}

.btn-teal {
    background-color: var(--primary-color);
    color: #ffffff !important;
    font-weight: 600;
    padding: 0.6rem 1.4rem;
    border-radius: 50rem;
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 14px var(--primary-glow);
    transition: var(--transition);
}

.btn-teal:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-glow);
}

.btn-teal-outline {
    background-color: transparent;
    color: var(--primary-color) !important;
    font-weight: 600;
    padding: 0.6rem 1.4rem;
    border-radius: 50rem;
    border: 2px solid var(--primary-color);
    transition: var(--transition);
}

.btn-teal-outline:hover {
    background-color: var(--primary-color);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-glow);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 85% 50%, var(--primary-bg-light) 0%, var(--bg-main) 60%);
}

.hero-bg-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.15;
    pointer-events: none;
}

.hero-bg-carousel .carousel-item img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    filter: saturate(1.2);
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: var(--primary-bg-light);
    color: var(--primary-color);
    border-radius: 50rem;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    line-height: 1.15;
    margin-bottom: 1.2rem;
}

.hero-title span {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 1.5vw, 1.35rem);
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 650px;
    line-height: 1.6;
}

/* Floating Medical Animations */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.float-icon {
    position: absolute;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-color);
    animation: floatAnim 6s ease-in-out infinite;
    backdrop-filter: blur(8px);
}

.float-icon:nth-child(1) { top: 20%; right: 10%; animation-delay: 0s; }
.float-icon:nth-child(2) { top: 65%; right: 25%; animation-delay: 2s; }
.float-icon:nth-child(3) { top: 40%; left: 5%; animation-delay: 4s; }
.float-icon:nth-child(4) { top: 75%; left: 15%; animation-delay: 1s; }

@keyframes floatAnim {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(8deg); }
}

/* Hexagonal Image Framework */
.hex-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem auto;
    width: 100%;
    max-width: 500px;
}

.hexagon {
    width: 100%;
    padding-bottom: 100%; /* square aspect ratio */
    position: relative;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.hexagon img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hex-wrapper:hover .hexagon img {
    transform: scale(1.08);
}

.hex-border {
    position: absolute;
    width: 104%;
    height: 104%;
    top: -2%;
    left: -2%;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    z-index: -1;
}

/* Mini Hex Grid for About Section */
.hex-grid {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    padding: 1rem 0;
}

.hex-card {
    width: 140px;
    height: 155px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: var(--bg-surface);
    border: 2px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

.hex-card:hover {
    background: var(--primary-color);
    color: #ffffff !important;
    transform: translateY(-5px);
}

.hex-card:hover i, .hex-card:hover h5 {
    color: #ffffff !important;
}

.hex-card i {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.hex-card h5 {
    font-size: 0.85rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-main);
    transition: var(--transition);
}

/* Why Choose Us Section */
.feature-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-box);
    padding: 2.5rem 1.8rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    background: var(--primary-bg-light);
}

.feature-icon-wrapper {
    width: 75px;
    height: 75px;
    margin: 0 auto 1.5rem auto;
    border-radius: 50%;
    background: var(--primary-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--primary-color);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.feature-card:hover .feature-icon-wrapper {
    background: var(--primary-color);
    color: #ffffff;
    transform: rotateY(360deg);
    transition: transform 0.6s ease, background 0.3s;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.feature-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Section Header styling */
.section-title-wrap {
    margin-bottom: 3.5rem;
    text-align: center;
}

.sub-pill {
    display: inline-block;
    padding: 0.3rem 1.2rem;
    background: var(--primary-bg-light);
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    border-radius: 50rem;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Treatments & Services */
.treatment-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-box);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.treatment-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.treatment-img-wrap {
    position: relative;
    padding-top: 65%;
    overflow: hidden;
}

.treatment-img-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.treatment-card:hover .treatment-img-wrap img {
    transform: scale(1.08);
}

.treatment-badge-icon {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.4rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 2;
}

.treatment-body {
    padding: 2rem 1.8rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.treatment-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.treatment-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.8rem;
    line-height: 1.6;
    flex-grow: 1;
}

/* Treatment Process Timeline */
.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--border-color);
    border-radius: 4px;
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 50%;
    position: relative;
    margin-bottom: 3rem;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 50%;
}

.timeline-step-num {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 55px;
    height: 55px;
    background: var(--primary-color);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    box-shadow: 0 0 0 8px var(--primary-bg-light);
    z-index: 2;
    transition: var(--transition);
}

.timeline-item:hover .timeline-step-num {
    transform: translateX(-50%) scale(1.15);
    background: var(--primary-dark);
}

.timeline-content {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-box);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    width: 90%;
    position: relative;
    transition: var(--transition);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 2rem;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 2rem;
    text-align: left;
}

.timeline-content h4 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.timeline-content p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.98rem;
}

@media (max-width: 768px) {
    .timeline-container::before {
        left: 30px;
    }
    .timeline-item, .timeline-item:nth-child(even) {
        justify-content: flex-start;
        padding-left: 75px;
        padding-right: 0;
    }
    .timeline-step-num {
        left: 30px;
    }
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin: 0;
        width: 100%;
        text-align: left;
    }
}

/* Before & After Comparison */
.ba-slider-container {
    position: relative;
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: var(--radius-box);
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--primary-color);
    aspect-ratio: 16 / 10;
}

.ba-slider-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
}

.ba-before {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.ba-before img {
    width: 100%;
    height: 100%;
    max-width: none;
}

.ba-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: #ffffff;
    z-index: 2;
    transform: translateX(-50%);
    pointer-events: none;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

.ba-handle-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 3px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
}

.ba-slider-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 3;
}

.ba-label {
    position: absolute;
    bottom: 1.5rem;
    padding: 0.4rem 1.2rem;
    background: rgba(0,0,0,0.75);
    color: #ffffff;
    font-weight: 700;
    border-radius: 50rem;
    font-size: 0.9rem;
    backdrop-filter: blur(5px);
    z-index: 2;
}

.ba-label-before { left: 1.5rem; }
.ba-label-after { right: 1.5rem; }

/* Filterable Image Portfolio */
.filter-btn-group {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 2.5rem;
}

.filter-btn {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 0.5rem 1.4rem;
    border-radius: 50rem;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 4px 14px var(--primary-glow);
}

.portfolio-item {
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}

.portfolio-card {
    position: relative;
    border-radius: var(--radius-box);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    aspect-ratio: 4 / 3;
    background: var(--bg-surface);
}

.portfolio-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 91, 91, 0.85);
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    color: #ffffff;
    padding: 1.5rem;
    text-align: center;
}

.portfolio-card:hover img {
    transform: scale(1.12);
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay i {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.portfolio-overlay h5 {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
}

.portfolio-overlay p {
    color: var(--primary-bg-light);
    font-size: 0.9rem;
    margin: 0;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.2s;
}

.portfolio-card:hover .portfolio-overlay i,
.portfolio-card:hover .portfolio-overlay h5,
.portfolio-card:hover .portfolio-overlay p {
    transform: translateY(0);
}

/* Video Portfolio */
.video-card {
    position: relative;
    border-radius: var(--radius-box);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    aspect-ratio: 16 / 9;
}

.video-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.play-btn-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.play-icon-circle {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    padding-left: 5px;
    box-shadow: 0 0 20px rgba(0, 128, 128, 0.6);
    border: 3px solid #ffffff;
    transition: var(--transition);
}

.video-card:hover img {
    transform: scale(1.08);
}

.video-card:hover .play-icon-circle {
    transform: scale(1.15);
    background: var(--primary-dark);
}

.video-title-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
    color: #ffffff;
}

.video-title-bar h5 {
    color: #ffffff;
    margin: 0;
    font-size: 1.15rem;
}

/* Success Statistics */
.counter-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    padding: 5rem 0;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.counter-box {
    text-align: center;
    padding: 1.5rem;
}

.counter-num {
    font-size: clamp(2.5rem, 4vw, 3.8rem);
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 0.5rem;
    color: #ffffff;
    text-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.counter-title {
    font-size: 1.1rem;
    font-weight: 600;
    opacity: 0.9;
    letter-spacing: 0.5px;
}

/* Testimonials Carousel */
.testimonial-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-box);
    padding: 3rem 2.5rem;
    max-width: 800px;
    margin: 1rem auto;
    text-align: center;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.quote-icon {
    font-size: 4rem;
    color: var(--primary-bg-light);
    position: absolute;
    top: 1rem;
    left: 2rem;
    z-index: 0;
    opacity: 0.6;
}

.testimonial-text {
    font-size: 1.18rem;
    font-style: italic;
    color: var(--text-main);
    line-height: 1.7;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
}

.author-img {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.author-info {
    text-align: left;
}

.author-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.author-stars i {
    color: var(--accent-color);
    font-size: 1.1rem;
}

/* Customizing Bootstrap Carousel indicators & controls */
.carousel-indicators [data-bs-target] {
    background-color: var(--primary-color);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: var(--primary-color);
    border-radius: 50%;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

/* FAQ Accordion */
.accordion-item {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-box) !important;
    margin-bottom: 1.2rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.accordion-button {
    background-color: var(--bg-surface);
    color: var(--text-main);
    font-weight: 700;
    font-size: 1.15rem;
    padding: 1.5rem 1.8rem;
    box-shadow: none !important;
    font-family: 'Outfit', sans-serif;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-bg-light);
    color: var(--primary-color);
}

.accordion-button::after {
    filter: brightness(0.7);
}

.accordion-body {
    padding: 1.5rem 1.8rem;
    color: var(--text-muted);
    font-size: 1.02rem;
    line-height: 1.7;
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-color);
}

/* Appointment Booking Form */
.booking-section {
    background: radial-gradient(circle at 15% 50%, var(--primary-bg-light) 0%, var(--bg-main) 70%);
    padding: 6rem 0;
}

.booking-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-box);
    padding: 3.5rem 3rem;
    box-shadow: var(--shadow-lg);
}

.form-control, .form-select {
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 0.9rem 1.4rem;
    border-radius: 0.6rem;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px var(--primary-glow);
    background-color: var(--bg-main);
    color: var(--text-main);
}

.form-label {
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

/* AI Clinic Assistant Chatbot */
.floating-chat-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: var(--primary-color);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 6px 20px rgba(0, 128, 128, 0.4);
    cursor: pointer;
    z-index: 1040;
    transition: var(--transition);
    border: 2px solid #ffffff;
}

.floating-chat-btn:hover {
    transform: scale(1.1) rotate(10deg);
    background: var(--primary-dark);
}

.chat-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.chat-window {
    position: fixed;
    bottom: 110px;
    right: 30px;
    width: 380px;
    max-width: calc(100vw - 40px);
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-box);
    box-shadow: var(--shadow-lg);
    z-index: 1045;
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: slideUpChat 0.3s ease;
}

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

.chat-header {
    background: var(--primary-color);
    color: #ffffff;
    padding: 1.2rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    background: #ffffff;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.chat-header-title h5 {
    color: #ffffff;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
}

.chat-header-title span {
    font-size: 0.8rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 4px;
}

.online-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
}

.chat-close {
    color: #ffffff;
    background: transparent;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    transition: var(--transition);
}

.chat-close:hover {
    transform: rotate(90deg);
}

.chat-body {
    padding: 1.5rem;
    height: 380px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: var(--bg-main);
}

.chat-msg {
    max-width: 85%;
    padding: 0.8rem 1.2rem;
    border-radius: 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
    animation: fadeInMsg 0.3s ease;
}

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

.chat-msg.assistant {
    background: var(--primary-bg-light);
    color: var(--secondary-color);
    border-bottom-left-radius: 0.2rem;
    align-self: flex-start;
    border: 1px solid var(--border-color);
}

.chat-msg.user {
    background: var(--primary-color);
    color: #ffffff;
    border-bottom-right-radius: 0.2rem;
    align-self: flex-end;
}

.chat-quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.quick-reply-btn {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--primary-color);
    padding: 0.4rem 0.9rem;
    border-radius: 50rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.quick-reply-btn:hover {
    background: var(--primary-color);
    color: #ffffff;
}

.chat-footer {
    padding: 1rem;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 0.5rem;
}

.chat-input {
    flex-grow: 1;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    padding: 0.6rem 1rem;
    border-radius: 50rem;
    font-size: 0.95rem;
    color: var(--text-main);
    outline: none;
}

.chat-input:focus {
    border-color: var(--primary-color);
}

.chat-send-btn {
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.chat-send-btn:hover {
    background: var(--primary-dark);
}

/* Typing animation */
.typing-dots {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0.4rem 0.8rem;
    background: var(--primary-bg-light);
    border-radius: 1rem;
    border-bottom-left-radius: 0.2rem;
    align-self: flex-start;
    display: none;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out both;
}

.typing-dots span:nth-child(1) { animation-delay: -0.32s; }
.typing-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

/* Floating Fast Contact Group */
.floating-tools-side {
    position: fixed;
    left: 20px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    z-index: 1035;
}

.side-float-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.4rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-decoration: none;
    position: relative;
}

.side-float-btn.whatsapp { background: #25d366; }
.side-float-btn.call { background: var(--primary-color); }
.side-float-btn.messenger { background: #0084ff; }
.side-float-btn.book { background: var(--accent-color); }
.side-float-btn.top { background: var(--text-muted); display: none; }

.side-float-btn:hover {
    transform: translateX(5px);
    color: #ffffff;
}

.side-float-btn .float-tooltip {
    position: absolute;
    left: 60px;
    background: var(--secondary-color);
    color: #ffffff;
    padding: 0.4rem 0.8rem;
    border-radius: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    pointer-events: none;
    opacity: 0;
    white-space: nowrap;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.side-float-btn:hover .float-tooltip {
    opacity: 1;
    transform: translateX(5px);
}

/* Contact Section */
.contact-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-box);
    padding: 2.5rem;
    height: 100%;
    box-shadow: var(--shadow-sm);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-bg-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
    border: 1px solid var(--border-color);
}

.contact-item h5 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.contact-item p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin: 0;
}

.map-container {
    border-radius: var(--radius-box);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    height: 100%;
    min-height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer */
.main-footer {
    background-color: var(--secondary-color);
    color: #ffffff;
    padding: 5rem 0 2rem 0;
    border-top: 4px solid var(--primary-color);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--primary-light);
    margin-bottom: 1.5rem;
}

.footer-desc {
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 0.98rem;
}

.footer-title {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 1.8rem;
    position: relative;
    padding-bottom: 0.6rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

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

.footer-links li {
    margin-bottom: 0.9rem;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a::before {
    content: '\F285';
    font-family: 'Bootstrap-icons';
    color: var(--primary-color);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary-light);
    transform: translateX(6px);
}

.social-circle-group {
    display: flex;
    gap: 1rem;
}

.social-circle-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    text-decoration: none;
    transition: var(--transition);
}

.social-circle-btn:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-4px);
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Custom Modal Styling */
.modal-content {
    background-color: var(--bg-main);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-box);
    box-shadow: var(--shadow-lg);
}

.modal-header {
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 2rem;
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    border-top: 1px solid var(--border-color);
    padding: 1.2rem 2rem;
}

.modal-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
}
