/* ===== CSS VARIABLES & RESET ===== */
:root {
    --primary: #2d6a4f;
    --primary-dark: #1b4332;
    --primary-light: #40916c;
    --primary-lighter: #52b788;
    --primary-lightest: #d8f3dc;
    --secondary: #e9c46a;
    --secondary-dark: #d4a373;
    --accent: #f4a261;
    --text-dark: #1a1a2e;
    --text-muted: #6c757d;
    --text-light: #ffffff;
    --bg-light: #f8f9fa;
    --bg-cream: #fefae0;
    --bg-gradient: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.15);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    background: var(--bg-light);
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-lighter);
    margin: 10px auto 0;
    border-radius: 2px;
}

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

.btn {
    display: inline-block;
    padding: 14px 36px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.3px;
}

.btn-primary {
    background: var(--primary);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(45, 106, 79, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(45, 106, 79, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-secondary:hover {
    background: var(--text-light);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--text-light);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 22px;
    font-size: 0.9rem;
}

/* ===== TOP BAR ===== */
.top-bar {
    background: var(--primary-dark);
    color: var(--text-light);
    padding: 10px 0;
    font-size: 0.9rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar a {
    color: var(--primary-lightest);
    margin-right: 20px;
}

.top-bar a:hover {
    color: var(--secondary);
}

.top-bar a i {
    margin-right: 6px;
}

/* ===== NAVBAR ===== */
.navbar {
    background: var(--text-light);
    padding: 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
}

.nav-logo img {
    height: 48px;
    width: auto;
    border-radius: 8px;
}

.nav-logo-text {
    display: flex;
    flex-direction: column;
}

.nav-logo-text h1 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.2;
}

.nav-logo-text span {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.nav-menu,
#navMenu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 5px;
}

.nav-menu li a {
    padding: 10px 18px;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dark);
    border-radius: 8px;
    transition: var(--transition);
}

.nav-menu li a:hover,
.nav-menu li a.active {
    background: var(--primary-lightest);
    color: var(--primary-dark);
}

.nav-menu .nav-cta {
    background: var(--primary);
    color: var(--text-light) !important;
    padding: 10px 24px !important;
    border-radius: 50px;
    margin-left: 10px;
}

.nav-menu .nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    background: none;
    border: none;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--primary-dark);
    border-radius: 3px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== HERO SECTION ===== */
.hero {
    background: var(--bg-gradient);
    position: relative;
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: floatBlob 12s ease-in-out infinite alternate;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -8%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(233, 196, 106, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: floatBlob 10s ease-in-out infinite alternate-reverse;
}

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

.hero-content h5 {
    color: var(--secondary);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-content h5 .badge-line {
    display: inline-block;
    width: 40px;
    height: 2px;
    background: var(--secondary);
    border-radius: 2px;
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--text-light);
    line-height: 1.15;
    margin-bottom: 10px;
}

.hero-content h1 .highlight {
    background: linear-gradient(135deg, var(--secondary), #f6d365);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content h3 {
    font-size: 1.2rem;
    font-weight: 400;
    color: rgba(255,255,255,0.85);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-content h3 i {
    color: var(--secondary);
    font-size: 1rem;
}

.hero-content p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.72);
    margin-bottom: 28px;
    max-width: 520px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-buttons .btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-lighter));
    box-shadow: 0 6px 25px rgba(45, 106, 79, 0.35);
}

.hero-buttons .btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(45, 106, 79, 0.5);
}

.hero-buttons .btn-secondary {
    border-width: 2px;
    backdrop-filter: blur(4px);
    background: rgba(255,255,255,0.08);
}

.hero-buttons .btn-secondary:hover {
    background: var(--text-light);
    color: var(--primary-dark);
}

.hero-stats {
    display: flex;
    gap: 35px;
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.12);
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-stat .stat-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--secondary);
}

.hero-stat-text h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.2;
}

.hero-stat-text p {
    font-size: 0.78rem;
    margin-bottom: 0;
    color: rgba(255,255,255,0.65);
    letter-spacing: 0.3px;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    align-self: flex-start;
}

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

