/* ==============================
   MAIN HEADER BAR
============================== */
.top-header {
  background: #c20f0f;
  padding: 12px 0;
  width: 100%;
  font-family: "Poppins", sans-serif;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;

}

.logo {
  height: 85px;
}

/* RIGHT SIDE */
.header-right {
  display: flex;
  align-items: center;
  gap: 25px;
  color: #fff;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contactlink {
  color: #fff !important;
  text-decoration: none;
  font-size: 16px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons i,
.header-right i {
  color: #fff;
  font-size: 20px;
}


/* ==============================
   TABLET (≤ 768px)
============================== */
@media (max-width: 768px) {
  .logo {
    height: 70px;
  }

  .header-right {
    gap: 18px;
  }

  .contactlink {
    font-size: 14px;
  }

  .social-icons i {
    font-size: 18px;
  }
}


/* ==============================
   MOBILE (≤ 450px)
   Logo left + content right (vertical)
============================== */
@media (max-width: 450px) {

  .header-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 0 10px;
  }

  /* Logo */
  .logo {
    height: 80px;
    margin-left: 5px;
  }

  /* Right side becomes vertical */
  .header-right {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 10px;
  }

  .contact-item {
    justify-content: start;
  }

  .social-icons {
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
  }
}


/* ==============================
   SMALL MOBILE (≤ 375px)
============================== */
@media (max-width: 375px) {
  .contactlink {
    font-size: 12px;
  }

  .header-right {
    gap: 8px;
  }

  .social-icons i {
    font-size: 17px;
  }
}


/* ==============================
   ULTRA SMALL (≤ 320px)
============================== */
@media (max-width: 320px) {
  .logo {
    height: 62px;
  }

  .contactlink {
    font-size: 11px;
  }

  .header-right {
    gap: 6px;
  }

  .social-icons {
    padding-right: 4.5px;
  }
}


/* ======================================
   FIX OVERLAP (750px down to 470px)
   Logo left + items vertical right
====================================== */
@media (max-width: 768px) and (min-width: 452px) {

  .header-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 25px;
  }

  /* Reduce logo so it fits */
  .logo {
    height: 75px !important;
  }

  /* STACK RIGHT SIDE VERTICALLY */
  .header-right {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 10px !important;
  }

  /* Each contact item goes RIGHT */
  .contact-item {
    justify-content: flex-start !important;
    width: 100%;
  }

  .contactlink {
    font-size: 14px !important;
  }

  /* Social icons right */
  .social-icons {
    justify-content: flex-start !important;
    width: 100%;
    gap: 10px;
  }

  .social-icons i {
    font-size: 18px !important;
  }
}







:root {
    --primary-red: #A50102;
    --dark-red: #A50102;
    --accent-gold: #ffc107;
    --dark-gold: #e0a800;
    --white: #ffffff;
    --light-gray: #f8f9fa;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light-gray);
    overflow-x: hidden;
}

/* Utilities */
.text-red { color: var(--primary-red) !important; }
.text-gold { color: var(--accent-gold) !important; }
.bg-red { background-color: var(--primary-red) !important; }
.bg-gold { background-color: var(--accent-gold) !important; }

.btn-gradient-red {
    background: linear-gradient(45deg, var(--primary-red), var(--dark-red));
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.btn-gradient-red:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
    color: white;
}

.btn-gold {
    background: #FFD001;
    color: #000;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    /* background: var(--dark-gold); */
    transform: translateY(-2px);
}

.logo-banner {
    background: var(--accent-gold);
    color: var(--primary-red);
    font-weight: 700;
    padding: 10px 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 100;
}

/* Default (Large screens) */
.logo-icon {
    font-size: 1.5rem; /* fs-4 equivalent */
    margin-right: 8px;
}

/* Medium screens */
@media (max-width: 991px) {
    .logo-icon {
        font-size: 1.3rem;
        margin-right: 0;
        margin-bottom: 6px;
    }

    .logo-text {
        font-size: 1rem;
    }
}

/* Small screens */
@media (max-width: 576px) {
    .logo-icon {
        font-size: 1.1rem;
    }

    .logo-text {
        font-size: 0.9rem;
        line-height: 1.3;
    }
}

/* ================================
   STICKY HEADER – SAFE VERSION
   (Keeps existing colors)
================================ */


.top-header {
  position: sticky;
  top: 0;
  z-index: 9999;
}

.top-header {
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
}


/* ======================================
   LOGO BANNER – SCALLOPED EDGE STYLE
====================================== */

.logo-banner {
    position: relative;
    overflow: hidden; /* ensures clean edges */
}

/* Left & Right scallops */
.logo-banner::before,
.logo-banner::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 26px;
    height: 26px;
    background: #ffffff; /* page background color */
    border-radius: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

/* Left scallop */
.logo-banner::before {
    left: -13px;
}

