/* Modern Clinical Teal / Indigo Palette */
:root {
    --primary: #15803d;        /* Green 700 (Main theme & primary navigation buttons) */
    --primary-hover: #166534;  /* Deep Green (Button hover states) */
    --accent: #b91c1c;         /* Red 700 (Accents, primary action buttons, and badges) */
    --accent-hover: #991b1b;   /* Deep Red (Red button hover state) */
    --dark-bg: #166534;        /* Slate 900 */
    --light-bg: #f8fafc;       /* Slate 50 */
    --text-main: #334155;      /* Slate 700 */
    --text-dark: #0f172a;      /* Slate 900 */
    --border-color: #e2e8f0;   /* Slate 200 */
    --white: #ffffff;
}
/* Navigation Button - Green */
.nav-links .btn-nav {
    background-color: var(--primary);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 50px;
    transition: background-color 0.2s;
}

.nav-links .btn-nav:hover {
    background-color: var(--primary-hover);
}
/* Dynamic Red Hero Configurations */
.dynamic-red-hero {
    background: linear-gradient(135deg,  #15803d 0%, #166534 100%) !important;
    color: var(--white) !important;
    position: relative;
    overflow: hidden;
}

/* Force all text inside Hero to White */
.dynamic-red-hero h1, 
.dynamic-red-hero p, 
.dynamic-red-hero .stat-box h2, 
.dynamic-red-hero .stat-box p {
    color: var(--white) !important;
}

/* Contrast adjustment for hero top-badge */
.dynamic-red-hero .badge {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Crisp white button action element */
.btn-hero-white {
    display: inline-block;
    background-color: var(--white);
    color: var(--accent) !important;
    font-weight: 700;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-hero-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* Animation profile for Hero elements */
.hero-animated-text {
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hero-content h1 { animation-delay: 0.2s; }
.hero-content p { animation-delay: 0.4s; }

.animated-stat-box {
    opacity: 0;
    transform: scale(0.9);
    animation: heroScaleIn 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards 0.6s;
    transition: transform 0.3s ease;
}

.animated-stat-box:hover {
    transform: scale(1.05);
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

/* Keyframe definition arrays */
@keyframes heroFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroScaleIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Main Hero Button - Red */
.btn-primary {
    display: inline-block;
    background-color: var(--accent);
    color: var(--white);
    font-weight: 700;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.2s, transform 0.2s;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

/* Form Submission Button - Green */
.btn-submit {
    width: 100%;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    padding: 14px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-submit:hover {
    background-color: var(--primary-hover);
}

/* Slider Container Setup */
.services-slider-container {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 20px 0;
}

/* Linear Track Setup */
.services-track {
    display: flex;
    width: max-content;
    gap: 30px;
}

/* Left to Right Infinite Animation Loop */
.track-ltr {
    animation: slideRight 35s linear infinite;
}

/* Pause track motion completely when hovered */
.services-slider-container:hover .services-track {
    animation-play-state: paused;
}

/* Individual Card Configuration */
.services-track .service-card {
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    width: 320px;
    flex-shrink: 0;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02);
    
    /* Box & Layout Animating properties */
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
                box-shadow 0.4s ease, 
                border-color 0.4s ease;
}

/* Icon & Title Text Animating Properties */
.services-track .service-card .icon {
    font-size: 36px;
    margin-bottom: 16px;
    transition: transform 0.4s ease;
}

.services-track .service-card h3 {
    margin-bottom: 14px;
    color: var(--text-dark);
    font-size: 18px;
    font-weight: 700;
    transition: color 0.3s ease, transform 0.3s ease;
}

.services-track .service-card p {
    font-size: 14px;
    color: var(--text-main);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.9;
    transition: transform 0.3s ease, padding-left 0.3s ease;
}

.services-track .service-card p::before {
    content: "•";
    color: var(--accent);
    font-weight: bold;
}

/* Interactive Hover Trigger States */
.services-track .service-card:hover {
    transform: scale(1.05); /* Smoothly pops box up and forward */
    box-shadow: 0 20px 30px -10px rgba(21, 128, 61, 0.15);
    border-color: var(--primary); /* Green theme accent match */
}

.services-track .service-card:hover .icon {
    transform: scale(1.2) rotate(6deg); /* Bounces icon */
}

.services-track .service-card:hover h3 {
    color: var(--primary);
    transform: translateX(4px); /* Pushes header to right slightly */
}

.services-track .service-card:hover p {
    padding-left: 6px; /* Slides all individual text elements smoothly */
}

/* Core Slider Motion Logic */
@keyframes slideRight {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0%);
    }
}

/* Container adjustments */
.services-marquee-section {
    padding: 60px 0;
    overflow: hidden;
    background-color: var(--light-bg);
}

.marquee-container {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 20px 0;
}

/* Infinite Scroll Animation Track */
.marquee-track {
    display: flex;
    width: max-content;
    gap: 30px;
    animation: scrollMarquee 40s linear infinite;
}

/* Pause scroll animation on hover */
.marquee-container:hover .marquee-track {
    animation-play-state: paused;
}

@keyframes scrollMarquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Animated Slider Card Box */
.service-card-slide {
    width: 320px;
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), 
                box-shadow 0.3s ease, 
                border-color 0.3s ease;
    flex-shrink: 0;
}

/* Box Hover Effect */
.service-card-slide:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 20px 25px -5px rgba(21, 128, 61, 0.1), 0 10px 10px -5px rgba(21, 128, 61, 0.04);
}

/* Icon Pulse Animation */
.service-card-slide .slide-icon {
    font-size: 36px;
    margin-bottom: 16px;
    transition: transform 0.3s ease;
}

.service-card-slide:hover .slide-icon {
    transform: scale(1.2) rotate(10deg);
}

/* Typography Text Hover Effects */
.service-card-slide h3 {
    margin-bottom: 14px;
    color: var(--text-dark);
    font-size: 18px;
    font-weight: 700;
    transition: color 0.3s ease;
}

.service-card-slide:hover h3 {
    color: var(--primary); /* Shifts title to green on hover */
}

.service-card-slide ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-card-slide ul li {
    font-size: 13.5px;
    color: var(--text-main);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s ease, color 0.2s ease;
}

/* Text list translation animation on card hover */
.service-card-slide:hover ul li {
    transform: translateX(4px);
    color: var(--text-dark);
}

/* Red bullet integration */
.service-card-slide ul li::before {
    content: "•";
    color: var(--accent);
    font-weight: bold;
    font-size: 16px;
}


/* Informational Notice Border - Green */
.notice {
    background: #f1f5f9;
    padding: 20px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.6;
    color: #475569;
    border-left: 4px solid var(--primary);
}

/* Animated Profile Wrapper Frame - Red to Green Gradient */
.photo-wrapper {
    position: relative;
    width: 320px;
    height: 420px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    border-radius: 24px;
    padding: 6px;
    box-shadow: 0 12px 32px rgba(21, 128, 61, 0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    overflow: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    background-color: var(--light-bg);
    color: var(--text-main);
    line-height: 1.6;
}

/* Header Utilities */
.top-bar {
    background-color: var(--primary);
    color: var(--white);
    padding: 10px 24px;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    font-weight: 500;
}

.top-contacts a {
    color: var(--white);
    text-decoration: none;
    margin-left: 16px;
}

.top-contacts a:hover {
    text-decoration: underline;
}

.main-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 1px 10px rgba(15, 23, 42, 0.08);
}

.logo {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links .btn-nav {
    background-color: var(--primary);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 50px;
    transition: background-color 0.2s;
}

.nav-links .btn-nav:hover {
    background-color: var(--primary-hover);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--dark-bg), #1e293b);
    color: var(--white);
    padding: 100px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 48px;
}

.hero-content {
    max-width: 600px;
}

.badge {
    background-color: rgba(16, 185, 129, 0.15);
    color: var(--accent);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-content p {
    color: #cbd5e1;
    font-size: 18px;
    margin-bottom: 32px;
}

.btn-primary {
    display: inline-block;
    background-color: var(--accent);
    color: var(--white);
    font-weight: 700;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.2s, transform 0.2s;
}

.btn-primary:hover {
    background-color: #059669;
    transform: translateY(-2px);
}

.hero-stats {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 36px;
    border-radius: 20px;
    width: 100%;
    max-width: 400px;
    backdrop-filter: blur(4px);
}

.stat-box h2 {
    font-size: 36px;
    color: var(--accent);
    font-weight: 800;
    margin-bottom: 4px;
}

.stat-box p {
    color: #94a3b8;
    font-size: 14px;
}

.stat-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.08);
    margin: 20px 0;
}

/* Services Layout */
.services-section {
    padding: 100px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 32px;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 800;
}

.section-title p {
    color: #64748b;
    font-size: 16px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 36px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.01), 0 2px 4px -1px rgba(0,0,0,0.01);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px -3px rgba(0,0,0,0.05);
}

