/* Core */
:root{
  --navy:#1A2744;
  --navy-2:#243258;
  --navy-3:#2d4273;
  --burg:#7A1E30;
  --gold:#BF9140;
  --gold-2:#D4A84B;
  --gold-soft:#ecd8a3;
  --ivory:#F9F6EF;
  --linen:#EFE8DA;
  --white:#fff;
  --text:#3d3328;
  --muted:#6f6253;
  --shadow:0 24px 60px rgba(26,39,68,.14);
  --shadow-sm:0 10px 24px rgba(26,39,68,.08);
  --shadow-soft:0 18px 40px rgba(16,24,40,.08);
  --radius:22px;
  --nav-h:88px;
  --mw:1200px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  background:var(--ivory);
  color:var(--text);
  font-family:"Lato",sans-serif;
  line-height:1.75;
  overflow-x:hidden;
  background-image:
    radial-gradient(circle at top left, rgba(212,168,75,.14), transparent 22%),
    radial-gradient(circle at bottom right, rgba(36,50,88,.10), transparent 26%);
}
html[lang="ar"] body,
html[lang="ar"] input,
html[lang="ar"] select,
html[lang="ar"] textarea,
html[lang="ar"] button{font-family:"Cairo",sans-serif}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
button{border:0;background:none;font:inherit;cursor:pointer}
table{width:100%;border-collapse:collapse}
.container{max-width:var(--mw);margin:0 auto;padding:0 1.5rem}
.section{padding:5rem 0}
.sec--alt{background:var(--linen)}
.tc{text-align:center}
.reveal-up{
  opacity:0;transform:translateY(26px);transition:opacity .7s ease,transform .7s ease
}
.reveal-up.is-visible{opacity:1;transform:none}
.grid-3,.grid-4{
  display:grid;
  gap:1.5rem;
}
.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}
h1,h2,h3,h4{line-height:1.2}
h1{font-family:"Cinzel",serif}
h2,h3{font-family:"Playfair Display",serif}
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4{font-family:"Cairo",sans-serif}
.eyebrow{
  display:block;
  color:var(--gold);
  font-size:.82rem;
  font-weight:800;
  letter-spacing:.18em;
  text-transform:uppercase;
  margin-bottom:.65rem;
}
html[lang="ar"] .eyebrow{letter-spacing:0}
.sec-hd{max-width:760px;margin:0 auto 2rem;text-align:center}
.sec-hd h2{font-size:clamp(1.8rem,4vw,2.7rem);color:var(--navy)}
.sec-hd p{margin-top:.85rem;color:var(--muted)}

/* Nav */
#nav{
  position:fixed;inset:0 0 auto 0;height:var(--nav-h);z-index:1000;
  background:rgba(14,24,48,.78);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(255,255,255,.08);
  box-shadow:0 16px 34px rgba(0,0,0,.12);
}
.nav-inner{
  max-width:var(--mw);margin:0 auto;padding:0 1.5rem;height:100%;
  display:flex;align-items:center;justify-content:space-between;gap:1rem;
}
.nav-brand{
  display:flex;align-items:center;gap:.9rem;min-width:0;
  padding:.3rem .55rem;
}
.brand-logo{
  width:52px;height:52px;object-fit:contain;background:transparent;border-radius:0;
  padding:0;filter:drop-shadow(0 6px 14px rgba(0,0,0,.22));
}
.brand-name{
  color:#fff;font-weight:800;font-size:.98rem;
  font-family:"Playfair Display",serif;letter-spacing:.02em
}
html[lang="ar"] .brand-name{font-family:"Cairo",sans-serif;font-weight:800;letter-spacing:0}
.brand-sub{color:var(--gold-soft);font-size:.7rem}
.nav-links,.nav-actions{display:flex;align-items:center;gap:.25rem}
.nav-links a{
  color:rgba(255,255,255,.82);padding:.6rem .75rem;border-radius:999px;
  font-size:.78rem;font-weight:700;transition:.25s ease;white-space:nowrap;
}
.nav-links a.active,.nav-links a:hover{
  background:linear-gradient(135deg,rgba(255,255,255,.12),rgba(212,168,75,.13));
  color:#fff
}
.lang-toggle{
  display:inline-flex;align-items:center;gap:.45rem;
  color:var(--gold-soft);border:1px solid rgba(191,145,64,.55);
  padding:.6rem .95rem;border-radius:999px;font-weight:700;font-size:.86rem;
  background:rgba(191,145,64,.11);transition:.2s ease;
}
.lang-toggle:hover{background:rgba(191,145,64,.2)}
.lang-toggle .sep{opacity:.7}
.hamburger{display:none;flex-direction:column;gap:5px;padding:.5rem}
.hamburger span{width:24px;height:2px;background:#fff;border-radius:4px}
.nav-mob{
  display:none;position:fixed;top:var(--nav-h);left:1rem;right:1rem;z-index:999;
  background:var(--navy);border-radius:0 0 18px 18px;overflow:hidden;
  box-shadow:var(--shadow);
}
.nav-mob.open{display:block}
.nav-mob a{
  display:block;padding:1rem 1.2rem;border-bottom:1px solid rgba(255,255,255,.07);
  color:#fff
}
.nav-mob a.active{color:var(--gold)}
.nav-mob .lang-toggle{
  width:calc(100% - 2.4rem);margin:1rem 1.2rem;justify-content:center;
  border-color:rgba(191,145,64,.5);
}

/* Buttons */
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:1rem 1.45rem;border-radius:999px;font-weight:800;letter-spacing:.03em;
  transition:.25s ease;box-shadow:var(--shadow-soft)
}
.btn-gold{
  background:linear-gradient(135deg,var(--gold),var(--gold-2));
  color:var(--navy)
}
.btn-gold:hover{transform:translateY(-3px);box-shadow:0 18px 34px rgba(191,145,64,.28)}
.btn-outline{
  border:1px solid rgba(255,255,255,.3);color:#fff;background:rgba(255,255,255,.08);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)
}
.btn-outline:hover{background:rgba(255,255,255,.14);transform:translateY(-3px)}
.btn-navy{background:var(--navy);color:#fff}
.btn-ghost-light{
  background:rgba(255,255,255,.08);color:#fff;border:1px solid rgba(255,255,255,.18)
}
.btn-ghost-light:hover{background:rgba(255,255,255,.14);transform:translateY(-3px)}

/* Hero */
#hero{
  position:relative;min-height:100vh;min-height:100dvh;display:flex;align-items:center;
  padding:calc(var(--nav-h) + 3rem) 0 5rem;
  background:
    linear-gradient(180deg,rgba(14,24,48,.83),rgba(20,30,57,.68),rgba(80,22,38,.88)),
    url("../assets/church-building.jpg") center/cover no-repeat,
    linear-gradient(135deg,var(--navy),var(--burg));
}
.hero-overlay{
  position:absolute;inset:0;
  background:
    radial-gradient(circle at top,rgba(255,255,255,.14),transparent 45%),
    linear-gradient(90deg,rgba(26,39,68,.38),transparent 60%)
}
.hero-content{position:relative;z-index:1;text-align:center;max-width:860px}
.hero-float-row{display:contents}
.hero-float{
  position:absolute;width:140px;height:auto;object-fit:contain;
  opacity:0;z-index:1;
  filter:drop-shadow(0 10px 22px rgba(0,0,0,.45));
  animation-fill-mode:forwards,none;
  animation-timing-function:cubic-bezier(.22,.85,.3,1.1),ease-in-out;
  animation-iteration-count:1,infinite;
}
/* Positioned in the empty corners of the hero, clear of the centered title/text block */
.hero-float--left{
  top:14%;left:5%;
  animation-name:hero-float-in-left,hero-float-bob-left;
  animation-duration:1.5s,6s;
  animation-delay:.3s,1.8s;
}
.hero-float--right{
  bottom:12%;right:5%;
  animation-name:hero-float-in-right,hero-float-bob-right;
  animation-duration:1.5s,6s;
  animation-delay:.5s,2.3s;
}
/* Entrance: each icon swoops in from off-screen and settles into a gentle lean
   toward the centered church name, without any crop/filter altering the artwork itself */
