/* ========== Theme Variables ========== */
:root {
  --blue-900: #0a174e;
  --blue-800: #001a63;
  --blue-700: #2b2d78;
  --blue-600: #153fb3;
  --blue-500: #3b82f6;
  --blue-100: #e0e7ff;
  --red-700: #b91c1c;
  --red-600: #d72017;
  --red-500: #ef4444;
  --red-100: #fee2e2;
  --white: #ffffff;
  --ink: #0f172a;
  --ink-80: #1f2a44;
  --ink-70: #334155;
  --ink-50: #64748b;
  --bg: #f8fafc;
  --border: #e2e8f0;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow: 0 6px 24px rgba(2, 6, 23, 0.09);
  --shadow-lg: 0 18px 35px rgba(2, 6, 23, 0.13);
  --maxw: 1200px;
  --transition: 0.25s cubic-bezier(.4,0,.2,1);
}

/* ========== Base Styles ========== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  color: var(--ink);
  background: var(--bg);
  font-family: 'Inter', 'Open Sans', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.7;
  scroll-behavior: smooth;
  min-height: 100%;
}

body {
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Poppins', sans-serif;
  color: var(--blue-900);
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
h2, .h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }

a {
  color: var(--blue-600);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover, a:focus {
  color: var(--red-600);
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius-sm);
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.center { text-align: center; }

.intro {
  max-width: 700px;
  margin: 10px auto 32px;
  color: var(--ink-50);
  font-size: 1.1rem;
}

.section {
  padding: 80px 0;
  background: var(--white);
}

.section.alt {
  background: linear-gradient(180deg, var(--bg), #fff 80%);
}

.grid {
  display: grid;
  gap: 32px;
}

.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.cards.grid.five { grid-template-columns: repeat(5, 1fr); gap: 24px; }

@media (max-width: 1100px) {
  .grid.three { grid-template-columns: 1fr 1fr; }
  .cards.grid.five { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 800px) {
  .grid.two, .grid.three, .cards.grid.five { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
}
@media (max-width: 600px) {
  .container { padding: 0 10px; }
  .section { padding: 32px 0; }
}

/* ========== Topbar ========== */
/* ========== Updated Topbar ========== */
.topbar {
  background: linear-gradient(90deg, #1e3a8a 0%, #1e40af 100%); /* Deep Professional Blue */
  color: #ffffff;
  font-size: 13px; /* Slightly smaller for elegance */
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1001;
}

.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  min-height: 45px;
}

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Links & Icons */
.topbar-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.topbar-link i {
  color: #ff4d4d; /* Red accent for icons */
  font-size: 14px;
}

.topbar-link:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

.topbar-info {
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Social Icons in Topbar */
.topbar-social a {
  color: white;
  margin-left: 12px;
  font-size: 14px;
  opacity: 0.7;
  transition: 0.3s;
}

.topbar-social a:hover {
  opacity: 1;
  color: #ff4d4d;
}

/* Mini CTA Button */
.topbar-btn {
  background: #c52026; /* Match your logo red */
  color: white;
  padding: 6px 16px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(197, 32, 38, 0.2);
}

.topbar-btn:hover {
  background: #ffffff;
  color: #c52026;
  transform: scale(1.05);
}

/* ========== Mobile Optimization ========== */

@media (max-width: 768px) {
  .hide-tablet { display: none !important; }
  
  .topbar .wrap {
    justify-content: center; /* Center everything on mobile */
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .hide-mobile { display: none !important; }
  
  .topbar-left {
    flex: 1;
    justify-content: center;
  }
  
  .topbar-btn {
    font-size: 11px;
    padding: 5px 12px;
  }
}

/* ========== Header / Navigation ========== */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
  box-shadow: 0 2px 12px rgba(0,0,0,0.03);
}

header.site-header.scrolled {
  box-shadow: var(--shadow);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo img {
  height: 64px;
  width: auto;
  transition: transform var(--transition);
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.04));
}

.logo img:hover {
  transform: scale(1.06) rotate(-2deg);
}

.brand .name {
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--blue-700);
  letter-spacing: .2px;
}

nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav a {
  font-weight: 600;
  position: relative;
  padding: 8px 0;
  color: var(--ink-80);
  transition: color var(--transition);
}

