:root {
  --blue-900: #0d1f3b;
  --blue-800: #122a4e;
  --blue-700: #1B3F73;
  --blue-600: #1e4d8c;
  --blue-500: #2563b0;
  --blue-400: #3b82d4;
  --blue-300: #93c5fd;
  --blue-100: #dbeafe;
  --blue-50:  #eff6ff;
  --gold:     #c9a84c;
  --gold-light: #e8d08a;
  --white:    #ffffff;
  --off-white:#f0f5fc;
  --text-dark:#0a1628;
  --text-mid: #334d72;
  --glass-bg: rgba(255,255,255,0.07);
  --glass-border: rgba(255,255,255,0.15);
  --section-h: 100vh;
}

*{ margin:0; padding:0; box-sizing:border-box; }
html{ scroll-behavior:smooth; overflow-x:hidden; }
body{
  font-family:'Cairo', sans-serif;
  background:
    linear-gradient(180deg, rgba(13,31,59,0.48) 0%, rgba(10,26,53,0.62) 50%, rgba(7,18,38,0.82) 100%),
    url('../pic/banner.jpg') center/cover no-repeat fixed;
  color:var(--white);
  line-height:1.8;
  overflow-x:hidden;
}
h1,h2,h3,.display{ font-family:'El Messiri', serif; font-weight:700; }

/* ===== PAGE SECTIONS ===== */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.page-section{
  min-height: calc(100vh - 72px);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 100px 24px 60px;
}
.page-section-standalone {
  justify-content: flex-start !important;
  padding-top: 120px !important;
  padding-bottom: 80px !important;
  min-height: calc(100vh - 72px);
}
.page-banner {
  text-align: center;
  margin-bottom: 40px;
  padding: 30px 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  backdrop-filter: blur(10px);
}
.page-banner h1 {
  font-size: 32px;
  color: var(--white);
  margin-bottom: 8px;
}
.page-banner h1 span {
  color: var(--gold);
}
.page-banner p {
  font-size: 15px;
  color: var(--blue-300);
}
/* Mobile Menu Toggle */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  font-size: 22px;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
}
@media (max-width: 768px) {
  .mobile-menu-btn { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(13, 31, 59, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  }
  .nav-links.active {
    display: flex;
  }
  .nav-links a {
    width: 100%;
    justify-content: center;
    padding: 12px;
  }
}

/* ===== NAVBAR ===== */
.navbar{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(13,31,59,0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: all .4s ease;
}
.navbar-logo{
  display: flex;
  align-items: center;
  gap: 12px;
}
.navbar-logo img{
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 8px;
  background: white;
  padding: 3px;
}
.navbar-logo span{
  font-family:'El Messiri', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.navbar-logo span small{
  display: block;
  font-family: 'Cairo', sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: var(--blue-300);
  letter-spacing: 0.5px;
}
.nav-links{
  display: flex;
  gap: 6px;
  list-style: none;
}
.nav-links a{
  display: inline-flex;
  align-items: center;
  padding: 7px 18px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: all .3s ease;
}
.nav-links a:hover{
  color: var(--white);
  background: rgba(255,255,255,0.1);
}
.nav-links a.active{
  color: var(--white);
  background: var(--blue-600);
}

/* ===== HERO SECTION ===== */
#hero{
  background:
    linear-gradient(180deg, rgba(13,31,59,0.75) 0%, rgba(10,26,53,0.88) 60%, rgba(7,18,38,0.96) 100%),
    url('../pic/banner.jpg') center/cover no-repeat;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  min-height: calc(100vh - 72px);
}
.hero-title {
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.95), 0 2px 10px rgba(13, 31, 59, 0.9);
}
.hero-title span {
  color: var(--gold);
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.95), 0 0 20px rgba(201, 168, 76, 0.4);
}
.hero-subtitle {
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.95), 0 1px 6px rgba(13, 31, 59, 0.9);
  color: #e2eeff;
  font-weight: 500;
}
.hero-badge {
  background: rgba(13, 31, 59, 0.85) !important;
  backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(201, 168, 76, 0.5) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}
