/* ============================================================
   Study in Egypt — Main Stylesheet
   www.studyinegypt.com
   ============================================================ */

/* ─── Root Variables ────────────────────────────────────────── */
:root {
  --primary:      #1a56db;
  --primary-dark: #1447be;
  --secondary:    #0e9f6e;
  --accent:       #f59e0b;
  --dark:         #111827;
  --text:         #374151;
  --text-muted:   #6b7280;
  --bg-light:     #f8fafc;
  --bg-section:   #f0f5ff;
  --border:       #e5e7eb;
  --shadow-sm:    0 1px 3px rgba(0,0,0,.08);
  --shadow-md:    0 4px 20px rgba(0,0,0,.1);
  --shadow-lg:    0 10px 40px rgba(0,0,0,.12);
  --radius:       12px;
  --radius-sm:    8px;
  --radius-lg:    20px;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-arabic:  'Cairo', 'Inter', sans-serif;
  --transition:   .25s ease;
}

/* ─── Base ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}
html[lang="ar"] body { font-family: var(--font-arabic); }
img { max-width: 100%; height: auto; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }

/* ─── Typography ──────────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 { font-weight: 700; line-height: 1.3; color: var(--dark); }
.lead { font-size: 1.1rem; color: var(--text-muted); }

/* ─── Section Helpers ─────────────────────────────────────── */
.section-bg { background: var(--bg-section); }
.section-badge {
  display: inline-block;
  background: rgba(26,86,219,.1);
  color: var(--primary);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .9rem;
  border-radius: 50px;
  margin-bottom: .75rem;
}
.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; }
.section-sub { color: var(--text-muted); max-width: 600px; margin: .5rem auto 0; }

/* ─── Buttons ─────────────────────────────────────────────── */
.btn { border-radius: 8px; font-weight: 600; transition: var(--transition); }
.btn-primary { background: var(--primary); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 15px rgba(26,86,219,.3); }
.btn-success { background: var(--secondary); border-color: var(--secondary); }
.btn-success:hover { background: #0c8a5e; border-color: #0c8a5e; }
.btn-outline-primary { color: var(--primary); border-color: var(--primary); }
.btn-outline-primary:hover { background: var(--primary); color: #fff; transform: translateY(-1px); }

/* ─── Header / Topbar ────────────────────────────────────── */
.site-header { background: #fff; box-shadow: 0 1px 15px rgba(0,0,0,.06); z-index: 1000; }
.topbar { background: var(--primary); padding: .4rem 0; font-size: .8rem; }
.topbar-link { color: rgba(255,255,255,.85); text-decoration: none; }
.topbar-link:hover { color: #fff; }
.topbar-social { color: rgba(255,255,255,.8); font-size: 1rem; transition: var(--transition); }
.topbar-social:hover { color: #fff; transform: scale(1.15); }

/* Language Switcher */
.lang-btn { background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3); color: #fff !important; font-size: .8rem; }
.lang-btn:hover, .lang-btn:focus { background: rgba(255,255,255,.25); }
.lang-btn .bi { font-size: .75rem; }

/* Navbar */
.main-navbar { padding: .75rem 0; }
.main-navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.08); }
.navbar-brand { font-weight: 800; font-size: 1.3rem; }
.logo-study { color: var(--primary); }
.logo-in { color: var(--text-muted); }
.logo-egypt { color: var(--secondary); }
.logo-img { height: 44px; width: auto; }
.main-navbar .nav-link { font-weight: 500; font-size: .9rem; color: var(--text) !important; padding: .5rem .75rem !important; border-radius: 6px; position: relative; }
.main-navbar .nav-link:hover, .main-navbar .nav-link.active { color: var(--primary) !important; background: rgba(26,86,219,.06); }
.main-navbar .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 20px; height: 2px;
  background: var(--primary);
  border-radius: 2px;
}
.navbar-cta .btn { font-size: .85rem; padding: .4rem .9rem; }
.dropdown-menu { border-radius: var(--radius-sm); border: none; box-shadow: var(--shadow-md); }
.dropdown-item { font-size: .875rem; padding: .55rem 1.1rem; }
.dropdown-item:hover { background: rgba(26,86,219,.07); color: var(--primary); }

/* Mobile Nav */
.mobile-nav .nav-link { padding: .75rem 0; border-bottom: 1px solid var(--border); color: var(--text) !important; font-weight: 500; }
.mobile-nav .nav-link i { width: 1.5rem; color: var(--primary); }

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  width: 56px; height: 56px;
  background: #25D366;
  color: #fff !important;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  z-index: 999;
  transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 25px rgba(37,211,102,.5); color: #fff !important; }

/* ─── Hero Section ────────────────────────────────────────── */
.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0a2c6e 0%, #1a56db 60%, #0e9f6e 100%);
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
  opacity: .15;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,44,110,.92) 0%, rgba(26,86,219,.8) 50%, rgba(14,159,110,.7) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 6rem 0 4rem; }