.hero-image-wrapper .main-img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: block;
    position: relative;
    z-index: 2;
}

.hero-float-el {
    position: absolute;
    z-index: 3;
    pointer-events: none;
    animation: floatDrift 6s ease-in-out infinite;
}

.hero-float-el.el-1 {
    top: -18px;
    right: -18px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(82, 183, 136, 0.25), rgba(45, 106, 79, 0.15));
    border-radius: 16px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--secondary);
    animation-delay: 0s;
}

.hero-float-el.el-2 {
    bottom: 30px;
    left: -22px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(233, 196, 106, 0.2), rgba(244, 162, 97, 0.12));
    border-radius: 50%;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--secondary);
    animation-delay: 2s;
}

.hero-float-el.el-3 {
    bottom: -12px;
    right: 40px;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, rgba(82, 183, 136, 0.3), rgba(27, 67, 50, 0.1));
    border-radius: 10px;
    transform: rotate(45deg);
    animation-delay: 4s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--primary-lighter);
}

@keyframes floatDrift {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(6deg); }
}

@keyframes floatBlob {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -30px) scale(1.1); }
}

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

.hero-content > * {
    opacity: 0;
    animation: heroFadeUp 0.7s ease forwards;
}

.hero-content h5 { animation-delay: 0.1s; }
.hero-content h1 { animation-delay: 0.25s; }
.hero-content h3 { animation-delay: 0.4s; }
.hero-content p { animation-delay: 0.55s; }
.hero-content .hero-buttons { animation-delay: 0.7s; }
.hero-content .hero-stats { animation-delay: 0.85s; }

.hero-image {
    opacity: 0;
    animation: heroFadeUp 0.8s ease 0.3s forwards;
}

.hero-badge {
    position: absolute;
    bottom: -18px;
    left: -18px;
    background: var(--text-light);
    padding: 14px 22px;
    border-radius: var(--radius);
    box-shadow: 0 8px 30px rgba(0,0,0,0.18);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 4;
}

.hero-badge .badge-icon-wrap {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary-lightest), var(--primary-lighter));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-dark);
}

.hero-badge p {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0;
    line-height: 1.3;
}

.hero-badge small {
    display: block;
    font-weight: 400;
    color: var(--text-muted);
    font-size: 0.7rem;
}

.hero-trust-badge {
    position: absolute;
    top: 16px;
    left: -12px;
    z-index: 5;
    background: var(--text-light);
    padding: 8px 14px;
    border-radius: 50px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.hero-trust-badge i {
    color: var(--secondary);
    font-size: 0.8rem;
}

/* ===== ABOUT SECTION ===== */
.about {
    background: var(--text-light);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(45, 106, 79, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.about::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(233, 196, 106, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

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

.about-image {
    position: relative;
}

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

.about-image-wrapper .about-float-el {
    position: absolute;
    z-index: 3;
    pointer-events: none;
    animation: floatDrift 6s ease-in-out infinite;
}

.about-image-wrapper img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: block;
    position: relative;
    z-index: 2;
}

.about-float-el.ael-1 {
    top: -16px;
    left: -16px;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(233, 196, 106, 0.2), rgba(244, 162, 97, 0.12));
    border-radius: 14px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--secondary);
    animation-delay: 0s;
}

.about-float-el.ael-2 {
    bottom: 40px;
    right: -18px;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(82, 183, 136, 0.25), rgba(45, 106, 79, 0.12));
    border-radius: 50%;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--primary-lighter);
    animation-delay: 2s;
}

.about-image .about-badge {
    position: absolute;
    bottom: -18px;
    right: -12px;
    background: var(--primary);
    color: var(--text-light);
    padding: 18px 26px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: 0 8px 30px rgba(45, 106, 79, 0.3);
    z-index: 4;
    border: 2px solid rgba(255,255,255,0.15);
}

.about-badge h3 {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.1;
}

.about-badge p {
    font-size: 0.78rem;
    opacity: 0.9;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
}