.hero-stats {
  margin-top: 48px;
}
.hero-stats .stat-item {
  background: rgba(13, 31, 59, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 16px 24px;
  transition: all .35s ease;
}
.hero-stats .stat-item:hover {
  transform: translateY(-4px);
  border-color: rgba(201,168,76,0.4);
  background: rgba(13, 31, 59, 0.88);
}
.hero-bg-shapes{
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.shape{
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,176,0.18) 0%, transparent 70%);
}
.shape-1{ width:600px; height:600px; top:-200px; right:-150px; animation: floatShape 8s ease-in-out infinite; }
.shape-2{ width:400px; height:400px; bottom:-100px; left:-100px; animation: floatShape 10s ease-in-out infinite reverse; }
.shape-3{ width:200px; height:200px; top:40%; left:10%; animation: floatShape 6s ease-in-out infinite 2s; }
@keyframes floatShape{
  0%,100%{ transform: translateY(0) scale(1); }
  50%{ transform: translateY(-30px) scale(1.05); }
}

.hero-grid{
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-content{
  position: relative;
  z-index: 2;
  max-width: 850px;
  margin: 0 auto;
}
.hero-badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 22px;
  background: rgba(37,99,176,0.25);
  border: 1px solid rgba(59,130,212,0.4);
  border-radius: 50px;
  font-size: 13px;
  color: var(--blue-300);
  font-weight: 600;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
  opacity: 0;
  animation: riseIn .8s ease .1s forwards;
}
.hero-badge::before{
  content: '';
  width: 8px; height: 8px;
  background: var(--blue-400);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}
@keyframes pulse{
  0%,100%{ box-shadow: 0 0 0 0 rgba(59,130,212,0.5); }
  50%{ box-shadow: 0 0 0 6px rgba(59,130,212,0); }
}

.logo-circle{
  width: 160px;
  height: 190px;
  margin: 0 auto 28px;
  position: relative;
  opacity: 0;
  animation: riseIn .9s ease .2s forwards;
}
.logo-circle::before{
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 86px 86px 26px 26px;
  background: linear-gradient(135deg, var(--blue-400), var(--gold), var(--blue-500));
  box-shadow: 0 0 24px rgba(201,168,76,0.35);
}
.logo-circle::after{
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 84px 84px 24px 24px;
  background: var(--blue-900);
}
.logo-inner{
  position: absolute;
  inset: 0;
  border-radius: 82px 82px 22px 22px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  overflow: hidden;
  padding: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.logo-inner img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.1));
}

.hero-title{
  font-size: clamp(30px, 4.8vw, 54px);
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.25;
  opacity: 0;
  animation: riseIn .9s ease .35s forwards;
}
.hero-title span{ color: var(--gold); }
.hero-subtitle{
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--blue-300);
  max-width: 680px;
  margin: 0 auto 36px;
  font-weight: 400;
  line-height: 1.8;
  opacity: 0;
  animation: riseIn .9s ease .5s forwards;
}

.hero-cta-row{
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: riseIn .9s ease .65s forwards;
}
.btn-primary{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  text-decoration: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  transition: all .35s ease;
  box-shadow: 0 8px 24px rgba(27,63,115,0.5);
}
.btn-primary:hover{
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(27,63,115,0.6);
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
}
.btn-outline{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  border: 1.5px solid rgba(255,255,255,0.25);
  color: var(--white);
  text-decoration: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  transition: all .35s ease;
  backdrop-filter: blur(8px);
}
.btn-outline:hover{
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-3px);
}

.hero-stats{
  display: flex;
  gap: 36px;
  justify-content: center;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap;
  opacity: 0;
  animation: riseIn .9s ease .8s forwards;
}
.stat-item{ text-align: center; }
.stat-num{
  font-family: 'El Messiri', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat-label{
  font-size: 12.5px;
  color: var(--blue-300);
  margin-top: 4px;
}

.scroll-down{
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.4);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  animation: bounceDown 2s ease infinite;
}
@keyframes bounceDown{
  0%,100%{ transform: translateX(-50%) translateY(0); }
  50%{ transform: translateX(-50%) translateY(8px); }
}
@keyframes riseIn{
  from{ opacity:0; transform:translateY(24px); }
  to{ opacity:1; transform:translateY(0); }
}