nav a:after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2.5px;
  background: var(--red-600);
  border-radius: 2px;
  transition: width var(--transition);
}

nav a:hover:after, nav a:focus:after {
  width: 100%;
}

nav a:focus-visible {
  outline: 2px solid var(--red-600);
  outline-offset: 2px;
}

.hamburger {
  display: none;
  background: transparent;
  border: none;
  width: 44px;
  height: 44px;
  position: relative;
  cursor: pointer;
}

.hamburger span, .hamburger span:before, .hamburger span:after {
  content: "";
  display: block;
  height: 3px;
  width: 26px;
  background: var(--ink);
  margin: 8px 0;
  transition: var(--transition);
  position: absolute;
  left: 9px;
}

.hamburger span:before { top: -8px; }
.hamburger span:after { top: 8px; }
.hamburger.open span { background: transparent; }
.hamburger.open span:before { transform: rotate(45deg); top: 0; }
.hamburger.open span:after { transform: rotate(-45deg); top: 0; }

@media (max-width: 1024px) {
  nav ul { display: none; }
  .hamburger { display: block; }
  nav.open ul {
    display: flex;
    position: absolute;
    left: 0;
    top: 100%;
    width: 100vw;
    flex-direction: column;
    background: var(--white);
    padding: 18px 24px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    z-index: 100;
    gap: 18px;
  }
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  border-radius: 999px;
  padding: 13px 26px;
  border: 2px solid transparent;
  font-size: 1rem;
  background: var(--blue-600);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(59,130,246,0.07);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
  cursor: pointer;
  letter-spacing: 0.1px;
}

.btn:active {
  transform: translateY(1px) scale(0.98);
}

.btn.primary {
  background: linear-gradient(90deg, var(--blue-600) 60%, var(--blue-700) 100%);
  color: var(--white);
  border: none;
}

