/* ============================================
   مجلة تدبر - Islamic Geometric Modernism
   Main Stylesheet
   ============================================ */

/* --- CSS Variables --- */
:root {
  --navy: #1a2744;
  --navy-light: #2a3f6a;
  --navy-dark: #0d1a2e;
  --gold: #c9a84c;
  --gold-light: #e8d5a0;
  --gold-dark: #a08030;
  --cream: #faf6ee;
  --cream-dark: #f0e8d8;
  --text-dark: #1a1a1a;
  --text-medium: #4a4a4a;
  --text-light: #8a8a7a;
  --white: #ffffff;
  --green: #25d366;
  --shadow: 0 4px 20px rgba(26,39,68,0.12);
  --shadow-lg: 0 8px 40px rgba(26,39,68,0.18);
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
}

/* --- Reset & Base --- */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Cairo', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.8;
  overflow-x: hidden;
  direction: rtl;
}
h1,h2,h3,h4,h5,h6 { font-family: 'Amiri', serif; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: 'Cairo', sans-serif; }

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }

/* --- Islamic Pattern Overlay --- */
.islamic-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image:
    repeating-linear-gradient(0deg, var(--gold) 0px, var(--gold) 1px, transparent 1px, transparent 40px),
    repeating-linear-gradient(90deg, var(--gold) 0px, var(--gold) 1px, transparent 1px, transparent 40px),
    repeating-linear-gradient(45deg, transparent 0px, transparent 28px, var(--gold) 28px, var(--gold) 29px, transparent 29px, transparent 57px),
    repeating-linear-gradient(-45deg, transparent 0px, transparent 28px, var(--gold) 28px, var(--gold) 29px, transparent 29px, transparent 57px);
  pointer-events: none;
}

/* --- Animations --- */
@keyframes fadeInUp {
  from { opacity:0; transform:translateY(25px); }
  to { opacity:1; transform:translateY(0); }
}
@keyframes fadeIn {
  from { opacity:0; }
  to { opacity:1; }
}
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.animate-in { animation: fadeInUp 0.6s ease forwards; }
.animate-fade { animation: fadeIn 0.4s ease forwards; }

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(26,39,68,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 2px solid var(--gold);
  transition: var(--transition);
}
.header.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.3); }
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.header-logo img { height: 42px; }
.header-title {
  color: var(--gold);
  font-family: 'Amiri', serif;
  font-size: 1.1rem;
  font-weight: 700;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav-links a {
  color: var(--gold-light);
  font-size: 0.82rem;
  padding: 7px 13px;
  border-radius: 8px;
  transition: var(--transition);
  white-space: nowrap;
  font-weight: 600;
}
.nav-links a:hover,
.nav-links a.active {
  background: rgba(201,168,76,0.15);
  color: var(--gold);
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 1.6rem;
  padding: 5px;
}

/* --- Mobile Nav --- */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 1500;
  backdrop-filter: blur(3px);
}
.mobile-nav-overlay.active { display: block; }
.mobile-nav-panel {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100%;
  background: var(--navy);
  z-index: 1600;
  transition: right 0.3s ease;
  padding: 70px 20px 20px;
  overflow-y: auto;
}
.mobile-nav-panel.active { right: 0; }
.mobile-nav-panel a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-light);
  padding: 13px 15px;
  border-radius: 10px;
  margin-bottom: 4px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
}
.mobile-nav-panel a:hover { background: rgba(201,168,76,0.15); color: var(--gold); }
.mobile-nav-close {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(255,255,255,0.1);
  border: none;
  color: var(--gold);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 50%, var(--navy) 100%);
  overflow: hidden;
  margin-top: 62px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(201,168,76,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(201,168,76,0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(201,168,76,0.06) 0%, transparent 40%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
}
.hero-badge {
  display: inline-block;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--gold-light);
  padding: 8px 24px;
  border-radius: 50px;
  font-size: 0.88rem;
  margin-bottom: 24px;
  letter-spacing: 1px;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.3;
  text-shadow: 0 2px 30px rgba(0,0,0,0.3);
}
.hero h1 span { color: var(--gold); }
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--gold-light);
  margin-bottom: 30px;
  font-family: 'Amiri', serif;
  opacity: 0.9;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 35px 0;
  flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat-num {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--gold);
  display: block;
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin-top: 6px;
}
.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 10px;
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-decoration: none;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(201,168,76,0.4); }
.btn-outline {
  background: transparent;
  color: var(--gold-light);
  border: 2px solid rgba(201,168,76,0.35);
}
.btn-outline:hover { background: rgba(201,168,76,0.1); border-color: var(--gold); }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-navy { background: var(--navy); color: var(--gold-light); }
.btn-navy:hover { background: var(--navy-light); }

