/* ============================================
   ICC Jordan - Global Stylesheet
   Brand: #1A4478, #FFFFFF, #192F50
   Font: Poppins
   ============================================ */

/* --- CSS Variables --- */
:root {
  --primary: #1A4478;
  --primary-light: #2A5A9A;
  --primary-dark: #192F50;
  --white: #FFFFFF;
  --off-white: #F7F9FC;
  --light-gray: #E8EDF3;
  --mid-gray: #94A3B8;
  --dark-gray: #475569;
  --text: #1E293B;
  --text-light: #64748B;
  --accent: #3B82F6;
  --accent-warm: #F59E0B;
  --shadow-sm: 0 1px 3px rgba(25, 47, 80, 0.08);
  --shadow-md: 0 4px 16px rgba(25, 47, 80, 0.1);
  --shadow-lg: 0 8px 32px rgba(25, 47, 80, 0.12);
  --shadow-xl: 0 16px 48px rgba(25, 47, 80, 0.15);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  opacity: 0;
  animation: bodyFadeIn 0.4s ease forwards;
}

@keyframes bodyFadeIn {
  to {
    opacity: 1;
  }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--primary-dark);
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

h3 {
  font-size: clamp(1.3rem, 3vw, 1.75rem);
}

h4 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

h5 {
  font-size: 1.1rem;
}

h6 {
  font-size: 0.95rem;
}

p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-sm {
  padding: 60px 0;
}

/* --- Scroll Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays */
.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}

.delay-5 {
  transition-delay: 0.5s;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--transition);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--light-gray);
  box-shadow: var(--shadow-sm);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.navbar-logo img {
  height: 55px;
  width: auto;
  transition: height var(--transition);
}

.navbar.scrolled .navbar-logo img {
  height: 45px;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar-menu a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary-dark);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
}

.navbar-menu a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: width var(--transition);
}

.navbar-menu a:hover::after,
.navbar-menu a.active::after {
  width: 60%;
}

.navbar-menu a:hover {
  color: var(--primary);
}

.navbar-menu a.active {
  color: var(--primary);
  font-weight: 600;
}

.navbar-cta {
  background: var(--primary) !important;
  color: var(--white) !important;
  padding: 10px 24px !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.02em;
  transition: all var(--transition) !important;
}

.navbar-cta::after {
  display: none !important;
}

.navbar-cta:hover {
  background: var(--primary-light) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26, 68, 120, 0.3);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--primary-dark);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu overlay */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.mobile-menu.open {
  display: flex;
  opacity: 1;
}

.mobile-menu a {
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--primary-dark);
  padding: 12px 24px;
  transition: color var(--transition);
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--primary);
}

.mobile-menu .navbar-cta {
  margin-top: 16px;
  font-size: 1rem !important;
}