.btn.primary:hover, .btn.primary:focus {
  background: linear-gradient(90deg, #1a43bd 60%, var(--blue-800) 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(59,130,246,0.13);
}

.btn.outline {
  border: 2px solid var(--red-600);
  color: var(--red-600);
  background: transparent;
}

.btn.outline:hover, .btn.outline:focus {
  background: var(--red-600);
  color: var(--white);
}

/* ========== Hero Section ========== */
.hero {
  position: relative;
  color: #1e1e1e;
  overflow: hidden;
  background: linear-gradient(120deg, #f8f9fc 70%, #e0e7ff 100%);
  min-height: 420px;
}

.hero .inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 90px 0 60px 0;
  max-width: 54%;
  position: relative;
  z-index: 2;
}

@media (max-width: 900px) {
  .hero .inner { max-width: 100%; padding: 60px 0 30px 0; }
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 16px;
  font-weight: 900;
  color: var(--blue-900);
}

.hero p {
  font-size: clamp(1.05rem, 2vw, 1.18rem);
  opacity: .93;
  max-width: 520px;
  margin: 18px 0;
}

.hero .cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.hero .hero-stats {
  margin-top: 36px;
}

.hero .stats-wrap {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.hero .stat {
  text-align: center;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  padding: 18px 24px;
  min-width: 120px;
  transition: box-shadow var(--transition), transform var(--transition);
}

.hero .stat:hover {
  box-shadow: 0 6px 24px rgba(59,130,246,0.13);
  transform: translateY(-3px) scale(1.03);
}

.hero .stat strong {
  display: block;
  font-size: 1.6rem;
  color: var(--blue-700);
  font-weight: 900;
}

.hero .stat span {
  font-size: 1rem;
  color: var(--ink-50);
}

.hero::after {
  content: "";
  background: url('images/bg.PNG') no-repeat right center/contain;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 46%;
  height: 90%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.18;
}

/* ...existing code... */

.hero::after {
  content: "";
  background: url('images/bg.PNG') no-repeat right center/contain;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 46%;
  height: 90%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.18;
}

/* Show hero bg image below content on mobile */
@media (max-width: 900px) {
  .hero::after {
    display: block;
    position: static;
    width: 100%;
    height: 180px;
    margin: 32px auto 0 auto;
    background-position: center bottom;
    background-size: contain;
    opacity: 0.22;
    transform: none;
  }
  .hero .inner {
    max-width: 100%;
    padding: 60px 0 30px 0;
  }
}


/* Dynamic Text Styles */
.dynamic-text-container {
  min-height: 60px;
  margin: 10px 0 24px 0;
  position: relative;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.dynamic-text {
  font-size: clamp(2.1rem, 4vw, 2.8rem);
  font-weight: 900;
  position: absolute;
  width: 100%;
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(.4,0,.2,1);
  background: linear-gradient(90deg, #3b82f6 10%, #153fb3 60%, #d72017 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  letter-spacing: -1px;
  line-height: 1.15;
  text-shadow: 0 2px 12px rgba(59,130,246,0.08);
}

.dynamic-text.active {
  opacity: 1;
  position: relative;
  z-index: 2;
}

@media (max-width: 600px) {
  .dynamic-text {
    font-size: 1.3rem;
  }
}

/* ...existing code... */
/* ========== Social Sidebar ========== */
.social-sidebar {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 10px 6px;
  background: #e1e1ebf2;
  border-radius: 10px 0 0 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  z-index: 1000;
}

.social-sidebar a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f5f5f5;
  color: #333;
  font-size: 20px;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.social-sidebar a:hover {
  background: var(--blue-600);
  color: #fff;
  transform: scale(1.1);
}

/* ========== About Section ========== */
/* ========== About Premium Section ========== */
.about-premium {
  padding: 100px 0;
  background: #ffffff;
}

.two-to-one {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: center;
}

.subtitle {
  color: #c52026;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 10px;
  display: block;
}

.text-red { color: #c52026; }

.lead {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 30px;
}

/* Feature Grid */
.about-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

.feature-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.feature-item i {
  color: #c52026;
  font-size: 1.5rem;
  background: rgba(197, 32, 38, 0.05);
  padding: 10px;
  border-radius: 10px;
}

.feature-item strong { display: block; font-size: 1rem; color: #111; }
.feature-item p { font-size: 0.85rem; color: #777; margin: 0; }

/* Checklist Customization */
.checklist-wrapper .checklist {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
}

.checklist li {
  margin-bottom: 12px;
  font-weight: 600;
  color: #333;
  display: flex;
  align-items: center;
  gap: 10px;
}

.checklist li i { color: #22c55e; } /* Green checkmarks */

/* ICEF Refinement */
.icef-affiliation {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 30px;
  border-top: 1px solid #eee;
}

.icef-text strong { display: block; font-size: 0.95rem; }
.icef-text span { font-size: 0.85rem; color: #777; }

.icef-logo img {
  height: 160px;
  transition: transform 0.3s;
}

.icef-logo:hover img { transform: scale(1.05); }

/* Visual Side */
.about-visual { position: relative; }

.image-stack {
  position: relative;
  z-index: 1;
}

.main-img {
  width: 100%;
  border-radius: 30px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.15);
  object-fit: cover;
}

.floating-experience {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: #1e3a8a; /* AEC Blue */
  color: #fff;
  padding: 25px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 15px 30px rgba(30, 58, 138, 0.3);
  z-index: 2;
}

.exp-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.exp-text {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Mobile */
@media (max-width: 992px) {
  .two-to-one { grid-template-columns: 1fr; gap: 50px; }
  .about-visual { order: -1; max-width: 500px; margin: 0 auto; }
}
/* ...existing code... */

.media2 {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 18px auto;
}

.media2 img {
  display: block;
  width: 150px;
  height: 150px;
  object-fit: contain;
  border-radius: 50%;
  border: 3px solid #153fb3;
  box-shadow: 0 4px 18px rgba(59,130,246,0.10);
  background: #fff;
  transition: transform 0.2s;
}

.media2 img:hover {
  transform: scale(1.06) rotate(-2deg);
  box-shadow: 0 8px 32px rgba(59,130,246,0.16);
}
.media2 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto 18px auto;
}

.media2 .badge-caption {
  margin-top: 10px;
  text-align: center;
  font-size: 1.2rem;
  color: #153fb3;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.1px;
}

.media2 .badge-caption span {
  display: block;
  font-size: 0.95em;
  color: #64748b;
  font-weight: 400;
  margin-top: 2px;
}
@media (max-width: 600px) {
  .media2 img {
    width: 160px;
    height: 160px;
  }
}
/* ...existing code... */
/* ========== Services Section ========== */
/* ========== Services Section ========== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.service-card {
  background: #fff;
  border-radius: 15px;
  padding: 40px 30px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  text-align: left; /* Left aligned like the image */
  position: relative;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
}

/* Icon Styles */
.service-icon-wrapper {
  margin-bottom: 25px;
}

.service-icon-circle {
  width: 60px;
  height: 60px;
  background: #fff5f5; /* Light red/pinkish tint */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ffeaea;
}

.service-icon-circle img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.service-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 15px;
}

.service-desc {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 25px;
}

/* What We Offer List */
.what-we-offer h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #1a1a1a;
}

.what-we-offer ul {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.what-we-offer li {
  position: relative;
  padding-left: 25px;
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 12px;
  line-height: 1.4;
}

/* The Red Checkmark */
.what-we-offer li::before {
  content: '✔';
  position: absolute;
  left: 0;
  top: 0;
  color: #c52026; /* AEC/Times Red */
  font-weight: bold;
}

/* Bottom Link */
.service-link {
  margin-top: auto; /* Pushes link to bottom */
  color: #230eaa;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  transition: opacity 0.2s;
}

.service-link:hover {
  text-decoration: underline;
  opacity: 0.8;
}

/* Responsive */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .cards-grid { grid-template-columns: 1fr; }
}
/* ========== Universities Section ========== */
/* Tabs Styling */
.tabs-container {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 80px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 12px 25px;
  border: 1px solid var(--aec-navy);
  background: white;
  color: var(--aec-navy);
  font-weight: 900;
  cursor: pointer;
  transition: 0.3s;
}

.tab-btn.active, .tab-btn:hover {
  background: var(--aec-navy);
  color: #3b82f6;
}

/* Logo Grid Styling */
.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeIn 0.5s; }

.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 20px;
}

.uni-logo {
  background: white;
  border: 2px solid #eee;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 150px;
  transition: 0.3s;
}

.uni-logo img {
  max-width: 100%;
  max-height: 100%;
  filter: grayscale(100%); /* Times style: grayscale logos that color on hover */
  opacity: 0.7;
}

.uni-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

@keyframes fadeIn { from {opacity: 0;} to {opacity: 1;} }

/* ========== Modal ========== */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 80px;
  left: 0; top: 0;
  width: 100%; height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.85);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 80%;
  max-height: 80vh;
  border-radius: 12px;
  box-shadow: 0 5px 24px rgba(0,0,0,0.45);
  animation: zoomIn 0.3s ease;
}

.close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color var(--transition);
}

