/* ═══════════════════════════════════════════════════════
   Arnold Road Medical Center — Stylesheet
   Colors drawn from logo: Navy #0D2B6B, Cyan #00AEEF, White
═══════════════════════════════════════════════════════ */

:root {
    --navy:       #0D2B6B;
    --navy-deep:  #071a45;
    --navy-mid:   #1a3f8f;
    --cyan:       #00AEEF;
    --cyan-dark:  #0090c5;
    --cyan-light: #e0f5ff;
    --white:      #ffffff;
    --off-white:  #f7fafd;
    --gray-100:   #f1f5f9;
    --gray-300:   #cbd5e1;
    --gray-500:   #64748b;
    --gray-700:   #334155;
    --gray-900:   #0f172a;
    --success:    #16a34a;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body:    'DM Sans', system-ui, sans-serif;

    --radius-sm:  6px;
    --radius-md:  12px;
    --radius-lg:  20px;
    --radius-xl:  32px;

    --shadow-sm:  0 1px 3px rgba(13,43,107,.08), 0 1px 2px rgba(13,43,107,.06);
    --shadow-md:  0 4px 16px rgba(13,43,107,.12), 0 2px 8px rgba(13,43,107,.08);
    --shadow-lg:  0 12px 40px rgba(13,43,107,.16);

    --transition: 0.2s ease;
    --nav-h:      72px;
}

/* ── Reset ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-body);
    color: var(--gray-700);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Container ────────────────────────────────────────── */
.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Buttons ──────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
    text-decoration: none;
    white-space: nowrap;
}
.btn-primary {
    background: var(--cyan);
    color: var(--white);
    border-color: var(--cyan);
}
.btn-primary:hover {
    background: var(--cyan-dark);
    border-color: var(--cyan-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,174,239,.35);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,.5);
}
.btn-outline:hover {
    background: rgba(255,255,255,.1);
    border-color: var(--white);
}
.btn-full { width: 100%; justify-content: center; }

/* ── Section commons ──────────────────────────────────── */
.section { padding: 96px 0; }
.section-alt { background: var(--off-white); }

.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--cyan-dark);
    background: var(--cyan-light);
    padding: 5px 14px;
    border-radius: 99px;
    margin-bottom: 14px;
}
.section-heading {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 14px;
}
.section-sub {
    font-size: 17px;
    color: var(--gray-500);
    max-width: 520px;
    margin: 0 auto;
}
.body-text {
    font-size: 16px;
    line-height: 1.75;
    color: var(--gray-700);
    margin-bottom: 16px;
}

/* ══════════════════════════════════════════════════════
   NAV
══════════════════════════════════════════════════════ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-h);
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(13,43,107,.08);
    transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: var(--shadow-md); }
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}
.nav-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-links li a {
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 14.5px;
    font-weight: 500;
    color: var(--navy);
    transition: background var(--transition), color var(--transition);
}
.nav-links li a:hover {
    background: var(--cyan-light);
    color: var(--cyan-dark);
}
.nav-cta {
    background: var(--navy) !important;
    color: var(--white) !important;
    border-radius: var(--radius-md) !important;
    font-weight: 600 !important;
    padding: 9px 18px !important;
}
.nav-cta:hover {
    background: var(--navy-mid) !important;
}
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: all .3s;
}

/* ══════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(var(--nav-h) + 60px) 24px 80px;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 40%, rgba(0,174,239,.18) 0%, transparent 65%),
        linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 50%, var(--navy-mid) 100%);
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 15% 20%, rgba(0,174,239,.12) 0%, transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(0,174,239,.08) 0%, transparent 40%);
}
/* Subtle cross/plus pattern */
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300AEEF' fill-opacity='0.04'%3E%3Cpath d='M26 28h8v4h-8v8h-4v-8h-8v-4h8v-8h4v8z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
}
.hero-badge {
    display: inline-block;
    background: rgba(0,174,239,.2);
    border: 1px solid rgba(0,174,239,.4);
    color: #7ed9f7;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 99px;
    margin-bottom: 28px;
    animation: fadeUp .6s ease both;
}
.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(38px, 7vw, 70px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 22px;
    animation: fadeUp .6s ease .1s both;
}
.hero-sub {
    font-size: clamp(16px, 2vw, 19px);
    color: rgba(255,255,255,.8);
    max-width: 560px;
    margin: 0 auto 36px;
    line-height: 1.65;
    animation: fadeUp .6s ease .2s both;
}
.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeUp .6s ease .3s both;
}
.hero-hours {
    margin-top: 36px;
    font-size: 13px;
    color: rgba(255,255,255,.55);
    letter-spacing: .04em;
    animation: fadeUp .6s ease .4s both;
}
.hero-scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.4);
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    animation: bounce 2s infinite;
}

