/* ====================================
   Global Styles & CSS Variables
   ==================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #0066cc;
  --secondary-color: #00a3e0;
  --accent-color: #ff6b35;
  --dark-color: #1a1a2e;
  --light-color: #f8f9fa;
  --success-color: #28a745;
  --text-dark: #2c3e50;
  --text-light: #6c757d;
  --white: #ffffff;
  --gradient-primary: linear-gradient(135deg, #0066cc 0%, #00a3e0 100%);
  --gradient-secondary: linear-gradient(135deg, #ff6b35 0%, #ff8c61 100%);
  --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
  --transition-base: all 0.3s ease;
}

/* ====================================
   FIX: Prevent Horizontal Overflow on Mobile
   ==================================== */
html, body {
    max-width: 100%;
    overflow-x: hidden;
    width: 100%;
}

/* Ensure all containers don't exceed viewport */
.container, .container-fluid {
    max-width: 100%;
    overflow-x: hidden;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  transition: var(--transition-base);
}

img {
  max-width: 100%;
  height: auto;
}

.section-label {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark-color);
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.125rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
}

/* ====================================
   Header & Navigation
   ==================================== */

.header-section {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
}

.navbar {
  padding: 1rem 0;
}

.navbar-brand .logo {
  height: 50px;
  transition: var(--transition-base);
}

.navbar-brand:hover .logo {
  transform: scale(1.05);
}

.navbar-nav .nav-link {
  color: var(--text-dark);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: var(--transition-base);
  position: relative;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color);
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition-base);
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
  width: 60%;
}

.btn-apply {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 0.625rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  border: none;
  transition: var(--transition-base);
}

.btn-apply:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--white);
}

/* ====================================
   HERO SECTION - UNIQUE DESIGN
   ==================================== */

.hero-section {
  position: relative;
  min-height: 100vh;
  background: rgba(255, 255, 255, 0.178);
  overflow: hidden;
  color: white;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("/img/banners.jpg")
    center/cover;
  opacity: 0.15;
  z-index: 0;
}

.hero-overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 30% 50%,
      rgba(255, 215, 0, 0.2),
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(255, 107, 53, 0.15),
      transparent 50%
    );
  z-index: 1;
}

.floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.shape {
  position: absolute;
  background: rgba(255, 215, 0, 0.1);
  border-radius: 50%;
  backdrop-filter: blur(10px);
  animation: float 8s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-30px) rotate(10deg);
  }
}

.hero-content {
  position: relative;
  z-index: 3;
}

.hero-title {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1rem;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.gradient-text {
  background: linear-gradient(90deg, #ffd700, #ffa500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.4rem;
  opacity: 0.95;
  margin-bottom: 1.5rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.badge-pill {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: white;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-apply-now {
  background: linear-gradient(135deg, #ff6b35, #ff8c61);
  color: white;
  padding: 1rem 2.5rem;
  font-weight: 700;
  border-radius: 50px;
  border: none;
  font-size: 1.1rem;
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
  transition: all 0.4s ease;
}

.btn-apply-now:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(255, 107, 53, 0.4);
}

/* Hero Form */
#heroFormWrapper {
  transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 4;
}

.hero-form-card {
  background: white;
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  max-width: 400px;
  margin-left: auto;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.form-scroll-container {
  flex: 1;
  overflow-y: auto;
  padding-right: 10px;
  margin-right: -10px;
  max-height: 65vh;
}

/* Custom Scrollbar */
.form-scroll-container::-webkit-scrollbar {
  width: 7px;
}
.form-scroll-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}
.form-scroll-container::-webkit-scrollbar-thumb {
  background: #ff6b35;
  border-radius: 10px;
}
.form-scroll-container::-webkit-scrollbar-thumb:hover {
  background: #e55a2b;
}

.form-header h3 {
  color: var(--primary-color);
  font-weight: 700;
}

.enquiry-form .form-control,
.enquiry-form .form-select {
  border: 2px solid #e0e6ff;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background-color: #fafbff;
}

.enquiry-form .form-control:focus,
.enquiry-form .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.15);
  background-color: white;
  transform: scale(1.02);
}

.enquiry-form .input-group-text {
  background: #f0f4ff;
  border: 2px solid #e0e6ff;
  border-right: none;
  border-radius: 12px 0 0 12px;
  font-weight: 600;
  color: var(--primary-color);
}

.enquiry-form .form-check-input {
  border-color: var(--primary-color);
}

.enquiry-form .form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.enquiry-form .form-check-label {
  font-size: 0.8rem;
  color: #ffffff;
}

.captcha-img {
  height: 40px;
  border-radius: 8px;
}

.btn-submit {
  background: var(--gradient-primary);
  color: white;
  padding: 0.875rem;
  border-radius: 12px;
  font-weight: 600;
  border: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 102, 204, 0.3);
}