.service-card .icon {
    font-size: 36px;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 14px;
    color: var(--text-dark);
    font-size: 18px;
    font-weight: 700;
}

.service-card p {
    font-size: 14px;
    color: var(--text-main);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-card p::before {
    content: "•";
    color: var(--accent);
    font-weight: bold;
}

/* About Section & Image Framing */
.about-section {
    background-color: #f1f5f9;
    padding: 100px 24px;
}

.about-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    align-items: center;
    flex-wrap: wrap;
}

.photo-wrapper {
    position: relative;
    width: 320px;
    height: 420px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 24px;
    padding: 6px;
    box-shadow: 0 12px 32px rgba(15, 118, 110, 0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    overflow: hidden;
}

.photo-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, var(--accent), transparent, var(--primary), transparent);
    animation: rotateBorder 6s linear infinite;
    z-index: 1;
}

.photo-placeholder {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #cbd5e1;
    border-radius: 18px;
    overflow: hidden;
    z-index: 2;
}

.photo-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.photo-overlay {
    position: absolute;
    bottom: -100px;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 16px;
    text-align: center;
    color: var(--white);
    transition: bottom 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.photo-overlay h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 2px;
}

.photo-overlay p {
    font-size: 11px;
    color: var(--accent);
    text-transform: uppercase;
    font-weight: 600;
}

