/* ================================
   GENERAL STYLES & VARIABLES
   ================================ */

@font-face {
    font-family: 'Duepuntozero';
    src: url('../font/duepuntozero_regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Duepuntozero';
    src: url('../font/duepuntozero_bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Duepuntozero';
    src: url('../font/duepuntozero_black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
}

:root {
    --primary-color: #f26b2e;
    --secondary-color: #28236f;
    --accent-color: #69c4df;
    --light-color: #fff7f1;
    --dark-color: #201a5a;
    --text-color: #4a4863;
    --border-color: #eed8ca;
    --success: #4caf50;
    --warning: #ff9800;
    --danger: #f44336;
    --highlight-color: #54c5d0;
    --surface-color: #ffffff;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(180deg, #fff7f1 0%, #ffffff 22%, #fff9f4 100%);
    overflow-x: hidden;
}

.site-preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #fff7f1 0%, #ffffff 45%, #eef8fb 100%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

.site-preloader.preloader-visible {
    opacity: 1;
    visibility: visible;
}

.site-preloader.preloader-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.site-preloader-inner {
    display: grid;
    justify-items: center;
    gap: 14px;
    color: var(--secondary-color);
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.site-preloader-inner img {
    width: 96px;
    height: 96px;
    object-fit: contain;
    animation: preloaderLogoPulse 1.4s ease-in-out infinite;
}

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

img,
iframe {
    max-width: 100%;
}

/* ================================
   NAVIGATION BAR
   ================================ */

.navbar {
    background: linear-gradient(135deg, #ff9a52 0%, var(--primary-color) 34%, var(--secondary-color) 100%);
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 12px 32px rgba(32, 26, 90, 0.16);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

.logo-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.logo-mark {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
}

.logo-mark::before {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 46% 54% 58% 42% / 42% 40% 60% 58%;
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.68) 42%, rgba(255, 255, 255, 0.24) 100%),
        linear-gradient(135deg, rgba(242, 107, 46, 0.34), rgba(105, 196, 223, 0.22));
    box-shadow:
        0 14px 28px rgba(32, 26, 90, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
    transform: rotate(-8deg);
}

.logo-mark::after {
    content: '';
    position: absolute;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.24), transparent 70%);
    z-index: 0;
}

.logo-image {
    position: relative;
    z-index: 1;
    display: block;
    width: 52px;
    height: 52px;
    max-width: 52px;
    max-height: 52px;
    object-fit: contain;
    border-radius: 16px;
    background: transparent;
    padding: 4px;
    box-shadow: none;
    border: none;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-name {
    display: block;
    font-family: 'Duepuntozero', 'Poppins', sans-serif;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.logo-tagline {
    display: block;
    font-size: 11px;
    font-family: 'Duepuntozero', 'Poppins', sans-serif;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.9;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: width 0.3s ease;
}

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

.mobile-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ================================
   HERO SECTION
   ================================ */

.hero {
    background:
        radial-gradient(circle at top left, rgba(105, 196, 223, 0.08), transparent 28%),
        radial-gradient(circle at bottom right, rgba(242, 107, 46, 0.1), transparent 24%),
        linear-gradient(180deg, rgba(40, 35, 111, 0.03), rgba(242, 107, 46, 0.02)),
        #ffffff;
    background-size: cover;
    background-position: center;
    color: var(--secondary-color);
    padding: 96px 20px 88px;
    text-align: center;
    min-height: calc(100vh - 82px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: saturate(1.02) contrast(1.03);
}

.hero-slide.active {
    opacity: 0.74;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 38px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.46);
    backdrop-filter: blur(10px);
    box-shadow: 0 22px 54px rgba(32, 26, 90, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.45);
}

.hero-logo-badge {
    width: fit-content;
    margin: 0 auto 12px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    animation: fadeIn 0.7s ease;
}

.hero-logo {
    display: block;
    width: min(110px, 30vw);
    max-width: 100%;
    height: auto;
}

.hero-content h1 {
    font-family: 'Duepuntozero', 'Poppins', sans-serif;
    font-size: 56px;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-shadow: none;
    animation: slideInDown 0.8s ease;
    text-align: center;
    letter-spacing: 0.02em;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 600px;
    color: rgba(32, 26, 90, 0.82);
    animation: slideInUp 0.8s ease;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeIn 1s ease 0.3s backwards;
}

.btn {
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #ff8b47, var(--primary-color));
    color: white;
    box-shadow: 0 12px 24px rgba(242, 107, 46, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 32px rgba(242, 107, 46, 0.4);
}

.btn-secondary {
    background-color: rgba(40, 35, 111, 0.06);
    color: var(--secondary-color);
    border: 1px solid rgba(40, 35, 111, 0.12);
    box-shadow: 0 10px 22px rgba(40, 35, 111, 0.08);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    background-color: rgba(87, 192, 198, 0.1);
}

/* ================================
   SECTIONS
   ================================ */

section {
    padding: 80px 20px;
}

.services-bg {
    background: linear-gradient(180deg, rgba(242, 107, 46, 0.08), rgba(255, 255, 255, 0));
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
}

.cta-btn {
    background: #ffffff;
    color: var(--secondary-color);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 14px 30px rgba(32, 26, 90, 0.18);
}

.cta-btn:hover {
    transform: translateY(-3px);
    background: #f3f7ff;
}

.emergency-grid {
    max-width: 760px;
    margin: 0 auto;
    justify-items: center;
}

.section-title {
    font-family: 'Duepuntozero', 'Poppins', sans-serif;
    text-align: center;
    font-size: 40px;
    margin-bottom: 50px;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 20px;
    letter-spacing: 0.02em;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-heading-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 34px;
}

.section-heading-row p:not(.eyebrow) {
    max-width: 460px;
    color: #626075;
    font-size: 17px;
    line-height: 1.7;
}

.left-title {
    text-align: left;
    margin-bottom: 0;
}

.left-title::after {
    left: 0;
    transform: none;
}

/* ================================
   SERVICES SECTION
   ================================ */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--surface-color);
    padding: 40px 30px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 18px 44px rgba(40, 35, 111, 0.09);
    transition: all 0.3s ease;
    border: 1px solid rgba(242, 107, 46, 0.14);
    position: relative;
    overflow: hidden;
    min-height: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-top: 5px solid var(--primary-color);
    pointer-events: none;
}

.service-card-glow {
    position: absolute;
    top: -80px;
    right: -80px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(105, 196, 223, 0.2), transparent 68%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.service-card-action {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    width: fit-content;
    margin: 0 auto;
    padding: 11px 22px;
    border-radius: 999px;
    background: rgba(242, 107, 46, 0.1);
    color: var(--primary-color);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(242, 107, 46, 0.16);
    border-color: rgba(105, 196, 223, 0.35);
}

.service-card:hover::before {
    border-top-color: var(--accent-color);
}

.service-card:hover .service-card-glow {
    opacity: 1;
}

.service-card:hover .service-card-action {
    background: linear-gradient(135deg, #ff8b47, var(--primary-color));
    color: white;
    box-shadow: 0 12px 22px rgba(242, 107, 46, 0.22);
}

.service-card i {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    min-height: 56px;
    font-size: 50px;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-icon-svg {
    width: 56px;
    height: 56px;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-icon-image {
    position: relative;
    z-index: 1;
    display: inline-block;
    width: 56px;
    height: 56px;
    object-fit: contain;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    filter: brightness(0) saturate(100%) invert(54%) sepia(93%) saturate(1588%) hue-rotate(342deg) brightness(99%) contrast(91%);
}

.service-card:hover i {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.service-card:hover .service-icon-svg {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.service-card:hover .service-icon-image {
    filter: brightness(0) saturate(100%) invert(16%) sepia(34%) saturate(3085%) hue-rotate(227deg) brightness(89%) contrast(95%);
    transform: scale(1.1);
}

.service-card h3 {
    position: relative;
    z-index: 1;
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.service-card p {
    position: relative;
    z-index: 1;
    color: #666;
    line-height: 1.8;
}

.service-schedule {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: fit-content;
    max-width: 100%;
    margin: 12px auto 18px;
    padding: 9px 13px;
    border-radius: 999px;
    background: rgba(40, 35, 111, 0.06);
    color: var(--secondary-color);
    font-size: 13px;
    font-weight: 800;
}

.service-schedule i {
    min-width: 0;
    min-height: 0;
    margin: 0;
    font-size: 13px;
    color: var(--primary-color);
}

/* ================================
   SERVICE DETAIL
   ================================ */

.service-detail-hero {
    background:
        linear-gradient(135deg, rgba(255, 247, 241, 0.92), rgba(255, 255, 255, 0.84)),
        linear-gradient(135deg, rgba(242, 107, 46, 0.14), rgba(105, 196, 223, 0.18));
    padding: 46px 20px 82px;
    position: relative;
    overflow: hidden;
}

.service-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    color: rgba(32, 26, 90, 0.7);
    font-size: 14px;
    margin-bottom: 34px;
}

.service-breadcrumbs a {
    color: var(--secondary-color);
    font-weight: 700;
    text-decoration: none;
}

.service-breadcrumbs i {
    color: var(--primary-color);
    font-size: 10px;
}

.service-detail-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: 42px;
    align-items: center;
}

.service-detail-copy h1 {
    color: var(--dark-color);
    font-family: 'Duepuntozero', 'Poppins', sans-serif;
    font-size: 56px;
    line-height: 1.05;
    margin-bottom: 22px;
    letter-spacing: 0.02em;
}

.service-detail-copy p {
    max-width: 720px;
    color: rgba(32, 26, 90, 0.76);
    font-size: 19px;
}

.eyebrow {
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.service-detail-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.service-detail-panel,
.service-booking-card,
.service-related-card,
.service-info-block {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(242, 107, 46, 0.12);
    border-radius: 18px;
    box-shadow: 0 22px 54px rgba(32, 26, 90, 0.1);
}

.service-detail-panel {
    padding: 34px;
}

.service-detail-icon {
    width: 92px;
    height: 92px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(242, 107, 46, 0.12), rgba(105, 196, 223, 0.18));
}

.service-detail-icon i,
.service-detail-icon .service-icon-image {
    font-size: 44px;
    width: 50px;
    height: 50px;
    margin: 0;
}

.service-detail-panel h2 {
    color: var(--dark-color);
    font-size: 26px;
    line-height: 1.25;
    margin-bottom: 14px;
}

.service-detail-panel p {
    color: #666;
}

.service-detail-body {
    padding-top: 72px;
}

.service-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 34px;
    align-items: start;
}

.service-detail-main {
    display: grid;
    gap: 26px;
}

.service-info-block {
    padding: 36px;
}

.service-info-block h2 {
    color: var(--dark-color);
    font-size: 30px;
    margin-bottom: 14px;
}

.service-info-block p {
    color: #626075;
    font-size: 16px;
    line-height: 1.85;
}

.epharmacy-coming-soon {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    width: fit-content;
    max-width: 100%;
    margin-top: 24px;
    padding: 16px 18px;
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(135deg, #28236f, #f26b2e);
    color: white;
    box-shadow: 0 18px 38px rgba(40, 35, 111, 0.2);
    animation: epharmacyPulse 2.8s ease-in-out infinite;
}

.epharmacy-coming-soon::after {
    content: '';
    position: absolute;
    inset: 0;
    transform: translateX(-110%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: epharmacyShine 3.8s ease-in-out infinite;
}

.epharmacy-icon {
    position: relative;
    z-index: 1;
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 20px;
}

.epharmacy-coming-soon span:last-child {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 4px;
}

.epharmacy-coming-soon strong {
    font-size: 16px;
    line-height: 1.2;
}

.epharmacy-coming-soon small {
    color: rgba(255, 255, 255, 0.82);
    font-weight: 600;
}

.service-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.service-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-radius: 14px;
    background: rgba(255, 247, 241, 0.9);
    color: var(--dark-color);
    font-weight: 700;
}

.service-feature i {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    flex-shrink: 0;
    font-size: 12px;
}

.service-chip-list {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.service-chip-list span {
    padding: 11px 16px;
    border: 1px solid rgba(40, 35, 111, 0.1);
    border-radius: 999px;
    background: white;
    color: var(--secondary-color);
    font-weight: 700;
}

.service-detail-sidebar {
    display: grid;
    gap: 24px;
    position: sticky;
    top: 116px;
}

.service-booking-card,
.service-related-card {
    padding: 28px;
}

.service-booking-card h3,
.service-related-card h3 {
    color: var(--dark-color);
    font-size: 22px;
    margin-bottom: 12px;
}

.service-booking-card p {
    color: #666;
    margin-bottom: 20px;
}

.service-booking-card .btn {
    width: 100%;
    text-align: center;
    margin-bottom: 18px;
}

.service-detail-schedule {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 20px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(40, 35, 111, 0.06);
    color: var(--secondary-color);
    font-weight: 800;
}

.service-phone-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--secondary-color);
    font-weight: 800;
    text-decoration: none;
}

.service-related-card {
    display: grid;
    gap: 14px;
}

.service-related-card a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--dark-color);
    font-weight: 700;
    text-decoration: none;
    padding: 12px;
    border-radius: 14px;
    background: rgba(255, 247, 241, 0.72);
    transition: all 0.3s ease;
}

.service-related-card a:hover {
    color: var(--primary-color);
    transform: translateX(4px);
}

.service-related-card a span small {
    display: block;
    color: #77728a;
    font-size: 12px;
    font-weight: 600;
    margin-top: 3px;
}

.service-related-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    font-size: 22px !important;
    margin: 0 !important;
    flex-shrink: 0;
}

/* ================================
   DOCTORS
   ================================ */

.doctors-hero {
    background:
        linear-gradient(135deg, rgba(255, 247, 241, 0.92), rgba(255, 255, 255, 0.78)),
        linear-gradient(135deg, rgba(242, 107, 46, 0.12), rgba(105, 196, 223, 0.2));
    padding: 76px 20px 64px;
}

.doctors-hero-content {
    max-width: 760px;
}

.doctors-hero h1 {
    color: var(--dark-color);
    font-family: 'Duepuntozero', 'Poppins', sans-serif;
    font-size: 54px;
    line-height: 1.08;
    margin-bottom: 18px;
    letter-spacing: 0.02em;
}

.doctors-hero p:not(.eyebrow) {
    color: rgba(32, 26, 90, 0.76);
    font-size: 18px;
}

.doctors-section {
    background: linear-gradient(180deg, #ffffff, #fff9f4);
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.doctor-card {
    display: grid;
    grid-template-rows: 260px minmax(0, 1fr);
    padding: 0;
    border-radius: 18px;
    background: white;
    border: 1px solid rgba(242, 107, 46, 0.12);
    box-shadow: 0 18px 44px rgba(40, 35, 111, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.doctor-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 58px rgba(40, 35, 111, 0.12);
}

.doctor-photo {
    min-height: 260px;
    background:
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.9), transparent 34%),
        linear-gradient(135deg, rgba(242, 107, 46, 0.18), rgba(105, 196, 223, 0.24));
    position: relative;
    overflow: hidden;
}

.doctor-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.doctor-photo-placeholder {
    min-height: 260px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 12px;
    background:
        radial-gradient(circle at center, rgba(255, 255, 255, 0.58), transparent 56%),
        linear-gradient(135deg, rgba(242, 107, 46, 0.1), rgba(105, 196, 223, 0.18));
    color: var(--primary-color);
}

.doctor-photo-placeholder i {
    font-size: 42px;
}

.doctor-photo-placeholder span {
    color: var(--secondary-color);
    font-size: 13px;
    font-weight: 800;
}

.doctor-card-body {
    padding: 26px;
}

.doctor-card-body h2 {
    color: var(--dark-color);
    font-size: 24px;
    margin-bottom: 4px;
}

.doctor-card-body h3 {
    color: var(--primary-color);
    font-size: 15px;
    margin-bottom: 14px;
}

.doctor-card-body p {
    color: #666;
    line-height: 1.75;
}

.doctor-department {
    color: var(--secondary-color) !important;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.doctor-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 18px 0;
}

.doctor-sessions {
    display: grid;
    gap: 9px;
    margin: 16px 0 20px;
}

.doctor-sessions span {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(40, 35, 111, 0.06);
    color: var(--secondary-color);
    font-size: 13px;
    font-weight: 800;
}

.doctor-sessions strong {
    margin-left: auto;
    color: var(--primary-color);
}

.doctor-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary-color);
    font-size: 13px;
    font-weight: 800;
}

.doctor-focus {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.doctor-focus span {
    padding: 8px 11px;
    border-radius: 999px;
    background: rgba(242, 107, 46, 0.08);
    color: var(--dark-color);
    font-size: 12px;
    font-weight: 700;
}

.doctor-book-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff8b47, var(--primary-color));
    color: white;
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 12px 22px rgba(242, 107, 46, 0.22);
}

/* ================================
   GALLERY & CAREERS
   ================================ */

.premium-gallery {
    background: #fbfcff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 180px;
    gap: 14px;
}

.gallery-grid-compact {
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    grid-auto-rows: 170px;
}

.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    background: var(--secondary-color);
    box-shadow: 0 14px 32px rgba(40, 35, 111, 0.1);
    cursor: zoom-in;
}

.gallery-card-featured {
    grid-column: span 2;
    grid-row: span 2;
}

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

.gallery-card:hover img {
    transform: scale(1.06);
}

.gallery-overlay {
    position: absolute;
    inset: auto 0 0;
    padding: 34px 16px 16px;
    background: linear-gradient(180deg, transparent, rgba(20, 18, 55, 0.88));
    color: white;
}

.gallery-overlay h3 {
    font-size: 18px;
    margin-bottom: 6px;
}

.gallery-overlay p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    line-height: 1.6;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    padding: 28px;
    background: rgba(12, 11, 32, 0.82);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.gallery-lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.gallery-lightbox-panel {
    width: min(980px, 100%);
    max-height: 90vh;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    overflow: hidden;
    border-radius: 18px;
    background: white;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.32);
    transform: scale(0.96);
    transition: transform 0.25s ease;
}

.gallery-lightbox.active .gallery-lightbox-panel {
    transform: scale(1);
}

.gallery-lightbox img {
    width: 100%;
    max-height: 72vh;
    display: block;
    object-fit: contain;
    background: #11102b;
}

.gallery-lightbox-copy {
    padding: 20px 22px;
}

.gallery-lightbox-copy h3 {
    color: var(--dark-color);
    font-size: 24px;
    margin-bottom: 6px;
}

.gallery-lightbox-copy p {
    color: #626075;
}

.gallery-lightbox-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: white;
    color: var(--secondary-color);
    cursor: pointer;
    font-size: 18px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
}

