/* ==========================================================================
   Apex Premium Coaching CSS Stylesheet - Terracotta Orange & Forest Green Theme
   Mockup Match: Custom layout structures, cutout tutor profiles, FAQ
   ========================================================================== */

:root {
  /* Brand Palette from Reference Image */
  --accent-orange: #e05929;      /* Vibrant terracotta orange */
  --accent-green: #06312a;       /* Deep premium forest green */
  --accent-orange-light: #fef5f2; /* Ultra soft orange backdrop background */
  
  --bg-white: #ffffff;
  --bg-grey-light: #fafafc;      
  --bg-grey-offset: #f5f5f7;     
  
  --text-dark: #0f0a1a;          
  --text-secondary: #5f5a6b;     
  --text-tertiary: #928ca0;
  
  --text-light-pure: #ffffff;
  --text-light-offset: #ffe8df;
  
  --border-light: rgba(224, 89, 41, 0.06);
  --border-dark: rgba(255, 255, 255, 0.08);
  
  --shadow-subtle: 0 4px 30px rgba(224, 89, 41, 0.02);
  --shadow-premium: 0 12px 40px rgba(224, 89, 41, 0.05);
  
  --font-family-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-family-display: 'Outfit', var(--font-family-sans);
  
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-white);
  color: var(--text-dark);
  font-family: var(--font-family-sans);
}

body {
  overflow-x: hidden;
  line-height: 1.5;
}

/* Typography Utility */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-dark);
}

p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.6;
}

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

/* Common Layout Containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}

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

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

.text-center {
  text-align: center;
}

/* Button UI Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family-sans);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 30px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
  gap: 8px;
}

.btn-primary {
  background-color: var(--accent-orange);
  color: var(--text-light-pure);
}

.btn-primary:hover {
  background-color: #c84417;
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--accent-orange);
  color: var(--accent-orange);
}

.btn-secondary:hover {
  background-color: var(--accent-orange-light);
  transform: translateY(-1px);
}

.btn-invert {
  background-color: var(--bg-white);
  color: var(--accent-orange);
  border-color: var(--bg-white);
}

.btn-invert:hover {
  background-color: var(--bg-grey-offset);
  transform: translateY(-1px);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--text-light-pure);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--text-light-pure);
  transform: translateY(-1px);
}

.btn-full {
  width: 100%;
}

.btn-small {
  font-size: 0.85rem;
  padding: 10px 20px;
}

/* Glassmorphism Card Style */
.glass-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-smooth);
}

.glass-card:hover {
  box-shadow: var(--shadow-premium);
  transform: translateY(-4px);
}

/* Section Header styling */
.section-header {
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-family-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--accent-orange);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.section-tag.invert {
  color: var(--text-light-offset);
}

.section-title {
  font-size: 2.85rem;
  color: var(--text-dark);
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

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

.section-subtitle {
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Animation Reveal Classes */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.15s;
}

.delay-2 {
  transition-delay: 0.3s;
}

.delay-3 {
  transition-delay: 0.45s;
}

/* ==========================================================================
   1. Header & Navigation
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-fast);
}

.header.scrolled {
  padding: 4px 0;
  box-shadow: 0 4px 20px rgba(224, 89, 41, 0.02);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-text {
  font-family: var(--font-family-display);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  color: var(--text-dark);
}

.logo-text.text-white {
  color: var(--text-light-pure);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-item {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.nav-item:hover {
  color: var(--accent-orange);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
}

.nav-toggle .bar {
  width: 24px;
  height: 2px;
  background-color: var(--text-dark);
  transition: var(--transition-fast);
}

/* ==========================================================================
   2. Hero Section (Reverted to match screenshot layout and accent colors)
   ========================================================================== */
.hero-section {
  padding-top: 150px;
  padding-bottom: 80px;
  background-color: var(--bg-white);
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
  color: var(--text-dark);
  line-height: 1.15;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.6;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.trust-avatars {
  display: flex;
  align-items: center;
}

.avatar-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--accent-green);
  color: var(--text-light-pure);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  border: 2px solid var(--bg-white);
  margin-right: -10px;
}

