:root {
    --primary: #0f766e;
    --primary-dark: #0b5b55;
    --primary-light: #a7f3d0;
    --accent-red: #dc2626;
    --accent-orange: #f97316;
    --accent-blue: #3b82f6;
    --text: #1f2937;
    --text-light: #6b7280;
    --muted: #9ca3af;
    --bg: #f9fafb;
    --bg-alt: #f3f4f6;
    --card-bg: #ffffff;
    --border: #e5e7eb;
    --navy: #0c1f3f;
    --success: #10b981;
    --warning: #f59e0b;
    --info: #06b6d4;
    --font-heading: "Nunito", -apple-system, "Segoe UI", sans-serif;
    --font-body: "Nunito", -apple-system, "Segoe UI", Roboto, sans-serif;
    --shadow-sm: 0 1px 3px rgba(12,31,63,0.06);
    --shadow-md: 0 4px 16px rgba(12,31,63,0.08);
    --shadow-lg: 0 16px 40px rgba(12,31,63,0.14);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.65;
    font-size: 15.5px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 { font-family: var(--font-heading); }

h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    color: var(--navy);
    margin: 0;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.5px;
    color: var(--navy);
    margin: 0;
}

h3 {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--navy);
    margin: 0;
}

h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0;
}

p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3.5rem 2rem;
}

.container.narrow { max-width: 700px; }
.center { text-align: center; }

/* Spacing utilities */
.mt-small { margin-top: 1rem; }
.mt-medium { margin-top: 2rem; }
.mt-large { margin-top: 3rem; }

.mb-small { margin-bottom: 1rem; }
.mb-medium { margin-bottom: 2rem; }
.mb-large { margin-bottom: 3rem; }

