/* =========================================================
   جمعية جود العطاء الخيرية - التصميم الرئيسي
   ========================================================= */
:root {
  --primary: #0f9fce;       /* أزرق سماوي */
  --primary-dark: #0b7ea6;
  --secondary: #2bb8a0;     /* تركواز الشعار */
  --accent-green: #4cc9a4;
  --navy: #101c3a;          /* كحلي الشعار */
  --gray-bg: #f4f7f9;
  --gray-bg-2: #eef1f4;
  --gray-line: #e2e8ee;
  --text: #33414f;
  --text-light: #6b7b8c;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(16, 28, 58, 0.08);
  --shadow-lg: 0 20px 50px rgba(16, 28, 58, 0.14);
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Tajawal', 'Cairo', 'Segoe UI', Tahoma, sans-serif;
  color: var(--text);
  background: var(--white);
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
  line-height: 1.8;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
.container { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 24px; }

section { position: relative; }

/* ===== Section headers ===== */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, rgba(15,159,206,.1), rgba(43,184,160,.1));
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 14px;
  padding: 6px 18px;
  border-radius: 30px;
  margin-bottom: 14px;
}
.section-tag::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}
.section-head { text-align: center; max-width: 700px; margin: 0 auto 48px; }
.section-head h2 { font-size: 34px; font-weight: 800; color: var(--navy); margin-bottom: 14px; }
.section-head p { color: var(--text-light); font-size: 16px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 30px; border-radius: 50px;
  font-weight: 700; font-size: 15px;
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.btn-primary {
  background: linear-gradient(120deg, var(--primary), var(--secondary));
  color: var(--white);
  box-shadow: 0 10px 25px rgba(15, 159, 206, .35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(15, 159, 206, .45); }
.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--primary-dark); transform: translateY(-3px); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* ===== Top bar ===== */
.topbar {
  background: var(--navy);
  color: #cfe3ee;
  font-size: 13.5px;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; padding: 8px 24px; flex-wrap: wrap; gap: 8px; }
.topbar-info { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar-info span { display: flex; align-items: center; gap: 7px; }
.topbar-info i { color: var(--secondary); }
.topbar-social { display: flex; align-items: center; gap: 10px; }
.topbar-social a {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  font-size: 13px;
}
.topbar-social a:hover { background: var(--secondary); transform: translateY(-3px); }

/* ===== Header ===== */
header.site-header {
  background: var(--white);
  position: sticky; top: 0; z-index: 500;
  box-shadow: 0 2px 18px rgba(16,28,58,.06);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { height: 90px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > ul { display: flex; align-items: center; gap: 4px; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 16px; font-weight: 700; font-size: 15px;
  color: var(--navy);
  border-radius: 8px;
  transition: var(--transition);
}
.main-nav > ul > li > a i.chev { font-size: 10px; transition: var(--transition); }
.main-nav > ul > li:hover > a,
.main-nav > ul > li > a.active {
  color: var(--primary);
  background: rgba(15,159,206,.08);
}
.main-nav > ul > li:hover > a i.chev { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 12px); right: 0;
  min-width: 250px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: var(--transition);
  border-top: 3px solid var(--secondary);
}
.main-nav li:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; border-radius: 9px;
  font-size: 14.5px; font-weight: 600; color: var(--text);
  transition: var(--transition);
}
.dropdown li a::before { content: "\f104"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--secondary); font-size: 11px; }
.dropdown li a:hover { background: var(--gray-bg); color: var(--primary-dark); padding-right: 20px; }

.contact-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  width: 40px; height: 34px; align-items: center; justify-content: center;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--navy); border-radius: 3px; transition: var(--transition); }

/* ===== Hero Slider (split-panel professional style) ===== */
.hero-slider { position: relative; background: var(--navy); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 460px 1fr; min-height: 86vh; }