.close:hover {
  color: #ff4444;
}

@keyframes zoomIn {
  from {transform: scale(0.7);}
  to {transform: scale(1);}
}

/* ========== Process Section ========== */
/* ========== Process Section ========== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns like the image */
  gap: 25px;
  margin-top: 40px;
}

.step {
  background: #f8f9ff; /* Soft off-white/blue background */
  border-radius: 20px;
  padding: 35px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid transparent;
}

.step:hover {
  transform: translateY(-5px);
  background: #ffffff;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  border-color: #eee;
}

/* Top Row: "Step 1" and Icon */
.step-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.step-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* The Red Circle around the number */
.step-number span {
  background: #c52026; /* AEC Blue */
  color: white;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.9rem;
}

.step-icon {
  width: 50px;
  height: 50px;
}

.step-icon i {
  font-size: 32px;
  color: #333; /* Dark gray/black */
  transition: transform 0.3s ease;
}

.step:hover .step-icon i {
  color: #a70606; /* Brand Red on hover */
  transform: scale(1.1);
}

/* Bottom Row: Text */
.step-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #333;
  text-align: left; /* Left aligned like the image */
  margin: 0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .steps { 
    grid-template-columns: 1fr; 
    padding: 0 20px;
  }
}

@media (max-width: 980px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; }
}

/* ========== Testimonials Section ========== */
.slider {
  position: relative;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}

.slide {
  display: none;
  background: #fff;
  border-radius: 18px;
  padding: 38px 28px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.09);
  text-align: left;
  transition: all var(--transition);
}

.slide.current {
  display: block;
  animation: fadeIn 0.6s var(--transition);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px);}
  to { opacity: 1; transform: translateY(0);}
}

.slide img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--blue-600);
  margin: 0 auto 20px;
  display: block;
}