/* ══════════════════════════════════════════════════════
   STATS BAR
══════════════════════════════════════════════════════ */
.stats-bar {
    background: var(--navy);
    padding: 40px 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}
.stat-item {
    text-align: center;
    padding: 16px 24px;
    border-right: 1px solid rgba(255,255,255,.1);
}
.stat-item:last-child { border-right: none; }
.stat-value {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    color: var(--cyan);
    line-height: 1;
    margin-bottom: 6px;
}
.stat-label {
    font-size: 13px;
    color: rgba(255,255,255,.6);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .06em;
}

/* ══════════════════════════════════════════════════════
   ABOUT
══════════════════════════════════════════════════════ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}
.about-visual { position: relative; }
.about-img-wrap {
    position: relative;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, var(--cyan-light) 0%, #d6eeff 100%);
    padding: 48px 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.about-img-wrap::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(0,174,239,.12);
}
.about-logo-large {
    max-width: 300px;
    position: relative;
    z-index: 1;
}
.about-card-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--navy);
    color: var(--white);
    padding: 16px 22px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    text-align: center;
    z-index: 2;
}
.accent-cross {
    font-size: 28px;
    color: var(--cyan);
    margin-bottom: 4px;
}
.about-card-accent p {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    opacity: .9;
}
.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}
.mv-card {
    background: var(--gray-100);
    border-radius: var(--radius-md);
    padding: 20px;
    border-left: 3px solid var(--cyan);
}
.mv-icon { font-size: 22px; margin-bottom: 8px; }
.mv-card h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--navy);
    margin-bottom: 8px;
}
.mv-card p { font-size: 14px; line-height: 1.6; color: var(--gray-700); }

/* ══════════════════════════════════════════════════════
   SERVICES
══════════════════════════════════════════════════════ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--navy), var(--cyan));
    opacity: 0;
    transition: opacity var(--transition);
}
.service-card:hover {
    border-color: var(--cyan);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.service-card:hover::before { opacity: 1; }
.service-icon {
    width: 52px;
    height: 52px;
    background: var(--cyan-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--navy);
    transition: background var(--transition);
}
.service-icon svg { width: 26px; height: 26px; }
.service-card:hover .service-icon { background: var(--cyan); color: var(--white); }
.service-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 12px;
    line-height: 1.3;
}
.service-desc {
    font-size: 14.5px;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 20px;
}
.service-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--cyan-dark);
    transition: gap var(--transition);
}
.service-link:hover { color: var(--navy); }

/* ══════════════════════════════════════════════════════
   HOURS
══════════════════════════════════════════════════════ */
.hours-section { background: var(--navy); }
.hours-section .section-label { background: rgba(0,174,239,.2); color: #7ed9f7; }
.hours-section .section-heading { color: var(--white); }
.hours-section .body-text { color: rgba(255,255,255,.7); }
.hours-section .btn-outline {
    color: var(--white);
    border-color: rgba(255,255,255,.4);
    display: flex;
    margin-top: .75rem;
}
.hours-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.hours-text { display: flex; flex-direction: column; }
.hours-table-wrap {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius-xl);
    overflow: hidden;
    backdrop-filter: blur(8px);
}
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table tr {
    border-bottom: 1px solid rgba(255,255,255,.07);
    transition: background var(--transition);
}
.hours-table tr:last-child { border-bottom: none; }
.hours-table tr.today { background: rgba(0,174,239,.12); }
.hours-table td {
    padding: 15px 24px;
    font-size: 15px;
    color: rgba(255,255,255,.8);
}
.hours-table td.day { font-weight: 600; color: var(--white); }
.hours-table td.time { text-align: right; color: rgba(255,255,255,.65); }
.today-pill {
    display: inline-block;
    background: var(--cyan);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 99px;
    margin-left: 8px;
    letter-spacing: .04em;
    vertical-align: middle;
}
.closed-label { color: rgba(255,255,255,.3); font-style: italic; }