.about-content {
    padding: 10px 0;
}

.about-content .about-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 10px;
    padding: 6px 16px;
    background: var(--primary-lightest);
    border-radius: 50px;
}

.about-content .about-tag i {
    font-size: 0.8rem;
}

.about-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 18px;
    line-height: 1.25;
}

.about-content h2 .highlight-text {
    color: var(--primary-light);
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-content p:last-of-type {
    margin-bottom: 0;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 24px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: var(--bg-light);
    border-radius: var(--radius);
    border: 1px solid transparent;
    transition: var(--transition);
    cursor: default;
}

.about-feature:hover {
    border-color: var(--primary-lightest);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
    background: var(--text-light);
}

.about-feature .feature-icon-wrap {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: linear-gradient(135deg, var(--primary-lightest), var(--primary-lighter));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--primary-dark);
    transition: var(--transition);
}

.about-feature:hover .feature-icon-wrap {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--text-light);
}

.about-feature span {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
}

@keyframes aboutSlideIn {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

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

/* ===== DOCTOR PROFILE ===== */
.doctor {
    background: var(--bg-light);
}

.doctor .container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: start;
}

.doctor-image {
    position: sticky;
    top: 100px;
}

.doctor-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.doctor-info h5 {
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.doctor-info h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.doctor-info .doctor-title {
    font-size: 1.1rem;
    color: var(--primary-light);
    font-weight: 500;
    margin-bottom: 20px;
}

.doctor-info .doctor-qual {
    display: inline-block;
    background: var(--primary-lightest);
    color: var(--primary-dark);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.doctor-info p {
    color: var(--text-muted);
    margin-bottom: 16px;
}

.doctor-credentials {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 25px;
}

.doctor-credential {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--text-light);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary-lighter);
}

.doctor-credential i {
    font-size: 1.4rem;
    color: var(--primary);
}

.doctor-credential span {
    font-weight: 500;
    font-size: 0.9rem;
}

/* ===== SERVICES SECTION ===== */
.services {
    background: var(--text-light);
}

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

.service-card {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 35px 25px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

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

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-lightest);
}

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

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-lightest);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 1.8rem;
    color: var(--primary);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: var(--text-light);
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

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

/* ===== WHY US SECTION ===== */
.why-us {
    background: var(--bg-gradient);
    position: relative;
}

.why-us .section-header h2 {
    color: var(--text-light);
}

.why-us .section-header h2::after {
    background: var(--secondary);
}

.why-us .section-header p {
    color: rgba(255,255,255,0.7);
}

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

.why-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius);
    padding: 35px 25px;
    text-align: center;
    transition: var(--transition);
}

.why-card:hover {
    background: rgba(255,255,255,0.18);
    transform: translateY(-5px);
}

.why-card .why-icon {
    width: 65px;
    height: 65px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 1.6rem;
    color: var(--secondary);
}

.why-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 10px;
}

.why-card p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    background: var(--bg-light);
}

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

.testimonial-card {
    background: var(--text-light);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid transparent;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    border-color: var(--primary-lightest);
}

.testimonial-stars {
    color: var(--secondary);
    font-size: 1rem;
    margin-bottom: 15px;
}

.testimonial-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-author .avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-lightest);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
}

.testimonial-author h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ===== CONTACT SECTION ===== */
.contact {
    background: var(--text-light);
}

.contact .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h5 {
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.contact-info h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

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

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-detail .cd-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--primary-lightest);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary);
}

.contact-detail h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 2px;
}

.contact-detail p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.contact-form {
    background: var(--bg-light);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-form h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 25px;
}

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

.form-group label {
    display: block;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95rem;
    border: 2px solid #e0e0e0;
    border-radius: var(--radius);
    transition: var(--transition);
    background: var(--text-light);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary-lighter);
    box-shadow: 0 0 0 4px rgba(82, 183, 136, 0.1);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-dark);
    color: var(--text-light);
    padding: 0;
    position: relative;
}

