/* ==========================================
   Design System & Global Variables
   ========================================== */
:root {
    --primary-blue: #0284c7;
    --primary-blue-dark: #0369a1;
    --primary-teal: #0d9488;
    --primary-teal-dark: #0f766e;
    --primary-dark: #0f172a;
    --secondary-dark: #1e293b;
    --text-main: #334155;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --accent-gold: #facc15;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-teal) 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --gradient-soft: linear-gradient(135deg, #f0fdfa 0%, #e0f2fe 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.02);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 30px -10px rgba(15, 23, 42, 0.08);
    --shadow-glow: 0 0 25px rgba(13, 148, 136, 0.2);
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Borders */
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --border-color: #e2e8f0;
}

/* ==========================================
   Base Styles & Reset
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-dark);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================
   Reusable Components & Buttons
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--border-radius-sm);
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--bg-white);
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.5);
}

.btn-secondary {
    background-color: var(--bg-light);
    color: var(--primary-dark);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--border-color);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.05rem;
    border-radius: 50px;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.highlight-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background-color: #f0fdfa;
    color: var(--primary-teal);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 50px;
    margin-bottom: 16px;
    border: 1px solid #ccfbf1;
}

.section-title {
    font-size: 2.25rem;
    line-height: 1.25;
    margin-bottom: 16px;
}

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ==========================================
   Header & Sticky Navbar
   ========================================== */
.navbar-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    transition: all 0.3s ease;
}

.navbar-header.scrolled {
    padding: 8px 0;
    box-shadow: var(--shadow-sm);
    background-color: rgba(255, 255, 255, 0.95);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    padding: 0 24px;
    max-width: 1240px;
    margin: 0 auto;
}

.logo-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-main {
    font-size: 1.45rem;
    font-weight: 800;
    color: #5c2d91;
    letter-spacing: 0.5px;
    line-height: 1.1;
    font-family: 'Poppins', sans-serif;
}

.logo-sub {
    font-size: 0.55rem;
    font-weight: 700;
    color: var(--bg-white);
    background-color: var(--primary-teal);
    padding: 3px 10px;
    border-radius: 50px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: 3px;
    display: inline-block;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-main);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-teal);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-toggle-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1010;
}

.hamburger-line {
    width: 28px;
    height: 3px;
    background-color: var(--primary-dark);
    border-radius: 4px;
    transition: all 0.3s ease;
}

/* ==========================================
   Hero Section
   ========================================== */
.hero-section {
    padding-top: 140px;
    padding-bottom: 80px;
    background-color: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 100%;
    background: var(--gradient-soft);
    opacity: 0.7;
    border-bottom-left-radius: 200px;
    z-index: 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: rgba(2, 132, 199, 0.08);
    color: var(--primary-blue-dark);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 24px;
    border: 1px solid rgba(2, 132, 199, 0.15);
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-rating-badge {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 20px;
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    max-width: max-content;
}

.mini-rating-info {
    display: flex;
    flex-direction: column;
}

.stars-container {
    color: var(--accent-gold);
    font-size: 1.1rem;
    line-height: 1;
    margin-bottom: 4px;
}

.rating-text {
    font-size: 0.8rem;
    color: var(--text-main);
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
}

.hero-image-bg-glow {
    position: absolute;
    width: 120%;
    height: 120%;
    top: -10%;
    left: -10%;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.15) 0%, rgba(255,255,255,0) 70%);
    z-index: 0;
}

.hero-image-container {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: visible;
    box-shadow: var(--shadow-lg);
    z-index: 1;
}

.hero-main-img {
    border-radius: var(--border-radius-lg);
    width: 100%;
    height: 480px;
    object-fit: cover;
    border: 4px solid var(--bg-white);
}

.floating-badge {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 14px 20px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    animation: floatAnimation 4s ease-in-out infinite;
}