/* ===== ABOUT SECTION ===== */
#about{
  background: linear-gradient(180deg, #071226 0%, var(--blue-900) 100%);
  padding: 100px 24px;
}
.section-inner{
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}
.section-label{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-label::before{
  content: '';
  width: 32px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.section-title{
  font-size: clamp(26px, 3.5vw, 40px);
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.3;
}
.section-title span{ color: var(--blue-400); }

.about-grid{
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 50px;
  align-items: start;
  margin-top: 40px;
}
.about-text p{
  font-size: 15.5px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 18px;
  line-height: 1.95;
}
.about-text p strong{ color: var(--gold); }

.legal-notice-box{
  margin-top: 24px;
  padding: 20px 24px;
  background: rgba(37,99,176,0.15);
  border-right: 4px solid var(--gold);
  border-radius: 12px;
  font-size: 14px;
  color: var(--blue-100);
  line-height: 1.8;
}

.info-card{
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 32px;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}
.info-card::before{
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-500), var(--gold), var(--blue-400));
}
.info-card h4{
  font-size: 17px;
  color: var(--gold);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.info-row{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.info-row:last-child{ border-bottom: none; }
.info-key{
  font-size: 13px;
  color: var(--blue-300);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.info-key::before{
  content: '';
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}
.info-val{
  font-size: 13.5px;
  color: var(--white);
  font-weight: 700;
  text-align: left;
}

/* ===== ACTIVITIES SECTION ===== */
#activities{
  background: linear-gradient(180deg, var(--blue-900) 0%, #0a1525 100%);
  padding: 100px 24px;
}
.activities-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
  margin-top: 40px;
}
.activity-card{
  position: relative;
  padding: 30px 24px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  transition: all .4s cubic-bezier(.2,.8,.2,1);
  overflow: hidden;
}
.activity-card::before{
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-500), var(--gold));
  transform: scaleX(0);
  transition: transform .4s ease;
  transform-origin: right;
}
.activity-card:hover{
  transform: translateY(-6px);
  border-color: rgba(59,130,212,0.35);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.activity-card:hover::before{ transform: scaleX(1); transform-origin: left; }

.activity-header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.activity-code{
  display: inline-block;
  padding: 4px 12px;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 50px;
  font-size: 12px;
  color: var(--gold-light);
  font-weight: 700;
}
.activity-icon{
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(27,63,115,0.6), rgba(37,99,176,0.3));
  border: 1px solid rgba(59,130,212,0.3);
  border-radius: 16px;
  font-size: 26px;
}
.activity-card h3{
  font-size: 17px;
  color: var(--white);
  margin-bottom: 10px;
}
.activity-card p{
  font-size: 13.5px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}

/* extra rights */
.extra-box{
  margin-top: 36px;
  padding: 32px;
  background: linear-gradient(135deg, rgba(27,63,115,0.3), rgba(37,99,176,0.15));
  border: 1px solid rgba(59,130,212,0.2);
  border-radius: 20px;
}
.extra-box h4{
  font-size: 17px;
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.extra-list{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 14px;
  list-style: none;
}
.extra-list li{
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
}
.extra-list li::before{
  content: '✔';
  color: var(--gold);
  font-size: 12px;
  flex-shrink: 0;
}

/* ===== OFFICIAL DOCS SECTION ===== */
#official{
  background: linear-gradient(180deg, #0a1525 0%, var(--blue-900) 100%);
  padding: 100px 24px;
}
.docs-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 40px;
}
.doc-info-block{
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.doc-item{
  display: flex;
  gap: 16px;
  padding: 20px 22px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  backdrop-filter: blur(8px);
  transition: all .35s ease;
  position: relative;
  overflow: hidden;
}
.doc-item::after{
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--blue-500), var(--gold));
  border-radius: 0 16px 16px 0;
}
.doc-item:hover{
  transform: translateX(-4px);
  border-color: rgba(59,130,212,0.35);
  background: rgba(255,255,255,0.1);
}
.doc-icon{
  width: 46px; height: 46px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
  border-radius: 14px;
  font-size: 22px;
}
.doc-item-content h4{
  font-size: 15px;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 4px;
}
.doc-item-content p{
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}