.slide blockquote {
  font-size: 1.08rem;
  line-height: 1.7;
  font-style: italic;
  color: #444;
  margin: 18px 0;
  position: relative;
  padding-left: 36px;
}

.slide blockquote::before {
  content: "“";
  font-size: 42px;
  position: absolute;
  left: 0;
  top: -12px;
  color: var(--blue-600);
  font-family: Georgia, serif;
}

.slide figcaption {
  margin-top: 12px;
  font-weight: 600;
  font-size: 0.98rem;
  color: #222;
  text-align: right;
}

.slider .nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue-600);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  z-index: 10;
  transition: background var(--transition), transform var(--transition);
  box-shadow: 0 2px 8px rgba(59,130,246,0.10);
}

.slider .prev { left: -60px; }
.slider .next { right: -60px; }

.slider .nav:hover {
  background: #03217b;
  transform: scale(1.08);
}

.slide blockquote::after {
  content: "”";
  font-size: 42px;
  position: absolute;
  right: 0;
  bottom: -12px;
  color: var(--blue-600);
  font-family: Georgia, serif;
}

/* ========== CTA Banner ========== */
.cta-banner {
  background: linear-gradient(140deg, rgba(119, 140, 198, 0.98), rgba(44, 62, 112, 0.92)), url('images/bg.jpg') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 70px 0;
  border-radius: 0 0 24px 24px;
  box-shadow: 0 8px 32px rgba(44,62,112,0.08);
}

.cta-banner p {
  opacity: .97;
  margin: 12px 0 22px;
  font-size: 1.15rem;
}

/* ========== FAQ Section ========== */
.faq details {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin: 12px 0;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), border-color var(--transition);
}

.faq details[open] {
  border-color: var(--blue-100);
  box-shadow: 0 4px 18px rgba(59,130,246,0.08);
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
  position: relative;
  padding-right: 30px;
  font-size: 1.07rem;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary:after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  transition: transform var(--transition);
}

.faq details[open] summary:after {
  content: '-';
  transform: rotate(0deg);
}

.faq p {
  margin-top: 10px;
  color: var(--ink-70);
}

/* ========== Contact Section ========== */
/* ========== Contact Section ========== */
.contact-container {
  gap: 60px;
  align-items: start;
}

.form-intro {
  margin-bottom: 30px;
  color: #666;
}

/* Form Styling */
.input-group {
  margin-bottom: 20px;
}

.input-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: #333;
}

.input-group input, 
.input-group select, 
.input-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-family: inherit;
  transition: all 0.3s ease;
  background: #fdfdfd;
}

.input-group input:focus, 
.input-group select:focus, 
.input-group textarea:focus {
  border-color: #c52026; /* Brand Red */
  outline: none;
  box-shadow: 0 0 0 3px rgba(197, 32, 38, 0.1);
}

.submit-btn {
  width: 100%;
  padding: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Contact Info Card */
.contact-info-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border: 1px solid #eee;
}

.map-preview img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: opacity 0.3s;
}

.map-preview img:hover {
  opacity: 0.9;
}

.info-content {
  padding: 30px;
}

.info-content h3 {
  margin-bottom: 20px;
  font-size: 1.4rem;
}

.info-item {
  display: flex;
  gap: 15px;
  margin-bottom: 18px;
}

.info-item i {
  color: #c52026;
  font-size: 1.1rem;
  margin-top: 4px;
}

.info-item p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.outline-red {
  border: 2px solid #c52026;
  color: #c52026;
  display: block;
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.outline-red:hover {
  background: #c52026;
  color: #fff;
}

/* Responsive */
@media (max-width: 980px) {
  .contact-container { grid-template-columns: 1fr; }
  .contact-info-card { order: -1; } /* Map on top for mobile */
}
form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 700;
  color: var(--ink);
}

input, select, textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  outline: none;
  transition: border var(--transition), box-shadow var(--transition);
  background: #fff;
  color: var(--ink);
  font-size: 1rem;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, .13);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
}

#formStatus, #newsStatus {
  font-size: 14px;
}

.contact-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.contact-card .card-body {
  padding: 22px;
}

.contact-card .btn {
  margin-top: 10px;
}

/* ========== Video Gallery Slider ========== */
.video-slider-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.video-wrapper {
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
  background: #000;
}