.careers-section {
    background: linear-gradient(180deg, #fff9f4, #ffffff);
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.job-card {
    padding: 28px;
    border-radius: 18px;
    background: white;
    border: 1px solid rgba(40, 35, 111, 0.08);
    box-shadow: 0 18px 44px rgba(40, 35, 111, 0.08);
}

.job-card-top,
.job-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.job-card-top {
    justify-content: space-between;
    color: #626075;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 18px;
}

.job-status {
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(21, 128, 61, 0.1);
    color: #15803d;
    text-transform: uppercase;
}

.job-status-closed {
    background: rgba(112, 112, 134, 0.12);
    color: #707086;
}

.job-card h3 {
    color: var(--dark-color);
    font-size: 25px;
    margin-bottom: 14px;
}

.job-meta {
    color: var(--secondary-color);
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 22px;
}

.job-card h4 {
    color: var(--dark-color);
    font-size: 16px;
    margin-bottom: 10px;
}

.job-card ul {
    margin: 0 0 20px 18px;
    color: #626075;
    line-height: 1.75;
}

.job-apply {
    padding: 16px;
    border-radius: 14px;
    background: rgba(242, 107, 46, 0.08);
}

.job-apply strong {
    color: var(--primary-color);
}

.job-apply p {
    margin-top: 6px;
    color: #626075;
}

.empty-public-state {
    display: grid;
    justify-items: center;
    gap: 12px;
    max-width: 620px;
    margin: 0 auto;
    padding: 64px 24px;
    border: 1px solid rgba(40, 35, 111, 0.08);
    border-radius: 18px;
    background: white;
    text-align: center;
    box-shadow: 0 18px 44px rgba(40, 35, 111, 0.08);
}

.empty-public-state i {
    color: var(--primary-color);
    font-size: 42px;
}

.empty-public-state h2 {
    color: var(--dark-color);
    font-size: 28px;
}

.empty-public-state p {
    color: #626075;
}

/* ================================
   STATS SECTION
   ================================ */

.stats {
    background: linear-gradient(135deg, #2f2a82 0%, var(--secondary-color) 54%, #57c0c6 100%);
    color: white;
    margin: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item h3 {
    font-size: 45px;
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 16px;
    opacity: 0.9;
}

/* ================================
   APPOINTMENTS SECTION
   ================================ */

.appointment-container {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--dark-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(87, 192, 198, 0.14);
}

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

/* ================================
   BLOG SECTION
   ================================ */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.blog-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 50px;
    position: relative;
    overflow: hidden;
}

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

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

.blog-content {
    padding: 25px;
}

.blog-date {
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.blog-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--dark-color);
}

.blog-card p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

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

.blog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 46px;
}

.pagination-status {
    color: var(--dark-color);
    font-weight: 800;
}

.pagination-disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none;
}

