/* ============================================================
   A2S Institute – Main Stylesheet
   Modern Educational Website | Bootstrap 5 + Custom CSS
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* ── CSS Variables ── */
:root {
  --primary: #1A3C6E;
  --primary-dark: #0f2548;
  --primary-light: #2a5caa;
  --accent: #F59E0B;
  --accent-dark: #d97706;
  --accent-light: #FDE68A;
  --success: #10B981;
  --white: #FFFFFF;
  --light: #dee8ff;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-500: #64748B;
  --gray-700: #334155;
  --dark: #0F172A;
  --text: #1e293b;
  --text-muted: #64748b;
  --font: 'Poppins', sans-serif;
  --shadow-sm: 0 2px 8px rgba(26, 60, 110, 0.08);
  --shadow-md: 0 8px 32px rgba(26, 60, 110, 0.12);
  --shadow-lg: 0 20px 60px rgba(26, 60, 110, 0.16);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: all 0.3s ease;
}

/* ── Base ── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
  line-height: 1.7;
}

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

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

section {
  overflow: hidden;
}

/* ── Typography ── */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark);
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
  display: block;
}

.section-lead {
  font-size: 1.05rem;
  color: #000;
  font-weight: 300;
  max-width: 620px;
  margin: 0 auto 1rem;
}

.divider {
  width: 55px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--primary-light));
  border-radius: 4px;
  margin: 12px 10px 20px;
}

.divider-left {
  margin-left: 0;
}

/* ── Buttons ── */
.btn-primary-custom {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  padding: 13px 34px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(26, 60, 110, 0.3);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary-custom::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}

.btn-primary-custom:hover::before {
  transform: translateX(0);
}

.btn-primary-custom:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(26, 60, 110, 0.38);
}

.btn-accent-custom {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  padding: 13px 34px;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(255, 217, 150, 0.3);
  transition: var(--transition);
  border-radius: 6px;

}

.btn-accent-custom:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(245, 158, 11, 0.4);
}

.btn-outline-custom {
  background: transparent;
  color: var(--primary);
  padding: 12px 32px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 2px solid var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-outline-custom:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}

.btn-white-custom {
  background: #fff;
  color: var(--primary);
  padding: 13px 34px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
}

.btn-white-custom:hover {
  color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
}

/* ══════════════════════════════════════
   HEADER / NAVBAR
══════════════════════════════════════ */
#mainNav {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: none;
  padding: 16px 0;
  transition: all 0.4s ease;
  border-bottom: 1px solid transparent;
}

#mainNav.scrolled {
  padding: 10px 0;
  box-shadow: 0 4px 28px rgba(26, 60, 110, 0.1);
  border-bottom-color: rgba(26, 60, 110, 0.06);
}

.navbar-brand .brand-text {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ee940a;
  line-height: 1;
}

.navbar-brand .brand-sub {
  font-size: 0.6rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.brand-badge {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 900;
  margin-right: 10px;
  flex-shrink: 0;
}

.navbar-nav .nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text) !important;
  padding: 8px 20px !important;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  right: 50%;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  left: 16px;
  right: 16px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #1a3c6e !important;
  /* background: #1a3c6e; */
}

.nav-cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff !important;
  padding: 9px 22px !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.45) !important;
  color: #fff !important;
}

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

