/* ============================================================
   RR Academy – Main Stylesheet
   Primary: #0094E9 | Clean, minimal, professional
   Mobile-first responsive design
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1a1a2e;
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

address {
  font-style: normal;
}

/* -------------------------
   UTILITIES
------------------------- */
.container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-tag {
  display: inline-block;
  background: rgba(0, 148, 233, 0.1);
  color: #0094E9;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
  width: fit-content;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #0d0d1a;
  line-height: 1.25;
  margin-bottom: 14px;
}

.section-title.left-align {
  text-align: left;
}

.section-sub {
  font-size: 1rem;
  color: #666;
  line-height: 1.7;
}

/* -------------------------
   BUTTONS
------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.25s ease;
  white-space: nowrap;
  text-decoration: none;
}

.btn:hover,
.btn:focus {
  text-decoration: none;
  outline: none;
}

.btn-icon-arrow {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.btn:hover .btn-icon-arrow {
  transform: translateX(3px);
}

.btn-primary {
  background: #0094E9;
  color: #fff;
  border-color: #0094E9;
}

.btn-primary:hover {
  background: #0078c2;
  border-color: #0078c2;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 148, 233, 0.35);
}

.btn-primary:focus {
  background: #006aa8;
  border-color: #006aa8;
  box-shadow: 0 0 0 3px rgba(0, 148, 233, 0.3);
}

.btn-outline {
  background: transparent;
  color: #0094E9;
  border-color: #0094E9;
}

.btn-outline:hover {
  background: #0094E9;
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline:focus {
  box-shadow: 0 0 0 3px rgba(0, 148, 233, 0.25);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
  color: #fff;
}

.btn-course {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 20px;
  border-radius: 8px;
  background: transparent;
  color: #0094E9;
  border: 2px solid #0094E9;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  margin-top: auto;
}

.btn-course:hover {
  background: #0094E9;
  color: #fff;
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-course:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 148, 233, 0.25);
}

.btn-full {
  width: 100%;
}

.btn-nav {
  background: #0094E9;
  color: #fff !important;
  padding: 10px 22px !important;
  border-radius: 8px;
  font-weight: 600 !important;
  text-decoration: none !important;
}

.btn-nav.stroke{
  background:none;
  border: solid white 1px;
}

.btn-nav.stroke:hover{
  background-color: white;
  color: #0078c2 !important;
}

.btn-nav:hover {
  background: #0078c2;
  color: #fff !important;
  transform: translateY(-1px);
  text-decoration: none !important;
}

.btn-nav:focus {
  outline: none;
  background: #006aa8;
  box-shadow: 0 0 0 3px rgba(0, 148, 233, 0.3);
}

/* Prevent underline on .btn-nav active indicator line */
.nav-links a.btn-nav::after {
  display: none;
}

/* -------------------------
   NAVBAR
------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  background: transparent;
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}

.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 24px rgba(0,0,0,0.08);
  padding: 10px 0;
  backdrop-filter: blur(12px);
}

.navbar.scrolled .btn-nav.stroke{
  background:none;
  border: solid #0078c2 1px;
  color: #0078c2 !important;
}

.navbar.scrolled .btn-nav.stroke:hover{
  background-color: #0094E9;
  color: #ffffff !important;
}

/* When scrolled, the logo image should stay colored (not inverted like footer) */
.navbar.scrolled .logo-img {
  filter: none;
}

.header_exc{
  height: 80px;
  width: auto;
}

.navbar.scrolled .header_exc{
  height: 60px;
}

/* On transparent navbar (dark hero bg), optionally invert/brighten logo */
.navbar:not(.scrolled) .logo-img {
  filter: brightness(0) invert(1);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 16px;
}

