/* 
   MRS Education - Main Website Stylesheet
   Design features: Modern typography, polished components, smooth micro-animations, and full responsiveness.
*/

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

:root {
  --primary: #0b3c95;         /* Deep Navy Blue from Navbar */
  --primary-hover: #072b6c;
  --secondary: #8d1c1e;       /* Maroon from sub-headers */
  --secondary-dark: #631112;  /* Darker Maroon for details bar */
  --accent: #eab308;          /* Yellow/Gold accent */
  --accent-rgb: 234, 179, 8;
  --magenta: #bd125f;         /* Dark magenta accent */
  --bg-beige: #faf7ed;        /* Main banner background color */
  --text-dark: #1e293b;       /* Charcoal for readable body text */
  --text-light: #ffffff;      
  --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Outfit', sans-serif;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font);
}

body {
  background-color: #fcfcfc;
  color: var(--text-dark);
  line-height: 1.6;
  min-width: 1280px;
  width: 100%;
}

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

ul {
  list-style: none;
}

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

button, input, select, textarea {
  font-family: inherit;
  outline: none;
}

/* --- TOP RED TICKER BANNER --- */
.ticker-banner {
  background: linear-gradient(90deg, var(--magenta) 0%, var(--primary) 100%);
  color: var(--text-light);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  height: 38px;
  font-size: 14px;
  font-weight: 500;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.ticker-label {
  display: none;
}

.ticker-wrap {
  width: 100%;
  overflow: hidden;
  height: 100%;
  position: relative;
}

.ticker-content {
  position: absolute;
  left: 100%;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  display: flex;
  align-items: center;
  height: 100%;
  gap: 3rem;
}

.ticker-banner:hover .ticker-content {
  animation-play-state: paused;
}

.ticker-content span {
  display: inline-block;
  padding-right: 50px;
}

@keyframes marquee {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-100%, 0, 0); }
}

/* --- TOP UTILITY BAR --- */
/* --- TOP UTILITY BAR --- */
.utility-bar {
  background: linear-gradient(90deg, #1a3b75 0%, #25529f 50%, #1a3b75 100%);
  color: var(--text-light);
  font-size: 14px;
  padding: 10px 4% 5px 4%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.utility-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.utility-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.utility-item i {
  color: #f97316;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-icon {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  background-color: rgba(255, 255, 255, 0.05);
}

.social-icon:hover {
  background-color: var(--text-light);
  color: #03173d;
  border-color: var(--text-light);
}

.utility-right {
  display: flex;
  align-items: center;
}

.utility-login-btn {
  background-color: transparent;
  color: #ffffff;
  padding: 0;
  border-radius: 0;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.utility-login-btn i {
  color: #ffffff;
}

.utility-login-btn:hover {
  color: #ffffff;
}

/* --- MAIN NAVBAR --- */
.main-header {
  background: linear-gradient(90deg, #1a3b75 0%, #25529f 50%, #1a3b75 100%);
  padding: 10px 1.5% 10px 1.5%;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: padding 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

.nav-container {
  background-color: #ffffff;
  border-radius: 20px;
  padding: 16px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1650px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(0);
  transition: padding 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-radius 0.3s ease, box-shadow 0.3s ease;
}

/* --- SCROLLED STICKY NAVBAR STATE --- */
.main-header.scrolled {
  padding: 6px 1.5% 6px 1.5%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.main-header.scrolled .nav-container {
  padding: 8px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

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

.logo-circle {
  width: 48px;
  height: 48px;
  background-color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
}

.logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-brand {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1;
  color: #D60000;
}

.logo-brand span {
  color: #025969;
}

.logo-subtext {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.7px;
  color: #16a34a;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Desktop Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-item {
  position: relative;
  padding: 10px 10px;
}

.nav-link {
  font-weight: 700;
  font-size: 14px;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 4px;
  padding-bottom: 4px;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: #f97316;
  transition: var(--transition);
}

.nav-item:hover .nav-link::after,
.nav-item.active .nav-link::after {
  width: 100%;
}

.nav-item:hover .nav-link,
.nav-item.active .nav-link {
  color: #0b3c95;
}

/* Badges */
.badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 8px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  animation: blink-badge 1s infinite ease-in-out;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.badge.new {
  background-color: #d946ef;
  color: white;
}

.badge.apply {
  background-color: #ef4444;
  color: white;
}

@keyframes blink-badge {
  0%, 100% { transform: translateX(-50%); opacity: 1; }
  50% { transform: translateX(-50%); opacity: 0; }
}

/* Dropdown Menu */
.dropdown {
  position: absolute;
  top: 105%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background-color: var(--text-light);
  color: var(--text-dark);
  min-width: 220px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #f1f5f9;
  z-index: 1000;
}

.dropdown li a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  border-left: 3px solid transparent;
}

.dropdown li a:hover {
  background-color: #f1f5f9;
  color: var(--primary);
  border-left-color: var(--primary);
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Contact Button */
.contact-nav-btn {
  background-color: var(--primary);
  color: #ffffff;
  padding: 10px 28px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  transition: var(--transition);
  box-shadow: 0 4px 6px rgba(11, 60, 149, 0.15);
}

.contact-nav-btn:hover {
  background-color: #f97316;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* --- HERO SLIDER SECTION --- */
.hero-section {
  padding: 0;
  position: relative;
}

.slider-container {
  width: 100%;
  max-width: 100%;
  position: relative;
  z-index: 2;
}

.slide {
  background-color: #0b3c95; /* MRS primary brand blue frame background */
  border-radius: 0;
  padding: 8px; /* Acts as the brand-blue outline border */
  display: none;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: none;
  box-shadow: none;
}

.slide.active {
  display: flex;
}

/* Custom dot decorations */
.dot-grid {
  position: absolute;
  width: 120px;
  height: 80px;
  background-image: radial-gradient(#0b3c95 20%, transparent 20%);
  background-size: 15px 15px;
  opacity: 0.15;
}

.dot-grid.top-right {
  top: 30px;
  right: 40px;
}

.dot-grid.bottom-left {
  bottom: 30px;
  left: 40px;
}

.slide-content {
  flex: 1;
  max-width: 550px;
  position: relative;
  z-index: 2;
}

.slide-content h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--primary);
  margin-bottom: 8px;
}

.slide-content h1 span {
  display: block;
}

.slide-content p {
  font-size: 18px;
  color: #475569;
  font-weight: 500;
  margin-bottom: 20px;
}

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

.hero-btn {
  background-color: var(--primary);
  color: var(--text-light);
  padding: 14px 35px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 700;
  border: 2px solid var(--primary);
  box-shadow: 0 10px 20px rgba(11, 60, 149, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-btn:hover {
  background-color: var(--text-light);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(11, 60, 149, 0.35);
}

.hero-link {
  font-size: 16px;
  font-weight: 600;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-link:hover {
  color: var(--primary);
}

.slide-image-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}

.slide-img-wrapper {
  background-color: var(--bg-beige);
  border-radius: 30px;
  padding: 10px;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.slide-image-container img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
  height: 230px;
}

/* Slider Controls */
.slider-dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 10;
  margin-top: 0;
  filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.4));
}

.slider-dot {
  width: 25px;
  height: 6px;
  border-radius: 3px;
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background-color: #ffffff;
  width: 45px;
}

/* Slider Navigation Buttons */
.slider-prev, .slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(11, 60, 149, 0.7); /* Translucent brand blue */
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.slider-prev {
  left: 25px;
}

.slider-next {
  right: 25px;
}

.slider-prev:hover, .slider-next:hover {
  background-color: #0b3c95; /* Solid brand blue */
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 15px rgba(11, 60, 149, 0.4);
}

/* Slider Click Areas (Left/Right half overlays) */
.slider-click-area {
  position: absolute;
  top: 0;
  height: 100%;
  width: 50%;
  z-index: 8; /* Overlay above slides but below indicator dots and buttons */
  background: transparent;
}

.slider-click-area.left {
  left: 0;
  cursor: pointer;
}

.slider-click-area.right {
  right: 0;
  cursor: pointer;
}

/* --- DISCOUNT TICKER BAR --- */
.discount-banner {
  background: linear-gradient(90deg, var(--primary) 0%, var(--magenta) 100%);
  color: var(--text-light);
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  overflow: hidden;
  height: 42px;
}

.discount-label {
  display: none;
}

.discount-wrap {
  width: 100%;
  overflow: hidden;
  height: 100%;
  position: relative;
}

.discount-content {
  position: absolute;
  left: 100%;
  white-space: nowrap;
  animation: marquee-discount 24s linear infinite;
  display: flex;
  align-items: center;
  height: 100%;
  gap: 3rem;
}

.discount-banner:hover .discount-content {
  animation-play-state: paused;
}

@keyframes marquee-discount {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-100%, 0, 0); }
}

/* --- QUICK ACCESS SHORTCUTS --- */
.quick-access-section {
  background-color: #f8fafc;
  padding: 3rem 4%;
  border-bottom: 1px solid #e2e8f0;
}

.quick-access-container {
  max-width: 1200px;
  margin: 0 auto;
}

.quick-access-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  justify-content: center;
}

.quick-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.5rem 1rem;
  text-align: center;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
  transition: all 0.25s ease;
}

.quick-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 20px -5px rgba(11, 60, 149, 0.12);
  border-color: var(--primary);
}

.quick-icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all 0.25s ease;
}