/* ============================
   Custom Animated Alerts
============================ */
.custom-alert {
  position: fixed;
  top: 30px;
  right: -400px;
  background: #28a745; /* green for success */
  color: white;
  padding: 15px 25px;
  border-radius: 8px;
  font-weight: 500;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  transition: all 0.5s ease;
  opacity: 0;
}

.custom-alert.show {
  right: 30px;
  opacity: 1;
}

.custom-alert.error {
  background: #dc3545; /* red for error */
}

@keyframes fadeOut {
  0% { opacity: 1; transform: translateX(0); }
  100% { opacity: 0; transform: translateX(100px); }
}


/* Invalid Feedback */
.invalid-feedback {
  color: #ffcccc;
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-down a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.8rem;
  transition: color 0.3s;
}

.scroll-down a:hover {
  color: white;
}

/* Form Disappear on Scroll */
.form-slide-out {
  transform: translateX(120%) !important;
  opacity: 0 !important;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-title {
    font-size: 3rem;
  }
  .hero-form-card {
    margin: 2rem auto 0;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-badges {
    justify-content: center;
  }
  .hero-form-card {
    padding: 2rem;
  }
}

/* ====================================
   NEW 3-COLUMN HERO LAYOUT
   ==================================== */

/* Student Image */
.hero-student-wrapper {
    max-width: 100%;
    height: 100vh; /* Adjust this value as needed */
    display: flex;
    align-items: center;
    justify-content: center;
}

.student-png {
    height: 100% !important;   /* Force full height of wrapper */
    width: auto !important;    /* Maintain aspect ratio */
    max-width: none !important; /* Override img-fluid max-width */
    object-fit: contain;
    margin-top: 150px ;
}
/* Middle Content - Smaller */
.hero-content-small {
    padding: 0 1rem;
}

.hero-title-small {
    font-size: 3rem !important;
    font-weight: 700;
    color: rgb(0, 0, 102);
    line-height: 1.2;
    /* margin-bottom: 4rem; */
}

.hero-subtitle-small {
    font-size: 1rem;
    opacity: 0.9;

    line-height: 1.4;
    color: black;
    /* margin-bottom: 4rem; */
}

.hero-badges-small {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    color: rgb(0, 0, 102);
    /* margin-bottom: 4rem; */
}

.badge-pill-small {
    background: rgba(0, 0, 0, 0.171);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.3);
}

.btn-apply-now-small {
    background: linear-gradient(135deg, #FF6B35, #FF8C61);
    color: white;
    padding: 0.7rem 1.5rem;
    font-weight: 600;
    border-radius: 25px;
    border: none;
    font-size: 0.95rem;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
    margin-bottom: 4rem;
}

.btn-apply-now-small:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
}

/* Right Form - Same Size */
#heroFormWrapper {
    max-width: 380px;
    margin: 0 auto;
    margin-top: 100px;
}

/* Responsive */

/* Remove padding from column on large screens */
@media (min-width: 992px) {
    .hero-section .col-lg-4.p-0 {
        padding: 0 !important;
    }
}

/* Responsive scaling */
@media (max-width: 1200px) {
    .hero-student-wrapper { height: 80vh; }
    .student-png { max-height: 750px; }
}
@media (max-width: 992px) {
    .hero-student-wrapper { 
        height: 60vh; 
        min-height: 400px;
        order: 1;
        margin-bottom: 2rem;
    }
    .student-png { max-height: 550px; }
}
@media (max-width: 768px) {
    .hero-student-wrapper { height: 50vh; }
    .student-png { max-height: 450px; }
}
@media (max-width: 576px) {
    .student-png { max-height: 380px; }
} 