.logo-img {
  height: 100px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Fallback text logo (shown if image fails) */
.logo-rr {
  color: #0094E9;
  font-size: 1.45rem;
  font-weight: 900;
}

.logo-academy {
  color: #0d0d1a;
  font-size: 1.45rem;
  font-weight: 900;
}

.navbar:not(.scrolled) .logo-academy {
  color: #fff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -3px;
  width: 0; height: 2px;
  background: #0094E9;
  transition: width 0.25s;
}

.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: #0094E9; }

.navbar.scrolled .nav-links a {
  color: #333;
}

.navbar.scrolled .nav-links a:hover {
  color: #0094E9;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

.navbar.scrolled .hamburger span {
  background: #333;
}

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

.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* -------------------------
   HERO / BANNER
------------------------- */
.hero {
  height: 850px;
  background: linear-gradient(135deg, #0d1b3e 0%, #0a3060 40%, #0094E9 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.07;
}

.shape-1 {
  width: 600px; height: 600px;
  background: #0094E9;
  top: -200px; right: -100px;
}

.shape-2 {
  width: 400px; height: 400px;
  background: #fff;
  bottom: -150px; left: -80px;
}

.shape-3 {
  width: 250px; height: 250px;
  background: #0094E9;
  top: 40%; left: 40%;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background: rgb(255, 137, 3);
  color: rgba(255,255,255,0.95);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.25);
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero-title .highlight {
  color: #5dd3ff;
}

.hero-sub {
  font-size: 1.35rem;
  color: rgba(255,255,255,0.82);
  margin-bottom: 10px;
  line-height: 1.7;
  font-weight: 700;
}

.hero-tagline {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 32px;
  font-style: italic;
}

.hero_founder_image{
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-45%);
  width: 420px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 44px 0 44px 0;
}

.hero-cta .btn-outline {
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}

.hero-cta .btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stat {
  text-align: center;
}

.stat-num {
  display: block;
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
}

/* Hero Enquiry Form Card */
.enquiry-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.25);
}

.form-tag {
  display: inline-block;
  background: rgba(0, 148, 233, 0.1);
  color: #0094E9;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.enquiry-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0d0d1a;
  margin-bottom: 24px;
}

.enquiry-form, .lead-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #444;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #e0e6ef;
  border-radius: 8px;
  font-size: 0.92rem;
  font-family: inherit;
  color: #1a1a2e;
  background: #f9fbff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #0094E9;
  box-shadow: 0 0 0 3px rgba(0,148,233,0.12);
  background: #fff;
}

.form-group input::placeholder,
.form-group select::placeholder {
  color: #aab4c4;
}

/* -------------------------
   COURSES SECTION
------------------------- */
.courses-section {
  background: #f7faff;
}

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

.course-card {
  background: #fff;
  border-radius: 18px;
  padding: 36px 28px;
  border: 1.5px solid #edf2f9;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.course-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0094E9, #5dd3ff);
  opacity: 0;
  transition: opacity 0.3s;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0, 148, 233, 0.12);
  border-color: #c5e4f8;
}

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

.course-icon,
.course-icon img  {
  width: 100%;
}

.course-icon img {
  height: auto;
  border-radius: 6px;
}

.course-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #0094E9;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  letter-spacing: 0.05em;
}

.course-title {
  font-size: 2rem;
  font-weight: 900;
  color: #0094E9;
  line-height: 1;
}

.course-full {
  font-size: 0.88rem;
  font-weight: 600;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.course-desc {
  font-size: 0.93rem;
  color: #666;
  line-height: 1.7;
}

.course-highlights {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
  flex: 1;
}

.course-highlights li {
  font-size: 0.87rem;
  color: #444;
  padding-left: 18px;
  position: relative;
}

.course-highlights li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #0094E9;
  font-weight: 700;
}

/* -------------------------
   LEARNING MODES
------------------------- */
.modes-section {
  background: #fff;
}

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

.mode-card {
  background: #f7faff;
  border-radius: 18px;
  padding: 36px 24px;
  text-align: center;
  border: 1.5px solid #edf2f9;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s;
}

.mode-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0, 148, 233, 0.1);
  background: #fff;
}

.mode-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
}

.mode-icon svg {
  width: 80px;
  height: 80px;
}

.mode-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0d0d1a;
  margin-bottom: 10px;
}

.mode-card p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.7;
}

/* -------------------------
   RESULTS / TOPPERS
------------------------- */
.results-section {
  background: linear-gradient(135deg, #0d1b3e 0%, #0a3060 50%, #0094E9 100%);
  position: relative;
  overflow: visible;
}

.results-section .section-tag {
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
}

.results-section .section-title {
  color: #fff;
}

.results-section .section-sub {
  color: rgba(255,255,255,0.7);
}

.toppers-swiper {
  /* border-radius: 16px; */
  overflow: hidden;
  /* box-shadow: 0 32px 80px rgba(0,0,0,0.3); */
  max-width: 100%;
  margin: 0 auto;
  padding-bottom: 40px;
}

.toppers-swiper .swiper-slide {
  border-radius: 0;
  overflow: hidden;
}

.toppers-swiper .swiper-slide img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  aspect-ratio: 1300 / 450;
  border-radius: 16px;
}