/* ============================================
   DECORATIVE DIVIDER
   ============================================ */
.divider {
  text-align: center;
  margin: 50px auto;
  max-width: 300px;
}
.divider::before {
  content: '﷽';
  display: block;
  font-family: 'Amiri', serif;
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 10px;
}
.divider::after {
  content: '';
  display: block;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--navy);
  text-align: center;
  margin-bottom: 10px;
}
.section-desc {
  text-align: center;
  color: var(--text-medium);
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 1rem;
}

/* ============================================
   OVERVIEW CARDS
   ============================================ */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.overview-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--gold);
  transition: var(--transition);
}
.overview-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.overview-icon {
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 1.5rem;
}
.overview-card h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: 8px; }
.overview-card p { font-size: 0.85rem; color: var(--text-medium); line-height: 1.6; }

/* ============================================
   SEARCH & FILTER
   ============================================ */
.search-section {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  margin-bottom: 30px;
}
.search-box {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.search-input {
  flex: 1;
  min-width: 200px;
  padding: 12px 18px;
  border: 2px solid var(--cream-dark);
  border-radius: 10px;
  font-family: 'Cairo', sans-serif;
  font-size: 0.95rem;
  transition: var(--transition);
  direction: rtl;
  background: var(--white);
}
.search-input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,0.15); }
.filter-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.filter-select {
  padding: 9px 14px;
  border: 2px solid var(--cream-dark);
  border-radius: 8px;
  font-family: 'Cairo', sans-serif;
  font-size: 0.85rem;
  background: var(--white);
  cursor: pointer;
  direction: rtl;
  transition: var(--transition);
}
.filter-select:focus { outline: none; border-color: var(--gold); }
.filter-btn {
  padding: 9px 18px;
  border: 2px solid var(--cream-dark);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition);
  background: var(--cream);
  color: var(--text-medium);
}
.filter-btn:hover { border-color: var(--gold); color: var(--navy); }
.results-count {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 10px;
  font-weight: 600;
}

/* ============================================
   PHASES
   ============================================ */
.phases-container { position: relative; }
.phase-card {
  position: relative;
  margin-bottom: 40px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.phase-card:nth-child(odd) { flex-direction: row; }
.phase-card:nth-child(even) { flex-direction: row-reverse; }
.phase-medallion {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border: 3px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-family: 'Amiri', serif;
  font-size: 1.6rem;
  font-weight: 700;
  z-index: 2;
  box-shadow: 0 6px 20px rgba(26,39,68,0.3);
}
.phase-content {
  flex: 1;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 25px;
  box-shadow: var(--shadow);
  border-right: 4px solid var(--gold);
  transition: var(--transition);
}
.phase-content:hover { box-shadow: var(--shadow-lg); }
.phase-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}
.phase-title { font-size: 1.3rem; color: var(--navy); line-height: 1.4; }
.phase-days {
  background: var(--cream);
  color: var(--gold-dark);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}
.phase-desc {
  color: var(--text-medium);
  font-size: 0.9rem;
  margin-bottom: 18px;
  line-height: 1.7;
}
.phase-toggle-btn {
  background: var(--cream);
  border: 2px solid var(--cream-dark);
  padding: 8px 20px;
  border-radius: 8px;
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--navy);
  transition: var(--transition);
  margin-bottom: 15px;
}
.phase-toggle-btn:hover { border-color: var(--gold); background: rgba(201,168,76,0.08); }
.phase-papers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 14px;
}

/* ============================================
   PAPER CARD
   ============================================ */