.footer-top-decor {
    height: 6px;
    background: linear-gradient(90deg, var(--primary-lighter), var(--secondary), var(--primary-lighter));
}

.footer-main {
    padding: 55px 0 40px;
}

.footer .container {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr;
    gap: 45px;
}

.footer-widget h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.3px;
}

.footer-widget h3 .fw-icon {
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--secondary);
}

.footer-widget h3 img {
    height: 36px;
    border-radius: 6px;
}

.footer-widget p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.65);
    margin-bottom: 16px;
    line-height: 1.75;
}

.footer-widget ul {
    list-style: none;
}

.footer-widget ul li {
    margin-bottom: 11px;
}

.footer-widget ul li a {
    color: rgba(255,255,255,0.65);
    font-size: 0.88rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-widget ul li a i {
    width: 18px;
    color: var(--primary-lighter);
    font-size: 0.8rem;
    text-align: center;
}

.footer-widget ul li a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-widget ul li a:hover i {
    color: var(--secondary);
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.8);
    transition: var(--transition);
    font-size: 1rem;
    border: 1px solid rgba(255,255,255,0.08);
}

.footer-social a:hover {
    background: var(--secondary);
    color: var(--primary-dark);
    transform: translateY(-3px);
    border-color: var(--secondary);
}

.footer-timing-card {
    background: rgba(255,255,255,0.06);
    border-radius: var(--radius);
    padding: 18px 20px;
    margin-top: 18px;
    border: 1px solid rgba(255,255,255,0.08);
}

.footer-timing-card p {
    font-size: 0.82rem;
    margin-bottom: 4px;
    color: rgba(255,255,255,0.7);
    display: flex;
    justify-content: space-between;
}

.footer-timing-card p:last-child {
    margin-bottom: 0;
}

.footer-timing-card .day {
    font-weight: 500;
    color: rgba(255,255,255,0.85);
}

.footer-timing-card .time {
    color: var(--primary-lighter);
}

.footer-timing-card .time-sun {
    color: var(--secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 22px 0;
    text-align: center;
    background: rgba(0,0,0,0.15);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.55);
}

.footer-bottom a {
    color: var(--secondary);
    font-weight: 500;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--primary-lighter);
}

.footer-bottom .dev-credit {
    color: rgba(255,255,255,0.4);
    font-size: 0.78rem;
}

.footer-bottom .dev-credit a {
    color: var(--primary-lighter);
    font-weight: 500;
}

.footer-bottom .dev-credit a:hover {
    color: var(--secondary);
}

.footer-bottom .dev-divider {
    display: inline-block;
    width: 1px;
    height: 12px;
    background: rgba(255,255,255,0.15);
    margin: 0 12px;
    vertical-align: middle;
}

/* ===== APPOINTMENT MODAL ===== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal-box {
    background: var(--text-light);
    border-radius: var(--radius-lg);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: modalIn 0.3s ease;
}

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

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--bg-light);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
}

.modal-close:hover {
    background: #fee;
    color: #e74c3c;
}

.modal-box h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 6px;
}

.modal-box .modal-sub {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.modal-box .form-group {
    margin-bottom: 18px;
}

.modal-success {
    display: none;
    text-align: center;
    padding: 30px 20px;
}

.modal-success i {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.modal-success h3 {
    margin-bottom: 8px;
}

.modal-success p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* ===== FLOATING WHATSAPP ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: var(--text-light);
}

@keyframes pulse {
    0% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7); }
    100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--text-light);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ===== BLOG SECTION (SLIDING CARDS) ===== */
.blog {
    background: var(--bg-light);
    position: relative;
}

.blog-slider-wrapper {
    position: relative;
    overflow: hidden;
}

.blog-grid-scroll {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 8px 4px 12px;
    scroll-behavior: smooth;
}

.blog-grid-scroll::-webkit-scrollbar {
    display: none;
}

.blog-card-slider {
    flex: 0 0 calc(50% - 12.5px);
    min-width: 320px;
    scroll-snap-align: start;
    background: var(--text-light);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid transparent;
}

.blog-card-slider:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-lightest);
}