/* ══════════════════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════════════════ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.testimonial-card {
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: relative;
}
.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 28px;
    font-family: var(--font-display);
    font-size: 80px;
    color: var(--cyan-light);
    line-height: 1;
    z-index: 0;
}
.testimonial-stars {
    color: #f59e0b;
    font-size: 16px;
    margin-bottom: 14px;
    letter-spacing: 2px;
}
.testimonial-quote {
    font-size: 15.5px;
    line-height: 1.75;
    color: var(--gray-700);
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}
.testimonial-author {
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
}

/* ══════════════════════════════════════════════════════
   TEAM
══════════════════════════════════════════════════════ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}
.team-card {
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: all var(--transition);
}
.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.team-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy), var(--cyan));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    font-family: var(--font-display);
}
.team-name {
    font-family: var(--font-display);
    font-size: 20px;
    color: var(--navy);
    margin-bottom: 4px;
}
.team-title {
    font-size: 14px;
    color: var(--cyan-dark);
    font-weight: 600;
    margin-bottom: 4px;
}
.team-creds {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 14px;
}
.team-bio { font-size: 14.5px; color: var(--gray-500); line-height: 1.65; }

/* ══════════════════════════════════════════════════════
   CONTACT
══════════════════════════════════════════════════════ */
.contact-section { background: var(--off-white); }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}
.contact-details { margin-top: 32px; display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon { font-size: 22px; flex-shrink: 0; line-height: 1; }
.contact-item strong { display: block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--navy); margin-bottom: 4px; }
.contact-item p { font-size: 15px; color: var(--gray-700); }
.contact-item a:hover { color: var(--cyan-dark); }
.map-link { font-size: 13px; color: var(--cyan-dark); font-weight: 600; }

.contact-form-wrap {
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.form-group label { font-size: 13.5px; font-weight: 600; color: var(--navy); }
.form-group input,
.form-group textarea {
    width: 100%;
    border: 1.5px solid var(--gray-300);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--gray-900);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(0,174,239,.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    margin-bottom: 18px;
}
.form-success {
    text-align: center;
    padding: 48px 24px;
}
.success-icon {
    width: 64px;
    height: 64px;
    background: #dcfce7;
    color: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin: 0 auto 20px;
}
.form-success h3 { font-family: var(--font-display); color: var(--navy); font-size: 24px; margin-bottom: 10px; }
.form-success p { color: var(--gray-500); }

/* ══════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════ */
.footer {
    background: var(--navy-deep);
    color: rgba(255,255,255,.7);
    padding: 64px 0 32px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer-logo {
    height: 56px;
    width: auto;
    object-fit: contain;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
    opacity: .85;
}
.footer-brand p { font-size: 14px; line-height: 1.65; max-width: 280px; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.6);
    transition: all var(--transition);
}
.footer-social a:hover { border-color: var(--cyan); color: var(--cyan); }
.footer-social a svg { width: 16px; height: 16px; }

.footer-col h4 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--white);
    margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li { font-size: 14px; }
.footer-col ul li a:hover { color: var(--cyan); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 24px;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,.35);
}

/* ══════════════════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════════════════ */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(8px); }
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: none;
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid    { grid-template-columns: 1fr; gap: 48px; }
    .about-visual  { display: none; }
    .hours-grid    { grid-template-columns: 1fr; gap: 48px; }
    .contact-grid  { grid-template-columns: 1fr; gap: 48px; }
    .footer-grid   { grid-template-columns: 1fr 1fr; }
    .footer-brand  { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: var(--nav-h);
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px 24px 28px;
        gap: 4px;
        border-bottom: 1px solid var(--gray-300);
        box-shadow: var(--shadow-lg);
    }
    .nav-links.open { display: flex; }
    .nav-links li { width: 100%; }
    .nav-links li a { display: block; width: 100%; }
    .nav-cta { text-align: center; }
    .nav-toggle { display: flex; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2) { border-right: none; }

    .services-grid       { grid-template-columns: 1fr; }
    .testimonials-grid   { grid-template-columns: 1fr; }
    .mission-vision      { grid-template-columns: 1fr; }
    .form-row            { grid-template-columns: 1fr; }
    .footer-grid         { grid-template-columns: 1fr; }

    .section { padding: 64px 0; }
    .hero-actions { flex-direction: column; align-items: center; }
}