.paper-card {
  background: var(--cream);
  border-radius: 10px;
  padding: 16px;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  position: relative;
}
.paper-card:hover { border-color: var(--gold); background: var(--white); box-shadow: var(--shadow); }
.paper-type-badge {
  display: inline-block;
  padding: 3px 11px;
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.badge-research { background: rgba(26,39,68,0.1); color: var(--navy); }
.badge-report { background: rgba(201,168,76,0.15); color: var(--gold-dark); }
.paper-title {
  font-family: 'Amiri', serif;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.paper-author {
  font-size: 0.8rem;
  color: var(--text-medium);
  margin-bottom: 6px;
  font-weight: 600;
}
.paper-meta {
  display: flex;
  gap: 12px;
  font-size: 0.75rem;
  color: var(--text-light);
  flex-wrap: wrap;
}
.paper-actions {
  display: flex;
  gap: 6px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.paper-btn {
  padding: 5px 12px;
  border-radius: 7px;
  font-size: 0.73rem;
  font-family: 'Cairo', sans-serif;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}
.paper-btn-primary { background: var(--navy); color: var(--gold-light); }
.paper-btn-primary:hover { background: var(--navy-light); }
.paper-btn-secondary { background: var(--cream-dark); color: var(--text-medium); }
.paper-btn-secondary:hover { background: var(--gold-light); color: var(--navy); }
.read-check {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.75rem;
  background: var(--white);
}
.read-check:hover { border-color: var(--gold); }
.read-check.checked {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

/* ============================================
   CALENDAR
   ============================================ */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(95px, 1fr));
  gap: 10px;
  margin: 20px 0;
}
.calendar-day {
  background: var(--white);
  border-radius: 12px;
  padding: 12px 8px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  min-height: 85px;
}
.calendar-day:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow); }
.calendar-day.active { border-color: var(--gold); background: rgba(201,168,76,0.06); }
.calendar-day-num {
  font-family: 'Amiri', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
}
.calendar-day-papers {
  font-size: 0.72rem;
  color: var(--text-light);
  margin-top: 4px;
  font-weight: 600;
}
.calendar-day-phase {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 6px;
}

/* ============================================
   PROGRESS BAR
   ============================================ */
.progress-section {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 25px;
  box-shadow: var(--shadow);
  margin-bottom: 30px;
}
.progress-bar-container {
  background: var(--cream);
  border-radius: 10px;
  height: 18px;
  overflow: hidden;
  margin: 12px 0;
}
.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
  background-size: 200% 100%;
  border-radius: 10px;
  transition: width 0.6s ease;
}
.progress-text {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-medium);
  font-weight: 600;
}

/* ============================================
   MODAL
   ============================================ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(5px);
}
.modal-overlay.active { display: flex; }
.modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  max-width: 820px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.modal-header {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  padding: 28px 30px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  position: sticky;
  top: 0;
  z-index: 1;
}
.modal-close {
  position: absolute;
  top: 18px;
  left: 20px;
  background: rgba(255,255,255,0.12);
  border: none;
  color: var(--white);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.modal-close:hover { background: rgba(255,255,255,0.25); }
.modal-title {
  color: var(--white);
  font-size: 1.3rem;
  line-height: 1.5;
  padding-left: 45px;
}
.modal-title-en {
  color: var(--gold-light);
  font-size: 0.88rem;
  margin-top: 8px;
  font-family: 'Cairo', sans-serif;
  direction: ltr;
  text-align: left;
  padding-left: 45px;
  opacity: 0.85;
}
.modal-body { padding: 28px 30px; }
.modal-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 22px;
}
.modal-info-item {
  background: var(--cream);
  border-radius: 10px;
  padding: 14px 16px;
}
.modal-info-label {
  font-size: 0.73rem;
  color: var(--text-light);
  margin-bottom: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.modal-info-value {
  font-size: 0.9rem;
  color: var(--navy);
  font-weight: 600;
}
.modal-section-title {
  font-family: 'Amiri', serif;
  font-size: 1.15rem;
  color: var(--navy);
  margin: 22px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--cream-dark);
}
.keywords-container {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.keyword-tag {
  background: rgba(26,39,68,0.07);
  color: var(--navy);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
}
.citation-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}
.citation-tab {
  padding: 6px 16px;
  border: none;
  border-radius: 8px;
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  transition: var(--transition);
}
.citation-tab.active { background: var(--navy); color: var(--gold); }
.citation-tab:not(.active) { background: var(--cream-dark); color: var(--text-medium); }
.citation-box {
  background: var(--cream);
  border-radius: 10px;
  padding: 16px;
  margin: 10px 0;
  font-size: 0.84rem;
  direction: ltr;
  text-align: left;
  position: relative;
  line-height: 1.7;
  border: 1px solid var(--cream-dark);
}
.citation-copy {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--navy);
  color: var(--gold);
  border: none;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.72rem;
  cursor: pointer;
  font-family: 'Cairo', sans-serif;
  font-weight: 600;
  transition: var(--transition);
}
.citation-copy:hover { background: var(--navy-light); }

/* --- Share Buttons --- */
.share-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.share-btn {
  padding: 9px 18px;
  border-radius: 8px;
  border: none;
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: white;
}
.share-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
.share-twitter { background: #1da1f2; }
.share-whatsapp { background: #25d366; }
.share-telegram { background: #0088cc; }
.share-copy { background: var(--cream-dark); color: var(--text-dark); }

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-section {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 35px;
  box-shadow: var(--shadow);
}
.about-section h3 {
  color: var(--navy);
  font-size: 1.3rem;
  margin-bottom: 12px;
  margin-top: 25px;
}
.about-section h3:first-child { margin-top: 0; }
.about-section p {
  color: var(--text-medium);
  margin-bottom: 14px;
  font-size: 0.95rem;
  line-height: 1.8;
}
.objective-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 14px;
}
.objective-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--navy);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.82rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy);
  color: var(--gold-light);
  padding: 45px 20px 25px;
  position: relative;
  margin-top: 40px;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}