.navbar-toggler {
  border: none;
  outline: none;
  padding: 6px;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%231A3C6E' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Phone bar */
.top-bar {
  background: var(--primary);
  padding: 7px 0;
  font-size: 0.78rem;
  color: rgb(255, 255, 255);
}

.top-bar a {
  color: #fff;
}

.top-bar a:hover {
  color: #fff;
}

/* ══════════════════════════════════════
   HERO SECTION
══════════════════════════════════════ */
.hero-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-slide {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(0 69 171) 0%, rgba(26, 60, 110, 0.75) 50%, rgb(42 92 170 / 0%) 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: var(--accent-light);
  padding: 7px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-title span {
  color: var(--accent);
}

.hero-desc {
  font-size: 1.05rem;
  color: rgb(255, 255, 255);
  font-weight: 300;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat-num {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.76rem;
  color: rgb(255, 255, 255);
  font-weight: 400;
  margin-top: 2px;
}

.swiper-pagination-bullet {
  background: rgb(222 232 255);
  opacity: 1;
  width: 10px;
  height: 10px;
}

.swiper-pagination-bullet-active {
  background: var(--accent);
  width: 26px;
  border-radius: 5px;
}

.hero-img-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-img-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.hero-img-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ══════════════════════════════════════
   ABOUT PREVIEW
══════════════════════════════════════ */
.about-img-stack {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius-xl);
  width: 100%;
  height: 480px;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

.about-img-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  border: 6px solid #fff;
  box-shadow: var(--shadow-md);
}

.about-exp-badge {
  position: absolute;
  top: 24px;
  left: -20px;
  background: linear-gradient(276deg, #f0970bb0, #1a3c6ee0);
  color: #fff;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.about-exp-num {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
}

.about-exp-txt {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: #f3f8ff;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  margin-bottom: 12px;
}

.about-feature:hover {
  background: #fff;
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.about-feature-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #f0970a, #de7d07);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
}

.about-feature-text h6 {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 2px;
}

.about-feature-text p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
}

/* ══════════════════════════════════════
   STATS COUNTER
══════════════════════════════════════ */
.stats-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stat-card {
  padding: 28px 20px;
  border-radius: var(--radius-lg);
  background: rgb(255 255 255);
  border: 1px solid rgb(255 255 255);
  backdrop-filter: blur(8px);
  transition: var(--transition);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.stat-card:hover {
  background: rgb(255, 255, 255);
  transform: translateY(-5px);
}

.stat-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  display: block;
}

.stat-label {
  font-size: 0.98rem;
  color: rgb(0, 0, 0);
  font-weight: 500;
  margin-top: 6px;
  display: block;
}

.stat-icon {
  font-size: 2.4rem;
  color: rgb(26 60 110);
  margin-bottom: 8px;
  background-color: #f0970a;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ══════════════════════════════════════
   COURSES CARDS
══════════════════════════════════════ */
.course-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: all 0.35s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(26, 60, 110, 0.15);
}

.course-img {
  height: auto;
  overflow: hidden;
  position: relative;
}

.course-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.course-card:hover .course-img img {
  transform: scale(1.07);
}

.course-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--accent);
  color: #fff;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
}

.course-body {
  padding: 22px 22px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.course-tag {
  font-size: 0.72rem;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.course-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.course-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.course-meta span {
  background-color: #1a3c6e;
  font-size: 0.78rem;
  color: #ffffff;
  border-radius: 5px;
  padding: 5px 15px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.course-desc {
  font-size: 0.83rem;
  color: #000;
  line-height: 1.7;
  margin-bottom: 16px;
  flex: 1;
}

.course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--gray-200);
  margin-top: auto;
}

.course-teacher {
  font-size: 0.78rem;
  font-weight: 600;
  color: #000;
  display: flex;
  align-items: center;
  gap: 6px;
}

.course-teacher img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

/* ══════════════════════════════════════
   WHY CHOOSE US
══════════════════════════════════════ */
.why-section {
  background: var(--light);
}

.why-card {
  padding: 32px 26px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: all 0.35s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.why-card:hover::before {
  transform: scaleX(1);
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.why-card .icon-content-box .content-box{
      max-width: 269px;
    z-index: 999;
}

.why-icon {
  position: relative;
  width: 70px;
  height: 70px;
  background: #245195;
  background: radial-gradient(circle, rgba(36, 81, 149, 1) 34%, rgba(231, 139, 8, 1) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 18px;
  box-shadow: rgb(235 144 9 / 47%) 0px 2px 8px 0px;
}

.why-icon .icon1 {
  font-size: 25px;
  transition: transform 0.3s ease;
  display: inline-block;
  /* important for smooth scaling */
}

.why-icon .icon1:hover {
  transform: scale(1.2);
}

.why-card .icon2 {
  position: absolute;
  font-size: 80px;
  top: 35px;
  left: 72%;
  color: #fef8edb3;
}


.why-card h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.why-card p {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* ══════════════════════════════════════
   TEACHERS
══════════════════════════════════════ */
.teacher-card {
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  transition: all 0.4s ease;
  text-align: center;
  position: relative;
}

.teacher-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(0, 123, 255, 0.08), transparent);
  opacity: 0;
  transition: 0.4s;
}

.teacher-card:hover::before {
  opacity: 1;
}

.teacher-card:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

/* IMAGE */
.teacher-img {
  overflow: hidden;
  position: relative;
}

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

.teacher-card:hover .teacher-img img {
  transform: scale(1.1);
}

/* OVERLAY */
.teacher-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 32, 65, 0.9), transparent 60%);
  opacity: 0;
  transition: 0.35s ease;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 20px;
}