@media (max-width: 992px) {
    .hero-student-image { order: 3; margin-top: 2rem; }
    .hero-content-small { order: 2; }
    #heroFormWrapper { order: 1; margin-top: 2rem; }
    
    .hero-title-small { font-size: 1.8rem !important; }
    .student-png { max-height: 550px; }
}

@media (max-width: 768px) {
    .hero-title-small { font-size: 1.5rem !important; }
    .hero-subtitle-small { font-size: 0.9rem; }
    .student-png { max-height: 450px; }
    
    #heroFormWrapper { max-width: 100%; }
}

@media (max-width: 576px) {
    .hero-title-small { font-size: 1.3rem !important; }
    .hero-badges-small { justify-content: center; }
    .student-png { max-height: 350px; }
}

/* ====================================
   ISBR-STYLE ENQUIRY FORM (NO OTP) + SCROLL
   ==================================== */

.hero-form-card.isbr-style {
  background: linear-gradient(180deg, #003366 0%, #004080 100%);
  border-radius: 20px;
  padding: 2rem;
  color: #fff;
  max-width: 420px;
  margin-left: auto;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.form-scroll-wrapper {
  flex: 1;
  overflow-y: auto;

  padding-right: 8px;
  margin-right: -8px;
}

/* Custom scrollbar */
.form-scroll-wrapper::-webkit-scrollbar {
  width: 6px;
}
.form-scroll-wrapper::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
}
.form-scroll-wrapper::-webkit-scrollbar-thumb {
  background: #ff6b35;
  border-radius: 10px;
}
.form-scroll-wrapper::-webkit-scrollbar-thumb:hover {
  background: #e55a2b;
}

.isbr-style .form-control,
.isbr-style .form-select {
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  color: #333;
  height: 48px;
}

.isbr-style .form-control:focus,
.isbr-style .form-select:focus {
  background: #fff;
  box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.4);
  outline: none;
}

.isbr-style .input-group-text {
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 8px 0 0 8px;
  font-weight: 600;
  color: #003366;
  height: 48px;
}

.isbr-style .captcha-img {
  height: 40px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ====================================
   FIX: +91 & MOBILE ON SAME LINE
   ==================================== */
.input-group-mobile {
  display: flex;
  align-items: stretch;
}

.input-group-mobile .input-group-text {
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 8px 0 0 8px;
  font-weight: 600;
  color: #003366;
  min-width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.75rem;
  font-size: 0.95rem;
}

.input-group-mobile .form-control {
  border: none;
  border-radius: 0 8px 8px 0;
  padding-left: 0.75rem;
  font-size: 0.95rem;
  height: 48px;
  flex: 1;
}

.input-group-mobile .form-control:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.4);
  z-index: 1;
}

/* Ensure no line break */
.input-group-mobile,
.input-group-mobile * {
  box-sizing: border-box;
}

/* Captcha Box */
.captcha-box {
  width: 100px;
  height: 40px;
  background: #fff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Courier New", monospace;
  font-weight: bold;
  font-size: 1.1rem;
  color: #003366;
  letter-spacing: 2px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  user-select: none;
}

.btn-refresh-captcha {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}
.btn-refresh-captcha:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: rotate(360deg);
}

/* Checkbox */
.isbr-style .form-check-input {
  border-color: #fff;
}
.isbr-style .form-check-input:checked {
  background-color: #ff6b35;
  border-color: #ff6b35;
}
.isbr-style .form-check-label {
  font-size: 0.78rem;
  line-height: 1.35;
}

