/* ====== FKQ MEDICALS — Human UI 2025 ====== */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --navy:        #0b1d35;
    --navy-mid:    #122344;
    --navy-light:  #1a3160;
    --blue:        #1a6bce;
    --blue-light:  #3b8de8;
    --blue-dim:    rgba(26,107,206,0.12);
    --gold:        #c8a84b;
    --gold-light:  #e5c87a;
    --white:       #ffffff;
    --off-white:   #f5f7fb;
    --light-gray:  #edf0f5;
    --slate:       #6b7a91;
    --slate-light: #c2cfe0;
    --text:        #1a2740;
    --text-muted:  #8494aa;

    --font-display: 'Instrument Serif', Georgia, serif;
    --font-body:    'Inter', system-ui, sans-serif;

    --radius-sm:   5px;
    --radius-md:   10px;
    --radius-lg:   16px;
    --radius-xl:   24px;
    --radius-pill: 999px;

    --shadow-xs:  0 2px 8px rgba(0,0,0,0.06);
    --shadow-sm:  0 4px 16px rgba(0,0,0,0.08);
    --shadow-md:  0 8px 32px rgba(0,0,0,0.11);
    --shadow-lg:  0 16px 48px rgba(0,0,0,0.14);

    --transition: 0.22s ease;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    line-height: 1.15;
    font-weight: 400;
}

img { display: block; max-width: 100%; }

a { text-decoration: none; color: inherit; }

/* ====== SCROLLBAR ====== */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--light-gray); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 3px; }

/* ====== FADE IN ====== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ====== HEADER ====== */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(11,29,53,0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    height: 68px;
    max-width: 1360px;
    margin: 0 auto;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--white);
    letter-spacing: 0.01em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo svg { width: 26px; height: 26px; }
.logo span { color: var(--gold); }

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 0.15rem;
}

.nav-links a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--slate-light);
    transition: color var(--transition), background var(--transition);
}

.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.07); }
.nav-links a.active { color: var(--white); background: rgba(255,255,255,0.09); }
.nav-links a.active i { color: var(--gold); }

.nav-btn {
    background: var(--blue) !important;
    color: var(--white) !important;
    font-weight: 600 !important;
    padding: 8px 20px !important;
    border-radius: var(--radius-pill) !important;
}

.nav-btn:hover { background: var(--blue-light) !important; }

.menu-toggle {
    display: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: var(--white);
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
}

.menu-toggle:hover { background: rgba(255,255,255,0.08); }

/* ====== HERO ====== */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    background: var(--navy);
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    background: url('abouthero.webp') center/cover no-repeat;
    opacity: 0.2;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(11,29,53,0.88) 0%,
        rgba(11,29,53,0.72) 50%,
        rgba(26,49,96,0.80) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 8% 3rem;
    max-width: 760px;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.25rem;
    border-left: 2px solid var(--gold);
    padding-left: 10px;
}

.hero-title {
    font-size: clamp(2.8rem, 6vw, 5rem);
    color: var(--white);
    margin-bottom: 1.25rem;
    line-height: 1.08;
}

.hero-title em {
    font-style: italic;
    color: var(--gold-light);
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--slate-light);
    margin-bottom: 2.25rem;
    font-weight: 300;
    max-width: 520px;
    line-height: 1.75;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ====== BUTTONS ====== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--blue);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(26,107,206,0.3);
}

.btn-primary:hover {
    background: var(--blue-light);
    box-shadow: 0 6px 24px rgba(26,107,206,0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.22);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.16);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background: var(--blue);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--white);
    color: var(--navy);
    font-weight: 700;
}

.btn-white:hover {
    background: var(--off-white);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #20ba59;
    transform: translateY(-2px);
}

/* ====== HERO STATS ====== */
.hero-stats {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid rgba(255,255,255,0.09);
    padding: 0 8%;
    background: rgba(255,255,255,0.03);
}

.stat {
    padding: 1.75rem 0;
    border-right: 1px solid rgba(255,255,255,0.07);
    text-align: center;
}

.stat:last-child { border-right: none; }

.stat h3 {
    font-size: 2.5rem;
    color: var(--white);
    font-family: var(--font-display);
    margin-bottom: 0.25rem;
}

.stat p {
    color: var(--slate);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}