/* ================================
   EVENTS & JOBS SECTION
   ================================ */

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.event-card {
    background: white;
    border-left: 5px solid var(--primary-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.event-card.job {
    border-left-color: var(--secondary-color);
}

.event-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transform: translateX(5px);
}

.event-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.event-type {
    display: inline-block;
    padding: 5px 15px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.event-card.job .event-type {
    background-color: var(--secondary-color);
}

.event-date {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 14px;
}

.event-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.event-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    color: #666;
    font-size: 14px;
    flex-wrap: wrap;
}

.event-meta i {
    color: var(--primary-color);
    width: 20px;
}

.event-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* ================================
   CONTACT FORM
   ================================ */

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-info {
    background: linear-gradient(135deg, #ff8c40, var(--secondary-color));
    color: white;
    padding: 40px;
    border-radius: 15px;
}

.contact-item {
    margin-bottom: 30px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-item i {
    font-size: 24px;
    flex-shrink: 0;
}

.contact-item h4 {
    margin-bottom: 5px;
    font-size: 18px;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

/* ================================
   ALERTS & MESSAGES
   ================================ */

.alert {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    display: flex;
    gap: 10px;
    align-items: start;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border-left: 4px solid var(--success);
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border-left: 4px solid var(--danger);
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border-left: 4px solid var(--warning);
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border-left: 4px solid var(--secondary-color);
}

/* ================================
   FOOTER
   ================================ */

.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 50px 20px 20px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: var(--accent-color);
}

.footer-section a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    margin-bottom: 10px;
}

.footer-section a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.newsletter-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.newsletter-form input {
    flex: 1;
    min-width: 0;
    padding: 12px 15px;
    border: none;
    border-radius: 5px;
}

.newsletter-form button {
    padding: 12px 25px;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background-color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #bbb;
}

.floating-whatsapp {
    position: fixed;
    right: 30px;
    bottom: 92px;
    z-index: 998;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 18px;
    border-radius: 999px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent 34%),
        linear-gradient(135deg, #22c55e 0%, #16a34a 52%, #0f8f50 100%);
    color: white;
    text-decoration: none;
    font-weight: 800;
    border: 1px solid rgba(255, 255, 255, 0.38);
    box-shadow:
        0 18px 42px rgba(18, 140, 126, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.34);
    overflow: hidden;
    isolation: isolate;
    animation: whatsappPulse 2.8s ease-in-out infinite;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-whatsapp::before {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.28) 36%, transparent 62%);
    transform: translateX(-125%);
    animation: whatsappShine 4.2s ease-in-out infinite;
    z-index: -1;
}

.floating-whatsapp::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.26);
    pointer-events: none;
}

