/* Faculty of Arts — refined navy / gold identity. Homepage only. */
:root{
  --arts-navy:#0b1f3a;
  --arts-navy-2:#123257;
  --arts-navy-3:#173d68;
  --arts-gold:#d1aa5a;
  --arts-gold-dark:#9f7425;
  --arts-ivory:#f6f2e9;
  --arts-paper:#fffdf8;
  --arts-ink:#132238;
  --arts-muted:#667386;
  --arts-line:#e7ddca;
}

body{
  background:var(--arts-ivory);
  color:var(--arts-ink);
}

/* Header */
.topbar{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(11,31,58,.98);
  border-bottom:1px solid rgba(209,170,90,.38);
  box-shadow:0 8px 22px rgba(11,31,58,.14);
}
.nav-wrap{
  min-height:74px;
  gap:20px;
}
.brand{
  gap:11px;
  color:#fff;
}
.brand img{
  width:52px;
  height:52px;
  flex-basis:52px;
  padding:3px;
  border-radius:12px;
  background:#fff;
}
.brand strong{
  color:#fff;
  font-size:18px;
  font-weight:900;
}
.brand span{
  color:#ead8b3;
  font-size:12px;
  font-weight:800;
}
.nav-links a{
  color:#fff;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
}
.nav-links a:hover,
.nav-links a.active{
  color:#1b2d45;
  background:#f3dfb3;
  border-color:#f3dfb3;
}
.menu-toggle{
  border-color:rgba(255,255,255,.22);
  background:rgba(255,255,255,.06);
}
.menu-toggle span{background:#fff}

/* Hero — one clean editorial composition, no bulky nested card */
.hero-section{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 9% 92%,rgba(209,170,90,.16),transparent 25%),
    radial-gradient(circle at 92% 10%,rgba(51,93,139,.30),transparent 30%),
    linear-gradient(135deg,#091a31 0%,#0d2746 58%,#123257 100%);
}
.hero-section::before{
  content:"";
  position:absolute;
  inset:0;
  opacity:.18;
  pointer-events:none;
  background-image:linear-gradient(rgba(255,255,255,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.06) 1px,transparent 1px);
  background-size:42px 42px;
  mask-image:linear-gradient(90deg,transparent,#000 20%,#000 80%,transparent);
}
.orb{display:none}
.hero-grid{
  min-height:540px;
  grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);
  align-items:center;
  gap:clamp(36px,5vw,68px);
  padding-block:58px 64px;
}
.hero-content{
  position:relative;
  z-index:2;
  padding:12px 4px 12px 18px;
  background:transparent;
  border:0;
  box-shadow:none;
  text-align:right;
}
.hero-content::before{
  content:"";
  position:absolute;
  right:-20px;
  top:12px;
  bottom:12px;
  width:4px;
  border-radius:999px;
  background:linear-gradient(180deg,var(--arts-gold),rgba(209,170,90,.08));
}
.eyebrow{
  margin-bottom:18px;
  padding:7px 13px;
  border:1px solid rgba(241,216,164,.38);
  background:rgba(209,170,90,.12);
  color:#f2d89e;
  font-size:13px;
  font-weight:900;
}
.hero-content h1{
  margin-bottom:10px;
  color:#fff;
  font-size:clamp(44px,5vw,66px);
  line-height:1.14;
  font-weight:950;
  letter-spacing:-1px;
}
.hero-subtitle{
  margin-bottom:13px;
  color:#f1d79d;
  font-size:clamp(18px,1.55vw,22px);
  line-height:1.55;
  font-weight:900;
}
.hero-content>p{
  max-width:620px;
  margin:0;
  color:#dfe7f0;
  font-size:16px;
  line-height:1.95;
  font-weight:600;
}
.hero-buttons{margin-top:25px}
.btn-solid{
  min-width:190px;
  border:1px solid #e0bd76;
  background:linear-gradient(135deg,#e1bd71,#c9983d);
  color:#14243b;
  box-shadow:0 13px 26px rgba(0,0,0,.20);
}
.btn-solid:hover{
  box-shadow:0 16px 32px rgba(0,0,0,.25);
}
.trust-line{
  margin-top:16px;
  color:#cbd7e5;
  font-size:12px;
  font-weight:800;
}

.hero-visual{
  width:100%;
  max-width:620px;
  justify-self:center;
}
.visual-card.arts-slider{
  position:relative;
  width:100%;
  min-height:0;
  aspect-ratio:4 / 3;
  overflow:hidden;
  border:7px solid rgba(255,255,255,.96);
  outline:1px solid rgba(209,170,90,.7);
  border-radius:28px;
  background:#e8e0d2;
  box-shadow:0 24px 58px rgba(0,0,0,.28);
}
.arts-slider .hero-slide,
.arts-slider .hero-slide-president,
.arts-slider .hero-slide-dean,
.arts-slider .hero-slide-college{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  transform:none!important;
  object-fit:contain!important;
  object-position:center!important;
  border-radius:0!important;
  background:#eee7db!important;
}
.arts-slider-badge{
  position:absolute;
  z-index:6;
  right:16px;
  bottom:16px;
  left:auto;
  padding:8px 13px;
  border:1px solid rgba(241,216,164,.55);
  border-radius:10px;
  background:rgba(11,31,58,.92);
  color:#fff;
  font-size:13px;
  font-weight:900;
  box-shadow:0 8px 20px rgba(0,0,0,.18);
}

/* Team section */
.contact-clean.arts-team{
  padding:64px 0 72px;
  background:
    radial-gradient(circle at 10% 12%,rgba(209,170,90,.09),transparent 24%),
    linear-gradient(180deg,#fffdf9 0%,#f5efe5 100%);
  border-top:1px solid #eadfc9;
}
.arts-team .container{width:min(95%,1260px)}
.contact-support-head{
  margin:0 auto 30px;
  text-align:center;
}
.arts-section-kicker{
  display:inline-flex!important;
  width:auto!important;
  height:auto!important;
  margin:0 0 9px!important;
  padding:6px 11px!important;
  border:1px solid #e4d1aa;
  border-radius:999px!important;
  background:#f6ead0!important;
  color:#7b5920!important;
  font-size:12px!important;
  font-weight:900!important;
}
.contact-support-head h2{
  margin:0;
  color:var(--arts-navy);
  font-size:clamp(28px,3.1vw,39px);
  line-height:1.3;
  font-weight:950;
}
.arts-people-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
  direction:rtl;
}
.contact-clean-card.arts-person-card{
  min-width:0;
  min-height:320px;
  display:flex!important;
  flex-direction:column;
  align-items:center!important;
  justify-content:flex-start;
  text-align:center!important;
  padding:25px 18px 21px!important;
  border:1px solid var(--arts-line)!important;
  border-top:4px solid var(--arts-gold)!important;
  border-right:1px solid var(--arts-line)!important;
  border-radius:18px!important;
  background:rgba(255,255,255,.94)!important;
  box-shadow:0 12px 28px rgba(11,31,58,.07)!important;
}
.contact-clean-card.arts-person-card:nth-child(even){border-top-color:var(--arts-navy-3)!important}
.arts-person-card .contact-person-photo,
.arts-person-card .sameh-photo-frame{
  width:150px!important;
  height:150px!important;
  flex:0 0 150px;
  margin:0 auto 16px!important;
  border:3px solid #fff!important;
  outline:1px solid #d8c6a6!important;
  border-radius:16px!important;
  box-shadow:0 8px 20px rgba(11,31,58,.12)!important;
  overflow:hidden;
}
.arts-person-card .contact-person-photo{
  object-fit:cover;
}
.arts-person-card .sameh-photo-frame .contact-person-photo.sameh{
  width:112%!important;
  height:112%!important;
  max-width:none!important;
  margin:0!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  border-radius:0!important;
  left:0;
  top:50%;
  transform:translateY(-50%);
}
.arts-person-copy h3{
  margin:0 0 5px!important;
  color:var(--arts-navy)!important;
  font-size:18px!important;
  line-height:1.55!important;
  font-weight:950!important;
}
.arts-person-copy p{
  margin:0!important;
  color:#677283!important;
  font-size:13px!important;
  line-height:1.65!important;
  font-weight:800!important;
}
.contact-clean-card.arts-person-card:hover{
  transform:translateY(-3px);
  box-shadow:0 18px 38px rgba(11,31,58,.10)!important;
}

/* Footer */
footer{
  background:#081a31;
  border-top:3px solid var(--arts-gold);
  color:#fff;
}
.footer-content{
  min-height:94px;
  gap:18px;
}
.footer-brand img{
  width:46px;
  height:46px;
  border-radius:10px;
  background:#fff;
}
.footer-brand b{color:#fff}
.footer-brand span,
.footer-content small{color:#c5d0df}

/* Modal colors */
.rules-badge,
.login-info b{color:var(--arts-navy)}
.rules-number,
.rules-agree,
.login-submit{
  background:linear-gradient(135deg,var(--arts-navy-2),var(--arts-navy));
}
.input-box:focus-within{
  border-color:var(--arts-gold);
  box-shadow:0 0 0 4px rgba(209,170,90,.12);
}


@media(min-width:961px){
  .hero-content h1{
    font-size:clamp(34px,3.25vw,50px);
    line-height:1.08;
    letter-spacing:0;
    white-space:nowrap;
  }
}

/* Tablet */
@media(max-width:960px){
  .hero-grid{
    min-height:0;
    grid-template-columns:1fr;
    gap:30px;
    padding-block:44px 52px;
  }
  .hero-content{
    max-width:760px;
    margin-inline:auto;
    text-align:center;
    padding:0 18px;
  }
  .hero-content::before{display:none}
  .hero-content>p{margin-inline:auto}
  .hero-buttons{justify-content:center}
  .hero-visual{max-width:680px}
  .arts-people-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
  .contact-clean-card.arts-person-card{
    min-height:188px;
    display:grid!important;
    grid-template-columns:132px 1fr;
    align-items:center!important;
    text-align:right!important;
    padding:16px!important;
    border-top:1px solid var(--arts-line)!important;
    border-right:4px solid var(--arts-gold)!important;
  }
  .contact-clean-card.arts-person-card:nth-child(even){border-right-color:var(--arts-navy-3)!important}
  .arts-person-card .contact-person-photo,
  .arts-person-card .sameh-photo-frame{
    width:118px!important;
    height:118px!important;
    flex-basis:118px;
    margin:0!important;
  }
}

/* Mobile */
@media(max-width:700px){
  html{scroll-padding-top:0}
  .topbar{position:static}
  .container{width:calc(100% - 22px)}
  .nav-wrap{
    min-height:70px;
    justify-content:center;
    padding-block:6px;
  }
  .brand{
    justify-content:center;
    gap:10px;
  }
  .brand img{
    width:48px;
    height:48px;
    flex-basis:48px;
  }
  .brand strong{font-size:16px}
  .brand span{font-size:11px}
  .nav-links,
  .menu-toggle{display:none!important}

  .hero-grid{
    gap:22px;
    padding-block:28px 34px;
  }
  .hero-content{
    order:1;
    width:100%;
    padding:0 4px;
  }
  .eyebrow{
    margin-bottom:12px;
    padding:6px 10px;
    font-size:11px;
  }
  .hero-content h1{
    margin-bottom:8px;
    font-size:36px;
    line-height:1.22;
    letter-spacing:0;
  }
  .hero-subtitle{
    margin-bottom:9px;
    font-size:18px;
    line-height:1.6;
  }
  .hero-content>p{
    font-size:14px;
    line-height:1.85;
  }
  .hero-buttons{
    display:block;
    margin-top:20px;
  }
  .hero-buttons .btn{
    width:min(100%,260px);
    min-height:50px;
    margin-inline:auto;
  }
  .trust-line{margin-top:13px;font-size:11px}
  .hero-visual{
    order:2;
    max-width:100%;
  }
  .visual-card.arts-slider{
    aspect-ratio:4 / 3;
    border-width:5px;
    border-radius:20px;
    box-shadow:0 18px 38px rgba(0,0,0,.26);
  }
  .arts-slider-badge{display:none}

  .contact-clean.arts-team{padding:44px 0 50px}
  .contact-support-head{margin-bottom:20px}
  .contact-support-head h2{font-size:27px}
  .arts-people-grid{
    grid-template-columns:1fr;
    gap:11px;
    width:min(100%,470px);
    margin-inline:auto;
  }
  .contact-clean-card.arts-person-card{
    min-height:142px;
    grid-template-columns:108px 1fr!important;
    padding:15px!important;
    border-radius:15px!important;
  }
  .arts-person-card .contact-person-photo,
  .arts-person-card .sameh-photo-frame{
    width:94px!important;
    height:94px!important;
    flex-basis:94px;
    border-radius:12px!important;
  }
  .arts-person-copy h3{
    font-size:16px!important;
    line-height:1.5!important;
  }
  .arts-person-copy p{
    font-size:12px!important;
    line-height:1.55!important;
  }

  .footer-content{
    min-height:0;
    padding-block:20px;
    flex-direction:column;
    text-align:center;
  }
  .footer-brand{
    flex-direction:column;
    gap:8px;
  }
  .footer-brand div{text-align:center}
  .footer-brand img{width:42px;height:42px}
  .footer-brand b{font-size:13px}
  .footer-brand span,.footer-content small{font-size:10px}
}

@media(max-width:390px){
  .hero-content h1{font-size:32px}
  .hero-subtitle{font-size:16px}
  .hero-content>p{font-size:13px}
  .contact-clean-card.arts-person-card{grid-template-columns:98px 1fr!important}
  .arts-person-card .contact-person-photo,
  .arts-person-card .sameh-photo-frame{width:86px!important;height:86px!important}
}

/* 2026-09-04: Fill only the Faculty of Arts slide like the other hero slides. */
.arts-slider .hero-slide-college{
  object-fit:cover!important;
  object-position:center center!important;
  background:#e8e0d2!important;
}



/* 2026-09-08: Ayat card photo same size as other team photos */
.arts-person-card .contact-person-photo.mahmoud{
  object-fit:cover !important;
  object-position:center center !important;
  transform:none !important;
}

/* 2026-09-08: Administration & platform support — 3-card final layout */
.arts-people-grid.arts-people-grid-three{
  grid-template-columns:repeat(3,minmax(0,1fr));
  max-width:980px;
  margin-inline:auto;
}
.arts-person-card .contact-person-photo.support-mohamed,
.arts-person-card .contact-person-photo.support-alaa{
  object-fit:cover!important;
  filter:contrast(1.035) saturate(.96) brightness(1.015);
}
.arts-person-card .contact-person-photo.support-mohamed{
  object-position:center 24%!important;
}
.arts-person-card .contact-person-photo.support-alaa{
  object-position:center 21%!important;
}
@media(max-width:960px){
  .arts-people-grid.arts-people-grid-three{
    grid-template-columns:repeat(2,minmax(0,1fr));
    max-width:760px;
  }
  .arts-people-grid.arts-people-grid-three .arts-person-card:last-child{
    grid-column:1 / -1;
    width:min(100%,520px);
    justify-self:center;
  }
}
@media(max-width:700px){
  .arts-people-grid.arts-people-grid-three{
    grid-template-columns:1fr;
    max-width:470px;
  }
  .arts-people-grid.arts-people-grid-three .arts-person-card:last-child{
    grid-column:auto;
    width:100%;
  }
  .arts-person-card .contact-person-photo.support-mohamed{
    object-position:center 22%!important;
  }
  .arts-person-card .contact-person-photo.support-alaa{
    object-position:center 18%!important;
  }
}