/* ====== HERO MEDIA STRIP ====== */
.hero-media {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    height: 320px;
    overflow: hidden;
}

.hero-media-image {
    overflow: hidden;
}

.hero-media-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.hero-media-image:hover img { transform: scale(1.04); }

.hero-media-video iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* ====== SECTION HEADER ====== */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 0.9rem;
}

.section-header h2 {
    font-size: clamp(1.9rem, 4vw, 2.75rem);
    color: var(--navy);
    margin-bottom: 0.85rem;
}

.section-header p {
    color: var(--slate);
    font-size: 1rem;
    max-width: 540px;
    margin: 0 auto;
    font-weight: 300;
    line-height: 1.7;
}

/* ====== FEATURES ====== */
.features {
    padding: 6rem 5%;
    max-width: 1360px;
    margin: 0 auto;
}

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

.feature-card {
    background: var(--off-white);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    transition: all var(--transition);
}

.feature-card:hover {
    border-color: rgba(26,107,206,0.2);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.feature-icon {
    width: 52px;
    height: 52px;
    background: var(--navy);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.feature-icon i {
    font-size: 1.25rem;
    color: var(--gold);
}

.feature-card h3 {
    font-size: 1.15rem;
    color: var(--navy);
    margin-bottom: 0.6rem;
}

.feature-card p {
    color: var(--slate);
    font-size: 0.875rem;
    line-height: 1.7;
}

/* ====== SERVICES PREVIEW ====== */
.services-preview {
    padding: 5rem 5%;
    background: var(--off-white);
}

.services-preview .section-header { max-width: 1360px; margin: 0 auto 3rem; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    max-width: 1360px;
    margin: 0 auto;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: all var(--transition);
    position: relative;
}

.service-card:hover {
    border-color: rgba(26,107,206,0.2);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.service-icon {
    font-size: 1.4rem;
    color: var(--blue);
    margin-bottom: 1rem;
    display: block;
}

.service-card h3 {
    font-size: 1.1rem;
    color: var(--navy);
    margin-bottom: 0.6rem;
}

.service-card p {
    color: var(--slate);
    font-size: 0.875rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.service-card a {
    color: var(--blue);
    font-size: 0.85rem;
    font-weight: 600;
    transition: color var(--transition);
}

.service-card a:hover { color: var(--blue-light); }

.center-btn {
    text-align: center;
    margin-top: 2.5rem;
}

/* ====== CTA BAND ====== */
.cta {
    background: var(--navy);
    position: relative;
    overflow: hidden;
    padding: 5rem 5%;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 80% at 30% 50%, rgba(26,107,206,0.15), transparent 60%);
}

.cta-content {
    position: relative;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-content p {
    color: var(--slate-light);
    font-size: 1rem;
    margin-bottom: 2rem;
    font-weight: 300;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ====== FOOTER ====== */
footer {
    background: var(--navy);
    color: var(--white);
    padding: 5rem 5% 0;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(26,107,206,0.4), transparent);
}

.footer-content,
.footer-container {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: 3rem;
    max-width: 1360px;
    margin: 0 auto;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--white);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo svg { width: 22px; height: 22px; }
.footer-logo span { color: var(--gold); }

.footer-section p,
.footer-about p,
.footer-contact p {
    color: var(--slate);
    font-size: 0.875rem;
    line-height: 1.7;
    margin-bottom: 0.4rem;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 9px;
}

.footer-contact i { color: var(--blue-light); min-width: 15px; margin-top: 4px; }

.footer-section h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 1.1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-section ul,
.footer-links ul,
.footer-services ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-section ul li a,
.footer-links ul li a,
.footer-services ul li a {
    color: var(--slate);
    font-size: 0.85rem;
    transition: color var(--transition), padding-left var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-section ul li a:hover,
.footer-links ul li a:hover,
.footer-services ul li a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-section ul li a i,
.footer-links ul li a i { font-size: 0.65rem; color: rgba(26,107,206,0.5); }

.social-icons { display: flex; gap: 0.6rem; margin-top: 1.25rem; }

.social-icons a,
.social-icon-footer {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--slate-light);
    font-size: 0.85rem;
    transition: all var(--transition);
    text-decoration: none;
}

.social-icons a:hover,
.social-icon-footer:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--white);
    transform: translateY(-3px);
}

.social-icons-footer { display: flex; gap: 0.6rem; margin-top: 0.75rem; }
.footer-social p { color: var(--slate); font-size: 0.85rem; }

.footer-bottom { padding: 1.5rem 0; max-width: 1360px; margin: 0 auto; }

.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p, .footer-copyright { color: rgba(136,148,170,0.6); font-size: 0.78rem; }

.footer-legal { display: flex; gap: 1.25rem; }

.footer-legal a {
    color: var(--slate);
    font-size: 0.78rem;
    transition: color var(--transition);
}

.footer-legal a:hover { color: var(--white); }

.copyright-note { display: none; }

/* ====== BACK TO TOP ====== */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 42px; height: 42px;
    background: var(--navy);
    border: 1px solid rgba(26,107,206,0.35);
    color: var(--blue-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all var(--transition);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    box-shadow: var(--shadow-md);
}

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

.back-to-top:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--white);
    transform: translateY(-3px);
}