.teacher-card:hover .teacher-overlay {
  opacity: 1;
}

/* SOCIAL ICONS */
.social-icons {
  display: flex;
  gap: 12px;
}

.social-icons a {
  color: #fff;
  font-size: 16px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 8px 10px;
  border-radius: 50%;
  transition: all 0.3s ease;
  backdrop-filter: blur(6px);
}

.social-icons a:hover {
  background: #fff;
  color: var(--primary);
  transform: translateY(-3px);
}

/* INFO */
.teacher-info {
  padding: 20px 16px;
}

.teacher-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
  letter-spacing: 0.3px;
}

.teacher-role {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.teacher-exp {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* SUBTLE LINE UNDER NAME */
.teacher-name::after {
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  margin: 6px auto 0;
  background: linear-gradient(to right, var(--primary), transparent);
}

/* ══════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════ */
.testimonial-section {
  background: var(--light);
}

.testimonial-section .container {
  border: 1px solid #3d4c6429;
  padding: 55px 60px 40px;
  border-radius: 43px;
  box-shadow: rgb(12 20 32 / 9%) 1.95px 1.95px 2.6px;
  background-color: #fff;
}

.testimonial-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  right: 16px;
  font-size: 7rem;
  font-weight: 900;
  color: rgba(26, 60, 110, 0.04);
  line-height: 1;
  font-family: serif;
}

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

.testimonial-stars {
  color: var(--accent);
  margin-bottom: 14px;
  font-size: 0.85rem;
}

.testimonial-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 18px;
}

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

.testimonial-author img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gray-200);
}

.testimonial-author-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--dark);
}

.testimonial-author-sub {
  font-size: 0.74rem;
  color: var(--primary);
  font-weight: 500;
}

/* ══════════════════════════════════════
   GALLERY
══════════════════════════════════════ */
.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 60, 110, 0.85), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  font-size: 2rem;
  color: #fff;
}

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  z-index: 10;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.28);
}

.lightbox-prev {
  left: 16px;
}

.lightbox-next {
  right: 16px;
}

/* ══════════════════════════════════════
   CTA BANNER
══════════════════════════════════════ */
/* .cta-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--primary-light));
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 50%, rgba(245, 158, 11, 0.1) 0%, transparent 60%);
}

.cta-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 14px;
}

.cta-text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 300;
  margin-bottom: 32px;
} */

/* ══════════════════════════════════════
   CONTACT SECTION
══════════════════════════════════════ */
.contact-info-card {
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: var(--transition);
  margin-bottom: 14px;
}

.contact-info-card:hover {
  background: #fff;
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.contact-icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
}

.contact-info-card h6 {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 3px;
}

.contact-info-card p {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
  margin: 0;
}

/* Form */
.form-control,
.form-select {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: var(--font);
  font-size: 0.88rem;
  color: var(--text);
  background: #fff;
  transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 60, 110, 0.1);
  outline: none;
}

.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}

/* ══════════════════════════════════════
   ADMISSION PAGE
══════════════════════════════════════ */
.step-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition);
}

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