.isbr-style .invalid-feedback {
  color: #ffcccc;
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

.isbr-style .btn-submit {
  background: #e63946;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.875rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
}
.isbr-style .btn-submit:hover {
  background: #d00000;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(230, 57, 70, 0.4);
}

/* Responsive */
@media (max-width: 992px) {
  .hero-form-card.isbr-style {
    margin: 2rem auto 0;
    max-width: 100%;
  }
}
@media (max-width: 576px) {
  .hero-form-card.isbr-style {
    padding: 1.5rem;
  }
  .form-header h3 {
    font-size: 1.4rem;
  }
  .captcha-box {
    width: 80px;
    font-size: 1rem;
  }
}

/* ====================================
   FORCE ONLY Y-AXIS SCROLL (NO X-SCROLL)
   ==================================== */

/* For the original short form */
.form-scroll-container,
.form-scroll-wrapper {
  overflow-x: hidden !important; /* No horizontal scroll */
  overflow-y: auto !important; /* Vertical scroll only */
  -webkit-overflow-scrolling: touch;
  white-space: normal;
  word-wrap: break-word;
}

/* Prevent any child from forcing horizontal scroll */
.form-scroll-container *,
.form-scroll-wrapper * {
  max-width: 100%;
  box-sizing: border-box;
}

/* Ensure inputs/selects don't overflow */
.form-scroll-container .form-control,
.form-scroll-container .form-select,
.form-scroll-wrapper .form-control,
.form-scroll-wrapper .form-select,
.form-scroll-container .input-group,
.form-scroll-wrapper .input-group {
  width: 100%;
  flex-shrink: 0;
}

/* Optional: Hide scrollbar track when not hovering (clean look) */
.form-scroll-container::-webkit-scrollbar-track,
.form-scroll-wrapper::-webkit-scrollbar-track {
  background: transparent;
}

.form-scroll-container:hover::-webkit-scrollbar-track,
.form-scroll-wrapper:hover::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
}

/* ====================================
   About Section
   ==================================== */

.about-section {
  padding: 6rem 0;
  background: var(--white);
}

.about-image-wrapper {
  position: relative;
}

.about-image-wrapper img {
  border-radius: 20px;
}

.about-badge {
  position: absolute;
  bottom: 30px;
  left: 30px;
  background: var(--white);
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.about-badge i {
  font-size: 2.5rem;
  color: var(--accent-color);
}

.about-badge strong {
  display: block;
  font-size: 1.25rem;
  color: var(--dark-color);
}

.about-badge span {
  font-size: 0.875rem;
  color: var(--text-light);
}

.about-features {
  margin-top: 2rem;
}

.about-feature-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.feature-icon-sm {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: linear-gradient(
    135deg,
    rgba(0, 102, 204, 0.1) 0%,
    rgba(0, 163, 224, 0.1) 100%
  );
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.25rem;
}

.about-feature-item h4 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: var(--dark-color);
}

.about-feature-item p {
  color: var(--text-light);
  margin-bottom: 0;
  font-size: 0.9375rem;
}

