:root {
  --gold: #c9a227;
  --gold-dark: #8c6a2f;
  --gold-deeper: #6f521f;
  --gold-light: #f2e4bf;
  --gold-xlight: #faf7f2;
  --brown: #6b5530;
  --white: #ffffff;
  --dark: #2b2218;
  --gray: #6e6253;
  --border: #e9dfc9;
}
*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{font-family:'Tajawal',sans-serif;color:var(--dark);background:var(--gold-xlight);overflow-x:hidden;}

/* TOP BAR */
.topbar{
  background:linear-gradient(90deg,var(--gold-deeper),var(--gold-dark));
  color:#fff;
  padding:10px 0;
  font-size:13px;
  border-bottom:1px solid rgba(242,228,191,.3);
}
.topbar-inner{max-width:1200px;margin:0 auto;padding:0 24px;display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;}
.topbar a{color:#fff;text-decoration:none;display:inline-flex;align-items:center;gap:5px;transition:opacity .2s;}
.topbar a:hover{opacity:.85;}
.topbar-links{display:flex;gap:20px;}
.topbar-center{font-size:13px;color:rgba(255,255,255,.94);font-weight:500;}
.topbar-right{font-size:13px;font-weight:700;color:var(--gold-light);}
.topbar-socials{display:flex;gap:12px;align-items:center;}
.topbar-socials a{width:28px;height:28px;border-radius:8px;background:rgba(255,255,255,.14);border:1px solid rgba(242,228,191,.45);display:flex;align-items:center;justify-content:center;font-size:13px;transition:all .2s;color:#fff;}
.topbar-socials a:hover{background:rgba(255,255,255,.24);border-color:rgba(242,228,191,.75);}

/* NAVBAR */
.navbar{background:#f1f2f4;backdrop-filter:blur(6px);position:sticky;top:0;z-index:1000;border-bottom:1px solid #d9dde3;box-shadow:0 6px 16px rgba(18,28,45,.06);}
.nav-inner{max-width:1200px;margin:0 auto;padding:0 24px;display:flex;align-items:center;justify-content:space-between;height:72px;}
.logo{display:flex;align-items:center;gap:10px;text-decoration:none;}
.logo img{
  height:68px;
  width:auto;
  border-radius:10px;
  background:#fff;
  padding:4px;
  border:1px solid #d9dde3;
  box-shadow:0 8px 18px rgba(20,32,50,.12);
  object-fit:contain;
}
.logo-txt{display:flex;flex-direction:column;}
.logo-name{font-family:'Amiri',serif;font-size:21px;font-weight:700;color:#8b692f;line-height:1.1;}
.logo-sub{font-size:10px;color:var(--gray);letter-spacing:1.5px;font-weight:500;text-transform:uppercase;}
.nav-links{display:flex;align-items:center;gap:4px;list-style:none;}
.nav-links a{text-decoration:none;color:#1f2f44;font-size:14px;font-weight:600;padding:8px 14px;border-radius:8px;transition:all .2s;border-bottom:2px solid transparent;}
.nav-links a:hover,.nav-links a.active{color:#4cad5d;border-bottom-color:#4cad5d;border-radius:0;padding-bottom:6px;}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--dark);
  cursor: pointer;
  padding: 8px;
  transition: all 0.2s;
  border-radius: 6px;
}
.menu-toggle:hover {
  color: #4cad5d;
  background: rgba(76, 173, 93, 0.08);
}


.btn-wa-nav{display:inline-flex;align-items:center;gap:6px;border:1.5px solid #c8ced7;border-radius:22px;padding:8px 18px !important;font-weight:600;background:#fff;transition:all .2s;}
.btn-wa-nav:hover{border-color:#4cad5d;background:#f2faf4;}
.btn-cta-nav{background:#8b692f !important;color:#fff !important;padding:10px 22px !important;border-radius:10px !important;font-weight:700 !important;border:none !important;transition:all .2s;box-shadow:0 8px 20px rgba(80,60,30,.2);}
.btn-cta-nav:hover{background:#745627 !important;transform:translateY(-1px);}

/* HERO SECTION (PREMIUM FULL BACKGROUND COVER) */
.hero {
  background: linear-gradient(rgba(18, 30, 24, 0.76), rgba(18, 30, 24, 0.76)), 
              url('../images/hero-bg.png') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  color: #ffffff;
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 120px 24px 140px;
  text-align: right;
}

.hero-inner-new {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-content-new {
  max-width: 780px;
}

.hero-badge-new {
  font-size: 13px;
  font-weight: 700;
  color: #4cad5d;
  background: rgba(76, 173, 93, 0.15);
  border: 1px solid rgba(76, 173, 93, 0.3);
  padding: 6px 16px;
  border-radius: 99px;
  display: inline-block;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
  backdrop-filter: blur(4px);
}

.hero-title-new {
  font-family: 'Tajawal', sans-serif;
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.3;
  color: #ffffff;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.hero-subtitle-new {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 640px;
  text-shadow: 0 1px 5px rgba(0,0,0,0.2);
}

.hero-btns-new {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-hero-new {
  background: #4cad5d;
  color: #ffffff;
  padding: 16px 36px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(76, 173, 93, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-hero-new:hover {
  background: #3e964e;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(76, 173, 93, 0.45);
}

.btn-hero-outline-new {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 16px 36px;
  border-radius: 99px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.btn-hero-outline-new:hover {
  background: #ffffff;
  color: var(--dark);
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* Wavy Bottom Divider */
.hero-wave-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 3;
}

.hero-wave-bottom svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 80px;
}

.hero-wave-bottom .shape-fill {
  fill: #ffffff;
}

/* SECTIONS COMMON */
section{padding:80px 24px;scroll-margin-top:80px;}
.section-inner{max-width:1200px;margin:0 auto;}
.section-tag{color:var(--gold-dark);font-size:12px;font-weight:700;letter-spacing:2px;text-transform:uppercase;margin-bottom:10px;display:flex;align-items:center;gap:8px;}
.section-tag::before{content:'';width:30px;height:2px;background:var(--gold);}
.section-title{font-family:'Amiri',serif;font-size:clamp(1.7rem,3.5vw,2.5rem);font-weight:700;color:var(--gold-deeper);margin-bottom:14px;line-height:1.4;}
.section-desc{color:var(--gray);font-size:16px;line-height:1.9;max-width:660px;}
.text-center{text-align:center;}
.text-center .section-tag{justify-content:center;}
.text-center .section-tag::before{display:none;}
.text-center .section-desc{margin:0 auto;}

/* ABOUT */
.about{background:#fff;padding:100px 24px;position:relative;overflow:hidden;}
.about::before {
  content:'';
  position:absolute;
  top:-50%;
  right:-10%;
  width:600px;
  height:600px;
  background:radial-gradient(circle, rgba(201,162,39,0.06) 0%, rgba(201,162,39,0) 70%);
  border-radius:50%;
  pointer-events:none;
}
.about-grid{display:grid;grid-template-columns:1.1fr 0.9fr;gap:60px;align-items:center;}
.about-text-side{text-align:right;}
.about-tag{
  display:inline-flex;
  align-items:center;
  padding:6px 16px;
  background:linear-gradient(135deg, rgba(201,162,39,0.1), rgba(201,162,39,0.03));
  border:1px solid rgba(201,162,39,0.2);
  border-radius:99px;
  font-size:13px;
  color:var(--gold-dark);
  font-weight:700;
  letter-spacing:1px;
  text-transform:uppercase;
  margin-bottom:20px;
  box-shadow:0 4px 10px rgba(201,162,39,0.05);
}
.about-title{
  font-family:'Amiri',serif;
  font-size:clamp(2rem,4.2vw,3.2rem);
  font-weight:800;
  line-height:1.3;
  margin-bottom:24px;
  background:linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  color:var(--gold-deeper);
  text-shadow:0 10px 30px rgba(201,162,39,0.15);
}
.about-desc{color:var(--gray);font-size:16px;line-height:1.9;margin-bottom:20px;}
.about-features{display:grid;grid-template-columns:1fr 1fr;gap:16px 24px;margin-top:32px;}
.about-feat-item{display:flex;align-items:flex-start;gap:12px;font-size:15px;color:var(--dark);font-weight:600;line-height:1.4;transition:all 0.3s ease;}
.about-feat-item:hover{transform:translateY(-2px);color:var(--gold-dark);}
.about-feat-item .check{width:24px;height:24px;border-radius:50%;background:linear-gradient(135deg,var(--gold),var(--gold-dark));color:#fff;display:flex;align-items:center;justify-content:center;font-size:11px;flex-shrink:0;box-shadow:0 4px 10px rgba(201,162,39,0.3);}

.about-video-wrap {
  position:relative;
  border-radius:24px;
  box-shadow:0 20px 50px rgba(140,106,47,0.15);
  border:4px solid #fff;
  transition:all 0.4s ease;
  overflow:hidden;
}
.about-video-wrap:hover {
  transform:translateY(-8px);
  box-shadow:0 30px 60px rgba(140,106,47,0.22);
}
.about-video-wrap video {
  width:100%;
  display:block;
  border-radius:20px;
  background:#000;
}

/* About Card */
.about-card-side{position:relative;}
.about-logo-card{background:linear-gradient(160deg,var(--gold-xlight) 0%,#f0e8d4 100%);border-radius:20px;padding:40px 30px;text-align:center;border:1px solid var(--border);position:relative;overflow:hidden;}
.about-logo-card::before{content:'';position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,var(--gold),var(--gold-dark));}
.about-logo-card img{height:120px;width:auto;margin-bottom:20px;border-radius:12px;}
.about-logo-card-name{font-family:'Amiri',serif;font-size:1.6rem;font-weight:700;color:var(--gold-deeper);margin-bottom:4px;}
.about-logo-card-en{font-size:12px;color:var(--gray);letter-spacing:2px;text-transform:uppercase;margin-bottom:20px;}
.about-logo-card-stars{color:var(--gold);font-size:20px;letter-spacing:3px;margin-bottom:8px;}
.about-logo-card-info{font-size:14px;color:var(--gold-dark);font-weight:700;margin-top:16px;}
.about-logo-card-sub{font-size:12px;color:var(--gray);margin-top:4px;}


/* PROGRAMS */
.programs {
  background: #ffffff; /* White background to match screenshot layout */
  position: relative;
  padding: 80px 24px 100px;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.programs .text-center > :not(.programs-heading-dynamic) {
  display: none;
}

.programs .programs-heading-dynamic > * {
  display: revert;
}

.programs-grid > .prog-card:not(.program-card-dynamic) {
  display: none;
}

.programs-badge-top {
  font-size: 13px;
  font-weight: 700;
  color: #4cad5d;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: inline-block;
  background: rgba(76, 173, 93, 0.08);
  padding: 4px 16px;
  border-radius: 99px;
}

.section-title-new-courses {
  font-family: 'Amiri', serif;
  font-size: clamp(2rem, 3.8vw, 2.6rem);
  color: var(--dark);
  font-weight: 700;
  margin-bottom: 16px;
}

.section-desc-new-courses {
  color: var(--gray);
  font-size: 16px;
  line-height: 1.85;
  max-width: 660px;
  margin: 0 auto 40px;
}

.prog-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(233, 223, 201, 0.4);
  box-shadow: 0 10px 30px rgba(140, 106, 47, 0.03);
  transition: all 0.3s ease;
  position: relative;
}

.prog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(140, 106, 47, 0.1);
  border-color: var(--gold-light);
}

.prog-banner {
  height: 230px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  color: #ffffff;
  overflow: hidden;
  text-align: center;
  transition: all 0.3s ease;
}

.prog-banner-image {
  padding: 0;
  background: #1b3526;
}

.prog-banner-image::before {
  display: none;
}

.prog-banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.program-details-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: #4cad5d;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}

.program-details-link:hover {
  color: #1b3526;
  transform: translateX(-4px);
}

.program-show-hero {
  position: relative;
  min-height: 460px;
  padding: 130px 24px 90px;
  background: linear-gradient(135deg, #1b3526 0%, #4cad5d 100%);
  background-size: cover;
  background-position: center;
  color: #ffffff;
  overflow: hidden;
}

.program-show-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27, 53, 38, 0.88), rgba(27, 53, 38, 0.58));
}

.program-show-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.program-show-badge {
  display: inline-flex;
  padding: 6px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 700;
  margin-bottom: 18px;
}

.program-show-hero h1 {
  font-family: 'Amiri', serif;
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1.25;
  margin-bottom: 18px;
}

.program-show-hero p {
  font-size: 1.1rem;
  line-height: 1.9;
  max-width: 700px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.92);
}

.program-show-content-section,
.program-related-section {
  background: #ffffff;
  padding: 80px 24px;
}

.program-show-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 36px;
  align-items: start;
}

.program-show-main,
.program-side-card {
  border: 1px solid rgba(233, 223, 201, 0.6);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(27, 53, 38, 0.05);
}

.program-show-main {
  padding: 38px;
}

.program-rich-content {
  color: var(--dark);
  font-size: 1.05rem;
  line-height: 2;
}

.program-rich-content h2,
.program-rich-content h3 {
  font-family: 'Amiri', serif;
  color: #1b3526;
  margin: 22px 0 14px;
}

.program-rich-content img {
  max-width: 100%;
  border-radius: 14px;
}

.program-side-card {
  padding: 26px;
  margin-bottom: 22px;
}

.program-side-card h3 {
  font-family: 'Amiri', serif;
  color: #1b3526;
  font-size: 1.55rem;
  margin-bottom: 18px;
}

.program-side-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.program-side-card li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 0;
  color: #475569;
  line-height: 1.7;
}

.program-side-card li i {
  color: #4cad5d;
  margin-top: 6px;
}

.program-contact-card a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 12px 20px;
  border-radius: 12px;
  background: #4cad5d;
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
}

.program-contact-card a:hover {
  background: #1b3526;
}

.prog-banner-academy {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  opacity: 0.8;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.prog-banner-title {
  font-family: 'Amiri', serif;
  font-size: 23px;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.prog-banner-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  opacity: 0.95;
  margin-bottom: 18px;
}

.prog-banner-features span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.prog-banner-features span::before {
  content: '✓';
  font-weight: bold;
  color: #4cad5d;
}

.prog-banner-line {
  width: 44px;
  height: 2px;
  background: #ffffff;
  opacity: 0.5;
  border-radius: 99px;
}

/* Custom visual gradients for Mockup banners matching the screenshot */
.prog-banner-1 {
  background: linear-gradient(135deg, #382918 0%, #1e1308 100%);
  border-bottom: 3px solid var(--gold);
}

.prog-banner-2 {
  background: linear-gradient(135deg, #13271d 0%, #0a140f 100%);
  border-bottom: 3px solid #4cad5d;
}

.prog-banner-3 {
  background: linear-gradient(135deg, #503914 0%, #291b06 100%);
  border-bottom: 3px solid var(--gold-light);
}

/* Islamic pattern styling on hover or banner background */
.prog-banner::before {
  content: '';
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.08);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.prog-body {
  padding: 32px 24px;
  text-align: center;
}

.prog-body h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.prog-body p {
  font-size: 14.5px;
  color: var(--gray);
  line-height: 1.8;
  max-width: 280px;
  margin: 0 auto;
}

/* START JOURNEY */
.journey-steps{
  background: linear-gradient(180deg, #ffffff 0%, #faf8f5 50%, #f6f1e8 100%);
  position: relative;
  overflow: hidden;
  border: 0;
}
.journey-steps::before {
  content: '';
  position: absolute;
  top: -10%;
  left: -5%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,39,0.06) 0%, rgba(201,162,39,0) 70%);
  pointer-events: none;
}
.journey-grid{
  display:grid;
  grid-template-columns:1.1fr 0.9fr;
  gap:56px;
  align-items:center;
}
.journey-media{
  position:relative;
  border-radius:24px;
  overflow:hidden;
  min-height:520px;
  box-shadow:0 20px 48px rgba(140,106,47,0.15);
  border:4px solid rgba(255,255,255,0.9);
}
.journey-media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform 0.6s ease;}
.journey-media:hover img{transform:scale(1.03);}
.journey-play{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  width:80px;
  height:80px;
  border-radius:50%;
  background:linear-gradient(135deg,var(--gold),var(--gold-dark));
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  font-size:24px;
  box-shadow:0 10px 25px rgba(140,106,47,0.4);
  transition:all 0.3s ease;
  z-index:5;
}
.journey-play::after{
  content:'';
  position:absolute;
  width:100%;
  height:100%;
  border-radius:50%;
  border:2px solid var(--gold);
  animation:pulse-gold 2s infinite;
  opacity:0;
  top:0;
  left:0;
  box-sizing:border-box;
}
@keyframes pulse-gold{
  0%{transform:scale(1);opacity:0.8;}
  100%{transform:scale(1.4);opacity:0;}
}
.journey-play:hover{
  transform:translate(-50%,-50%) scale(1.1);
  box-shadow:0 12px 30px rgba(140,106,47,0.6);
  background:linear-gradient(135deg,var(--gold-dark),var(--gold-deeper));
}
.journey-content{text-align:right;}
.journey-intro{
  font-size:14px;
  font-weight:700;
  color:var(--gold-dark);
  margin-bottom:12px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:var(--gold-xlight);
  padding:6px 14px;
  border-radius:99px;
  border:1px solid var(--border);
}
.journey-content h2{
  font-family:'Amiri',serif;
  font-size:clamp(1.8rem,3.2vw,2.5rem);
  line-height:1.35;
  color:var(--gold-deeper);
  margin-bottom:32px;
  font-weight:700;
}
.journey-steps-list{
  display:flex;
  flex-direction:column;
  gap:20px;
}
.journey-step{
  display:flex;
  align-items:flex-start;
  gap:20px;
  padding:24px;
  background:#ffffff;
  border-radius:20px;
  border:1px solid var(--border);
  box-shadow:0 4px 12px rgba(140,106,47,0.03);
  transition:all 0.3s ease;
  position:relative;
}

.journey-step:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 28px rgba(140,106,47,0.08);
  border-color:var(--gold);
}

.journey-icon-wrap{position:relative;flex-shrink:0;}
.journey-icon{
  width:56px;
  height:56px;
  border-radius:16px;
  background:linear-gradient(135deg,var(--gold-xlight),var(--gold-light));
  color:var(--gold-dark);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:22px;
  transition:all 0.3s ease;
  border:1px solid rgba(201, 162, 39, 0.2);
}
.journey-step:hover .journey-icon{
  background:linear-gradient(135deg,var(--gold),var(--gold-dark));
  color:#ffffff;
  transform:rotate(-3deg);
  border-color:transparent;
}
.journey-number{
  position:absolute;
  top:-8px;
  right:-8px;
  width:22px;
  height:22px;
  border-radius:50%;
  background:var(--dark);
  color:#fff;
  font-size:11px;
  font-weight:700;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 2px 6px rgba(0,0,0,0.15);
  border:1.5px solid #fff;
}
.journey-step:hover .journey-number{
  background:var(--gold-dark);
}
.journey-step-info{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.journey-step h3{
  font-size:18px;
  font-weight:700;
  color:var(--gold-deeper);
  margin-bottom:2px;
}
.journey-step p{
  font-size:14.5px;
  color:var(--gray);
  line-height:1.65;
}

/* WHY CHOOSE US (SECTION 1 & 2 - PREMIUM DESIGN) */
.distinguishes {
  background: #ffffff;
  position: relative;
  padding: 96px 24px 40px;
  border-top: none;
}

.dist-wave-top {
  display: none;
}

.dist-wave-top svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
}

.dist-wave-top .shape-fill {
  fill: #f7f2e8;
}

.extra-features {
  background: #ffffff;
  position: relative;
  padding: 20px 24px 100px;
}

.section-tag-new {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: inline-block;
  background: rgba(201, 162, 39, 0.08);
  padding: 4px 16px;
  border-radius: 99px;
}

.section-title-new {
  font-family: 'Amiri', serif;
  font-size: clamp(2rem, 3.8vw, 2.6rem);
  color: var(--dark);
  font-weight: 700;
  margin-bottom: 16px;
}

.section-desc-new {
  color: var(--gray);
  font-size: 16px;
  line-height: 1.85;
  max-width: 660px;
  margin: 0 auto 52px;
}

.premium-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 20px;
}

.premium-feat-card {
  text-align: center;
  padding: 20px;
  transition: all 0.3s ease;
}

.premium-feat-card:hover {
  transform: translateY(-5px);
}

.premium-feat-icon {
  width: 76px;
  height: 76px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-dark);
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  background: #ffffff;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(201, 162, 39, 0.05);
}

.premium-feat-card:hover .premium-feat-icon {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(201, 162, 39, 0.3);
  transform: scale(1.05);
  border-color: transparent;
}

.premium-feat-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.premium-feat-card:hover h3 {
  color: var(--gold-dark);
}

.premium-feat-card p {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.8;
  max-width: 320px;
  margin: 0 auto;
}

/* TESTIMONIALS (PREMIUM MODERN SLIDER LAYOUT) */
.testimonials {
  background: #faf8f5;
  position: relative;
  overflow: hidden;
  padding: 140px 24px 100px;
  border-bottom: 1px solid var(--border);
}

.testi-wave-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 1;
}

.testi-wave-top svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
}

.testi-wave-top .shape-fill {
  fill: #ffffff;
}

.testi-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 48%;
  height: 100%;
  background: url('../images/quran_hands.png') no-repeat center center;
  background-size: cover;
  z-index: 0;
  opacity: 0.85;
}

.testi-bg-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(250, 248, 245, 0) 0%, rgba(250, 248, 245, 0.4) 45%, #faf8f5 95%);
}

.testi-container {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr; /* Info (right) and slider (left) */
  gap: 52px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.testi-info-side {
  text-align: right;
}

.testi-badge-top {
  font-size: 13px;
  font-weight: 700;
  color: #4cad5d;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  display: inline-block;
  background: rgba(76, 173, 93, 0.08);
  padding: 4px 14px;
  border-radius: 99px;
}

.testi-main-title {
  font-family: 'Amiri', serif;
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  color: var(--dark);
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.25;
}

.testi-title-line {
  width: 60px;
  height: 3px;
  background: #4cad5d;
  margin-bottom: 26px;
}

.testi-main-desc {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.85;
  margin-bottom: 36px;
}

.testi-nav-btns {
  display: flex;
  gap: 12px;
}

.testi-nav-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.testi-nav-btn:hover {
  background: var(--gold-dark);
  color: #ffffff;
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(140, 106, 47, 0.25);
}

.testi-cards-side {
  position: relative;
  width: 100%;
}

.testi-slider-wrap {
  width: 100%;
  overflow: visible;
}

.testi-slider {
  display: flex;
  gap: 24px;
  align-items: center;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 15px 5px 30px;
}

.testi-slider::-webkit-scrollbar {
  display: none;
}

/* Review Card Styling */
.testi-card {
  flex: 0 0 320px;
  scroll-snap-align: start;
  background: #ffffff;
  border-radius: 24px;
  padding: 30px 24px;
  box-shadow: 0 10px 30px rgba(140, 106, 47, 0.05);
  border: 1px solid rgba(233, 223, 201, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.testi-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(140, 106, 47, 0.12);
  border-color: var(--gold-light);
}

.new-testi-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-xlight) 0%, var(--gold-light) 100%);
  color: var(--gold-dark);
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(140, 106, 47, 0.12);
  border: 3px solid #ffffff;
  margin-bottom: 12px;
}

.new-testi-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.new-testi-stars {
  color: #ffb100;
  font-size: 15px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.new-testi-text {
  font-size: 14.5px;
  line-height: 1.8;
  color: #4a5568;
  margin-bottom: 16px;
}

.new-testi-country {
  font-size: 12px;
  color: var(--gray);
  margin-bottom: 14px;
  display: block;
}

.new-testi-badge-lang {
  font-size: 10px;
  font-weight: 700;
  color: var(--gold-dark);
  background: var(--gold-xlight);
  padding: 4px 12px;
  border-radius: 99px;
  border: 1px solid rgba(201, 162, 39, 0.15);
  margin-top: auto;
}

/* CONTACT */
.contact{
  background:linear-gradient(180deg,#fbf7ef 0%,#f4ecdc 100%);
  text-align:center;
  position:relative;
  overflow:hidden;
}
.contact::before{
  content:'';
  position:absolute;
  inset:34px 0 auto;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(140,106,47,.22),transparent);
}
.contact-box{
  background:#fff;
  border-radius:18px;
  padding:18px;
  border:1px solid rgba(201,162,39,.22);
  box-shadow:0 24px 60px rgba(70,56,38,.11);
  max-width:1060px;
  margin:44px auto 0;
  display:grid;
  grid-template-columns:.92fr 1.08fr;
  gap:18px;
  text-align:right;
}
.contact-cta-panel{
  background:linear-gradient(145deg,var(--gold-deeper),var(--gold-dark));
  color:#fff;
  border-radius:14px;
  padding:38px 34px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  min-height:310px;
  position:relative;
  overflow:hidden;
}
.contact-cta-panel::after{
  content:'';
  position:absolute;
  width:230px;
  height:230px;
  border-radius:50%;
  left:-70px;
  bottom:-90px;
  background:rgba(242,228,191,.13);
}
.contact-visual{
  position:relative;
  z-index:1;
  display:block;
  width:100%;
  max-width:300px;
  aspect-ratio:4 / 3;
  margin:0 0 22px;
  border-radius:12px;
  overflow:hidden;
  background:rgba(255,255,255,.12);
  box-shadow:0 16px 34px rgba(43,34,24,.18);
}
.contact-visual img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}
.contact-kicker{
  position:relative;
  z-index:1;
  display:inline-flex;
  padding:7px 13px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.18);
  color:var(--gold-light);
  font-size:13px;
  font-weight:800;
  margin-bottom:18px;
}
.contact-box p{
  position:relative;
  z-index:1;
  font-size:18px;
  color:rgba(255,255,255,.88);
  line-height:1.95;
  margin-bottom:28px;
  max-width:440px;
}
.btn-whatsapp{
  position:relative;
  z-index:1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  background:linear-gradient(135deg,#24c861,#138a7c);
  color:#fff;
  padding:17px 40px;
  border-radius:14px;
  font-weight:800;
  font-size:16px;
  text-decoration:none;
  transition:all .25s;
  box-shadow:0 12px 30px rgba(29,151,92,.32);
}
.btn-whatsapp:hover{transform:translateY(-3px);box-shadow:0 16px 38px rgba(29,151,92,.4);}
.wa-icon{font-size:21px;}
.contact-details-panel{
  padding:30px 28px;
  border-radius:14px;
  background:linear-gradient(180deg,#fff 0%,#fdfaf5 100%);
}
.contact-subtitle{
  font-family:'Amiri',serif;
  font-size:25px;
  color:var(--gold-deeper);
  margin:0 0 16px;
}
.contact-meta{
  margin:0 0 28px;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.contact-meta-item{
  background:#fffaf1;
  border:1px solid #eadfcf;
  border-radius:12px;
  padding:17px 14px;
  display:flex;
  flex-direction:column;
  gap:5px;
  align-items:center;
  justify-content:center;
  min-height:118px;
}
.contact-meta-item i{font-size:22px;color:#92723c;margin-bottom:6px;}
.meta-label{font-size:12px;font-weight:700;color:#8b774f;}
.meta-value{font-size:14px;font-weight:800;color:#463826;}
.contact-social-links{
  margin-top:0;
  display:flex;
  justify-content:flex-start;
  gap:12px;
  flex-wrap:wrap;
}
.contact-social-link{
  color:var(--gold-deeper);
  font-weight:700;
  text-decoration:none;
  font-size:13.5px;
  display:inline-flex;
  align-items:center;
  gap:7px;
  background:#fff;
  border:1px solid #eadfcf;
  border-radius:12px;
  padding:10px 15px;
  transition:all .2s;
}
.contact-social-link:hover{border-color:#d6c196;background:#faf4e8;transform:translateY(-2px);}

/* FOOTER */
footer{background:#5f4820;color:rgba(255,255,255,.75);padding:60px 24px 0;}
.footer-grid{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:2fr 1fr 1fr;gap:52px;padding-bottom:48px;border-bottom:1px solid rgba(255,255,255,.1);}
.footer-logo-name{font-family:'Amiri',serif;font-size:22px;font-weight:700;color:#fff;margin-bottom:6px;}
.footer-logo-en{font-size:12px;color:var(--gold);letter-spacing:1.5px;text-transform:uppercase;margin-bottom:14px;}
.footer-desc{font-size:13px;line-height:1.85;color:rgba(255,255,255,.6);margin-bottom:20px;}
.footer-socials{display:flex;gap:10px;}
.footer-social{width:38px;height:38px;border-radius:10px;background:rgba(255,255,255,.09);display:flex;align-items:center;justify-content:center;font-size:15px;color:#fff;text-decoration:none;transition:all .2s;}
.footer-social:hover{background:var(--gold);color:var(--gold-deeper);}
footer h4{color:#fff;font-size:14px;font-weight:700;margin-bottom:18px;padding-bottom:10px;border-bottom:2px solid var(--gold);display:inline-block;}
footer ul{list-style:none;display:flex;flex-direction:column;gap:10px;}
footer ul a{color:rgba(255,255,255,.6);text-decoration:none;font-size:13.5px;transition:color .2s;display:flex;align-items:center;gap:6px;}
footer ul a:hover{color:var(--gold);}
footer ul a::before{content:'←';font-size:10px;opacity:.6;}
.footer-bottom{max-width:1200px;margin:0 auto;padding:20px 0;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;}
.footer-bottom p{font-size:12px;color:rgba(255,255,255,.4);}
.footer-bottom-logo{font-family:'Amiri',serif;font-size:15px;color:var(--gold);font-weight:700;}

/* DIVIDER */
.gold-divider{width:100%;height:4px;background:linear-gradient(90deg,transparent,var(--gold),var(--gold-dark),transparent);}


/* WHATSAPP FLOAT */
.whatsapp-float{position:fixed;bottom:24px;left:24px;z-index:999;width:56px;height:56px;background:#25D366;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:28px;text-decoration:none;box-shadow:0 4px 16px rgba(37,211,102,.4);transition:transform .2s;}
.whatsapp-float:hover{transform:scale(1.1);}

/* RESPONSIVE */
@media(max-width:900px) {
  .about-grid,
  .programs-grid,
  .journey-grid,
  .premium-features-grid,
  .program-show-layout,
  .testi-container,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .program-show-main {
    padding: 26px;
  }

  .program-show-hero {
    min-height: 400px;
    padding-top: 110px;
  }
  
  .programs,
  .program-related-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .programs .section-inner,
  .program-related-section .section-inner {
    width: 100%;
    max-width: none;
  }

  .programs-grid {
    width: 100%;
    justify-items: stretch;
  }

  .prog-card {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  /* Centering feature cards when stacked to look clean on tablets */
  .premium-feat-card {
    max-width: 400px;
    margin: 0 auto;
  }

  .journey-media {
    min-height: 360px;
    margin-top: 20px;
  }
  .journey-content h2 {
    font-size: 1.8rem;
    margin-bottom: 24px;
  }
  .journey-step {
    padding: 18px;
    gap: 16px;
  }
  .journey-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    font-size: 18px;
  }
  .journey-number {
    width: 18px;
    height: 18px;
    font-size: 9px;
    top: -6px;
    right: -6px;
  }
  .journey-step h3 {
    font-size: 1.15rem;
    margin-bottom: 4px;
  }
  .journey-step p {
    font-size: 13.5px;
    line-height: 1.55;
  }
  .testi-container {
    gap: 32px;
    padding-bottom: 70px; /* Space for the arrows */
  }
  .testi-bg-image {
    width: 100%;
    opacity: 0.15;
  }
  .testi-bg-image::after {
    background: radial-gradient(circle, rgba(250, 248, 245, 0.2) 0%, #faf8f5 100%);
  }
  .testi-info-side {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .testi-nav-btns {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
  }
  .testi-title-line {
    margin: 0 auto 20px;
  }
  .testi-card {
    flex: 0 0 280px;
    padding: 24px 18px;
  }
  
  /* Responsive Hero */
  .hero {
    text-align: center;
    background-attachment: scroll; /* Mobile compatibility */
    padding: 100px 20px 100px;
    min-height: auto;
  }
  .hero-content-new {
    margin: 0 auto;
    text-align: center;
  }
  .hero-btns-new {
    justify-content: center;
  }
  .hero-wave-bottom svg {
    height: 45px;
  }

  /* Hamburger Menu Toggle styles */
  .menu-toggle {
    display: block;
  }
  
  /* Vertical drop-down overlay menu on mobile */
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #f1f2f4;
    border-bottom: 1px solid #d9dde3;
    padding: 20px 24px;
    gap: 12px;
    box-shadow: 0 10px 20px rgba(18,28,45,.08);
    z-index: 999;
  }
  .nav-links.active {
    display: flex;
  }
  .nav-links li {
    width: 100%;
    text-align: center;
  }
  .nav-links a {
    display: block;
    padding: 12px;
    width: 100%;
    border-radius: 8px;
  }
  .nav-links a:hover,
  .nav-links a.active {
    background: rgba(76, 173, 93, 0.08);
    border-bottom-color: transparent;
    color: #4cad5d;
    padding-bottom: 12px;
  }
  .nav-links .btn-wa-nav,
  .nav-links .btn-cta-nav {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    margin-top: 4px;
  }

  .about-features {
    grid-template-columns: 1fr;
  }
  .about-card-side {
    max-width: 540px; /* Increase size on tablets for the video */
    width: 100%;
    margin: 0 auto;
  }
  .contact-box {
    grid-template-columns: 1fr;
    padding: 14px;
    text-align: center;
  }
  .contact-cta-panel {
    align-items: center;
    padding: 34px 22px;
    min-height: auto;
  }
  .contact-visual {
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }
  .contact-box p {
    max-width: 100%;
  }
  .contact-meta {
    grid-template-columns: 1fr;
  }
  .contact-social-links {
    justify-content: center;
  }

  /* Centered footer on mobile */
  footer {
    text-align: center;
  }
  .footer-socials {
    justify-content: center;
  }
  footer ul a::before {
    display: none;
  }
  .footer-bottom {
    justify-content: center;
    flex-direction: column;
    gap: 12px;
  }
}

/* Extra Small Mobile Devices & Phones */
@media(max-width:600px) {
  .topbar-center,
  .topbar-right {
    display: none;
  }
  .topbar-inner {
    justify-content: center;
  }
}

@media(max-width:480px) {
  /* Hero buttons full-width stack */
  .hero-btns-new {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .btn-hero-new, 
  .btn-hero-outline-new {
    width: 100%;
  }

  /* Stack journey steps vertically on small screens */
  .journey-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .journey-step-info {
    text-align: center;
  }
  .journey-icon-wrap {
    margin-bottom: 8px;
  }

  /* WhatsApp button scaling in contact section */
  .btn-whatsapp {
    width: 100%;
    padding: 15px 20px;
    font-size: 15px;
  }
}


/* Custom Daawa Academy Premium Footer Overrides */
footer {
  background: linear-gradient(180deg, #111e16 0%, #0d1711 100%) !important;
  border-top: 4px solid #8b692f !important;
  color: rgba(255, 255, 255, 0.8) !important;
  padding: 70px 24px 30px !important;
}

.footer-grid {
  gap: 60px !important;
}

.footer-logo-name {
  font-family: 'Amiri', serif !important;
  color: #ffffff !important;
  font-size: 24px !important;
  font-weight: 700 !important;
}

.footer-logo-en {
  color: #4cad5d !important;
  font-weight: 600 !important;
  letter-spacing: 2px !important;
}

.footer-desc {
  color: rgba(255, 255, 255, 0.65) !important;
  font-size: 13.5px !important;
  line-height: 1.9 !important;
}

footer h4 {
  font-family: 'Tajawal', sans-serif !important;
  font-size: 15.5px !important;
  color: #ffffff !important;
  border-bottom: 2px solid #8b692f !important;
  padding-bottom: 8px !important;
  margin-bottom: 22px !important;
}

footer ul a {
  color: rgba(255, 255, 255, 0.6) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  font-size: 13.8px !important;
}

footer ul a:hover {
  color: #4cad5d !important;
  padding-right: 6px !important;
}

footer ul a::before {
  content: '✦' !important;
  font-size: 8px !important;
  color: #8b692f !important;
  opacity: 0.8 !important;
  transition: color 0.3s !important;
}

footer ul a:hover::before {
  color: #4cad5d !important;
}

.footer-social {
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  font-size: 16px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.footer-social:hover {
  background: #4cad5d !important;
  border-color: #4cad5d !important;
  color: #ffffff !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 5px 15px rgba(76, 173, 93, 0.4) !important;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07) !important;
  padding-top: 25px !important;
  margin-top: 30px !important;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5) !important;
  font-size: 12.5px !important;
}

.footer-bottom-logo {
  color: #8b692f !important;
  font-size: 16px !important;
  transition: all 0.3s !important;
}

.footer-bottom-logo i {
  color: #fbbf24 !important;
  margin-right: 4px !important;
}

/* LTR Overrides for English Version */
html[dir="ltr"] {
  text-align: left;
}

html[dir="ltr"] .hero,
html[dir="ltr"] .about-text-side,
html[dir="ltr"] .journey-content,
html[dir="ltr"] .testi-info-side,
html[dir="ltr"] .contact,
html[dir="ltr"] .prog-body {
  text-align: left;
}

html[dir="ltr"] .footer-bottom-logo i {
  margin-right: 0 !important;
  margin-left: 4px !important;
}

html[dir="ltr"] footer ul a:hover {
  padding-right: 0 !important;
  padding-left: 6px !important;
}

html[dir="ltr"] .whatsapp-float {
  left: auto;
  right: 24px;
}



html[dir="ltr"] .journey-number {
  right: auto;
  left: -8px;
}

html[dir="ltr"] .about-feat-item .check {
  margin-left: 0;
  margin-right: 12px;
}

html[dir="ltr"] .nav-links {
  margin-right: auto;
  margin-left: 0;
}

html[dir="ltr"] .contact-box {
  text-align: left;
}

html[dir="ltr"] .contact-cta-panel {
  align-items: flex-start;
}



/* ========================================
   LTR (English) Overrides
======================================== */
html[dir="ltr"] .program-details-link {
  flex-direction: row-reverse;
}

html[dir="ltr"] .program-details-link:hover {
  transform: translateX(4px);
}

html[dir="ltr"] .program-details-link i {
  transform: scaleX(-1);
}

/* ========================================
   MOBILE RESPONSIVENESS FIXES (Frontend Only)
======================================== */

@media (max-width: 768px) {
  /* 6. General Fixes */
  body {
    overflow-x: hidden !important;
  }
  
  img, video {
    max-width: 100% !important;
    height: auto;
  }

  section {
    padding: 50px 15px !important;
  }

  /* 1. Navigation / Menu */
  .menu-toggle {
    display: block !important;
  }
  
  .nav-links {
    position: absolute;
    top: 72px; /* Height of the navbar */
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    display: none; 
    width: 100%;
    z-index: 999;
  }
  
  /* Assume JS toggles .active on .nav-links */
  .nav-links.active, .nav-links.show {
    display: flex !important;
  }

  .nav-links a {
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #f0f0f0 !important;
    border-radius: 0 !important;
  }
  
  .nav-links .btn-wa-nav,
  .nav-links .btn-cta-nav {
    width: 100%;
    text-align: center;
    justify-content: center;
    margin-top: 10px;
  }

  /* 2. Hero Section */
  .hero {
    padding: 120px 15px 80px !important;
    min-height: auto;
    text-align: center;
    background-position: center;
  }
  
  html[dir="ltr"] .hero {
    text-align: center;
  }
  
  .hero-content-new {
    margin: 0 auto;
  }

  .hero-title-new {
    font-size: clamp(2rem, 7vw, 2.5rem) !important;
    line-height: 1.4 !important;
  }

  .hero-subtitle-new {
    font-size: 16px !important;
    margin-bottom: 25px !important;
  }

  .hero-btns-new {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .btn-hero-new, .btn-hero-outline-new {
    width: 100%;
  }

  /* 3. Programs / Cards Section */
  .programs {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .programs .section-inner {
    width: 100% !important;
    max-width: none !important;
  }

  .programs-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    justify-items: stretch !important;
  }

  .prog-card {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .prog-banner {
    height: 200px !important;
  }

  /* 4. Grids (About Us, Features, Journey, Footer, Testimonials) */
  .about-grid,
  .premium-features-grid,
  .journey-grid,
  .footer-grid,
  .testi-container,
  .program-modern-container {
    grid-template-columns: 1fr !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 30px !important;
  }

  .about-text-side, .journey-content {
    text-align: center !important;
  }
  
  html[dir="ltr"] .about-text-side,
  html[dir="ltr"] .journey-content {
    text-align: center !important;
  }

  .about-features {
    grid-template-columns: 1fr !important;
    text-align: right;
  }
  
  html[dir="ltr"] .about-features {
    text-align: left;
  }

  .journey-media {
    min-height: 300px !important;
  }

  .testi-slider-wrap {
    width: 100% !important;
  }

  .contact-meta {
    grid-template-columns: 1fr !important;
  }

  .contact-social-links {
    flex-direction: column;
    gap: 10px;
  }
  
  .footer-grid {
    text-align: center;
  }

  /* 5. Typography Scaling */
  .section-title, .section-title-new, .section-title-new-courses, .about-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem) !important;
    line-height: 1.4 !important;
  }
  
  .section-desc, .section-desc-new, .section-desc-new-courses, .about-desc {
    font-size: 15px !important;
  }
}

@media (max-width: 480px) {
  /* Smaller mobile fixes */
  .logo img {
    height: 45px !important;
  }
  
  .logo-name {
    font-size: 18px !important;
  }

  .topbar-socials span {
    display: none; /* Hide phone number on very small screens to save space */
  }
  
  .hero-wave-bottom svg, .dist-wave-top svg, .testi-wave-top svg {
    height: 40px !important;
  }
  
  .journey-step {
    padding: 15px !important;
  }
  
  .prog-body {
    padding: 20px 15px !important;
  }
  
  .btn-whatsapp {
    width: 100% !important;
  }
}