.floating-whatsapp:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow:
        0 24px 52px rgba(18, 140, 126, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.44);
    animation-play-state: paused;
}

.floating-whatsapp i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    font-size: 22px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
    animation: whatsappIconFloat 2.8s ease-in-out infinite;
}

.floating-whatsapp span {
    position: relative;
    letter-spacing: 0.01em;
}

@keyframes whatsappPulse {
    0% {
        box-shadow:
            0 18px 42px rgba(18, 140, 126, 0.32),
            inset 0 1px 0 rgba(255, 255, 255, 0.34),
            0 0 0 0 rgba(37, 211, 102, 0.34);
    }
    70% {
        box-shadow:
            0 18px 42px rgba(18, 140, 126, 0.32),
            inset 0 1px 0 rgba(255, 255, 255, 0.34),
            0 0 0 18px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow:
            0 18px 42px rgba(18, 140, 126, 0.32),
            inset 0 1px 0 rgba(255, 255, 255, 0.34),
            0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@keyframes whatsappShine {
    0%,
    58% {
        transform: translateX(-125%);
    }
    78%,
    100% {
        transform: translateX(125%);
    }
}

@keyframes whatsappIconFloat {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-2px) rotate(-5deg);
    }
}

/* ================================
   ANIMATIONS
   ================================ */

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

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes preloaderLogoPulse {
    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 12px 20px rgba(40, 35, 111, 0.16));
    }
    50% {
        transform: scale(1.08);
        filter: drop-shadow(0 18px 28px rgba(242, 107, 46, 0.22));
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-preloader-inner img {
        animation: none;
    }
}