/* ===================== PROGRAMS SECTION ===================== */
.programs-section{
    background:linear-gradient(135deg,#fff8f0 0%,#fdf6f0 100%);
    position:relative;overflow:hidden;padding:80px 0;
}
.programs-section::before{
    content:'';position:absolute;top:-100px;right:-100px;width:300px;height:300px;
    background:#f39c12;border-radius:50%;opacity:.08;z-index:0;
}

/* Subject Card */
.subject-card{
    background:#fff;border-radius:24px;overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.1);
    transition:all .4s ease;display:flex;flex-direction:column;height:100%;
    border:1px solid #eee;
}
.subject-card:hover{
    transform:translateY(-12px);
    box-shadow:0 20px 40px rgba(243,156,18,.2);
    border-color:#f39c12;
}
.subject-img{
    width:100%;height:260px;object-fit:cover;transition:transform .6s ease;
}
.subject-card:hover .subject-img{transform:scale(1.05);}
.subject-body{
    padding:25px;flex-grow:1;text-align:center;
}
.subject-body h3{
    font-size:1.5rem;font-weight:700;color:#2c3e50;margin-bottom:12px;
}
.subject-body p{
    font-size:.95rem;color:#7f8c8d;line-height:1.6;
}

/* Carousel Controls */
.carousel-control-prev,.carousel-control-next{
    width:55px;height:55px;background:rgba(243,156,18,.9);
    border-radius:50%;top:50%;transform:translateY(-50%);
    opacity:.9;transition:all .3s ease;
}
.carousel-control-prev{left:15px;}
.carousel-control-next{right:15px;}
.carousel-control-prev:hover,.carousel-control-next:hover{
    background:#e67e22;transform:translateY(-50%) scale(1.1);
}

/* Indicators */
.program-indicators{
    bottom:-60px;
}
.program-indicators button{
    width:14px;height:14px;border-radius:50%;
    background:#ddd;border:none;margin:0 6px;
    transition:all .3s ease;
}
.program-indicators .active{
    background:#f39c12;transform:scale(1.3);
}

/* Apply Now */
.btn-apply-now-sticky{
    background:#2c3e50;color:#fff;padding:12px 32px;
    border-radius:50px;font-weight:600;
    box-shadow:0 5px 15px rgba(44,62,80,.3);
    transition:all .3s ease;
}
.btn-apply-now-sticky:hover{
    background:#1a252f;transform:translateY(-3px);
    box-shadow:0 8px 20px rgba(44,62,80,.4);
}

/* Responsive */
@media (max-width:992px){.subject-img{height:220px;}}
@media (max-width:768px){
    .subject-img{height:200px;}
    .carousel-control-prev{left:5px;}
    .carousel-control-next{right:5px;}
}

/* ====================================
   Placements Section
   ==================================== */

.placements-section {
  padding: 6rem 0;
  background: var(--white);
}

.placement-stats-row {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.placement-stat-card {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 2.5rem 3rem;
  border-radius: 20px;
  text-align: center;
  min-width: 220px;
  transition: var(--transition-base);
}

.placement-stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.stat-value {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  opacity: 0.95;
  margin-bottom: 0;
}

/* ====================================
   VERTICAL SCROLLING RECRUITERS SECTION
   ==================================== */

.recruiters-slider-vertical {
    height: 400px;
    overflow: hidden;
    position: relative;
    margin: 2rem auto;
    max-width: 1200px;
}

.recruiter-logo-wrapper-vertical {
    display: flex;
    justify-content: center;
    gap: 2rem;
    animation: scrollVertical 20s linear infinite;
    padding: 1rem;
}

.recruiter-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Individual logo styles for vertical layout */
.recruiter-logo {
    width: 250px;
    height: 80px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    flex-shrink: 0;
}

.recruiter-logo:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.recruiter-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    /* filter: grayscale(100%); */
    opacity: 0.7;
    transition: var(--transition-base);
    cursor: pointer;
}

.recruiter-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Vertical scrolling animation */
@keyframes scrollVertical {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

/* Pause animation on hover */
.recruiters-slider-vertical:hover .recruiter-logo-wrapper-vertical {
    animation-play-state: paused;
}

/* Responsive design for vertical scroll */
@media (max-width: 1200px) {
    .recruiter-logo {
        width: 140px;
        height: 70px;
    }
    
    .recruiter-column {
        gap: 1.2rem;
    }
}

@media (max-width: 992px) {
    .recruiters-slider-vertical {
        height: 350px;
    }
    
    .recruiter-logo {
        width: 120px;
        height: 60px;
    }
    
    .recruiter-column {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .recruiters-slider-vertical {
        height: 300px;
    }
    
    .recruiter-logo-wrapper-vertical {
        gap: 1rem;
    }
    
    .recruiter-logo {
        width: 100px;
        height: 50px;
        padding: 0.75rem;
    }
}

@media (max-width: 576px) {
    .recruiters-slider-vertical {
        height: 250px;
    }
    
    .recruiter-logo-wrapper-vertical {
        gap: 0.75rem;
    }
    
    .recruiter-logo {
        width: 90px;
        height: 45px;
        padding: 0.5rem;
    }
}

/* Mobile specific vertical scroll */
@media (max-width: 768px) {
    @keyframes scrollVertical {
        0% {
            transform: translateY(0);
        }
        100% {
            transform: translateY(-30%);
        }
    }
}
/* ====================================
   Batch Profile Section
   ==================================== */

.batch-profile-section {
  padding: 6rem 0;
  background: #ffffff23;
  position: relative;
  overflow: hidden;
}

.batch-profile-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("/img/top-mba-colleges-in-kolkata-with-placement.webp")
    center/cover;
  opacity: 0.20;
}

.profile-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  transition: var(--transition-base);
  height: 100%;
}

.profile-card:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.profile-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(
    135deg,
    rgba(255, 107, 53, 0.1) 0%,
    rgba(255, 140, 97, 0.1) 100%
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  font-size: 2rem;
}

.profile-percentage {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.profile-label {
  color: var(--text-light);
  font-weight: 500;
  margin-bottom: 0;
}

/* ====================================
   Global Section
   ==================================== */

.global-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #1a1a2e94 0%, #001b66e0 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.global-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("/img/global_outlook.webp")
    center/cover;
  opacity: 0.05;
}

.global-section .container {
  position: relative;
  z-index: 2;
}

.global-stats {
  display: flex;
  gap: 3rem;
  margin-top: 2rem;
}

.global-stat-item h3 {
  font-size: 3rem;
  font-weight: 800;
  color: #ffd700;
  margin-bottom: 0.5rem;
}

.global-stat-item p {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 0;
}

.global-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.global-feature-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 15px;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition-base);
}