.doc-badges-section{
  padding: 32px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  backdrop-filter: blur(12px);
}
.doc-badges-section h4{
  font-size: 16px;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.badges-list{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.badge-item{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 12px;
  background: linear-gradient(135deg, rgba(27,63,115,0.4), rgba(37,99,176,0.2));
  border: 1px solid rgba(59,130,212,0.2);
  border-radius: 14px;
  transition: all .3s ease;
}
.badge-item:hover{
  background: linear-gradient(135deg, rgba(27,63,115,0.6), rgba(37,99,176,0.35));
  transform: translateY(-3px);
  border-color: rgba(59,130,212,0.4);
}
.badge-item .b-icon{ font-size: 26px; margin-bottom: 6px; }
.badge-item .b-label{ font-size: 12px; color: var(--blue-100); font-weight: 700; }
.badge-item .b-sub{ font-size: 11px; color: var(--gold-light); margin-top: 3px; font-weight:600; }

/* ===== CONTACT SECTION ===== */
#contact{
  background: linear-gradient(180deg, var(--blue-900) 0%, #050e1f 100%);
  padding: 100px 24px;
}
.contact-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.contact-card{
  padding: 36px 24px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  text-align: center;
  transition: all .4s ease;
  position: relative;
  overflow: hidden;
}
.contact-card::before{
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue-400), var(--gold), var(--blue-400), transparent);
  opacity: 0;
  transition: opacity .4s ease;
}
.contact-card:hover{
  transform: translateY(-8px);
  border-color: rgba(59,130,212,0.3);
  box-shadow: 0 24px 48px rgba(0,0,0,0.35);
}
.contact-card:hover::before{ opacity: 1; }
.contact-icon{
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-600));
  border-radius: 18px;
  font-size: 28px;
  border: 1px solid rgba(59,130,212,0.3);
  transition: all .4s ease;
}
.contact-card:hover .contact-icon{
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
  transform: scale(1.1);
}
.contact-label{
  font-size: 12px;
  color: var(--blue-300);
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.contact-value{
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  direction: ltr;
  display: block;
  line-height: 1.3;
  text-decoration: none;
  transition: color .3s ease;
}
a.contact-value:hover{ color: var(--gold); }
.contact-sub{
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  margin-top: 6px;
}

.map-placeholder{
  margin-top: 36px;
  padding: 32px 36px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 28px;
  backdrop-filter: blur(8px);
  flex-wrap: wrap;
}
.map-icon-big{ font-size: 48px; }
.map-text h4{ font-size: 18px; color: var(--white); font-weight: 700; margin-bottom: 6px; }
.map-text p{ font-size: 14px; color: var(--blue-300); }

/* ===== FOOTER ===== */
footer{
  background: #030912;
  padding: 40px 40px 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  scroll-snap-align: start;
}
.footer-brand{
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-brand img{
  width: 38px; height: 38px;
  object-fit: contain;
  background: white;
  border-radius: 8px;
  padding: 3px;
}
.footer-brand-name{
  font-family: 'El Messiri', serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
}
.footer-brand-sub{ font-size: 11.5px; color: var(--blue-300); }
.footer-copy{
  font-size: 12.5px;
  color: rgba(255,255,255,0.35);
  text-align: center;
}
.footer-copy strong{ color: var(--gold); }
.footer-links{
  display: flex;
  gap: 20px;
}
.footer-links a{
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color .3s;
}
.footer-links a:hover{ color: var(--blue-300); }

/* ===== FADE UP ANIMATION ===== */
.fade-up{
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s ease, transform .8s ease;
}
.fade-up.in-view{
  opacity: 1;
  transform: translateY(0);
}
.fade-up-d1{ transition-delay: .1s; }
.fade-up-d2{ transition-delay: .2s; }
.fade-up-d3{ transition-delay: .3s; }
.fade-up-d4{ transition-delay: .4s; }
.fade-up-d5{ transition-delay: .5s; }

/* ===== SIDE DOTS NAV ===== */
.side-nav{
  position: fixed;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.side-dot{
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: all .35s ease;
  position: relative;
}
.side-dot::after{
  content: attr(data-label);
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(13,31,59,0.9);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  border: 1px solid rgba(255,255,255,0.1);
}
.side-dot:hover::after{ opacity: 1; }
.side-dot.active{ background: var(--gold); transform: scale(1.3); }
.side-dot:hover{ background: var(--blue-400); }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px){
  .about-grid{ grid-template-columns: 1fr; gap: 36px; }
  .docs-grid{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
}
@media (max-width: 680px){
  .nav-links{ display: none; }
  .side-nav{ display: none; }
  .badges-list{ grid-template-columns: 1fr 1fr; }
}
</style>



/* ===== GLOBAL BACKGROUND FOR ALL PAGES ===== */
.page-section, #hero, #about, #activities, #official, #contact {
  background: transparent !important;
}


/* ===== PARTNERS PAGE STYLES ===== */
.partner-section {
  padding: 20px 0 80px;
}
.partner-showcase-card {
  background: rgba(13, 31, 59, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(201, 168, 76, 0.4);
  border-radius: 28px;
  padding: 48px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
}
.partner-showcase-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.18) 0%, transparent 70%);
  pointer-events: none;
}
.partner-grid-main {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 48px;
}
@media (max-width: 900px) {
  .partner-grid-main {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
.partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 168, 76, 0.2);
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 20px;
}
.partner-title {
  font-family: 'El Messiri', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 16px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
}
.partner-title span {
  color: var(--gold);
}
.partner-desc {
  font-size: 17px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 28px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}