/* Right scallop */
.logo-banner::after {
    right: -13px;
}
@media (max-width: 576px) {
    .logo-banner::before,
    .logo-banner::after {
        border-width: 18px;
    }
}

/* 2. Hero Section */
.hero-section {
    background: linear-gradient(135deg, #c20f0f, #A50102), url('https://source.unsplash.com/random/1920x1080/?school') center/cover;
    min-height: 80vh;
    color: white;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 80px 0;
}

/* Floating Shapes Animation */
.shape {
    position: absolute;
    background: rgba(255, 193, 7, 0.15);
    border-radius: 50%;
    animation: float 6s infinite ease-in-out;
}

.shape-1 { width: 300px; height: 300px; top: -100px; right: -50px; }
.shape-2 { width: 200px; height: 200px; bottom: 50px; left: -50px; animation-delay: 2s; }
.shape-3 { width: 100px; height: 100px; top: 30%; right: 20%; animation-delay: 4s; }

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* 3. Registration Form */
.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    padding: 2rem;
    height: 100%;
}

.form-control, .form-select {
    border-radius: 10px;
    padding: 12px;
    border: 1px solid #ddd;
    margin-bottom: 1rem;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}
/* ===============================
   FORCE SAME BG COLOR ALWAYS
================================ */

/* Normal state */
.form-control,
.form-select {
    background-color: #ffffff !important;
    color: #212529;
}

/* On focus */
.form-control:focus,
.form-select:focus {
    background-color: #ffffff !important;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* After value entered (not focused) */
.form-control:not(:placeholder-shown),
.form-select:not([value=""]) {
    background-color: #ffffff !important;
}

/* Disable browser autofill color (VERY IMPORTANT) */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px #ffffff inset !important;
    box-shadow: 0 0 0px 1000px #ffffff inset !important;
    -webkit-text-fill-color: #212529 !important;
}

/* ======================================
   HERO TEXT – FONT SIZE ONLY
====================================== */

/* Default (Desktop) */
.hero-content h1 {
    font-size: 3rem;
}

.hero-content h4 {
    font-size: 1.5rem;
}

.hero-content p {
    font-size: 1.05rem;
}

/* Tablet */
@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 2.4rem;
    }

    .hero-content h4 {
        font-size: 1.3rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
}
/* ======================================
   FORM – FONT SIZE ONLY
====================================== */

/* Desktop */
.glass-card h3 {
    font-size: 1.4rem;
}

.glass-card small {
    font-size: 0.95rem;
}

.form-control,
.form-select {
    font-size: 0.95rem;
}

.form-check-label {
    font-size: 0.8rem;
}