.toppers-pagination.swiper-pagination-bullets {
  bottom: 10px;
}

.toppers-pagination.swiper-pagination-bullets .swiper-pagination-bullet {
  background: rgba(255,255,255,0.5);
  opacity: 1;
  transition: background 0.25s, width 0.25s;
}

.toppers-pagination.swiper-pagination-bullets .swiper-pagination-bullet-active {
  background: #fff;
  width: 28px;
  border-radius: 4px;
}

.results-cta {
  text-align: center;
  margin-top: 40px;
}

.results-cta .btn-primary {
  background: #fff;
  color: #0094E9;
  border-color: #fff;
  font-size: 1.05rem;
  padding: 16px 36px;
}

.results-cta .btn-primary:hover {
  background: #f0f8ff;
  border-color: #f0f8ff;
}

/* Floating AIR Badge */
.air-badge-float {
  position: fixed;
  bottom: 28px;
  left: 20px;
  z-index: 999;
  width: 100px;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.2));
  transition: transform 0.3s ease;
}

.air-badge-float-2{
  bottom: 168px;
}

.air-badge-float:hover {
  transform: scale(1.08) rotate(-2deg);
}

.air-badge-float img {
  width: 100%;
}

/* -------------------------
   ABOUT + TRUST
------------------------- */
.about-section {
  background: #fff;
}

.about-inner {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 70px;
  align-items: center;
}

.founder-img-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 32px 70px rgba(0, 148, 233, 0.15);
}

.founder-img-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: top;
}

.founder-tag {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  /* background: linear-gradient(transparent, rgba(0,0,0,0.85)); */
  background: #0d1b3e;
  color: #fff;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.founder-tag strong {
  font-size: 1.35rem;
  font-weight: 700;
}

.founder-tag span {
  font-size: 0.82rem;
  opacity: 0.8;
}

.exp-badge {
  position: absolute;
  top: 20px;
  right: -14px;
  background: #0094E9;
  color: #fff;
  border-radius: 14px;
  padding: 14px 18px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,148,233,0.4);
  animation: exp_badge 1.5s infinite alternate ease-in-out;
  width: 150px;
}

  .air-badge-float{
    width: 120px;
  }

@keyframes exp_badge {
  to{
    transform: translateY(5px);
  }
}

.exp-num {
  display: block;
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1;
}

.exp-text {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.9;
  margin-top: 3px;
}

.about-image {
  position: relative;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-text {
  font-size: 0.97rem;
  color: #555;
  line-height: 1.8;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 8px;
}

.trust-item {
  display: flex;
  gap: 14px;
  align-items:center;
  padding: 18px;
  background: #f7faff;
  border-radius: 12px;
  border: 1px solid #edf2f9;
  transition: box-shadow 0.25s;
}

.trust-item:hover {
  box-shadow: 0 8px 28px rgba(0,148,233,0.1);
}

.trust-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  background: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,148,233,0.12);
}

.trust-icon svg {
  width: 20px;
  height: 20px;
}

.trust-item h5 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0d0d1a;
  margin-bottom: 3px;
}

.trust-item p {
  font-size: 0.82rem;
  color: #777;
  line-height: 1.5;
}

/* -------------------------
   WHY CHOOSE US
------------------------- */
.why-section {
  background: #f7faff;
}

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

.why-card {
  background: #fff;
  border-radius: 18px;
  padding: 32px 28px;
  border: 1.5px solid #edf2f9;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.why-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0094E9, #5dd3ff);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,148,233,0.1);
}

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

.why-card-wide {
  grid-column: 1 / -1;
  max-width: 360px;
  margin: 0 auto;
}

.why-num {
  font-size: 3rem;
  font-weight: 900;
  color: rgba(0,148,233,0.08);
  line-height: 1;
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: 'Inter', sans-serif;
}