.global-feature-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(10px);
}

.global-feature-card i {
  font-size: 2.5rem;
  color: #ffd700;
  flex-shrink: 0;
}

.global-feature-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.global-feature-card p {
  margin-bottom: 0;
  opacity: 0.9;
}

/* ====================================
   WHY CHOOSE PRO SECTION (Immersive)
   ==================================== */
.why-choose-pro-section {
  position: relative;
  background: linear-gradient(120deg, #002244, #003366, #004488);
  overflow: hidden;
  color: white;
}

.wave-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: url('https://svgshare.com/i/14oV.svg') repeat-x;
  background-size: cover;
  animation: waveMove 10s linear infinite;
}

@keyframes waveMove {
  from { background-position-x: 0; }
  to { background-position-x: 1000px; }
}

.timeline-container {
  position: relative;
  margin-top: 3rem;
}

.why-item {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 5rem;
}

.why-item.left { flex-direction: row; }
.why-item.right { flex-direction: row-reverse; }

.why-image {
  position: relative;
  width: 240px;
  height: 240px;
  margin: 0 2rem;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
  transition: all 0.5s ease;
  transform: perspective(1000px) rotateY(0deg);
}

.why-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.why-item:hover .why-image {
  transform: perspective(1000px) rotateY(8deg);
}

.why-item:hover img {
  transform: scale(1.08);
}

.floating-icon {
  position: absolute;
  top: -20px;
  right: -20px;
  background: linear-gradient(135deg, #ff6b35, #ff8c61);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.why-text {
  max-width: 500px;
  padding: 1rem 2rem;
}

.why-text h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffcc00;
  margin-bottom: 0.5rem;
}

.why-text p {
  color: #ddd;
  font-size: 1rem;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 991px) {
  .why-item { flex-direction: column !important; text-align: center; }
  .why-image { margin: 0 auto 1.5rem auto; }
  .why-text { padding: 0 1rem; }
}

/* ====================================
   Testimonials Section
   ==================================== */

.testimonials-section {
  padding: 6rem 0;
  background: var(--light-color);
}

.testimonial-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 20px;
  height: 100%;
  position: relative;
  transition: var(--transition-base);
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.quote-icon {
  color: var(--primary-color);
  font-size: 3rem;
  opacity: 0.2;
  margin-bottom: 1rem;
}

.testimonial-text {
  color: var(--text-dark);
  font-style: italic;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-color);
}

.testimonial-author h5 {
  font-size: 1.125rem;
  color: var(--dark-color);
  margin-bottom: 0.25rem;
}

.testimonial-author p {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 0;
}

/* ====================================
   CTA Section
   ==================================== */

.cta-section {
  padding: 5rem 0;
  background: var(--gradient-primary);
  color: var(--white);
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-text {
  font-size: 1.25rem;
  opacity: 0.95;
  margin-bottom: 1.5rem;
}

.cta-features {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.cta-features span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.cta-features i {
  color: #ffd700;
}

.btn-cta {
  background: var(--white);
  color: var(--primary-color);
  padding: 1rem 2.5rem;
  font-weight: 700;
  border-radius: 50px;
  border: none;
  transition: var(--transition-base);
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  color: var(--primary-color);
}

.cta-note {
  margin-top: 1rem;
  font-size: 0.875rem;
  opacity: 0.9;
}

.cta-note a {
  color: var(--white);
  font-weight: 600;
  text-decoration: underline;
}

/* ====================================
   Footer
   ==================================== */

.footer-section {
  background: var(--dark-color);
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0 2rem;
  
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0;
}

/* ====================================
   Scroll to Top Button
   ==================================== */

.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-base);
  z-index: 999;
  box-shadow: var(--shadow-md);
}