/* ============================================
   HERO SECTIONS
   ============================================ */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  margin-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  /* Keffiyeh-inspired crosshatch diamond pattern */
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cline x1='0' y1='0' x2='60' y2='60' stroke='white' stroke-opacity='0.045' stroke-width='0.6'/%3E%3Cline x1='60' y1='0' x2='0' y2='60' stroke='white' stroke-opacity='0.045' stroke-width='0.6'/%3E%3Cline x1='30' y1='0' x2='60' y2='30' stroke='white' stroke-opacity='0.03' stroke-width='0.4'/%3E%3Cline x1='0' y1='30' x2='30' y2='60' stroke='white' stroke-opacity='0.03' stroke-width='0.4'/%3E%3Cline x1='30' y1='0' x2='0' y2='30' stroke='white' stroke-opacity='0.03' stroke-width='0.4'/%3E%3Cline x1='60' y1='30' x2='30' y2='60' stroke='white' stroke-opacity='0.03' stroke-width='0.4'/%3E%3Cpath d='M30 25 L35 30 L30 35 L25 30 Z' fill='none' stroke='white' stroke-opacity='0.04' stroke-width='0.5'/%3E%3Cpath d='M0 -5 L5 0 L0 5 L-5 0 Z' fill='none' stroke='white' stroke-opacity='0.03' stroke-width='0.4'/%3E%3Cpath d='M60 -5 L65 0 L60 5 L55 0 Z' fill='none' stroke='white' stroke-opacity='0.03' stroke-width='0.4'/%3E%3Cpath d='M0 55 L5 60 L0 65 L-5 60 Z' fill='none' stroke='white' stroke-opacity='0.03' stroke-width='0.4'/%3E%3Cpath d='M60 55 L65 60 L60 65 L55 60 Z' fill='none' stroke='white' stroke-opacity='0.03' stroke-width='0.4'/%3E%3Ccircle cx='30' cy='30' r='1' fill='white' fill-opacity='0.03'/%3E%3Ccircle cx='0' cy='0' r='0.8' fill='white' fill-opacity='0.025'/%3E%3Ccircle cx='60' cy='0' r='0.8' fill='white' fill-opacity='0.025'/%3E%3Ccircle cx='0' cy='60' r='0.8' fill='white' fill-opacity='0.025'/%3E%3Ccircle cx='60' cy='60' r='0.8' fill='white' fill-opacity='0.025'/%3E%3C/svg%3E");
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero h1 span {
  display: block;
  background: linear-gradient(90deg, #93c5fd, #dbeafe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 520px;
}

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

.hero-visual {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 50%;
  max-width: 500px;
  opacity: 0.15;
  z-index: 1;
}

.hero-logo-wrapper {
  position: absolute;
  right: 12%;
  /* Aligned with the center of the decorative circles */
  top: 50%;
  transform: translate(50%, -30%);
  /* Start lower for in-animation */
  width: 500px;
  height: 500px;
  z-index: 2;
  opacity: 0;
  animation: heroLogoFadeIn 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-delay: 0.5s;
  pointer-events: none;
}

.hero-logo-svg {
  width: 100%;
  height: 100%;
  filter: brightness(0) invert(1);
  opacity: 0.2;
}

@keyframes heroLogoFadeIn {
  to {
    opacity: 1;
    transform: translate(50%, -50%);
  }
}

/* Hero animation */
.hero-content>* {
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero-content>*:nth-child(1) {
  animation-delay: 0.2s;
}

.hero-content>*:nth-child(2) {
  animation-delay: 0.4s;
}

.hero-content>*:nth-child(3) {
  animation-delay: 0.6s;
}

.hero-content>*:nth-child(4) {
  animation-delay: 0.8s;
}

.hero-content>*:nth-child(5) {
  animation-delay: 1.0s;
}

@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Social Links */
.hero-social {
  display: flex;
  gap: 24px;
  margin-top: 32px;
}

.hero-social a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  font-weight: 500;
  transition: color var(--transition);
}

.hero-social a:hover {
  color: rgba(255, 255, 255, 1);
}

/* Subpage Hero (smaller) */
.hero-sub {
  min-height: 45vh;
  padding: 100px 0 60px;
}

.hero-sub .hero-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.hero-sub .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 16px;
}

.hero-sub .breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition);
}

.hero-sub .breadcrumb a:hover {
  color: var(--white);
}

.hero-sub .breadcrumb .sep {
  font-size: 0.7rem;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-align: center;
  line-height: 1.4;
}

.btn-primary {
  background: var(--white);
  color: var(--primary);
}

.btn-primary:hover {
  background: var(--off-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-dark {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-dark:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 68, 120, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-ghost:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.85rem;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  background: rgba(26, 68, 120, 0.08);
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto;
}

/* ============================================
   CARDS
   ============================================ */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--light-gray);
  overflow: hidden;
  transition: all var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-body {
  padding: 28px;
}

.card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.card-body p {
  font-size: 0.92rem;
  line-height: 1.7;
}

/* Icon card variant */
.icon-card {
  text-align: center;
  padding: 40px 28px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--light-gray);
  transition: all var(--transition);
}

.icon-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.icon-card .icon-wrapper {
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all var(--transition);
}

.icon-card:hover .icon-wrapper {
  background: none;
}

.icon-card .icon-wrapper svg {
  width: 64px;
  height: 64px;
  color: var(--primary);
  transition: color var(--transition);
}

.icon-card:hover .icon-wrapper svg {
  color: var(--primary-light);
}

.icon-card .icon-wrapper img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  transition: transform var(--transition);
}

.icon-card:hover .icon-wrapper img {
  transform: scale(1.08);
  filter: none;
}

.icon-card h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.icon-card p {
  font-size: 0.9rem;
}

/* ============================================
   GRID LAYOUTS
   ============================================ */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ============================================
   CONTENT BLOCKS
   ============================================ */
.split-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split-content.reverse {
  direction: rtl;
}

.split-content.reverse>* {
  direction: ltr;
}

.split-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.split-image:hover img {
  transform: scale(1.03);
}

.split-text h2 {
  margin-bottom: 16px;
}