/* ---- Fixed info panel ---- */
.hero-panel {
  position: relative; z-index: 4;
  background: linear-gradient(165deg, var(--navy) 0%, var(--primary-dark) 130%);
  display: flex; align-items: center;
  padding: 60px 48px;
  overflow: hidden;
}
.hero-panel::before {
  content: "\f004"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; left: -40px; bottom: -60px; font-size: 260px;
  color: rgba(255,255,255,.04); transform: rotate(-12deg);
}
.hero-panel-inner { position: relative; z-index: 2; color: var(--white); }
.hero-panel .section-tag { background: rgba(255,255,255,.14); color: #d7f3ff; }
.hero-panel h1 {
  font-size: 38px; font-weight: 800; line-height: 1.35; margin: 18px 0 18px;
  opacity: 0; transform: translateY(26px); animation: fadeUp .9s .25s forwards;
}
.hero-panel p {
  font-size: 15.5px; color: #d3e2ec; margin-bottom: 28px; line-height: 1.9;
  opacity: 0; transform: translateY(26px); animation: fadeUp .9s .45s forwards;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; opacity: 0; transform: translateY(26px); animation: fadeUp .9s .65s forwards; margin-bottom: 36px; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

.hero-trust { display: flex; flex-direction: column; gap: 14px; border-top: 1px solid rgba(255,255,255,.16); padding-top: 24px;
  opacity: 0; transform: translateY(26px); animation: fadeUp .9s .8s forwards; }
.hero-trust-item { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: #bcd7e6; }
.hero-trust-item i { width: 34px; height: 34px; min-width: 34px; border-radius: 50%; background: rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; color: var(--secondary); font-size: 14px; }

/* ---- Media / slides panel ---- */
.hero-media { position: relative; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s ease; }
.hero-slide.active { opacity: 1; visibility: visible; z-index: 2; }
.hero-slide img {
  width: 100%; height: 100%; object-fit: cover; transform: scale(1.1);
  transition: transform 8s cubic-bezier(.16,1,.3,1);
  filter: saturate(1.05);
}
.hero-slide.active img { transform: scale(1); }
.hero-slide::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(16,28,58,.5) 0%, rgba(16,28,58,0) 30%);
}
.hero-slide::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(16,28,58,0) 55%, rgba(16,28,58,.4) 100%);
}
/* Angled seam between panel and media */
.hero-media::before {
  content: ""; position: absolute; top: 0; right: -1px; bottom: 0; width: 70px; z-index: 3;
  
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.hero-arrows { position: absolute; bottom: 34px; left: 40px; display: flex; gap: 14px; z-index: 4; }
.hero-arrows button {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.1); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid rgba(255,255,255,.4);
  transition: var(--transition);
  backdrop-filter: blur(6px);
}
.hero-arrows button:hover { background: var(--secondary); border-color: var(--secondary); transform: scale(1.08); }

/* Segmented progress-bar pagination instead of dots */
.hero-dots { position: absolute; bottom: 34px; right: 48px; display: flex; gap: 10px; z-index: 4; }
.hero-dots button {
  position: relative; width: 46px; height: 5px; border-radius: 4px;
  background: rgba(255,255,255,.28); overflow: hidden;
}
.hero-dots button::after {
  content: ""; position: absolute; inset: 0; width: 0%;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  border-radius: 4px;
}
.hero-dots button.active::after { animation: heroProgress 5.5s linear forwards; }
.hero-dots button.filled::after { width: 100%; animation: none; }
@keyframes heroProgress { from { width: 0%; } to { width: 100%; } }

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 400px 1fr; }
  .hero-panel h1 { font-size: 32px; }
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .hero-panel { padding: 56px 32px; order: 2; }
  .hero-panel::before { display: none; }
  .hero-media { height: 380px; order: 1; }
  .hero-media::before { display: none; }
}
@media (max-width: 560px) {
  .hero-panel h1 { font-size: 27px; }
  .hero-media { height: 300px; }
  .hero-arrows { left: 20px; bottom: 20px; }
  .hero-dots { right: 20px; bottom: 20px; }
  .hero-dots button { width: 30px; }
}