.scroll-top-btn.show {
  opacity: 1;
  visibility: visible;
}

.scroll-top-btn:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* ====================================
   Animations
   ==================================== */

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* ====================================
   Responsive Design
   ==================================== */

@media (max-width: 1199px) {
  .hero-title {
    font-size: 3rem;
  }

  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 991px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

  .hero-stats {
    flex-wrap: wrap;
  }

  .form-card {
    position: static;
  }

  .global-stats {
    flex-wrap: wrap;
    gap: 2rem;
  }

  .cta-title {
    font-size: 2rem;
  }
}

@media (max-width: 767px) {
  .hero-section {
    padding: 80px 0 60px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.125rem;
  }

  .hero-features {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .stat-divider {
    display: none;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .section-description {
    font-size: 1rem;
  }

  .btn-primary,
  .btn-outline-light {
    width: 100%;
    margin-bottom: 0.75rem;
  }

  .form-card {
    padding: 2rem 1.5rem;
  }

  .highlight-number {
    font-size: 2.5rem;
  }

  .placement-stats-row {
    flex-direction: column;
    align-items: center;
  }

  .cta-features {
    flex-direction: column;
    gap: 1rem;
  }

  .navbar-nav {
    padding: 1rem 0;
  }

  .navbar-nav .nav-link {
    padding: 0.75rem 0;
  }
}

@media (max-width: 575px) {
  .hero-title {
    font-size: 1.75rem;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .highlight-number {
    font-size: 2rem;
  }

  .about-badge {
    position: static;
    margin-top: 1rem;
  }

  .profile-percentage {
    font-size: 2rem;
  }

  .global-stat-item h3 {
    font-size: 2.5rem;
  }
}

/* ====================================
   Gallery Section
   ==================================== */

.gallery-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.gallery-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.05;
    z-index: 0;
}

.gallery-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: var(--accent-color);
    border-radius: 50%;
    opacity: 0.05;
    z-index: 0;
}

.gallery-section .container {
    position: relative;
    z-index: 2;
}

/* Filter Buttons */
.gallery-filter {
    margin-bottom: 3rem;
}

.filter-buttons {
    gap: 1rem;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: all 0.3s ease;
    z-index: -1;
}

.filter-btn:hover,
.filter-btn.active {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.3);
}