.avatar-dot:nth-child(2) { background-color: var(--accent-orange); }
.avatar-dot:nth-child(3) { background-color: #8ea09c; }
.avatar-dot:nth-child(4) { background-color: #2b3936; }

.rating-stars {
  color: #ff9f0a;
  font-size: 1rem;
  letter-spacing: 1px;
}

.rating-text {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: 2px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 48px;
}

/* Choose Program Journey Widget */
.journey-widget {
  padding: 24px;
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  box-shadow: 0 10px 30px rgba(224, 89, 41, 0.04);
}

.widget-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.widget-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-orange);
  border-radius: 50%;
}

.widget-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.widget-group-container {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: flex-end;
  gap: 16px;
}

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

.widget-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.widget-select {
  font-family: var(--font-family-sans);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  background-color: var(--bg-grey-light);
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235f5a6b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
  padding-right: 32px;
}

.widget-btn {
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 0.9rem;
}

.hero-image-wrapper {
  position: relative;
}

.hero-image-container {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow-premium);
}

.hero-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   3. Stats Bar (Forest Green Background)
   ========================================================================== */
.stats-bar-section {
  background-color: var(--accent-green);
  padding: 32px 0;
  color: var(--text-light-pure);
}

.stats-bar-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.stats-bar-item {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  justify-content: center;
  padding: 0 16px;
}

.stats-icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light-pure);
}

.stats-info {
  display: flex;
  flex-direction: column;
}

.stats-value {
  font-family: var(--font-family-display);
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1;
}

.stats-text {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-light-offset);
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.stats-bar-divider {
  width: 1px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   4. How Tutor Works Section
   ========================================================================== */
.how-works-section {
  padding: 100px 0;
  background-color: var(--bg-grey-light);
}

.process-card {
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
}

.process-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-orange-light);
  color: var(--accent-orange);
  width: 56px;
  height: 56px;
  border-radius: 16px;
  margin-bottom: 24px;
}

.process-card-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.process-card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   5. About Us Section
   ========================================================================== */
.about-section {
  padding: 120px 0;
  background-color: var(--bg-white);
}

.about-grid {
  align-items: center;
  gap: 64px;
}

.about-features-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 32px;
  margin-bottom: 40px;
}

.about-feature-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.about-feature-num {
  font-family: var(--font-family-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-orange);
  line-height: 1;
  min-width: 60px;
  flex-shrink: 0;
  text-align: right;
  margin-top: 2px;
}

.about-feature-info {
  display: flex;
  flex-direction: column;
}

.about-feature-title {
  font-size: 1.15rem;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.about-feature-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.about-collage-wrapper {
  position: relative;
  padding: 20px;
}

.about-main-img-card {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  position: relative;
  z-index: 1;
}

.about-img-custom {
  width: 100%;
  height: auto;
  display: block;
}

/* Layered Floating Badges style */
.floating-badge {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(224, 89, 41, 0.08);
  border: 1px solid rgba(224, 89, 41, 0.06);
}

.floating-badge .badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent-orange);
  color: var(--text-light-pure);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.floating-badge .badge-text {
  display: flex;
  flex-direction: column;
}

.floating-badge .badge-text strong {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-family: var(--font-family-display);
}

.floating-badge .badge-text span {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.badge-top-left {
  top: 0px;
  left: 0px;
}

.badge-bottom-right {
  bottom: 0px;
  right: 0px;
}

/* ==========================================================================
   6. Why Choose Us Section
   ========================================================================== */
.why-section {
  padding: 120px 0;
  background-color: var(--bg-grey-light);
}

.why-grid {
  align-items: center;
  gap: 64px;
}

.why-media-wrapper-custom {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
}

.why-img-custom {
  width: 100%;
  height: auto;
  display: block;
}

.why-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.why-feature-item {
  display: flex;
  gap: 16px;
}

.feature-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-orange);
  color: var(--text-light-pure);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 4px;
}