.footer h4 {
  color: var(--gold);
  margin-bottom: 14px;
  font-size: 1.1rem;
}
.footer p,
.footer a {
  color: rgba(232,213,160,0.75);
  font-size: 0.85rem;
  line-height: 2.2;
}
.footer a:hover { color: var(--gold); }
.footer-bottom {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(201,168,76,0.15);
  font-size: 0.8rem;
  color: rgba(232,213,160,0.4);
}

/* ============================================
   FLOATING BUTTONS
   ============================================ */
.float-btns {
  position: fixed;
  bottom: 25px;
  left: 25px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.float-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: var(--transition);
  background: var(--navy);
  color: var(--gold);
}
.float-btn:hover { transform: scale(1.1); box-shadow: 0 6px 20px rgba(0,0,0,0.3); }
.whatsapp-float {
  width: 56px;
  height: 56px;
  background: var(--green);
  color: white;
  font-size: 1.6rem;
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 25px rgba(37,211,102,0.55); }

/* ============================================
   PAGE NAVIGATION
   ============================================ */
.page-nav { display: none; }
.page-nav.active { display: block; animation: fadeIn 0.3s ease; }

/* ============================================
   EMPTY STATES
   ============================================ */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-light);
}
.empty-state-icon {
  font-size: 3.5rem;
  opacity: 0.25;
  margin-bottom: 15px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .nav-links { display: none !important; }
  .nav-toggle { display: block !important; }
  .header-title { font-size: 0.95rem; }
}

@media (max-width: 768px) {
  .hero { min-height: 75vh; }
  .hero-stats { gap: 20px; }
  .hero-stat-num { font-size: 2.2rem; }
  .phase-card,
  .phase-card:nth-child(even) {
    flex-direction: column;
    align-items: center;
  }
  .phase-content {
    border-right: none;
    border-top: 4px solid var(--gold);
  }
  .modal-info-grid { grid-template-columns: 1fr; }
  .calendar-grid { grid-template-columns: repeat(5, 1fr); }
  .section { padding: 40px 15px; }
  .modal-body { padding: 20px 16px; }
  .modal-header { padding: 22px 20px; }
  .modal-title { font-size: 1.1rem; padding-left: 35px; }
  .float-btns { bottom: 15px; left: 15px; }
  .whatsapp-float { bottom: 15px; right: 15px; }
  .phase-papers-grid { grid-template-columns: 1fr; }
  .overview-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  .about-section { padding: 22px 18px; }
  .footer-content { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero { min-height: 65vh; }
  .hero-content { padding: 30px 15px; }
  .calendar-grid { grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .calendar-day { padding: 8px 4px; min-height: 70px; }
  .calendar-day-num { font-size: 1.2rem; }
  .header-logo img { height: 32px; }
  .header-title { font-size: 0.85rem; }
}