.why-icon {
  width: 44px;
  height: 44px;
  background: rgba(0,148,233,0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.why-icon svg {
  width: 24px;
  height: 24px;
}

.why-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #0d0d1a;
  margin-bottom: 8px;
}

.why-card p {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.7;
}

/* -------------------------
   LEAD CAPTURE
------------------------- */
.lead-section {
  background: linear-gradient(135deg, #0d1b3e 0%, #0a3060 50%, #0094E9 100%);
}

.lead-inner {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 70px;
  align-items: center;
}

.lead-content .section-tag.light {
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
}

.lead-content h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 16px;
}

.lead-content p {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.75;
  margin-bottom: 24px;
}

.lead-perks {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  list-style: none;
}

.lead-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.93rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

.lead-perks li svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.contact-info {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 8px;
  border: 1.5px solid rgba(255,255,255,0.3);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  transition: background 0.25s, border-color 0.25s;
}

.contact-link svg {
  width: 16px;
  height: 16px;
}

.contact-link:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.6);
}

/* Lead Form */
.lead-form-wrap {
  background: #fff;
  border-radius: 20px;
  padding: 40px 36px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.2);
}

.lead-form h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0d0d1a;
  margin-bottom: 24px;
}

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

.lead-btn-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.lead-btn-group .btn-outline-white {
  color: #0094E9;
  border-color: #0094E9;
}

.lead-btn-group .btn-outline-white:hover {
  background: #f0f8ff;
}

/* -------------------------
   FOOTER
------------------------- */
.footer {
  background: #090f1e;
  color: rgba(255,255,255,0.7);
}

.footer-top {
  padding: 70px 0 50px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.6fr;
  gap: 48px;
}

.footer-logo-img {
  height: 80px;
  width: auto;
  object-fit: contain;
  /* Slightly brighten logo on dark footer bg */
  filter: brightness(0) invert(1);
}

.footer-logo .logo-academy {
  color: rgba(255,255,255,0.85);
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.75;
  margin-top: 14px;
  margin-bottom: 24px;
  color: rgba(255,255,255,0.55);
}

.social-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.social-link:hover {
  background: #0094E9;
  color: #fff;
  border-color: #0094E9;
}

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

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: #0094E9;
}

.footer-contact address {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  margin-bottom: 14px;
}

.footer-contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 10px;
  transition: color 0.2s;
  text-decoration: none;
}

.footer-contact-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0.7;
}

.footer-contact-link:hover {
  color: #0094E9;
  text-decoration: none;
}

/* Extra address block in footer */
.footer-addr-extra {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-addr-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #0094E9;
  margin-bottom: 8px;
}

.footer-addr-label svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: #0094E9;
}

.footer-addr-extra address {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
  font-style: normal;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-wrap: wrap;
}

.heart-icon {
  width: 14px;
  height: 14px;
  color: #e74c3c;
  flex-shrink: 0;
}

/* -------------------------
   FORM SUCCESS STATE
------------------------- */
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 16px;
  gap: 12px;
  min-height: 200px;
}

.form-success h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0d0d1a;
}

.form-success p {
  font-size: 0.88rem;
  color: #777;
}

/* Active nav link */
.nav-links a.active {
  color: #0094E9 !important;
}

 .nav-links a.btn-nav.active {
  color: #ffffff !important;
}

.nav-links a.active::after {
  width: 100%;
}

/* -------------------------
   SWIPER OVERRIDES
------------------------- */
.swiper-button-next,
.swiper-button-prev {
  transition: background 0.25s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: rgba(0,0,0,0.5) !important;
}

/* -------------------------
   TESTIMONIALS
------------------------- */
.testimonials-section {
  background: #fff;
}

.testimonials-swiper {
  padding-bottom: 52px !important;
}

.tcard {
  background: #f7faff;
  border-radius: 20px;
  padding: 28px 26px 30px;
  border: 1.5px solid #edf2f9;
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s, background 0.3s;
}

.tcard:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 55px rgba(0, 148, 233, 0.13);
  border-color: #b8dcf8;
  background: #fff;
}

.tcard-quote {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 4rem;
  line-height: 1;
  color: rgba(0, 148, 233, 0.08);
  font-family: Georgia, 'Times New Roman', serif;
  pointer-events: none;
  user-select: none;
}