.split-text p {
  margin-bottom: 16px;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section {
  background: var(--off-white);
}

/* --- Testimonial Carousel --- */
.testimonial-carousel-wrapper {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding-bottom: 40px;
}

.testimonial-carousel {
  width: 100%;
  overflow: hidden;
  padding: 10px;
  /* For card shadow */
}

.testimonial-track {
  display: flex;
  align-items: flex-start;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-track .testimonial-card {
  flex: 0 0 100%;
  margin: 0;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px;
  border: 1px solid var(--light-gray);
  box-shadow: var(--shadow-sm);
  aspect-ratio: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-indicators {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px;
  border: 1px solid var(--light-gray);
  transition: all var(--transition);
  position: relative;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.testimonial-card .quote-icon {
  font-size: 2.5rem;
  color: var(--primary);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 12px;
  font-family: Georgia, serif;
}

.testimonial-card blockquote {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text-light);
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-author .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.testimonial-author .name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}

.testimonial-author .country {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ============================================
   GALLERY
   ============================================ */
/* --- Gallery Carousel --- */
.gallery-carousel-wrapper {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.gallery-carousel {
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-carousel .gallery-item {
  flex: 0 0 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
}

.gallery-carousel .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.gallery-carousel .gallery-item:hover img {
  transform: scale(1.05);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: none;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  color: var(--primary);
  transition: all var(--transition);
}

.carousel-btn:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
  left: -24px;
}

.carousel-btn.next {
  right: -24px;
}

@media (max-width: 1100px) {
  .carousel-btn.prev {
    left: 16px;
  }

  .carousel-btn.next {
    right: 16px;
  }
}

.carousel-btn svg {
  width: 24px;
  height: 24px;
}

.carousel-indicators {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--light-gray);
  cursor: pointer;
  transition: all var(--transition);
}

.indicator.active {
  background: var(--primary);
  width: 24px;
  border-radius: 4px;
}

/* --- Lightbox --- */
.lightbox {
  display: none;
  position: fixed;
  z-index: 2000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
}

.lightbox-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 1000px;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
  animation: zoom 0.6s;
}

@keyframes zoom {
  from {
    transform: scale(0.8);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
  z-index: 2010;
}

.lightbox-close:hover,
.lightbox-close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

.lightbox-caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 20px 0;
  font-size: 1.1rem;
}

.lightbox-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  width: 60px;
  height: 60px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.3s;
  z-index: 2010;
}

.lightbox-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-btn.prev {
  left: 40px;
}

.lightbox-btn.next {
  right: 40px;
}

.lightbox-btn svg {
  width: 32px;
  height: 32px;
}

@media (max-width: 768px) {
  .lightbox-content {
    width: 95%;
  }

  .lightbox-btn {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.3);
  }

  .lightbox-btn.prev {
    left: 10px;
  }

  .lightbox-btn.next {
    right: 10px;
  }
}

/* ============================================
   PRICING TABLES
   ============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 2px solid var(--light-gray);
  overflow: hidden;
  transition: all var(--transition);
}

.pricing-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.pricing-card-header {
  background: var(--primary);
  color: var(--white);
  padding: 28px;
  text-align: center;
}

.pricing-card-header h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.pricing-card-header p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  margin: 0;
}

.pricing-card.alt .pricing-card-header {
  background: var(--primary-dark);
}

.pricing-tiers {
  padding: 28px;
}

.pricing-tier {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--light-gray);
}

.pricing-tier:last-child {
  border-bottom: none;
}

.pricing-tier .hours {
  font-weight: 500;
  color: var(--text);
  font-size: 0.92rem;
}

.pricing-tier .price {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.05rem;
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
}

.faq-item:hover {
  border-color: rgba(26, 68, 120, 0.2);
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  gap: 16px;
  -webkit-user-select: none;
  user-select: none;
}

.faq-question h4 {
  font-size: 1rem;
  font-weight: 600;
  flex: 1;
}

.faq-toggle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(26, 68, 120, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
}

.faq-item.active .faq-toggle {
  background: var(--primary);
  transform: rotate(180deg);
}

.faq-toggle svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
  transition: color var(--transition);
}

.faq-item.active .faq-toggle svg {
  color: var(--white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
  max-height: 400px;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.8;
}

/* ============================================
   TEAM
   ============================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  max-width: 620px;
  margin: 0 auto;
}

.team-card {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--light-gray);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
}

.team-card:hover {
  transform: scale(1.04);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.team-card .team-photo-wrapper {
  width: 100%;
  overflow: hidden;
}

.team-card .team-photo {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card:hover .team-photo {
  transform: scale(1.05);
}

.team-card .team-info {
  padding: 20px 24px 24px;
}

.team-card h4 {
  margin-bottom: 4px;
}

.team-card .role {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 500;
}

/* ============================================
   PHASE TIMELINE
   ============================================ */
.phase-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.phase-timeline::before {
  content: '';
  position: absolute;
  left: 32px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--light-gray);
}