.min-vh-85 { min-height: 85vh; }
.hero-badge {
  display: inline-flex; align-items: center;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(10px);
  color: #fff;
  padding: .5rem 1.2rem;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,.2);
}
.hero-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 10px rgba(0,0,0,.2);
}
.hero-subtitle { font-size: 1.05rem; color: rgba(255,255,255,.9); max-width: 560px; }
.hero-btn-primary { background: #fff !important; color: var(--primary) !important; border-color: #fff !important; font-weight: 700; }
.hero-btn-primary:hover { background: #f0f5ff !important; transform: translateY(-2px); }
.hero-btn-secondary { border-color: rgba(255,255,255,.6) !important; color: #fff !important; }
.hero-btn-secondary:hover { background: rgba(255,255,255,.15) !important; }
.hero-stats { gap: 2rem !important; }
.hero-stat { text-align: center; }
.hero-stat-num { font-size: 1.8rem; font-weight: 800; color: #fff; line-height: 1; }
.hero-stat-label { font-size: .75rem; color: rgba(255,255,255,.75); margin-top: .2rem; }
.hero-scroll {
  position: absolute; bottom: 1.5rem; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.6);
  font-size: 1.3rem;
  animation: bounce 2s infinite;
  cursor: pointer;
}
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }

/* ─── Page Hero (inner pages) ────────────────────────────── */
.page-hero-sm {
  background: linear-gradient(135deg, #0a2c6e 0%, #1a56db 100%);
  padding: 2.5rem 0 2rem;
  color: #fff;
}
.page-hero-sm .breadcrumb { font-size: .8rem; margin-bottom: .75rem; }
.page-hero-sm .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.5); }
.page-hero-sm .breadcrumb-item a { color: rgba(255,255,255,.75); }
.page-hero-sm .breadcrumb-item.active { color: rgba(255,255,255,.9); }
.page-hero-title { font-size: clamp(1.5rem, 3vw, 2.2rem); color: #fff; margin: 0; }
.page-hero-sub { color: rgba(255,255,255,.8); margin-top: .5rem; }

/* ─── Why Egypt Cards ────────────────────────────────────── */
.why-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.why-icon { font-size: 2rem; margin-bottom: .75rem; }
.why-title { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.why-text { font-size: .875rem; color: var(--text-muted); margin: 0; }

/* ─── University Cards ───────────────────────────────────── */
.uni-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
  display: flex; flex-direction: column;
}
.uni-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.uni-card-header {
  padding: 1.25rem 1.25rem .75rem;
  position: relative;
  border-bottom: 1px solid var(--border);
  background: var(--bg-light);
  display: flex; align-items: center; gap: .75rem;
}
.uni-logo { width: 60px; height: 60px; object-fit: contain; }
.uni-logo-placeholder {
  width: 60px; height: 60px;
  background: rgba(26,86,219,.1);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 1.5rem;
  flex-shrink: 0;
}
.uni-type-badge { font-size: .7rem; position: absolute; top: .75rem; right: .75rem; }
.uni-card-body { padding: 1.25rem; flex: 1; }
.uni-name { font-size: .95rem; font-weight: 700; margin-bottom: .5rem; }
.uni-desc { font-size: .8rem; color: var(--text-muted); line-height: 1.6; margin-bottom: .75rem; }
.uni-meta { display: flex; flex-wrap: wrap; gap: .3rem; }
.uni-meta-item { font-size: .75rem; color: var(--text-muted); background: var(--bg-light); padding: .2rem .6rem; border-radius: 50px; border: 1px solid var(--border); }
.uni-card-footer { padding: 1rem 1.25rem; border-top: 1px solid var(--border); }

/* ─── Program / Department Cards ─────────────────────────── */
.program-card-link { text-decoration: none; display: block; }
.program-card {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  display: flex; align-items: center; gap: 1rem;
  transition: var(--transition);
}
.program-card:hover { border-color: var(--primary); background: rgba(26,86,219,.03); transform: translateX(4px); }
.program-icon { font-size: 1.5rem; flex-shrink: 0; }
.program-info { flex: 1; }
.program-name { font-size: .9rem; font-weight: 600; color: var(--dark); margin: 0 0 .15rem; }
.program-duration { font-size: .75rem; color: var(--text-muted); }
.program-arrow { color: var(--primary); font-size: 1.1rem; opacity: .6; transition: var(--transition); }
.program-card:hover .program-arrow { opacity: 1; transform: translateX(4px); }

.dept-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
  display: flex; flex-direction: column;
}
.dept-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.dept-card-header { padding: 1.5rem; position: relative; background: var(--bg-section); text-align: center; }
.dept-icon { font-size: 2.5rem; }
.dept-card-body { padding: 1.25rem; flex: 1; }
.dept-name { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.dept-desc { font-size: .8rem; color: var(--text-muted); }
.dept-meta { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .75rem; }
.dept-card-footer { padding: 1rem 1.25rem; border-top: 1px solid var(--border); }

/* ─── Cost Section ───────────────────────────────────────── */
.cost-cards { display: flex; flex-direction: column; gap: .75rem; }
.cost-item {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  display: flex; align-items: center; gap: 1rem;
  transition: var(--transition);
}
.cost-item:hover { box-shadow: var(--shadow-sm); }
.cost-item-highlight { background: rgba(26,86,219,.04); border-color: var(--primary); }
.cost-icon { font-size: 1.5rem; flex-shrink: 0; }
.cost-info { display: flex; flex-direction: column; }
.cost-label { font-weight: 600; font-size: .9rem; }
.cost-range { font-size: .85rem; color: var(--text-muted); }
.cost-item-highlight .cost-range { color: var(--primary); font-weight: 700; font-size: 1rem; }

/* ─── Steps / Apply ──────────────────────────────────────── */
.steps-timeline { position: relative; }
.steps-timeline::before {
  content: '';
  position: absolute;
  left: 28px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
  opacity: .25;
}
.step-item {
  display: flex; gap: 1.25rem;
  margin-bottom: 1.5rem;
  position: relative;
}
.step-number {
  width: 56px; height: 56px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(26,86,219,.3);
  position: relative; z-index: 1;
}
.step-content { padding-top: .75rem; }
.step-title { font-size: 1rem; font-weight: 700; margin-bottom: .35rem; }
.step-text { color: var(--text-muted); font-size: .875rem; margin: 0; }

/* Apply page steps */
.apply-step-card {
  display: flex; gap: 1.5rem;
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1rem;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.apply-step-card:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.apply-step-num {
  width: 48px; height: 48px;
  background: rgba(26,86,219,.1);
  color: var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 800; flex-shrink: 0;
}
.apply-step-title { font-size: 1rem; font-weight: 700; margin-bottom: .35rem; }
.apply-step-detail { margin-top: .5rem; padding-top: .5rem; border-top: 1px dashed var(--border); }

/* ─── Testimonials ───────────────────────────────────────── */
.testimonials-swiper { padding-bottom: 3rem !important; }
.testimonial-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  height: 100%;
}
.testimonial-stars { font-size: 1rem; margin-bottom: .75rem; }
.testimonial-text { font-style: italic; color: var(--text); line-height: 1.8; font-size: .95rem; margin-bottom: 1.25rem; }
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.testimonial-avatar { flex-shrink: 0; }
.testimonial-avatar img, .avatar-placeholder {
  width: 48px; height: 48px; border-radius: 50%; object-fit: cover;
}
.avatar-placeholder {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff; font-size: 1.2rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.testimonial-info { display: flex; flex-direction: column; }
.testimonial-info strong { font-size: .9rem; }
.testimonial-info span { font-size: .78rem; color: var(--text-muted); }

/* ─── Blog Cards ─────────────────────────────────────────── */
.blog-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card-img { position: relative; overflow: hidden; height: 200px; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-category {
  position: absolute; top: .75rem; left: .75rem;
  background: var(--primary);
  color: #fff;
  font-size: .7rem; font-weight: 600;
  padding: .25rem .65rem;
  border-radius: 50px;
  text-transform: uppercase; letter-spacing: .05em;
}
.blog-card-body { padding: 1.25rem; flex: 1; }
.blog-title a { color: var(--dark); font-size: .95rem; font-weight: 700; line-height: 1.5; }
.blog-title a:hover { color: var(--primary); }
.blog-excerpt { font-size: .82rem; color: var(--text-muted); line-height: 1.7; margin-top: .5rem; }
.blog-card-footer { padding: .75rem 1.25rem; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.blog-date { color: var(--text-muted); font-size: .78rem; }
.blog-read-more { font-size: .82rem; font-weight: 600; color: var(--primary); }
.blog-read-more:hover { color: var(--primary-dark); }

/* Blog single */
.post-title { font-size: clamp(1.5rem,3vw,2rem); line-height: 1.3; }
.post-meta { color: var(--text-muted); }
.content-body { font-size: 1rem; line-height: 1.85; }
.content-body h2 { font-size: 1.4rem; margin-top: 2rem; margin-bottom: .75rem; color: var(--dark); }
.content-body h3 { font-size: 1.15rem; margin-top: 1.5rem; margin-bottom: .5rem; }
.content-body p { margin-bottom: 1.25rem; }
.content-body ul, .content-body ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.content-body li { margin-bottom: .4rem; }
.content-body blockquote { border-left: 3px solid var(--primary); padding: 1rem 1.5rem; background: var(--bg-section); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 1.5rem 0; }
.content-body img { border-radius: var(--radius-sm); }
.content-body a { color: var(--primary); text-decoration: underline; }

/* ─── CTA Section ────────────────────────────────────────── */
.cta-section { background: var(--bg-section); }
.cta-box {
  background: linear-gradient(135deg, var(--primary) 0%, #0c6c4f 100%);
  border-radius: var(--radius-lg);
  padding: 2.5rem 3rem;
  color: #fff;
}
.cta-title { font-size: 1.6rem; font-weight: 800; color: #fff; }
.cta-text { color: rgba(255,255,255,.85); margin: 0; }

/* ─── Sidebar ────────────────────────────────────────────── */
.sidebar-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
}
.sidebar-card-title {
  font-size: .9rem;
  font-weight: 700;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  margin: 0;
  background: var(--bg-light);
}
.sidebar-info-list { list-style: none; padding: 1rem 1.25rem; margin: 0; }
.sidebar-info-list li { padding: .5rem 0; border-bottom: 1px solid var(--border); font-size: .875rem; display: flex; align-items: flex-start; gap: .5rem; }
.sidebar-info-list li:last-child { border-bottom: none; }
.cta-sidebar-card {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
}
.cta-sidebar-card h5 { color: #fff; margin-bottom: .5rem; }
.cta-sidebar-card p { color: rgba(255,255,255,.85); }
.cta-sidebar-card .btn-primary { background: #fff; color: var(--primary); border-color: #fff; }
.cta-sidebar-card .btn-primary:hover { background: #f0f5ff; }
.cta-sidebar-card .btn-outline-primary { border-color: rgba(255,255,255,.6); color: #fff; }
.cta-sidebar-card .btn-outline-primary:hover { background: rgba(255,255,255,.15); color: #fff; }

/* Recent posts sidebar */
.recent-posts-list { list-style: none; padding: 1rem 1.25rem; margin: 0; }
.recent-posts-list li { padding: .6rem 0; border-bottom: 1px solid var(--border); }
.recent-posts-list li:last-child { border-bottom: none; }
.recent-posts-list a { font-size: .85rem; font-weight: 500; color: var(--dark); display: block; }
.recent-posts-list a:hover { color: var(--primary); }
.recent-posts-list span { font-size: .75rem; color: var(--text-muted); display: block; margin-top: .15rem; }

/* ─── Contact ────────────────────────────────────────────── */
.contact-info-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1rem 1.25rem;
  background: #fff;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  margin-bottom: .75rem;
  transition: var(--transition);
}
.contact-info-item:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.contact-info-icon { width: 44px; height: 44px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.contact-info-item h6 { font-size: .85rem; font-weight: 700; margin-bottom: .15rem; }
.contact-info-item a { font-size: .875rem; }
.contact-form-card { background: #fff; border-radius: var(--radius); padding: 2rem; border: 1px solid var(--border); }
.map-container iframe { width: 100%; height: 350px; border: 0; }

/* ─── Footer ─────────────────────────────────────────────── */
.site-footer { background: #111827; color: #9ca3af; }
.footer-top { padding: 4rem 0 2rem; }
.footer-brand { font-size: 1.4rem; }
.footer-brand .logo-study { color: var(--primary); }
.footer-brand .logo-in { color: #9ca3af; }
.footer-brand .logo-egypt { color: var(--secondary); }
.footer-tagline { font-size: .875rem; color: #9ca3af; max-width: 260px; line-height: 1.7; }
.footer-contact-info { display: flex; flex-direction: column; gap: .6rem; }
.footer-contact-item { display: flex; align-items: center; font-size: .82rem; }
.footer-contact-item a { color: #9ca3af; }
.footer-contact-item a:hover { color: #fff; }
.footer-heading { font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #fff; margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .6rem; }
.footer-links a { color: #9ca3af; font-size: .85rem; }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-newsletter-text { font-size: .82rem; margin-bottom: .75rem; }
.footer-newsletter-form .form-control { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.12); color: #fff; }
.footer-newsletter-form .form-control::placeholder { color: rgba(255,255,255,.4); }
.footer-newsletter-form .form-control:focus { background: rgba(255,255,255,.12); border-color: var(--primary); box-shadow: none; }
.footer-social { display: flex; gap: .5rem; flex-wrap: wrap; }
.social-icon {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: #9ca3af;
  background: rgba(255,255,255,.08);
  transition: var(--transition);
}
.social-icon:hover { color: #fff; }
.social-icon.facebook:hover { background: #1877f2; }
.social-icon.instagram:hover { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.social-icon.twitter:hover { background: #000; }
.social-icon.youtube:hover { background: #ff0000; }
.social-icon.linkedin:hover { background: #0077b5; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.25rem 0; font-size: .8rem; }
.footer-copy { color: #9ca3af; }
.footer-bottom a { color: #9ca3af; }
.footer-bottom a:hover { color: #fff; }

/* ─── About Egypt ────────────────────────────────────────── */
.about-section { padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.about-section:last-child { border-bottom: none; }
.about-section-title { font-size: 1.3rem; margin-bottom: 1rem; display: flex; align-items: center; gap: .5rem; }
.section-icon { font-size: 1.5rem; }
.about-list { list-style: none; padding: 0; }
.about-list li { padding: .45rem 0; padding-left: 1.5rem; position: relative; font-size: .9rem; }
.about-list li::before { content: '✓'; position: absolute; left: 0; color: var(--secondary); font-weight: 700; }
.climate-card { display: flex; align-items: center; gap: .75rem; padding: .75rem 1rem; background: var(--bg-section); border-radius: var(--radius-sm); }
.climate-icon { font-size: 1.5rem; flex-shrink: 0; }

/* Why Egypt */
.advantage-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
  transition: var(--transition);
  text-align: center;
}
.advantage-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.advantage-icon { font-size: 2.5rem; margin-bottom: .75rem; }
.advantage-title { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.comparison-table { border-radius: var(--radius); overflow: hidden; }
.comparison-table thead th { background: var(--primary); color: #fff; font-size: .8rem; }
.comparison-table tbody td { font-size: .875rem; }
.comparison-table .table-primary td { background: rgba(26,86,219,.07) !important; }
.stat-box { padding: 1.5rem; text-align: center; }
.stat-num { font-size: 2rem; font-weight: 800; color: var(--primary); }
.stat-label { font-size: .8rem; color: var(--text-muted); margin-top: .25rem; }

/* Life Guide */
.life-section { padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.life-section:last-child { border-bottom: none; }
.life-section-title { font-size: 1.3rem; margin-bottom: 1rem; display: flex; align-items: center; gap: .5rem; }
.budget-summary { background: #fff; border-radius: var(--radius); padding: 2rem; border: 1px solid var(--border); }
.budget-item { display: flex; align-items: center; gap: .75rem; padding: .75rem 1rem; background: var(--bg-light); border-radius: var(--radius-sm); border: 1px solid var(--border); }
.budget-icon { font-size: 1.3rem; flex-shrink: 0; }
.budget-info { display: flex; flex-direction: column; }
.budget-label { font-size: .85rem; font-weight: 600; }
.budget-range { font-size: .82rem; color: var(--text-muted); }
.budget-total { background: rgba(26,86,219,.06); border-radius: var(--radius-sm); padding: 1rem 1.25rem; border: 1px solid var(--primary); font-size: 1rem; text-align: center; }
.housing-card { background: var(--bg-light); border-radius: var(--radius-sm); padding: 1.25rem; border: 1px solid var(--border); height: 100%; }
.food-price-item { display: flex; flex-direction: column; align-items: center; gap: .2rem; background: var(--bg-light); border-radius: var(--radius-sm); padding: .75rem; border: 1px solid var(--border); }
.food-emoji { font-size: 1.3rem; }
.food-name { font-size: .75rem; text-align: center; color: var(--text-muted); }
.food-cost { font-size: .85rem; font-weight: 700; }
.transport-item { display: flex; justify-content: space-between; align-items: center; padding: .75rem 0; border-bottom: 1px solid var(--border); }
.transport-item:last-child { border-bottom: none; }

/* Apply page */
.info-box { background: #fff; border-radius: var(--radius); padding: 1.75rem; border: 1px solid var(--border); }
.info-box-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem; padding-bottom: .75rem; border-bottom: 1px solid var(--border); display: flex; align-items: center; }
.doc-item { display: flex; align-items: flex-start; gap: .75rem; padding: .65rem 0; border-bottom: 1px solid var(--border); }
.doc-item:last-child { border-bottom: none; }
.timeline-item { display: flex; gap: 1rem; padding: .75rem 0; border-bottom: 1px dashed var(--border); }
.timeline-item:last-child { border-bottom: none; }
.timeline-date { font-size: .78rem; font-weight: 700; color: var(--primary); white-space: nowrap; padding-top: .15rem; min-width: 100px; }

/* FAQ */
.faq-item { border: 1px solid var(--border) !important; border-radius: var(--radius-sm) !important; margin-bottom: .5rem !important; overflow: hidden; }
.faq-item .accordion-button { font-weight: 600; font-size: .95rem; }
.faq-item .accordion-button:not(.collapsed) { color: var(--primary); background: rgba(26,86,219,.04); }
.faq-item .accordion-button:focus { box-shadow: none; }
.faq-answer { font-size: .9rem; line-height: 1.8; color: var(--text); }
.faq-cta { background: var(--bg-section); border-radius: var(--radius); padding: 2.5rem; }

/* ─── Swiper Overrides ───────────────────────────────────── */
.swiper-button-prev, .swiper-button-next { color: var(--primary) !important; }
.swiper-pagination-bullet-active { background: var(--primary) !important; }

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 767px) {
  .hero-stats { gap: 1.25rem !important; }
  .hero-stat-num { font-size: 1.4rem; }
  .cta-box { padding: 1.75rem; }
  .steps-timeline::before { display: none; }
  .apply-step-card { flex-direction: column; }
}
@media (max-width: 575px) {
  .hero-title { font-size: 1.6rem; }
  .section-title { font-size: 1.4rem; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
}