.blog-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card-slider:hover .blog-card-image img {
    transform: scale(1.08);
}

.blog-card-category {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--primary);
    color: var(--text-light);
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.blog-card-body {
    padding: 20px 22px 24px;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.blog-card-meta i {
    color: var(--primary-light);
    margin-right: 4px;
}

.blog-card-body h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
    line-height: 1.35;
}

.blog-card-body p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 14px;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--primary);
    transition: var(--transition);
}

.blog-read-more:hover {
    color: var(--primary-dark);
    gap: 12px;
}

.blog-read-more i {
    font-size: 0.78rem;
    transition: var(--transition);
}

.blog-cta {
    text-align: center;
    margin-top: 35px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--text-light);
    border: none;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--primary);
    z-index: 5;
    transition: var(--transition);
    opacity: 0;
}

.blog-slider-wrapper:hover .slider-arrow {
    opacity: 1;
}

.slider-arrow:hover {
    background: var(--primary);
    color: var(--text-light);
    transform: translateY(-50%) scale(1.1);
}

@media (hover: none) {
    .slider-arrow { opacity: 0.8; }
}

.slider-arrow-left {
    left: -6px;
}

.slider-arrow-right {
    right: -6px;
}

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

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d4d4d4;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.slider-dot.active {
    background: var(--primary);
    width: 28px;
    border-radius: 5px;
}

.slider-dot:hover {
    background: var(--primary-lighter);
}

/* ===== REELS SECTION ===== */
.reels {
    background: var(--text-light);
}

.reels-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.reel-card {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    aspect-ratio: 9 / 16;
    background: #1a1a2e;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    display: block;
}

.reel-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: var(--primary-lighter);
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

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

.reel-card:hover img {
    transform: scale(1.05);
}

.reel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.7) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px 16px;
    opacity: 0;
    transition: var(--transition);
}

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

.reel-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    transition: var(--transition);
    border: 2px solid rgba(255,255,255,0.3);
}

.reel-card:hover .reel-play {
    background: rgba(255,255,255,0.35);
    transform: translate(-50%, -50%) scale(1.1);
}

.reel-overlay span {
    color: #fff;
    font-size: 0.82rem;
    font-weight: 500;
    line-height: 1.3;
}

.reel-overlay .reel-views {
    font-size: 0.72rem;
    opacity: 0.7;
    margin-top: 4px;
}

.reel-ig-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 2px 10px rgba(188,24,136,0.3);
    opacity: 0.9;
    transition: var(--transition);
}

.reel-card:hover .reel-ig-badge {
    opacity: 1;
    transform: scale(1.1);
}

.reels-cta {
    text-align: center;
    margin-top: 35px;
}

.reels-cta .btn-instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: var(--text-light);
    box-shadow: 0 4px 20px rgba(188, 24, 136, 0.3);
}

.reels-cta .btn-instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(188, 24, 136, 0.45);
}

/* ===== FADE-IN ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== BLOG GRID (listing page) ===== */
.blog-listing { background: var(--bg-light); }

.blog-grid-listing {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card-listing {
    background: var(--text-light);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid transparent;
    cursor: pointer;
}

.blog-card-listing:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-lightest);
}

.blog-card-listing .blog-card-body p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 35px;
}

.blog-search {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--text-light);
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    padding: 0 20px;
    transition: var(--transition);
    flex: 1;
    max-width: 400px;
}

.blog-search:focus-within {
    border-color: var(--primary-lighter);
    box-shadow: 0 0 0 4px rgba(82, 183, 136, 0.1);
}