@keyframes hero-float-in-left{
  0%{opacity:0;transform:translate(-70px,-30px) rotate(-22deg) scale(.8)}
  65%{opacity:1;transform:translate(4px,4px) rotate(-3deg) scale(1.04)}
  100%{opacity:1;transform:translate(0,0) rotate(-6deg) scale(1)}
}
@keyframes hero-float-in-right{
  0%{opacity:0;transform:translate(70px,-30px) rotate(22deg) scale(.8)}
  65%{opacity:1;transform:translate(-4px,4px) rotate(3deg) scale(1.04)}
  100%{opacity:1;transform:translate(0,0) rotate(6deg) scale(1)}
}
/* Idle: a slow bob that keeps each icon leaning gently in toward the title */
@keyframes hero-float-bob-left{
  0%,100%{transform:translateY(0) rotate(-6deg)}
  50%{transform:translateY(-14px) rotate(-2deg)}
}
@keyframes hero-float-bob-right{
  0%,100%{transform:translateY(0) rotate(6deg)}
  50%{transform:translateY(-14px) rotate(2deg)}
}
@media (max-width:960px){
  .hero-float{width:92px}
  .hero-float--left{top:9%;left:3%}
  .hero-float--right{bottom:7%;right:3%}
}
@media (max-width:640px){
  /* Keep the same left/right corner placement as desktop, just smaller,
     so each icon stays to its own side instead of sitting centered in the text */
  .hero-float{width:56px}
  .hero-float--left{top:calc(var(--nav-h) + .75rem);left:2%}
  .hero-float--right{bottom:6%;right:2%}
}
.hero-shell{
  padding:2rem 2rem 1.4rem;
  background:linear-gradient(180deg,rgba(255,255,255,.10),rgba(255,255,255,.06));
  border:1px solid rgba(255,255,255,.14);
  -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
  border-radius:30px;
  box-shadow:0 30px 70px rgba(0,0,0,.22)
}
.hero-eyebrow{
  display:inline-block;color:var(--gold);font-size:.9rem;font-weight:800;
  letter-spacing:.18em;text-transform:uppercase;margin-bottom:1rem
}
.hero-title{font-size:clamp(2.4rem,6vw,4.9rem);color:#fff;margin-bottom:1rem}
.hero-location{
  color:rgba(255,255,255,.75);font-size:clamp(1rem,2vw,1.2rem);font-weight:600;
  letter-spacing:.08em;margin-bottom:1.4rem;font-family:"Playfair Display",serif
}
html[lang="ar"] .hero-location{font-family:"Cairo",sans-serif;letter-spacing:0}
.hero-sub{
  color:rgba(255,255,255,.88);font-size:clamp(1.05rem,2vw,1.3rem);max-width:760px;
  margin:0 auto 2rem;font-family:"Playfair Display",serif
}
html[lang="ar"] .hero-sub{font-family:"Amiri","Cairo",serif;font-style:italic;font-weight:400}
.hero-actions{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}
.hero-meta{
  margin-top:1.3rem;display:flex;flex-wrap:wrap;justify-content:center;gap:.8rem
}
.hero-pill{
  display:inline-flex;align-items:center;gap:.55rem;padding:.72rem 1rem;border-radius:999px;
  background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.14);color:#fff
}
.hero-pill i{color:var(--gold-soft)}
.hero-stats{
  margin-top:1.5rem;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;text-align:start
}
.hero-stat{
  padding:1rem 1.1rem;border-radius:20px;background:rgba(10,16,34,.28);
  border:1px solid rgba(255,255,255,.1)
}
.hero-stat strong{display:block;color:#fff;margin-bottom:.25rem}
.hero-stat span{display:block;color:rgba(255,255,255,.72);font-size:.95rem}

/* Cards / sections */
.welcome-card,.info-box,.val-card,.event-card,.gallery-card,.table-wrap,.cform,.donate-box{
  background:rgba(255,255,255,.94);border-radius:var(--radius);box-shadow:var(--shadow);
  border:1px solid rgba(26,39,68,.06)
}
.donate-box{
  text-align:center;padding:3rem 2rem;max-width:640px;margin:0 auto
}
.donate-icon{
  width:64px;height:64px;border-radius:50%;background:rgba(192,160,83,.14);
  display:flex;align-items:center;justify-content:center;margin:0 auto 1.2rem;
  color:var(--gold-dark);font-size:1.5rem
}
.donate-box h2{color:var(--navy);margin-bottom:.8rem}
.donate-box p{color:var(--muted);margin-bottom:1.6rem;line-height:1.7}
.donate-actions{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}
.welcome-card{
  display:grid;grid-template-columns:280px 1fr;gap:2rem;padding:2rem;align-items:center;
  position:relative;overflow:hidden
}
.welcome-card::before{
  content:"";position:absolute;inset:0 auto 0 0;width:8px;
  background:linear-gradient(180deg,var(--gold),var(--burg))
}
.welcome-photo{
  width:100%;height:340px;object-fit:cover;border-radius:18px;border:4px solid rgba(191,145,64,.18);
  box-shadow:var(--shadow-sm)
}
.welcome-quote{font-size:1.08rem;color:var(--text);margin-bottom:1rem}
.sig-name{font-size:1.3rem;color:var(--navy);font-weight:700}
html[lang="ar"] .welcome-quote{font-family:"Amiri","Cairo",serif;font-size:1.18rem;line-height:2}
html[lang="ar"] .sig-name{font-family:"Amiri","Cairo",serif;font-style:italic}
.sig-role{color:var(--gold);font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.qlink{
  background:linear-gradient(180deg,#fff,#fcfaf5);padding:1.65rem;border-radius:var(--radius);box-shadow:var(--shadow-sm);
  transition:.25s ease;text-align:center;position:relative;overflow:hidden;border:1px solid rgba(26,39,68,.06)
}
.qlink::after{
  content:"";position:absolute;inset:auto 0 0 0;height:4px;
  background:linear-gradient(90deg,var(--gold),var(--burg));transform:scaleX(0);transform-origin:center;
  transition:transform .28s ease
}
.qlink:hover{transform:translateY(-7px);box-shadow:var(--shadow)}
.qlink:hover::after{transform:scaleX(1)}
.qlink-ico,.event-icon,.ci-ico{
  width:58px;height:58px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  margin:0 auto 1rem;background:linear-gradient(135deg,var(--navy),var(--navy-3));color:var(--gold-soft);
  box-shadow:0 14px 24px rgba(26,39,68,.18)
}
.qlink h3,.event-card h3{color:var(--navy);margin-bottom:.5rem}
.event-date{display:inline-block;color:var(--gold-dark);background:rgba(192,160,83,.14);
  font-size:.8rem;font-weight:700;padding:.22rem .75rem;border-radius:999px;margin-bottom:.6rem}

/* ── Upcoming feasts list (date-badge row style) ── */
.evt-list{display:flex;flex-direction:column;gap:.6rem}
.evt-row{
  position:relative;display:flex;gap:1.4rem;align-items:stretch;
  background:#fff;border-radius:20px;overflow:hidden;box-shadow:var(--shadow-sm);
  border:1px solid rgba(26,39,68,.06);
}
.evt-date-box{
  flex:0 0 auto;width:96px;display:flex;flex-direction:column;align-items:center;justify-content:center;
  background:var(--navy);color:#fff;line-height:1.1;padding:1rem .5rem
}
.evt-date-box .evt-mon{display:block;font-size:.72rem;font-weight:700;letter-spacing:.1em;color:var(--gold)}
.evt-date-box .evt-day{display:block;font-size:1.7rem;font-weight:800;font-family:"Playfair Display",serif}
.evt-body{flex:1 1 auto;min-width:0;padding:1.4rem 1.6rem 1.4rem 0}
.evt-title{font-family:"Playfair Display",serif;font-size:1.12rem;font-weight:700;color:var(--navy);margin-bottom:.4rem}
html[lang="ar"] .evt-title{font-family:"Cairo",sans-serif;font-weight:800}
.evt-desc{color:var(--muted);font-size:.92rem;line-height:1.6;margin-bottom:.7rem}
.evt-meta{display:flex;flex-wrap:wrap;gap:1.1rem;font-size:.82rem;color:#888}
.evt-meta span{display:flex;align-items:center;gap:.35rem}
.evt-meta i{color:var(--gold-dark);font-size:.8rem}
.evt-tag{
  background:rgba(192,160,83,.14);color:var(--gold-dark);font-size:.75rem;font-weight:700;
  padding:.25rem .8rem;border-radius:999px;white-space:nowrap
}
.qlink p,.event-card p,.val-card p{color:var(--muted)}
.media-grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem
}
.countdown{
  background:linear-gradient(135deg,var(--navy),var(--navy-2));
  padding:4rem 0;text-align:center
}
.countdown-panel{
  max-width:960px;margin:0 auto;padding:2rem 1.5rem;border-radius:28px;
  background:linear-gradient(180deg,rgba(255,255,255,.1),rgba(255,255,255,.04));
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 24px 60px rgba(7,12,28,.28)
}
.cd-label{color:var(--gold);font-weight:800;letter-spacing:.18em;text-transform:uppercase;margin-bottom:.35rem}
.cd-service{font-size:clamp(1.5rem,4vw,2.4rem);color:#fff;margin-bottom:.45rem;font-family:"Cinzel",serif}
html[lang="ar"] .cd-service{font-family:"Cairo",sans-serif}
.cd-info{color:rgba(255,255,255,.7);margin-bottom:1.5rem}
.cd-boxes{display:flex;justify-content:center;gap:1rem;flex-wrap:wrap}
.cd-box{
  min-width:92px;padding:1rem 1.15rem;border-radius:14px;
  background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12)
}
.cd-num{display:block;font-size:2rem;color:var(--gold);font-weight:800}
.cd-lbl{display:block;color:rgba(255,255,255,.8);font-size:.8rem}
@media (max-width:480px){
  .cd-boxes{flex-wrap:nowrap;gap:.5rem}
  .cd-box{min-width:0;flex:1;padding:.7rem .4rem}
  .cd-num{font-size:1.35rem}
  .cd-lbl{font-size:.65rem}
}
.scripture{background:var(--burg);padding:3.5rem 0;text-align:center}
.sc-text{font-size:clamp(1.1rem,3vw,1.6rem);color:#fff;font-family:"Playfair Display",serif}
.sc-ref{margin-top:.8rem;color:#f0d89d;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.dark-text{color:var(--navy)}
.dark-ref{color:var(--gold)}
.cta-band{
  display:grid;grid-template-columns:1.4fr auto;gap:1.5rem;align-items:center;
  padding:2rem;border-radius:30px;color:#fff;
  background:linear-gradient(135deg,var(--navy),var(--burg));
  box-shadow:var(--shadow)
}
.cta-band h2{font-size:clamp(1.6rem,3vw,2.4rem);margin-bottom:.7rem}
.cta-band p{color:rgba(255,255,255,.78)}
.cta-actions{display:flex;flex-wrap:wrap;gap:.85rem}

/* Banner and about */
.pg-banner{
  padding:calc(var(--nav-h) + 3rem) 0 2.5rem;
  background:
    linear-gradient(135deg,rgba(26,39,68,.95),rgba(122,30,48,.92)),
    url("../assets/iconostasis-dedication.jpg") center/cover no-repeat;
  color:#fff
}
.pg-banner h1{font-size:clamp(2rem,5vw,3.4rem);margin-bottom:.55rem}
.breadcrumb{display:flex;gap:.5rem;align-items:center;color:rgba(255,255,255,.82);flex-wrap:wrap}
.bc-gold{color:var(--gold-2)}
.hist-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:2rem;align-items:center}
.image-card{background:#fff;padding:1rem;border-radius:var(--radius);box-shadow:var(--shadow)}
.hist-img{border-radius:14px;background:#fff}
.hist-text h2{font-size:clamp(1.8rem,3vw,2.6rem);color:var(--navy);margin-bottom:1rem}
.hist-text p{color:var(--muted);margin-bottom:1rem}
.val-card,.event-card{
  padding:1.8rem;text-align:center;
  background:linear-gradient(180deg,#fff,#fcfaf6)
}
.event-card--media{padding:0 0 1.6rem;overflow:hidden}
.event-photo{
  width:100%;height:220px;object-fit:cover;display:block;
  border-radius:22px 22px 0 0
}
.event-card--media .event-icon{margin:-26px auto 1rem;position:relative;z-index:1}
.event-card--media h3,
.event-card--media p{padding-inline:1.4rem}
.event-card--media .event-date{display:inline-block;margin-inline:1.4rem}
.val-ico{font-size:2rem;color:var(--gold);margin-bottom:1rem}

/* Clergy */
.clergy-grid{align-items:stretch}
.clergy-card{
  background:#fff;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-sm);
  display:flex;flex-direction:column
}
.clergy-card--featured{border:2px solid rgba(191,145,64,.45)}
.clergy-media{position:relative;width:100%;height:280px;overflow:hidden;background:var(--navy)}
.clergy-img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;
  opacity:0;transition:opacity 1s ease;
}
.clergy-img.active{opacity:1}
.clergy-dots{position:absolute;bottom:12px;left:0;right:0;display:flex;justify-content:center;gap:6px;z-index:2}
.clergy-dot{width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.5);border:1px solid rgba(255,255,255,.7);transition:background .3s ease,transform .3s ease}
.clergy-dot.active{background:var(--gold);transform:scale(1.2)}
.clergy-ph{
  height:280px;background:linear-gradient(135deg,var(--navy),var(--burg));
  color:#fff;display:flex;align-items:center;justify-content:center;
  font-size:3rem;font-weight:800
}
.clergy-body{padding:1.4rem;display:flex;flex-direction:column;flex:1}
.clergy-role{display:block;color:var(--gold);font-size:.82rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;margin-bottom:.35rem}
.clergy-name{font-size:1.35rem;color:var(--navy);margin-bottom:.65rem}
.clergy-bio{color:var(--muted)}
.clergy-bio-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.5rem}
.clergy-bio-list li{
  position:relative;padding-inline-start:1.15rem;color:var(--muted);line-height:1.4
}
.clergy-bio-list li::before{
  content:'';position:absolute;inset-inline-start:0;top:.5em;
  width:6px;height:6px;border-radius:50%;background:var(--gold)
}


/* Tables */
.table-wrap{overflow:auto}
.sch-tbl th,.sch-tbl td{padding:1rem 1.1rem;text-align:start}
.sch-tbl thead th{background:var(--navy);color:var(--gold)}
.sch-tbl tbody td{border-bottom:1px solid #eee;background:#fff}
.sch-tbl tbody tr:last-child td{border-bottom:none}
.sch-tbl tbody tr:hover td{background:#fcfbf7}

/* Services schedule */
.schedule-split{display:grid;gap:2rem}
.schedule-group{
  background:rgba(255,255,255,.96);border-radius:var(--radius);box-shadow:var(--shadow);padding:2rem
}
.schedule-group-head{text-align:center;max-width:760px;margin:0 auto 1.5rem}
.schedule-group-head h3{font-size:2rem;color:var(--navy);margin-bottom:.45rem}
.schedule-group-head p{color:var(--muted)}
.liturgy-grid,.service-grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem
}
.schedule-card{
  background:#fcfaf5;border:1px solid rgba(191,145,64,.18);border-radius:20px;padding:1.35rem 1.25rem;
  box-shadow:var(--shadow-sm);transition:transform .22s ease, box-shadow .22s ease
}
.schedule-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.schedule-tag{
  display:inline-block;margin-bottom:.85rem;padding:.35rem .7rem;border-radius:999px;
  background:rgba(191,145,64,.12);color:var(--burg);font-size:.82rem;font-weight:800
}
.schedule-card h4{font-size:1.15rem;color:var(--navy);margin-bottom:.45rem}
.schedule-card p{color:var(--muted);margin-bottom:.3rem}
.schedule-time{color:var(--gold);font-weight:800}

/* Contact */
.contact-wrap{display:grid;grid-template-columns:.95fr 1.1fr;gap:2rem}
.ci-list h3,.cform h3{font-size:1.9rem;color:var(--navy);margin-bottom:1rem}
.ci-item{display:flex;gap:1rem;align-items:flex-start;margin-bottom:1.2rem}
.ci-item .ci-ico{margin:0}
.ci-text h4{font-size:.85rem;color:var(--gold);letter-spacing:.12em;text-transform:uppercase}
.ci-text p,.ci-text a{color:var(--text)}
.ci-text a:hover{color:var(--burg)}
.cform{padding:2rem;background:linear-gradient(180deg,#fff,#fcfaf5)}
.frow{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.fg{margin-bottom:1rem}
.fg label{display:block;margin-bottom:.35rem;color:var(--muted);font-weight:700}
.fg input,.fg textarea,.fg select{
  width:100%;padding:.95rem 1rem;border:1px solid rgba(26,39,68,.12);border-radius:14px;background:#fffdf9;color:var(--text);
  transition:border-color .2s ease, box-shadow .2s ease, background .2s ease
}
.fg input:focus,.fg textarea:focus,.fg select:focus{
  outline:none;border-color:rgba(191,145,64,.7);box-shadow:0 0 0 4px rgba(191,145,64,.12);background:#fff
}
.fg textarea{min-height:130px;resize:vertical}
.form-submit{width:100%}
.form-ok{
  display:none;margin-top:1rem;padding:.95rem 1rem;border-radius:12px;
  background:#edf7ed;color:#22612d;font-weight:700
}
.form-ok.show{display:block}

/* Gallery */
.simple-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem}
.gallery-card{
  overflow:hidden;transition:transform .22s ease, box-shadow .22s ease;cursor:zoom-in
}
.gallery-card:hover{transform:translateY(-6px);box-shadow:var(--shadow)}
.gallery-card img{
  width:100%;height:420px;object-fit:cover;background:#fff;
  transition:transform .35s ease
}
.gallery-card:hover img{transform:scale(1.03)}
.gallery-note{
  margin:0 auto 1.5rem;max-width:850px;text-align:center;padding:1rem 1.2rem;
  background:#fff;border-radius:16px;box-shadow:var(--shadow-sm);color:var(--muted)
}
.gallery-grid-auto{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem
}
.gallery-featured{margin-bottom:1.5rem}
.gallery-placeholder{
  height:420px;display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:.6rem;background:linear-gradient(135deg,#f6f1e6,#efe8da);color:var(--navy);padding:1.5rem;text-align:center
}
.gallery-placeholder i{font-size:2rem;color:var(--gold)}
.gallery-file-name{font-weight:800;color:var(--burg)}
.lightbox{
  position:fixed;inset:0;display:none;align-items:center;justify-content:center;padding:1.5rem;
  background:rgba(7,12,25,.84);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);z-index:1200
}
.lightbox.open{display:flex}
.lightbox-dialog{position:relative;max-width:min(92vw,1200px);max-height:90vh;width:100%;display:flex;flex-direction:column}
.lightbox-toolbar{
  display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:.9rem;
  position:relative;z-index:5;
}
.lightbox-count{color:rgba(255,255,255,.8);font-size:.9rem;font-weight:700;letter-spacing:.03em}
.lightbox-actions{display:flex;align-items:center;gap:.6rem}
.lightbox-action{
  width:40px;height:40px;border-radius:50%;
  background:rgba(255,255,255,.1);color:#fff;display:flex;align-items:center;justify-content:center;
  font-size:1rem;border:1px solid rgba(255,255,255,.22);transition:background .2s ease,transform .2s ease
}
.lightbox-action:hover{background:rgba(255,255,255,.22);transform:translateY(-2px)}
.lightbox-img-wrap{
  position:relative;display:flex;align-items:center;justify-content:center;
  overflow:hidden;max-height:78vh;border-radius:24px;touch-action:none;z-index:1;
}
.lightbox-img{
  max-width:100%;max-height:78vh;border-radius:24px;box-shadow:0 30px 60px rgba(0,0,0,.4);
  transition:transform .15s ease-out;cursor:zoom-in;object-fit:contain;transform-origin:center center;
  touch-action:none;user-select:none;-webkit-user-drag:none;
}
.lightbox-img-wrap.zoomed .lightbox-img{cursor:zoom-out;transition:none}
.lightbox-toast{
  position:absolute;bottom:-2.6rem;left:50%;transform:translateX(-50%) translateY(6px);
  background:rgba(255,255,255,.95);color:var(--navy);font-size:.85rem;font-weight:700;
  padding:.5rem 1.1rem;border-radius:999px;opacity:0;pointer-events:none;transition:opacity .2s ease,transform .2s ease;
  white-space:nowrap;
}
.lightbox-toast.show{opacity:1;transform:translateX(-50%) translateY(0)}
.lightbox-nav{
  position:absolute;top:50%;transform:translateY(-50%);width:52px;height:52px;border-radius:50%;
  background:rgba(255,255,255,.14);color:#fff;display:flex;align-items:center;justify-content:center;
  font-size:1.3rem;border:1px solid rgba(255,255,255,.3);transition:background .2s ease,transform .2s ease;
  z-index:5;
}
.lightbox-nav:hover{background:rgba(255,255,255,.3)}
.lightbox-prev{inset-inline-start:-18px}
.lightbox-next{inset-inline-end:-18px}
html[dir="rtl"] .lightbox-nav i{transform:scaleX(-1)}
@media (max-width:720px){
  .lightbox-nav{width:42px;height:42px;font-size:1.05rem}
  .lightbox-prev{inset-inline-start:-6px}
  .lightbox-next{inset-inline-end:-6px}
  .lightbox-action{width:36px;height:36px;font-size:.9rem}
  .lightbox-actions{gap:.4rem}
}

/* Footer */
#footer{background:var(--navy);padding:4rem 0 0;color:rgba(255,255,255,.78)}
.foot-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:2rem}
.foot-logo{display:flex;align-items:center;gap:.85rem;color:#fff;font-weight:700;margin-bottom:1rem}
.foot-logo-img{width:54px;height:54px;object-fit:contain;background:transparent;border-radius:0;filter:drop-shadow(0 6px 14px rgba(0,0,0,.22))}
.foot-about p{color:rgba(255,255,255,.72)}
.foot-tagline{margin-bottom:1.2rem;line-height:1.7}
.foot-col h4{color:var(--gold);margin-bottom:1rem}
.foot-col ul{list-style:none}
.foot-col li{margin-bottom:.55rem}
.foot-col a:hover{color:var(--gold-2)}
.foot-links a{color:rgba(255,255,255,.78)}
.foot-social{display:flex;gap:.9rem}
.foot-social a{
  width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,.08);font-size:1.2rem;transition:.2s ease
}
.foot-social a:hover{background:rgba(255,255,255,.18);transform:translateY(-3px)}
.contact-list i{color:var(--gold);margin-inline-end:.45rem}
.sch-row{display:flex;justify-content:space-between;gap:1rem;padding:.45rem 0;border-bottom:1px solid rgba(255,255,255,.08)}
.sday{color:rgba(255,255,255,.75)}
.stime{color:var(--gold-2);font-weight:700}
.foot-bottom{
  display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;
  padding:1rem 0;border-top:1px solid rgba(255,255,255,.08);margin-top:2rem;font-size:.92rem
}

/* Back to top */
#btt{
  position:fixed;right:1.5rem;bottom:1.5rem;width:46px;height:46px;border-radius:50%;
  background:var(--gold);color:var(--navy);display:none;align-items:center;justify-content:center;
  box-shadow:var(--shadow);z-index:998
}
#btt.show{display:flex}

/* RTL */
html[dir="rtl"] .nav-links,
html[dir="rtl"] .nav-actions,
html[dir="rtl"] .hero-actions,
html[dir="rtl"] .foot-bottom{direction:rtl}
html[dir="rtl"] .contact-list i{margin-inline-end:0;margin-inline-start:.45rem}
html[dir="rtl"] .breadcrumb{flex-direction:row-reverse}

/* Responsive */
@media (max-width:1080px){
  .grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .foot-grid{grid-template-columns:1fr 1fr}
  .gallery-grid-auto,.media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hero-stats,.cta-band{grid-template-columns:1fr}
  .nav-links a{padding:.5rem .55rem;font-size:.73rem}
  .brand-name{font-size:.85rem}
  .brand-logo{width:44px;height:44px}
}
@media (max-width:860px){
  .nav-links{display:none}
  .hamburger{display:flex}
  .nav-actions .lang-toggle{display:none}
  .welcome-card,.hist-grid,.contact-wrap,.simple-gallery,.liturgy-grid,.service-grid,.gallery-grid-auto,.media-grid{grid-template-columns:1fr}
  .grid-3,.grid-4,.frow,.foot-grid{grid-template-columns:1fr}
  .clergy-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .welcome-card{text-align:center}
  .hero-actions{flex-direction:column}
  .hero-meta{justify-content:center}
}
@media (max-width:640px){
  :root{--nav-h:104px}
  .nav-inner{gap:.6rem}
  .brand-name{white-space:normal;line-height:1.3;font-size:.85rem}
  .nav-brand{align-items:flex-start;padding:.2rem .4rem}
  .nav-actions{flex-shrink:0}
  .clergy-grid{gap:.85rem}
  .clergy-media{height:190px}
  .clergy-body{padding:1rem}
  .clergy-name{font-size:1.05rem}
  .gallery-grid-auto{grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem}
  .gallery-grid-auto .gallery-card{border-radius:10px}
  .gallery-grid-auto .gallery-card img{height:100px;border-radius:10px}
}
@media (max-width:560px){
  .lang-toggle{padding:.55rem .8rem;font-size:.78rem}
  .brand-logo{width:40px;height:40px}
  .brand-name{font-size:.8rem}
  .section{padding:3.5rem 0}
  .container{padding:0 1rem}
  .hero-shell,.countdown-panel,.cta-band{padding:1.35rem}
}

.hero-content-inner{
  padding:2rem 0 1.4rem;
}

/* Responsive */
@media (max-width:1080px){
  .grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .foot-grid{grid-template-columns:1fr 1fr}
  .gallery-grid-auto,.media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hero-stats,.cta-band{grid-template-columns:1fr}
  .nav-links a{padding:.5rem .55rem;font-size:.73rem}
  .brand-name{font-size:.85rem}
  .brand-logo{width:44px;height:44px}
}
@media (max-width:860px){
  .nav-links{display:none}
  .hamburger{display:flex}
  .nav-actions .lang-toggle{display:none}
  .welcome-card,.hist-grid,.contact-wrap,.simple-gallery,.liturgy-grid,.service-grid,.gallery-grid-auto,.media-grid{grid-template-columns:1fr}
  .grid-3,.grid-4,.frow,.foot-grid{grid-template-columns:1fr}
  .clergy-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .welcome-card{text-align:center}
  .hero-actions{flex-direction:column}
  .hero-meta{justify-content:center}
}
@media (max-width:640px){
  :root{--nav-h:104px}
  .nav-inner{gap:.6rem}
  .brand-name{white-space:normal;line-height:1.3;font-size:.85rem}
  .nav-brand{align-items:flex-start;padding:.2rem .4rem}
  .nav-actions{flex-shrink:0}
  .gallery-grid-auto{grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem}
  .gallery-grid-auto .gallery-card{border-radius:10px}
  .gallery-grid-auto .gallery-card img{height:100px;border-radius:10px}
}
@media (max-width:560px){
  .lang-toggle{padding:.55rem .8rem;font-size:.78rem}
  .brand-logo{width:40px;height:40px}
  .brand-name{font-size:.8rem}
  .section{padding:3.5rem 0}
  .container{padding:0 1rem}
  .hero-shell,.countdown-panel,.cta-band{padding:1.35rem}
}

.hero-content-inner{
  padding:2rem 0 1.4rem;
}


/* ── Parish Milestones Timeline ── */
.tl-divider{
  display:flex;align-items:center;justify-content:center;gap:.8rem;
  margin-top:.6rem;color:var(--gold);
}
.tl-divider span{
  display:block;width:60px;height:1px;background:var(--gold);opacity:.5;
}
.tl-divider i{font-size:.85rem}

.timeline{
  max-width:700px;margin:2.5rem auto 0;
  display:flex;flex-direction:column;
}
.tl-item{
  display:grid;grid-template-columns:40px 1fr;gap:0 1.4rem;
  position:relative;
}
.tl-marker{
  display:flex;flex-direction:column;align-items:center;
}
.tl-dot{
  width:18px;height:18px;border-radius:50%;
  background:#fff;border:3px solid var(--gold);
  box-shadow:0 0 0 4px rgba(192,160,83,.15);
  flex-shrink:0;margin-top:.15rem;z-index:1;
}
.tl-line{
  flex:1;width:2px;background:rgba(192,160,83,.25);
  margin:.3rem 0;
}
.tl-body{
  padding-bottom:2.5rem;
}
.tl-item:last-child .tl-body{padding-bottom:.5rem}
.tl-year{
  font-size:.82rem;font-weight:800;color:var(--gold-dark);
  text-transform:uppercase;letter-spacing:.07em;margin-bottom:.3rem;
  font-family:'Cairo',sans-serif;
}
.tl-title{
  font-size:1.05rem;font-weight:800;color:var(--navy);
  margin-bottom:.45rem;line-height:1.3;
}
.tl-text{
  color:#555;font-size:.95rem;line-height:1.7;
}

html[dir="rtl"] .tl-divider{flex-direction:row-reverse}

@media(max-width:560px){
  .tl-item{grid-template-columns:30px 1fr;gap:0 1rem}
  .tl-dot{width:14px;height:14px}
  .tl-body{padding-bottom:2rem}
}

/* ── Be Sajy Center: Courses ── */
.course-grid{align-items:stretch}
.course-card{
  background:#fff;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-sm);
  display:flex;flex-direction:column;transition:transform .25s ease,box-shadow .25s ease;
  border:1px solid rgba(26,39,68,.06);
}
.course-card:hover{transform:translateY(-6px);box-shadow:var(--shadow)}
.course-card--featured{border:2px solid rgba(191,145,64,.45)}
.course-media{position:relative;width:100%;aspect-ratio:4/5;overflow:hidden;background:var(--navy)}
.course-media img{width:100%;height:100%;object-fit:cover;object-position:top center}
.course-badge{
  position:absolute;top:14px;inset-inline-start:14px;z-index:2;
  background:var(--gold);color:#1A2744;font-size:.72rem;font-weight:800;
  letter-spacing:.08em;text-transform:uppercase;padding:.35rem .75rem;border-radius:999px;
  box-shadow:0 6px 14px rgba(0,0,0,.18);
}
.course-body{padding:1.5rem;display:flex;flex-direction:column;gap:.9rem;flex:1}
.course-title{font-size:1.25rem;color:var(--navy);line-height:1.35}
.course-instructor{
  display:flex;align-items:center;gap:.5rem;color:var(--muted);font-size:.92rem;
}
.course-instructor i{color:var(--gold)}
.course-tags{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.55rem}
.course-tags li{
  display:flex;align-items:baseline;gap:.5rem;color:var(--navy);font-size:.94rem;
  padding-inline-start:1.15rem;position:relative;
}
.course-tags li::before{
  content:'';position:absolute;inset-inline-start:0;top:.5em;
  width:6px;height:6px;border-radius:50%;background:var(--gold);
}
.course-tags li span.tag-sub{color:var(--muted);font-weight:600}
.course-cta{
  margin-top:auto;display:flex;align-items:center;justify-content:center;gap:.5rem;
  padding:.75rem 1rem;border-radius:12px;background:var(--navy);color:#fff !important;
  font-weight:700;text-decoration:none;transition:.22s ease;
}
.course-cta:hover{background:var(--burg);transform:translateY(-2px)}
.course-card--soon{
  align-items:center;justify-content:center;text-align:center;min-height:340px;
  border:2px dashed rgba(111,98,83,.3);background:rgba(255,255,255,.6);box-shadow:none;
}
.course-card--soon:hover{transform:none;box-shadow:none}
.course-soon-icon{
  width:56px;height:56px;border-radius:50%;background:rgba(191,145,64,.12);
  display:flex;align-items:center;justify-content:center;color:var(--gold);
  font-size:1.4rem;margin:0 auto 1rem;
}
.course-soon-title{color:var(--navy);font-weight:700;margin-bottom:.4rem}
.course-soon-text{color:var(--muted);font-size:.9rem;max-width:220px;margin:0 auto}
@media (max-width:960px){
  .course-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:640px){
  .course-grid{grid-template-columns:1fr;gap:1rem}
  .course-body{padding:1.15rem}
}

/* Clergy: sermon link */
.clergy-sermon{
  display:inline-flex;align-items:center;gap:.5rem;margin-top:auto;
  color:var(--navy);font-weight:700;font-size:.9rem;text-decoration:none;
  padding:.55rem .95rem;border-radius:999px;background:rgba(255,0,0,.07);
  transition:.2s ease;align-self:flex-start;white-space:nowrap;
}
.clergy-sermon i{color:#ff0000;font-size:1.05rem}
.clergy-sermon:hover{background:rgba(255,0,0,.15);transform:translateY(-2px)}

/* Clergy group photo (shrunk header image above the clergy grid) */
.clergy-group-photo{
  display:block;width:100%;max-width:560px;height:auto;margin:0 auto 2.2rem;
  border-radius:20px;box-shadow:var(--shadow-sm);
}

/* Church logo shown below the clergy section */
.clergy-section-logo{
  display:block;width:96px;height:auto;margin:2.4rem auto 0;opacity:.92;
}

/* Facebook page feed embed (Be Sajy page) */
.fb-feed-wrap{
  display:flex;justify-content:center;overflow-x:auto;
  padding:.5rem;background:#fff;border-radius:var(--radius);box-shadow:var(--shadow-sm);
}
.fb-feed-wrap .fb-page,
.fb-feed-wrap iframe{max-width:100%}
@media (max-width:560px){
  .fb-feed-wrap{padding:.25rem}
}

/* Be Sajy: subject filter buttons */
.subject-filters{
  display:flex;flex-wrap:wrap;justify-content:center;gap:.6rem;margin-bottom:2rem;
}
.subject-filter{
  padding:.55rem 1.1rem;border-radius:999px;font-size:.88rem;font-weight:700;
  background:#fff;color:var(--navy);border:1px solid rgba(26,39,68,.14);
  transition:.2s ease;
}
.subject-filter:hover{border-color:var(--gold);color:var(--gold-dark)}
.subject-filter.active{
  background:var(--navy);color:#fff;border-color:var(--navy);
  box-shadow:0 8px 18px rgba(26,39,68,.25);
}
@media (max-width:640px){
  .subject-filters{gap:.45rem}
  .subject-filter{padding:.45rem .85rem;font-size:.8rem}
}