/* Tablet */
@media (max-width: 991px) {
    .glass-card h3 {
        font-size: 1.25rem;
    }

    .form-control,
    .form-select {
        font-size: 0.9rem;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .glass-card h3 {
        font-size: 1.15rem;
    }

    .glass-card small {
        font-size: 0.85rem;
    }

    .form-control,
    .form-select {
        font-size: 0.85rem;
    }

    .form-check-label {
        font-size: 0.75rem;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 1.9rem;
    }

    .hero-content h4 {
        font-size: 1.1rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }
}

/* start */


/* =====================================================
   HERO FIX — NO CONTAINER (991px–1200px ONLY)
===================================================== */
@media (min-width: 991px) and (max-width: 1200px) {

  /* REMOVE BOOTSTRAP CONTAINER EFFECT */
  .hero-section .container {
    max-width: 100% !important;
    padding-left: 60px;
    padding-right: 60px;
  }

  /* FORCE FLEX LAYOUT */
  .hero-section .row {
    display: flex;
    align-items: center;
  }

  /* LEFT CONTENT — REDUCED */
  .hero-section .hero-content {
    flex: 0 0 58%;
    max-width: 58%;
    padding-right: 40px;
  }

  .hero-content h1 {
    font-size: 2.2rem;      /* ↓ reduced */
    line-height: 1.25;
  }

  .hero-content h4 {
    font-size: 1rem;
  }

  .hero-content p.lead {
    font-size: 0.95rem;
    max-width: 95%;
  }

  /* RIGHT COLUMN — REMOVE OFFSET */
  .hero-section .col-lg-4.offset-lg-1 {
    flex: 0 0 42%;
    max-width: 42%;
    margin-left: 0 !important;
    display: flex;
    justify-content: flex-end;
  }

  /* FORM — GOOD COMPACT SIZE */
  .glass-card {
    width: 100%;
    max-width: 340px;       /* 🔥 KEY */
    padding: 20px 20px;     /* 🔥 reduce height */
    border-radius: 18px;
  }

  .glass-card h3 {
    font-size: 1.1rem;
    margin-bottom: 14px;
  }

  /* INPUTS — NOT TALL */
  .glass-card input,
  .glass-card select {
    min-height: 10px;
    padding: 6px 6px;
    font-size: 0.85rem;
  }

  /* BUTTON */
  .glass-card button {
    height: 44px;
    font-size: 0.9rem;
    border-radius: 999px;
  }
}




/* end */


/* Hero subheading */
.hero-subheading {
  color: #ffffff;          /* white text */
  font-size: 1.35rem;
  line-height: 1.45;
  font-weight: 500;
}

/* Yellow highlighted text */
.highlight-yellow-text {
  color: #FEFE2C;          /* strong yellow */
  font-weight: 700;
}

/* Responsive tuning */
@media (max-width: 991px) {
  .hero-subheading {
    font-size: 1.2rem;
  }
}

@media (max-width: 576px) {
  .hero-subheading {
    font-size: 1.05rem;
  }
}

/* 4. Feature Cards */
.feature-card {
    background: linear-gradient(180deg, #ffffff, #f1de9d);
    border: 1px solid #f2c94c;
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, #d32f2f, #f4c430);
    opacity: 0;
    transition: 0.35s;
    z-index: 0;
}

.feature-card:hover::before {
    opacity: 0.06;
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 18px 35px rgba(211,47,47,0.18);
}

.feature-icon {
    font-size: 2.5rem;
    color: #C00E0E;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.feature-card h5,
.feature-card p {
    position: relative;
    z-index: 1;
}
/* ======================================
   WHY ACHARIYA – FONT SIZE ONLY
====================================== */

/* ---------- DESKTOP (default) ---------- */

/* Section heading */
section h2.display-5 {
    font-size: 2.5rem;
}

section h4 {
    font-size: 1.35rem;
}

section p.lead {
    font-size: 1.05rem;
}

/* Feature cards */
.feature-card h5 {
    font-size: 1.1rem;
}

.feature-card p {
    font-size: 0.95rem;
}

/* Icon size */
.feature-icon {
    font-size: 2.5rem;
}


/* ======================================
   TABLET (≤ 991px)
====================================== */
@media (max-width: 991px) {

    section h2.display-5 {
        font-size: 2.1rem;
    }

    section h4 {
        font-size: 1.2rem;
    }

    section p.lead {
        font-size: 1rem;
    }

    .feature-card h5 {
        font-size: 1.05rem;
    }

    .feature-card p {
        font-size: 0.9rem;
    }

    .feature-icon {
        font-size: 2.2rem;
    }
}


/* ======================================
   MOBILE (≤ 576px)
====================================== */
@media (max-width: 576px) {

    section h2.display-5 {
        font-size: 1.8rem;
    }

    section h4 {
        font-size: 1.05rem;
    }

    section p.lead {
        font-size: 0.95rem;
    }

    .feature-card h5 {
        font-size: 1rem;
    }

    .feature-card p {
        font-size: 0.85rem;
    }

    .feature-icon {
        font-size: 2rem;
    }
}

/* ================================
   SECTION
================================ */
.why-achariya-poster {
  width: 100%;
  background: linear-gradient(180deg, #FFD200, #FFC107);
  padding: 70px 20px;
}

/* ================================
   TITLE
================================ */
.why-title-wrap {
  text-align: center;
  margin-bottom: 50px;
}

.why-title-wrap h2 {
  display: inline-block;
  background: #BF0D0E;
  color: #fff;
  padding: 14px 36px;
  border-radius: 40px;
  font-weight: 900;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

.subtitle {
  margin-top: 18px;
  font-weight: 600;
}

.desc {
  max-width: 800px;
  margin: 10px auto 0;
  color: #333;
  opacity: 0.85;
}

/* ================================
   GRID (MOBILE FIRST)
================================ */
.why-points-row {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr;   /* 1 column by default */
  gap: 20px;
}

/* ================================
   DESKTOP → 2 COLUMNS × 3 ROWS
================================ */
@media (min-width: 1024px) {
  .why-points-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ================================
   CARD
================================ */
.why-point {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  border-radius: 18px;
  color: #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-point:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 35px rgba(0,0,0,0.3);
}

/* ================================
   IMAGE
================================ */
/* ================================
   IMAGE PERFECT CENTER (NO SIZE CHANGE)
================================ */
.why-point img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #fff;

  object-fit: cover;
  object-position: center;

  padding: 4px;           /* 🔥 controls image size inside */
  box-sizing: border-box; /* keeps circle size SAME */

  flex-shrink: 0;
}

/* ================================
   TEXT
================================ */
.point-text strong {
  font-size: 1rem;
  display: block;
}

.point-text span {
  font-size: 0.8rem;
  opacity: 0.95;
}

/* ================================
   COLORS
================================ */
.purple { background: #8E248C; }
.green  { background: #1E8F2A; }
.orange { background: #F57C00; }
.violet { background: #6A1B9A; }
.blue   { background: #0D47A1; }
.brown  { background: #6D3B00; }





/* ===============================
   GALLERY SECTION
================================ */
.gallery-section {
  padding: 70px 15px;
  background: #f8f9fa;
}

/* CENTERED CONTAINER */
.gallery-container {
  max-width: 1200px;     /* controls width on large screens */
  margin: auto;
}

/* TITLE */
.gallery-title {
  display: inline-block;
  background: #BF0D0E;
  color: #fff;
  padding: 12px 36px;
  border-radius: 40px;
  font-weight: 800;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.gallery-subtitle {
  margin-top: 12px;
  color: #555;
  font-size: 0.95rem;
}

/* ===============================
   VIDEO BOX
================================ */

.video-box {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
  aspect-ratio: 16 / 9;
  background: #000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
}

/* THUMBNAIL */
.video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* PLAY ICON */
.play-icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 60px;
  color: #FFD200;
  text-shadow: 0 6px 20px rgba(0,0,0,0.6);
}

/* MOBILE OPTIMIZATION */
@media (max-width: 576px) {
  .gallery-section {
    padding: 50px 10px;
  }

  .play-icon {
    font-size: 46px;
  }
}

/* ===============================
   MOBILE TEXT-ONLY FIX (FORCED)
================================ */

/* Default (desktop / tablet) */
.gallery-title .highlight-text {
  background: linear-gradient(135deg, #FFD200, #FFC107);
  color: #BF0D0E;
  padding: 4px 16px;
  border-radius: 20px;
  font-weight: 900;
  display: inline-block;
}

/* Mobile: text only */
@media (max-width: 767px) {
  .gallery-title .highlight-text {
    background: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    color: #FFD200 !important;   /* yellow text */
  }
}

/* ===============================
   SMALL SCREEN TITLE FIX
================================ */
@media (max-width: 576px) {
  .gallery-title {
    font-size: 1.2rem;   /* reduces "of ACHARIYA" */
    line-height: 1.3;
  }

  .highlight-text {
    font-size: 1.35rem;  /* keeps Young Voices dominant */
    padding: 3px 7px;
    border-radius: 16px;
  }
}
/* ===============================
   EXTRA GAP BELOW TITLE (SMALL SCREENS)
================================ */
@media (max-width: 400px) {
  .sec-title {
    margin-bottom: 38px !important; /* adds space below ACHARIYA */
  }
}
@media (max-width: 400px) {
  .highlight-badge {
    margin-bottom: 14px;
  }
}

/* ===============================
   VIDEO LABEL (ABOVE VIDEO)
================================ */
.video-label {
  text-align: center;
  margin-bottom: 12px;

  display: inline-block;
  padding: 8px 22px;

  background: linear-gradient(135deg, #BF0D0E, #8E0000);
  color: #fff;

  font-size: 0.9rem;
  font-weight: 800;
  border-radius: 30px;

  letter-spacing: 0.4px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.25);
}

.video-label {
  display: block;              /* make it a block */
  width: fit-content;          /* shrink to text width */
  margin: 0 auto 12px;         /* CENTER the whole badge */

  padding: 8px 22px;
  text-align: center;

  background: linear-gradient(135deg, #BF0D0E, #8E0000);
  color: #fff;

  font-size: 0.9rem;
  font-weight: 800;
  border-radius: 30px;

  letter-spacing: 0.4px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.25);
}
/* ===============================
   PULSE GLOW ANIMATION
================================ */
@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(191, 13, 14, 0.8);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(191, 13, 14, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(191, 13, 14, 0);
  }
}

.video-label {
  animation: pulseGlow 3s infinite;
}
.video-label:hover {
  animation-play-state: paused;
}

/* 5. Trust Section */
.trust-section {
    background: white;
    position: relative;
}

.trust-quote {
    border-left: 5px solid var(--accent-gold);
    padding-left: 20px;
    font-style: italic;
}

/* 6. Admissions */
.admissions-section {
    background: #fdf5f5;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 5px solid white;
}
/* Default (desktop & mobile) */
.academic-badge {
    font-size: 0.9rem;
    font-weight: 600;
}

/* MID SCREENS (tablets / small laptops) */
@media (min-width: 768px) and (max-width: 1199px) {
    .academic-badge {
        font-size: 1.2rem; /* 🔥 increased size */
        padding: 10px 18px;
    }
}
.academic-badge {
    letter-spacing: 0.5px;
    border-radius: 20px;
}
.custom-red {
    color: #BF0D0E;
    letter-spacing: 1px;
}

/* 7. Footer */
.footer {
    background: #1C1C1C;
    color: white;
    padding: 4rem 0 2rem;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-btn:hover {
    background: var(--primary-red);
    color: white;
    transform: translateY(-3px);
}

/* Sticky Register Badge for Mobile */
@media (max-width: 768px) {
    .hero-section {
        padding: 40px 0;
        text-align: center;
    }
    .hero-content {
        margin-bottom: 3rem;
    }
}


.highlight-yellow {
    color: #FEFE2C; /* rich golden yellow */
    font-weight: 700;
}



/* young voice of achariya  */

.video-box {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    overflow: hidden;
    background: #000;
    cursor: pointer;
}

/* Thumbnail */
.video-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* Play button */
.play-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    width: 70px;
    height: 70px;
    margin: auto;
    background: rgba(255,255,255,0.95);
    color: #BF0D0E;
    border-radius: 50%;
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
    transition: 0.3s;
}

/* Hover */


.video-box:hover .video-thumb {
    transform: scale(1.06);
}

.video-box:hover .play-icon {
    background: #BF0D0E;
    color: #fff;
}

/* Mobile */
@media (max-width: 576px) {
    .play-icon {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }
}


/* =====================================================
   EXPERIENCE SECTION – FINAL PRO VERSION
===================================================== */

.experience-section {
  background:
    url("images/img-3.webp"),
    linear-gradient(135deg, #6a1dad, #6a1b9a);

  background-repeat: repeat;
  background-size: 320px 320px;
  background-position: center;
  background-blend-mode: overlay;

  color: #ffffff;
  font-family: "Poppins", sans-serif;
  padding: 80px 0;
}

/* TITLE */
.experience-title {
  font-size: 2.6rem;
  font-weight: 700;
}

.experience-highlight {
  color: #FFD100;
  font-weight: 800;
}

.experience-subtitle {
  font-size: 1rem;
  opacity: 0.9;
  margin-top: 8px;
}

/* COUNTER BOX */
.counter-box {
  background: rgba(255, 255, 255, 0.12);
  padding: 32px 22px;
  border-radius: 20px;
  height: 100%;
  text-align: center;
  transition: all 0.35s ease;
  backdrop-filter: blur(6px);
}

/* SHARED HOVER EFFECT */
.counter-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.35);
}

/* NUMBERS */
.counter-box h3 {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 6px;
  transition: color 0.3s ease;
}

/* LABEL */
.counter-box p {
  font-size: 0.95rem;
  font-weight: 500;
  margin: 0;
  opacity: 0.95;
}

/* TEXT COLOR ON HOVER */
.counter-box:hover h3,
.counter-box:hover p {
  color: #ffffff;
}
/* FORCE ICON COLOR INSIDE HIGHLIGHT BOX */
.counter-box.highlight .counter-icon i {
  color: #FFD001 !important; /* yellow */
}


/* ================================
   ICON COLORS – MATCHED TO HOVER
================================ */

/* 1️⃣ JIPMER – Blue */
.row > div:nth-child(1) .counter-icon i {
  color: #4ea3ee; /* rich blue */
}

/* 2️⃣ IIT – Green */
.row > div:nth-child(2) .counter-icon i {
  color: #2aad30; /* deep green */
}

/* 3️⃣ NIT – Orange */
.row > div:nth-child(3) .counter-icon i {
  color: #f57c00; /* warm orange */
}

/* 4️⃣ CA – Red */
.row > div:nth-child(4) .counter-icon i {
  color: #ec4040; /* strong red */
}

/* 5️⃣ BITS – Purple */
.row > div:nth-child(5) .counter-icon i {
  color: #8e24aa; /* elegant purple */
}
@media (hover: hover) {
  .counter-box:hover .counter-icon i {
    color: #ffffff;
    transform: scale(1.15);
  }
}

/* =====================================================
   RESPONSIVE BREAKPOINTS
===================================================== */

/* Tablets */
@media (max-width: 992px) {
  .experience-title {
    font-size: 2.2rem;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .experience-section {
    padding: 60px 15px;
  }

  .experience-title {
    font-size: 1.8rem;
  }

  .counter-box h3 {
    font-size: 2.1rem;
  }

  .counter-box {
    padding: 26px 18px;
  }
}

/* COUNTER ICON */
.counter-icon {
  font-size: 2.2rem;
  color: #FFD001;           /* yellow icon */
  margin-bottom: 10px;
}

/* Highlighted box icon color */
.counter-box.highlight .counter-icon {
  color: #fff;
}

/* Optional hover effect */
@media (hover: hover) {
  .counter-box:hover .counter-icon {
    transform: scale(1.1);
  }
}

.counter-icon i {
  transition: transform 0.3s ease;
}


.counter-box {
  position: relative; /* REQUIRED for ::before */
}

.counter-box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  border: 2px solid rgb(243, 223, 113); /* gold accent */
  pointer-events: none;
}

/* ================================
   BEST START SECTION – FINAL
================================ */



.best-start-title {
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 800;
  color: #000;
}

.best-start-highlight {
      color: #FFD201;


}
.best-start-highlightyellow {
    color: #B10708;

}
/* -------------------------------
   SUBTITLE
-------------------------------- */

.best-start-subtitle {
  max-width: 700px;
  margin: 0 auto;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.65;
  color: #333;
}

/* -------------------------------
   CARD
-------------------------------- */

.best-start-card {
  background: #B10708;
  border-radius: 26px;
  padding: clamp(24px, 4vw, 45px);
  color: #fff;
}


/* ================================
   IMAGE WRAPPER – CONTROLS HEIGHT
================================ */

/* Image wrapper */
.best-start-image-wrap {
  width: 100%;
  max-width: 720px;
  height: 360px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  transition: box-shadow 0.4s ease;
}

/* Image */
.best-start-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}


/* Hover (desktop only) */
@media (hover: hover) {
  .best-start-image-wrap:hover {
    box-shadow:
      0 30px 80px rgba(255, 215, 0, 0.55),   /* BIG GOLD GLOW */
      0 0 0 4px rgba(255, 208, 1, 0.65);    /* STRONG OUTLINE */
  }

  .best-start-image-wrap:hover .best-start-image {
    transform: scale(1.07);
  }
}

/* ================================
   IMAGE
================================ */

.best-start-image {
  width: 100%;
  height: 100%;               /* 🔥 fill wrapper height */
  object-fit: cover;          /* 🔥 prevents stretching */
  border-radius: 20px;
  box-shadow: 0 14px 38px rgba(0,0,0,0.35);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Hover (desktop only) */
@media (hover: hover) {
  .best-start-image:hover {
    transform: scale(1.06);
    box-shadow:
      0 20px 55px rgba(209, 231, 7, 0.35),
      0 0 0 3px rgba(230, 188, 4, 0.4);
  }
}

/* -------------------------------
   CARD TEXT
-------------------------------- */

.best-start-card-title {
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  font-weight: 800;
  color: #FFD001;
}

.best-start-card-text {
  max-width: 480px;
  font-size: clamp(0.95rem, 1vw, 1rem);
  line-height: 1.65;
}

/* -------------------------------
   BUTTON
-------------------------------- */

.best-start-btn {
  display: inline-block;
  background: #FFD001;
  color: #000;
  font-weight: 600;
  padding: 12px 34px;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s ease;
}

.best-start-btn:hover {
  background: #ffea4d;
  transform: translateY(-2px);
}

/* -------------------------------
   STACKED LAYOUT FIX (TABLET & MOBILE)
-------------------------------- */

@media (max-width: 991px) {
  .best-start-card-text,
  .best-start-card-title {
    max-width: 100%;
    text-align: center;
  }
}

/* CENTER CONTENT INSIDE CARD */
.best-start-card .col-lg-7 {
  display: flex;
  flex-direction: column;
  align-items: center;   /* horizontal centering */
  justify-content: center;
}


/* Hover (desktop only) */
@media (hover: hover) {
  .best-start-image:hover {
    transform: scale(1.06);
    box-shadow:
      0 20px 55px rgba(209, 231, 7, 0.35),
      0 0 0 3px rgba(230, 188, 4, 0.4);
  }
}

.best-start-image {
  transition: transform 0.4s ease, box-shadow 0.4s ease;

}



/* RED for "Frequently" */
.faq-frequently {
  color: #B10708;   /* red */
  font-weight: 800;
}

/* YELLOW for "Questions" */
.faq-question-highlight {
  color: #FFD001;   /* yellow */
  font-weight: 800;
}


/* ================================
   ICON BASED FAQ
================================ */

.icon-faq-section {
  background: #ffffff;
  font-family: "Poppins", sans-serif;
}

/* TITLE */
.icon-faq-title {
  font-size: 2.4rem;
  font-weight: 800;
}

.icon-faq-title span {
  color: #B10708;
}

.icon-faq-subtitle {
  max-width: 720px;
  margin: 12px auto 0;
  font-size: 1rem;
  color: #444;
}

/* WRAPPER */
.icon-faq-wrapper {
  max-width: 900px;
  margin: auto;
}

/* ITEM */
.icon-faq-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 16px;
  background: #fff;
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 18px;
  border: 1px solid #eee;
  box-shadow: 0 10px 28px rgba(0,0,0,0.06);
  transition: 0.3s ease;
}

.icon-faq-item:hover {
  transform: translateY(-2px);
}

/* ICON */
.icon-box {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(177, 7, 8, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

/* QUESTION */
.icon-faq-question {
  width: 100%;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* TOGGLE ICON */
.toggle-icon {
  font-size: 1.4rem;
  color: #B10708;
}

/* ANSWER */
.icon-faq-answer {
  grid-column: 2 / -1;
  max-height: 0;
  overflow: hidden;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

/* ACTIVE */
.icon-faq-item.active {
  border-color: #B10708;
  box-shadow: 0 14px 36px rgba(177,7,8,0.15);
}

.icon-faq-item.active .icon-faq-answer {
  max-height: 300px;
  padding-top: 10px;
}

/* MOBILE */
@media (max-width: 576px) {
  .icon-faq-item {
    grid-template-columns: 48px 1fr;
    padding: 16px;
  }

  .icon-faq-title {
    font-size: 1.9rem;
  }
}


/* MODERN FAQ TITLE */
.modern-title {
  font-size: 2.4rem;
  font-weight: 800;
  position: relative;
  display: inline-block;
}


/* FORCE FAQ BADGE STYLE */
.icon-faq-title .title-badge {
  background-color: #B10708 !important;
  color: #ffffff !important;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: inline-block;
  vertical-align: middle;
}

/* UNDERLINE */
.modern-title::after {
  content: "";
  display: block;
  width: 90px;
  height: 4px;
  background: linear-gradient(65deg, #B10708, #FFD001);
  margin: 12px auto 0;
  border-radius: 10px;
}

/* MOBILE */
@media (max-width: 576px) {
  .modern-title {
    font-size: 1.9rem;
  }
}


/* ================================
   MODERN SCHOOL HERO SECTION
================================ */

.school-hero-section {
  background: #ffffff;
  font-family: "Poppins", sans-serif;
  overflow: hidden;
}

/* ================================
   MAIN CENTER HEADING
================================ */

.hero-main-heading {
  max-width: 900px;
  margin: 0 auto;
}

.hero-main-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: #000;
}

.hero-red {
  color: #B10708;
}

/* ================================
   LEFT CONTENT
================================ */

.hero-eyebrow {
  font-size: 0.95rem;
  font-weight: 600;
  color: #f5a400;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.2;
  color: #000;
}

.hero-highlight {
  color: #000;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.6;
}

/* ================================
   POINTS LIST
================================ */

.hero-points {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-points li {
  display: flex;
  gap: 10px;
  font-size: 1rem;
  color: #333;
  margin-bottom: 14px;
  line-height: 1.6;
}

/* CHECK ICON */
.check-dot {
  width: 22px;
  height: 22px;
  background: #B10708;
  color: #fff;
  border-radius: 50%;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ================================
   BUTTON
================================ */

.hero-btn {
display: inline-flex;
  background: #B10708;
  color: #fff;
  padding: 14px 36px;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero-btn:hover {
  background: #B10708;
  transform: translateY(-2px);
}

/* ================================
   IMAGE
================================ */

.hero-image {
  width: 100%;
  max-width: 520px;
  border-radius: 22px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.35);
  transition: transform 0.4s ease;
}

@media (hover: hover) {
  .hero-image:hover {
    transform: scale(1.03);
  }
}

/* ================================
   RESPONSIVE
================================ */

/* Tablets */
@media (max-width: 992px) {

  .hero-main-title {
    font-size: 2.2rem;
  }

  .hero-title {
    font-size: 1.9rem;
  }
}

/* Mobile */
@media (max-width: 576px) {

  .hero-main-title {
    font-size: 1.9rem;
  }

  .hero-title {
    font-size: 1.6rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-btn {
    padding: 12px 28px;
  }
}
/* GOLD UNDERLINE UNDER MAIN HEADING */
.hero-main-title {
  position: relative;
  display: inline-block; /* keeps underline centered to text */
}

/* underline */
.hero-main-title::after {
  content: "";
  display: block;
  width: 120px;
  height: 4px;
  margin: 14px auto 0;
  background: linear-gradient(90deg, #B10708, #FFD001);
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(255, 208, 1, 0.45);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-main-title::after {
    width: 90px;
    height: 3px;
    margin-top: 12px;
  }
}

@media (max-width: 576px) {
  .hero-main-title::after {
    width: 70px;
  }
}

/* ===== FAQ HEADING COLOR FIX (FINAL) ===== */

/* Frequently → RED */
.icon-faq-title .faq-frequently {
  color: #B10708;
  font-weight: 800;
}

/* Questions → YELLOW (FORCED) */
.icon-faq-title .faq-question-highlight {
  color: #FFD201 !important;
  font-weight: 800;
}


/* POPUP OVERLAY */
.redirect-popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* POPUP BOX */
.redirect-box {
  background: #ffffff;
  padding: 30px 36px;
  border-radius: 18px;
  text-align: center;
  max-width: 380px;
  width: 90%;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  animation: popupFade 0.3s ease;
}

.redirect-box h3 {
  font-weight: 700;
  margin-bottom: 10px;
}

.redirect-box p {
  font-size: 0.95rem;
  color: #333;
  margin-bottom: 16px;
}

/* LINK */
.redirect-link {
  color: #B10708;
  font-weight: 600;
  text-decoration: none;
}

.redirect-link:hover {
  text-decoration: underline;
}

/* ANIMATION */
@keyframes popupFade {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* ================================
   YELLOW CTA BUTTON
================================ */

.btn-yellow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  background: #FFD001;          /* yellow */
  color: #000;                  /* black text */
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 40px;
  text-decoration: none;
  letter-spacing: 0.4px;

  transition: all 0.3s ease;
}

/* Icon spacing safety */
.btn-yellow i {
  font-size: 0.95rem;
}
.btn-yellow:hover {
    /* background: var(--dark-gold); */
    transform: translateY(-2px);
}


.cta-buttons {
  display: flex;
  gap: 18px;          /* ✅ SPACE BETWEEN BUTTONS */
  justify-content: center;
  flex-wrap: wrap;
     /* mobile friendly */


}



/* ===============================
   VIDEO SECTION BG
================================ */
.video-section {
  background: #f8f8f8;
  padding: 60px 0;
}

/* ===============================
   YOUTUBE VIDEO BOX (SAFE)
================================ */
.yt-video-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  background: #000;
}

/* Thumbnail & iframe SAME SIZE */
.yt-video-thumb,
.yt-video-box iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: none;
}


/* ===============================
   UNICODE PLAY ICON (SAFE)
================================ */

.yt-play-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 32px;
  font-weight: bold;

  background: #b10708;
  color: #ffffff;

  width: 64px;
  height: 64px;
  margin: auto;

  border-radius: 50%;
  transition: all 0.3s ease;
}

/* Hover effect */
.yt-video-box:hover .yt-play-icon {
  background: #ffffff;
  color: #b10708;
}





/* ===============================
   TESTIMONIAL HEADER – REFINED
================================ */

.video-section .testimonial-heading {
  position: relative;
  background: #b10708;
  padding: 22px 18px;

  max-width: 520px;        /* 🔥 reduce width */
  margin: 0 auto 30px;    /* center + space below */

  border-radius: 14px;
  overflow: hidden;
}

/* Corner circles (smaller & subtle) */
.video-section .testimonial-heading::before,
.video-section .testimonial-heading::after {
  content: "";
  position: absolute;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  opacity: 0.18;
  z-index: 0;
}

.video-section .testimonial-heading::before {
  background: #FFFFFF;
  top: -22px;
  left: -22px;
}

.video-section .testimonial-heading::after {
  background: #ffd201;
  bottom: -22px;
  right: -22px;
}

/* Title */
.video-section .testimonial-title {
  position: relative;
  z-index: 1;

  font-weight: 800;
  font-size: 1.75rem;     /* 🔽 slightly reduced */
  letter-spacing: 0.4px;
  margin: 0;
}

/* Text colors */
.video-section .tri-white {
  color: #ffffff;
}

.video-section .tri-yellow {
  color: #ffd201;
}

/* ❌ REMOVE underline completely */
.video-section .testimonial-title::after {
  display: none;
}

/* Mobile */
@media (max-width: 576px) {
  .video-section .testimonial-heading {
    max-width: 92%;
    padding: 18px 14px;
  }

  .video-section .testimonial-title {
    font-size: 1.45rem;
  }
}
/* =====================================================
   CENTER 3RD VIDEO ON TABLET (ALL SLIDES)
===================================================== */
@media (min-width: 768px) and (max-width: 991px) {

  /* Center row content */
  .video-section .carousel-item .row {
    justify-content: center;
  }

  /* Target ONLY the 3rd video column */
  .video-section .carousel-item .col-md-6:nth-child(3) {
    margin-left: auto;
    margin-right: auto;
  }
}

/* FORCE BOOTSTRAP INDICATORS INTO CIRCLES */

.carousel-indicators {
  position: static;
  margin-top: 16px;
  gap: 10px;
}

.carousel-indicators [data-bs-target] {
  width: 10px !important;
  height: 10px !important;
  padding: 0 !important;
  margin: 0 !important;

  background-color: #d6d6d6 !important; /* light grey */
  border-radius: 50% !important;

  border: none !important;
  opacity: 1 !important;

  flex: 0 0 auto !important;
}

.carousel-indicators .active {
  background-color: #C20F0F !important; /* dark active dot */
}
.carousel-indicators [data-bs-target] {
  width: 30px;
  height: 3px;
}




/* faq icon */

.icon-box {
  width: 48px;
  height: 48px;
  background: #fff3e0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-box img {
  width: 26px;
  height: 26px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

/* Hover animation */
.icon-faq-item:hover .icon-box img {
  transform: scale(1.15);
  filter: drop-shadow(0 0 6px rgba(177,7,8,0.5));
}


















.why-achariya-poster {
  position: relative;
  padding-top: 20px; /* space for image */
  
}

/* Top decorative image */
.why-top-img {
  display: block;
  margin: 0 auto 30px; /* center + spacing */
  width: clamp(160px, 30vw, 320px);
  max-width: 100%;
  height: auto;
}
@media (max-width: 576px) {
  .why-achariya-poster {
    padding-top: 10px;
  }

  .why-top-img {
    margin-bottom: 10px;
  }
}



.form-label {
    color: #C20F0F !important;
}