.blog-search i {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.blog-search input {
    flex: 1;
    padding: 12px 0;
    border: none;
    outline: none;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95rem;
    background: transparent;
}

.blog-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.blog-categories .cat-btn {
    padding: 8px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    background: var(--text-light);
    font-family: 'Open Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.blog-categories .cat-btn:hover {
    border-color: var(--primary-lighter);
    color: var(--primary);
}

.blog-categories .cat-btn.active {
    background: var(--primary);
    color: var(--text-light);
    border-color: var(--primary);
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
}

.no-results i {
    font-size: 3rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.no-results h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.no-results p {
    color: var(--text-muted);
}

/* ===== BLOG HERO ===== */
.blog-hero {
    background: var(--bg-gradient);
    position: relative;
    overflow: hidden;
    padding: 100px 0 80px;
    text-align: center;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: floatBlob 12s ease-in-out infinite alternate;
}

.blog-hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -8%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(233, 196, 106, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: floatBlob 10s ease-in-out infinite alternate-reverse;
}

.blog-hero .container { position: relative; z-index: 1; }
.blog-hero h5 {
    color: var(--secondary);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.blog-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 12px;
}

.blog-hero h1 .highlight {
    background: linear-gradient(135deg, var(--secondary), #f6d365);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-hero p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.72);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== ARTICLE DETAIL ===== */
.container-narrow {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 20px;
}

.article-hero {
    background: var(--bg-gradient);
    position: relative;
    overflow: hidden;
    padding: 80px 0 60px;
}

.article-hero .container-narrow { position: relative; z-index: 1; }

.article-hero .back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.75);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 20px;
    transition: var(--transition);
}

.article-hero .back-link:hover { color: var(--secondary); gap: 12px; }

.article-hero .article-category {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    color: var(--secondary);
    padding: 5px 16px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.article-hero h1 {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--text-light);
    line-height: 1.2;
    margin-bottom: 16px;
}

.article-hero .article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.article-hero .article-meta i { color: var(--secondary); margin-right: 6px; }
.article-hero .article-meta .author-name { color: rgba(255,255,255,0.9); font-weight: 600; }

.article-content-section { padding: 60px 0; }

.article-featured-image {
    width: 100%;
    max-width: 820px;
    margin: 0 auto 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: block;
}

.article-body { max-width: 820px; margin: 0 auto; }

.article-body h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 36px 0 14px;
    line-height: 1.3;
}

.article-body h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    margin: 28px 0 12px;
    line-height: 1.3;
}

.article-body p {
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.85;
}

.article-body ul, .article-body ol {
    margin: 16px 0 20px;
    padding-left: 24px;
}

.article-body li {
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.7;
}

.article-body li strong { color: var(--primary-dark); }

.article-body .highlight-box {
    background: var(--primary-lightest);
    border-left: 4px solid var(--primary);
    padding: 20px 24px;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin: 24px 0;
}

.article-body .highlight-box p {
    margin-bottom: 0;
    font-size: 1rem;
    color: var(--primary-dark);
}

.article-body .highlight-box p i { color: var(--primary); margin-right: 8px; }

.article-body blockquote {
    border-left: 4px solid var(--primary-lighter);
    padding: 16px 24px;
    margin: 24px 0;
    background: var(--bg-light);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.author-bio {
    background: var(--text-light);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    max-width: 820px;
    margin: 40px auto;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    border: 1px solid var(--primary-lightest);
}

.author-bio .author-avatar {
    width: 70px;
    height: 70px;
    min-width: 70px;
    background: var(--primary-lightest);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--primary);
    font-weight: 700;
}

.author-bio h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.author-bio .author-title {
    font-size: 0.88rem;
    color: var(--primary-light);
    font-weight: 500;
    margin-bottom: 8px;
}

.author-bio p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.related-posts { background: var(--bg-light); padding: 60px 0; }

.related-posts h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 40px;
}

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

.related-card {
    background: var(--text-light);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid transparent;
    cursor: pointer;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-lightest);
}

.related-card-image {
    height: 160px;
    overflow: hidden;
}

.related-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.related-card-body { padding: 16px 18px 20px; }

.related-card-body h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 6px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-card-body .related-meta {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.related-card-body .related-meta i { color: var(--primary-light); margin-right: 4px; }

.blog-cta-section {
    background: var(--bg-gradient);
    text-align: center;
    padding: 60px 0;
    position: relative;
}

.blog-cta-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 10px;
}