.phase-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 32px;
  margin-bottom: 48px;
  position: relative;
}

.phase-item:last-child {
  margin-bottom: 0;
}

.phase-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(26, 68, 120, 0.25);
}

.phase-content {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--light-gray);
  overflow: hidden;
  transition: all var(--transition);
}

.phase-content:hover {
  box-shadow: var(--shadow-md);
}

.phase-content img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.phase-content .phase-text {
  padding: 24px;
}

.phase-content h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.phase-content p {
  font-size: 0.9rem;
  line-height: 1.75;
}

/* ============================================
   SOCIAL PROJECTS
   ============================================ */
.social-projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.social-project-card {
  text-align: center;
  padding: 32px 20px;
  background: rgba(26, 68, 120, 0.03);
  border-radius: var(--radius-md);
  border: 1px solid var(--light-gray);
  transition: all var(--transition);
}

.social-project-card:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.social-project-card:hover h4,
.social-project-card:hover p {
  color: var(--white);
}

.social-project-card .sp-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(26, 68, 120, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  transition: all var(--transition);
}

.social-project-card:hover .sp-icon {
  background: rgba(255, 255, 255, 0.15);
}

.social-project-card .sp-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
  transition: all var(--transition);
}

.social-project-card .sp-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  /* Filter to match brand blue #1A4478 */
  filter: invert(18%) sepia(87%) saturate(1637%) hue-rotate(198deg) brightness(91%) contrast(92%);
  transition: all var(--transition);
}

.social-project-card:hover .sp-icon svg {
  color: var(--white);
}

.social-project-card:hover .sp-icon img {
  filter: brightness(0) invert(1);
}

.social-project-card h4 {
  font-size: 0.95rem;
  margin-bottom: 8px;
  transition: color var(--transition);
}

.social-project-card p {
  font-size: 0.82rem;
  line-height: 1.6;
  transition: color var(--transition);
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
  top: -100px;
  right: -100px;
}

.cta-banner::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 50%;
  bottom: -80px;
  left: -80px;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  margin-bottom: 32px;
  position: relative;
  z-index: 2;
}

.cta-banner .btn {
  position: relative;
  z-index: 2;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand img {
  height: 50px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.footer-brand .tagline {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.7);
}

.footer h5 {
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.88rem;
}

.footer-contact li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.contact-card {
  text-align: center;
  padding: 36px 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--light-gray);
  transition: all var(--transition);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.contact-card .cc-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(26, 68, 120, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.contact-card .cc-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.contact-card h4 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.contact-card p {
  font-size: 0.88rem;
}

.contact-card a {
  color: var(--primary);
  font-weight: 500;
}

.contact-card a:hover {
  color: var(--primary-light);
}

/* ============================================
   FORMS
   ============================================ */
.form-container {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-gray);
  padding: 48px 40px;
  box-shadow: var(--shadow-sm);
}

.form-container.wide {
  max-width: 820px;
}

.form-section-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--light-gray);
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-section-title svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-row.three {
  grid-template-columns: 1fr 1fr 1fr;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 0;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 4px;
}

.form-group label .required {
  color: #e53e3e;
  font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  padding: 12px 16px;
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius-sm);
  color: var(--text);
  background: var(--white);
  transition: all var(--transition);
  outline: none;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--mid-gray);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 68, 120, 0.08);
}

.form-group textarea {
  min-height: 130px;
  resize: vertical;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

/* Radio & Checkbox groups */
.form-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.form-option {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--text);
}

.form-option input[type="radio"],
.form-option input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
  flex-shrink: 0;
}

/* Checkbox grid for days */
.form-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 4px;
}

.form-checkbox-grid .form-option {
  background: var(--off-white);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--light-gray);
  transition: all var(--transition);
}

.form-checkbox-grid .form-option:hover {
  border-color: var(--primary);
  background: rgba(26, 68, 120, 0.03);
}

/* Conditional fields */
.form-conditional {
  display: none;
  animation: formSlideDown 0.3s ease;
}