/* ===== Page banner (inner pages) ===== */
.page-banner {
  position: relative;
  padding: 150px 0 70px;
  background: linear-gradient(120deg, var(--navy), #163460 60%, var(--primary-dark));
  color: var(--white);
  overflow: hidden;
  text-align: center;
}
.page-banner::before {
  content: ""; position: absolute; inset: 0;
  background: url('../images/activities1.jpg') center/cover;
  opacity: .16; mix-blend-mode: overlay;
}
.page-banner h1 { font-size: 40px; font-weight: 800; margin-bottom: 14px; position: relative; }
.breadcrumb { display: flex; justify-content: center; gap: 10px; color: #bcd7e6; font-size: 14.5px; position: relative; }
.breadcrumb a:hover { color: var(--secondary); }

/* ===== Cards / grids shared ===== */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }

.icon-badge {
  width: 66px; height: 66px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white); font-size: 26px;
  transition: var(--transition);
}
.icon-anim:hover .icon-badge, .icon-badge.anim { animation: pulseIcon 1.8s ease-in-out infinite; }
@keyframes pulseIcon { 0%,100% { transform: scale(1) rotate(0);} 50% { transform: scale(1.1) rotate(6deg);} }
.goal-card .icon-badge, .stat-item .icon-badge, .contact-info-item .icon-badge { position: relative; }
.goal-card:hover .icon-badge { animation: pulseIcon 1.3s ease-in-out infinite; box-shadow: 0 10px 24px rgba(15,159,206,.35); }
.stat-item:hover .icon-badge { animation: pulseIcon 1.3s ease-in-out infinite; }

/* ===== Shine sweep (premium hover) ===== */
.shine { position: relative; overflow: hidden; }
.shine::after {
  content: ""; position: absolute; top: 0; left: -80%; width: 45%; height: 100%;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,.55) 50%, transparent 100%);
  transform: skewX(-18deg); transition: left .85s cubic-bezier(.16,1,.3,1); pointer-events: none; z-index: 3;
}
.shine:hover::after { left: 130%; }

/* ===== About section on home ===== */
.about-section { padding: 60px 0; background: var(--white); }
.about-section .grid-2 { grid-template-columns: 1.15fr 1fr; }
.about-media { position: relative; overflow: hidden; border-radius: var(--radius); min-height: 520px; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); display: block; width: 100%; height: 100%; min-height: 520px; object-fit: cover; transition: transform 1.1s cubic-bezier(.16,1,.3,1), filter 1.1s ease; }
.about-media:hover img { transform: scale(1.05); }
.about-media.reveal img { transform: scale(1.18); filter: saturate(.85) brightness(.95); }
.about-media.reveal.in-view img { transform: scale(1); filter: saturate(1) brightness(1); }
.about-media.reveal.in-view:hover img { transform: scale(1.05); }
.about-media .float-card {
  position: absolute; bottom: -18px; left: -18px;
  box-shadow: var(--shadow-lg); padding: 22px 28px;
  display: flex; align-items: center; gap: 16px;
}
.about-media .float-card .num { font-size: 30px; font-weight: 800; color: var(--primary); }
.about-list { display: grid; gap: 16px; margin: 26px 0 32px; }
.about-list li { display: flex; align-items: flex-start; gap: 12px; font-weight: 600; color: var(--navy); }
.about-list li i { color: var(--white); background: linear-gradient(135deg, var(--primary), var(--secondary)); width: 28px; height: 28px; min-width: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; margin-top: 3px; }

/* ===== Goals ===== */
.goals-section { padding: 40px 0; background: var(--gray-bg); position: relative; overflow: hidden; }
.goal-card {
  background: var(--white); border-radius: var(--radius); padding: 34px 26px;
  box-shadow: var(--shadow); transition: var(--transition); text-align: center;
  border-bottom: 4px solid transparent;
}
.goal-card:hover { transform: translateY(-10px); border-color: var(--secondary); box-shadow: var(--shadow-lg); }
.goal-card .icon-badge { margin: 0 auto 20px; }
.goal-card h3 { font-size: 18px; color: var(--navy); margin-bottom: 10px; font-weight: 800; }
.goal-card p { font-size: 14.5px; color: var(--text-light); }
.goal-card .goal-num { font-size: 46px; font-weight: 800; color: rgba(15,159,206,.12); position: absolute; top: 10px; left: 18px; }