.feature-title {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   7. Courses / Subject Cards
   ========================================================================== */
.courses-section {
  padding: 120px 0;
  background-color: var(--bg-white);
}

.subject-card {
  padding: 40px;
  display: flex;
  flex-direction: column;
}

.subject-card:hover {
  transform: translateY(-4px);
}

.subject-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: var(--accent-orange-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.subject-card-title {
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.subject-card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  flex-grow: 1;
}

.subject-card-count {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-orange);
}

/* Announcement Section */
.announcement-section {
  padding: 40px 0 0 0;
  background-color: var(--bg-white);
}

.announcement-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 48px;
  background-color: var(--accent-orange-light);
  border: 1px solid rgba(224, 89, 41, 0.15);
  border-radius: 28px;
  gap: 32px;
}

.announcement-countdown-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

.announcement-badge {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent-orange);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.countdown-timer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.timer-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--bg-white);
  border: 1px solid rgba(224, 89, 41, 0.08);
  border-radius: 12px;
  min-width: 65px;
  padding: 8px 12px;
  box-shadow: 0 4px 15px rgba(224, 89, 41, 0.02);
}

.timer-unit span:first-child {
  font-family: var(--font-family-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-orange);
  line-height: 1;
}

.unit-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-top: 4px;
}

.timer-colon {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-orange);
  line-height: 1;
  opacity: 0.5;
}

.announcement-info-column {
  flex-grow: 1;
}

.announcement-title {
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.announcement-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.announcement-action-column {
  flex-shrink: 0;
}

/* Subject Card Image & Actions updates */
.subject-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.subject-card-img-container {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.subject-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.subject-card:hover .subject-card-img {
  transform: scale(1.04);
}

.subject-card-content {
  padding: 32px 32px 40px 32px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.subject-card-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
}

.subject-card-price {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
}

.subject-card-actions {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 12px;
}

.subject-card-actions .btn {
  padding: 10px 16px;
  font-size: 0.85rem;
  border-radius: 10px;
}

/* ==========================================================================
   8. Faculty Section (Cutout Portraits with backgrounds)
   ========================================================================== */
.faculty-section {
  padding: 120px 0;
  background-color: var(--bg-grey-light);
}

.faculty-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 64px;
}

.faculty-section-header .section-title {
  margin-bottom: 0;
}

.tutor-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--bg-white);
}

.tutor-image-bg {
  height: 280px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  overflow: hidden;
}