.photo-wrapper:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(15, 118, 110, 0.35);
}

.photo-wrapper:hover .photo-placeholder img {
    transform: scale(1.1);
}

.photo-wrapper:hover .photo-overlay {
    bottom: 0;
}

@keyframes rotateBorder {
    100% {
        transform: rotate(360deg);
    }
}

.profile-info {
    flex: 1;
    min-width: 320px;
}

.sub-badge {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 800;
    letter-spacing: 1.5px;
    background-color: rgba(15, 118, 110, 0.15);
    padding: 4px 12px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 12px;
}

.profile-info h2 {
    font-size: 32px;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 800;
}

.credentials {
    color: var(--primary);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.4;
}

.bio {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 24px;
    color: var(--text-main);
}

.bmdc-tag {
    display: inline-block;
    background: var(--white);
    border: 1px solid var(--border-color);
    padding: 8px 18px;
    font-size: 13px;
    border-radius: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

/* Booking Area */
.booking-section {
    padding: 100px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.booking-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 60px;
}

.form-box {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px -5px rgba(0,0,0,0.04);
}

.form-box h3 {
    margin-bottom: 28px;
    font-size: 22px;
    color: var(--text-dark);
    font-weight: 800;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.input-group input, .input-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-dark);
    background-color: #f8fafc;
    transition: all 0.2s;
}

.input-group input:focus, .input-group select:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.1);
}

.row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.btn-submit {
    width: 100%;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    padding: 14px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-submit:hover {
    background-color: var(--primary-hover);
}

.info-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 36px;
}

.info-block h3 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 700;
}

.highlight {
    color: var(--primary);
    font-weight: 600;
}

.notice {
    background: #f1f5f9;
    padding: 20px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.6;
    color: #475569;
    border-left: 4px solid var(--primary);
}

/* Footer Section */
.main-footer {
    background-color: var(--dark-bg);
    color: #fbfbfc;
    font-size: 13px;
    padding: 40px 24px;
    text-align: center;
    border-top: 1px solid #1e293b;
}

.main-footer p {
    margin-bottom: 6px;
}
/* Team Section Layout */
.team-section {
    padding: 60px 0;
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px;
}

/* Highlight Dynamic & Animated Box Container */
.team-card-wrapper {
    position: relative;
    max-width: 500px;
    width: 100%;
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    border-radius: 24px;
    padding: 6px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.1);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
                box-shadow 0.4s ease;
    overflow: hidden;
}

/* Hover effects for the main box container */
.team-card-wrapper:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 35px rgba(21, 128, 61, 0.25);
}

/* Internal image wrapper */
.team-photo-container {
    position: relative;
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    background-color: var(--dark-bg);
}

/* Dynamic Image Zoom */
.team-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), 
                filter 0.4s ease;
}

.team-card-wrapper:hover .team-image {
    transform: scale(1.05);
}

/* Text Panel Overlay Animation */
.team-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 24px;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.4) 70%, transparent 100%);
    color: var(--white);
    transform: translateY(10px);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-sizing: border-box;
}

.team-card-wrapper:hover .team-card-overlay {
    transform: translateY(0);
}

.team-card-overlay h4 {
    margin: 0 0 6px 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--white) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.team-card-overlay p {
    margin: 0;
    font-size: 14px;
    color: #cbd5e1 !important;
    font-weight: 500;
}
/* Responsive Responsive Adaptability */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-section { text-align: center; justify-content: center; padding: 60px 20px; }
    .booking-container { gap: 40px; }
    .form-box { padding: 24px; }
    .row { grid-template-columns: 1fr; gap: 0; }
}