/* ===== Stats ===== */
.stats-section {
  padding: 70px 0;
  background: linear-gradient(120deg, var(--navy), #16345f 55%, var(--primary-dark));
  color: var(--white);
  position: relative;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-item .icon-badge { margin: 0 auto 18px; background: rgba(255,255,255,.12); }
.stat-item .stat-num { font-size: 44px; font-weight: 800; color: var(--white); display: flex; justify-content: center; gap: 4px; }
.stat-item .stat-label { color: #bcd7e6; margin-top: 6px; font-size: 15px; }

/* ===== Activities / Projects cards ===== */
.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: var(--transition);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.card .card-img { position: relative; height: 220px; overflow: hidden; }
.card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.16,1,.3,1), filter 1s ease; }
.card:hover .card-img img { transform: scale(1.12); }
.card.reveal .card-img img { transform: scale(1.22); filter: saturate(.8) brightness(.92); }
.card.reveal.in-view .card-img img { transform: scale(1); filter: saturate(1) brightness(1); }
.card.reveal.in-view:hover .card-img img { transform: scale(1.12); }
.card .card-img::before {
  content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(16,28,58,.55) 100%);
  opacity: 0; transition: opacity .5s ease; z-index: 1;
}
.card:hover .card-img::before { opacity: 1; }
.card .card-tag {
  position: absolute; top: 16px; right: 16px;
  background: var(--secondary); color: var(--white); font-size: 12.5px; font-weight: 700;
  padding: 6px 14px; border-radius: 30px;
}
.card .card-body { padding: 24px; }
.card .card-body h3 { font-size: 19px; color: var(--navy); margin-bottom: 10px; font-weight: 800; }
.card .card-body p { color: var(--text-light); font-size: 14.5px; margin-bottom: 16px; }
.card .card-link { color: var(--primary); font-weight: 700; font-size: 14.5px; display: inline-flex; align-items: center; gap: 6px; }
.card .card-link i { transition: var(--transition); }
.card .card-link:hover i { transform: translateX(-4px); }

/* ===== Partners ===== */
.partners-section { padding: 80px 0; background: var(--white); border-top: 1px solid var(--gray-line); border-bottom: 1px solid var(--gray-line); }
.partners-track { display: flex; align-items: center; gap: 60px; overflow: hidden; }
.partners-marquee { display: flex; gap: 60px; animation: scrollLeft 26s linear infinite; }
.partner-logo {
  min-width: 240px; height: 150px; background: var(--white); border: 1px solid var(--gray-line); border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  padding: 26px; box-shadow: var(--shadow);
  transition: var(--transition); filter: grayscale(1) opacity(.65);
}
.partner-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.partner-logo:hover { filter: grayscale(0) opacity(1); transform: translateY(-6px) scale(1.06); box-shadow: var(--shadow-lg); border-color: var(--secondary); }
@media (max-width: 720px) {
  .partner-logo { min-width: 180px; height: 120px; padding: 18px; }
}
@keyframes scrollLeft { from { transform: translateX(0);} to { transform: translateX(-50%);} }