.step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 4px 14px rgba(26, 60, 110, 0.25);
}

.step-connector {
  position: absolute;
  top: 52px;
  left: calc(50% + 36px);
  right: calc(-50% + 36px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  opacity: 0.2;
}

/* ══════════════════════════════════════
   PAGE HERO (inner pages)
══════════════════════════════════════ */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
  padding: 100px 0 60px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23fff' fill-opacity='0.03'%3E%3Ccircle cx='40' cy='40' r='2'/%3E%3C/g%3E%3C/svg%3E");
}

.page-hero-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.breadcrumb-item a {
  color: var(--accent-light);
}

.breadcrumb-item.active {
  color: rgb(255 255 255);
}

.breadcrumb-item+.breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.4);
}

/* ══════════════════════════════════════
   FAQ ACCORDION
══════════════════════════════════════ */
.accordion-item {
  border: 1px solid var(--gray-200) !important;
  border-radius: var(--radius-md) !important;
  margin-bottom: 10px;
  overflow: hidden;
}

.accordion-button {
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--dark);
  background: #fff;
  padding: 18px 22px;
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  background: var(--light);
  color: var(--primary);
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231A3C6E'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.8;
  padding: 0 22px 18px;
}

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

.footer-brand .brand-text {
  color: #fff;
}

.footer-brand .brand-sub {
  color: rgba(255, 255, 255, 0.5);
}

.footer h5 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  display: block;
  padding: 4px 0;
  transition: var(--transition);
}

.footer a:hover {
  color: var(--accent);
  padding-left: 6px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 10px;
}

.footer-contact li i {
  color: var(--accent);
  margin-top: 7px;
  flex-shrink: 0;
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.3);
  margin-top: 50px;
  padding: 18px 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-right: 8px;
  padding: 0;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  padding-left: 0;
}

/* ══════════════════════════════════════
   BACK TO TOP
══════════════════════════════════════ */
#backToTop {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 18px rgba(26, 60, 110, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

#backToTop.visible {
  opacity: 1;
  visibility: visible;
}

#backToTop:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 26px rgba(26, 60, 110, 0.38);
}

/* ══════════════════════════════════════
   MAP
══════════════════════════════════════ */
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-wrap iframe {
  display: block;
}

/* ══════════════════════════════════════
   MISC UTILITY
══════════════════════════════════════ */
.bg-primary-gradient {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
}

.text-accent {
  color: var(--accent) !important;
}

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

.bg-light-custom {
  background: var(--light);
}

.rounded-xl {
  border-radius: var(--radius-xl);
}

.section-pad {
  padding: 90px 0;
}

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

.fw-800 {
  font-weight: 800;
}

.fw-900 {
  font-weight: 900;
}

/* Badge pill */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(26, 60, 110, 0.07);
  color: var(--primary);
}

.badge-pill-accent {
  background: rgba(245, 158, 11, 0.1);
  color: var(--accent-dark);
}