/* ====== TOAST ====== */
#toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--navy);
    color: var(--white);
    padding: 11px 22px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(26,107,206,0.3);
    font-size: 0.875rem;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 9999;
    white-space: nowrap;
    box-shadow: var(--shadow-lg);
}

#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
#toast.success { border-color: #2eca8b; }
#toast.error { border-color: #e05c5c; }

/* ====== SERVICES PAGE ====== */
.services-hero {
    background: var(--navy);
    position: relative;
    padding: 7rem 5% 5.5rem;
    text-align: center;
    overflow: hidden;
}

.services-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 100% at 50% 0%, rgba(26,107,206,0.12) 0%, transparent 60%);
}

.services-hero h1 {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    color: var(--white);
    margin-bottom: 1rem;
    position: relative;
}

.services-hero p {
    color: var(--slate-light);
    font-size: 1.05rem;
    max-width: 580px;
    margin: 0 auto;
    font-weight: 300;
    position: relative;
    line-height: 1.75;
}

.services-page {
    padding: 3.5rem 5% 6rem;
    max-width: 1360px;
    margin: 0 auto;
}

.services-intro {
    text-align: center;
    padding: 2rem 2.5rem;
    background: var(--off-white);
    border-radius: var(--radius-lg);
    margin-bottom: 3rem;
    border-left: 3px solid var(--blue);
}

.services-intro p {
    font-size: 1rem;
    color: var(--slate);
    line-height: 1.8;
    font-weight: 300;
}

.services-container { width: 100%; }

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

.service-category {
    grid-column: 1 / -1;
    padding: 1.25rem 0 0.5rem;
}

.service-category h2 {
    font-size: 1.2rem;
    color: var(--navy);
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--light-gray);
}

.service-category h2 .service-icon { color: var(--blue); font-size: 1rem; }

.services-grid .service-card {
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    background: var(--white);
    box-shadow: var(--shadow-xs);
    transition: all var(--transition);
    position: relative;
}

.services-grid .service-card:hover {
    border-color: rgba(26,107,206,0.2);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.services-grid .service-card h3 {
    font-size: 1.05rem;
    color: var(--navy);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.services-grid .service-card h3 i { color: var(--blue); font-size: 0.95rem; }

.services-grid .service-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.services-grid .service-card ul li {
    color: var(--slate);
    font-size: 0.85rem;
    padding-left: 1rem;
    position: relative;
    line-height: 1.55;
}

.services-grid .service-card ul li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: var(--blue);
    font-size: 0.8rem;
}

.services-grid .service-card p { color: var(--slate); font-size: 0.875rem; line-height: 1.7; }

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--blue);
    color: var(--white);
    padding: 2px 9px;
    border-radius: var(--radius-pill);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ====== CONTACT PAGE ====== */
.contact-page .content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4.5rem 5%;
}

.contact-page .content h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--navy);
    margin-bottom: 3rem;
    text-align: center;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.25rem;
    margin-bottom: 3.5rem;
}

.contact-method {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    box-shadow: var(--shadow-xs);
    text-align: center;
    transition: all var(--transition);
}