/* ===== Contact form ===== */
.contact-section { padding: 100px 0; background: var(--gray-bg); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
.contact-info-card {
  background: linear-gradient(150deg, var(--navy), var(--primary-dark));
  color: var(--white); border-radius: var(--radius); padding: 40px 32px;
}
.contact-info-card h3 { font-size: 24px; margin-bottom: 14px; font-weight: 800; }
.contact-info-card p { color: #cfe3ee; margin-bottom: 30px; font-size: 15px; }
.contact-info-item { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.contact-info-item .icon-badge { background: rgba(255,255,255,.14); min-width: 54px; width: 54px; height: 54px; font-size: 20px; }
.contact-info-item strong { display: block; font-size: 15px; }
.contact-info-item span { color: #cfe3ee; font-size: 14px; }
.contact-form {
  background: var(--white); border-radius: var(--radius); padding: 40px 36px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 700; margin-bottom: 8px; font-size: 14.5px; color: var(--navy); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 14px 16px; border-radius: 10px;
  border: 1.5px solid var(--gray-line); font-family: inherit; font-size: 14.5px;
  transition: var(--transition); background: var(--gray-bg);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary); background: var(--white);
  box-shadow: 0 0 0 4px rgba(15,159,206,.12);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-note { margin-top: 16px; font-size: 14px; color: var(--secondary); font-weight: 700; display: none; }
.form-note.show { display: block; }

/* ===== Dark contact banner used on contact page ===== */
.contact-hero {
  background: linear-gradient(120deg, var(--navy), #0c1830 60%, var(--primary-dark));
  color: var(--white); padding: 150px 0 90px; text-align: center; position: relative; overflow: hidden;
}
.contact-hero::before {
  content: ""; position: absolute; width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(43,184,160,.25), transparent 70%);
  top: -150px; left: -100px;
}
.contact-hero h1 { font-size: 42px; font-weight: 800; margin-bottom: 16px; }
.contact-hero p { color: #cfe3ee; max-width: 560px; margin: 0 auto; }

.map-wrap { height: 420px; width: 100%; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.2) contrast(1.05); }

/* ===== Footer ===== */
footer.site-footer { background: var(--navy); color: #b9cbdb; }
.footer-top { padding: 70px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.footer-brand img { height: 120px; width: auto; background: var(--white); border-radius: 16px; padding: 8px; }
.footer-col h4 { color: var(--white); font-size: 17px; margin-bottom: 22px; font-weight: 800; position: relative; padding-bottom: 12px; }
.footer-col h4::after { content: ""; position: absolute; bottom: 0; right: 0; width: 40px; height: 3px; background: var(--secondary); border-radius: 3px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { font-size: 14.5px; transition: var(--transition); display: inline-flex; align-items: center; gap: 8px; }
.footer-col ul li a:hover { color: var(--secondary); padding-right: 6px; }
.footer-col ul li a i { color: var(--secondary); font-size: 11px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.07); display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--secondary); transform: translateY(-5px); }
.footer-contact-item { display: flex; gap: 12px; margin-bottom: 16px; font-size: 14.5px; }
.footer-contact-item i { color: var(--secondary); margin-top: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.09); padding: 20px 0; font-size: 13.5px; text-align: center; color: #90a5b8; }
.footer-bottom a { color: var(--secondary); }

/* ===== Floating buttons ===== */
.float-btn-group.left { position: fixed; bottom: 30px; right: 26px; z-index: 800; display: flex; flex-direction: column; gap: 14px; }
.float-btn {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 24px;
  box-shadow: 0 10px 26px rgba(0,0,0,.25);
  transition: var(--transition);
  animation: floatBob 2.6s ease-in-out infinite;
}
.float-btn.whatsapp { background: #25d366; }
.float-btn.call { background: var(--primary); animation-delay: .3s; }
.float-btn:hover { transform: scale(1.12) rotate(-6deg); }
@keyframes floatBob { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-8px);} }

.back-to-top {
  position: fixed; bottom: 30px; left: 26px; z-index: 800;
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; opacity: 0; visibility: hidden; transform: translateY(20px);
  transition: var(--transition);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--primary); }

/* ===== Inner page generic content blocks ===== */
.content-section { padding: 70px 0; }
.content-section.alt { background: var(--gray-bg); }
.prose h2 { font-size: 26px; color: var(--navy); font-weight: 800; margin: 34px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--text-light); margin-bottom: 16px; font-size: 15.5px; }
.prose ul { margin: 0 0 20px; display: grid; gap: 12px; }
.prose ul li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); font-size: 15px; }
.prose ul li i { color: var(--secondary); margin-top: 6px; }

.org-chart { display: grid; gap: 26px; justify-items: center; }
.org-row { display: flex; gap: 26px; flex-wrap: wrap; justify-content: center; }
.org-box {
  background: var(--white); border: 2px solid var(--gray-line); border-radius: 12px;
  padding: 18px 26px; text-align: center; box-shadow: var(--shadow); min-width: 180px;
  transition: var(--transition);
}
.org-box:hover { border-color: var(--secondary); transform: translateY(-6px); }
.org-box strong { display: block; color: var(--navy); font-weight: 800; }
.org-box span { font-size: 13px; color: var(--text-light); }
.org-box.top { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: var(--white); border: none; }
.org-box.top span { color: #e5f6fb; }

.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
table.data-table { width: 100%; border-collapse: collapse; background: var(--white); }
table.data-table th, table.data-table td { padding: 16px 18px; text-align: right; border-bottom: 1px solid var(--gray-line); font-size: 14.5px; }
table.data-table thead th { background: linear-gradient(120deg, var(--navy), var(--primary-dark)); color: var(--white); font-weight: 800; }
table.data-table tbody tr:hover { background: var(--gray-bg); }
table.data-table tbody tr:last-child td { border-bottom: none; }

.doc-list { display: grid; gap: 16px; }
.doc-item {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  background: var(--white); border-radius: 12px; padding: 20px 24px;
  box-shadow: var(--shadow); transition: var(--transition); flex-wrap: wrap;
}
.doc-item:hover { transform: translateX(-6px); box-shadow: var(--shadow-lg); }
.doc-item .doc-info { display: flex; align-items: center; gap: 16px; }
.doc-item .doc-info h4 { color: var(--navy); font-size: 16px; margin-bottom: 4px; }
.doc-item .doc-info span { color: var(--text-light); font-size: 13px; }
.doc-item .doc-icon {
  width: 50px; height: 50px; border-radius: 12px; background: rgba(15,159,206,.1); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 20px; min-width: 50px;
}
.doc-download {
  display: flex; align-items: center; gap: 8px; color: var(--primary); font-weight: 700; font-size: 14px;
  padding: 10px 18px; border: 1.5px solid var(--primary); border-radius: 30px; transition: var(--transition);
}
.doc-download:hover { background: var(--primary); color: var(--white); }

.member-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px 24px; text-align: center; transition: var(--transition); }
.member-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.member-card:hover .member-avatar { animation: pulseIcon 1.3s ease-in-out infinite; }
.member-avatar {
  width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 32px; font-weight: 800;
}
.member-card h4 { color: var(--navy); font-size: 16.5px; margin-bottom: 6px; font-weight: 800; }
.member-card span { color: var(--primary); font-size: 13.5px; font-weight: 700; }