.partner-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}
.partner-chip {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 14px;
  color: #e2eeff;
  font-weight: 600;
  transition: all 0.3s ease;
}
.partner-chip:hover {
  background: rgba(201, 168, 76, 0.25);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}
.partner-hero-img-box {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  border: 2px solid rgba(201, 168, 76, 0.45);
}
.partner-hero-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.partner-hero-img-box:hover .partner-hero-img {
  transform: scale(1.05);
}
.partner-gallery-header {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 36px;
  margin-bottom: 28px;
}
.partner-gallery-header h3 {
  font-family: 'El Messiri', sans-serif;
  font-size: 26px;
  color: var(--gold);
  margin-bottom: 8px;
}
.partner-gallery-header p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
}
.partner-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}
.partner-gallery-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 240px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: rgba(10, 26, 53, 0.6);
}
.partner-gallery-item:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 16px 36px rgba(201, 168, 76, 0.3);
}
.partner-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.partner-gallery-item:hover .partner-gallery-img {
  transform: scale(1.08);
}
.partner-gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(0deg, rgba(7, 18, 38, 0.95) 0%, rgba(7, 18, 38, 0.6) 70%, transparent 100%);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  transform: translateY(0);
  transition: all 0.3s ease;
}
.partner-gallery-item:hover .partner-gallery-overlay {
  color: var(--gold);
}


.partner-logo-box {
  background: rgba(255, 255, 255, 0.96);
  padding: 12px 24px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(201, 168, 76, 0.5);
  transition: transform 0.3s ease;
}
.partner-logo-box:hover {
  transform: translateY(-4px);
}
.partner-logo-box img {
  height: 52px;
  width: auto;
  display: block;
}


/* ===== GLOBAL BACKGROUND IMAGE FOR ALL PAGES ===== */
body,
.page-section,
#hero,
#about,
#official,
#activities,
#contact,
#partners {
  background:
    linear-gradient(180deg, rgba(13,31,59,0.52) 0%, rgba(10,26,53,0.68) 50%, rgba(7,18,38,0.85) 100%),
    url('../pic/banner.jpg') center/cover no-repeat fixed !important;
  background-size: cover !important;
  background-position: center !important;
  background-attachment: fixed !important;
}