.contact-method:hover {
    border-color: rgba(26,107,206,0.2);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.contact-method i {
    font-size: 1.6rem;
    color: var(--blue);
    background: var(--blue-dim);
    width: 56px; height: 56px;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.contact-method h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: 0.5rem; }
.contact-method p { color: var(--slate); font-size: 0.875rem; margin-bottom: 0.25rem; }

/* ====== BOOKING FORM ====== */
.contact-form-container {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2.5rem;
}

.contact-form-container h2 {
    font-size: 1.7rem;
    color: var(--navy);
    margin-bottom: 2rem;
    text-align: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--navy);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.form-group label.optional::after {
    content: ' (optional)';
    font-weight: 400;
    color: var(--slate);
    text-transform: none;
    letter-spacing: 0;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 10px 14px;
    border: 1.5px solid var(--light-gray);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7a91' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 38px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(26,107,206,0.12);
}

.form-group textarea {
    min-height: 110px;
    resize: vertical;
    line-height: 1.6;
}

.error-message {
    font-size: 0.78rem;
    color: #c0392b;
    display: none;
}

.form-group input:invalid:not(:placeholder-shown) ~ .error-message,
.form-group select:invalid ~ .error-message { display: block; }

.submit-btn-container { margin-top: 0.5rem; }

.submit-btn {
    background: var(--blue);
    color: var(--white);
    border: none;
    padding: 13px 32px;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    transition: all var(--transition);
    box-shadow: 0 4px 16px rgba(26,107,206,0.25);
}

.submit-btn:hover {
    background: var(--blue-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(26,107,206,0.35);
}

.submit-btn:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }

/* ====== WHATSAPP ====== */
.whatsapp-container {
    text-align: center;
    padding: 2.5rem;
    background: var(--off-white);
    border-radius: var(--radius-lg);
    margin-bottom: 2.5rem;
    border: 1px solid var(--light-gray);
}

.whatsapp-container h3 { font-size: 1.3rem; color: var(--navy); margin-bottom: 0.5rem; }
.whatsapp-container p { color: var(--slate); font-size: 0.9rem; margin-bottom: 1.5rem; }

.wa {
    background: #25D366;
    color: white;
    border: none;
    padding: 13px 30px;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    transition: all var(--transition);
    box-shadow: 0 4px 16px rgba(37,211,102,0.25);
}

.wa:hover { background: #20ba59; transform: translateY(-2px); }

/* ====== CONTACT INFO ====== */
.contact-info {
    background: var(--navy);
    border-radius: var(--radius-lg);
    padding: 2rem 2.5rem;
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.contact-info p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--slate-light);
    font-size: 0.9rem;
    flex: 1;
    min-width: 180px;
}

.contact-info i { color: var(--blue-light); margin-top: 3px; min-width: 16px; }
.contact-info strong { color: var(--white); }

/* ====== HOURS ====== */
.hours {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-lg);
    padding: 2rem 2.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-xs);
}

.hours h3 { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; color: var(--navy); margin-bottom: 1rem; }
.hours h3 i { color: var(--blue); }
.hours p { color: var(--slate); font-size: 0.9rem; padding: 0.4rem 0; border-bottom: 1px solid var(--light-gray); }
.hours p:last-child { border-bottom: none; }

/* ====== MAP ====== */
.map-placeholder {
    background: var(--off-white);
    border: 1px dashed rgba(0,0,0,0.1);
    border-radius: var(--radius-lg);
    padding: 3rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder i { font-size: 1.4rem; color: var(--blue); }

/* ====== ABOUT PAGE ====== */
.about-hero {
    background: var(--navy);
    position: relative;
    padding: 7rem 5% 5.5rem;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('abouthero.webp') center/cover no-repeat;
    opacity: 0.15;
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11,29,53,0.92) 0%, rgba(11,29,53,0.78) 100%);
}

.about-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.about-page-content {
    padding: 5rem 5%;
    max-width: 1360px;
    margin: 0 auto;
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}

.about-intro-text h2 { font-size: 2.2rem; color: var(--navy); margin-bottom: 1.25rem; }
.about-intro-text p { color: var(--slate); font-size: 0.95rem; line-height: 1.8; margin-bottom: 1rem; }

.about-intro-image img {
    border-radius: var(--radius-xl);
    width: 100%;
    height: 380px;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
}

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

.vmc-card {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    box-shadow: var(--shadow-xs);
    transition: all var(--transition);
}

.vmc-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