/* Custom background tints for each quick card */
.quick-card.c-admission {
  background: #fff5f7;
  border-color: rgba(219, 39, 119, 0.2);
  border-top: 4px solid #db2777;
}
.quick-card.c-verify-stud {
  background: #f0f4fc;
  border-color: rgba(11, 60, 149, 0.2);
  border-top: 4px solid #0b3c95;
}
.quick-card.c-stud-login {
  background: #f0fdf4;
  border-color: rgba(21, 128, 61, 0.2);
  border-top: 4px solid #15803d;
}
.quick-card.c-admit-card {
  background: #fff7ed;
  border-color: rgba(234, 88, 12, 0.2);
  border-top: 4px solid #ea580c;
}
.quick-card.c-result {
  background: #faf5ff;
  border-color: rgba(124, 58, 237, 0.2);
  border-top: 4px solid #7c3aed;
}
.quick-card.c-teach-login {
  background: #ecfeff;
  border-color: rgba(8, 145, 178, 0.2);
  border-top: 4px solid #0891b2;
}
.quick-card.c-verify-teach {
  background: #fff1f2;
  border-color: rgba(190, 18, 60, 0.2);
  border-top: 4px solid #be123c;
}

/* Hover shadow effects matching the custom card color */
.quick-card.c-admission:hover { box-shadow: 0 15px 30px rgba(219, 39, 119, 0.15); border-color: #db2777; background: #ffffff; }
.quick-card.c-verify-stud:hover { box-shadow: 0 15px 30px rgba(11, 60, 149, 0.15); border-color: #0b3c95; background: #ffffff; }
.quick-card.c-stud-login:hover { box-shadow: 0 15px 30px rgba(21, 128, 61, 0.15); border-color: #15803d; background: #ffffff; }
.quick-card.c-admit-card:hover { box-shadow: 0 15px 30px rgba(234, 88, 12, 0.15); border-color: #ea580c; background: #ffffff; }
.quick-card.c-result:hover { box-shadow: 0 15px 30px rgba(124, 58, 237, 0.15); border-color: #7c3aed; background: #ffffff; }
.quick-card.c-teach-login:hover { box-shadow: 0 15px 30px rgba(8, 145, 178, 0.15); border-color: #0891b2; background: #ffffff; }
.quick-card.c-verify-teach:hover { box-shadow: 0 15px 30px rgba(190, 18, 60, 0.15); border-color: #be123c; background: #ffffff; }

/* Custom icon gradients */
.c-admission .quick-icon-wrapper { background: linear-gradient(135deg, #ec4899, #db2777); color: #ffffff; }
.c-verify-stud .quick-icon-wrapper { background: linear-gradient(135deg, #1e40af, #0b3c95); color: #ffffff; }
.c-stud-login .quick-icon-wrapper { background: linear-gradient(135deg, #22c55e, #15803d); color: #ffffff; }
.c-admit-card .quick-icon-wrapper { background: linear-gradient(135deg, #f97316, #ea580c); color: #ffffff; }
.c-result .quick-icon-wrapper { background: linear-gradient(135deg, #a855f7, #7c3aed); color: #ffffff; }
.c-teach-login .quick-icon-wrapper { background: linear-gradient(135deg, #06b6d4, #0891b2); color: #ffffff; }
.c-verify-teach .quick-icon-wrapper { background: linear-gradient(135deg, #f43f5e, #be123c); color: #ffffff; }

.quick-card:hover .quick-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.quick-card span {
  font-size: 0.9rem;
  font-weight: 750;
  color: #1e293b;
  line-height: 1.3;
}

/* --- STATS SECTION --- */
.stats-section {
  padding: 80px 4%;
  background-color: #ffffff;
  text-align: center;
}

.stats-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-card {
  width: 240px;
  height: 275px; /* Compact height matching close-up */
  background: #ffffff;
  display: flex;
  flex-direction: column;
  border-radius: 20px 20px 120px 120px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.32); /* Darker shadow with tighter spread area */
  border: 1px solid #cbd5e1; /* Clear grey border */
  overflow: hidden;
  position: relative;
  
  /* GPU Hardware Acceleration to prevent sub-pixel animation flickering */
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translate3d(0, -5px, 0);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.42); /* Tighter, darker hover shadow */
}

/* Container for top layers */
.stat-card-top {
  position: relative;
  width: 100%;
  height: 135px; /* Increased to fit the shifted design */
  background: #ffffff;
}

/* Layer 1: Dark Blue Banner (Full width, shifted down slightly) */
.stat-card-banner {
  position: absolute;
  top: 15px; /* Shifted down to expose top white margins */
  left: 0;
  width: 100%;
  height: 120px;
  background-color: #0b3c95;
  /* Slants in the middle to create the chevron pointing down */
  clip-path: polygon(0 0, 100% 0, 100% 90px, 82% 90px, 50% 120px, 18% 90px, 0 90px);
  z-index: 2; /* Overlay on top of the bottom content to hide seams */
  
  /* GPU Hardware Acceleration to prevent sub-pixel animation flickering on clip-path */
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

/* Layer 2: Light Blue Badge Sticking Up (Translucent Glassmorphic overlay) */
.stat-card-badge {
  position: absolute;
  top: 0; /* Stays at the very top, making it sit higher than the dark banner */
  left: 50%;
  width: 100px;
  height: 105px;
  background-color: rgba(30, 112, 191, 0.45); /* Semi-transparent blue */
  backdrop-filter: blur(8px); /* Glassmorphism blur */
  -webkit-backdrop-filter: blur(8px);
  border-radius: 12px 12px 0 0; /* Rounded top tab corners */
  clip-path: polygon(0 0, 100% 0, 100% 80px, 50% 105px, 0 80px);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff; /* White icon */
  font-size: 38px;
  padding-bottom: 22px; /* Center icon in the upper portion */
  z-index: 3; /* Always on top */
  
  /* GPU Hardware Acceleration to prevent sub-pixel animation flickering on clip-path */
  will-change: transform;
  transform: translate3d(-50%, 0, 0); /* Combines translate3d with translateX centering */
  transition: var(--transition);
}

.stat-card-badge i {
  display: inline-block;
  transform-origin: center center;
}

.stat-card:hover .stat-card-badge i {
  animation: rapid-spin 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes rapid-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(720deg); }
}

/* Layer 3: Bottom card details */
.stat-card-bottom {
  background-color: #ffffff;
  margin-top: -20px; /* Overlap under the banner to prevent sub-pixel gaps */
  padding: 35px 10px 25px 10px; /* Offset the margin-top with padding-top */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  width: 100%;
  z-index: 1;
}

.stat-card-title {
  font-size: 14px;
  font-weight: 800;
  color: #0b3c95; /* Deep blue title */
  margin-top: 15px; /* Offset below the chevron */
  margin-bottom: 5px;
  text-align: center;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.stat-number {
  font-size: 42px;
  font-weight: 800;
  color: #ff3b30; /* Pinkish-red value */
  margin-top: 5px;
  text-align: center;
  line-height: 1;
}

/* --- BENEFITS / CHOOSE US SECTION --- */
.benefits-section {
  padding: 80px 4%;
  background-color: #f8fafc;
}

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

.section-subtitle-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 15px;
}

.section-subtitle-wrapper .section-subtitle {
  color: var(--primary);
  font-weight: 800;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0;
  display: inline-block;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

.benefit-card {
  background-color: var(--text-light);
  border-radius: 20px;
  padding: 35px 25px;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(0,0,0,0.02);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Slide up grey selection overlay */
.benefit-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: #e2e8f0;
  z-index: -1;
  transition: height 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.benefit-card:hover::before {
  height: 100%;
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.benefit-icon {
  width: 80px;
  height: 80px;
  background-color: #eff6ff;
  color: #0b3c95;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 20px;
  transition: background-color 0.4s ease, color 0.4s ease, border-radius 0.4s ease;
  position: relative;
  z-index: 2;
}

.benefit-icon i {
  transition: transform 0.25s ease;
  display: inline-block;
}

.benefit-card:hover .benefit-icon {
  background-color: #fee2e2;
  color: #ef4444;
  border-radius: 50%;
}

.benefit-card:hover .benefit-icon i {
  transform: rotate(360deg);
}

.benefit-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #0b3c95;
  line-height: 1.3;
  position: relative;
  z-index: 2;
}

.benefit-card p {
  color: #64748b;
  font-size: 14px;
  line-height: 1.6;
  flex-grow: 1;
  position: relative;
  z-index: 2;
}

.benefit-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #e11d48;
  font-weight: 700;
  font-size: 14px;
  margin-top: 15px;
  transition: var(--transition);
  position: relative;
  z-index: 2;
}

.benefit-card-link i {
  transition: transform 0.2s ease;
}

.benefit-card:hover .benefit-card-link i {
  transform: translateX(4px);
}

/* --- COURSES / EDUCATION PROGRAMMES --- */
.courses-section {
  padding: 80px 4%;
  background-color: #fff;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.course-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: 1px solid #f1f5f9;
  transition: var(--transition);
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.course-img-wrapper {
  position: relative;
  height: 200px;
}

.course-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--secondary);
  color: var(--text-light);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 30px;
  text-transform: uppercase;
}

.course-info {
  padding: 25px;
  background-color: #fff;
}

.course-duration {
  font-size: 13px;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 8px;
  display: block;
}

.course-info h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.course-info p {
  color: #64748b;
  font-size: 14px;
  margin-bottom: 20px;
}

.course-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid #f1f5f9;
}

.course-eligibility {
  font-size: 13px;
  color: #94a3b8;
  font-weight: 500;
}

.course-link {
  font-weight: 700;
  color: var(--primary);
  font-size: 14px;
}

.course-link:hover {
  color: var(--secondary);
}

/* --- FRANCHISE INQUIRY FORM --- */
.franchise-section {
  padding: 80px 4%;
  background-image: linear-gradient(135deg, #0b3c95 0%, #071e4a 100%);
  color: var(--text-light);
  position: relative;
}

.franchise-container {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

.franchise-info {
  flex: 1.2;
  min-width: 320px;
}

.franchise-info h2 {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.franchise-info h2 span {
  color: var(--accent);
}

.franchise-info p {
  font-size: 17px;
  color: #cbd5e1;
  margin-bottom: 30px;
}

.contact-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--accent);
}

.contact-detail-text h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
}

.contact-detail-text p {
  font-size: 14px;
  color: #94a3b8;
  margin-bottom: 0;
}

.franchise-form-wrapper {
  flex: 1;
  min-width: 320px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 18px;
  background-color: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: white;
  font-size: 15px;
  transition: var(--transition);
}

.form-control:focus {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(234, 179, 8, 0.15);
}

select.form-control option {
  background-color: #071e4a;
  color: white;
}

.submit-btn {
  width: 100%;
  background-color: var(--accent);
  color: #1e1b4b;
  border: none;
  padding: 14px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 10px;
}

.submit-btn:hover {
  background-color: #facc15;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(234, 179, 8, 0.2);
}

/* --- FOOTER --- */
.footer {
  background-color: #030712;
  color: #9ca3af;
  padding: 80px 4% 30px 4%;
  font-size: 15px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 10px auto;
}

.footer-col h3 {
  color: white;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--secondary);
}

.footer-about p {
  margin-bottom: 20px;
  line-height: 1.7;
}

.footer-links li {
  margin-bottom: 12px;
}

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

.footer-contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
}

.footer-contact i {
  color: var(--secondary);
  font-size: 16px;
  margin-top: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 10px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-bottom p {
  font-size: 14px;
}

.footer-bottom a {
  color: var(--accent);
}

/* --- STICKY FLOATING ACTION BUTTONS --- */
.floating-actions {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  pointer-events: none;
  z-index: 999;
}

.float-btn {
  pointer-events: auto;
  position: absolute;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 30px;
  color: white;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}

.float-btn i {
  font-size: 18px;
}

.float-btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.float-call {
  left: 0;
  background-color: #0b1c66; /* Dark blue background matching logo/navbar */
  padding: 6px 22px 6px 8px; /* Tighter padding around the circular icon */
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.float-call i {
  background-color: #ffffff; /* White circle background */
  color: #0b1c66; /* Dark blue icon color */
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.float-whatsapp {
  right: 0;
  background: linear-gradient(135deg, #25d366, #128c7e);
  padding: 6px 22px 6px 8px; /* Tighter padding around the circular icon */
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.float-whatsapp i {
  background-color: #ffffff; /* White circle background */
  color: #128c7e; /* Green icon color */
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

/* Pulse animation for floating icons */
.float-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 30px;
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.5);
  animation: pulse-btn 2s infinite;
  z-index: -1;
}

.float-whatsapp::before {
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
}

@keyframes pulse-btn {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.2); opacity: 0; }
}

/* --- ABOUT THE COMPANY SECTION --- */
.about-company-section {
  background-color: #ffffff;
  padding: 80px 4% 50px 4%;
  font-family: var(--font);
  overflow-x: hidden; /* Prevent horizontal scrollbars during off-screen transitions */
}

.about-company-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 50px;
}

.about-company-left {
  flex: 1;
  max-width: 450px;
  opacity: 0;
  transform: translate3d(-100vw, 0, 0); /* Start completely off-screen to the left */
  transition: opacity 1.6s cubic-bezier(0.25, 1, 0.5, 1) 0.2s, transform 1.6s cubic-bezier(0.25, 1, 0.5, 1) 0.2s;
  will-change: transform, opacity;
}

.about-emblem-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
}

.about-company-right {
  flex: 1.4;
  opacity: 0;
  transform: translate3d(100vw, 0, 0); /* Start completely off-screen to the right */
  transition: opacity 1.6s cubic-bezier(0.25, 1, 0.5, 1) 0.2s, transform 1.6s cubic-bezier(0.25, 1, 0.5, 1) 0.2s;
  will-change: transform, opacity;
}

/* Scroll Active State (Reveals the columns) */
.about-company-section.active-reveal .about-company-left {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.about-company-section.active-reveal .about-company-right {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.about-subtitle-container {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.about-subtitle {
  font-size: 18px; /* Larger subtitle text size */
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 1px;
}

.about-subtitle-line {
  display: flex;
  flex-direction: column; /* Stack lines vertically */
  align-items: flex-start;
  gap: 5px; /* Spacing between the top and bottom lines */
  margin-left: 10px; /* Spacing from the text label */
}

.about-subtitle-line .line-blue {
  height: 3px; /* Slightly thicker */
  width: 60px; /* Longer top blue line */
  background-color: var(--primary);
}

.about-subtitle-line .line-red {
  height: 3px; /* Slightly thicker */
  width: 110px; /* Longer bottom magenta line */
  background-color: var(--magenta);
}

.about-main-title {
  font-size: 34px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.25;
  margin-bottom: 20px;
}

.about-description {
  font-size: 15px;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 30px;
  text-align: justify;
}

.about-badges-grid {
  display: flex;
  gap: 35px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.about-badge-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.about-badge-icon {
  font-size: 32px;
  color: var(--magenta);
}

.about-badge-text {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.3;
}

.about-details-grid {
  display: grid;
  grid-template-columns: 150px 1fr; /* Compact width column for the card */
  gap: 30px;
  align-items: center; /* Center vertically to align with right checklist */
  margin-bottom: 35px;
}

.experience-box {
  background-color: #f1f5f9;
  border-radius: 16px;
  padding: 25px 15px; /* Thinner padding */
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.01);
  border: 1px solid #e2e8f0;
}

.experience-icon {
  font-size: 46px; /* Larger icon size */
  color: var(--primary);
  margin-bottom: 12px;
}

.experience-number {
  font-size: 60px; /* Larger number */
  font-weight: 600; /* Lighter font weight */
  color: var(--primary);
  line-height: 1;
}

.experience-label {
  font-size: 15px; /* Larger label size */
  color: #64748b;
  font-weight: 500; /* Lighter font weight */
  margin-top: 8px;
  line-height: 1.3;
}

.about-features-list {
  display: flex;
  flex-direction: column;
  gap: 4px; /* Even tighter line spacing */
}

.about-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  color: #1e293b;
}

.about-feature-item i {
  color: var(--magenta);
  font-size: 18px;
}

.about-helpline-box {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 30px;
  border-top: 1px solid #f1f5f9;
  padding-top: 25px;
}

.about-helpline-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.custom-phone-chat-icon {
  position: relative;
  width: 50px;
  height: 50px;
}

.main-phone-icon {
  color: var(--primary); /* Deep navy blue */
  font-size: 34px !important;
  position: absolute;
  bottom: 2px;
  left: 2px;
  transform: rotate(-10deg);
}

.chat-bubble-badge {
  position: absolute;
  top: 4px;
  right: 2px;
  background-color: var(--magenta); /* Dark magenta color */
  width: 22px;
  height: 17px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 0 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.chat-bubble-badge::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 5px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 5px 0 0;
  border-color: var(--magenta) transparent transparent transparent;
}

.chat-bubble-badge .dot {
  width: 3.5px;
  height: 3.5px;
  background-color: #ffffff;
  border-radius: 50%;
}

.about-helpline-text {
  display: flex;
  flex-direction: column;
}

.about-helpline-question {
  font-size: 14px;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 2px;
}

.about-helpline-number {
  font-size: 22px;
  font-weight: 800;
  color: var(--magenta);
  line-height: 1;
}

/* --- OUR AUTHORISATION SECTION --- */
.authorisation-section {
  background-color: #ffffff;
  padding: 80px 4% 60px 4%;
  text-align: center;
  border-top: 1px solid #f1f5f9;
}

.authorisation-container {
  max-width: 1200px;
  margin: 0 auto;
}

.authorisation-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 15px;
}

.auth-subtitle {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 1px;
}

.auth-lines-left {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
}

.auth-lines-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

.line-blue {
  height: 3px;
  width: 60px;
  background-color: var(--primary);
}

.line-red {
  height: 3px;
  width: 110px;
  background-color: var(--magenta);
}

.auth-title {
  font-size: 38px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 20px;
  line-height: 1.2;
}

.auth-description {
  font-size: 15px;
  color: #64748b;
  line-height: 1.7;
  max-width: 900px;
  margin: 0 auto 50px auto;
  text-align: center;
}

.auth-logos-marquee {
  width: 100%;
  overflow: hidden; /* Hide scrollbars & clipped elements */
  padding: 15px 0;
  position: relative;
  /* Prevent repaint flashes and layout shifts */
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
}

/* Gradient fade effects on the left and right edges for a premium scroll look */
.auth-logos-marquee::before,
.auth-logos-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.auth-logos-marquee::before {
  left: 0;
  background: linear-gradient(to right, #ffffff, transparent);
}

.auth-logos-marquee::after {
  right: 0;
  background: linear-gradient(to left, #ffffff, transparent);
}

.auth-logos-track {
  display: flex;
  gap: 0px; /* Zero gap; spacing is controlled by container width */
  width: max-content;
  animation: scroll-marquee 30s linear infinite; /* Adjusted scroll speed for a balanced horizontal glide */
  align-items: center;
  /* GPU layer optimization to prevent flashing or pixel jumping when resetting */
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.auth-logos-marquee:hover .auth-logos-track {
  animation-play-state: paused; /* Pause scrolling on mouse hover */
}

.auth-logo-item {
  flex-shrink: 0; /* Keep uniform logo dimensions */
  width: 140px; /* Tight container width to bring logo drawing centers closer */
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent; /* Transparent background to allow seamless SVG overlap */
  transition: var(--transition);
}

.auth-logo-item svg {
  width: 190px; /* Keep logo vector graphics large and clear */
  height: 80px;
  overflow: visible; /* Allow larger SVG graphics to extend beyond narrow container */
  pointer-events: none;
}

.auth-logo-item:hover {
  transform: translateY(-5px);
}

@keyframes scroll-marquee {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0); /* Loop seamless scroll half track width */
  }
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
  .slide {
    padding: 30px 40px;
  }
  
  .slide-content h1 {
    font-size: 48px;
  }
  
  .slide-content p {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .ticker-banner {
    font-size: 12px;
  }
  
  .utility-bar {
    justify-content: center;
    font-size: 12px;
  }
  
  .mobile-toggle {
    display: block;
    color: #0b3c95;
  }
  
  .nav-menu {
    position: fixed;
    top: 130px; /* Accounts for ticker + utility bar + header height roughly */
    left: -100%;
    width: 80%;
    max-width: 320px;
    height: calc(100vh - 130px);
    background-color: #001f54;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
    gap: 15px;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.2);
    transition: left 0.4s ease;
    overflow-y: auto;
  }
  
  .nav-menu .nav-link {
    color: #ffffff;
  }
  
  .nav-menu.open {
    left: 0;
  }
  
  .nav-item {
    width: 100%;
    padding: 5px 0;
  }
  
  .nav-link {
    font-size: 18px;
    width: 100%;
    justify-content: space-between;
  }
  
  .badge {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    display: inline-block;
    margin-left: 10px;
  }
  
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: none;
    border-radius: 6px;
    width: 100%;
    margin-top: 10px;
    display: none;
  }
  
  .dropdown li a {
    color: var(--text-light);
  }
  
  .nav-item:hover .dropdown {
    display: block;
  }
  
  .contact-nav-btn {
    width: 100%;
    text-align: center;
    margin-top: 15px;
  }
  
  .hero-section {
    padding: 30px 4% 50px 4%;
  }
  
  .slide {
    flex-direction: column-reverse;
    padding: 30px 20px;
    border-radius: 24px;
    gap: 30px;
  }
  
  .slide-content {
    max-width: 100%;
    text-align: center;
  }
  
  .slide-content h1 {
    font-size: 36px;
  }
  
  .slide-content p {
    font-size: 16px;
    margin-bottom: 20px;
  }
  
  .slide-actions {
    justify-content: center;
    flex-direction: column;
    gap: 12px;
  }
  
  .hero-btn {
    width: 100%;
    justify-content: center;
  }
  
  .slide-img-wrapper {
    max-width: 100%;
  }
  
  .slide-image-container img {
    height: 220px;
  }
  
  .franchise-container {
    gap: 40px;
  }
  
  .franchise-info h2 {
    font-size: 32px;
    text-align: center;
  }
  
  .franchise-info p {
    text-align: center;
  }
  
  .contact-details-grid {
    grid-template-columns: 1fr;
  }
  
  .franchise-form-wrapper {
    padding: 25px;
  }
  
  /* Responsive styles for About the Company Section */
  .about-company-container {
    flex-direction: column;
    gap: 40px;
  }
  
  .about-company-left {
    max-width: 320px;
    margin: 0 auto;
    position: static;
  }
  
  .about-main-title {
    font-size: 26px;
    text-align: center;
  }
  
  .about-description {
    font-size: 14px;
    text-align: justify;
  }
  
  .about-badges-grid {
    justify-content: center;
    gap: 20px;
  }
  
  .about-details-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .about-helpline-box {
    justify-content: center;
  }
  
  /* Responsive styles for Authorisation Section */
  .auth-title {
    font-size: 28px;
  }
  
  .auth-description {
    font-size: 14px;
    margin-bottom: 30px;
  }
  
  .auth-logos-track {
    gap: 0px; /* Spacing controlled by container width */
  }
  
  .auth-logo-item {
    width: 100px; /* Narrower mobile container */
    height: 60px;
  }
  
  .auth-logo-item svg {
    width: 140px; /* Large mobile logo size */
    height: 60px;
  }
}

/* --- SOFTWARE FEATURES SECTION --- */
.features-section {
  padding: 80px 4%;
  background-color: #ffffff;
}

.features-section .section-desc {
  color: #64748b;
  font-size: 16px;
  text-align: center;
  margin-top: 15px;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

.features-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 50px auto 0 auto;
  align-items: stretch;
}

@media (max-width: 1024px) {
  .features-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .features-container .feature-list {
    justify-content: flex-start !important;
    gap: 5px !important;
  }
}

.feature-col {
  display: flex;
  flex-direction: column;
}

.col-title {
  font-size: 24px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 10px;
}

/* Colors matching screenshot */
.student-col .col-title {
  color: #00c5ff; /* Cyan */
}

.institute-col .col-title {
  color: #f97316; /* Orange */
}

.coordinator-col .col-title {
  color: #84cc16; /* Lime Green */
}

.feature-list {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
  gap: 8px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 4px;
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 700;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
}

.feature-item i {
  font-size: 13px;
}

/* Backgrounds matching column features */
.student-col .feature-item {
  background-color: #00c5ff; /* Cyan */
}

.institute-col .feature-item {
  background-color: #f97316; /* Orange */
}

.coordinator-col .feature-item {
  background-color: #84cc16; /* Lime Green */
}

/* --- STUDENT REVIEWS TESTIMONIALS SECTION --- */
.testimonials-section {
  padding: 80px 4%;
  background-color: #f8fafc; /* Soft background contrast */
  overflow: hidden;
}

.testimonials-container {
  max-width: 1200px;
  margin: 0 auto;
}

.testimonials-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  gap: 30px;
}

.section-header.align-left {
  text-align: left;
  margin: 0;
  max-width: 850px;
}

.section-subtitle-wrapper.align-left {
  justify-content: flex-start;
}

.section-header.align-left .section-desc {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.testimonial-slider-relative {
  position: relative;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  background-color: #ffffff;
  border-radius: 24px;
  padding: 40px 60px;
  border: 1px solid rgba(11, 60, 149, 0.06);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.testimonial-slider-relative .nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #0b3c95;
  background-color: #ffffff;
  color: #0b3c95;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.testimonial-slider-relative .nav-btn:hover {
  background-color: #0b3c95;
  color: #ffffff;
  transform: translateY(-50%) scale(1.1);
}

#testi-prev {
  left: -25px;
}

#testi-next {
  right: -25px;
}

.testimonial-slider-wrapper {
  overflow: hidden;
  width: 100%;
  padding: 10px 0;
}

.testimonial-slider {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.testimonial-card {
  min-width: calc(50% - 15px);
  max-width: calc(50% - 15px);
  margin-right: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-sizing: border-box;
}

.speech-bubble {
  background-color: #eff6ff;
  border-radius: 20px;
  padding: 30px;
  position: relative;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(11, 60, 149, 0.04);
}

/* Speech bubble pointer tail */
.speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 45px;
  width: 20px;
  height: 20px;
  background-color: #eff6ff;
  transform: rotate(45deg);
  border-right: 1px solid rgba(11, 60, 149, 0.04);
  border-bottom: 1px solid rgba(11, 60, 149, 0.04);
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.01);
}

.review-text {
  color: #475569;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 15px;
  font-weight: 500;
}

.review-stars {
  display: flex;
  justify-content: flex-end;
}

.student-info {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-left: 20px;
  margin-top: 5px;
}

.student-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 3px solid #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  background-color: #f1f5f9;
  flex-shrink: 0;
}

.student-details h4 {
  font-size: 18px;
  font-weight: 800;
  color: #0b3c95;
  margin: 0 0 4px 0;
}

.student-details p {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  margin: 0;
}

/* Mobile overrides */
@media (max-width: 768px) {
  .testimonials-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .testimonial-card {
    min-width: 100%;
    max-width: 100%;
    margin-right: 20px;
    padding: 20px;
  }

  .testimonial-slider-relative .nav-btn {
    width: 40px;
    height: 40px;
    font-size: 14px;
    top: 50%;
  }

  #testi-prev {
    left: 2px;
  }

  #testi-next {
    right: 2px;
  }
}

/* --- ABOUT COMPANY SUBPAGE STYLES --- */
.about-hero {
  position: relative;
  height: 160px;
  background: linear-gradient(135deg, #0b3c95 0%, #025969 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  padding-top: 0px;
  box-sizing: border-box;
}

.about-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 80%);
  z-index: 1;
}

.about-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

.about-hero h1 {
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 4px 0;
  letter-spacing: 1px;
}

.about-hero p {
  font-size: 14px;
  font-weight: 600;
  opacity: 0.95;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #00c5ff;
}

.about-hero-divider {
  display: flex;
  justify-content: center;
  margin-top: 15px;
}

/* Director Section */
.director-section {
  padding: 80px 4%;
  background-color: #f8fafc;
}

.director-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

@media (max-width: 992px) {
  .director-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.director-card {
  background-color: #ffffff;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  border: 1px solid rgba(11, 60, 149, 0.06);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.director-avatar-wrapper {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background-color: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  color: #0b3c95;
  font-size: 44px;
  border: 2px solid #d0e1fd;
}

.director-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: #0b3c95;
  margin: 0 0 5px 0;
}

.director-card p {
  font-size: 14px;
  color: #64748b;
  font-weight: 600;
  margin: 0 0 20px 0;
}

.director-badges {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.director-badges span {
  background-color: #fee2e2;
  color: #d60000;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 700;
}

.director-title {
  font-size: 30px;
  font-weight: 800;
  color: #0b3c95;
  margin-bottom: 25px;
  line-height: 1.3;
}

.director-quote-box {
  position: relative;
  background-color: #ffffff;
  border-radius: 20px;
  padding: 35px;
  border-left: 5px solid #d60000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.director-quote-box .quote-icon {
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 40px;
  color: rgba(11, 60, 149, 0.05);
}

.director-quote-text {
  font-size: 16px;
  line-height: 1.75;
  color: #475569;
  font-weight: 500;
  font-style: italic;
  margin-bottom: 20px;
}

.director-signature h4 {
  font-size: 17px;
  font-weight: 800;
  color: #0b3c95;
  margin: 0 0 3px 0;
}

.director-signature p {
  font-size: 13px;
  color: #64748b;
  font-weight: 600;
  margin: 0;
}

/* Services: What We Do Section */
.what-we-do-section {
  padding: 80px 4%;
  background-color: #ffffff;
}

.what-we-do-container {
  max-width: 1200px;
  margin: 0 auto;
}

.wwd-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

@media (max-width: 992px) {
  .wwd-grid {
    grid-template-columns: 1fr;
  }
}

.wwd-card {
  background-color: #f8fafc;
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  border: 1px solid rgba(11, 60, 149, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.wwd-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
  border-color: rgba(11, 60, 149, 0.08);
  background-color: #ffffff;
}

.wwd-icon-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px auto;
  color: #0b3c95;
  font-size: 28px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.wwd-card:hover .wwd-icon-circle {
  background-color: #0b3c95;
  color: #ffffff;
}

.wwd-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: #0b3c95;
  margin: 0 0 12px 0;
}

.wwd-card p {
  font-size: 14.5px;
  color: #64748b;
  line-height: 1.65;
  font-weight: 500;
  margin: 0;
}

/* Vision & Mission Section */
.vision-mission-section {
  padding: 80px 4%;
  background-color: #f8fafc;
}

.vm-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .vm-container {
    grid-template-columns: 1fr;
  }
}

.vm-card {
  background-color: #ffffff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(11, 60, 149, 0.05);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.vm-header {
  display: flex;
  align-items: center;
  gap: 15px;
}

.vm-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #ffffff;
}

.vision-card .vm-icon {
  background-color: #00c5ff; /* Vision Cyan */
}

.mission-card .vm-icon {
  background-color: #f97316; /* Mission Orange */
}

.vm-card h3 {
  font-size: 24px;
  font-weight: 800;
  color: #0b3c95;
  margin: 0;
}

.vm-card p {
  font-size: 15px;
  color: #475569;
  line-height: 1.7;
  font-weight: 500;
  margin: 0;
}

/* Services Redirect Buttons */
.wwd-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #0b3c95;
  color: #ffffff;
  padding: 10px 22px;
  border-radius: 25px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  margin-top: 25px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(11, 60, 149, 0.15);
}

.wwd-btn:hover {
  background-color: #8d1c1e;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(141, 28, 30, 0.25);
}

.wwd-btn i {
  transition: transform 0.2s ease;
}

.wwd-btn:hover i {
  transform: translateX(4px);
}

/* --- PROMOTIONAL POPUP MODAL STYLES --- */
.promo-popup-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.promo-popup-modal.show {
  opacity: 1;
  pointer-events: auto;
}

.promo-popup-content {
  position: relative;
  max-width: 90%;
  max-height: 85vh;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.promo-popup-modal.show .promo-popup-content {
  transform: scale(1);
}

.promo-popup-img {
  display: block;
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  margin: 0 auto;
}

.promo-popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(11, 60, 149, 0.85);
  color: #ffffff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 24px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  z-index: 1010;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.promo-popup-close:hover {
  background: #ff3b30;
  transform: scale(1.1) rotate(90deg);
}

/* --- COURSE ZONE MODAL STYLES --- */
.zone-courses-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100005;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.zone-courses-modal.show {
  opacity: 1;
  pointer-events: auto;
}

.zone-courses-content {
  position: relative;
  width: 90%;
  max-width: 680px;
  max-height: 80vh;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
}

.zone-courses-modal.show .zone-courses-content {
  transform: scale(1);
}

.zone-courses-header {
  background-color: #0b3c95;
  color: #ffffff;
  padding: 1.25rem 1.5rem;
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 10;
}

.zone-courses-close {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.zone-courses-close:hover {
  color: #ff3b30;
}

.zone-courses-body {
  padding: 1.5rem;
  overflow-y: auto;
  flex: 1;
}

.zone-cat-block {
  margin-bottom: 1.5rem;
}

.zone-cat-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #8d1c1e;
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 0.5rem;
  margin-bottom: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.zone-course-card {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 0.75rem;
  transition: all 0.2s;
}

.zone-course-card:hover {
  border-color: #0b3c95;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.zone-course-card h4 {
  margin: 0 0 0.35rem 0;
  color: #0f172a;
  font-size: 0.95rem;
  font-weight: 700;
}

.zone-course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 600;
}

.zone-course-meta span i {
  color: #0b3c95;
  margin-right: 4px;
}

/* --- MOBILE VIEW OPTIMIZATION OVERRIDES --- */
@media (max-width: 768px) {
  .utility-bar {
    display: none !important; /* Hide utility bar completely on mobile for screen sanity */
  }
  
  .main-header {
    top: 0 !important; /* Pull navbar to top since utility bar is hidden */
    height: 70px !important;
    padding: 0 15px !important;
  }
  
  .nav-menu {
    top: 70px !important; /* Adjust nav list position below header */
    height: calc(100vh - 70px) !important;
    width: 85% !important;
    max-width: 290px !important;
    z-index: 99999 !important;
  }

  .about-hero {
    height: 130px !important;
    padding-top: 50px !important;
  }

  .about-hero h1 {
    font-size: 24px !important;
  }

  .about-hero p {
    font-size: 11px !important;
  }
  
  .hero-section {
    padding-top: 90px !important; /* Account for navbar overlay */
  }
  
  .benefits-grid, .stats-grid, .services-grid, .director-container, .features-container, .footer-container {
    grid-template-columns: 1fr !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    padding: 20px 10px !important;
  }
  
  .director-left, .director-right {
    width: 100% !important;
  }
}

@media (max-width: 480px) {
  .logo-brand {
    font-size: 1.1rem !important;
  }
  
  .logo-subtext {
    display: none !important; /* Hide long subtitle label on mobile */
  }
  
  .logo-circle {
    width: 32px !important;
    height: 32px !important;
  }
  
  .section-title {
    font-size: 1.6rem !important;
    line-height: 1.3 !important;
    padding: 0 10px !important;
  }
  
  .section-desc {
    font-size: 0.85rem !important;
    padding: 0 10px !important;
  }

  .course-card-premium {
    padding: 1.25rem 1rem !important;
  }

  .course-card-premium h4 {
    font-size: 0.95rem !important;
  }
  
  .view-subjects-btn {
    padding: 0.4rem 0.75rem !important;
    font-size: 0.75rem !important;
  }
  
  .zone-courses-content {
    width: 95% !important;
    max-height: 90vh !important;
  }
  
  .visitor-counter-badge {
    margin-left: 0 !important;
    margin-top: 10px !important;
    display: flex !important;
  }
}

/* --- FAQ ACCORDION SECTION --- */
.faq-section {
  padding: 5rem 4%;
  background-color: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.faq-container {
  max-width: 1000px;
  margin: 0 auto;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 3rem;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 10px 15px -3px rgba(11, 60, 149, 0.05);
  border-color: #cbd5e1;
}

.faq-question-btn {
  width: 100%;
  background: none;
  border: none;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  cursor: pointer;
  outline: none;
}

.faq-question-btn h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  transition: color 0.2s;
}

.faq-item.active .faq-question-btn h3 {
  color: #0b3c95;
}

.faq-icon-wrapper {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  transition: all 0.3s ease;
}

.faq-item.active .faq-icon-wrapper {
  background-color: #0b3c95;
  color: #ffffff;
  transform: rotate(180deg);
}

.faq-answer-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background-color: #f8fafc;
  border-top: 0px solid #e2e8f0;
}

.faq-item.active .faq-answer-panel {
  border-top-width: 1px;
}

.faq-answer-content {
  padding: 20px 24px;
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
}

/* --- QUICK ACCESS THREE-COLUMNS LAYOUT --- */
.quick-access-three-columns {
  display: grid;
  grid-template-columns: 310px 1fr 310px;
  gap: 24px;
  max-width: 1650px;
  margin: 0 auto;
}

@media (max-width: 1200px) {
  .quick-access-three-columns {
    grid-template-columns: 1fr;
  }
}

.scrolling-list-panel {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  height: 460px;
}

.scrolling-list-panel h3 {
  font-size: 0.95rem;
  font-weight: 800;
  color: #1e293b;
  margin-top: 0;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 8px;
}

.scrolling-list-panel h3 i {
  color: #0b3c95;
}

.scrolling-list-wrapper {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.scrolling-list-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  position: absolute;
  width: 100%;
  animation: scrollUp 25s linear infinite;
}

/* Pause scroll on hover */
.scrolling-list-wrapper:hover .scrolling-list-content {
  animation-play-state: paused;
}

@keyframes scrollUp {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

.scroll-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color 0.2s;
  width: 90%;
  max-width: 240px;
}

.scroll-student-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
  transition: all 0.2s ease;
  width: 90%;
  max-width: 240px;
  margin: 0 auto;
}

.scroll-student-card:hover {
  transform: scale(1.02);
  border-color: #db2777;
}

.scroll-student-avatar {
  width: 75px;
  height: 75px;
  border-radius: 12px;
  overflow: hidden;
  border: 2.5px solid #f1f5f9;
  background-color: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.scroll-institute-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
  transition: all 0.2s ease;
  width: 90%;
  max-width: 240px;
  margin: 0 auto;
}

.scroll-institute-card:hover {
  transform: scale(1.02);
  border-color: #0b3c95;
}

.scroll-institute-logo {
  width: 75px;
  height: 75px;
  border-radius: 12px;
  overflow: hidden;
  border: 2.5px solid #f1f5f9;
  background-color: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-institute-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scroll-institute-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1e293b;
  word-break: break-word;
}

.scroll-item-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f172a;
}

.scroll-item-detail {
  font-size: 0.74rem;
  color: #64748b;
  font-weight: 500;
}

.scroll-item-date {
  font-size: 0.68rem;
  color: #94a3b8;
  font-weight: 600;
  text-align: right;
}

.scroll-item-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 100%;
  color: #64748b;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Center Panel: Quick Access Buttons */
.quick-access-buttons-panel {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  height: 460px;
}

.quick-access-buttons-panel h3 {
  font-size: 0.95rem;
  font-weight: 800;
  color: #1e293b;
  margin-top: 0;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 8px;
}

.quick-access-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  overflow-y: auto;
  padding-top: 6px;
  padding-bottom: 6px;
  padding-left: 2px;
  padding-right: 4px;
}

.quick-access-grid-3 .quick-card {
  padding: 1rem 0.5rem !important;
  border-radius: 12px;
  gap: 8px;
}

.quick-access-grid-3 .quick-icon-wrapper {
  width: 42px;
  height: 42px;
  font-size: 1.1rem;
}

.quick-access-grid-3 .quick-card span {
  font-size: 0.82rem;
  font-weight: 700;
}

@media (max-width: 768px) {
  .quick-access-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .quick-access-grid-3 .quick-card:last-child {
    grid-column: span 2 !important;
  }
}