.video-card {
  display: none; /* Hidden by default */
  animation: fadeIn 0.5s ease-in-out;
}

.video-card.active {
  display: block;
}

.iframe-container {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16; /* Forces the vertical shape */
  max-height: 650px; /* Prevents it from being too long */
  background: #000;
}

.iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.video-info {
  background: #fff;
  padding: 20px;
  text-align: center;
}

.video-info h3 { margin: 0; color: #1a1a1a; font-size: 1.2rem; }
.video-info p { margin: 5px 0 0; color: #c52026; font-weight: 600; font-size: 0.9rem; }

/* Arrows */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #c52026;
  color: white;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: 0.3s;
}
/* Create a transparent layer over the video to block YouTube UI clicks */
.iframe-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px; /* Blocks the top title bar */
  z-index: 2;
  pointer-events: none; /* Allows clicks to pass through if you want, or remove this to block all UI interaction */
}

/* Optional: Block the bottom area where 'More Videos' pops up */
.iframe-container::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px; /* Blocks the bottom YouTube bar */
  z-index: 2;
}
.slider-btn:hover { background: #1e3a8a; scale: 1.1; }
.prev { left: -60px; }
.next { right: -60px; }

/* Dots */
.slider-dots { text-align: center; margin-top: 20px; }
.dot {
  height: 12px; width: 12px; margin: 0 5px;
  background-color: #bbb; border-radius: 50%;
  display: inline-block; cursor: pointer;
}
.dot.active { background-color: #c52026; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Mobile view for arrows */
@media (max-width: 1024px) {
  .prev { left: 10px; }
  .next { right: 10px; }
}

/* ========== Footer ========== */
.footer {
  background: #0b1430;
  color: #d0d5e1;
  border-radius: 24px 24px 0 0;
  margin-top: 40px;
  box-shadow: 0 -4px 24px rgba(11,20,48,0.10);
}

.footer .brand .name { color: #fff; }

.footer h4 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
}

.footer .list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .list li { margin: 8px 0; }

.footer .socials {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.footer .socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
  transition: background var(--transition), transform var(--transition);
  color: #fff;
  font-size: 1.2rem;
}

.footer .socials a:hover {
  background: var(--blue-600);
  transform: scale(1.1);
}

.footer .copy {
  border-top: 1px solid rgba(255, 255, 255, .11);
  margin-top: 22px;
  padding: 16px 0;
  color: #aab1c4;
  text-align: center;
  font-size: 0.98rem;
}

/* ========== Floating Elements ========== */
/* ========== Floating Elements ========== */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  padding: 12px 20px;
  background: #130886; /* WhatsApp Green */
  color: white;
  border-radius: 50px; /* Pill shape */
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
  z-index: 999;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.whatsapp-float i {
  font-size: 22px;
}

.whatsapp-float:hover {
  transform: translateY(-5px);
  background: #1e5fed;
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
  color: white;
}

/* Pulse Animation */
.whatsapp-float::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: #1d10b1;
  border-radius: 50px;
  z-index: -1;
  animation: whatsapp-pulse 2s infinite;
}

@keyframes whatsapp-pulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.2, 1.4); opacity: 0; }
}

/* Mobile View - Keep it compact on very small screens if needed */
@media (max-width: 480px) {
  .whatsapp-float span {
    display: none; /* Only show icon on very small phones to save space */
  }
  .whatsapp-float {
    padding: 15px;
    right: 15px;
    bottom: 15px;
  }
}

.whatsapp-float:hover {
  transform: scale(1.13);
  box-shadow: 0 8px 32px rgba(37,211,102,0.18);
}

.whatsapp-float i {
  color: white;
  font-size: 28px;
}

.to-top {
  position: fixed;
  right: 18px;
  bottom: 88px;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: var(--red-600);
  color: #fff;
  border: none;
  display: none;
  box-shadow: var(--shadow);
  cursor: pointer;
  z-index: 100;
  font-size: 1.3rem;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), transform var(--transition);
}

.to-top.show {
  display: flex;
}

.to-top:hover {
  background: var(--blue-600);
  transform: scale(1.08);
}

/* ========== Utilities ========== */
::-webkit-scrollbar {
  width: 8px;
  background: #e0e7ff;
}
::-webkit-scrollbar-thumb {
  background: #bfc8e6;
  border-radius: 8px;
}