.py-small { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-medium { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-large { padding-top: 4rem; padding-bottom: 4rem; }

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 0.5rem;
}

.eyebrow.center { text-align: center; }
.eyebrow-light { color: #a7f3d0; }

/* Top utility bar */
.topbar {
    background: linear-gradient(90deg, var(--navy) 0%, #0a1628 100%);
    color: #cbd5e1;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(15,118,110,0.2);
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 2rem;
}

.topbar-contact a {
    color: #cbd5e1;
    text-decoration: none;
    margin-right: 1.5rem;
    transition: color 0.3s ease;
    font-weight: 500;
}

.topbar-contact a:hover { 
    color: var(--primary-light);
}

/* Header */
.site-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-bottom: 2px solid rgba(255,255,255,0.12);
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.4rem 2rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.brand-logo {
    height: 46px;
    width: auto;
    max-width: 220px;
    display: block;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand:hover .brand-logo {
    transform: scale(1.03);
}

.brand-logo-plate {
    display: inline-flex;
    align-items: center;
    background: white;
    padding: 0.6rem 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.brand-logo-plate .brand-logo {
    height: 36px;
}

nav a {
    margin-right: 1.8rem;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    font-size: 1rem;
}

nav a:hover {
    color: var(--primary-light);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2.5px;
    background: var(--primary-light);
    transition: width 0.3s ease;
}

nav a:hover::after { 
    width: 100%; 
}

/* Nav Dropdown */
.nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    margin-right: 1.8rem;
    font-weight: 600;
    color: white;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-dropdown-toggle:hover {
    color: var(--primary-light);
}

.nav-caret {
    font-size: 0.6rem;
    opacity: 0.8;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-dropdown:hover .nav-caret { 
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 0.8rem);
    left: 0;
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 12px 36px rgba(0,0,0,0.15);
    min-width: 240px;
    z-index: 100;
    padding: 0.6rem 0;
    white-space: nowrap;
    animation: slideDown 0.3s ease-out;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu { 
    display: block; 
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.75rem 1.2rem;
    color: var(--text);
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    margin-right: 0;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.nav-dropdown-menu a:first-child { 
    font-weight: 700; 
    color: var(--primary);
}

.nav-dropdown-menu a:hover { 
    background: var(--bg-alt); 
    color: var(--primary);
    border-left-color: var(--primary);
}

.nav-dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 0.4rem 0;
}

.header-actions { display: flex; gap: 0.75rem; transition: all 0.3s ease; }

/* Mobile nav toggle (hamburger) */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    border-radius: 2px;
    background: white;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.is-active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.nav-actions-mobile { display: none; }

.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.btn:active {
    transform: translateY(-1px);
}

.btn-primary { 
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white; 
}

.btn-primary:hover { 
    box-shadow: 0 12px 28px rgba(15,118,110,0.35);
    background: linear-gradient(135deg, var(--primary-dark) 0%, #084c45 100%);
}

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

.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

.btn-light { 
    background: white; 
    color: var(--navy); 
    border: 1px solid var(--border);
}

.btn-light:hover { 
    background: var(--bg-alt);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.btn-outline-light { 
    background: transparent; 
    color: white; 
    border: 2px solid rgba(255,255,255,0.7); 
}

.btn-outline-light:hover { 
    background: rgba(255,255,255,0.15); 
    border-color: white;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.btn:focus { 
    outline: 2px solid var(--primary); 
    outline-offset: 2px; 
}

.btn-emergency { 
    background: linear-gradient(135deg, var(--accent-red) 0%, #b91c1c 100%);
    color: white; 
    font-weight: 700; 
}

.btn-emergency:hover { 
    box-shadow: 0 12px 28px rgba(220,38,38,0.35);
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
}

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

.btn-outline:hover { 
    background: var(--primary); 
    color: white;
    box-shadow: 0 8px 20px rgba(15,118,110,0.25);
}

.btn-small { 
    padding: 0.6rem 1.2rem; 
    font-size: 0.85rem;
    border-radius: 8px;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* Placeholder image blocks */
.placeholder-img {
    background: repeating-linear-gradient(135deg, #e2e8f0, #e2e8f0 10px, #edf2f7 10px, #edf2f7 20px);
    border: 1px dashed #94a3b8;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    min-height: 160px;
}

.placeholder-img::before { content: attr(data-label); padding: 0 0.5rem; }

/* Hero */
.hero {
    position: relative;
    background: #0c1f3f url('/static/images/banner-bg1.jpg') center/cover no-repeat;
    color: white;
    overflow: hidden;
    min-height: 580px;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(10,22,40,0.78) 50%, rgba(10,22,40,0.22) 100%);
}

.hero-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 3.5rem 1.5rem 3.5rem;
    min-height: 580px;
    gap: 1rem;
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 580px;
    width: 100%;
}

.hero-copy-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 16px;
    padding: 2rem 2.25rem 2.25rem;
    color: var(--navy);
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    animation: slideInLeft 0.8s ease-out;
}

.hero-copy-card h1 {
    font-size: 2.5rem;
    color: var(--navy);
    margin: 0 0 1rem;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: -1px;
}

.hero-sub {
    color: var(--text-light);
    font-size: 1rem;
    margin: 0 0 1.75rem;
    line-height: 1.8;
    font-weight: 500;
}

.btn-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: 50px;
    padding: 0.875rem 1.85rem;
    font-size: 0.96rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(15,118,110,0.25);
    letter-spacing: 0.3px;
}

.btn-hero:hover { 
    background: linear-gradient(135deg, var(--primary-dark) 0%, #084c45 100%);
    box-shadow: 0 8px 28px rgba(15,118,110,0.35);
    transform: translateY(-3px);
}

.btn-hero:active {
    transform: translateY(-1px);
}

.btn-hero-arrow {
    font-size: 1.1rem;
    line-height: 1;
}

.hero-bottom-cards {
    display: grid;
    grid-template-columns: 1fr 1.45fr;
    gap: 1rem;
}

.hero-photo-card {
    border-radius: 14px;
    overflow: hidden;
}

.hero-photo-sm {
    height: 170px;
    width: 100%;
    display: block;
    object-fit: cover;
    border-radius: 14px;
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.7);
}

.hero-info-card {
    background: linear-gradient(135deg, rgba(236, 253, 245, 0.95) 0%, rgba(207, 250, 235, 0.95) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 14px;
    padding: 1.5rem 1.6rem 1.6rem;
    color: var(--text);
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid rgba(167,243,208,0.4);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.hero-info-card:hover {
    box-shadow: 0 8px 24px rgba(15,118,110,0.15);
    transform: translateY(-4px);
}

.hero-info-title {
    font-size: 0.97rem;
    margin: 0 0 0.4rem;
    line-height: 1.55;
    font-weight: 500;
    color: var(--navy);
}

.hero-info-sub {
    font-size: 0.83rem;
    color: var(--muted);
    margin: 0 0 1rem;
}

.hero-call-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 0.45rem 1rem 0.45rem 0.45rem;
    color: var(--text);
    text-decoration: none;
    font-size: 0.88rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    font-weight: 500;
    transition: box-shadow 0.2s;
    align-self: flex-start;
}

.hero-call-btn:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.13); }

.hero-call-icon {
    background: #16a34a;
    color: white;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.hero-slider-nav {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    align-self: center;
    flex-shrink: 0;
}

.slider-btn {
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #374151;
    transition: background 0.2s, transform 0.15s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.slider-btn:hover { background: white; transform: scale(1.07); }

/* Looking For Section */
.lf-section { background: white; }

.lf-heading {
    font-size: 2rem;
    margin: 0.4rem 0 2.5rem;
    color: var(--navy);
}

.lf-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.lf-card {
    border-radius: 16px;
    padding: 2rem 1.75rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border: 1px solid rgba(255,255,255,0.6);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.lf-card:hover {
    box-shadow: 0 16px 40px rgba(0,0,0,0.15);
    transform: translateY(-8px);
    border-color: rgba(255,255,255,0.9);
}

.lf-blue   { background: linear-gradient(135deg, #d4e8f7 0%, #c5dff1 100%); }
.lf-green  { background: linear-gradient(135deg, #cce9e0 0%, #b8dfd1 100%); }
.lf-purple { background: linear-gradient(135deg, #ddd6f0 0%, #d0c9e5 100%); }
.lf-pink   { background: linear-gradient(135deg, #f5ddd5 0%, #f0cfbf 100%); }

.lf-card-top {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.lf-icon {
    flex-shrink: 0;
    color: var(--navy);
    display: flex;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.lf-icon svg {
    width: clamp(1.35rem, 1.1rem + 1vw, 1.625rem);
    height: clamp(1.35rem, 1.1rem + 1vw, 1.625rem);
}

.lf-card:hover .lf-icon {
    transform: scale(1.2) rotate(5deg);
}

/* Form improvements */
input[type="text"],
input[type="email"],
input[type="phone"],
input[type="tel"],
input[type="number"],
input[type="date"],
textarea,
select {
    width: 100%;
    padding: 1rem 1.1rem;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    font-size: 0.96rem;
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    color: var(--text);
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(15,118,110,0.12), 0 2px 8px rgba(15,118,110,0.1);
    background: white;
    transform: translateY(-2px);
}

input::placeholder,
textarea::placeholder {
    color: var(--muted);
    font-weight: 500;
}

textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

/* Form group */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 600;
    color: var(--text);
    font-size: 0.95rem;
}

.form-group small {
    display: block;
    margin-top: 0.4rem;
    color: var(--muted);
    font-size: 0.85rem;
}

/* Card component */
.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transform: translateY(-4px);
}

.lf-title {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--navy);
    margin: 0;
    line-height: 1.35;
}

.lf-desc {
    color: #374151;
    font-size: 0.9rem;
    line-height: 1.65;
    margin: 0;
    flex: 1;
}

.lf-link {
    color: var(--navy);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.25rem;
}

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

/* About */
.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-media {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
    align-items: end;
}

.about-photo-main {
    height: 320px;
    width: 100%;
    display: block;
    object-fit: cover;
    border-radius: 14px;
}

.about-photo-small {
    height: 160px;
    width: 100%;
    display: block;
    object-fit: cover;
    border-radius: 14px;
}

.checklist { list-style: none; padding: 0; margin: 1.25rem 0; }
.checklist li {
    padding: 0.35rem 0 0.35rem 1.75rem;
    position: relative;
}
.checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

/* About stats & badges */
.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin: 1.5rem 0 1.25rem;
}

.about-stat {
    background: var(--bg-alt);
    border-radius: 12px;
    padding: 0.9rem 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.2rem;
}

.about-stat-num {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.about-stat-label {
    font-size: 0.78rem;
    color: var(--muted);
    font-weight: 500;
    line-height: 1.4;
}

.about-stat-label small {
    font-size: 0.72rem;
    color: var(--muted);
}

.about-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.about-badge {
    background: #e6f4f1;
    color: var(--primary-dark);
    border: 1px solid #b2dcd5;
    border-radius: 50px;
    padding: 0.3rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 600;
}

/* Specialities Section */
.spec-section {
    background: var(--bg-alt);
    padding: 1px 0;
}

.spec-intro {
    max-width: 700px;
    margin: 0.4rem auto 2.5rem;
    color: var(--muted);
    font-size: 0.97rem;
    line-height: 1.7;
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin: 0 0 2rem;
}

.spec-photo-card {
    border-radius: 16px;
    overflow: hidden;
    min-height: 280px;
}

.spec-photo {
    height: 100%;
    min-height: 280px;
    width: 100%;
    display: block;
    object-fit: cover;
    border-radius: 16px;
    background: #c8d8e8;
    border-color: #a8bece;
    color: #5a7a9a;
}

.spec-card {
    background: white;
    border-radius: 16px;
    padding: 1.75rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    min-height: 280px;
}

.spec-icon {
    color: var(--primary);
    display: flex;
    margin-bottom: 0.25rem;
}

.spec-card h3 {
    font-size: 1rem;
    color: var(--navy);
    margin: 0;
    line-height: 1.35;
    font-weight: 700;
}

.spec-card p {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.65;
    margin: 0;
    flex: 1;
}

.spec-link {
    color: var(--navy);
    font-size: 0.87rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.5rem;
}

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

/* Experience Section */
.experience-section {
    background: white;
    padding: 1px 0;
}

.experience-heading {
    font-size: 2rem;
    color: var(--navy);
    margin: 0.4rem 0 2.5rem;
    font-weight: 700;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.exp-card {
    border-radius: 18px;
    padding: 2rem 1.75rem 1.75rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    color: white;
    min-height: 240px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.15);
}

.exp-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.18);
}

.exp-green  { background: linear-gradient(135deg, #3daf8a 0%, #2d9a7a 100%); }
.exp-purple { background: linear-gradient(135deg, #7b6fd4 0%, #6a5db8 100%); }
.exp-coral  { background: linear-gradient(135deg, #e06b5a 0%, #cc5a49 100%); }

.exp-content {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    flex: 1;
    z-index: 1;
}

.exp-title {
    font-size: 1.3rem;
    line-height: 1.25;
    margin: 0;
    font-weight: 400;
    color: white;
}

.exp-title strong {
    font-size: 1.35rem;
    font-weight: 800;
    display: block;
}

.exp-desc {
    font-size: 0.88rem;
    line-height: 1.65;
    margin: 0;
    opacity: 0.92;
    color: white;
}

.exp-link {
    color: white;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.5rem;
    opacity: 0.95;
}

.exp-link:hover { opacity: 1; text-decoration: underline; }

.exp-illus {
    flex-shrink: 0;
    align-self: flex-end;
    margin-bottom: -0.25rem;
}

/* Services */
.services-section { background: var(--bg-alt); padding: 1px 0; }
.services-section h2 { margin-top: 0.25rem; }

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.service-card { display: flex; flex-direction: column; }
.service-photo { width: 100%; height: 150px; border-radius: 0; border-width: 0 0 1px; object-fit: cover; }
.service-card-body { padding: 1.25rem; }
.service-card-body h3 { margin: 0.25rem 0; }
.card-icon { font-size: 1.6rem; }

/* Marquee */
.marquee {
    background: var(--navy);
    overflow: hidden;
    padding: 1.25rem 0;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: scroll-left 28s linear infinite;
}

.marquee-track span {
    white-space: nowrap;
    font-size: 1.6rem;
    font-weight: 800;
    color: rgba(255,255,255,0.15);
    padding-right: 1rem;
}

@keyframes scroll-left {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Highlight strip */
.highlight-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.highlight-card {
    border-radius: 10px;
    padding: 1.75rem;
    color: white;
}

.highlight-card h3 { margin-top: 0; }
.highlight-green { background: #059669; }
.highlight-purple { background: #7c3aed; }
.highlight-orange { background: #ea580c; }
.link-light { color: white; font-weight: 700; }

/* Insurance CTA */
.insurance-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--navy) 100%);
    color: white;
}

.insurance-cta-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 4rem 1.5rem;
}

.insurance-cta-copy h2 {
    font-size: 1.9rem;
    color: white;
    margin: 0.4rem 0 1rem;
    line-height: 1.25;
}

.insurance-cta-copy p {
    color: white;
    opacity: 0.9;
    font-size: 0.97rem;
    line-height: 1.7;
    margin: 0 0 1.75rem;
}

.insurance-cta-badges {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.ins-badge {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 10px;
    padding: 0.8rem 1.1rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: white;
    backdrop-filter: blur(4px);
}

/* Appointment */
.appointment-section {
    background: linear-gradient(to bottom, var(--bg-alt), white);
}

.appointment-inner {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 3rem;
    align-items: start;
}

.appointment-media { display: flex; flex-direction: column; }

.appointment-photo-wrap { position: relative; }

.appointment-photo {
    height: 380px;
    width: 100%;
    display: block;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.appointment-card {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    background: white;
    padding: 1.2rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 32px rgba(0,0,0,0.16);
    border: 1px solid rgba(255,255,255,0.8);
}

.appointment-map {
    margin-top: 1.5rem;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.appointment-form-wrap {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2.25rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* Health Checkup Packages */
.checkup-section {
    background: white;
    padding: 1px 0;
}

.checkup-heading {
    font-size: 1.9rem;
    color: var(--navy);
    margin: 0.4rem 0 0.75rem;
    line-height: 1.3;
    font-weight: 700;
}

.checkup-intro {
    max-width: 680px;
    margin: 0 auto 2rem;
    color: var(--muted);
    font-size: 0.97rem;
    line-height: 1.7;
}

.checkup-notice {
    background: #fffbeb;
    border: 1.5px solid #fcd34d;
    border-left: 5px solid #f59e0b;
    border-radius: 12px;
    padding: 1.4rem 1.75rem;
    margin-bottom: 2rem;
    max-width: 740px;
    margin-left: auto;
    margin-right: auto;
}

.checkup-notice-title {
    font-weight: 700;
    color: #92400e;
    margin: 0 0 0.75rem;
    font-size: 0.95rem;
}

.checkup-notice ul {
    margin: 0;
    padding-left: 1.25rem;
    color: #78350f;
    font-size: 0.9rem;
    line-height: 1.8;
}

.checkup-table-wrap {
    overflow-x: auto;
    border-radius: 14px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    margin-bottom: 1.25rem;
}

.checkup-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    font-size: 0.9rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    border-radius: 10px;
    overflow: hidden;
}

.checkup-table thead tr {
    background: linear-gradient(135deg, var(--primary) 0%, #109b88 100%);
    color: white;
}

.checkup-table th {
    padding: 1.1rem 1.25rem;
    text-align: left;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.checkup-table td {
    padding: 1rem 1.25rem;
    vertical-align: top;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    line-height: 1.6;
    transition: background 0.15s ease;
}

.checkup-table tbody tr:last-child td {
    border-bottom: none;
}

.checkup-table tbody tr:nth-child(even) {
    background: #f9fbfd;
}

.checkup-table tbody tr:hover {
    background: #f0fdf4;
}

.pkg-name {
    font-weight: 700;
    color: var(--navy);
    white-space: nowrap;
    width: 160px;
}

.pkg-price {
    font-weight: 800;
    color: var(--primary);
    white-space: nowrap;
    width: 90px;
    font-size: 1rem;
}

.checkup-disclaimer {
    font-size: 0.8rem;
    color: var(--muted);
    font-style: italic;
    text-align: center;
    margin: 0 0 1.5rem;
}

/* Doctors */

.doctor-section-heading {
    font-size: 1.6rem;
    color: var(--navy);
    margin-bottom: 2rem;
}

.doctor-section-heading-spaced { margin-top: 4rem; }

.doctor-section-note {
    color: var(--muted);
    font-size: 0.9rem;
    font-style: italic;
    margin-top: -1.5rem;
    margin-bottom: 2rem;
}

.doctor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}

.doctor-card {
    position: relative;
    aspect-ratio: 3 / 4;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.doctor-card:hover {
    box-shadow: 0 12px 28px rgba(0,0,0,0.16);
    transform: translateY(-4px);
}

.doctor-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.doctor-card:hover .doctor-photo {
    transform: scale(1.05);
}

.doctor-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: rgba(255,255,255,0.85);
}

.doctor-card-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 3rem 1rem 1.1rem;
    text-align: center;
    background: linear-gradient(to top, rgba(6,20,35,0.92) 0%, rgba(6,20,35,0.72) 45%, transparent 100%);
}

.doctor-card-overlay h3 {
    color: white;
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.3rem;
}

.doctor-card-overlay .specialty {
    color: var(--primary-light);
    font-weight: 600;
    font-size: 0.85rem;
    margin: 0;
}

.doctor-card-overlay .doctor-qualification {
    color: rgba(255,255,255,0.75);
    font-weight: 500;
    font-size: 0.75rem;
    line-height: 1.4;
    margin: 0.3rem 0 0;
}

/* Blog */
.blog-filters { margin: 1.5rem 0; }

.blog-filter-group {
    margin-bottom: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
}

.blog-filter-group span {
    color: var(--muted);
    font-size: 0.9rem;
    margin-right: 0.25rem;
    font-weight: 600;
}

.chip {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: var(--bg-alt);
    color: var(--text);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid var(--border);
    transition: all 0.2s ease;
}

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

.chip-active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.blog-card { display: flex; flex-direction: column; }
.blog-photo { width: 100%; height: 170px; border-radius: 0; border-width: 0 0 1px; object-fit: cover; }
.blog-card-category {
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 0.25rem;
}
.blog-card time { display: block; color: var(--muted); font-size: 0.8rem; margin: 0.35rem 0; }

.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    color: var(--muted);
}
.pagination a { color: var(--primary-dark); font-weight: 600; text-decoration: none; }

.blog-detail h1 { margin-bottom: 0.25rem; }
.blog-meta { color: var(--muted); font-size: 0.9rem; margin-top: 0; }
.blog-detail-photo { width: 100%; height: 320px; object-fit: cover; border-radius: 10px; margin: 1rem 0 1.5rem; }

.blog-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text);
}

.blog-body > p { margin: 0 0 1.25rem; }

.blog-body > p:first-of-type {
    font-size: 1.15rem;
    color: var(--text-light);
}

.blog-body img { max-width: 100%; border-radius: 8px; }

.blog-body h2 {
    font-size: 1.5rem;
    color: var(--navy);
    font-weight: 800;
    letter-spacing: -0.3px;
    margin: 2.5rem 0 1.1rem;
    padding-left: 0.9rem;
    border-left: 4px solid var(--primary);
}

.blog-body h3 {
    font-size: 1.15rem;
    color: var(--navy);
    font-weight: 700;
    margin: 1.85rem 0 0.75rem;
}

.blog-body ul, .blog-body ol {
    margin: 0 0 1.5rem;
    padding-left: 1.4rem;
}

.blog-body li {
    margin-bottom: 0.65rem;
    line-height: 1.75;
}

.blog-body li::marker { color: var(--primary); font-weight: 700; }

.blog-body strong { color: var(--navy); }

.blog-body a {
    color: var(--primary-dark);
    text-decoration: underline;
    text-decoration-color: rgba(15,118,110,0.35);
    text-underline-offset: 2px;
}

.blog-body a:hover { text-decoration-color: var(--primary-dark); }

.blog-body blockquote {
    border-left: 4px solid var(--primary);
    background: var(--bg-alt);
    padding: 1rem 1.5rem;
    margin: 1.75rem 0;
    border-radius: 0 10px 10px 0;
    font-style: italic;
    color: var(--text-light);
}

.blog-body hr { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }

.blog-body table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.95rem; }
.blog-body table th, .blog-body table td { border: 1px solid var(--border); padding: 0.65rem 0.9rem; text-align: left; }
.blog-body table th { background: var(--bg-alt); color: var(--navy); }

.blog-tags { margin-top: 2rem; display: flex; gap: 0.5rem; flex-wrap: wrap; }

/* FAQ — home page */
.faq-section { background: var(--bg-alt); }

.faq-header { max-width: 640px; margin: 0 auto 3rem; }
.faq-header-sub { margin-top: 0.75rem; font-size: 1rem; }

.faq-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 2.5rem;
    align-items: start;
}

.faq-cta-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--navy) 100%);
    border-radius: 20px;
    padding: 2.5rem 2.25rem;
    color: white;
    box-shadow: 0 12px 32px rgba(15,118,110,0.25);
}

.faq-cta-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.faq-cta-card h3 { color: white; font-size: 1.5rem; margin: 0 0 0.75rem; }
.faq-cta-card > p { color: rgba(255,255,255,0.9); font-size: 0.95rem; line-height: 1.7; margin: 0 0 1.75rem; }

.faq-cta-actions { display: flex; flex-direction: column; gap: 0.75rem; }

.faq-action-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255,255,255,0.16);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 10px;
    padding: 0.9rem 1.1rem;
    color: white;
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.2s ease;
}

.faq-action-btn:hover { background: rgba(255,255,255,0.28); color: white; transform: translateX(2px); }
.faq-action-icon { display: flex; flex-shrink: 0; }

.faq-list { display: flex; flex-direction: column; gap: 0.9rem; }

.faq-row {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
}

.faq-row summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.4rem;
    cursor: pointer;
    font-weight: 700;
    color: var(--navy);
    list-style: none;
}

.faq-row summary::-webkit-details-marker { display: none; }

.faq-row-chevron {
    flex-shrink: 0;
    color: var(--primary);
    display: flex;
    transition: transform 0.3s ease;
}

.faq-row[open] .faq-row-chevron { transform: rotate(180deg); }

.faq-row p {
    margin: 0;
    padding: 0 1.4rem 1.25rem;
    color: var(--muted);
    line-height: 1.7;
    animation: slideDown 0.3s ease-out;
}

/* FAQ — accordion used inside department pages */
.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
}

.faq-item summary {
    cursor: pointer;
    font-weight: 600;
    list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::before {
    content: "+";
    display: inline-block;
    width: 1.25rem;
    color: var(--primary);
    font-weight: 800;
}

.faq-item[open] summary::before { content: "–"; }

.faq-item p { color: var(--muted); margin: 0.5rem 0 0 1.25rem; }

/* Forms */
.contact-form p {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 0 0 1.25rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.25s ease;
    background: white;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(15,118,110,0.1);
}

.contact-form input::placeholder {
    color: var(--muted);
    opacity: 0.7;
}

.contact-form label {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--navy);
    display: block;
}

.link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.link:hover {
    color: var(--primary-dark);
    gap: 0.5rem;
}

.link-light {
    color: white;
    opacity: 0.9;
}

.link-light:hover {
    opacity: 1;
    text-decoration: underline;
}

/* FAQ / Accordion */
details {
    border-bottom: 1px solid var(--border);
}

details:last-child {
    border-bottom: none;
}

summary {
    padding: 1.1rem 0;
    cursor: pointer;
    font-weight: 600;
    color: var(--navy);
    transition: color 0.2s ease;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

summary:hover {
    color: var(--primary);
}

summary::marker {
    color: var(--primary);
    font-size: 0.9rem;
}

details p {
    margin: 0.5rem 0 1.25rem 0;
    color: var(--muted);
    line-height: 1.75;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert {
    background: #ecfdf5;
    border: 1.5px solid #34d399;
    color: #065f46;
    padding: 1.1rem 1.25rem;
    border-radius: 10px;
    margin-top: 1.5rem;
    box-shadow: 0 2px 8px rgba(52,211,153,0.1);
    font-weight: 500;
    line-height: 1.6;
}

.alert-warning {
    background: #fef3c7;
    border-color: #f59e0b;
    color: #78350f;
}

.alert-danger {
    background: #fee2e2;
    border-color: #ef4444;
    color: #7c2d12;
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, var(--navy) 0%, #0a1628 100%);
    color: #cbd5e1;
    border-top: 2px solid rgba(15,118,110,0.3);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    padding: 3.5rem 0 2rem 0;
}

.footer-brand p {
    color: #a7f3d0;
    font-size: 0.92rem;
    line-height: 1.8;
}

.footer-col h4 {
    color: white;
    margin: 0 0 1.5rem 0;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-col a, .footer-col p {
    display: block;
    color: #cbd5e1;
    text-decoration: none;
    margin-bottom: 0.75rem;
    font-size: 0.92rem;
    transition: all 0.3s ease;
    line-height: 1.7;
}

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

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

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

/* ── About Page ───────────────────────────────────── */
.about-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 4.5rem 1.5rem 4rem;
}

.about-hero h1 {
    font-size: 2.2rem;
    color: white;
    margin: 0.5rem 0 1rem;
    line-height: 1.25;
    max-width: 820px;
}

.about-hero-sub {
    opacity: 0.85;
    font-size: 1rem;
    margin: 0;
}

/* Story */
.about-story-section { padding-top: 3.5rem; padding-bottom: 3.5rem; }

.about-story-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-story-main h2 { font-size: 1.7rem; color: var(--navy); margin: 0.4rem 0 1rem; }
.about-story-main p  { color: var(--muted); line-height: 1.75; margin-bottom: 1rem; }

.about-story-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-top: 2rem;
}

.story-stat {
    background: var(--bg-alt);
    border-radius: 12px;
    padding: 1rem 0.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.story-stat-num {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.story-stat-label {
    font-size: 0.75rem;
    color: var(--muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Vision / Mission / Goals */
.about-vmg { display: flex; flex-direction: column; gap: 1rem; }

.vmg-card {
    border-radius: 14px;
    padding: 1.4rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.vmg-vision  { background: #e6f4f1; }
.vmg-mission { background: #eff6ff; }
.vmg-goals   { background: #fefce8; }
.vmg-values  { background: #fdf0f5; }

.vmg-icon { color: var(--primary); display: flex; }

.vmg-card h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin: 0; }
.vmg-card p  { color: var(--muted); font-size: 0.9rem; line-height: 1.6; margin: 0; }

.vmg-card ul {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.8;
}

.vmg-values-list {
    padding-left: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.vmg-values-list li { line-height: 1.6; }

.vmg-values-list strong { color: var(--navy); }

/* Accreditations */
.accred-section { background: var(--bg-alt); padding: 1px 0; }

.accred-note {
    color: var(--muted);
    font-size: 0.9rem;
    margin: 0.25rem 0 2rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.accred-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.1rem;
    max-width: 860px;
    margin: 0 auto;
}

.accred-card {
    background: white;
    border-radius: 14px;
    padding: 1.4rem 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}

.accred-check {
    background: var(--primary);
    color: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.accred-title { font-weight: 700; color: var(--navy); margin: 0 0 0.2rem; font-size: 0.95rem; }
.accred-sub   { color: var(--muted); font-size: 0.83rem; margin: 0; line-height: 1.5; }

/* Leadership */
.leadership-section { padding-top: 3.5rem; padding-bottom: 3.5rem; }

.leadership-grid {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
}

.leader-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.75rem;
    text-align: center;
    width: 220px;
}

.leader-photo {
    height: 180px;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.leader-card h3 { margin: 0 0 0.25rem; color: var(--navy); font-size: 1.05rem; }
.leader-role    { color: var(--primary); font-size: 0.85rem; font-weight: 600; margin: 0; }

/* Safety / Infra / Insurance */
.safety-section { background: var(--navy); padding: 1px 0; }

.safety-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

.safety-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    padding: 1.75rem 1.5rem;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.safety-icon { color: #6ee7b7; display: flex; }
.safety-card h3 { color: white; font-size: 1rem; margin: 0; line-height: 1.35; }
.safety-card p  { color: rgba(255,255,255,0.78); font-size: 0.9rem; line-height: 1.7; margin: 0; }

/* Community */
.community-section { padding-top: 3.5rem; padding-bottom: 3.5rem; }

.community-intro {
    max-width: 680px;
    margin: 0.5rem auto 2.5rem;
    color: var(--muted);
    font-size: 0.97rem;
    line-height: 1.7;
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.community-card {
    background: var(--bg-alt);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.community-card-icon { color: var(--primary); display: flex; }
.community-card h3   { color: var(--navy); font-size: 1.05rem; margin: 0; }
.community-card p    { color: var(--muted); font-size: 0.9rem; line-height: 1.7; margin: 0; }

/* About CTA */
.about-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--navy) 100%);
    color: white;
}

.about-cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding: 3.5rem 1.5rem;
    flex-wrap: wrap;
}

.about-cta h2  { color: white; font-size: 1.7rem; margin: 0 0 0.5rem; }
.about-cta p   { color: white; opacity: 0.88; margin: 0; font-size: 1rem; }

.about-cta-btns { display: flex; gap: 1rem; flex-shrink: 0; flex-wrap: wrap; }

.btn-outline-light {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.7);
    border-radius: 6px;
    padding: 0.7rem 1.4rem;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: background 0.2s;
}

.btn-outline-light:hover { background: rgba(255,255,255,0.12); color: white; }

/* ── Contact Page ─────────────────────────────────── */
.contact-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 3.5rem 1.5rem 3rem;
}

.contact-hero h1 {
    font-size: 2.2rem;
    color: white;
    margin: 0.5rem 0 1.5rem;
    line-height: 1.25;
}

.contact-emergency-banner {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(220, 38, 38, 0.18);
    border: 1px solid rgba(220, 38, 38, 0.45);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    max-width: 820px;
    flex-wrap: wrap;
}

.contact-emergency-icon { font-size: 1.4rem; flex-shrink: 0; }

.contact-emergency-banner p {
    color: white;
    flex: 1;
    margin: 0;
    font-size: 0.93rem;
    opacity: 0.95;
    line-height: 1.55;
    min-width: 200px;
}

.btn-danger {
    background: #dc2626;
    color: white;
    border-radius: 6px;
    padding: 0.6rem 1.2rem;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.2s;
}

.btn-danger:hover { background: #b91c1c; color: white; }

/* Contact body */
.contact-body { padding-top: 3rem; padding-bottom: 4rem; }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 3rem;
    align-items: start;
}

/* Info side */
.contact-info-block h2 { font-size: 1.6rem; color: var(--navy); margin: 0 0 0.5rem; }
.contact-tagline { color: var(--muted); font-size: 0.97rem; line-height: 1.7; margin: 0 0 2rem; }

.contact-details { display: flex; flex-direction: column; gap: 0; margin-bottom: 2rem; }

.contact-detail-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: var(--text);
    transition: color 0.15s;
}

.contact-detail-row:last-child { border-bottom: none; }
.contact-detail-row:hover .contact-detail-value { color: var(--primary); }

.contact-detail-ambulance .contact-detail-icon { color: var(--accent-red); }
.contact-detail-ambulance .contact-detail-value { color: var(--accent-red); font-weight: 700; }

.contact-detail-icon {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 0.15rem;
    display: flex;
}

.contact-detail-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
    margin: 0 0 0.2rem;
}

.contact-detail-value {
    font-size: 0.97rem;
    font-weight: 600;
    color: var(--navy);
    margin: 0;
    text-decoration: none;
    display: block;
    line-height: 1.5;
    transition: color 0.15s;
}

.contact-detail-sub {
    font-size: 0.8rem;
    color: var(--muted);
    margin: 0.2rem 0 0;
}

.contact-detail-phones {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-map { border-radius: 12px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.1); }

/* Form side */
.contact-form-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 2.25rem 2rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    position: sticky;
    top: 5rem;
}

.contact-form-card h2 { font-size: 1.4rem; color: var(--navy); margin: 0.3rem 0 1.5rem; line-height: 1.3; }

.btn-full { width: 100%; text-align: center; }

/* ── Department / Specialty Pages ────────────────── */
.dept-hero {
    background: linear-gradient(135deg, var(--navy) 0%, #1a3a5c 100%);
    color: white;
    padding: 1px 0;
}

.dept-hero--ortho {
    background: linear-gradient(135deg, #0c2d4a 0%, #0f4c6e 60%, #0b766e 100%);
}

.dept-hero-inner {
    padding: 3.5rem 1.5rem 3.5rem;
}

.dept-hero-icon {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 14px;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: #6ee7b7;
}

.dept-hero-copy h1 {
    font-size: 2.6rem;
    color: white;
    margin: 0 0 0.75rem;
    line-height: 1.15;
}

.dept-hero-sub {
    font-size: 1.05rem;
    opacity: 0.88;
    max-width: 600px;
    margin: 0 0 1.75rem;
    line-height: 1.7;
}

.dept-hero-actions { display: flex; gap: 0.85rem; flex-wrap: wrap; }

/* Breadcrumb */
.dept-breadcrumb {
    font-size: 0.82rem;
    color: var(--muted);
    padding-top: 1.25rem;
    padding-bottom: 0;
}

.dept-breadcrumb a { color: var(--primary); text-decoration: none; }
.dept-breadcrumb a:hover { text-decoration: underline; }
.dept-breadcrumb span { color: var(--muted); }

/* Body layout */
.dept-body { padding-top: 2rem; padding-bottom: 4rem; }

.dept-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2.5rem;
    align-items: start;
}

/* Dept feature image */
.dept-feature-img-wrap {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.10);
}

.dept-feature-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}

.dept-feature-img-placeholder {
    width: 100%;
    height: 380px;
    background: var(--bg-alt);
    border: 2px dashed var(--border);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--muted);
    font-size: 0.85rem;
}

/* Content blocks */
.dept-block {
    background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(249,250,251,0.5) 100%);
    border: 1.5px solid var(--border);
    border-radius: 16px;
    padding: 2.2rem 2.25rem;
    margin-bottom: 1.75rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.dept-block:hover {
    border-color: var(--primary);
    box-shadow: 0 12px 32px rgba(15,118,110,0.15);
    transform: translateY(-4px);
}

.dept-block:last-child { margin-bottom: 0; }

.dept-block-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.25rem;
    color: var(--navy);
    margin: 0 0 1.5rem;
    font-weight: 800;
    letter-spacing: -0.3px;
}

.dept-block-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 700;
    font-size: 1.3rem;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.dept-block:hover .dept-block-icon {
    transform: scale(1.1) rotate(5deg);
}

.dept-icon-blue   { background: #dbeafe; color: #1d4ed8; }
.dept-icon-green  { background: #dcfce7; color: #16a34a; }
.dept-icon-purple { background: #ede9fe; color: #7c3aed; }
.dept-icon-amber  { background: #fef9c3; color: #d97706; }

/* Consult tags */
.consult-tags { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 0.5rem; }

.consult-tag {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border: 1.5px solid #bbf7d0;
    color: #166534;
    border-radius: 50px;
    padding: 0.6rem 1.3rem;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.consult-tag:hover {
    border-color: #86efac;
    box-shadow: 0 4px 12px rgba(22,163,74,0.15);
    transform: translateY(-2px);
}

/* Conditions list */
.dept-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.dept-list li {
    padding: 0.6rem 0 0.6rem 1.9rem;
    position: relative;
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.6;
}

.dept-list li:last-child { border-bottom: none; }

.dept-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

/* Offer cards */
.offer-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
}

.offer-card {
    background: linear-gradient(135deg, var(--bg-alt) 0%, rgba(243,244,246,0.6) 100%);
    border-radius: 14px;
    padding: 1.5rem 1.4rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    border: 1px solid rgba(15,118,110,0.08);
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.offer-card:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transform: translateY(-4px);
    border-color: rgba(15,118,110,0.15);
}

.offer-card-icon { 
    color: var(--primary); 
    flex-shrink: 0; 
    margin-top: 0.2rem; 
    display: flex;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.offer-card:hover .offer-card-icon {
    transform: scale(1.15);
}

.offer-card p { 
    margin: 0; 
    font-size: 0.95rem; 
    color: var(--text-light); 
    line-height: 1.6; 
    font-weight: 500;
}

/* FAQ inside dept page */
.dept-faqs { display: flex; flex-direction: column; gap: 0.9rem; }

/* Sidebar */
.dept-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: sticky;
    top: 5rem;
}

.dept-sidebar-card {
    border-radius: 16px;
    padding: 1.75rem 1.9rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid rgba(255,255,255,0.8);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
}

.dept-sidebar-card:hover {
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
    transform: translateY(-6px);
    border-color: rgba(255,255,255,1);
}

.dept-facilities-card {
    background: linear-gradient(135deg, #eff6ff 0%, #e0f2fe 100%);
    border: 1px solid #bfdbfe;
}

.dept-facilities-card h3 {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.98rem;
    color: #1e40af;
    margin: 0 0 1.1rem;
    font-weight: 700;
}

.facilities-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.facilities-list li {
    font-size: 0.9rem;
    color: #1e40af;
    padding-left: 1.25rem;
    position: relative;
    line-height: 1.5;
}

.facilities-list li::before {
    content: "●";
    position: absolute;
    left: 0;
    font-size: 0.5rem;
    top: 0.35rem;
    color: #3b82f6;
}

.dept-book-card {
    background: white;
    border: 1px solid var(--border);
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.dept-book-card h3 { font-size: 1rem; color: var(--navy); margin: 0 0 0.4rem; }
.dept-book-card p  { font-size: 0.87rem; color: var(--muted); margin: 0 0 1rem; line-height: 1.55; }

.dept-book-phones {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-top: 0.85rem;
}

.dept-book-phones a {
    font-size: 0.88rem;
    color: var(--primary-dark);
    font-weight: 600;
    text-decoration: none;
}

.dept-book-phones a:hover { text-decoration: underline; }

/* Blog sidebar — quick consultation form */
.blog-consult-card h3 { font-size: 1.05rem; color: var(--navy); margin: 0 0 0.4rem; }
.blog-consult-card > p { font-size: 0.87rem; color: var(--muted); margin: 0 0 1rem; line-height: 1.55; }

.blog-consult-badges {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin: 0 0 1.25rem;
    padding: 0.85rem 1rem;
    background: var(--bg-alt);
    border-radius: 10px;
}

.blog-consult-badges span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.sidebar-quick-form.contact-form .errorlist {
    list-style: none;
    margin: -0.55rem 0 0.9rem;
    padding: 0;
    color: var(--accent-red);
    font-size: 0.78rem;
    font-weight: 600;
}

.sidebar-quick-form.contact-form p { margin: 0 0 0.9rem; gap: 0.35rem; }
.sidebar-quick-form.contact-form label { font-size: 0.82rem; }
.sidebar-quick-form.contact-form input,
.sidebar-quick-form.contact-form textarea {
    padding: 0.6rem 0.85rem;
    font-size: 0.92rem;
}
.sidebar-quick-form .btn { margin-top: 0.15rem; margin-bottom: 0.75rem; }

.btn-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #1da851 100%);
    color: white;
    margin-bottom: 1.1rem;
}

.btn-whatsapp:hover {
    box-shadow: 0 12px 28px rgba(37,211,102,0.35);
    background: linear-gradient(135deg, #1da851 0%, #168a42 100%);
}

.sidebar-quick-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.sidebar-quick-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-dark);
    text-decoration: none;
}

.sidebar-quick-links a:hover { text-decoration: underline; }

.dept-insurance-card {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}

.dept-insurance-card h3 { font-size: 0.95rem; color: #166534; margin: 0 0 0.5rem; }
.dept-insurance-card p  { font-size: 0.86rem; color: #166534; opacity: 0.85; margin: 0 0 0.75rem; line-height: 1.6; }

/* Dept CTA */
.dept-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--navy) 100%);
    color: white;
}

.dept-cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding: 3rem 1.5rem;
    flex-wrap: wrap;
}

.dept-cta h2 { color: white; font-size: 1.65rem; margin: 0 0 0.4rem; }
.dept-cta p  { color: white; opacity: 0.88; margin: 0; font-size: 0.97rem; }
.dept-cta-btns { display: flex; gap: 1rem; flex-shrink: 0; flex-wrap: wrap; }

/* Responsive */
@media (max-width: 900px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.75rem; }
    
    .container { padding: 2.5rem 1.5rem; }
    
    .hero-inner {
        flex-direction: column;
        align-items: flex-start;
        min-height: unset;
        padding: 2.5rem 1.5rem;
    }
    
    .hero-left { max-width: 100%; }
    .hero-slider-nav { flex-direction: row; align-self: center; }
    .hero-copy-card h1 { font-size: 2rem; }
    .hero-bottom-cards { grid-template-columns: 1fr; }
    
    .contact-grid { grid-template-columns: 1fr; }
    .contact-form-card { position: static; }
    
    .dept-grid { grid-template-columns: 1fr; }
    .dept-sidebar { position: static; top: auto; }
    .dept-hero-inner { grid-template-columns: 1fr; }
    
    .offer-cards { grid-template-columns: 1fr; }
    .spec-grid { grid-template-columns: repeat(2, 1fr); }
    .experience-grid { grid-template-columns: repeat(2, 1fr); }
    
    .nav-dropdown-menu { min-width: 200px; }
    .btn { padding: 0.75rem 1.5rem; font-size: 0.9rem; }
    .lf-grid { grid-template-columns: 1fr; }
    
    .insurance-cta-inner { grid-template-columns: 1fr; gap: 2rem; }
    .about-story-grid { grid-template-columns: 1fr; }
    .about-story-stats { grid-template-columns: repeat(2, 1fr); }
    .safety-grid { grid-template-columns: 1fr; }
    .accred-grid { grid-template-columns: 1fr; }
    .community-grid { grid-template-columns: 1fr; }
    .about-cta-inner { flex-direction: column; align-items: flex-start; }
    .about-section, .appointment-inner {
        grid-template-columns: 1fr;
    }
    .faq-layout { grid-template-columns: 1fr; }
    .faq-cta-card { order: 2; }
    .about-media { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }

    .dept-block { padding: 1.5rem 1.5rem; }
    .dept-block-title { font-size: 1.1rem; gap: 0.75rem; }
    .dept-block-icon { width: 40px; height: 40px; }
    .dept-sidebar-card { padding: 1.4rem 1.5rem; }
    .blog-detail-photo { height: 220px; }
}

@media (max-width: 860px) {
    .header-inner { flex-wrap: nowrap; position: relative; }
    .nav-toggle { display: flex; order: 2; }
    .header-actions { display: none; }
    .brand-logo { height: 38px; max-width: 190px; }

    .topbar-inner { padding: 0.55rem 1.25rem; }
    .topbar-contact a { margin-right: 1rem; }

    nav {
        display: none;
        flex-direction: column;
        align-items: stretch;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--card-bg);
        border-top: 1px solid var(--border);
        box-shadow: 0 12px 24px rgba(0,0,0,0.1);
        padding: 0.5rem 1.5rem 1.25rem;
        max-height: calc(100vh - 100%);
        overflow-y: auto;
        z-index: 50;
    }

    nav.is-open { display: flex; }

    nav a {
        margin-right: 0;
        padding: 0.85rem 0;
        border-bottom: 1px solid var(--border);
        font-size: 1rem;
        color: var(--text);
    }

    nav a:hover { color: var(--primary); }

    nav a::after { display: none; }

    .nav-dropdown {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .nav-dropdown-toggle {
        margin-right: 0;
        padding: 0.85rem 0;
        border-bottom: 1px solid var(--border);
        justify-content: space-between;
        width: 100%;
        color: var(--text);
    }

    .nav-dropdown-toggle:hover { color: var(--primary); }

    .nav-dropdown:hover .nav-dropdown-menu { display: none; }

    .nav-dropdown.open .nav-caret { transform: rotate(180deg); }

    .nav-dropdown-menu {
        display: none;
        position: static;
        box-shadow: none;
        border: none;
        border-radius: 0;
        min-width: 0;
        width: 100%;
        padding: 0 0 0.4rem 1rem;
        animation: none;
    }

    .nav-dropdown.open .nav-dropdown-menu { display: block; }

    .nav-dropdown-menu a {
        padding: 0.65rem 0;
        border-left: none;
    }

    .nav-actions-mobile {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 1rem;
    }

    .nav-actions-mobile .btn { width: 100%; }
}

@media (max-width: 560px) {
    body { font-size: 14px; }
    h1 { font-size: 1.8rem; letter-spacing: 0; }
    h2 { font-size: 1.4rem; }
    h3 { font-size: 1rem; }
    
    .container { padding: 2rem 1rem; }
    
    .footer-grid { grid-template-columns: 1fr; }
    .footer-col h4 { font-size: 0.9rem; margin-bottom: 1rem; }
    
    .header-inner {
        padding: 0.8rem 1rem;
    }
    .topbar {
        font-size: 0.72rem;
    }
    .topbar-inner {
        flex-direction: column;
        gap: 0.35rem;
        align-items: flex-start;
        padding: 0.55rem 1rem;
    }
    .topbar-contact {
        display: flex;
        flex-wrap: wrap;
        gap: 0.3rem 0.9rem;
    }
    .topbar-contact a {
        margin-right: 0;
        white-space: nowrap;
    }
    .topbar-note {
        white-space: nowrap;
    }

    .brand-logo { height: 30px; max-width: 150px; }
    
    .hero-bottom-cards { grid-template-columns: 1fr; }
    .hero-copy-card { padding: 1.5rem 1.25rem 1.5rem; }
    .hero-copy-card h1 { font-size: 1.5rem; margin-bottom: 0.75rem; }
    .hero-sub { font-size: 0.9rem; margin-bottom: 1.25rem; }
    
    .btn { 
        padding: 0.65rem 1.2rem; 
        font-size: 0.85rem;
        border-radius: 8px;
    }
    .btn-small { padding: 0.5rem 1rem; font-size: 0.8rem; }
    
    .lf-grid { grid-template-columns: 1fr; }
    .lf-card { padding: 1.5rem 1.25rem; }
    
    .about-stats { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
    .about-stat { padding: 0.7rem 0.5rem; }
    .about-stat-num { font-size: 1.3rem; }
    
    .spec-grid { grid-template-columns: 1fr; }
    .experience-grid { grid-template-columns: 1fr; }
    
    .card { padding: 1.25rem; }
    
    input[type="text"],
    input[type="email"],
    input[type="phone"],
    input[type="tel"],
    input[type="number"],
    input[type="date"],
    textarea,
    select {
        padding: 0.75rem 0.875rem;
        font-size: 0.9rem;
    }
    
    .btn-hero { padding: 0.7rem 1.3rem; font-size: 0.88rem; }
    .dept-hero-text h1 { font-size: 1.6rem; }
    .dept-hero-inner { grid-template-columns: 1fr; gap: 2rem; }

    .blog-detail-photo { height: 170px; margin: 0.75rem 0 1.25rem; }
    .blog-body { font-size: 0.98rem; }
    .blog-body > p:first-of-type { font-size: 1.05rem; }
    .blog-body h2 { font-size: 1.25rem; margin: 2rem 0 0.9rem; padding-left: 0.7rem; }
    .blog-body h3 { font-size: 1.05rem; margin: 1.5rem 0 0.6rem; }
    .dept-block { padding: 1.25rem 1.1rem; }
    .dept-sidebar-card { padding: 1.25rem 1.1rem; }
    .sidebar-quick-links { flex-wrap: wrap; gap: 0.75rem; }
}