.vmc-card h3 {
    font-size: 1.2rem;
    color: var(--navy);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.vmc-card h3 i { color: var(--blue); }

.vision-list, .mission-list, .values-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.vision-list li, .mission-list li, .values-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--slate);
    font-size: 0.875rem;
    line-height: 1.55;
}

.vision-list li i, .mission-list li i { color: var(--blue); font-size: 0.7rem; margin-top: 5px; }
.values-list li i { color: var(--gold); font-size: 0.7rem; margin-top: 5px; }

.history-section { margin-bottom: 5rem; }
.history-section h2 { font-size: 2rem; color: var(--navy); margin-bottom: 3rem; text-align: center; }

.timeline { position: relative; max-width: 760px; margin: 0 auto; }
.timeline::before {
    content: '';
    position: absolute;
    left: 76px; top: 0; bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, var(--blue), rgba(26,107,206,0.05));
}

.timeline-item { display: flex; gap: 2rem; margin-bottom: 2.5rem; align-items: flex-start; }

.timeline-year {
    min-width: 66px;
    text-align: right;
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--blue);
    padding-top: 0.25rem;
    position: relative;
}

.timeline-year::after {
    content: '';
    position: absolute;
    right: -2.25rem;
    top: 50%;
    transform: translateY(-50%);
    width: 9px; height: 9px;
    border-radius: 50%;
    background: var(--blue);
    border: 2px solid var(--white);
    box-shadow: 0 0 8px rgba(26,107,206,0.4);
}

.timeline-content {
    flex: 1;
    background: var(--off-white);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    border-left: 2px solid rgba(26,107,206,0.2);
    margin-left: 1.5rem;
}

.timeline-content h4 { font-size: 1.05rem; color: var(--navy); margin-bottom: 0.4rem; }
.timeline-content p { color: var(--slate); font-size: 0.875rem; line-height: 1.6; }

.facilities-section { margin-bottom: 5rem; }
.facilities-section h2 { font-size: 2rem; color: var(--navy); margin-bottom: 0.75rem; text-align: center; }
.facilities-section > p { text-align: center; color: var(--slate); margin-bottom: 2.5rem; font-size: 0.95rem; }

.equipment-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; }

.equipment-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    transition: all var(--transition);
    box-shadow: var(--shadow-xs);
}

.equipment-item:hover {
    border-color: rgba(26,107,206,0.2);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.equipment-item i { font-size: 1.2rem; color: var(--blue); min-width: 22px; }
.equipment-item span { font-size: 0.85rem; font-weight: 500; color: var(--navy); }

.team-section { margin-bottom: 5rem; text-align: center; }
.team-section h2 { font-size: 2rem; color: var(--navy); margin-bottom: 0.75rem; }
.team-section > p { color: var(--slate); margin-bottom: 2.5rem; font-size: 0.95rem; }

.team-grid { display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; }

.team-member {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    width: 210px;
    box-shadow: var(--shadow-xs);
    transition: all var(--transition);
}

.team-member:hover { box-shadow: var(--shadow-md); transform: translateY(-6px); }

.member-avatar {
    width: 76px; height: 76px;
    background: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    border: 2px solid rgba(26,107,206,0.2);
}

.member-avatar i { font-size: 1.8rem; color: var(--blue-light); }

.team-member h4 { font-size: 1.1rem; color: var(--navy); margin-bottom: 0.3rem; }
.team-member p { color: var(--slate); font-size: 0.82rem; margin-bottom: 0.5rem; }

.team-member span {
    background: var(--off-white);
    color: var(--navy);
    padding: 3px 11px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 600;
}

.conclusion-section { margin-bottom: 3rem; }

.conclusion-content {
    background: var(--navy);
    border-radius: var(--radius-xl);
    padding: 3.5rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.conclusion-content::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(26,107,206,0.12), transparent 60%);
}

.conclusion-content > * { position: relative; z-index: 1; }

.conclusion-content .fa-quote-left { font-size: 2.2rem; color: var(--blue-light); opacity: 0.35; margin-bottom: 1rem; }
.conclusion-content h3 { font-size: 1.75rem; color: var(--white); margin-bottom: 1rem; }
.conclusion-content p { color: var(--slate-light); font-size: 0.95rem; line-height: 1.8; max-width: 640px; margin: 0 auto 1.5rem; font-weight: 300; }