.blog-cta-section p {
    color: rgba(255,255,255,0.72);
    margin-bottom: 24px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== 404 ===== */
.page-404 {
    text-align: center;
    padding: 120px 20px;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-404 h1 {
    font-size: 6rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
}

.page-404 h2 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.page-404 p {
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 500px;
}

/* ===== PAGE CONTENT ===== */
.page-content {
    padding: 60px 0;
    min-height: 60vh;
}

.page-content .entry-content {
    max-width: 820px;
    margin: 0 auto;
}

.page-content .entry-content h1,
.page-content .entry-content h2,
.page-content .entry-content h3 {
    color: var(--primary-dark);
    margin: 30px 0 14px;
}

.page-content .entry-content p {
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.8;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-card-slider { flex: 0 0 calc(50% - 12.5px); min-width: 280px; }
    .reels-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-grid-listing { grid-template-columns: repeat(2, 1fr); }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
    .hero .container { grid-template-columns: 1fr; text-align: center; }
    .hero-content h5 { justify-content: center; }
    .hero-content h5 .badge-line { display: none; }
    .hero-content h3 { justify-content: center; }
    .hero-content p { margin: 0 auto 30px; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-stat { flex-direction: column; text-align: center; }
    .hero-image { display: none; }
    .about .container { grid-template-columns: 1fr; }
    .doctor .container { grid-template-columns: 1fr; }
    .doctor-image { position: static; max-width: 400px; margin: 0 auto; }
    .contact .container { grid-template-columns: 1fr; }
    .footer .container { grid-template-columns: 1fr 1fr; gap: 30px; }
    .footer-widget:first-child { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    section { padding: 60px 0; }
    .section-header h2 { font-size: 1.8rem; }
    .hero { min-height: auto; padding: 100px 0 60px; }
    .hero-content h1 { font-size: 2.2rem; }
    .hero-stat-text h2 { font-size: 1.4rem; }

    .nav-menu,
    #navMenu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--text-light);
        flex-direction: column;
        padding: 80px 30px 30px;
        box-shadow: -5px 0 30px rgba(0,0,0,0.1);
        transition: var(--transition);
        z-index: 1001;
        align-items: flex-start;
        gap: 5px;
    }

    .nav-menu.active,
    #navMenu.active { right: 0; }
    .nav-menu li a { display: block; width: 100%; }
    .nav-menu .nav-cta { margin-left: 0; text-align: center; }
    .hamburger { display: flex; z-index: 1002; }

    .services-grid { grid-template-columns: 1fr; }
    .why-us-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .reels-grid { grid-template-columns: repeat(2, 1fr); }
    .about-features { grid-template-columns: 1fr; }
    .doctor-credentials { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form { padding: 25px; }
    .footer .container { grid-template-columns: 1fr; gap: 25px; }
    .footer-widget:first-child { grid-column: auto; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
    .hero-stats { flex-wrap: wrap; gap: 16px; justify-content: center; }
    .top-bar .container { flex-direction: column; text-align: center; }

    .blog-hero h1 { font-size: 2.2rem; }
    .blog-grid-listing { grid-template-columns: 1fr; }
    .blog-toolbar { flex-direction: column; align-items: stretch; }
    .blog-search { max-width: 100%; }
    .blog-categories { justify-content: center; }
    .related-grid { grid-template-columns: 1fr; }
    .author-bio { flex-direction: column; align-items: center; text-align: center; }
    .blog-cta-section h2 { font-size: 1.5rem; }
    .article-hero h1 { font-size: 1.8rem; }
    .article-body h2 { font-size: 1.35rem; }
    .article-body h3 { font-size: 1.1rem; }
    .article-body p { font-size: 1rem; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 1.8rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-buttons .btn { width: 100%; text-align: center; }
    .blog-card-image { height: 170px; }
    .blog-card-slider { flex: 0 0 calc(80% - 12px); min-width: 260px; }
    .btn { padding: 12px 28px; font-size: 0.9rem; }
    .blog-hero h1 { font-size: 1.8rem; }
    .article-hero h1 { font-size: 1.5rem; }
}