.form-conditional.visible {
  display: block;
}

@keyframes formSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Form divider */
.form-divider {
  height: 1px;
  background: var(--light-gray);
  margin: 32px 0;
}

/* Submit button */
.form-submit {
  margin-top: 32px;
  text-align: center;
}

.form-submit .btn {
  min-width: 220px;
  justify-content: center;
}

/* Form success message */
.form-success {
  display: none;
  text-align: center;
  padding: 48px 24px;
}

.form-success.show {
  display: block;
}

.form-success .success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.form-success .success-icon svg {
  width: 36px;
  height: 36px;
  color: #10b981;
}

.form-success h3 {
  margin-bottom: 8px;
}

.form-success p {
  font-size: 0.95rem;
}

/* Form note */
.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--mid-gray);
  margin-top: 16px;
}

@media (max-width: 768px) {
  .form-container {
    padding: 32px 24px;
  }

  .form-row,
  .form-row.three {
    grid-template-columns: 1fr;
  }

  .form-checkbox-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .form-checkbox-grid {
    grid-template-columns: 1fr;
  }
}

/* Custom Searchable Dropdown */
.custom-select-wrapper {
  position: relative;
  width: 100%;
}

.custom-select-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
  font-size: 0.9rem;
  transition: all var(--transition);
  min-height: 48px;
}

.custom-select-trigger:hover {
  border-color: var(--primary);
}

.custom-select-trigger .arrow {
  margin-left: auto;
  transition: transform 0.3s ease;
}

.custom-select-wrapper.open .custom-select-trigger .arrow {
  transform: rotate(180deg);
}

.custom-select-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-md);
  z-index: 100;
  display: none;
  max-height: 300px;
  overflow: hidden;
  animation: slideDown 0.2s ease;
}

.custom-select-wrapper.open .custom-select-dropdown {
  display: flex;
  flex-direction: column;
}

.custom-select-search {
  padding: 10px;
  border-bottom: 1px solid var(--light-gray);
  position: sticky;
  top: 0;
  background: var(--white);
}

.custom-select-search input {
  padding: 8px 12px;
  font-size: 0.85rem;
}

.custom-select-options {
  overflow-y: auto;
  flex: 1;
}

.custom-select-option {
  padding: 10px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  transition: background 0.2s;
}

.custom-select-option:hover {
  background: var(--off-white);
}

.custom-select-option .flag {
  font-size: 1.2rem;
}

.phone-input-group {
  display: flex;
  gap: 10px;
}

.phone-input-group .custom-select-wrapper {
  flex: 0 0 140px;
}

.phone-input-group input {
  flex: 1;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.jordan-section {
  background: var(--off-white);
  position: relative;
  overflow: hidden;
}

.jordan-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.jordan-map {
  position: relative;
}

.jordan-map img {
  width: 150%;
  max-width: 550px;
  margin: 0 auto;
  margin-right: -100px;
  display: block;
  filter: drop-shadow(0 8px 32px rgba(25, 47, 80, 0.15));
}

/* ============================================
   BACKGROUND VARIANTS
   ============================================ */
.bg-light {
  background: var(--off-white);
}

.bg-white {
  background: var(--white);
}

/* ============================================
   MISC UTILITIES
   ============================================ */
.text-center {
  text-align: center;
}

.text-primary {
  color: var(--primary);
}

.mb-0 {
  margin-bottom: 0;
}

.mb-1 {
  margin-bottom: 8px;
}

.mb-2 {
  margin-bottom: 16px;
}

.mb-3 {
  margin-bottom: 24px;
}

.mb-4 {
  margin-bottom: 32px;
}

.mt-3 {
  margin-top: 24px;
}

.mt-4 {
  margin-top: 32px;
}

/* Programs listing card */
.program-card {
  display: grid;
  grid-template-columns: 400px 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--light-gray);
  transition: all var(--transition);
}

.program-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.program-card .program-img {
  width: 200%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
}

.program-card .program-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.program-card .program-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: rgba(26, 68, 120, 0.08);
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
  width: fit-content;
}

.program-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.program-card p {
  font-size: 0.9rem;
  margin-bottom: 20px;
}

/* ============================================
   MSA Page Content
   ============================================ */
.content-block {
  max-width: 800px;
  margin: 0 auto;
}

.content-block p {
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 20px;
}

.content-block .book-title {
  font-weight: 700;
  color: var(--primary);
  font-style: italic;
}

.content-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 40px 0;
  box-shadow: var(--shadow-lg);
}