.filter-btn.active::before,
.filter-btn:hover::before {
    left: 0;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.gallery-item {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.gallery-item.hidden {
    display: none;
}

.gallery-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
}

.gallery-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.gallery-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.gallery-card:hover .gallery-image img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: all 0.4s ease;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-content {
    color: white;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.gallery-card:hover .gallery-content {
    transform: translateY(0);
}

.gallery-content h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.gallery-content p {
    font-size: 0.875rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.btn-view-image {
    background: var(--accent-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-view-image:hover {
    background: #e55a2b;
    transform: scale(1.1);
}

/* View More Button */
.btn-view-more {
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-view-more::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
}

.btn-view-more:hover::before {
    left: 100%;
}

.btn-view-more:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 102, 204, 0.3);
}

/* Lightbox */
.gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.lightbox-container {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.gallery-lightbox.active .lightbox-container {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.lightbox-nav:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-content {
    display: flex;
    flex-direction: column;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
}

.lightbox-caption {
    padding: 1.5rem;
    background: white;
}

.lightbox-caption h4 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.lightbox-caption p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Animation for gallery items */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger animation for gallery items */
.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }
.gallery-item:nth-child(5) { animation-delay: 0.5s; }
.gallery-item:nth-child(6) { animation-delay: 0.6s; }
.gallery-item:nth-child(7) { animation-delay: 0.7s; }
.gallery-item:nth-child(8) { animation-delay: 0.8s; }

/* Responsive Design */
@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 1rem;
    }
    
    .gallery-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
    
    .filter-buttons {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .lightbox-container {
        max-width: 95%;
        max-height: 95%;
    }
    
    .lightbox-nav {
        width: 40px;
        height: 40px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .gallery-image {
        height: 250px;
    }
    
    .filter-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 200px;
    }
    
    .lightbox-caption {
        padding: 1rem;
    }
    
    .lightbox-caption h4 {
        font-size: 1.125rem;
    }
    
    .lightbox-caption p {
        font-size: 0.875rem;
    }
}

/* For Desktop Layout */
@media (min-width: 992px) {
    /* .hero-section .row {
        min-height: 100vh;
    } */
    
    .hero-student-wrapper {
        height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .student-png {
        height: 90vh !important;
        max-height: 800px;
        width: auto !important;
        object-fit: contain;
    }
}

/* For Mobile Layout */
@media (max-width: 991px) {
    .hero-section {
        padding-top: 30px;
        padding-bottom: 0;
        min-height: auto;
    }
    
    /* .hero-section .row {
        flex-direction: column;
        min-height: auto;
    } */
    
    /* Mobile Order: 
       1. Logo + Text (order-2 but comes first due to flex column)
       2. Form (order-1)
       3. Girl Image (order-3)
    */
    
    /* Content Section - Comes first */
    .hero-content-small {
        padding: 20px 15px;
        text-align: center;
    }
    
    .hero-logo {
        margin-top: 20px;
    }
    
    .hero-logo img {
        height: 70px !important;
        margin-bottom: 30px !important;
    }
    
    .hero-title-small {
        font-size: 1.8rem !important;
        color: rgb(0, 0, 102);
        line-height: 1.2;
        margin-bottom: 15px;
    }
    
    .gradient-text {
        background: linear-gradient(90deg, #ffd700, #ffa500);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    .hero-subtitle-small {
        font-size: 0.95rem;
        color: black;
        line-height: 1.4;
        margin-bottom: 20px;
    }
    
    .hero-badges-small {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
        margin-bottom: 25px;
    }
    
    .badge-pill-small {
        background: rgba(0, 0, 0, 0.1);
        color: rgb(0, 0, 102);
        padding: 6px 12px;
        border-radius: 20px;
        font-size: 0.75rem;
        font-weight: 600;
        border: 1px solid rgba(255,255,255,0.3);
    }
    
    .btn-apply-now-small {
        background: linear-gradient(135deg, #FF6B35, #FF8C61);
        color: white;
        padding: 10px 25px;
        font-weight: 600;
        border-radius: 25px;
        border: none;
        font-size: 0.9rem;
        box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
        transition: all 0.3s ease;
        margin-bottom: 25px;
        display: inline-block;
    }
    
    /* Form Section - Comes second */
    #heroFormWrapper {
        width: 100%;
        padding: 0 15px;
        margin-top: 0;
        order: 1;
    }
    
    .hero-form-card.isbr-style {
        margin: 0 auto 30px;
        max-width: 100%;
        padding: 20px;
    }
    
    /* Girl Image Section - Comes third and touches banner border */
    .hero-student-wrapper-mobile {
        width: 100%;
        margin-top: 0;
        padding: 0;
    }
    
    .student-png-mobile {
        width: 100% !important;
        height: auto !important;
        max-height: 350px;
        object-fit: contain;
        object-position: bottom center;
        display: block;
        margin: 0 auto;
    }
    
    /* Remove the desktop image on mobile */
    .d-lg-flex .hero-student-wrapper {
        display: none !important;
    }
}

/* For very small screens */
@media (max-width: 576px) {
    .hero-title-small {
        font-size: 1.5rem !important;
    }
    
    .hero-subtitle-small {
        font-size: 0.85rem;
    }
    
    .badge-pill-small {
        font-size: 0.7rem;
        padding: 5px 10px;
    }
    
    .hero-logo img {
        height: 60px !important;
        margin-bottom: 20px !important;
    }
    
    .student-png-mobile {
        max-height: 300px;
    }
    
    .hero-form-card.isbr-style {
        padding: 15px;
    }
}

/* For medium tablets */
@media (min-width: 768px) and (max-width: 991px) {
    .hero-title-small {
        font-size: 2rem !important;
    }
    
    .hero-subtitle-small {
        font-size: 1rem;
    }
    
    .student-png-mobile {
        max-height: 400px;
    }
}