/* General Variables & Base Styles */
:root {
    --primary-color: #17794b;
    --primary-hover: #145f3b;
    --bg-light: #f9fbf9;
    --text-dark: #1f2937;
    --text-muted: #4b5563;
    --shadow-sm: 0 4px 12px rgba(23, 121, 75, 0.5);
    --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.08), 0 6px 12px rgba(0, 0, 0, 0.05);
    --transition-fast: 0.25s ease;
    --transition-normal: 0.3s ease;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Roboto', sans-serif;
}

/* Utilities */
.text-primary,
.text-primary-custom {
    color: var(--primary-color) !important;
}

.bg-primary,
.bg-primary-custom {
    background-color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    box-shadow: 0 6px 20px rgba(20, 95, 59, 0.6);
}

/* Navbar */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.navbar-brand {
    color: var(--primary-color) !important;
    font-size: 22px;
}

.navbar .nav-link {
    color: var(--primary-color);
    font-weight: 600;
    transition: color var(--transition-normal);
}

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

.appointment-btn {
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

/* Doctor Intro */
.doctor-intro {
    background-color: #fff;
}

/* Main Container Background */
.about-container {
    background: var(--bg-light);
}

/* Hero Section */
.hero-headline {
    line-height: 1.2;
}

.lead-text {
    font-size: 18px;
    max-width: 550px;
}

.hero-btn {
    padding: 10px 22px;
}

.hero-image {
    max-width: 100%;
    width: 420px;
    transition: transform var(--transition-normal);
}

.hero-image:hover {
    transform: translateY(-6px);
}

.top-blob {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(23, 121, 75, 0.12) 0%, rgba(23, 121, 75, 0.04) 40%, transparent 70%);
    top: -200px;
    right: -200px;
    z-index: 0;
    pointer-events: none;
}

.bottom-blob {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(23, 121, 75, 0.08) 0%, transparent 70%);
    bottom: -200px;
    left: -200px;
    z-index: 0;
    pointer-events: none;
}

/* Stats Section */
.stat-card {
    text-align: center;
    background: linear-gradient(180deg, #fff, #f9fbfa);
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-fast);
    position: relative;
}

.stat-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.08);
    ;
}

.stat-card .material-icons,
.stat-card h2 {
    color: var(--primary-color);
}

.stat-card .material-icons {
    font-size: 28px;
}

/* Approach Section */
.approach-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.approach-card:hover {
    transform: translateY(-5px);
}

.approach-card .material-icons {
    color: var(--primary-color);
    font-size: 28px;
}

/* Conditions Section */
.condition-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease, background-color 0.3s ease;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.condition-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    background: #e8f5e9;
}

.condition-card h3 {
    color: var(--primary-color);
    transition: transform var(--transition-normal);
}

.condition-card p {
    color: #444;
    font-size: 14px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-10px);
    transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.4s ease, transform 0.4s ease;
}

.condition-card.active p {
    max-height: 200px;
    opacity: 1;
    transform: translateY(0);
}

.view-more-link {
    color: var(--primary-color);
    transition: color var(--transition-normal);
}

.view-more-link:hover {
    color: var(--primary-hover);
}

/* Footer */
.footer {
    background-color: var(--primary-color);
}

.footer-links .slide-link {
    transition: all var(--transition-normal);
}

.footer-links .slide-link:hover {
    color: #fff !important;
    text-decoration: underline !important;
    padding-left: 5px;
}

.custom-top-border {
    border-top: 4px solid #17794b !important;
}

.green-border-left {
    border-left: 4px solid #17794b !important;
}