.signature { display: flex; flex-direction: column; gap: 3px; }
.signature strong { color: var(--gold); font-size: 0.95rem; letter-spacing: 0.04em; }
.signature span { color: var(--slate); font-size: 0.82rem; font-style: italic; }

/* ====== GALLERY PAGE ====== */
.gallery-hero {
    background: var(--navy);
    position: relative;
    padding: 7rem 5% 5.5rem;
    text-align: center;
    overflow: hidden;
}

.gallery-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 80% at 50% 0%, rgba(26,107,206,0.14), transparent 60%);
}

.gallery-hero h1 {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    color: var(--white);
    margin-bottom: 1rem;
    position: relative;
}

.gallery-hero p {
    color: var(--slate-light);
    font-size: 1.05rem;
    max-width: 540px;
    margin: 0 auto;
    font-weight: 300;
    position: relative;
    line-height: 1.75;
}

.gallery-page {
    padding: 4rem 5% 6rem;
    max-width: 1360px;
    margin: 0 auto;
}

.gallery-section { margin-bottom: 4.5rem; }

.gallery-section-title {
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gallery-section-title i { color: var(--blue); font-size: 1.1rem; }
.gallery-section-subtitle { color: var(--slate); font-size: 0.9rem; margin-bottom: 1.75rem; }

.gallery-divider {
    height: 1px;
    background: var(--light-gray);
    margin-bottom: 1.75rem;
}

/* Image grid */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}

.photo-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    aspect-ratio: 4/3;
    background: var(--light-gray);
    cursor: pointer;
}

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

.photo-item:hover img { transform: scale(1.06); }

.photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(11,29,53,0.65) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition);
    display: flex;
    align-items: flex-end;
    padding: 1.25rem;
}

.photo-item:hover .photo-overlay { opacity: 1; }

.photo-caption {
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 500;
}

/* Video grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.video-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: var(--navy);
}

.video-item iframe {
    width: 100%;
    height: 210px;
    border: none;
    display: block;
}

.video-caption {
    padding: 0.9rem 1.1rem;
    background: var(--off-white);
    border-top: 1px solid var(--light-gray);
}

.video-caption strong {
    font-size: 0.9rem;
    color: var(--navy);
    display: block;
    margin-bottom: 0.2rem;
}

.video-caption span { font-size: 0.8rem; color: var(--slate); }

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(5,12,24,0.94);
    z-index: 9990;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox.open { display: flex; }

.lightbox-inner {
    position: relative;
    max-width: 900px;
    width: 100%;
}

.lightbox-inner img {
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius-md);
}

.lightbox-close {
    position: fixed;
    top: 1.25rem;
    right: 1.5rem;
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
}

.lightbox-close:hover { background: rgba(255,255,255,0.2); }

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
    .footer-content, .footer-container { grid-template-columns: 1fr 1fr; }
    .about-intro-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .about-intro-image img { height: 280px; }
    .vmc-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .menu-toggle { display: block; }

    .nav-links {
        display: none;
        position: fixed;
        top: 68px;
        left: 0; right: 0;
        background: rgba(11,29,53,0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 1.5rem 5%;
        gap: 0.25rem;
        border-bottom: 1px solid rgba(255,255,255,0.07);
        z-index: 999;
    }

    .nav-links.active { display: flex; }
    .nav-links li { width: 100%; }
    .nav-links a { padding: 11px 14px; width: 100%; }

    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
    .stat:nth-child(3), .stat:nth-child(4) { border-bottom: none; }

    .hero-media { grid-template-columns: 1fr; height: auto; }
    .hero-media-image { height: 220px; }
    .hero-media-video iframe { height: 220px; }

    .footer-content, .footer-container { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom-content { flex-direction: column; text-align: center; }

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

    .contact-info { flex-direction: column; gap: 1rem; }
    .contact-form-container { padding: 1.75rem; }

    .vmc-grid { grid-template-columns: 1fr; }

    .timeline::before { left: 58px; }
    .timeline-year { min-width: 52px; font-size: 1.05rem; }

    .photo-grid { grid-template-columns: repeat(2, 1fr); }
    .video-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero-buttons { flex-direction: column; align-items: flex-start; }
    .stat h3 { font-size: 2rem; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .conclusion-content { padding: 2.5rem 1.5rem; }
    .photo-grid { grid-template-columns: 1fr; }
}