.bg-pink { background-color: #ffdce0; }
.bg-blue { background-color: #dceffa; }
.bg-red { background-color: #ffdcd9; }
.bg-yellow { background-color: #fff1d9; }

.tutor-card-img {
  height: 95%;
  width: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.tutor-card:hover .tutor-card-img {
  transform: scale(1.05);
}

.tutor-card-details {
  padding: 24px;
}

.tutor-rating-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.tutor-card-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
}

.tutor-card-rating {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ff9f0a;
}

.tutor-card-sub {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.tutor-card-lessons {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-orange);
  text-transform: uppercase;
}

/* ==========================================================================
   9. Reviews / Testimonial Slider Section
   ========================================================================== */
.testimonials-section {
  padding: 120px 0;
  background-color: var(--bg-white);
}

.testimonial-slider-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 64px 80px;
  position: relative;
  overflow: hidden;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-premium);
  border-radius: 32px;
}

/* Yellow Highlight Utility */
.highlight-yellow {
  background: linear-gradient(120deg, rgba(254, 240, 138, 0.45) 0%, rgba(254, 240, 138, 0.7) 100%);
  padding: 2px 6px;
  border-radius: 6px;
  display: inline-block;
}

/* Background floating dots styling */
.decor-dot {
  position: absolute;
  border-radius: 50%;
  opacity: 0.6;
  pointer-events: none;
}
.dot-pink { background-color: #d946ef; top: 28%; left: 11%; width: 10px; height: 10px; }
.dot-blue { background-color: #3b82f6; top: 40%; right: 25%; width: 8px; height: 8px; }
.dot-yellow { background-color: #f59e0b; bottom: 18%; right: 12%; width: 12px; height: 12px; }
.dot-red { background-color: #ef4444; bottom: 15%; left: 20%; width: 9px; height: 9px; }
.dot-orange { background-color: #f97316; top: 48%; left: 30%; width: 11px; height: 11px; }

/* Floating selector avatars sidebar */
.floating-avatars-container {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  pointer-events: none;
}

.small-avatar {
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  border: 3px solid var(--bg-white);
  opacity: 0.45;
  cursor: pointer;
  pointer-events: auto;
  transition: var(--transition-fast);
}

.small-avatar:hover {
  opacity: 0.9;
  transform: scale(1.08);
}

.small-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-left {
  left: 8%;
  top: 42%;
}

.avatar-right {
  right: 8%;
  top: 36%;
}

/* Active center card styling */
.active-testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 3;
  width: 100%;
}

.active-avatar-box {
  width: 110px;
  height: 110px;
  position: relative;
  margin-bottom: 20px;
}

.active-avatar-ring {
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border-radius: 50%;
  border: 3px dashed var(--accent-orange);
  opacity: 0.15;
  animation: rotateDashed 25s linear infinite;
}

@keyframes rotateDashed {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.active-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--bg-white);
  box-shadow: var(--shadow-premium);
}

.active-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.active-role {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.active-rating-stars {
  color: #ff9f0a;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 24px;
}

/* Quote Layout */
.testimonial-quote-box {
  position: relative;
  max-width: 600px;
  margin: 0 auto 36px auto;
  padding: 0 40px;
}

.quote-mark {
  font-family: var(--font-family-display);
  font-size: 6rem;
  font-weight: 800;
  color: var(--accent-orange);
  opacity: 0.06;
  position: absolute;
  line-height: 1;
}

.quote-open {
  top: -45px;
  left: 0;
}

.quote-close {
  bottom: -90px;
  right: 0;
}

.active-text {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-dark);
  font-weight: 500;
}

/* Navigation Slider Controls */
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: 100%;
  margin-top: 10px;
}

.slider-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fffbeb;
  border: 1px solid #fef08a;
  color: #ca8a04;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: 0 2px 8px rgba(202, 138, 4, 0.08);
}

.slider-arrow:hover {
  background: #fef08a;
  color: #a16207;
  border-color: #eab308;
}

.slider-arrow.arrow-left {
  position: absolute;
  left: 48px;
  top: 62%;
  transform: translateY(-50%);
  z-index: 10;
}

.slider-arrow.arrow-right {
  position: absolute;
  right: 48px;
  top: 62%;
  transform: translateY(-50%);
  z-index: 10;
}

@media (min-width: 769px) {
  .slider-arrow.arrow-left:hover {
    transform: translateY(-50%) scale(1.05);
  }
  .slider-arrow.arrow-right:hover {
    transform: translateY(-50%) scale(1.05);
  }
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-tertiary);
  opacity: 0.35;
  cursor: pointer;
  transition: var(--transition-fast);
}

.slider-dot.active {
  opacity: 1;
  background: var(--accent-orange);
  transform: scale(1.25);
}

/* Slider Transitions */
.active-testimonial-card .active-avatar-img,
.active-testimonial-card .active-name,
.active-testimonial-card .active-role,
.active-testimonial-card .active-rating-stars,
.active-testimonial-card .testimonial-quote-box {
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

.active-testimonial-card.sliding .active-avatar-img {
  opacity: 0;
  transform: scale(0.9) translateY(5px);
}

.active-testimonial-card.sliding .active-name,
.active-testimonial-card.sliding .active-role,
.active-testimonial-card.sliding .active-rating-stars {
  opacity: 0;
  transform: translateY(8px);
}

.active-testimonial-card.sliding .testimonial-quote-box {
  opacity: 0;
  transform: translateY(12px);
}

/* ==========================================================================
   10. Frequently Asked Questions (FAQ) Section
   ========================================================================== */
.faq-section {
  padding: 120px 0;
  background-color: var(--bg-grey-light);
}

.faq-visual-card {
  margin-top: 40px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
}

.faq-visual-img {
  width: 100%;
  height: auto;
  display: block;
}

.accordion-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.accordion-item {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.accordion-header {
  width: 100%;
  padding: 24px;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  cursor: pointer;
  outline: none;
}

.accordion-header-title {
  font-family: var(--font-family-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  transition: var(--transition-fast);
}

.accordion-icon {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--text-secondary);
  transition: transform 0.4s ease;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0 24px;
}

.accordion-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  padding-bottom: 24px;
  line-height: 1.6;
}

.accordion-item.active {
  border-color: var(--accent-orange);
  box-shadow: var(--shadow-premium);
}

.accordion-item.active .accordion-header-title {
  color: var(--accent-orange);
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
  color: var(--accent-orange);
}

/* ==========================================================================
   11. Results / Toppers Section
   ========================================================================== */
.results-section {
  padding: 120px 0;
  background-color: var(--bg-grey-light);
}

.results-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.results-stat-card {
  padding: 32px;
  text-align: center;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
}

.stat-num-big {
  font-family: var(--font-family-display);
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--accent-orange);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label-sub {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.toppers-grid {
  margin-bottom: 48px;
}

.topper-card {
  overflow: hidden;
  background: var(--bg-white);
  display: flex;
  flex-direction: column;
}

.topper-avatar-container {
  height: 250px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  overflow: hidden;
}

.topper-img {
  height: 95%;
  width: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.topper-card:hover .topper-img {
  transform: scale(1.04);
}

.topper-rank-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background-color: var(--accent-orange);
  color: var(--text-light-pure);
  font-family: var(--font-family-display);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(224, 89, 41, 0.15);
}

.topper-details {
  padding: 24px;
}

.topper-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.topper-exam {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-green);
  margin-bottom: 16px;
}

.topper-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--bg-grey-offset);
}

.topper-meta:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.meta-label {
  color: var(--text-secondary);
}

.meta-value {
  font-weight: 700;
  color: var(--text-dark);
}

.results-verification {
  display: flex;
  justify-content: center;
}

.verification-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
  box-shadow: var(--shadow-subtle);
}