.floating-badge h4 {
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.floating-badge p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.f-badge-icon {
    font-size: 1.5rem;
    background-color: #f0fdfa;
    width: 40px;
    height: 40px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-1 {
    top: 15%;
    left: -40px;
}

.badge-2 {
    bottom: 15%;
    right: -20px;
    animation-delay: 2s;
}

/* ==========================================
   About Section
   ========================================== */
.about-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 80px;
    align-items: center;
}

.about-para {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.about-features {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--primary-dark);
}

.feat-icon {
    width: 20px;
    height: 20px;
    color: var(--primary-teal);
    flex-shrink: 0;
}

.about-stats-container {
    position: relative;
}

.stats-card-bg {
    position: absolute;
    width: 105%;
    height: 105%;
    top: -2.5%;
    left: -2.5%;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-lg);
    opacity: 0.05;
    z-index: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    position: relative;
    z-index: 1;
}

.stat-card {
    background-color: var(--bg-white);
    padding: 32px 24px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(13, 148, 136, 0.3);
}

.stat-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 50px;
    background-color: #f0fdfa;
    color: var(--primary-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.stat-icon {
    width: 24px;
    height: 24px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.stat-title {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================
   Services Section
   ========================================== */
.services-section {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* Service Card layout */
.service-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 40px 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(13, 148, 136, 0.2);
}

.service-icon-bg {
    width: 68px;
    height: 68px;
    border-radius: var(--border-radius-sm);
    background-color: #f0fdfa;
    color: var(--primary-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon-bg {
    background-color: var(--primary-teal);
    color: var(--bg-white);
}

.service-icon {
    width: 34px;
    height: 34px;
}

.service-card-title {
    font-size: 1.35rem;
    margin-bottom: 16px;
}

.service-card-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex-grow: 1;
    line-height: 1.7;
}

.service-link {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-blue);
    display: inline-flex;
    align-items: center;
}

.service-card:hover .service-link {
    color: var(--primary-teal);
}

/* Make 4th and 5th items centered on desktop if we want, or naturally expand grid */
@media(min-width: 1025px) {
    .services-grid > :nth-child(4) {
        grid-column: 1 / 2;
    }
    .services-grid > :nth-child(5) {
        grid-column: 2 / 3;
    }
}

/* ==========================================
   Why Choose Us Section
   ========================================== */
.why-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.why-card {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(2, 132, 199, 0.3);
}

.why-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 50px;
    background-color: #e0f2fe;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.why-card-icon {
    width: 28px;
    height: 28px;
}

.why-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.why-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================
   Google Reviews Style Section
   ========================================== */
.reviews-section {
    padding: 100px 0;
    background-color: var(--bg-white);
    overflow: hidden;
}

/* Google Scorecard widget */
.google-scorecard {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 32px;
    margin-bottom: 50px;
    display: grid;
    grid-template-columns: 1.2fr 1.6fr 1.2fr;
    gap: 32px;
    align-items: center;
    box-shadow: var(--shadow-sm);
}

.scorecard-left {
    display: flex;
    align-items: center;
    gap: 24px;
    border-right: 1px solid var(--border-color);
    padding-right: 16px;
}

.scorecard-info {
    display: flex;
    flex-direction: column;
}

.scorecard-num {
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--primary-dark);
}

.scorecard-stars {
    color: var(--accent-gold);
    font-size: 1.3rem;
    margin: 4px 0;
}

.scorecard-count {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.scorecard-center {
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-right: 1px solid var(--border-color);
    padding-right: 16px;
}

.rating-bar-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bar-label {
    font-size: 0.8rem;
    color: var(--text-main);
    width: 42px;
    text-align: right;
}

.bar-outer {
    flex-grow: 1;
    height: 8px;
    background-color: #f1f5f9;
    border-radius: 4px;
    overflow: hidden;
}

.bar-inner {
    height: 100%;
    background-color: var(--accent-gold);
    border-radius: 4px;
}

.bar-percent {
    font-size: 0.8rem;
    color: var(--text-muted);
    width: 32px;
}

.scorecard-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.verify-badge {
    font-size: 0.75rem;
    color: var(--primary-teal);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Carousel container & track */
.carousel-container {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.carousel-track-wrapper {
    overflow: hidden;
    width: 100%;
    padding: 10px 0 30px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 24px;
}

.review-card {
    flex: 0 0 calc((100% - 48px) / 3); /* Shows 3 cards */
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    position: relative;
    min-height: 240px;
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(226, 232, 240, 1);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    position: relative;
}

.review-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--bg-white);
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Google style initials avatar backgrounds */
.bg-color-1 { background-color: #ea4335; }
.bg-color-2 { background-color: #34a853; }
.bg-color-3 { background-color: #4285f4; }
.bg-color-4 { background-color: #fbbc05; }
.bg-color-5 { background-color: #ab47bc; }
.bg-color-6 { background-color: #00acc1; }
.bg-color-7 { background-color: #795548; }
.bg-color-8 { background-color: #ff7043; }

.review-user-info {
    display: flex;
    flex-direction: column;
}

.review-user-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.review-user-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.google-g-badge {
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #f1f5f9;
    color: #4285f4;
    font-size: 0.7rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-stars {
    color: var(--accent-gold);
    font-size: 0.95rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 2px;
}

.review-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-left: 8px;
    font-family: 'Inter', sans-serif;
}

.review-body-text {
    font-size: 0.9rem;
    color: var(--text-main);
    line-height: 1.5;
    flex-grow: 1;
    overflow: hidden;
}

/* Google style 'more' truncation styles */
.expanded-parent p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.expanded-parent.is-expanded p {
    display: block;
    overflow: visible;
}

.review-expand-btn {
    background: none;
    border: none;
    color: var(--primary-blue);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    padding: 2px 0;
    display: inline-block;
}

.expanded-parent.is-expanded .review-expand-btn {
    display: none;
}

/* Nav arrows style */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.carousel-nav:hover {
    background-color: var(--primary-teal);
    color: var(--bg-white);
    border-color: var(--primary-teal);
    box-shadow: var(--shadow-md);
}

.carousel-nav.prev {
    left: -24px;
}

.carousel-nav.next {
    right: -24px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--primary-teal);
    width: 24px;
    border-radius: 5px;
}

/* ==========================================
   Doctor Profile Section
   ========================================== */
.doctor-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.doctor-card-container {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 50px;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 60px;
    align-items: center;
}

.doctor-image-side {
    position: relative;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
}

.doctor-outline-frame {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-teal);
    border-radius: var(--border-radius-md);
    z-index: 0;
}

.dr-profile-img {
    position: relative;
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius-md);
    border: 4px solid var(--bg-white);
    box-shadow: var(--shadow-md);
    z-index: 1;
}

.doctor-experience-tag {
    position: absolute;
    bottom: -15px;
    left: -15px;
    background-color: var(--primary-dark);
    color: var(--bg-white);
    padding: 14px 22px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.exp-num {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-teal);
    line-height: 1;
}

.exp-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.doctor-info-side {
    display: flex;
    flex-direction: column;
}

.dr-title {
    color: var(--primary-teal);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.dr-name {
    font-size: 2.25rem;
    margin-bottom: 20px;
}

.dr-intro {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.7;
}

.doctor-bullet-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 12px 0 32px;
}

.bullet-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.bullet-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #f0fdfa;
    color: var(--primary-teal);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bullet-text {
    font-size: 0.95rem;
    color: var(--text-main);
}

.bullet-text strong {
    color: var(--primary-dark);
}

/* ==========================================
   Appointment Section (CTA Only)
   ========================================== */
.appointment-section {
    padding: 100px 0;
    background: var(--gradient-dark);
    color: var(--bg-white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.appointment-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.15) 0%, rgba(255,255,255,0) 70%);
    z-index: 0;
}

.appoint-container {
    position: relative;
    z-index: 1;
}

.appoint-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.appoint-tag {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(13, 148, 136, 0.2);
    color: var(--primary-teal);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 50px;
    margin-bottom: 20px;
    border: 1px solid rgba(13, 148, 136, 0.3);
}

.appoint-title {
    color: var(--bg-white);
    font-size: 2.5rem;
    margin-bottom: 16px;
    max-width: 700px;
}

.appoint-sub {
    color: rgba(226, 232, 240, 0.8);
    font-size: 1.15rem;
    margin-bottom: 36px;
    max-width: 600px;
}

/* ==========================================
   Contact Section
   ========================================== */
.contact-section {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: stretch;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 24px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateX(5px);
    border-color: rgba(13, 148, 136, 0.3);
    box-shadow: var(--shadow-sm);
}

.contact-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #f0fdfa;
    color: var(--primary-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon-wrapper svg {
    width: 22px;
    height: 22px;
}

.contact-card-details h4 {
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.contact-card-details p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.contact-card-details a:hover {
    color: var(--primary-teal);
}

.contact-map-wrapper {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 4px solid var(--bg-white);
}

/* ==========================================
   Footer Styling
   ========================================== */
.footer-bar {
    background-color: var(--primary-dark);
    color: rgba(226, 232, 240, 0.7);
    padding: 80px 0 30px;
    border-top: 1px solid rgba(226, 232, 240, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-about p {
    margin-top: 20px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-logo {
    display: flex;
    flex-direction: column;
}

.f-logo-main {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--bg-white);
    letter-spacing: 1px;
    line-height: 1.1;
}

.f-logo-sub {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary-teal);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.footer-social-icons {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.social-icon-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icon-link:hover {
    background-color: var(--primary-teal);
    transform: translateY(-3px);
}

.footer-links h4, .footer-services h4 {
    color: var(--bg-white);
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.footer-links ul, .footer-services ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a, .footer-services a {
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-links a:hover, .footer-services a:hover {
    color: var(--primary-teal);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(225, 225, 225, 0.08);
    padding-top: 30px;
    text-align: center;
    font-size: 0.85rem;
}

/* ==========================================
   WhatsApp Floating Widget
   ========================================== */
.whatsapp-float-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    animation: pulseWhatsapp 2s infinite;
}

.whatsapp-float-btn:hover {
    background-color: #128c7e;
    transform: scale(1.08);
}

.whatsapp-icon {
    width: 32px;
    height: 32px;
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background-color: var(--primary-dark);
    color: var(--bg-white);
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 1;
    pointer-events: none;
    box-shadow: var(--shadow-md);
    transition: opacity 0.5s ease-out;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent transparent var(--primary-dark);
}

/* ==========================================
   Scroll Reveal & Keyframe Animations
   ========================================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Keyframes */
@keyframes floatAnimation {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes pulseWhatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Entry Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    animation: fadeInRight 0.8s forwards cubic-bezier(0.4, 0, 0.2, 1);
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

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

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Ripple button style micro-interaction */
.ripple {
    position: relative;
    overflow: hidden;
}

/* ==========================================
   Responsive Breakpoints
   ========================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .hero-section::before {
        width: 100%;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        height: 50%;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero-subtitle {
        margin: 0 auto 30px;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-rating-badge {
        margin: 0 auto;
    }
    
    .hero-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .hero-main-img {
        height: 380px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid > :nth-child(4),
    .services-grid > :nth-child(5) {
        grid-column: auto;
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .google-scorecard {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    
    .scorecard-right {
        grid-column: span 2;
        flex-direction: row;
        justify-content: space-between;
        border-top: 1px solid var(--border-color);
        padding-top: 20px;
    }
    
    .review-card {
        flex: 0 0 calc((100% - 24px) / 2); /* 2 reviews visible */
    }
    
    .doctor-card-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .doctor-image-side {
        order: 2;
    }
    
    .doctor-info-side {
        order: 1;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-map-wrapper {
        min-height: 350px;
    }
}

@media (max-width: 768px) {
    .nav-toggle-btn {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--bg-white);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 60px;
        gap: 40px;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-top: 1px solid var(--border-color);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.open {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 30px;
    }
    
    .nav-link {
        font-size: 1.1rem;
    }
    
    .hamburger-line.open:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .hamburger-line.open:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger-line.open:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .services-grid, .why-grid {
        grid-template-columns: 1fr;
    }
    
    .review-card {
        flex: 0 0 100%; /* 1 review visible */
    }
    
    .carousel-nav.prev {
        left: -10px;
    }
    
    .carousel-nav.next {
        right: -10px;
    }
    
    .google-scorecard {
        grid-template-columns: 1fr;
        padding: 24px;
    }
    
    .scorecard-left {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 20px;
        padding-right: 0;
        justify-content: center;
    }
    
    .scorecard-center {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 20px;
        padding-right: 0;
    }
    
    .scorecard-right {
        grid-column: span 1;
        border-top: none;
        padding-top: 0;
        flex-direction: column;
    }
    
    .doctor-card-container {
        padding: 30px 20px;
    }
    
    .dr-profile-img {
        height: 320px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .badge-1 {
        left: 0;
    }
    
    .badge-2 {
        right: 0;
    }
}

/* ==========================================
   Before/After Gallery Section
   ========================================== */
.gallery-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

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

.gallery-item {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(13, 148, 136, 0.2);
}

.gallery-img-container {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
}

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

.gallery-item:hover .gallery-img-container img {
    transform: scale(1.05);
}

.gallery-badges {
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.badge-before, .badge-after {
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.badge-before {
    background-color: rgba(15, 23, 42, 0.85);
    color: #fff;
}

.badge-after {
    background-color: rgba(13, 148, 136, 0.9);
    color: #fff;
}

.gallery-info {
    padding: 24px;
}

.gallery-info h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--primary-dark);
}

.gallery-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ==========================================
   WhatsApp Floating Button Styles
   ========================================== */
.whatsapp-float-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 0 20px rgba(37, 211, 102, 0.2);
    z-index: 999;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.whatsapp-float-btn:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25), 0 0 25px rgba(37, 211, 102, 0.45);
}

.whatsapp-icon {
    width: 32px;
    height: 32px;
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background-color: var(--primary-dark);
    color: #fff;
    padding: 8px 16px;
    border-radius: var(--border-radius-sm);
    font-size: 0.8rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    white-space: nowrap;
    pointer-events: none;
    box-shadow: var(--shadow-md);
    opacity: 1;
    transition: opacity 0.4s ease;
}

/* ==========================================
   Sticky Appointment Action Bar (Mobile-first)
   ========================================== */
.sticky-action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 -4px 15px rgba(15, 23, 42, 0.08);
    z-index: 998;
    display: none;
    border-top: 1px solid var(--border-color);
}

.sticky-bar-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 12px 16px;
}

.sticky-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: var(--border-radius-sm);
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
}

.sticky-btn-call {
    background-color: var(--bg-light);
    color: var(--primary-dark);
    border: 1px solid var(--border-color);
}

.sticky-btn-book {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 10px rgba(13, 148, 136, 0.2);
}

/* ==========================================
   Services Page Styles
   ========================================== */
.services-hero {
    padding: 150px 0 70px;
    background: var(--gradient-soft);
    text-align: center;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.services-hero h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--primary-dark);
}

.services-hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.services-detail-section {
    padding: 90px 0;
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
}

.services-detail-section:nth-child(even) {
    background-color: var(--bg-light);
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 70px;
    align-items: center;
}

.services-detail-section:nth-child(even) .service-detail-grid {
    grid-template-columns: 0.85fr 1.15fr;
}

.service-text-col {
    display: flex;
    flex-direction: column;
}

.service-tag-label {
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-teal);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.service-heading {
    font-size: 2.25rem;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.service-overview {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 28px;
    line-height: 1.75;
}

.service-benefits-title {
    font-size: 1.2rem;
    margin-bottom: 16px;
    color: var(--primary-dark);
}

.service-benefits-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.benefit-check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--text-main);
}

.benefit-check-icon {
    width: 18px;
    height: 18px;
    color: var(--primary-teal);
    flex-shrink: 0;
}

.service-timeline-title {
    font-size: 1.2rem;
    margin-bottom: 16px;
    color: var(--primary-dark);
}

.service-timeline {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 36px;
}

.timeline-step {
    display: flex;
    gap: 16px;
}

.step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #f0fdfa;
    color: var(--primary-teal);
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid #ccfbf1;
}

.step-info h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: var(--primary-dark);
}

.step-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.service-action-buttons {
    display: flex;
    gap: 16px;
}

.service-img-wrapper {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 4px solid var(--bg-white);
}

.service-img-wrapper img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

/* FAQ Accordion Styles */
.service-faq-container {
    margin-top: 40px;
}

.faq-accordion {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    margin-bottom: 12px;
    background-color: var(--bg-white);
    transition: all 0.3s ease;
}

.faq-accordion:hover {
    border-color: rgba(13, 148, 136, 0.3);
}

.faq-header {
    padding: 18px 24px;
    background-color: var(--bg-white);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: background-color var(--transition-fast);
}

.faq-header:hover {
    background-color: var(--bg-light);
}

.faq-question {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.faq-icon-arrow {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    transition: transform var(--transition-fast);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal) ease-out;
}

.faq-content-inner {
    padding: 0 24px 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
}

.faq-accordion.open {
    border-color: rgba(13, 148, 136, 0.4);
    box-shadow: var(--shadow-sm);
}

.faq-accordion.open .faq-icon-arrow {
    transform: rotate(180deg);
    color: var(--primary-teal);
}

.faq-accordion.open .faq-content {
    max-height: 500px;
}

/* ==========================================
   About Page Styles
   ========================================== */
.about-hero {
    padding: 150px 0 70px;
    background: var(--gradient-soft);
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.about-hero h1 {
    font-size: 3rem;
    margin-bottom: 16px;
    color: var(--primary-dark);
}

.about-hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.about-story-section {
    padding: 90px 0;
    background-color: var(--bg-white);
}

.about-story-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 70px;
    align-items: center;
}

.story-content h2 {
    font-size: 2.25rem;
    margin-bottom: 24px;
    color: var(--primary-dark);
}

.story-content p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.75;
}

.story-img-wrapper {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 4px solid var(--bg-white);
}

.story-img-wrapper img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.certifications-section {
    padding: 90px 0;
    background-color: var(--bg-light);
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.cert-card {
    background-color: var(--bg-white);
    padding: 36px 24px;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all 0.3s ease;
}

.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(2, 132, 199, 0.2);
}

.cert-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #f0fdfa;
    color: var(--primary-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.cert-icon {
    width: 26px;
    height: 26px;
}

.cert-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--primary-dark);
}

.cert-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ==========================================
   Contact Page Styles
   ========================================== */
.contact-hero {
    padding: 150px 0 70px;
    background: var(--gradient-soft);
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.contact-hero h1 {
    font-size: 3rem;
    margin-bottom: 16px;
    color: var(--primary-dark);
}

.contact-hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.contact-main-section {
    padding: 90px 0;
    background-color: var(--bg-white);
}

.contact-form-container {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.contact-form-container h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    border-bottom: 2px solid #f0fdfa;
    padding-bottom: 12px;
    color: var(--primary-dark);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    color: var(--primary-dark);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-btn-submit {
    width: 100%;
    padding: 14px;
    border-radius: var(--border-radius-sm);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: #fff;
    background: var(--gradient-primary);
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.3);
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.form-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.5);
}

/* Form Success & Error States */
.form-message {
    padding: 12px 16px;
    border-radius: var(--border-radius-sm);
    margin-bottom: 20px;
    font-size: 0.9rem;
    display: none;
}

.form-message.success {
    display: block;
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.form-message.error {
    display: block;
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Custom Responsive Styles for New Components */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-detail-grid, .about-story-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .services-detail-section:nth-child(even) .service-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .services-detail-section:nth-child(even) .service-text-col {
        grid-column: auto;
    }
    
    .services-detail-section:nth-child(even) .service-img-col {
        grid-column: auto;
    }
    
    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .sticky-action-bar {
        display: block;
    }
    
    .whatsapp-float-btn {
        bottom: 80px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-icon {
        width: 28px;
        height: 28px;
    }
    
    .whatsapp-tooltip {
        display: none; /* Hide tooltips on mobile screens */
    }
    
    body {
        padding-bottom: 70px;
    }
}

@media (max-width: 640px) {
    .gallery-grid, .cert-grid {
        grid-template-columns: 1fr;
    }
    
    .service-benefits-list {
        grid-template-columns: 1fr;
    }
    
    .services-hero h1, .about-hero h1, .contact-hero h1 {
        font-size: 2.25rem;
    }
    
    .contact-form-container {
        padding: 24px 16px;
    }
    
    .service-action-buttons {
        flex-direction: column;
        gap: 12px;
    }
}

/* ==========================================
   Direct Booking Card Component
   ========================================== */
.contact-booking-card {
    display: flex;
    flex-direction: column;
}

.booking-card-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 28px;
}

.booking-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.b-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.b-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #f0fdfa;
    color: var(--primary-teal);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.b-feature-content strong {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.b-feature-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.booking-card-action {
    margin-top: auto;
}

.btn-full-width {
    width: 100%;
}

.booking-card-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 0.9rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.booking-card-footer a {
    color: var(--primary-teal);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-fast);
}

.booking-card-footer a:hover {
    color: var(--primary-teal-dark);
    text-decoration: underline;
}