@keyframes epharmacyPulse {
    0%,
    100% {
        transform: translateY(0);
        box-shadow: 0 18px 38px rgba(40, 35, 111, 0.2);
    }
    50% {
        transform: translateY(-3px);
        box-shadow: 0 24px 46px rgba(40, 35, 111, 0.28);
    }
}

@keyframes epharmacyShine {
    0%,
    45% {
        transform: translateX(-110%);
    }
    75%,
    100% {
        transform: translateX(110%);
    }
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */

@media (max-width: 768px) {
    .hero {
        min-height: calc(100vh - 74px);
        padding: 84px 18px 72px;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-menu.active {
        max-height: 500px;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
    }

    .nav-menu li a {
        display: block;
        padding: 15px 0;
    }

    .nav-link::after {
        display: none;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-logo-badge {
        margin-bottom: 10px;
    }

    .hero-logo {
        width: min(95px, 28vw);
    }

    .hero-slide.active {
        opacity: 0.6;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    section {
        padding: 50px 20px;
    }

    .section-title {
        font-size: 30px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .service-detail-hero-inner,
    .service-detail-layout {
        grid-template-columns: 1fr;
    }

    .service-detail-copy h1 {
        font-size: 38px;
    }

    .doctors-hero h1 {
        font-size: 38px;
    }

    .service-detail-sidebar {
        position: static;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .section-heading-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 150px;
    }

    .gallery-card-featured {
        grid-column: span 2;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: calc(100vh - 68px);
        padding: 72px 16px 56px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-slide.active {
        opacity: 0.52;
    }

    .hero-content {
        padding: 22px 18px;
        border-radius: 22px;
    }

    .hero-logo {
        width: min(80px, 26vw);
    }

    .section-title {
        font-size: 24px;
    }

    .services-grid,
    .blog-grid,
    .events-grid {
        grid-template-columns: 1fr;
    }

    .navbar {
        padding: 12px 0;
    }

    .logo {
        font-size: 20px;
    }

    .logo-tagline {
        font-size: 9px;
        letter-spacing: 0.05em;
    }

    .logo-icon {
        font-size: 24px;
    }

    .logo-image {
        width: 44px;
        height: 44px;
        max-width: 44px;
        max-height: 44px;
    }

    .logo-mark {
        width: 56px;
        height: 56px;
    }

    .gallery-grid,
    .jobs-grid {
        grid-template-columns: 1fr;
    }

    .gallery-card,
    .gallery-card-featured {
        grid-column: auto;
        grid-row: auto;
        min-height: 240px;
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 0 18px;
    }

    .nav-wrapper {
        align-items: flex-start;
    }

    .nav-menu {
        gap: 18px;
    }

    .logo-name {
        font-size: 22px;
    }

    .hero-content {
        max-width: 760px;
        padding: 28px;
    }

    .hero-content h1 {
        font-size: 46px;
    }

    .section-title {
        font-size: 34px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        top: calc(100% + 10px);
        background: linear-gradient(180deg, rgba(242, 107, 46, 0.96), rgba(40, 35, 111, 0.96));
        padding: 12px 0;
        border-radius: 18px;
        box-shadow: 0 16px 36px rgba(32, 26, 90, 0.22);
        flex-wrap: nowrap;
    }

    .nav-menu.active {
        max-height: 80vh;
    }

    .cta-buttons {
        width: 100%;
    }

    .contact-info,
    .contact-form,
    .appointment-container {
        padding: 28px 24px;
    }

    .event-card {
        padding: 24px;
    }

    .blog-content {
        padding: 22px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form button,
    .newsletter-form input {
        width: 100%;
    }

    .floating-whatsapp {
        right: 18px;
        bottom: 88px;
        padding: 12px 15px;
    }

    form[style*="display: flex"] {
        flex-direction: column;
    }

    form[style*="display: flex"] > * {
        width: 100%;
    }

    div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 14px;
    }

    .logo {
        gap: 8px;
        font-size: 18px;
    }

    .logo-name {
        font-size: 18px;
    }

    .logo-tagline {
        display: none;
    }

    .hero-content p {
        font-size: 15px;
    }

    .service-card,
    .service-info-block,
    .service-detail-panel,
    .service-booking-card,
    .service-related-card,
    .doctor-card,
    .contact-info,
    .contact-form,
    .appointment-container,
    .event-card {
        padding: 22px 18px;
    }

    .service-detail-copy h1 {
        font-size: 32px;
    }

    .doctors-hero h1 {
        font-size: 32px;
    }

    .doctor-card {
        grid-template-rows: 220px minmax(0, 1fr);
    }

    .doctor-photo,
    .doctor-photo-placeholder {
        min-height: 220px;
    }

    .service-detail-actions {
        flex-direction: column;
    }

    .service-detail-actions .btn {
        max-width: none;
    }

    .stats-grid {
        gap: 24px;
    }

    .stat-item h3 {
        font-size: 36px;
    }

    .event-meta {
        flex-direction: column;
        gap: 8px;
    }

    .contact-item {
        gap: 14px;
    }

    .floating-whatsapp {
        width: 52px;
        height: 52px;
        justify-content: center;
        padding: 0;
    }

    .floating-whatsapp span {
        display: none;
    }

    .footer {
        padding: 40px 16px 18px;
    }

    iframe {
        min-height: 280px;
    }

    h2[style*="font-size: 40px"],
    h2[style*="font-size: 36px"] {
        font-size: 28px !important;
    }

    p[style*="font-size: 18px"],
    p[style*="font-size: 16px"] {
        font-size: 15px !important;
    }

    div[style*="padding: 40px"],
    div[style*="padding: 30px"] {
        padding: 22px 18px !important;
    }
}