.verification-badge svg {
  color: var(--accent-orange);
  flex-shrink: 0;
}

/* ==========================================================================
   12. Admission Enquiry Section
   ========================================================================== */
.enquiry-section {
  padding: 120px 0;
  background-color: var(--bg-grey-light);
}

.enquiry-grid {
  align-items: center;
}

.enquiry-info {
  padding-right: 32px;
}

.enquiry-perks {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.perk-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  font-weight: 600;
}

.perk-bullet {
  color: var(--accent-orange);
}

.form-container {
  padding: 40px;
  background: var(--bg-white);
}

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

.form-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.enquiry-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-subgrid {
  gap: 16px;
}

.form-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input, .form-select {
  font-family: var(--font-family-sans);
  font-size: 0.95rem;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid var(--border-light);
  background-color: var(--bg-grey-light);
  color: var(--text-dark);
  transition: var(--transition-fast);
  outline: none;
  width: 100%;
}

.form-input:focus, .form-select:focus {
  border-color: var(--accent-orange);
  background-color: var(--bg-white);
  box-shadow: 0 0 0 4px rgba(224, 89, 41, 0.06);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235f5a6b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
}

.form-success-alert {
  text-align: center;
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.form-success-alert.hidden {
  display: none !important;
}

.success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent-orange);
  color: var(--text-light-pure);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: bold;
}

.success-heading {
  font-size: 1.4rem;
  color: var(--text-dark);
  font-weight: 700;
}

.success-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

/* ==========================================================================
   12. Contact & Maps Section
   ========================================================================== */
.contact-section {
  padding: 120px 0;
  background-color: var(--bg-grey-light);
}