.content-image img {
  width: 100%;
}

.content-note {
  background: rgba(26, 68, 120, 0.04);
  border-left: 4px solid var(--primary);
  padding: 20px 24px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 32px 0;
}

.content-note p {
  margin: 0;
  font-size: 0.92rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .social-projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }

  .program-card {
    grid-template-columns: 1fr;
  }

  .program-card .program-img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    min-height: auto;
    object-fit: cover;
    object-position: top;
  }

  .split-content {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }

  .navbar-menu {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    min-height: 70vh;
    padding: 60px 0;
  }

  .hero h1 {
    font-size: clamp(2rem, 6vw, 2.8rem);
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .hero-buttons .btn {
    text-align: center;
    justify-content: center;
  }

  .hero-sub {
    min-height: auto;
    padding: 80px 0 50px;
  }

  .grid-2,
  .split-content,
  .split-content.reverse {
    grid-template-columns: 1fr;
    gap: 32px;
    direction: ltr;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }

  .gallery-grid .gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 1;
  }

  .gallery-grid .gallery-item:nth-child(5) {
    grid-column: span 1;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }

  .social-projects-grid {
    grid-template-columns: 1fr 1fr;
  }

  .jordan-content {
    grid-template-columns: 1fr;
  }

  .jordan-map img {
    width: 80%;
    max-width: 350px;
    margin: 0 auto;
    margin-right: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .phase-item {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .phase-timeline::before {
    display: none;
  }

  .phase-number {
    width: 48px;
    height: 48px;
    font-size: 1rem;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
  }
}

@media (max-width: 480px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .social-projects-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 140px;
  }

  .gallery-grid .gallery-item:nth-child(1) {
    grid-column: span 2;
  }
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 998;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.whatsapp-float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: box-shadow 0.25s ease, background 0.25s ease;
  position: relative;
}

.whatsapp-float-btn:hover {
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

.whatsapp-float-btn svg {
  width: 28px;
  height: 28px;
  fill: white;
  position: absolute;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Chat icon — visible by default, fades/rotates out when open */
.whatsapp-float-btn .wa-icon-chat {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.whatsapp-float.open .whatsapp-float-btn .wa-icon-chat {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}

/* Close icon — hidden by default, fades/rotates in when open */
.whatsapp-float-btn .wa-icon-close {
  width: 20px;
  height: 20px;
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}

.whatsapp-float.open .whatsapp-float-btn .wa-icon-close {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.whatsapp-popup {
  width: 320px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  transform-origin: bottom right;
  visibility: hidden;
  opacity: 0;
  transform: scale(0.9) translateY(10px);
  transition: none;
  pointer-events: none;
}

.whatsapp-float.open .whatsapp-popup {
  visibility: visible;
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
  animation: waPopupIn 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.whatsapp-float.closing .whatsapp-popup {
  visibility: visible;
  pointer-events: none;
  animation: waPopupOut 0.25s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes waPopupIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes waPopupOut {
  from {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
  to {
    opacity: 0;
    transform: scale(0.9) translateY(10px);
  }
}

@keyframes waBtnBounce {
  0% {
    transform: scale(1);
  }
  30% {
    transform: scale(0.85);
  }
  60% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
  }
}

.whatsapp-popup-header {
  background: #25D366;
  padding: 20px;
  color: white;
}

.whatsapp-popup-header h4 {
  color: white;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.whatsapp-popup-header p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
  margin: 0;
}

.whatsapp-popup-body {
  padding: 16px;
}

.whatsapp-popup-body p {
  font-size: 0.8rem;
  color: var(--mid-gray);
  margin-bottom: 12px;
}

.whatsapp-contact {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--transition);
}

.whatsapp-contact:hover {
  background: var(--off-white);
  border-color: #25D366;
}

.whatsapp-contact-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #E8F5E9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.whatsapp-contact-avatar svg {
  width: 24px;
  height: 24px;
  fill: #25D366;
}

.whatsapp-contact-info {
  flex: 1;
}

.whatsapp-contact-info strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 600;
}

.whatsapp-contact-info span {
  font-size: 0.78rem;
  color: var(--text-light);
}

.whatsapp-contact-go {
  flex-shrink: 0;
}

.whatsapp-contact-go svg {
  width: 22px;
  height: 22px;
  fill: #25D366;
}

@media (max-width: 480px) {
  .whatsapp-popup {
    width: 280px;
  }

  .whatsapp-float {
    bottom: 16px;
    right: 16px;
  }
}