/* Swiper overrides */
.swiper-button-prev,
.swiper-button-next {
  width: 44px !important;
  height: 44px !important;
  background: #fff;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  color: var(--primary) !important;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 1rem !important;
  font-weight: 700;
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width:  1399px) {
.why-card .icon-content-box .content-box {
    max-width: 210px;
    z-index: 999;
}
}
@media (max-width: 991.98px) {
  .hero-section {
    min-height: 70vh;
  }

  .hero-slide {
    min-height: 70vh;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .navbar-collapse {
    background: #fff;
    padding: 16px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    margin-top: 8px;
  }

  .about-img-accent {
    width: 140px;
    height: 140px;
    right: -10px;
  }

  .about-exp-badge {
    left: -10px;
  }
}

@media (max-width: 767.98px) {
  .section-pad {
    padding: 60px 0;
  }

  .section-pad-sm {
    padding: 40px 0;
  }

  .hero-stats {
    gap: 18px;
  }

  .hero-stat-num {
    font-size: 1.5rem;
  }

  .stats-section {
    padding: 50px 0;
  }

  .stat-num {
    font-size: 2.3rem;
  }

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

  .page-hero {
    padding: 100px 0 50px;
  }

  .hero-img-card img {
    height: 280px;
  }

  .footer {
    padding: 50px 0 0;
  }
}

@media (max-width: 575.98px) {
  .testimonial-section .container {
    padding: 40px 35px 40px;
  }

  .hero-content {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .btn-primary-custom,
  .btn-accent-custom,
  .btn-outline-custom,
  .btn-white-custom {
    padding: 11px 24px;
    font-size: 0.83rem;
  }
}


.cta-wrap {
  background: #0d1b3e;
  padding: 90px 36px;
  font-family: var(--font-sans);
  position: relative;
  overflow: hidden;
  border-radius: 0;
}

.cta-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.cta-orb-1 {
  width: 420px;
  height: 420px;
  background: rgba(30, 80, 160, 0.45);
  top: -160px;
  left: -120px;
}

.cta-orb-2 {
  width: 300px;
  height: 300px;
  background: rgba(240, 152, 0, 0.12);
  bottom: -100px;
  right: 5%;
}

.cta-orb-3 {
  width: 180px;
  height: 180px;
  background: rgba(80, 140, 255, 0.1);
  top: 10%;
  right: 30%;
}

.cta-dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 26px 26px;
}

.cta-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #f09800, #4a90e2, transparent);
}

.cta-inner {
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
}

.cta-left {
  flex: 1;
  min-width: 260px;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(240, 152, 0, 0.15);
  border: 1px solid rgba(240, 152, 0, 0.35);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 20px;
}

.cta-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f09800;
  animation: blink 1.8s ease-in-out infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 0.4;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.3);
  }
}

.cta-badge span {
  font-size: 0.75rem;
  font-weight: 600;
  color: #f5c542;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.cta-title {
  font-size: clamp(1.7rem, 3.0vw, 3.5rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.cta-title span {
  background: linear-gradient(90deg, #f09800, #ffd570);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-text {
  font-size: 0.97rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
  line-height: 1.7;
  max-width: 538px;
}

.cta-seats {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.cta-seats-bar-bg {
  flex: 1;
  max-width: 180px;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.cta-seats-bar-fill {
  height: 100%;
  width: 72%;
  background: linear-gradient(90deg, #f09800, #ffd570);
  border-radius: 10px;
  animation: fillbar 2s ease-out forwards;
}

@keyframes fillbar {
  from {
    width: 0;
  }

  to {
    width: 72%;
  }
}

.cta-seats-txt {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}

.cta-seats-txt b {
  color: #f5c542;
}

.cta-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-end;
  min-width: 200px;
}

.btn-primary-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 15px 30px;
  border-radius: 14px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  box-shadow: 0 8px 24px rgba(240, 152, 0, 0.35);
}

.btn-primary-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent);
  border-radius: 14px;
}

.btn-primary-cta:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 16px 36px rgba(240, 152, 0, 0.45);
}

.btn-primary-cta svg {
  width: 18px;
  height: 18px;
  stroke: #fff;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s ease;
}

.btn-primary-cta:hover svg {
  transform: translateX(4px);
}

.btn-outline-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 14px;
  text-decoration: none;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  white-space: nowrap;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, border-color 0.3s ease;
  backdrop-filter: blur(4px);
}

.btn-outline-cta:hover {
  transform: translateY(-4px) scale(1.03);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.btn-outline-cta svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cta-trust {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.cta-trust-avatars {
  display: flex;
}

.cta-av {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #0d1b3e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 700;
  color: #fff;
  margin-left: -8px;
}

.cta-av:first-child {
  margin-left: 0;
}

.av1 {
  background: #4a90e2;
}

.av2 {
  background: #1dab7a;
}

.av3 {
  background: #a855d4;
}

.av4 {
  background: #f09800;
}

.cta-trust-txt {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
}

.cta-trust-txt b {
  color: rgba(255, 255, 255, 0.7);
}