.contact-card {
  padding: 40px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-card:hover {
  transform: none;
}

.contact-info-item {
  display: flex;
  flex-direction: column;
}

.contact-info-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.contact-info-desc {
  font-size: 1.05rem;
  color: var(--text-dark);
  line-height: 1.5;
  font-weight: 500;
}

.contact-link:hover {
  color: var(--accent-orange);
}

.map-wrapper {
  height: 100%;
  min-height: 400px;
  border-radius: 24px;
  overflow: hidden;
  padding: 8px;
}

.map-wrapper:hover {
  transform: none;
}

.map-wrapper iframe {
  border-radius: 16px;
  width: 100%;
  height: 100%;
}

/* ==========================================================================
   13. Footer Section
   ========================================================================== */
.footer {
  background-color: #0d0a06; /* Very deep charcoal orange-black */
  color: var(--text-light-pure);
  padding: 100px 0 40px 0;
  border-top: 1px solid var(--border-light);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-tagline {
  font-size: 0.95rem;
  color: var(--text-light-offset);
  line-height: 1.6;
  max-width: 320px;
}

.footer-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-light-pure);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link-item {
  font-size: 0.9rem;
  color: var(--text-light-offset);
  font-weight: 500;
}

.footer-link-item:hover {
  color: var(--text-light-pure);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 0.9rem;
  color: var(--text-light-offset);
  line-height: 1.5;
}

.contact-method-item {
  display: block;
}

.footer-bottom-grid {
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom-left {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-light-offset);
}

.footer-copy {
  font-weight: 500;
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-light-offset);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.social-circle:hover {
  background-color: var(--accent-orange);
  color: var(--text-light-pure);
}

/* ==========================================================================
   14. Floating elements & Modal
   ========================================================================== */
.floating-ctas {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.floating-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(224, 89, 41, 0.15);
  color: var(--bg-white);
  transition: var(--transition-smooth);
  overflow: hidden;
  position: relative;
}

.floating-btn-text {
  display: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding-right: 18px;
}

.floating-call-btn {
  background-color: var(--accent-green);
}

.floating-whatsapp-btn {
  background-color: #29c75f;
}

.floating-btn:hover {
  width: 140px;
  border-radius: 30px;
  gap: 8px;
}

.floating-btn:hover .floating-btn-text {
  display: inline;
}

/* Modal Overlay & Card */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(12, 8, 6, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10000;
  display: grid;
  place-items: center;
  overflow-y: auto;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  width: 100%;
  max-width: 500px;
  padding: 40px;
  position: relative;
  transform: translateY(40px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background-color: var(--bg-white);
  border-radius: 24px;
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  font-size: 2rem;
  font-weight: 300;
  cursor: pointer;
  color: var(--text-secondary);
}

.modal-close-btn:hover {
  color: var(--text-dark);
}

/* ==========================================================================
   15. Mobile-First Responsive Styles overrides
   ========================================================================== */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 76px !important; /* Offset for sticky bottom CTA bar */
  }

  .container {
    padding: 0 16px;
  }

  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .form-subgrid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }

  .why-media-wrapper-custom {
    max-width: 450px;
    margin: 0 auto 32px auto;
  }

  .faq-visual-card {
    display: none !important;
  }
  
  .about-grid, .why-grid, .enquiry-grid, .contact-grid, .faq-grid {
    gap: 40px;
  }
  
  /* Header & Navigation Menu */
  .header {
    height: 70px;
  }

  .header-container {
    padding: 12px 20px;
    height: 100%;
  }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    height: calc(100vh - 70px);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    flex-direction: column;
    padding: 40px 24px;
    gap: 40px;
    border-top: 1px solid rgba(224, 89, 41, 0.04);
    border-bottom: 1px solid var(--border-light);
    transform: translateY(-120%);
    transition: var(--transition-smooth);
    z-index: 999;
    overflow-y: auto;
  }
  
  .nav-menu.active {
    transform: translateY(0);
    box-shadow: 0 15px 30px rgba(224, 89, 41, 0.05);
  }
  
  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 28px;
  }

  .nav-item {
    font-size: 1.15rem;
    font-weight: 600;
  }
  
  .nav-cta-wrapper {
    width: 100%;
    margin-top: 20px;
    text-align: center;
    flex-direction: column !important;
  }
  
  .nav-cta-wrapper .btn {
    width: 100%;
    max-width: 300px;
  }
  
  /* Hero adjustments */
  .hero-section {
    padding-top: 110px;
    padding-bottom: 50px;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  
  .hero-title {
    font-size: 2.5rem;
    text-align: center;
  }

  .hero-subtitle {
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 24px;
  }

  .trust-badge {
    justify-content: center;
    margin-bottom: 28px;
  }
  
  /* Widget form responsive layout */
  .journey-widget {
    padding: 20px;
  }

  .widget-group-container {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  
  .widget-btn {
    width: 100%;
    margin-top: 4px;
  }
  
  /* Stats Bar: Compact row layout for premium aesthetic */
  .stats-bar-section {
    padding: 24px 0;
  }

  .stats-bar-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 0 12px;
  }
  
  .stats-bar-divider {
    display: none;
  }
  
  .stats-bar-item {
    width: 100%;
    padding: 0;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
  }

  .stats-icon-circle {
    width: 32px;
    height: 32px;
  }

  .stats-icon-circle svg {
    width: 14px;
    height: 14px;
  }

  .stats-value {
    font-size: 1.35rem;
  }

  .stats-text {
    font-size: 0.6rem;
    margin-top: 2px;
    line-height: 1.2;
  }
  
  /* Why Features */
  .why-features-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  /* Faculty section header layout */
  .faculty-section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 36px;
  }
  
  /* Announcement banner responsiveness */
  .announcement-banner {
    flex-direction: column;
    padding: 28px 20px;
    text-align: center;
    gap: 20px;
  }
  
  .announcement-countdown-column,
  .announcement-info-column,
  .announcement-action-column {
    width: 100%;
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .announcement-action-column .btn {
    width: 100%;
    max-width: 280px;
  }
  
  /* Global Section & Header Tightening on Mobile */
  .about-section,
  .why-section,
  .courses-section,
  .results-section,
  .faculty-section,
  .testimonials-section,
  .faq-section,
  .enquiry-section,
  .contact-section {
    padding: 60px 0 !important;
  }

  .section-header {
    margin-bottom: 32px !important;
  }

  /* Testimonials Slider Mobile overrides */
  .testimonial-slider-wrapper {
    padding: 40px 20px 32px 20px !important;
    border-radius: 24px;
  }

  .floating-avatars-container {
    display: none !important;
  }

  .decor-dot {
    display: none !important;
  }

  .active-avatar-box {
    width: 90px;
    height: 90px;
    margin-bottom: 16px;
  }

  .active-name {
    font-size: 1.2rem;
  }

  .active-role {
    font-size: 0.85rem;
    margin-bottom: 8px;
  }

  .active-rating-stars {
    font-size: 0.95rem;
    margin-bottom: 16px;
  }

  .testimonial-quote-box {
    padding: 0 10px;
    margin-bottom: 24px;
  }

  .quote-mark {
    font-size: 4rem;
  }

  .quote-open {
    top: -30px;
    left: -10px;
  }

  .quote-close {
    bottom: -60px;
    right: -10px;
  }

  .active-text {
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .slider-controls {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 16px !important;
    position: static !important;
    margin-top: 16px !important;
  }

  .slider-arrow.arrow-left,
  .slider-arrow.arrow-right {
    position: static !important;
    transform: none !important;
    width: 42px !important;
    height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .trust-badge-horizontal {
    flex-direction: column;
    gap: 10px;
    border-radius: 20px;
    padding: 12px 20px;
  }

  /* Stacking Vertical Grids for Courses, Faculty, and Results */
  .courses-grid-custom,
  .faculty-grid-custom,
  .toppers-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    padding: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow-x: visible !important;
    scroll-snap-type: none !important;
  }

  .courses-grid-custom::-webkit-scrollbar,
  .faculty-grid-custom::-webkit-scrollbar,
  .toppers-grid::-webkit-scrollbar {
    display: none !important;
  }

  .courses-grid-custom .subject-card,
  .faculty-grid-custom .tutor-card,
  .toppers-grid .topper-card {
    flex: none !important;
    width: 100% !important;
    scroll-snap-align: none !important;
    scroll-margin-left: 0 !important;
  }

  /* Courses Card overrides */
  .courses-grid-custom .subject-card {
    box-shadow: 0 8px 24px rgba(224, 89, 41, 0.04);
  }

  .subject-card-content {
    padding: 24px 20px 28px 20px !important;
  }

  .subject-card-actions {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  
  .subject-card-actions .btn {
    width: 100%;
  }
  
  .subject-card-img-container {
    height: 180px;
  }

  /* Faculty (Tutors) Card overrides */
  .tutor-image-bg {
    height: 240px !important;
  }

  .tutor-card-details {
    padding: 16px !important;
  }

  /* About Us section responsiveness */
  .about-collage-wrapper {
    padding: 10px;
    margin: 24px auto 0 auto;
    max-width: 450px;
  }
  .floating-badge {
    padding: 10px 14px;
    border-radius: 12px;
  }
  .floating-badge .badge-text strong {
    font-size: 0.8rem;
  }
  .floating-badge .badge-text span {
    font-size: 0.65rem;
  }
  .badge-top-left {
    top: -10px;
    left: -10px;
  }
  .badge-bottom-right {
    bottom: -10px;
    right: -10px;
  }
  .about-feature-num {
    font-size: 1.8rem;
    min-width: 45px;
  }
  .about-features-list {
    gap: 20px;
  }

  /* Results / Toppers Section overrides */
  .results-stats-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 32px;
  }
  .results-stat-card {
    padding: 16px 8px;
    border-radius: 16px;
  }
  .stat-num-big {
    font-size: 1.8rem;
  }
  .stat-label-sub {
    font-size: 0.55rem;
  }

  .topper-avatar-container {
    height: 240px !important;
  }

  .topper-details {
    padding: 20px 16px !important;
  }

  .verification-badge {
    padding: 12px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    text-align: center;
    line-height: 1.4;
  }
  
  /* Sticky bottom CTA bar on mobile */
  .floating-ctas {
    bottom: 0;
    left: 0;
    right: 0;
    flex-direction: row;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid var(--border-light);
    gap: 12px;
    box-shadow: 0 -4px 20px rgba(224, 89, 41, 0.06);
  }
  
  .floating-btn {
    width: 50% !important;
    height: 46px;
    border-radius: 23px !important;
    font-size: 0.88rem;
    gap: 8px;
    box-shadow: none;
  }
  
  .floating-btn-text {
    display: inline !important;
    padding-right: 0 !important;
  }
  
  .floating-btn:hover {
    transform: none;
  }
  
  /* Padding / layout adjustments */
  .contact-card, .form-container, .modal-card {
    padding: 24px 20px;
  }

  .map-wrapper {
    min-height: 280px;
  }

  /* iOS Form Elements Focus Auto-zoom fix */
  .form-input, .form-select, .widget-select {
    font-size: 16px !important; /* Enforces 16px minimum for iOS Safari */
    padding: 12px 14px;
  }

  .modal-card {
    border-radius: 20px;
    margin: auto;
    width: 100%;
    max-width: 440px;
  }

  .modal-card .form-subtitle {
    margin-bottom: 20px;
  }

  .modal-card .enquiry-form {
    gap: 14px;
  }

  .modal-card .form-group {
    gap: 4px;
  }
}

@media (max-width: 480px) {
  .form-subgrid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

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

  .hero-title {
    font-size: 2.1rem;
  }
  
  .hero-ctas {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  
  .hero-ctas .btn {
    width: 100%;
  }

  .about-cta-container .btn {
    width: 100%;
  }
  
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom-grid {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .announcement-banner {
    padding: 24px 12px;
  }

  .countdown-timer {
    gap: 4px;
    width: 100%;
    justify-content: center;
  }

  .timer-unit {
    min-width: 50px;
    padding: 6px 4px;
    border-radius: 8px;
  }

  .timer-unit span:first-child {
    font-size: 1.15rem;
  }

  .unit-label {
    font-size: 0.5rem;
    margin-top: 2px;
  }

  .timer-colon {
    font-size: 1.15rem;
  }
}