.timeline { position: relative; padding-right: 30px; border-right: 3px dashed var(--gray-line); display: grid; gap: 40px; }
.timeline-item { position: relative; }
.timeline-item::before {
  content: ""; position: absolute; right: -39px; top: 4px; width: 16px; height: 16px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary)); border: 3px solid var(--white); box-shadow: 0 0 0 3px var(--secondary);
}
.timeline-item h4 { color: var(--navy); font-size: 17px; margin-bottom: 8px; font-weight: 800; }
.timeline-item p { color: var(--text-light); font-size: 14.5px; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(46px); transition: opacity 1s cubic-bezier(.16,1,.3,1), transform 1s cubic-bezier(.16,1,.3,1); will-change: transform, opacity; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay-1.in-view { transition-delay: .1s; }
.reveal-delay-2.in-view { transition-delay: .2s; }
.reveal-delay-3.in-view { transition-delay: .3s; }
.reveal-delay-4.in-view { transition-delay: .4s; }

.reveal-zoom { opacity: 0; transform: scale(.85); transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1); }
.reveal-zoom.in-view { opacity: 1; transform: scale(1); }

.reveal-right { opacity: 0; transform: translateX(60px); transition: opacity 1s cubic-bezier(.16,1,.3,1), transform 1s cubic-bezier(.16,1,.3,1); }
.reveal-right.in-view { opacity: 1; transform: translateX(0); }

.reveal-left { opacity: 0; transform: translateX(-60px); transition: opacity 1s cubic-bezier(.16,1,.3,1), transform 1s cubic-bezier(.16,1,.3,1); }
.reveal-left.in-view { opacity: 1; transform: translateX(0); }

/* Section tag animated underline sweep */
.section-tag { position: relative; overflow: hidden; }
.section-tag::after {
  content: ""; position: absolute; bottom: 0; right: 0; width: 100%; height: 2px;
  background: currentColor; opacity: .5; transform: scaleX(0); transform-origin: right; transition: transform .8s cubic-bezier(.16,1,.3,1) .25s;
}
.section-head.in-view .section-tag::after,
.reveal.in-view .section-tag::after { transform: scaleX(1); }

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .main-nav { position: fixed; inset: 0 0 0 auto; width: 320px; max-width: 84%; background: var(--white);
    flex-direction: column; align-items: stretch; padding: 90px 24px 30px; box-shadow: -10px 0 40px rgba(0,0,0,.15);
    transform: translateX(100%); transition: var(--transition); overflow-y: auto; }
  .main-nav.open { transform: translateX(0); }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav > ul > li > a { justify-content: space-between; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; border-top: none; border-right: 2px solid var(--gray-line); margin-right: 10px; }
  .main-nav li.open .dropdown { display: block; }
  .nav-toggle { display: flex; }
  .contact-cta .btn span { display: none; }
  .grid-2 { grid-template-columns: 1fr; }
  .about-section .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .topbar-info span:nth-child(3) { display: none; }
}
@media (max-width: 720px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section-head h2 { font-size: 26px; }
  .about-media { min-height: 320px; }
  .about-media img { min-height: 320px; }
  .brand img { height: 84px; }
  .footer-brand img { height: 110px; }
  .footer-grid { grid-template-columns: 1fr; }
  .org-row { flex-direction: column; align-items: center; }
}
