:root {
    --green-950: #052f28;
    --green-900: #063e34;
    --green-800: #075b45;
    --green-700: #087358;
    --green-100: #e7f4ee;
    --green-50: #f3faf6;
    --blue: #2d73a6;
    --gold: #d6a84e;
    --ink: #11241f;
    --muted: #60746d;
    --border: #dce8e2;
    --surface: #ffffff;
    --bg: #f5f8f6;
    --danger: #c43838;
    --shadow: 0 20px 60px rgba(5, 47, 40, .10);
    --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: "Changa", Tahoma, Arial, sans-serif;
    line-height: 1.75;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
.narrow-container { width: min(920px, calc(100% - 32px)); }
.skip-link { position: fixed; inset: 10px auto auto 10px; transform: translateY(-150%); z-index: 9999; background: #fff; color: var(--green-900); padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { transform: none; }

.site-header {
    position: relative;
    z-index: 20;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(122deg, var(--green-950), var(--green-800) 60%, #123e67);
    border-bottom: 1px solid rgba(255,255,255,.12);
}
.site-header::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .08; background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 1px); background-size: 24px 24px; }
.header-glow { position: absolute; width: 260px; height: 260px; border-radius: 50%; filter: blur(20px); opacity: .18; }
.header-glow-one { background: #78d4a4; top: -180px; right: 14%; }
.header-glow-two { background: #67aee0; bottom: -220px; left: 12%; }
.identity-bar { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 20px; position: relative; z-index: 2; }
.identity { display: flex; align-items: center; gap: 16px; color: #fff; text-decoration: none; }
.logo-pair { display: flex; }
.logo-disc { width: 68px; height: 68px; border-radius: 50%; background: #fff; padding: 6px; display: grid; place-items: center; border: 2px solid rgba(255,255,255,.75); box-shadow: 0 8px 22px rgba(0,0,0,.16); overflow: hidden; }
.logo-disc + .logo-disc { margin-right: -12px; }
.logo-disc img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; }
.identity-text { display: grid; line-height: 1.35; }
.identity-text strong { font-size: 1.2rem; font-weight: 800; }
.identity-text small { color: #dcece6; font-size: .92rem; }
.lookup-link { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.1); padding: 11px 18px; border-radius: 14px; transition: .2s ease; }
.lookup-link:hover { background: #fff; color: var(--green-900); transform: translateY(-2px); }

.hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(122deg, var(--green-950), var(--green-800) 58%, #123e67); padding: 54px 0 72px; }
.hero::before { content: ""; position: absolute; width: 560px; height: 560px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; top: -240px; left: -120px; box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.02); }
.hero-grid { display: grid; grid-template-columns: 1.4fr .7fr; gap: 54px; align-items: center; position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 8px 15px; color: #e5f5ed; font-size: .9rem; }
.hero h1 { font-size: clamp(2.15rem, 4.8vw, 4rem); line-height: 1.25; margin: 20px 0 14px; letter-spacing: -.8px; }
.hero-copy > p { max-width: 760px; color: #d9ebe4; font-size: 1.08rem; margin: 0; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-chips span { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.14); padding: 9px 14px; border-radius: 12px; color: #fff; }
.hero-art { width: min(320px, 80vw); aspect-ratio: 1; justify-self: center; position: relative; background: rgba(255,255,255,.95); border-radius: 50%; padding: 18px; box-shadow: 0 26px 80px rgba(0,0,0,.24), 0 0 0 12px rgba(255,255,255,.08); }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: center; border-radius: 50%; }
.image-orbit { position: absolute; inset: -16px; border: 1px dashed rgba(255,255,255,.42); border-radius: 50%; animation: rotate 22s linear infinite; }
.image-orbit::after { content: ""; position: absolute; width: 13px; height: 13px; background: var(--gold); border: 4px solid var(--green-800); border-radius: 50%; top: 20%; right: 0; }
@keyframes rotate { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .image-orbit { animation: none; } }

.info-strip { margin-top: -28px; position: relative; z-index: 5; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr auto; gap: 14px; align-items: stretch; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); border-radius: 22px; padding: 14px; }
.info-grid article { display: flex; align-items: center; gap: 13px; padding: 9px 10px; }
.info-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--green-100); color: var(--green-700); flex: 0 0 auto; }
.info-grid small, .info-grid strong { display: block; }
.info-grid small { color: var(--muted); font-size: .75rem; }
.info-grid strong { font-size: .88rem; line-height: 1.5; }
.map-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; background: var(--green-900); color: #fff; border-radius: 15px; padding: 10px 18px; white-space: nowrap; }

.booking-section { padding: 78px 0 100px; }
.section-heading { text-align: center; margin-bottom: 30px; }
.section-heading > span { color: var(--green-700); font-weight: 700; }
.section-heading h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 4px 0; }
.section-heading p { color: var(--muted); margin: 0; }
.booking-form { display: grid; gap: 22px; }
.trap-field { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 12px 45px rgba(5,47,40,.06); overflow: hidden; }
.form-card-title { display: flex; align-items: center; gap: 14px; padding: 22px 25px; background: linear-gradient(90deg, #fff, var(--green-50)); border-bottom: 1px solid var(--border); }
.form-card-title > span { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--green-900); color: #fff; font-weight: 800; box-shadow: 0 8px 20px rgba(6,62,52,.22); }
.form-card-title h3, .form-card-title p { margin: 0; }
.form-card-title h3 { font-size: 1.08rem; }
.form-card-title p { color: var(--muted); font-size: .78rem; }
.fields-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; padding: 26px; }
.field.full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 700; margin-bottom: 7px; font-size: .94rem; }
.field label b { color: var(--danger); }
.hint { display: block; color: var(--muted); margin: -5px 0 7px; font-size: .75rem; }
.control { display: flex; align-items: center; gap: 11px; min-height: 54px; border: 1px solid #cedbd5; background: #fbfdfc; border-radius: 14px; padding: 0 15px; transition: .18s ease; }
.control:focus-within { border-color: var(--green-700); background: #fff; box-shadow: 0 0 0 4px rgba(8,115,88,.1); }
.control > i { color: var(--green-700); width: 20px; text-align: center; flex: 0 0 auto; }
.control input, .control select, .control textarea { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); min-width: 0; }
.control input, .control select { min-height: 52px; }
.control select { appearance: none; cursor: pointer; }
.select-control { position: relative; }
.select-control::after { content: "⌄"; position: absolute; left: 15px; color: var(--muted); pointer-events: none; }
.textarea-control { align-items: flex-start; padding-top: 14px; }
.textarea-control i { margin-top: 5px; }
.control textarea { resize: vertical; min-height: 115px; }
.ltr-control input { direction: ltr; text-align: right; }
.field-error { margin: 6px 3px 0; color: var(--danger); font-size: .78rem; }
.submit-panel { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; background: linear-gradient(135deg, var(--green-950), var(--green-800)); color: #fff; border-radius: var(--radius); padding: 24px 27px; box-shadow: 0 18px 48px rgba(5,47,40,.18); }
.submit-panel > div { display: flex; gap: 13px; align-items: flex-start; }
.submit-panel > div > i { color: #8ce0b9; margin-top: 6px; }
.submit-panel p { margin: 0; color: #d9ebe4; font-size: .86rem; }
.submit-panel strong { color: #fff; display: block; }
.primary-button, .secondary-button { border: 0; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 14px; padding: 13px 20px; font-weight: 700; transition: .2s ease; }
.primary-button { background: linear-gradient(135deg, #e5bd65, var(--gold)); color: #26301d; box-shadow: 0 10px 25px rgba(214,168,78,.22); }
.primary-button:hover { transform: translateY(-2px); filter: brightness(1.04); }
.primary-button:disabled { opacity: .65; cursor: wait; transform: none; }
.secondary-button { border: 1px solid var(--border); background: #fff; color: var(--green-900); }
.secondary-button:hover { border-color: var(--green-700); background: var(--green-50); }
.existing-booking { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; margin-top: 24px; padding: 20px 22px; background: #fff; border: 1px dashed #b8cec3; border-radius: 18px; }
.existing-booking > i { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; background: var(--green-100); color: var(--green-800); }
.existing-booking strong, .existing-booking p { display: block; margin: 0; }
.existing-booking p { color: var(--muted); font-size: .82rem; }
.existing-booking a { color: var(--green-700); font-weight: 700; }
.alert { display: flex; gap: 12px; align-items: center; padding: 16px 18px; border-radius: 15px; margin-bottom: 20px; }
.alert p, .alert strong { margin: 0; }
.alert-danger { background: #fff1f1; color: #9f2929; border: 1px solid #f2caca; }
.alert-success { background: #eaf8ef; color: #176239; border: 1px solid #bfe6cd; }
.alert-info { background: #eef7fc; color: #245f81; border: 1px solid #c9e3f1; }

.inner-hero { color: #fff; background: linear-gradient(122deg, var(--green-950), var(--green-800) 62%, #123e67); padding: 54px 0 70px; text-align: center; }
.inner-hero span { color: #bfe7d4; font-weight: 700; }
.inner-hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin: 8px 0 5px; }
.inner-hero p { margin: 0; color: #d6e9e1; }
.lookup-section { padding: 60px 0 100px; }
.lookup-container { max-width: 620px; }
.lookup-card { display: grid; gap: 20px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; }
.full-button { width: 100%; }
.back-link { color: var(--green-700); text-align: center; font-weight: 600; }

.success-page { padding: 54px 0 90px; }
.success-container { max-width: 900px; }
.success-heading { display: flex; gap: 18px; align-items: center; margin: 20px 0 26px; }
.success-heading span, .success-heading h1, .success-heading p { margin: 0; }
.success-heading > div > span { color: var(--green-700); font-weight: 700; }
.success-heading h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
.success-heading p { color: var(--muted); }
.success-check { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto; color: #fff; background: linear-gradient(135deg, #14915d, var(--green-800)); box-shadow: 0 10px 25px rgba(8,115,88,.24); font-size: 1.5rem; }
.appointment-card { position: relative; overflow: hidden; background: #fff; border: 1px solid #cbded5; border-radius: 28px; box-shadow: var(--shadow); }
.appointment-card::before { content: ""; display: block; height: 8px; background: linear-gradient(90deg, var(--green-800), var(--gold), var(--blue)); }
.card-watermark { position: absolute; left: -70px; bottom: -110px; width: 330px; height: 330px; background: url('/damg-qalubia.jpeg') center/cover; opacity: .035; border-radius: 50%; pointer-events: none; }
.card-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 28px; border-bottom: 1px solid var(--border); }
.card-brand { display: flex; align-items: center; gap: 13px; }
.card-brand img { width: 68px; height: 68px; object-fit: cover; border: 1px solid var(--border); border-radius: 50%; padding: 3px; }
.card-brand div { display: grid; }
.card-brand strong { font-size: 1.05rem; }
.card-brand span { color: var(--muted); font-size: .8rem; }
.status-badge { border-radius: 999px; padding: 7px 13px; font-size: .75rem; font-weight: 700; background: var(--green-100); color: var(--green-800); }
.status-badge.cancelled { background: #fff0f0; color: #a22b2b; }
.status-badge.absent { background: #fff6e7; color: #8a5c0a; }
.card-title { text-align: center; padding: 25px 24px 10px; }
.card-title span, .card-title strong { display: block; }
.card-title span { color: var(--green-700); font-size: .82rem; font-weight: 700; }
.card-title strong { font-size: clamp(1.45rem, 4vw, 2.2rem); }
.appointment-highlight { margin: 16px 28px 23px; padding: 24px; border-radius: 20px; text-align: center; color: #fff; background: linear-gradient(135deg, var(--green-950), var(--green-800)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.appointment-highlight span, .appointment-highlight strong, .appointment-highlight small { display: block; }
.appointment-highlight span { color: #aee2ca; font-size: .82rem; }
.appointment-highlight strong { font-size: clamp(1.45rem, 4vw, 2.15rem); margin: 5px 0; }
.appointment-highlight small { color: #d9eae3; }
.card-details { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 0 28px 24px; }
.card-details > div { border: 1px solid var(--border); background: var(--green-50); border-radius: 15px; padding: 13px 16px; }
.card-details .wide { grid-column: 1 / -1; }
.card-details span, .card-details strong { display: block; }
.card-details span { color: var(--muted); font-size: .74rem; }
.card-details strong { font-size: .94rem; }
.location-box { display: flex; gap: 14px; align-items: flex-start; margin: 0 28px 24px; padding: 18px; border-radius: 17px; background: #fff9eb; border: 1px solid #f0dfb6; }
.location-box > i { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; color: #956a12; background: #f9e8bd; flex: 0 0 auto; }
.location-box span, .location-box strong, .location-box p { display: block; margin: 0; }
.location-box span { color: #8b7240; font-size: .73rem; }
.location-box p { color: #705e3b; font-size: .82rem; }
.card-footer { display: flex; justify-content: space-between; gap: 20px; padding: 17px 28px; background: #f2f7f4; border-top: 1px solid var(--border); color: var(--muted); font-size: .73rem; }
.card-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }
.important-note { display: flex; gap: 14px; margin-top: 24px; padding: 19px; border-radius: 17px; background: #fff; border: 1px solid var(--border); }
.important-note > i { color: var(--gold); margin-top: 7px; }
.important-note strong, .important-note p { display: block; margin: 0; }
.important-note p { color: var(--muted); font-size: .83rem; }

.site-footer { background: linear-gradient(145deg, var(--green-950), #063e34 46%, #075544); color: #e7f5ee; padding-top: 48px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; padding-bottom: 38px; }
.footer-grid h3 { margin: 0 0 10px; color: #fff; font-size: 1rem; }
.footer-grid p { margin: 4px 0; color: #cce3d9; font-size: .82rem; }
.footer-grid a { color: #e8c77e; font-size: .8rem; }
.copyright { border-top: 1px solid rgba(255,255,255,.1); padding: 15px; text-align: center; color: #b9d3c8; font-size: .75rem; }

@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr .48fr; gap: 28px; }
    .info-grid { grid-template-columns: 1fr 1fr; }
    .map-button { grid-column: 1 / -1; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
    .container, .narrow-container { width: min(100% - 22px, 1180px); }
    .identity-bar { min-height: 84px; }
    .logo-disc { width: 50px; height: 50px; }
    .identity-text strong { font-size: .95rem; }
    .identity-text small { font-size: .68rem; }
    .lookup-link { width: 43px; height: 43px; padding: 0; justify-content: center; }
    .lookup-link { font-size: 0; }
    .lookup-link i { font-size: 1rem; }
    .hero { padding: 40px 0 70px; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-copy { display: grid; justify-items: center; }
    .hero-art { grid-row: 1; width: 210px; }
    .hero h1 { font-size: 2.15rem; }
    .hero-chips { justify-content: center; }
    .info-grid { grid-template-columns: 1fr; padding: 11px; }
    .info-grid article { align-items: flex-start; }
    .map-button { grid-column: auto; }
    .booking-section { padding: 60px 0 75px; }
    .fields-grid { grid-template-columns: 1fr; padding: 20px 16px; gap: 18px; }
    .field.full { grid-column: auto; }
    .form-card-title { padding: 18px 16px; }
    .submit-panel { grid-template-columns: 1fr; padding: 20px 18px; }
    .submit-panel .primary-button { width: 100%; }
    .existing-booking { grid-template-columns: auto 1fr; }
    .existing-booking a { grid-column: 1 / -1; text-align: center; border-top: 1px solid var(--border); padding-top: 11px; }
    .lookup-card { padding: 22px 17px; }
    .success-heading { align-items: flex-start; }
    .success-check { width: 50px; height: 50px; }
    .card-header { padding: 18px; align-items: flex-start; }
    .card-brand img { width: 52px; height: 52px; }
    .card-brand span { font-size: .66rem; }
    .status-badge { padding: 5px 9px; white-space: nowrap; }
    .appointment-highlight { margin-inline: 16px; padding-inline: 13px; }
    .card-details { grid-template-columns: 1fr; padding-inline: 16px; }
    .card-details .wide { grid-column: auto; }
    .location-box { margin-inline: 16px; }
    .card-footer { flex-direction: column; gap: 4px; padding-inline: 18px; }
    .card-actions > * { width: 100%; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

@media print {
    @page { size: A4; margin: 12mm; }
    body { background: #fff; }
    .site-header, .site-footer, .success-heading, .alert, .no-print, .important-note { display: none !important; }
    .success-page { padding: 0; }
    .container, .success-container { width: 100%; max-width: none; }
    .appointment-card { box-shadow: none; break-inside: avoid; }
}