.tcard-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tcard-avatar {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  background: var(--av, #0094E9);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 148, 233, 0.28);
}

.tcard-name {
  font-size: 0.97rem;
  font-weight: 700;
  color: #0d0d1a;
  line-height: 1.3;
}

.tcard-course {
  font-size: 0.76rem;
  color: #0094E9;
  font-weight: 600;
  margin-top: 3px;
}

.tcard-stars {
  display: flex;
  align-items: center;
  gap: 3px;
  line-height: 1;
}

.tcard-stars svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.tcard-text {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.78;
  font-style: italic;
  flex: 1;
  height: 150px;
  max-height: 150px;
  overflow-y: auto;
}

.tcard-text::-webkit-scrollbar {
  width: 5px;
}
.tcard-text::-webkit-scrollbar-thumb {
  background:#006aa8; 
}

/* Testimonials pagination dots */
.testimonials-pagination {
  bottom: 0 !important;
}

.testimonials-pagination.swiper-pagination-bullets .swiper-pagination-bullet {
  background: #c5e4f8;
  opacity: 1;
  transition: background 0.25s, width 0.25s;
}

.testimonials-pagination.swiper-pagination-bullets .swiper-pagination-bullet-active {
  background: #0094E9;
  width: 28px;
  border-radius: 4px;
}

.footer_contact{
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer_contact a{
  position: relative;
}

.footer_contact a:nth-child(even):before{
  position: absolute;
  content: "";
  height: 100%;
  width: 1px;
  background-color: rgba(255, 255, 255, 0.267);
  top: 0;
  left: -10px;
}


@media screen and (min-width:1024px) {

  
    .hero_founder_image._mobile_only{
      display: none;
    }
    .hero-form-wrap{
      width: 380px;
      margin-left: auto;
    }
}

/* -------------------------
   RESPONSIVE – TABLET (≤ 1024px)
------------------------- */
@media (max-width: 1024px) {


  .desktop_break{
    display: none;
  }
  .hero_founder_image{
    display: none;
  }

  .hero_founder_image._mobile_only{
    display: block;
    position: static;
    width: 100%;
    max-width: 400px;
    transform: translateY(0);
    margin: auto;
    margin-bottom: -50px;
  }

    .logo-img {
  height: 60px;
}

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

    .hero {
        height: auto;
        max-height: unset;
    }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 0px;
  }

  .hero-form-wrap {
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .founder-img-wrap img {
    height: 360px;
  }

  .lead-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .lead-form-wrap {
    max-width: 540px;
    margin: 0 auto;
    width: 100%;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

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

  .course-card:last-child {
    grid-column: 1 / -1;
    max-width: 460px;
    margin: 0 auto;
  }

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

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

  .why-card-wide {
    grid-column: auto;
    max-width: none;
  }

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

/* -------------------------
   RESPONSIVE – MOBILE (≤ 768px)
------------------------- */
@media (max-width: 768px) {
  .section { padding: 60px 0; }

  /* Navbar */
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(16px);
    padding: 20px;
    gap: 16px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
    border-top: 1px solid #eee;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    color: #333;
    font-size: 1rem;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    width: 100%;
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .btn-nav {
    display: block;
    text-align: center;
    padding: 12px 22px !important;
  }

  .hero {
    padding: 140px 0 60px;
  }

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

  .hero-cta {
    gap: 10px;
  }

  .hero-cta .btn {
    width: 100%;
    text-align: center;
  }

  .hero-stats {
    gap: 16px;
  }

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

  .enquiry-card {
    padding: 28px 22px;
  }

  .courses-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .course-card:last-child {
    grid-column: auto;
    max-width: none;
  }

  .modes-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }

  .toppers-swiper .swiper-slide img {
    border-radius: 4px;
  }

  .about-inner {
    grid-template-columns: 1fr;
  }

.course-card{
  padding: 20px;
}

  .exp-badge {
    right: 10px;
    top: 10px;
  }

  .why-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .why-card-wide {
    max-width: none;
  }

  .lead-inner {
    grid-template-columns: 1fr;
  }

  .lead-form-wrap {
    padding: 28px 22px;
  }

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

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

  .footer-brand {
    grid-column: auto;
  }

  .air-badge-float {
    width: 80px;
    bottom: 16px;
    left: 14px;
  }

   .air-badge-float-2{
    bottom: 120px;
   }
  .contact-info {
    flex-direction: column;
    gap: 10px;
  }
}

/* -------------------------
   RESPONSIVE – SMALL MOBILE (≤ 480px)
------------------------- */
@media (max-width: 480px) {
  .section-title { font-size: 1.6rem; }
  .hero-title { font-size: 1.8rem; }

  .hero-stats {
    gap: 12px;
  }

  .hero-sub{
    font-size: 1rem;
  }

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

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

  .section-header { margin-bottom: 40px; }

  .results-cta .btn-primary {
    font-size: 0.9rem;
    padding: 14px 22px;
  }
}
