/* =======================================
   SECTION 01 : TOP UTILITY HEADER
======================================= */
:root {
  --deep-blue: #091a36; /* Premium Solid Deep Blue */
  --saffron: #FF9933; /* Indian National Saffron */
  --green: #138808; /* Indian National Green */
  --white: #FFFFFF;
  --text-primary: #f1f5f9;
  --text-muted-cyan: #94a3b8;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Poppins', sans-serif;
}

/* Header Container */
.top-utility-header {
  background-color: var(--deep-blue);
  color: var(--text-primary);
  font-family: var(--font-sans);
  position: relative;
  z-index: 1000;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* =======================================
   SECTION 01 : TOP UTILITY HEADER LAYOUT
======================================= */

/* Header Wrapper - Flex Row on Desktop (>= 992px) */
.header-main-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
  width: 100%;
}

/* Left side branding block */
.header-branding-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  line-height: 1.35;
}

.welcome-text {
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.015em;
  color: #ffffff;
  display: block;
  width: 100%;
}

.subtitle-text {
  font-size: 0.75rem;
  font-weight: 500;
  color: #FFB300; /* Beautiful premium deep gold yellow */
  letter-spacing: 0.015em;
  display: block;
  width: 100%;
}

/* Middle Subtle Horizontal Outline - visible on Mobile/Tablet (< 992px) */
.header-middle-outline {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.12); /* High quality clean outline */
  margin: 0.375rem 0;
}

/* Actions block containing buttons and social icons */
.header-actions-block {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Buttons group inside actions block */
.header-buttons-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Prospectus / Action Button Styling */
.btn-prospectus {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.35rem 0.75rem;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  white-space: nowrap;
}

.btn-prospectus:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.btn-prospectus i {
  font-size: 0.9rem;
  color: var(--saffron); /* Saffron accent icon for premium feel */
  transition: transform 0.25s ease;
}

.btn-prospectus:hover i {
  transform: translateY(1px);
}

/* Animated bounce simulation for download */
@keyframes prospectus-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

.animate-bounce {
  animation: prospectus-bounce 2s infinite ease-in-out;
  display: inline-block;
}

/* Professional pulse animation for Job Portal */
@keyframes portal-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

.animate-pulse-subtle {
  animation: portal-pulse 2s infinite ease-in-out;
  display: inline-block;
}

/* Staggered breathing animations for social icons */
@keyframes social-breathe {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.12); opacity: 1; }
}

.animate-social-fb {
  animation: social-breathe 3s infinite ease-in-out;
  display: inline-block;
}

.animate-social-insta {
  animation: social-breathe 3s infinite ease-in-out;
  animation-delay: 0.6s;
  display: inline-block;
}

.animate-social-yt {
  animation: social-breathe 3s infinite ease-in-out;
  animation-delay: 1.2s;
  display: inline-block;
}

.animate-social-ln {
  animation: social-breathe 3s infinite ease-in-out;
  animation-delay: 1.8s;
  display: inline-block;
}

/* Vertical divider (Desktop only) */
.header-vertical-divider {
  width: 1px;
  height: 18px;
  background-color: rgba(255, 255, 255, 0.15);
}

/* Social Media Icons Container */
.social-icons-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.social-icon-link {
  color: #cbd5e1;
  font-size: 0.95rem;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.social-icon-link:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Decorative Tricolor Flag Border */
.flag-border-container {
  display: flex;
  width: 100%;
  height: 2px; /* Thinner elegant border */
}

.flag-band {
  flex: 1;
  height: 100%;
}

.band-saffron {
  background-color: var(--saffron);
}

.band-white {
  background-color: var(--white);
}

.band-green {
  background-color: var(--green);
}

/* =======================================
   RESPONSIVE DESIGN BREAKPOINTS
======================================= */



/* Force standard corporate px-5 padding and centered max-width for desktop and tablet containers */
.top-utility-header .container-fluid {
  max-width: 1400px;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 3rem !important; /* Exact Bootstrap px-5 margin */
  padding-right: 3rem !important;
}

/* Tablet and Mobile Override (< 1200px) */
@media (max-width: 1199.98px) {
  .top-utility-header .container,
  .top-utility-header .container-fluid,
  .navbar .container,
  .navbar .container-fluid {
    padding-left: 1.25rem !important; /* 20px comfortable left-right padding */
    padding-right: 1.25rem !important;
  }

  .top-utility-header {
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
  }

  .header-main-wrapper {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0.25rem 0;
  }
  
  .header-branding-block {
    align-items: center; /* Center-align the titles for mobile/tablet */
    text-align: center;
    margin-bottom: 0.375rem;
    width: 100%;
  }
  
  .header-actions-block {
    display: flex;
    justify-content: space-between; /* Buttons left, Icons right in one clean line */
    align-items: center;
    width: 100%;
    margin-top: 0.25rem;
  }
}

/* Ultra-compact override for small mobile devices (< 576px) */
@media (max-width: 575.98px) {
  .top-utility-header .container,
  .top-utility-header .container-fluid,
  .navbar .container,
  .navbar .container-fluid {
    padding-left: 1rem !important; /* 16px clean side padding on mobile */
    padding-right: 1rem !important;
  }

  .top-utility-header {
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
  }

  .header-branding-block {
    align-items: center;
    text-align: center;
    margin-bottom: 0.3rem;
  }

  .welcome-text {
    font-size: 0.7rem;
    letter-spacing: -0.01em;
    text-align: center !important;
  }

  .subtitle-text {
    font-size: 0.58rem;
    letter-spacing: -0.01em;
    text-align: center !important;
  }

  .btn-prospectus {
    font-size: 0.675rem;
    padding: 0.2rem 0.4rem;
  }
  
  .btn-prospectus i {
    font-size: 0.75rem;
  }

  .social-icon-link {
    width: 22px;
    height: 22px;
    font-size: 0.75rem;
  }
  
  .header-actions-block {
    gap: 0.2rem;
  }
  
  .header-buttons-group {
    gap: 0.2rem;
  }
}

/* Specific extra guard for ultra-compact screen widths to guarantee no single-word title wrapping */
@media (max-width: 375px) {
  .welcome-text {
    font-size: 0.65rem !important;
  }
  .subtitle-text {
    font-size: 0.54rem !important;
  }
}


/* =====================================================
   SECTION 02 : MAIN NAVIGATION HEADER
===================================================== */
.navbar {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  font-family:'Poppins', sans-serif;
  background-color: #ffffff !important;
  border-bottom: none;
  color: #212529;
  z-index: 999;
}

.navbar-brand img {
  height: 65px;
  width: auto;
  object-fit: contain;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-item {
  white-space: nowrap;
}

.nav-link {
  padding: 6px 12px !important;
  font-weight: 700;
  color: #001f4d !important;
  font-size: 14px;
  text-transform: uppercase;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
}

@media (min-width: 1200px) {
  .navbar-nav .nav-item {
    margin-right: 2px !important; /* Move items closer together on desktop */
  }
  .nav-link {
    padding: 6px 8px !important; /* Move them closer together on desktop */
  }
  .dropdown-submenu > .dropdown-toggle::after {
    border-top: 0.3em solid transparent !important;
    border-right: 0 !important;
    border-bottom: 0.3em solid transparent !important;
    border-left: 0.3em solid !important;
    margin-left: 15px !important;
  }
}

/* Submenu caret defaults and transition */
.dropdown-submenu > .dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.dropdown-submenu > .dropdown-toggle::after {
  display: inline-block;
  vertical-align: middle;
  content: "";
  transition: transform 0.2s ease;
}

.nav-link:hover,
.nav-link:focus {
  color: #ff9800 !important;
  background: transparent !important;
}

.nav-link i {
  font-size: 14px;
  margin-right: 5px;
}

/* Dropdown Menu */
.dropdown-menu {
  border-radius: 6px;
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.15);
  border: none;
  padding: 0.5rem 0;
  background-color: #002244 !important;
  animation: navDropdownFade 0.22s ease-out;
}

@keyframes navDropdownFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.dropdown-menu .dropdown-item {
  color: #ffffff !important;
  font-family: 'Poppins', sans-serif !important;
  font-weight: 500 !important;
  font-size: 13.5px !important;
  letter-spacing: 0.3px;
  text-transform: none !important; /* Match the casing of the HTML program */
  border-radius: 4px;  
}

.dropdown-item {
  font-family: 'Poppins', sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  text-transform: none !important; /* Match the casing of the HTML program */
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background-color: #ff9800 !important;
  color: #000000 !important;
  padding-left: 20px !important;
}

/* Desktop Dropdown Hover implementation using pure CSS for bulletproof reliability */
@media (min-width: 1200px) {
  .navbar .nav-item.dropdown:hover > .dropdown-menu,
  .navbar .login-dropdown:hover > .dropdown-menu {
    display: block !important;
    margin-top: 0 !important; 
  }
  .dropdown-submenu {
    position: relative;
  }
  .dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
    display: none;
  }
  .dropdown-submenu:hover > .dropdown-menu {
    display: block !important;
  }
}

/* Login Button */
.login-btn {
  background: linear-gradient(135deg, #ffc107, #ffb300) !important;
  color: #000 !important;
  padding: 8px 20px !important;
  min-width: 120px !important;
  border: none !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15) !important;
  transition: all 0.3s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.login-btn:hover,
.login-btn:focus {
  background: linear-gradient(135deg, #0d47a1, #1976d2) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2) !important;
  color: #fff !important;
}

.login-btn .login-icon {
  transition: color 0.3s ease !important;
}

.login-btn:hover .login-icon,
.login-btn:focus .login-icon {
  color: #fff !important;
}

.login-btn.dropdown-toggle::after {
  display: inline-block !important;
  content: "" !important;
  border-top: 0.3em solid currentColor !important; /* Dynamically inherits text color */
  border-right: 0.3em solid transparent !important;
  border-left: 0.3em solid transparent !important;
  border-bottom: 0 !important;
  margin-left: 8px !important;
  vertical-align: middle !important;
  transition: color 0.3s ease !important;
}

/* Tri-color flag brand ribbon at the bottom of navbar */
.nav-flag-stripe {
  height: 2px;
  width: 100%;
  display: flex;
  position: absolute;
  bottom: 0;
  left: 0;
  overflow: hidden;
}

.nav-flag-stripe .stripe-segment {
  height: 100%;
}

.stripe-saffron { background-color: var(--saffron, #ff9933); }
.stripe-white { background-color: #ffffff; }
.stripe-green { background-color: var(--green, #138808); }
.band-saffron { background-color: var(--saffron, #ff9933); }
.band-white { background-color: #ffffff; }
.band-green { background-color: var(--green, #138808); }

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 1199.98px) {
  .navbar-collapse {
    background-color: #002244 !important; /* Solid dark blue brand color for the entire mobile menu */
    border-radius: 8px !important;
    padding: 12px 15px !important; /* Slightly more compact vertical padding */
    margin-top: 10px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25) !important;
    max-height: 70vh !important; /* Limit maximum height of the expanded menu on mobile/tablets */
    overflow-y: auto !important; /* Enable scrolling for extensive menu lists */
  }

  .navbar-nav {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin-top: 0;
    background-color: transparent !important; /* Transparent as parent is already dark blue */
    padding: 0 !important;
  }
  
  .nav-item {
    width: 100%;
    margin-bottom: 5px !important; /* Elegant spacing between primary options */
  }
  
  .nav-link {
    width: 100%;
    padding: 10px 14px !important; /* Generous comfortable touch targets */
    color: #ffffff !important; /* Brilliant high-contrast white text */
    font-weight: 500 !important; /* Sleek, clean, and highly professional medium weight */
    text-transform: none !important; /* Retain beautiful natural title case casing */
    font-size: 0.95rem !important; /* High readability */
    border-radius: 6px !important; /* Smooth hover transition corners */
  }
  
  .nav-link:hover,
  .nav-link:focus {
    color: #ff9800 !important;
    background-color: rgba(255, 152, 0, 0.1) !important;
  }
  
  .dropdown-menu {
    position: static !important;
    width: 100% !important;
    box-shadow: none !important;
    padding: 6px 0 6px 12px !important; /* Restored elegant horizontal breathing room */
    margin-top: 4px !important; /* Sleek transition margin */
    background-color: #002244 !important; /* Exact same dark blue as desktop mode! */
    border: none !important;
    border-left: 2px solid rgba(255, 255, 255, 0.15) !important; /* Indication ribbon for clear hierarchy */
  }

  .dropdown-menu .dropdown-item {
    color: #ffffff !important;
    font-weight: 500 !important; /* Refined semi-bold to professional medium */
    padding: 9px 14px !important; /* Luxurious comfortable touch target, resolves overlap completely */
    font-size: 0.92rem !important; /* High readability */
    line-height: 1.4 !important; /* Healthy line height for wrapped text */
    white-space: normal !important; /* Allow graceful wrapping without horizontal squashing */
    border-radius: 6px !important;
  }

  .dropdown-menu .dropdown-item:hover,
  .dropdown-menu .dropdown-item:focus {
    background-color: #ff9800 !important;
    color: #000000 !important;
    padding-left: 18px !important; /* Controlled sliding on hover */
  }
  
  .dropdown-submenu .dropdown-menu {
    position: static !important;
    display: none; 
    padding: 6px 0 6px 12px !important; /* Nesting alignment with elegant vertical breathing space */
    background-color: #001e3d !important; /* Deep contrast tone for nested submenu items */
    box-shadow: none !important;
    border: none !important;
    border-left: 3px solid #ff9800 !important; /* Premium brand gold indicator */
    margin-top: 4px !important;
  }
  
  .dropdown-submenu .dropdown-menu.show {
    display: block !important;
  }
  
  .dropdown-submenu > .dropdown-toggle::after {
    border-top: 0.3em solid !important;
    border-right: 0.3em solid transparent !important;
    border-bottom: 0 !important;
    border-left: 0.3em solid transparent !important;
    margin-left: auto !important;
  }
  
  .dropdown-submenu > .dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
  }
  
  .login-dropdown {
    width: 100% !important;
    margin-top: 10px !important; /* Reduced top gap for professional layout */
    margin-bottom: 5px !important;
    display: block !important; /* Block layout so elements stack perfectly */
  }
  
  .login-btn {
    width: 100% !important; /* Full width login button */
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }
  
  .login-menu {
    position: static !important; /* Flow inline on mobile */
    float: none !important;
    width: 100% !important;
    background-color: #002244 !important; /* Keep exact same deep background color as desktop dropdown */
    border: none !important;
    border-left: 2px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: none !important;
    padding: 6px 0 6px 12px !important; /* Perfect uniform padding */
    margin-top: 4px !important;
    transform: none !important; /* Disable bootstrap popper transforms */
  }

  .login-menu .dropdown-item {
    padding: 9px 14px !important; /* Match navigation items precisely */
    color: #ffffff !important;
    font-weight: 500 !important; /* Refined semi-bold to professional medium */
    font-size: 0.92rem !important;
    line-height: 1.4 !important;
    white-space: normal !important;
    border-radius: 6px !important;
  }

  .login-menu.show {
    display: block !important;
  }
}

@media (max-width: 767.98px) {
  .navbar-brand img {
    height: 50px;
  }
}
/* ==================== Navigation Bar Section End ==================== */


/* ==================== Footer Section (Patriotic & Elegant) ==================== */
.footer-flag-stripe {
  height: 2px;
  width: 100%;
  display: flex;
  overflow: hidden;
  position: relative;
  z-index: 10;
}
.footer-flag-stripe .stripe-segment {
  height: 100%;
  flex: 1 1 33.333% !important;
}

.footersection {
  /* Government-style premium dark blue-gray gradient matching the header color */
  background: linear-gradient(rgba(9, 26, 54, 0.94), rgba(9, 26, 54, 0.96)),
              url("images/centre.jpg") no-repeat center center/cover;
  color: #f1f5f9;                  /* Eye-pleasing off-white text */
  font-size: 15px;                 /* Standard, highly readable font size */
  font-family: 'Poppins', sans-serif; /* Clean, professional typography */
  padding: 55px 0;                 /* Generous spacing around content */
}

.footersection img.footer-logo {
  max-width: 65px !important;      /* Slightly larger brand logo for readability */
  height: auto;
  border-radius: 4px;              
  margin: 8px 0 15px 0;            
  background: #ffffff;             /* Premium white patch behind logo */
  padding: 5px;                    
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25); /* Professional soft drop shadow */
}

.footersection a {
  color: #cbd5e1;                  
  text-decoration: none;
  transition: all 0.25s ease-in-out;
  font-family: 'Poppins', sans-serif;
}

.footersection a:hover {
  color: #ff9800;                  /* Unified golden-orange brand accent hover color */
  text-decoration: none;
}

/* -------------------- Column Specific -------------------- */
.footer-col-left p.footer-desc {
  font-size: 13.5px;               
  line-height: 1.65;               
  color: #ffffff;                  
  text-align: justify;             
  white-space: normal;             
  word-wrap: break-word;           
  overflow: visible;               
  font-family: 'Poppins', sans-serif; 
  margin-top: 10px;                
}

.footer-col-middle {
  padding-top: 20px; 
}

.footersection h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.footer-col-middle h6 {
  color: #ffd700;   /* Premium Gold heading */
  font-size: 16px;
  margin-bottom: 12px;
  font-family: 'Poppins', sans-serif; 
  font-weight: 600;
}

.footer-col-middle .footer-icon-links a {
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Poppins', sans-serif;
}

.footer-col-middle .footer-icon-links a i {
  font-size: 16px;
}

.footer-col-middle .footer-icon-links a:hover {
  color: #ff9800;
}

/* Right Column (Contact Info) */
.footer-col-right {
  padding-top: 20px; 
}

.footer-col-right h6 {
  color: #4ade80;  /* Official vibrant green header matching flag accents */
  font-size: 16px;
  margin-bottom: 12px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

.footer-col-right p {
  font-size: 15px;
  color: #e5e7eb;
}

.footer-col-right a.footer-link {
  color: #60a5fa;
}

.footer-col-right a.footer-link:hover {
  color: #ff9800;
}

/* Scholarship & Job Scheme Containers */
.scheme-mini-container {
  display: flex;
  align-items: stretch; /* crucial for matching heights! */
  justify-content: center;
  gap: 12px;                  
  flex-wrap: nowrap;
  margin-top: 30px;
  font-family: 'Poppins', sans-serif;
  width: 100%;
}

.scheme-mini {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;          
  border-radius: 10px;
  transition: all 0.3s ease;
  flex: 1 1 0%;
  width: 50%;
  max-width: 185px;
  min-width: 0; /* allows shrinking without overflow */
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  color: #fff;
}

.scheme-mini:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.scheme-mini i {
  font-size: 14px;            
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  flex-shrink: 0;
  background: rgba(255,255,255,0.25);
  color: #fff;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2), 0 2px 4px rgba(0, 0, 0, 0.15); /* Slight shadow behind it */
}

.scheme-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0; /* lets the text wrap instead of overflow */
}

.scheme-text .highlight {
  font-size: 13px;            
  font-weight: 600;
  margin: 0;
  color: #fff;
  letter-spacing: 0.3px;
  text-transform: capitalize; 
  white-space: normal; /* allow wrapping! */
  word-wrap: normal;
  overflow-wrap: normal;
  word-break: keep-all;
  line-height: 1.25;
}

.scheme-mini.scholarship {
  background: linear-gradient(135deg, #2563eb, #1e40af);
}

.scheme-mini.job {
  background: linear-gradient(135deg, #16a34a, #166534);
}

/* ==================== Bottom Footer Bar (Govt Style) ==================== */
.bottom-footerbar {
  background: #091a36 !important; /* Perfect deep solid navy matching the primary header */
  color: #94a3b8;                 
  font-family: 'Poppins', Tahoma, Geneva, Verdana, sans-serif; 
  font-size: 12.5px; /* Slightly smaller on desktop */
  border-top: 1px solid rgba(255, 255, 255, 0.08); 
  padding: 10px 0; /* Shorter padding for more compact footer bar */               
}

.footerbar-content-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.footerbar-copyright-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  flex-wrap: nowrap;
  font-size: 12.5px;
  letter-spacing: 0.3px;
  color: #ffffff;
}

.footerbar-copyright-row strong {
  color: #ffffff;
  font-weight: 600;
}

.footerbar-copyright-row .divider-bar {
  color: rgba(255, 255, 255, 0.3);
  margin: 0 4px;
}

.footerbar-social-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.footerbar-social-row .follow-us-text {
  font-size: 12.5px;
  font-weight: 500;
  color: #cbd5e1;
}

.footerbar-social-row .social-icons-box {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bottom-footerbar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1 !important;      
  font-size: 14px; /* Slightly smaller social icon size */               
  transition: all 0.25s ease;    
  text-decoration: none;
  width: 28px; /* Compact width */
  height: 28px; /* Compact height */
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.bottom-footerbar a:hover {
  color: #ff9800 !important;      
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.25);
}

.bottom-footerbar a i {
  vertical-align: middle;
}

/* -------------------- Responsive Tuning -------------------- */
@media (max-width: 991.98px) {
  .footersection {
    font-size: 14px;
    padding: 35px 0;
  }

  /* Make DigiByte Image less prominent on tablet/mobile */
  .footersection img.footer-logo {
    margin: 0 auto 15px auto;
    display: block;
    width: 44px !important;
    height: 44px !important;
    object-fit: contain !important;
    border-radius: 8px !important;
    padding: 4px !important;
    background: #ffffff !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15) !important;
    opacity: 0.8 !important;
    transition: all 0.3s ease !important;
  }
  .footersection img.footer-logo:hover {
    opacity: 1 !important;
    transform: scale(1.05);
  }

  .footer-col-left, .footer-col-middle, .footer-col-right {
    margin-bottom: 25px;
  }
  
  .scheme-mini-container {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    gap: 12px !important;
    margin-top: 20px !important;
    width: 100% !important;
    max-width: 440px !important; /* Matches desktop boundaries scaled down */
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Keep full desktop style vibrancy, shadows, and matching sizes on tablet */
  .scheme-mini {
    opacity: 1 !important; /* Same as desktop view, fully vibrant */
    transform: none !important;
    transition: all 0.3s ease !important;
    flex: 1 1 50% !important; /* Symmetrical equal widths */
    width: 50% !important;
    max-width: 185px !important; /* Exact desktop size */
    min-width: 0 !important; /* Allows them to shrink seamlessly to fit layout */
    padding: 10px 14px !important;
    gap: 10px !important;
    justify-content: center !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15) !important; /* Professional shadow */
    border-radius: 10px !important; /* Exact desktop border radius */
  }
  .scheme-mini:hover {
    transform: translateY(-3px) scale(1.02) !important;
  }

  .scheme-text .highlight {
    font-size: 13px !important; /* Match desktop font size */
    white-space: normal !important; /* Allow proper text wrapping onto two lines, matching the picture */
    word-wrap: normal !important;
    overflow-wrap: normal !important;
    word-break: keep-all !important;
    line-height: 1.25 !important;
  }

  /* Bottom footer layout for tablet (stacked below the copyright) */
  .footerbar-content-wrapper {
    flex-direction: column !important;
    justify-content: center !important;
    gap: 10px !important;
    text-align: center !important;
  }

  .footerbar-copyright-row {
    justify-content: center !important;
    white-space: nowrap !important; /* Keep copyright line on one line on tablet */
    font-size: 12.5px !important;
  }

  .footerbar-social-row {
    flex-direction: row !important;
    justify-content: center !important;
  }
}

@media (max-width: 767.98px) {
  .footersection {
    font-size: 13.5px;
    padding: 30px 0;
  }

  .footersection .row {
    flex-direction: column;
  }

  .footer-col-left, .footer-col-middle, .footer-col-right {
    width: 100% !important;
    margin-bottom: 25px;
  }

  .footersection h6 {
    font-size: 15px;
  }

  .bottom-footerbar {
    padding: 12px 0;
  }

  /* Split copyright into two lines on mobile, but keep horizontal icons */
  .footerbar-copyright-row {
    flex-direction: column !important;
    gap: 4px !important;
    white-space: normal !important;
    text-align: center !important;
    font-size: 12px !important;
  }

  .footerbar-copyright-row .divider-bar {
    display: none !important;
  }

  .footerbar-social-row {
    justify-content: center !important;
    margin-top: 4px !important;
  }
}

/* Custom scaling for side-by-side buttons and footerbar elements on small mobile */
@media (max-width: 575.98px) {
  .scheme-mini-container {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 340px !important; /* Perfect boundaries, centered */
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 20px !important;
  }
  .scheme-mini {
    flex: 1 1 50% !important; /* Forces symmetrical equal widths side-by-side */
    width: 50% !important;
    max-width: 165px !important;
    min-width: 0 !important;
    padding: 8px 10px !important;
    gap: 6px !important;
    justify-content: center !important; /* Centered content, very professional */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12) !important;
    border-radius: 8px !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .scheme-mini:hover {
    transform: translateY(-2px) !important;
  }
  .scheme-mini i {
    font-size: 11px !important;
    width: 22px !important;
    height: 22px !important;
    border-radius: 5px !important;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.25), 0 1.5px 3px rgba(0, 0, 0, 0.15) !important;
  }
  .scheme-text {
    text-align: left !important;
  }
  .scheme-text .highlight {
    font-size: 10.5px !important;
    line-height: 1.15 !important;
    white-space: normal !important; /* Allow clean word wrap so text never overflows side-by-side buttons */
    word-wrap: normal !important;
    overflow-wrap: normal !important;
    word-break: keep-all !important;
  }
  
  .footerbar-content-wrapper {
    gap: 10px !important;
  }
  .footerbar-social-row {
    gap: 8px !important;
  }
}

/* Precise fine-tuning for ultra-small mobile screens < 360px */
@media (max-width: 360px) {
  .scheme-mini-container {
    gap: 6px !important;
    max-width: 290px !important;
  }
  .scheme-mini {
    padding: 6px 6px !important;
    gap: 4px !important;
  }
  .scheme-mini i {
    font-size: 10px !important;
    width: 18px !important;
    height: 18px !important;
  }
  .scheme-text .highlight {
    font-size: 9.5px !important;
    line-height: 1.1 !important;
  }
}

/* Precise scaled-down layout for viewports between 992px and 1199.98px (e.g. 1024px tablet/iPad Pro) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .scheme-mini-container {
    gap: 8px !important;
    max-width: 320px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .scheme-mini {
    max-width: 155px !important;
    padding: 8px 10px !important;
    gap: 8px !important;
  }
  .scheme-mini i {
    font-size: 11px !important;
    width: 22px !important;
    height: 22px !important;
  }
  .scheme-text .highlight {
    font-size: 11.5px !important;
    line-height: 1.2 !important;
  }
}

/* Custom Hero Slider Styles */
.hero {
  padding: 10px 0 5px 0; /* Extremely compact vertical padding - fixes height above/below */
  background-color: #f8f9fa; /* Sleek light off-white background outside the card */
}

/* Symmetrical tri-color border at the absolute bottom of the entire hero section */
.hero-flag-stripe {
  height: 2px; /* Thinner border for all sections as requested */
  width: 100%;
  display: flex;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 10;
  overflow: hidden;
}

.hero-flag-stripe .stripe-segment {
  height: 100%;
}

/* Rounded banner card matching the layout exactly */
#heroCarousel {
  position: relative;
  max-width: 1560px; /* Expanded left and right as requested */
  width: calc(100% - 48px); /* Perfect horizontal spacing on desktop and wide monitors */
  margin: 0 auto;
  border-radius: 16px; /* Corrected: less rounded as requested, highly professional */
  overflow: hidden !important;
  background-color: #030a16;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

#heroCarousel .carousel-inner,
#heroCarousel .carousel-item {
  overflow: hidden !important; /* Extremely secure: completely prevents any content overflow horizontal scrolling or layout jumping during slide transitions */
}

/* Patriotic dual saffron-to-green split border accent */
#heroCarousel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px; /* Must match the container exactly */
  padding: 1.5px; /* Thinner elegant border as requested */
  background: linear-gradient(90deg, #ff9933 0%, #ff9933 33.33%, #ffffff 33.33%, #ffffff 66.66%, #138808 66.66%, #138808 100%);
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0) border-box;
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 5;
}

/* Inner hero card container - unified min-height across slides prevents dynamic height layout shifts */
.idst-hero {
  position: relative;
  width: 100%;
  min-height: 480px; /* Unified height on desktop prevents layout shifts (CLS) completely */
  display: flex;
  align-items: center;
  padding: 40px 0; /* 0 horizontal padding so card background stretches fully, content aligned via .idst-inner */
  /* Elegant tech background grid pattern and radial light flares */
  background: radial-gradient(circle at 80% 30%, rgba(0, 163, 255, 0.16) 0%, rgba(4, 11, 23, 0) 60%),
              radial-gradient(circle at 15% 85%, rgba(255, 106, 0, 0.08) 0%, rgba(4, 11, 23, 0) 55%),
              linear-gradient(135deg, #030a16 0%, #051429 50%, #01060e 100%);
}

.idst-inner {
  position: relative;
  z-index: 2;
}

/* Badges, text, subtitles, descriptions */
.idst-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 106, 0, 0.1);
  border: 1px solid rgba(255, 106, 0, 0.25);
  color: #ff6a00;
  font-family: 'Poppins', sans-serif;
  font-size: 0.725rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.idst-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  color: #ffffff;
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  min-height: 80px; /* Fully stabilizes height on large desktop screens */
}

.idst-title .highlight {
  color: #ff6a00; /* Beautiful saffron highlight */
}

.idst-unit-line {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: #10b981; /* National Green color for better tomorrow */
  font-weight: 600;
  margin-bottom: 12px;
}

.idst-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: #94a3b8; /* Slate gray description */
  line-height: 1.5;
  margin-bottom: 10px;
  max-width: 540px;
  min-height: 52px; /* Compact height so trust items sit higher up */
}

.idst-desc .desc-highlight {
  color: #ffffff;
  font-weight: 600;
}

/* Trust items underneath description */
.idst-trust {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.idst-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.775rem;
  color: #e2e8f0;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.idst-trust-item i {
  color: #10b981; /* Vibrant green icons */
  font-size: 0.85rem;
}

/* Beautiful Rectangular Buttons with rounded corners (10px) - MATCHES SCREENSHOT */
.btn-idst-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #ff6a00;
  color: #ffffff !important;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.825rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 11px 22px;
  border-radius: 10px; /* Clean rectangular rounding */
  text-decoration: none;
  border: 1px solid #ff6a00;
  box-shadow: 0 4px 12px rgba(255, 106, 0, 0.25);
  transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-idst-primary:hover {
  background-color: #e05e00;
  border-color: #e05e00;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 106, 0, 0.35);
}

.btn-idst-green, .btn-idst-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #059669;
  color: #ffffff !important;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.825rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 11px 22px;
  border-radius: 10px; /* Clean rectangular rounding */
  text-decoration: none;
  border: 1px solid #059669;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
  transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-idst-green:hover, .btn-idst-outline:hover {
  background-color: #047857;
  border-color: #047857;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.35);
}

/* Image frame and stats styling */
.idst-img-frame {
  width: 100%;
  height: 250px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  position: relative;
}

.idst-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Stats panel below the image */
.idst-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.idst-stat {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 6px 4px;
  text-align: center;
  backdrop-filter: blur(4px);
  transition: transform 0.25s ease;
}

.idst-stat:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.07);
}

.idst-stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #ff6a00; /* Saffron numerical indicators */
}

.idst-stat-num span {
  color: #10b981; /* Green trailing characters */
  font-size: 0.85rem;
  margin-left: 1px;
}

.idst-stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.625rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 1px;
}

/* Custom indicators / dots styling */
#heroCarousel .carousel-indicators {
  bottom: 12px;
  margin-bottom: 0;
  gap: 8px;
}

#heroCarousel .carousel-indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  border: none;
  opacity: 1;
  transition: all 0.25s ease;
}

#heroCarousel .carousel-indicators .active {
  background-color: #ff6a00; /* Saffron active state indicator */
  transform: scale(1.2);
}

/* Chevron control arrows custom styling - completely updated to ensure clickability & professional style */
#heroCarousel .carousel-control-prev,
#heroCarousel .carousel-control-next {
  width: 44px;
  height: 44px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(4, 11, 23, 0.75) !important;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex !important;
  align-items: center;
  justify-content: center;
  opacity: 0.75 !important;
  transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 25 !important; /* Force to be above any slide components, overlay, or grid */
  pointer-events: auto !important; /* Force touch & pointer events */
}

#heroCarousel .carousel-control-prev {
  left: 20px;
}

#heroCarousel .carousel-control-next {
  right: 20px;
}

#heroCarousel .carousel-control-prev:hover,
#heroCarousel .carousel-control-next:hover {
  opacity: 1 !important;
  background-color: #ff6a00 !important;
  border-color: rgba(255, 106, 0, 0.5);
  box-shadow: 0 4px 12px rgba(255, 106, 0, 0.4);
}

#heroCarousel .carousel-control-prev-icon,
#heroCarousel .carousel-control-next-icon {
  width: 1.25rem;
  height: 1.25rem;
  background-size: 100% 100%;
}

/* Responsive design adjustments */
@media (max-width: 1199.98px) {
  .idst-hero {
    padding: 24px 0;
    height: auto !important; /* Allow dynamic height expansion to prevent truncation */
    min-height: 440px !important; /* Secure fallback to maintain clean structural balance */
  }
  .idst-title {
    min-height: auto !important; /* Allow dynamic flowing */
  }
  .idst-desc {
    min-height: auto !important; /* Allow dynamic flowing */
  }
}

/* ===================================================== */
/* TABLET VIEW (768px to 1024px)                         */
/* Side-by-Side Desktop Split Layout                     */
/* ===================================================== */
@media (min-width: 768px) and (max-width: 1024px) {
  #heroCarousel {
    width: calc(100% - 24px);
    margin: 10px auto;
    border-radius: 14px;
  }
  
  #heroCarousel::before {
    border-radius: 14px;
    padding: 2px;
  }

  .idst-hero {
    padding: 24px 0 !important;
    height: auto !important;
    min-height: 440px !important;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .idst-hero .row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    text-align: left !important;
    gap: 0 !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .hero-content {
    order: 1 !important;
    width: 50% !important;
    flex: 0 0 50% !important;
    max-width: 50% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
    margin-bottom: 0 !important;
    padding-left: 10px !important;
    padding-right: 15px !important;
  }

  .idst-image-col {
    order: 2 !important;
    width: 50% !important;
    flex: 0 0 50% !important;
    max-width: 50% !important;
    text-align: right !important;
    margin-bottom: 0 !important;
    padding-left: 15px !important;
    padding-right: 10px !important;
  }

  .idst-badge {
    font-size: 0.65rem !important;
    padding: 4px 10px !important;
    margin-bottom: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    min-height: auto !important;
    text-align: left !important;
  }

  .idst-title {
    font-size: 1.55rem !important;
    line-height: 1.25 !important;
    min-height: auto !important;
    margin-bottom: 6px !important;
    text-align: left !important;
  }

  .idst-unit-line {
    font-size: 0.8rem !important;
    margin-bottom: 8px !important;
    text-align: left !important;
  }

  .idst-desc {
    font-size: 0.76rem !important;
    line-height: 1.4;
    margin-bottom: 10px !important;
    min-height: auto !important;
    max-width: 100% !important;
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .idst-trust {
    display: flex !important;
    justify-content: flex-start !important;
    gap: 6px !important;
    margin-bottom: 12px !important;
    flex-wrap: wrap !important;
  }

  .idst-trust-item {
    font-size: 0.68rem !important;
    padding: 3px 8px !important;
  }

  .hero-content .d-flex.flex-wrap.gap-2 {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    justify-content: flex-start !important;
    width: auto !important;
    margin-top: 4px !important;
    margin-bottom: 0 !important;
  }

  .btn-idst-primary, .btn-idst-green, .btn-idst-outline {
    padding: 8px 16px !important;
    font-size: 0.725rem !important;
    min-height: 38px !important;
    border-radius: 8px !important;
  }

  .idst-img-frame {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 220px !important;
    aspect-ratio: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45) !important;
    padding: 0 !important;
    background-color: transparent !important;
    overflow: hidden !important;
  }

  .idst-img-frame img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    border-radius: 12px !important;
  }

  .idst-stats {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 6px !important;
    margin-top: 8px !important;
  }

  .idst-stat {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 6px !important;
    padding: 4px 2px !important;
    text-align: center !important;
  }

  .idst-stat-num {
    font-size: 0.85rem !important;
    font-weight: 700 !important;
  }

  .idst-stat-num span {
    font-size: 0.65rem !important;
  }

  .idst-stat-label {
    font-size: 0.52rem !important;
    letter-spacing: 0.02em !important;
    margin-top: 1px !important;
  }

  #heroCarousel .carousel-control-prev,
  #heroCarousel .carousel-control-next {
    width: 36px;
    height: 36px;
    opacity: 0.85 !important;
  }

  #heroCarousel .carousel-control-prev-icon,
  #heroCarousel .carousel-control-next-icon {
    width: 1rem;
    height: 1rem;
  }
}



/* ===================================================== */
/* MOBILE VIEW (< 768px)                                 */
/* Compact vertical column layout with unified height    */
/* ===================================================== */
@media (max-width: 767.98px) {
  #heroCarousel {
    width: calc(100% - 20px) !important;
    margin: 10px auto !important;
    border-radius: 12px !important;
    overflow: hidden !important; /* Force container rounding & clipping */
    border: 2px solid rgba(255, 255, 255, 0.2) !important; /* Adds professional visible border on mobile hero box */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45) !important;
  }
  
  #heroCarousel::before {
    border-radius: 12px !important;
    padding: 2.5px !important;
  }

  /* Safe container rules to absolutely prevent any overflow clipping of images, buttons, or shadows */
  #heroCarousel .carousel-inner,
  #heroCarousel .carousel-item,
  #heroCarousel .carousel-item .slide-overlay {
    height: auto !important;
    min-height: auto !important;
    overflow: hidden !important; /* Keep slide background bounds clipped correctly inside the rounded corners */
  }

  .idst-hero {
    padding: 24px 0 28px 0 !important; /* Balanced cozy padding for extreme mobile elegance */
    flex-direction: column;
    height: auto !important; /* Let height expand up to stable min-height */
    min-height: 660px !important; /* Raised stable min-height completely prevents any vertical jumping/flicker */
    overflow: visible !important; /* Prevents button cutoffs and drop shadow truncation */
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .idst-hero .row {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 8px !important;
    width: 100% !important;
    margin-left: 0 !important; /* Symmetrical centering, removes Bootstrap's default margin-left shift */
    margin-right: 0 !important; /* Symmetrical centering, removes Bootstrap's default margin-right shift */
  }

  .idst-image-col {
    order: 1 !important; /* Image placed first at the top on mobile */
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    margin-top: 4px !important; /* Moves down slightly to prevent top cutoff */
    margin-bottom: 12px !important; /* Nice spacing below the picture */
    padding-left: 0 !important; /* Removes padding offsets that skew the picture */
    padding-right: 0 !important; /* Removes padding offsets that skew the picture */
  }

  .idst-img-frame {
    display: block !important; /* Show the picture! */
    width: 320px !important; /* Beautifully scaled-up larger centered picture on mobile */
    max-width: 92% !important; /* Safe boundaries on small screens */
    aspect-ratio: 16 / 10 !important; /* Safe uniform aspect ratio prevents height jump */
    height: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
    border-radius: 12px !important;
    border: 3px solid rgba(255, 255, 255, 0.4) !important; /* Premium high-contrast white border */
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5) !important;
    overflow: hidden !important;
    background-color: rgba(0, 0, 0, 0.25) !important;
    padding: 6px !important; /* Compact, professional mobile framing */
  }

  .idst-img-frame img {
    width: 100% !important;
    height: auto !important; /* Let it size to natural ratio to completely prevent cropping */
    object-fit: contain !important; /* Entire image is 100% visible, absolutely zero cropping or cutoff */
    object-position: center !important; /* Perfectly centered image */
    display: block !important;
    border-radius: 6px !important;
  }

  .hero-content {
    order: 2 !important; /* Text and buttons are styled directly below the picture */
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    margin-bottom: 0;
    padding-left: 0 !important; /* Removes padding offsets for perfect text centering */
    padding-right: 0 !important; /* Removes padding offsets for perfect text centering */
  }

  /* Force "View Courses" and "Enquiry Now" to always stay side-by-side on the same row */
  .hero-content .d-flex.flex-wrap.gap-2 {
    display: flex !important;
    flex-direction: row !important; /* Symmetrical side-by-side alignment */
    flex-wrap: nowrap !important; /* Absolutely prevent wrapping */
    justify-content: space-between !important; /* Symmetrical distribution */
    align-items: center !important;
    gap: 10px !important; /* Strict 10px spacing */
    width: 100% !important;
    max-width: 310px !important; /* snug and centered on mobile viewports */
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 10px !important;
    margin-bottom: 8px !important;
  }

  .idst-title {
    font-size: 1.35rem !important; /* Larger professional display typography on mobile */
    min-height: 48px !important; /* Stabilized title height prevents height jumping */
    margin-bottom: 6px !important;
    line-height: 1.35 !important;
  }

  .idst-desc {
    font-size: 0.75rem !important; /* Highly legible description */
    line-height: 1.4 !important;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 6px !important; /* Snug spacing */
    max-width: 100%;
    min-height: 124px !important; /* Raised description height completely eliminates layout shift on transition even with longest texts */
  }

  .idst-badge {
    font-size: 0.65rem !important; /* Premium corporate badge size on mobile */
    padding: 4px 10px !important;
    margin-bottom: 4px !important; /* Tight margin above the title */
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 48px !important; /* Uniform height for multi-line badges on mobile completely prevents jumps */
    line-height: 1.25 !important;
    text-align: center;
  }

  .idst-unit-line {
    font-size: 0.8rem !important; /* Proportional tagline size */
    margin-bottom: 4px !important; /* Tight margin below the title */
  }

  .idst-trust {
    display: none !important; /* Hide trust items on mobile for extreme vertical compactness */
  }

  .idst-stats {
    display: none !important; /* Hide stats panel on mobile to save space */
  }

  /* Optimized compact buttons for side-by-side mobile view */
  .btn-idst-primary, .btn-idst-outline {
    width: 48% !important; /* Exactly 48% width to share the row space symmetrically */
    flex: 0 0 48% !important; /* Prevent shrinking or growing */
    padding: 8px 4px !important; /* Snug padding to avoid wrapping */
    font-size: 0.725rem !important; /* Beautifully optimized legible size */
    min-height: 40px !important; /* Professional touch-friendly and snug height */
    white-space: nowrap !important; /* Strict nowrap prevents text breaking */
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    letter-spacing: 0.1px !important;
  }

  .btn-idst-primary i, .btn-idst-outline i {
    margin-right: 4px !important; /* Extremely tight icon spacing */
    font-size: 0.75rem !important;
  }

  #heroCarousel .carousel-control-prev,
  #heroCarousel .carousel-control-next {
    width: 32px;
    height: 32px;
    opacity: 0.9 !important;
  }
  
  #heroCarousel .carousel-control-prev {
    left: 6px;
  }

  #heroCarousel .carousel-control-next {
    right: 6px;
  }
}


/* ===================================================== */
/* COMPANY INTRO SECTION                                 */
/* ===================================================== */
.company-intro-section {
  padding: 11px 0 11px 0; /* Professional, compact margins and padding for elegant tight layout */
  background-color: #ffffff; /* Crisp background so white cards stand out with subtle, clean contrast */
  margin-bottom: 0; /* No margin below to eliminate any white gap with the next section */
  
  /* GEOGRAPHIC / COORDINATE GRID OF BOXES BACKGROUND + AMBIENT SPLIT BACKGROUNDS */
  background-image: 
    /* Highlighted Grid lines across the entire background */
    linear-gradient(to right, rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    /* Horizontal Blend: Entire left half is solid white, fading smoothly to reveal the right-side colors */
    linear-gradient(to right, #ffffff 0%, #ffffff 40%, rgba(255, 255, 255, 0) 95%),
    /* Vertical Flag Gradient: Saffron (deeper, rich) -> White (increased/wider) -> Green (deeper, rich) */
    linear-gradient(to bottom, rgba(255, 153, 51, 0.48) 0%, rgba(255, 153, 51, 0.12) 18%, #ffffff 28%, #ffffff 72%, rgba(19, 136, 8, 0.12) 82%, rgba(19, 136, 8, 0.44) 100%);
  background-size: 32px 32px, 32px 32px, 100% 100%, 100% 100%;
  background-position: left top, left top, left top, left top;
  background-repeat: repeat, repeat, no-repeat, no-repeat;
  position: relative;
  overflow: hidden;
}

/* Subtle background image overlay for a highly professional watermark look */
.company-intro-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=1200&q=10');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.02; /* Extremely subtle watermark to remain completely professional and readable */
  pointer-events: none;
  z-index: 1;
}

/* Company Profile Heading Section - Styled to match the example picture precisely */
.company-profile-heading-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0 auto;
  user-select: none;
}

.company-profile-heading-wrapper .heading-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  flex-shrink: 0;
}

.company-profile-heading-wrapper .dot-saffron {
  background-color: #ff9933;
}

.company-profile-heading-wrapper .dot-green {
  background-color: #138808;
}

.company-profile-heading-wrapper .heading-line {
  height: 1.5px;
  flex-grow: 1;
  max-width: 140px; /* Standard wide screen length */
  min-width: 20px;
}

.company-profile-heading-wrapper .line-saffron {
  background-color: #ff9933;
  margin-left: 6px;
}

.company-profile-heading-wrapper .line-green {
  background-color: #138808;
  margin-right: 6px;
}

.company-profile-heading-wrapper .heading-diamond-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.company-profile-heading-wrapper .diamond-saffron {
  color: #ff9933;
  font-size: 0.55rem;
  margin-left: -1px;
}

.company-profile-heading-wrapper .diamond-green {
  color: #138808;
  font-size: 0.55rem;
  margin-right: -1px;
}

.company-profile-heading-wrapper .company-profile-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  color: #0b1e3b; /* Pure deep professional navy */
  letter-spacing: 0.06em;
  margin: 0 16px;
  white-space: nowrap;
  text-transform: uppercase;
}

@media (max-width: 767.98px) {
  .company-profile-heading-wrapper .heading-line {
    max-width: 80px;
  }
  .company-profile-heading-wrapper .company-profile-title {
    font-size: 1.15rem;
    margin: 0 10px;
  }
}

@media (max-width: 479.98px) {
  .company-profile-heading-wrapper .heading-line {
    max-width: 35px;
  }
  .company-profile-heading-wrapper .company-profile-title {
    font-size: 0.95rem;
    margin: 0 8px;
    letter-spacing: 0.04em;
  }
}

/* Background Decorative Dot Matrices */
.company-intro-section .bg-decor-dots {
  position: absolute;
  width: 112px;
  height: 72px;
  background-image: radial-gradient(rgba(249, 115, 22, 0.2) 2px, transparent 2px);
  background-size: 14px 14px;
  z-index: 1;
  pointer-events: none;
}

.company-intro-section .dots-top-right {
  top: 40px;
  right: 40px;
}

.company-intro-section .dots-bottom-left {
  bottom: 40px;
  left: 40px;
}

/* ISO Badge styled with saffron color theme */
.company-intro-section .company-iso-badge {
  background: #0b1e3b; /* Deep Navy Slate Background */
  border: 1.5px solid #0b1e3b; /* Premium Navy Border */
  color: #ffffff !important; /* Highly readable crisp white text */
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 0.725rem; /* Smaller padding and shapes as requested */
  padding: 5px 12px; /* Highly compact shape */
  border-radius: 4px; /* Crisp official style */
  font-weight: 800; /* Bolder */
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 3px 6px rgba(11, 30, 59, 0.15);
}

/* Main Company Title - REFINED PROFESSIONAL INSTITUTIONAL FONT DESIGN */
.company-intro-section .company-brand-title {
  font-size: clamp(1.95rem, 3.6vw, 2.75rem);
  font-weight: 800;
  color: #0b1e3b; /* Premium Navy Brand Slate */
  font-family: Arial, Helvetica, sans-serif !important;
  letter-spacing: -0.025em !important; /* Elegant modern tight spacing */
  margin-top: 10px;
  margin-bottom: 6px;
  line-height: 1.15;
}

.company-intro-section .company-brand-title .title-institution {
  color: #0b1e3b; /* Professional Deep Navy Blue */
  font-family: Arial, Helvetica, sans-serif !important;
  font-weight: 800 !important; /* Beautiful professional contrast with extra bold Arial */
  letter-spacing: -0.015em !important;
}

.company-intro-section .company-brand-title .title-digital-skills {
  color: #ea580c; /* Professional Warm Saffron / Vivid Orange */
  font-family: Arial, Helvetica, sans-serif !important;
  font-weight: 900 !important;
}

.company-intro-section .company-brand-title .title-technology {
  color: #138808; /* Professional Indian Green */
  font-family: Arial, Helvetica, sans-serif !important;
  font-weight: 900 !important;
}

/* Subtitle - Animates across the entire sentence */
.company-intro-section .company-subtitle {
  font-size: 0.925rem;
  font-family: Arial, Helvetica, sans-serif !important;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 10px;
  
  /* Animated linear gradient text effect across the entire sentence */
  background: linear-gradient(90deg, #1e293b 0%, #ea580c 25%, #0f172a 50%, #16a34a 75%, #1e293b 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: subtitleTextFlow 5s linear infinite;
}

.company-intro-section .company-subtitle .accent-text {
  color: inherit;
  font-weight: 800;
}

@keyframes subtitleTextFlow {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 200% center;
  }
}

/* Animated thin professional line under subtitle */
.company-intro-section .animated-professional-line {
  position: relative;
  width: 160px;
  height: 3px;
  background: linear-gradient(90deg, #ff9933 0%, #e2e8f0 35%, #ffffff 50%, #e2e8f0 65%, #138808 100%);
  background-size: 200% auto;
  border-radius: 4px;
  overflow: hidden;
  animation: professionalLineFlow 4s linear infinite;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.05);
}

.company-intro-section .animated-professional-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), transparent);
  animation: professionalLineGlow 2.5s infinite linear;
}

@keyframes professionalLineFlow {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 200% center;
  }
}

@keyframes professionalLineGlow {
  0% {
    left: -100%;
  }
  100% {
    left: 200%;
  }
}

/* Tagline Badge with icon (Graduation Cap) */
.company-intro-section .tagline-badge-wrapper {
  display: flex;
  align-items: center;
}

.company-intro-section .tagline-icon-box {
  width: 44px;
  height: 44px;
  background-color: #ff9933; /* Orange background box */
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  border-radius: 8px;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(255, 153, 51, 0.15);
}

.company-intro-section .tagline-text-block {
  display: flex;
  flex-direction: column;
}

.company-intro-section .tagline-row-1 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  font-weight: 700; /* Made bolder as requested */
  color: #ea580c; /* High contrast orange */
  line-height: 1.25;
}

.company-intro-section .tagline-row-2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  font-weight: 800; /* Ultra bold highlighting */
  color: #ea580c; /* High contrast orange */
  line-height: 1.25;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

/* Custom 2024 highlight badge inside tagline */
.company-intro-section .highlight-2024-badge {
  background-color: #138808; /* High-contrast green background matching the flag theme */
  color: #ffffff;
  font-size: 0.725rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: inline-block;
  vertical-align: middle;
  box-shadow: 0 2px 4px rgba(19, 136, 8, 0.2);
}

/* Detailed Description */
.company-intro-section .company-desc-text {
  font-size: 0.9rem;
  color: #475569; /* Slate 600 for body text readability */
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
}

.company-intro-section .company-desc-text strong {
  color: #0b1e3b; /* Deep high-contrast navy */
  font-weight: 700;
}

/* Premium Split CTA Button */
.custom-split-btn {
  display: inline-flex;
  align-items: stretch;
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(11, 30, 59, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.custom-split-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(11, 30, 59, 0.18);
}

.custom-split-btn .split-btn-text {
  background-color: #0b1e3b; /* Dark navy block */
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  padding: 14px 24px;
  display: flex;
  align-items: center;
}

.custom-split-btn .split-btn-arrow {
  background-color: #ff6600; /* Saffron/orange icon block */
  color: #ffffff;
  width: 48px;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.custom-split-btn:hover .split-btn-arrow {
  background-color: #e05500;
}

/* ===================================================== */
/* HORIZONTAL CREDENTIAL CARDS (RIGHT SIDE)              */
/* ===================================================== */
.company-intro-section .credentials-stack {
  display: flex;
  flex-direction: column;
  background: transparent !important; /* Fully transparent container to blend with the white right-side background */
  padding: 0 !important; /* Zero padding around the stack to align cards precisely */
  border: none !important; /* No wrapper border */
  box-shadow: none !important; /* No wrapper shadow */
  gap: 8px !important; /* Ultra-tight, beautiful gaps as requested */
  max-width: 380px;
  width: 100%;
}

.company-intro-section .credential-horizontal-card {
  border-radius: 16px; /* Smooth elegant rounded corners matching the screenshot exactly */
  padding: 10px 16px; /* High quality balanced compact padding */
  display: flex;
  align-items: center;
  gap: 14px;
  background-color: #ffffff !important; /* Pure white crisp background so cards stand out */
  border: 1px solid rgba(15, 23, 42, 0.08); /* Clean thin border */
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03); /* Beautiful soft shadow matching the uploaded image */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-bottom: 0 !important; /* Completely remove bottom margin to prevent double-spacing */
}

.company-intro-section .credential-horizontal-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(11, 30, 59, 0.08) !important;
}

/* Elegant borders for each background card wrapper */
.company-intro-section .card-bg-saffron {
  border-color: rgba(234, 88, 12, 0.18);
}

.company-intro-section .card-bg-blue {
  border-color: rgba(37, 99, 235, 0.15);
}

.company-intro-section .card-bg-green {
  border-color: rgba(22, 163, 74, 0.15);
}

.company-intro-section .card-bg-red {
  border-color: rgba(220, 38, 38, 0.15);
}

/* Card Circular Icon Containers - Made smaller, sharper, and beautifully highlighted with double ring borders */
.company-intro-section .card-icon-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.0rem;
  flex-shrink: 0;
  border: 1.5px solid currentColor; /* Matching solid inner circle border */
  box-shadow: 0 0 0 4px var(--circle-ring-color); /* Double outer ring highlight */
  transition: all 0.2s ease;
}

.company-intro-section .circle-saffron {
  background-color: #ffeedb;
  color: #ea580c;
  --circle-ring-color: rgba(234, 88, 12, 0.15);
}

.company-intro-section .circle-blue {
  background-color: #e0f2fe;
  color: #2563eb;
  --circle-ring-color: rgba(37, 99, 235, 0.15);
}

.company-intro-section .circle-green {
  background-color: #dcfce7;
  color: #16a34a;
  --circle-ring-color: rgba(22, 163, 74, 0.15);
}

.company-intro-section .circle-red {
  background-color: #fee2e2;
  color: #dc2626;
  --circle-ring-color: rgba(220, 38, 38, 0.15);
}

/* Custom vertical divider bars inside cards - shorter & sharper */
.company-intro-section .card-vertical-bar {
  width: 1.5px;
  height: 28px;
  align-self: center;
  flex-shrink: 0;
}

.company-intro-section .bar-saffron {
  background-color: rgba(234, 88, 12, 0.4);
}

.company-intro-section .bar-blue {
  background-color: rgba(37, 99, 235, 0.4);
}

.company-intro-section .bar-green {
  background-color: rgba(22, 163, 74, 0.4);
}

.company-intro-section .bar-red {
  background-color: rgba(220, 38, 38, 0.4);
}

/* Card Texts Layout */
.company-intro-section .card-body-content {
  flex: 1;
  min-width: 0;
}

.company-intro-section .card-top-label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.575rem;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 1px;
}

.company-intro-section .card-main-title {
  font-family: 'Poppins', sans-serif;
  font-size: 0.925rem;
  font-weight: 700;
  color: #0b1e3b;
  margin-bottom: 1px;
  line-height: 1.2;
  word-break: break-all;
  overflow-wrap: break-word;
}

.company-intro-section .card-sub-detail {
  font-family: 'Inter', sans-serif;
  font-size: 0.725rem;
  color: #64748b;
  margin-bottom: 0;
  line-height: 1.35;
}

.company-intro-section .card-sub-detail .bullet-dot {
  color: #cbd5e1;
  margin: 0 4px;
}

/* Beautiful responsive vertical dividers for the horizontal credentials panel */
@media (min-width: 1200px) {
  .company-intro-section .credential-column-divider::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background-color: rgba(15, 23, 42, 0.08); /* Elegant subtle vertical line divider */
  }
}

/* Tablet & Laptop View (768px to 1199.98px) - Compact Squeezed 2x2 Grid */
@media (min-width: 768px) and (max-width: 1199.98px) {
  .company-intro-section .credential-horizontal-wrapper {
    padding: 8px 12px !important;
  }
  .company-intro-section .credential-horizontal-wrapper .row {
    row-gap: 8px !important;
  }
  .company-intro-section .credential-column-divider:nth-child(1)::after,
  .company-intro-section .credential-column-divider:nth-child(3)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background-color: rgba(15, 23, 42, 0.1);
  }
  .company-intro-section .credential-column-divider:nth-child(2)::after {
    display: none !important;
  }
  .company-intro-section .card-main-title {
    font-size: 0.74rem !important;
    white-space: normal !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    margin-bottom: 1px !important;
  }
  .company-intro-section .card-sub-detail {
    font-size: 0.62rem !important;
    line-height: 1.25 !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
  }
  .company-intro-section .card-icon-circle {
    width: 28px !important;
    height: 28px !important;
    font-size: 0.8rem !important;
    box-shadow: none !important;
    margin-top: 1px !important;
    margin-right: 8px !important;
    flex-shrink: 0 !important;
  }
}

/* Mobile View (< 767.98px) - Extra Compact Squeezed 2x2 Grid */
@media (max-width: 767.98px) {
  .company-intro-section .credential-horizontal-wrapper {
    padding: 8px 6px !important;
    border-radius: 10px !important;
  }
  .company-intro-section .credential-horizontal-wrapper .row {
    row-gap: 6px !important;
  }
  .company-intro-section .credential-column-divider::after {
    display: none !important;
  }
  .company-intro-section .card-main-title {
    font-size: 0.7rem !important;
    line-height: 1.2 !important;
    white-space: normal !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    margin-bottom: 1px !important;
  }
  .company-intro-section .card-sub-detail {
    font-size: 0.58rem !important;
    line-height: 1.2 !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
  }
  .company-intro-section .card-icon-circle {
    width: 24px !important;
    height: 24px !important;
    font-size: 0.75rem !important;
    box-shadow: none !important;
    margin-top: 1px !important;
    margin-right: 8px !important;
    flex-shrink: 0 !important;
  }
}

/* ===================================================== */
/* RESPONSIVE OVERRIDES                                  */
/* ===================================================== */
@media (max-width: 991.98px) {
  .company-intro-section {
    padding: 16px 0 20px 0;
  }
  .company-intro-section .company-brand-title {
    font-size: 2.3rem;
  }
  .company-desc-text p {
    text-align: left !important;
  }
  .why-choose-section {
    padding: 16px 0 24px 0 !important;
    margin-top: 0;
  }
  .company-intro-section .container,
  .why-choose-section .container,
  .popular-courses-section .container,
  .franchise-section .container,
  .testimonials-section .container,
  .placement-section .container,
  .footersection .container,
  .bottom-footerbar .container,
  #gallery-section .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  .testimonials-section {
    padding-top: 16px !important;
    padding-bottom: 20px !important;
  }
  .footersection {
    padding-top: 18px !important;
    padding-bottom: 16px !important;
  }
  .footer-col-left,
  .footer-col-middle,
  .footer-col-right {
    margin-bottom: 4px !important;
  }
  .footer-col-middle {
    padding-top: 5px; 
  }
  .footer-desc {
    font-size: 0.76rem !important;
    line-height: 1.4 !important;
    margin-bottom: 10px !important;
  }
  .footer-icon-links {
    gap: 8px !important;
    margin-bottom: 10px !important;
  }
  .scheme-mini-container {
    margin-top: 10px !important;
    gap: 8px !important;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  /* Rotated screen (landscape mobile): show cards side-by-side in a professional 2-column grid */
  .company-intro-section .credentials-stack {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  .company-intro-section .credential-horizontal-card {
    padding: 10px 14px !important;
    gap: 12px !important;
  }
  .company-intro-section .card-main-title {
    font-size: 0.82rem !important;
  }
  .company-intro-section .card-icon-circle {
    width: 40px !important;
    height: 40px !important;
    font-size: 1rem !important;
  }
}

@media (max-width: 767.98px) {
  .mobile-only-btn-wrapper {
    display: flex !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
  }
  .mobile-only-btn-wrapper .custom-split-btn {
    display: inline-flex !important;
    width: 69% !important;
    margin: 0 auto !important;
  }
  .mobile-only-btn-wrapper .custom-split-btn .split-btn-text {
    flex: 1 !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 10px 12px !important;
    font-size: 0.8rem !important;
  }
  .mobile-only-btn-wrapper .custom-split-btn .split-btn-arrow {
    width: 44px !important;
    flex-shrink: 0 !important;
  }

  /* IDST CTA Capsule Bar Mobile Overrides */
  .idst-cta-capsule-bar {
    width: 100% !important;
    max-width: 100% !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 16px 14px !important;
    gap: 12px !important;
    border-radius: 12px !important;
  }

  .cta-left-brand-panel {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 0 !important;
    gap: 6px !important;
    width: 100% !important;
  }

  .cta-left-brand-panel .cta-text-wrapper {
    text-align: center !important;
    padding-right: 0 !important;
  }

  .cta-right-action-panel {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
  }

  .cta-gradient-button {
    width: 69% !important;
    margin: 0 auto !important;
    border-radius: 8px !important;
    padding: 8px 14px !important;
    justify-content: space-between !important;
  }

  /* Franchise Opportunity Header Left Alignment Overrides for Mobile View */
  .franchise-header-title {
    text-align: left !important;
    font-size: 1.25rem !important;
    margin-top: 5px !important;
    line-height: 1.35 !important;
  }

  .franchise-title-icon-simple {
    margin-right: 6px !important;
    font-size: 1.2rem !important;
  }

  .franchise-header-subtitle {
    text-align: left !important;
    font-size: 1.1rem !important;
    margin-top: 6px !important;
    margin-bottom: 14px !important;
  }

  .franchise-header-subtitle .highlight-main {
    display: inline-block !important;
    text-align: left !important;
    margin-left: 0 !important; /* Removes desktop 36px offset so red box aligns flush with text */
    border-left: 3px solid #D3141F !important;
    border-bottom: none !important;
    padding: 3px 8px !important;
    border-radius: 4px !important;
  }
}

@media (max-width: 575.98px) {
  .company-intro-section {
    padding: 20px 0 28px 0;
  }
  .company-intro-section .company-brand-title {
    font-size: 1.85rem;
  }
  .company-intro-section .company-subtitle {
    font-size: 0.85rem;
  }
  .company-intro-section .tagline-row-1,
  .company-intro-section .tagline-row-2 {
    font-size: 0.95rem;
  }
  .company-intro-section .tagline-icon-box {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }
  .company-intro-section .company-desc-text {
    font-size: 0.85rem;
    line-height: 1.5;
  }
  .company-intro-section .credential-horizontal-card {
    gap: 12px;
    padding: 12px 14px;
  }
  .company-intro-section .card-icon-circle {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
  }
  .company-intro-section .card-vertical-bar {
    height: 30px;
  }
  .company-intro-section .card-main-title {
    font-size: 0.85rem;
  }
  .company-intro-section .card-top-label {
    font-size: 0.6rem;
  }
  .company-intro-section .card-sub-detail {
    font-size: 0.7rem;
  }
  .why-choose-section {
    padding: 20px 0 28px 0;
    margin-top: 0;
  }
}



/* ===================================================== */
/* WHY CHOOSE US SECTION                                 */
/* ===================================================== */
.why-choose-section {
  padding: 20px 0 24px 0; /* Thinner padding at the bottom below the CTA card */
  margin-top: 0; /* Touches bottom border of company intro section precisely with zero white gap */
  overflow: hidden;
  position: relative;
  z-index: 15; /* Sits cleanly below the preceding flag border elements with proper depth */
  
  /* GEOGRAPHIC / COORDINATE GRID OF BOXES BACKGROUND + AMBIENT SPLIT BACKGROUNDS (Sky Blue + Cream + Indigo/Violet combination) */
  background-image: 
    /* Highlighted Grid lines across the entire background */
    linear-gradient(to right, rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    /* Vertical 3-Color Combination Gradient: Professional Sky Blue -> Soft White/Cream -> Soft Lavender/Indigo */
    linear-gradient(to bottom, rgba(14, 165, 233, 0.16) 0%, rgba(14, 165, 233, 0.04) 22%, #FAF9F6 35%, #FAF9F6 70%, rgba(99, 102, 241, 0.04) 82%, rgba(99, 102, 241, 0.15) 100%);
  background-size: 32px 32px, 32px 32px, 100% 100%;
  background-position: left top, left top, left top;
  background-repeat: repeat, repeat, no-repeat;
}

/* Symmetrical why choose badge pill elements */
.why-choose-badge-wrapper {
  user-select: none;
}
.why-choose-badge-wrapper .badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.why-choose-badge-wrapper .dot-saffron {
  background-color: #FF7A00;
}
.why-choose-badge-wrapper .dot-green {
  background-color: #198754;
}
.why-choose-badge-wrapper .badge-line {
  height: 2px;
  width: 45px;
}
.why-choose-badge-wrapper .line-saffron {
  background-color: #FF7A00;
}
.why-choose-badge-wrapper .line-green {
  background-color: #198754;
}
.why-choose-badge-wrapper .badge-diamond {
  font-size: 0.65rem;
  flex-shrink: 0;
}
.why-choose-badge-wrapper .diamond-saffron {
  color: #FF7A00;
}
.why-choose-badge-wrapper .diamond-green {
  color: #198754;
}
.why-choose-badge-wrapper .badge-pill-btn {
  background-color: #0B1F4D;
  border-radius: 50px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 4px 12px rgba(11, 31, 77, 0.15);
  color: #ffffff;
}

/* Header Text */
.why-choose-section .why-choose-title {
  font-family: 'Poppins', sans-serif;
  color: #0B1F4D;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 2.2rem; /* Reduced slightly */
}

.why-choose-section .why-choose-subtitle {
  font-size: 0.95rem; /* Reduced slightly */
  font-weight: 500;
  color: #556070;
  line-height: 1.5;
}

/* LEFT SIDE: Beautiful merged card combining widescreen image and navy blue info seamlessly */
.choose-left-merged-card {
  position: relative;
  background: linear-gradient(#0B1F4D, #0B1F4D) padding-box, linear-gradient(135deg, #FF9933 0%, #ffffff 50%, #138808 100%) border-box; /* Beautiful Tricolor Border matching the top About section image */
  border-radius: 20px; /* Matching the 20px border radius of the top About image card */
  overflow: hidden; /* Clips the top picture corner perfectly */
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15), 0 12px 30px rgba(3, 27, 78, 0.08);
  border: 3.5px solid transparent; /* Matching the 3.5px transparent border for the gradient background-clip */
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.3s ease;
  margin-top: 22px; /* Aligns top border perfectly with the right-side cards */
  height: calc(100% - 22px);
}

.choose-left-merged-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(11, 31, 77, 0.15);
  border-color: rgba(255, 122, 0, 0.4);
}

.choose-left-merged-card .merged-picture-part {
  position: relative;
  width: 100%;
  flex: 1; /* Allows the image to adapt gracefully to the available card height on desktop */
  min-height: 180px; /* Secure minimum height to maintain visual appeal */
  overflow: hidden;
}

/* Background image inside merged picture card */
.choose-left-merged-card .merged-picture-part .organic-img-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to bottom, rgba(11, 31, 77, 0.1) 0%, rgba(11, 31, 77, 0.35) 100%), url('../../src/assets/images/hero_students_1783436219340.jpg');
  background-size: cover;
  background-position: center 30%; /* Face and lab equipment perfectly framed */
  z-index: 1;
}

/* Dotted background pattern overlay on image */
.organic-dots-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px);
  background-size: 16px 16px;
  z-index: 2;
  pointer-events: none;
}

/* Soft glowing decorative gradient on organic image card */
.organic-glow-accent {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 122, 0, 0.3) 0%, transparent 70%);
  z-index: 3;
  pointer-events: none;
  filter: blur(20px);
}

/* Merged info content part with original spacious padding */
.choose-left-merged-card .merged-info-part {
  position: relative;
  padding: 24px 20px 12px 20px; /* Reduced vertical padding to make it smaller up and down */
  background-color: #0b1e3b; /* Premium rich deep navy blue to match theme split button */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* Center content vertically to utilize the available height beautifully */
  text-align: center;
  flex-shrink: 0; /* Securely guarantees the text section is never compressed or hidden on desktop */
}

.choose-left-merged-card .merged-info-part .icon-circle-wrapper {
  position: absolute;
  top: -22px; /* Hangs exactly halfway off the border/divider matching right-side cards */
  left: 50%;
  transform: translateX(-50%);
  width: 44px; /* Matches 44px diameter of right-side cards */
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  color: #ffffff;
  font-size: 1.05rem; /* Matches right-side icon font-size */
  background-color: #ff6600; /* Orange calendar theme matching standard orange accent */
  box-shadow: 0 4px 12px rgba(255, 102, 0, 0.35);
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.choose-left-merged-card:hover .merged-info-part .icon-circle-wrapper {
  transform: translateX(-50%) scale(1.08);
}

.choose-left-merged-card .info-card-badge-tag {
  font-family: 'Poppins', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  color: #38bdf8; /* Clean bright sky blue tag accent */
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 2px; /* Reduced from 4px to make it smaller up & down */
  margin-bottom: 4px; /* Reduced from 6px */
}

.choose-left-merged-card .info-card-badge-title {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem; /* Easily readable head line */
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 4px; /* Reduced from 8px to keep layout tight */
  line-height: 1.35;
  letter-spacing: 0.1px;
}

.choose-left-merged-card .info-card-badge-date {
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  color: #ff6600; /* Beautiful theme orange */
  background-color: rgba(255, 102, 0, 0.12); /* Modern translucent glass-style badge back */
  border: 1px solid rgba(255, 102, 0, 0.25);
  padding: 2px 10px; /* Reduced padding for more compact up & down height */
  border-radius: 100px;
  display: inline-block;
  line-height: 1.2;
  letter-spacing: 0.05em;
  margin-top: 1px;
  margin-bottom: 1px;
}

.choose-left-merged-card .info-card-badge-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.4;
  margin-bottom: 0;
}

/* ===================================================== */
/* RIGHT SIDE: 6 Premium Centered Feature Cards          */
/* ===================================================== */
.choose-feature-card {
  position: relative;
  background: rgba(255, 255, 255, 0.42); /* Beautifully light translucent white background */
  backdrop-filter: blur(12px); /* High fidelity modern glassmorphic blur */
  -webkit-backdrop-filter: blur(12px);
  border-radius: 12px;
  padding: 24px 12px 10px 12px; /* Super compact optimized padding for professional aesthetic */
  box-shadow: 0 4px 16px rgba(11, 31, 77, 0.03), inset 0 1px 1px rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.55); /* Elegant crisp translucent white glass border */
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.3s ease, background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  margin-top: 22px; /* Space for the overhanging top icon */
  overflow: visible;
  height: calc(100% - 22px);
  text-align: center;
}

.choose-feature-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.58); /* Slightly more opaque white on hover to stand out beautifully */
  box-shadow: 0 10px 24px rgba(11, 31, 77, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.85);
}

/* Beautiful hover border colors based on theme */
.choose-feature-card.theme-blue:hover { border-color: rgba(13, 110, 253, 0.4); }
.choose-feature-card.theme-green:hover { border-color: rgba(25, 135, 84, 0.4); }
.choose-feature-card.theme-orange:hover { border-color: rgba(255, 122, 0, 0.4); }
.choose-feature-card.theme-purple:hover { border-color: rgba(111, 66, 193, 0.4); }
.choose-feature-card.theme-teal:hover { border-color: rgba(13, 202, 240, 0.4); }
.choose-feature-card.theme-pink:hover { border-color: rgba(232, 62, 140, 0.4); }

/* Overhanging icon circle - styled with exact color themes from image */
.choose-feature-card .icon-circle-wrapper {
  position: absolute;
  top: -22px; /* Hangs exactly halfway off the top edge */
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  color: #ffffff;
  font-size: 1.05rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease;
}

.choose-feature-card:hover .icon-circle-wrapper {
  transform: translateX(-50%) scale(1.06);
}

/* Precise branding background colors for the icons */
.theme-blue .icon-circle-wrapper {
  background-color: #0D6EFD; /* Brand Blue */
  box-shadow: 0 4px 10px rgba(13, 110, 253, 0.25);
}
.theme-green .icon-circle-wrapper {
  background-color: #198754; /* Brand Green */
  box-shadow: 0 4px 10px rgba(25, 135, 84, 0.25);
}
.theme-orange .icon-circle-wrapper {
  background-color: #FF7A00; /* Brand Orange */
  box-shadow: 0 4px 10px rgba(255, 122, 0, 0.25);
}
.theme-purple .icon-circle-wrapper {
  background-color: #6F42C1; /* Brand Purple */
  box-shadow: 0 4px 10px rgba(111, 66, 193, 0.25);
}
.theme-teal .icon-circle-wrapper {
  background-color: #0DCAF0; /* Brand Teal */
  box-shadow: 0 4px 10px rgba(13, 202, 240, 0.25);
}
.theme-pink .icon-circle-wrapper {
  background-color: #E83E8C; /* Brand Pink */
  box-shadow: 0 4px 10px rgba(232, 62, 140, 0.25);
}

/* Card Titles */
.choose-feature-card .card-feature-title {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: #0B1F4D;
  margin-top: 4px;
  margin-bottom: 4px;
  line-height: 1.25;
}

/* Centered paragraph description replacing the list items */
.choose-feature-card .card-feature-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.74rem;
  font-weight: 500;
  color: #475569;
  line-height: 1.4;
  margin-bottom: 0;
  flex-grow: 1;
}

/* Background Decorative Dot Matrices for Why Choose Section (propping/dots spot) */
.why-choose-section .bg-decor-dots {
  position: absolute;
  width: 112px;
  height: 72px;
  background-image: radial-gradient(rgba(11, 31, 77, 0.08) 2px, transparent 2px);
  background-size: 14px 14px;
  z-index: 1;
  pointer-events: none;
}
.why-choose-section .dots-top-left {
  top: 15px;
  left: 20px;
}
.why-choose-section .dots-bottom-right {
  bottom: 15px;
  right: 20px;
}

/* Bottom colored accent border */
.choose-feature-card .card-bottom-accent-border {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  transition: width 0.3s ease;
}

.choose-feature-card:hover .card-bottom-accent-border {
  width: 48px;
}

.theme-blue .card-bottom-accent-border { background-color: #0D6EFD; }
.theme-green .card-bottom-accent-border { background-color: #198754; }
.theme-orange .card-bottom-accent-border { background-color: #FF7A00; }
.theme-purple .card-bottom-accent-border { background-color: #6F42C1; }
.theme-teal .card-bottom-accent-border { background-color: #0DCAF0; }
.theme-pink .card-bottom-accent-border { background-color: #E83E8C; }

/* Centered Button in the Middle (Keep for fallback) */
/* ===================================================== */
/* MIDDLE BADGE: Our Promise Header With Decorative Lines*/
/* ===================================================== */
.promise-header-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.promise-header-wrapper .promise-line {
  height: 1.5px;
  width: 60px;
}

.promise-header-wrapper .line-saffron {
  background: linear-gradient(to left, #FF7A00, transparent);
}

.promise-header-wrapper .line-green {
  background: linear-gradient(to right, #198754, transparent);
}

.promise-header-wrapper .promise-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.promise-header-wrapper .dot-saffron {
  background-color: #FF7A00;
}

.promise-header-wrapper .dot-green {
  background-color: #198754;
}

.promise-header-wrapper .promise-header-text {
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #0B1F4D;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ===================================================== */
/* BOTTOM HORIZONTAL PROMISE STRIP                      */
/* ===================================================== */
.promise-strip-wrapper {
  border-radius: 16px; /* Sleek, modern rounded container */
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%); /* Premium, highly professional subtle light slate-gray/blue gradient */
  border: 1px solid rgba(148, 163, 184, 0.18); /* Precise soft border */
  box-shadow: 0 10px 30px rgba(11, 31, 77, 0.04), inset 0 1px 0 #ffffff; /* Smooth professional shadow with ambient depth */
  padding: 10px 12px; /* Balanced compact vertical and horizontal padding */
  margin-left: 0;
  margin-right: 0;
  margin-top: -15px; /* Shifted upwards as requested */
  position: relative;
  z-index: 5;
}

.promise-item-col {
  flex: 1;
  min-width: 160px;
  display: flex; /* Allow equal heights across row */
}

.promise-item-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #ffffff; /* Crisp white interior */
  border-radius: 12px; /* Slightly tighter modern rounded corners */
  padding: 12px 10px; /* Sleek compact vertical & horizontal padding */
  width: 100%;
  border: 1px solid rgba(11, 31, 77, 0.045); /* Refined thin border */
  box-shadow: 0 2px 8px rgba(11, 31, 77, 0.015); /* Sleek subtle shadow */
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

/* Color coding for promise cards with matching top borders and extremely light tint backgrounds */
.promise-item-box.promise-card-blue {
  border-top: 3px solid #0D6EFD; /* Sleeker 3px border */
  background: linear-gradient(180deg, rgba(13, 110, 253, 0.012) 0%, #ffffff 100%);
}
.promise-item-box.promise-card-green {
  border-top: 3px solid #198754;
  background: linear-gradient(180deg, rgba(25, 135, 84, 0.012) 0%, #ffffff 100%);
}
.promise-item-box.promise-card-orange {
  border-top: 3px solid #FF7A00;
  background: linear-gradient(180deg, rgba(255, 122, 0, 0.012) 0%, #ffffff 100%);
}
.promise-item-box.promise-card-purple {
  border-top: 3px solid #6F42C1;
  background: linear-gradient(180deg, rgba(111, 66, 193, 0.012) 0%, #ffffff 100%);
}
.promise-item-box.promise-card-pink {
  border-top: 3px solid #E83E8C;
  background: linear-gradient(180deg, rgba(232, 62, 140, 0.012) 0%, #ffffff 100%);
}

/* Professional Hover shadows and slight lifts for color-coded cards */
.promise-item-box.promise-card-blue:hover {
  transform: translateY(-3px); /* Slightly subtler, cleaner lift */
  box-shadow: 0 8px 20px rgba(13, 110, 253, 0.08); /* Sophisticated, airier shadow */
  border-color: rgba(13, 110, 253, 0.18);
}
.promise-item-box.promise-card-green:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(25, 135, 84, 0.08);
  border-color: rgba(25, 135, 84, 0.18);
}
.promise-item-box.promise-card-orange:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 122, 0, 0.08);
  border-color: rgba(255, 122, 0, 0.18);
}
.promise-item-box.promise-card-purple:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(111, 66, 193, 0.08);
  border-color: rgba(111, 66, 193, 0.18);
}
.promise-item-box.promise-card-pink:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(232, 62, 140, 0.08);
  border-color: rgba(232, 62, 140, 0.18);
}

/* Clean circular outlined icon matching image setting */
.promise-item-box .promise-icon-circle {
  width: 40px; /* Reduced for ultra-clean compact styling */
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem; /* Compact and elegant icon size */
  margin-bottom: 8px; /* Tighter vertical rhythm as requested */
  box-shadow: 0 4px 10px rgba(11, 31, 77, 0.03);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
  flex-shrink: 0;
}

.promise-item-box:hover .promise-icon-circle {
  transform: scale(1.1) translateY(-1px);
  box-shadow: 0 6px 14px rgba(11, 31, 77, 0.06);
}

/* Specific theme outlines for promise icons */
.promise-icon-circle.promise-blue {
  color: #0D6EFD;
  background-color: rgba(13, 110, 253, 0.07);
  border: 1px solid rgba(13, 110, 253, 0.16);
}
.promise-icon-circle.promise-green {
  color: #198754;
  background-color: rgba(25, 135, 84, 0.07);
  border: 1px solid rgba(25, 135, 84, 0.16);
}
.promise-icon-circle.promise-orange {
  color: #FF7A00;
  background-color: rgba(255, 122, 0, 0.07);
  border: 1px solid rgba(255, 122, 0, 0.16);
}
.promise-icon-circle.promise-purple {
  color: #6F42C1;
  background-color: rgba(111, 66, 193, 0.07);
  border: 1px solid rgba(111, 66, 193, 0.16);
}
.promise-icon-circle.promise-pink {
  color: #E83E8C;
  background-color: rgba(232, 62, 140, 0.07);
  border: 1px solid rgba(232, 62, 140, 0.16);
}

/* Promise Text elements */
.promise-item-box .promise-title {
  font-family: 'Poppins', sans-serif;
  font-size: 0.76rem; /* Crisp, beautifully small and aligned */
  font-weight: 650; /* Refined weight for a premium look */
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 3px;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

.promise-item-box:hover .promise-title {
  color: #0B1F4D;
}

.promise-item-box .promise-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem; /* Clean and legible but compact */
  color: #64748b; /* Slate-500 for a softer, more professional feel */
  line-height: 1.35;
  font-weight: 400;
  margin-bottom: 0;
  max-width: 140px;
}

/* ===================================================== */
/* INTEGRATED DUAL-COLORED CTA CAPSULE BAR               */
/* ===================================================== */
.idst-cta-capsule-bar {
  background-color: #0B1F4D; /* Unified Deep Navy Blue Background */
  border-radius: 6px; /* Sleek modern rectangular shape */
  padding: 0; /* No general padding so the gradient button on the right can flush to the edges */
  display: flex;
  align-items: stretch; /* Stretch children to have a unified height */
  justify-content: space-between;
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 24px rgba(11, 31, 77, 0.12); /* Slightly softer elegant shadow */
  max-width: 375px; /* Optimally compacted max-width to bring elements closer */
  margin: 0 auto; /* Horizontally centered */
  overflow: hidden; /* Automatically clip child border radius */
}

/* Left Brand Panel */
.cta-left-brand-panel {
  display: flex;
  align-items: center;
  gap: 6px; /* Tightened gap between icon and text from 8px to 6px */
  padding: 6px 0px 6px 8px; /* Compacted left internal padding */
  margin-right: 0px; /* Removed right side margin */
}

.cta-left-brand-panel .cta-text-wrapper {
  padding-right: 0px;
  margin-right: 0px;
}

.cta-left-brand-panel .cta-user-circle {
  width: 28px; /* Reduced from 32px */
  height: 28px; /* Reduced from 32px */
  border-radius: 50%;
  background-color: #ffffff; /* Solid bright white as shown in the image */
  color: #0B1F4D; /* Deep navy blue icon inside */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem; /* Reduced from 0.85rem */
  flex-shrink: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.cta-left-brand-panel .cta-capsule-title {
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem; /* Slightly smaller title from 0.85rem */
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.cta-left-brand-panel .cta-capsule-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem; /* Reduced from 0.7rem */
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}

/* Right Interactive Action Panel & Gradient Button */
.cta-right-action-panel {
  display: flex;
  align-items: stretch;
}

.cta-gradient-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none !important;
  background: linear-gradient(90deg, #ff7a00 0%, #c19e1b 50%, #2e7d32 100%); /* Elegant continuous tricolor saffron-to-green gradient */
  color: #ffffff !important;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.78rem; /* Scaled down slightly from 0.82rem */
  letter-spacing: 0.01em;
  padding: 0 8px 0 10px; /* Reduced left and right padding to keep button and text closer */
  gap: 6px; /* Tightened gap inside button */
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.cta-gradient-button:hover {
  opacity: 0.94;
}

.cta-gradient-button .cta-arrow-circle {
  width: 20px; /* Reduced from 24px */
  height: 20px; /* Reduced from 24px */
  border-radius: 50%;
  background-color: #ffffff;
  color: #2e7d32; /* Match the green end of the gradient */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem; /* Reduced from 0.75rem */
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.cta-gradient-button:hover .cta-arrow-circle {
  transform: translateX(4px);
}

/* Fallback Join Us Button styling */
.btn-idst-join-us {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #ff7a00;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
}

/* ===================================================== */
/* RESPONSIVE MEDIA QUERY OVERRIDES                     */
/* ===================================================== */
@media (max-width: 1199.98px) {
  .idst-rectangular-image-container {
    min-height: 420px;
    margin-bottom: 25px;
  }
  .idst-image-overlay-card {
    padding: 14px 16px;
  }
  .idst-image-overlay-card .overlay-badge-date {
    font-size: 1.2rem;
  }
}

@media (max-width: 991.98px) {
  .idst-rectangular-image-container {
    min-height: 380px;
  }
  .idst-cta-capsule-bar {
    border-radius: 6px;
    flex-direction: column;
    padding: 8px 10px; /* Reduced vertical padding on mobile/tablet */
    text-align: center;
    gap: 8px; /* Reduced gap from 12px */
    margin-left: 0;
    margin-right: 0;
    align-items: center;
  }
  .cta-left-brand-panel {
    flex-direction: column;
    text-align: center;
    padding: 0;
    gap: 4px; /* Reduced from 8px */
  }
  .cta-left-brand-panel .cta-text-wrapper {
    text-align: center !important;
  }
  .cta-right-action-panel {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .cta-gradient-button {
    width: 100%;
    justify-content: space-between;
    padding: 6px 12px; /* Thinner padding for mobile CTA button */
    border-radius: 4px;
    height: auto;
  }
}

@media (max-width: 767.98px) {
  .why-choose-section {
    padding: 22px 0 20px 0; /* Thinner padding below the CTA bar on small screens */
    /* margin-top: 10px; */
  }
  .promise-strip-wrapper {
    padding: 20px 15px;
    margin-left: 0;
    margin-right: 0;
  }
  .promise-item-col {
    min-width: 45%;
    margin-bottom: 15px;
  }
}

/* ===================================================== */
/* SAMETO-SAME POPULAR COURSES SECTION STYLES          */
/* ===================================================== */
.popular-courses-section {
  background-color: #dee4f0; /* Beautiful deeper professional gray-blue canvas */
  background-image: radial-gradient(rgba(11, 34, 101, 0.1) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  position: relative;
  overflow: hidden;
  z-index: 2;
}

/* Indian flag corner ribbon curves */
.courses-flag-decor {
  position: absolute;
  top: 0;
  left: 0;
  width: 320px;
  height: 220px;
  background: radial-gradient(circle at 0 0, #ff9933 10%, #ffffff 25%, #128807 45%, rgba(235, 243, 252, 0) 65%);
  opacity: 0.85;
  pointer-events: none;
  z-index: 1;
}

.courses-flag-dots {
  position: absolute;
  top: 40px;
  left: 30px;
  width: 140px;
  height: 180px;
  background-image: radial-gradient(#2563eb 1.5px, transparent 1.5px);
  background-size: 15px 15px;
  opacity: 0.15;
  pointer-events: none;
  z-index: 1;
}

.popular-courses-top-badge {
  background-color: #0b1c3c !important;
  color: #ffffff !important;
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.75px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 10px rgba(11, 28, 60, 0.15);
}

.course-tab-card {
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background-color: #ffffff;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.course-tab-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: background 0.3s ease;
}

.course-tab-card.active {
  border-color: #0b1c3c !important;
  box-shadow: 0 8px 20px -5px rgba(11, 28, 60, 0.1) !important;
  transform: translateY(-2px);
}

.course-tab-card.active::before {
  background: #0b1c3c;
}

.course-tab-card:hover:not(.active) {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.03);
  border-color: rgba(11, 28, 60, 0.2);
}

.course-tab-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  color: #0d2c54;
  line-height: 1.3;
}

.course-tab-desc {
  font-size: 0.675rem;
  font-family: 'Inter', sans-serif;
  line-height: 1.25;
}

/* Slider Arrow Buttons */
.courses-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: #0b1c3c;
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
  z-index: 20;
  transition: all 0.25s ease;
}

.courses-slider-arrow:hover {
  background-color: #ea580c;
  transform: translateY(-50%) scale(1.08);
}

.courses-slider-arrow.arrow-left {
  left: 10px;
}

.courses-slider-arrow.arrow-right {
  right: 10px;
}

/* Feature icon wrappers */
.course-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Image zoom effect */
#course-image {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.courses-showcase-container:hover #course-image {
  transform: scale(1.04);
}

/* Mobile responsive adjustments */
@media (max-width: 991.98px) {
  .courses-slider-arrow {
    position: static;
    transform: none;
    margin: 10px 5px;
  }
  .courses-slider-arrow:hover {
    transform: scale(1.08);
  }
  .slider-arrows-mobile-container {
    display: flex;
    justify-content: center;
    margin-top: 15px;
  }
  .courses-slider-arrow.arrow-left,
  .courses-slider-arrow.arrow-right {
    position: static;
    transform: none;
  }
}

/* Responsive vertical divider & mobile layout details for certification strip */
@media (min-width: 992px) {
  .border-end-lg {
    border-right: 1px solid rgba(11, 34, 101, 0.08) !important;
    padding-right: 20px;
  }
}
@media (max-width: 575.98px) {
  .courses-bottom-strip .col-sm-4 {
    border-left: none !important;
    border-bottom: 1px solid rgba(11, 34, 101, 0.06);
    padding-bottom: 12px;
    margin-bottom: 12px;
  }
  .courses-bottom-strip .col-sm-4:last-child {
    border-bottom: none !important;
    padding-bottom: 0;
    margin-bottom: 0;
  }
}

/* =====================================================
   SECTION 03 : HORIZONTAL SCROLLING COURSES (GRID SLIDER)
   ===================================================== */

/* Container wrapper to relative position the arrow buttons and clip overflow */
.courses-carousel-wrapper {
  position: relative;
  width: 100%;
}

/* Horizontal scrolling track with scrollbar hidden */
.courses-scroll-track {
  display: flex;
  gap: 16px !important; /* Reduced to 16px for a tighter professional layout */
  overflow-x: hidden !important; /* Set overflow:hidden on the carousel viewport */
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 12px 0 24px 0 !important; /* Flush with px-5 outer margin; vertical padding preserves hover translations and shadows */
  
  /* Hide scrollbar entirely for high fidelity */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}
.courses-scroll-track::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}

/* Individual Card Styling - Sleek Executive Corporate Look */
.course-horizontal-card {
  flex: 0 0 calc((100% - 48px) / 4); /* Mathematically perfect width for exactly 4 cards with 16px gaps and no paddings */
  min-width: calc((100% - 48px) / 4);
  border-radius: 12px;
  position: relative;
  scroll-snap-align: start;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden; /* Standard overflow-hidden for nice clean corners */
  background: #ffffff;
}

/* Executive Glass & Subtle Accent Borders for Corporate Cards */
.course-horizontal-card.card-glass-blue,
.course-horizontal-card:has(.btn-blue) {
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1.5px solid rgba(37, 99, 235, 0.22) !important;
  background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%) !important;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06), 0 2px 6px rgba(37, 99, 235, 0.05) !important;
}

.course-horizontal-card.card-glass-orange,
.course-horizontal-card:has(.btn-orange) {
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1.5px solid rgba(234, 88, 12, 0.22) !important;
  background: linear-gradient(180deg, #ffffff 0%, #fffbf5 100%) !important;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06), 0 2px 6px rgba(234, 88, 12, 0.05) !important;
}

.course-horizontal-card.card-glass-green,
.course-horizontal-card:has(.btn-green) {
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1.5px solid rgba(5, 150, 105, 0.22) !important;
  background: linear-gradient(180deg, #ffffff 0%, #f2fcf6 100%) !important;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06), 0 2px 6px rgba(5, 150, 105, 0.05) !important;
}

/* Hide the old border corner lines */
.course-horizontal-card::before,
.course-horizontal-card::after {
  display: none !important;
}

/* Executive Lift and polished shadow on Hover */
.course-horizontal-card:hover {
  transform: translateY(-7px);
}

.course-horizontal-card.card-glass-blue:hover,
.course-horizontal-card:has(.btn-blue):hover {
  border-color: rgba(37, 99, 235, 0.55) !important;
  box-shadow: 0 20px 35px rgba(37, 99, 235, 0.18), 0 6px 12px rgba(15, 23, 42, 0.08) !important;
}

.course-horizontal-card.card-glass-orange:hover,
.course-horizontal-card:has(.btn-orange):hover {
  border-color: rgba(234, 88, 12, 0.55) !important;
  box-shadow: 0 20px 35px rgba(234, 88, 12, 0.18), 0 6px 12px rgba(15, 23, 42, 0.08) !important;
}

.course-horizontal-card.card-glass-green:hover,
.course-horizontal-card:has(.btn-green):hover {
  border-color: rgba(5, 150, 105, 0.55) !important;
  box-shadow: 0 20px 35px rgba(5, 150, 105, 0.18), 0 6px 12px rgba(15, 23, 42, 0.08) !important;
}

/* Banner image wrapper with absolute aspect-ratio constraint */
.course-card-banner-wrapper {
  position: relative;
  width: 100%;
  padding-top: 40%; /* More compact banner height for sleeker looks */
  overflow: hidden;
  background-color: #0f172a;
}

.course-card-banner-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.course-horizontal-card:hover .course-card-banner-img {
  transform: scale(1.08);
}

/* Beautiful folded ribbons */
.course-card-ribbon {
  position: absolute;
  top: 15px;
  left: 15px;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.8px;
  padding: 5px 14px;
  border-radius: 6px;
  z-index: 5;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.course-card-ribbon.ribbon-blue {
  background-color: #0d6efd;
}

.course-card-ribbon.ribbon-orange {
  background-color: #f97316;
}

.course-card-ribbon.ribbon-green {
  background-color: #198754;
}

/* Overlapping central floating icon */
.course-card-floating-icon-container {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 10;
}

.course-card-floating-icon {
  width: 48px;
  height: 48px;
  background-color: #ffffff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -24px; /* Overlap half of its height */
  box-shadow: 0 6px 18px rgba(11, 34, 101, 0.12);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.course-card-floating-icon.icon-blue {
  border: 2px solid #0d6efd;
  color: #0d6efd;
  box-shadow: 0 8px 24px rgba(13, 110, 253, 0.25);
}

.course-card-floating-icon.icon-orange {
  border: 2px solid #f97316;
  color: #f97316;
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.25);
}

.course-card-floating-icon.icon-green {
  border: 2px solid #198754;
  color: #198754;
  box-shadow: 0 8px 24px rgba(25, 135, 84, 0.25);
}

.course-horizontal-card:hover .course-card-floating-icon {
  transform: translateY(-3px) scale(1.05);
}

/* Card Body spacing */
.course-card-body-content {
  padding: 10px 14px 12px 14px; /* Optimized padding giving maximum horizontal space for inner elements */
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Override inner text elements to make cards more compact and perfectly uniform */
.course-card-body-content h3 {
  font-size: 1.1rem !important;
  margin-bottom: 1px !important; /* Reduced internal gap */
  font-weight: 800 !important;
  letter-spacing: -0.3px !important;
}

.course-card-body-content h5 {
  font-size: 0.74rem !important;
  margin-bottom: 4px !important; /* Reduced internal gap */
  font-weight: 500 !important;
}

/* Tiny color-bar underline spacing override & color-matching */
.course-card-body-content div[style*="width: 32px"] {
  margin: 0 auto 6px auto !important; /* Slightly increased for better rhythm */
  transition: background-color 0.3s ease;
}

/* Elegant bottom accent line on cards matching button colors */
.course-horizontal-card {
  border-bottom: 4px solid transparent !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-bottom-color 0.3s ease !important;
}

.course-horizontal-card:has(.btn-blue) {
  border-bottom-color: #2563eb !important;
}
.course-horizontal-card:has(.btn-orange) {
  border-bottom-color: #f97316 !important;
}
.course-horizontal-card:has(.btn-green) {
  border-bottom-color: #10b981 !important;
}

/* Color bar title underline inside card matching button colors precisely */
.course-horizontal-card:has(.btn-blue) div[style*="width: 32px"] {
  background-color: #2563eb !important;
}
.course-horizontal-card:has(.btn-orange) div[style*="width: 32px"] {
  background-color: #f97316 !important;
}
.course-horizontal-card:has(.btn-green) div[style*="width: 32px"] {
  background-color: #10b981 !important;
}

.course-card-body-content p {
  font-size: 0.74rem !important;
  line-height: 1.35 !important;
  margin-bottom: 6px !important; /* Reduced internal gap from 10px to 6px */
  color: #4b5563 !important;
}

/* Professional metadata well for Duration & Level - Spacious Shape */
.course-card-meta-well {
  border-radius: 8px;
  padding: 7px 10px;
  margin-top: auto;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  width: 100%;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  transition: all 0.25s ease;
}

.course-card-meta-well.well-blue {
  background: #eef6ff;
  border: 1.5px solid #bfdbfe;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.08);
}

.course-card-meta-well.well-orange {
  background: #fff7ed;
  border: 1.5px solid #fed7aa;
  box-shadow: 0 2px 6px rgba(234, 88, 12, 0.08);
}

.course-card-meta-well.well-green {
  background: #f0fdf4;
  border: 1.5px solid #bbf7d0;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.08);
}

.course-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1 1 0%;
  min-width: 0;
}

.course-meta-item i {
  font-size: 0.78rem !important;
  width: 25px;
  height: 25px;
  min-width: 25px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  font-weight: bold;
  flex-shrink: 0;
}

.course-meta-item div {
  min-width: 0;
  flex: 1;
  overflow: hidden;
}

.course-meta-item div div:first-child {
  font-size: 0.6rem !important;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-weight: 800 !important;
  line-height: 1.1;
  margin-bottom: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.course-meta-item div div:last-child {
  font-weight: 800 !important;
  font-size: 0.74rem !important;
  color: #0f172a !important;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Blue theme meta highlight */
.course-meta-item.blue-item div div:first-child {
  color: #1d4ed8 !important; /* Bold vibrant royal blue */
}

.course-meta-item.blue-item i {
  background: #2563eb;
  color: #ffffff !important;
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.25);
}

/* Orange theme meta highlight */
.course-meta-item.orange-item div div:first-child {
  color: #c2410c !important; /* Bold vibrant burnt orange */
}

.course-meta-item.orange-item i {
  background: #ea580c;
  color: #ffffff !important;
  box-shadow: 0 2px 4px rgba(234, 88, 12, 0.25);
}

/* Green theme meta highlight */
.course-meta-item.green-item div div:first-child {
  color: #047857 !important; /* Bold vibrant emerald green */
}

.course-meta-item.green-item i {
  background: #059669;
  color: #ffffff !important;
  box-shadow: 0 2px 4px rgba(5, 150, 105, 0.25);
}

.course-horizontal-card:hover .course-meta-item.blue-item i {
  transform: scale(1.08);
  background: #1d4ed8;
}

.course-horizontal-card:hover .course-meta-item.orange-item i {
  transform: scale(1.08);
  background: #c2410c;
}

.course-horizontal-card:hover .course-meta-item.green-item i {
  transform: scale(1.08);
  background: #047857;
}

/* Sleek Buttons */
.course-card-action-btn {
  border-radius: 6px; /* Elegant rounded rectangular */
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.725rem; /* Smaller font */
  letter-spacing: 0.3px;
  padding: 6px 14px; /* Compact padding */
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  width: fit-content; /* Small button layout */
  margin: 0 auto; /* Centered beautifully */
  text-decoration: none !important;
}

.course-card-action-btn i {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.course-card-action-btn:hover i {
  transform: translateX(4px);
}

.course-card-action-btn.btn-blue {
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}
.course-card-action-btn.btn-blue:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
  color: #ffffff !important;
}

.course-card-action-btn.btn-orange {
  background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.2);
}
.course-card-action-btn.btn-orange:hover {
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.35);
  color: #ffffff !important;
}

.course-card-action-btn.btn-green {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}
.course-card-action-btn.btn-green:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.35);
  color: #ffffff !important;
}

/* Indicator dots container */
.slider-indicator-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: -12px;
  margin-bottom: 25px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(11, 31, 77, 0.2);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.slider-dot:hover:not(.active) {
  background-color: #ff9933;
  transform: scale(1.2);
}

.slider-dot.active {
  background-color: #ea580c; /* Vibrant saffron/orange brand color */
  width: 24px;
  border-radius: 6px;
  box-shadow: 0 0 8px rgba(234, 88, 12, 0.6);
}

/* Brand badge mimicking Tally Prime icon container */
.course-card-brand-badge {
  background-color: #003057; /* Deep professional slate blue */
  color: #ffffff;
  padding: 8px 20px;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 48, 87, 0.15);
}

.course-card-brand-badge span.accent {
  color: #22c55e; /* Light green keyword text */
  margin-left: 5px;
}

/* Yellow/Gold accent bar under headings in the cards */
.course-title-accent-bar {
  width: 50px;
  height: 3px;
  background-color: #ffb703;
  margin: 10px auto 12px auto;
  border-radius: 1.5px;
}

/* Eligibility & Age dotted/dashed footer well */
.course-card-footer-well {
  background-color: rgba(11, 34, 101, 0.02);
  border: 1.5px dashed rgba(11, 34, 101, 0.08);
  border-radius: 8px;
  padding: 12px;
}

/* Beautiful Code-Editor/IDE Container inside Cards resembling real code */
.card-code-section {
  background-color: #0b111e !important; /* Premium dark IDE canvas */
  border-radius: 10px;
  padding: 11px 14px;
  font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
  font-size: 0.72rem;
  line-height: 1.45;
  color: #c9d1d9;
  text-align: left;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.3);
  margin-bottom: 12px;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Three mini terminal dots like macOS */
.card-code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.card-code-dots {
  display: flex;
  gap: 4px;
}
.card-code-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.dot-red { background-color: #ff5f56; }
.dot-yellow { background-color: #ffbd2e; }
.dot-green { background-color: #27c93f; }

.card-code-lang {
  font-size: 0.58rem;
  color: #6a737d;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Syntax highlighting classes */
.code-keyword { color: #f9758b; font-weight: 600; } /* red/pink */
.code-property { color: #79b8ff; } /* light blue */
.code-string { color: #9ecbff; } /* light blue string */
.code-number { color: #b392f0; } /* purple */
.code-comment { color: #6a737d; font-style: italic; } /* gray */
.code-class { color: #ffab70; } /* orange class */

/* Inquire Now solid beautiful button with a professional color */
.inquire-now-solid-btn,
.enquire-now-solid-btn {
  background-color: #2563eb !important; /* Premium corporate Royal Blue */
  color: #ffffff !important;
  border: none !important;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.25px;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 10px 16px;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.15) !important;
}

.inquire-now-solid-btn:hover,
.enquire-now-solid-btn:hover {
  background-color: #ea580c !important; /* Professional alternative brand saffron orange */
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(234, 88, 12, 0.22) !important;
}

/* Slider Controls Positioning overlaying the track */
.carousel-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #0b2265;
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(11, 34, 101, 0.2);
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-nav-arrow:hover {
  background-color: #ea580c;
  color: #ffffff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 16px rgba(234, 88, 12, 0.35);
}

.carousel-nav-arrow.nav-prev {
  left: -22px;
}

.carousel-nav-arrow.nav-next {
  right: -22px;
}

/* Responsive adjustments for 4-column, 2-column or 1-column layouts */
@media (min-width: 1025px) {
  .course-horizontal-card {
    flex: 0 0 calc((100% - 48px) / 4) !important;
    min-width: calc((100% - 48px) / 4) !important;
  }
}

@media (max-width: 1024px) {
  .course-horizontal-card {
    flex: 0 0 calc((100% - 16px) / 2) !important; /* Tablet: exactly 2 cards across */
    min-width: calc((100% - 16px) / 2) !important;
  }
  .carousel-nav-arrow {
    width: 38px !important;
    height: 38px !important;
    font-size: 0.85rem !important;
  }
}

@media (max-width: 767.98px) {
  .courses-scroll-track {
    gap: 16px !important;
    padding: 12px 0 24px 0 !important;
  }
  
  .course-horizontal-card {
    flex: 0 0 100% !important; /* Smartphone: exactly 1 card across flush with margins */
    min-width: 100% !important;
  }
  
  /* Make the title, well, and text even more compact on tiny smartphone devices */
  .course-card-body-content {
    padding: 8px 14px 10px 14px !important; /* Spacious 14px left/right margins inside mobile cards */
  }
  
  .course-card-body-content h3 {
    font-size: 1.05rem !important;
  }
  
  .course-card-body-content h5 {
    font-size: 0.7rem !important;
    margin-bottom: 4px !important;
  }
  
  .course-card-body-content p {
    font-size: 0.7rem !important;
    line-height: 1.35 !important;
    margin-bottom: 8px !important;
  }
  
  .course-card-meta-well {
    padding: 6px 10px !important;
    margin-bottom: 8px !important;
  }
  
  .course-meta-item div div:last-child {
    font-size: 0.65rem !important;
  }
  
  .course-card-action-btn {
    padding: 6px 12px !important;
    font-size: 0.7rem !important;
    width: fit-content !important;
    margin: 0 auto !important;
  }
  
  .carousel-nav-arrow {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.75rem !important;
  }
  
  .carousel-nav-arrow.nav-prev {
    left: -8px !important;
  }
  
  .carousel-nav-arrow.nav-next {
    right: -8px !important;
  }
}

/* Beautiful custom hover and alignment styles for the new 3-column bottom cards */
.courses-bottom-row {
  margin-top: -18px !important;
  margin-bottom: 0 !important;
}

.courses-bottom-row .col-lg-4,
.courses-bottom-row .col-md-6,
.courses-bottom-row .col-md-12,
.courses-bottom-row .col-12 {
  padding-left: 6px !important;
  padding-right: 6px !important;
}

.courses-bottom-panel-card {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  height: 100% !important;
  min-height: 110px !important; /* Perfect visual synchronization with button height */
}

.courses-bottom-panel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(11, 34, 101, 0.08) !important;
}

.courses-bottom-panel-card .feature-small-icon {
  transition: transform 0.3s ease;
}

.courses-bottom-panel-card:hover .feature-small-icon {
  transform: scale(1.1);
}

/* ==================== Student Card Section ==================== */
.studentscrollingsection {
  padding: 20px 0 10px 0; /* Matches padding of other main sections precisely */
  margin-top: 0px;
  text-align: center;
  font-family: 'Poppins', 'Inter', 'Segoe UI', sans-serif;
  color: #1e293b;
  overflow: hidden;
  position: relative;
  /* Beautiful premium colorful professional gradient */
  background: linear-gradient(135deg, #e0f2fe 0%, #faf5ff 50%, #f0fdf4 100%);
}

/* Elegant light grid background and colorful spots overlay */
.studentscrollingsection::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(14, 165, 233, 0.05) 1.2px, transparent 1.2px),
    linear-gradient(to bottom, rgba(14, 165, 233, 0.05) 1.2px, transparent 1.2px),
    linear-gradient(to right, rgba(168, 85, 247, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(168, 85, 247, 0.02) 1px, transparent 1px);
  background-size: 40px 40px, 40px 40px, 10px 10px, 10px 10px;
  pointer-events: none;
  z-index: 1;
}

.studentscrollingsection::after {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 10% 20%, rgba(56, 189, 248, 0.15) 0%, transparent 50%),   /* Mint/Sky Glow */
    radial-gradient(circle at 90% 80%, rgba(244, 63, 94, 0.08) 0%, transparent 45%);   /* Soft Rose Glow */
  pointer-events: none;
  z-index: 1;
}

/* Symmetrical Section Header matching Company Profile / Why Choose Us precisely */
.studentscrollingsection-title {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  color: #0b1e3b; /* Pure deep professional navy */
  letter-spacing: 0.06em;
  margin: 0 auto 8px auto;
  text-transform: uppercase;
  white-space: nowrap;
  position: relative;
  z-index: 5;
}

.studentscrollingsection-title::before {
  content: "";
  display: inline-block;
  height: 10px;
  width: 140px;
  margin-right: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='10' viewBox='0 0 140 10'%3E%3Ccircle cx='2' cy='5' r='2' fill='%23ff9933'/%3E%3Cline x1='8' y1='5' x2='128' y2='5' stroke='%23ff9933' stroke-width='1.5'/%3E%3Cpolygon points='135,1 139,5 135,9 131,5' fill='%23ff9933'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center right;
  flex-shrink: 1;
}

.studentscrollingsection-title::after {
  content: "";
  display: inline-block;
  height: 10px;
  width: 140px;
  margin-left: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='10' viewBox='0 0 140 10'%3E%3Cpolygon points='5,1 9,5 5,9 1,5' fill='%23138808'/%3E%3Cline x1='12' y1='5' x2='132' y2='5' stroke='%23138808' stroke-width='1.5'/%3E%3Ccircle cx='138' cy='5' r='2' fill='%23138808'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center left;
  flex-shrink: 1;
}

/* ==================== Student Card ==================== */
.student-card {
  flex-shrink: 0;
  width: 240px;  
  height: 315px;
  position: relative;
  border-radius: 22px !important; /* Made slightly rounder to look exact and premium like the reference */
  text-align: center;
  padding-top: 16px;
  margin-right: 20px;
  transition: all 0.3s ease !important;
}

.student-card.card-glass-blue,
.student-card:nth-child(5n+1) {
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 3.5px solid transparent !important;
  background-clip: padding-box !important;
  background: linear-gradient(rgba(219, 234, 254, 0.94), rgba(219, 234, 254, 0.94)) padding-box, 
              linear-gradient(135deg, #ff9933 0%, #ff9933 16%, rgba(11, 31, 77, 0.08) 16%, rgba(11, 31, 77, 0.08) 84%, #128807 84%, #128807 100%) border-box !important;
  box-shadow: 0 12px 30px rgba(59, 130, 246, 0.15), 0 4px 10px rgba(59, 130, 246, 0.08) !important;
}

.student-card.card-glass-orange,
.student-card:nth-child(5n+2) {
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 3.5px solid transparent !important;
  background-clip: padding-box !important;
  background: linear-gradient(rgba(254, 243, 199, 0.93), rgba(254, 243, 199, 0.93)) padding-box, 
              linear-gradient(135deg, #ff9933 0%, #ff9933 16%, rgba(11, 31, 77, 0.08) 16%, rgba(11, 31, 77, 0.08) 84%, #128807 84%, #128807 100%) border-box !important;
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.15), 0 4px 10px rgba(245, 158, 11, 0.08) !important;
}

.student-card.card-glass-green,
.student-card:nth-child(5n+3) {
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 3.5px solid transparent !important;
  background-clip: padding-box !important;
  background: linear-gradient(rgba(220, 252, 231, 0.94), rgba(220, 252, 231, 0.94)) padding-box, 
              linear-gradient(135deg, #ff9933 0%, #ff9933 16%, rgba(11, 31, 77, 0.08) 16%, rgba(11, 31, 77, 0.08) 84%, #128807 84%, #128807 100%) border-box !important;
  box-shadow: 0 12px 30px rgba(34, 197, 94, 0.15), 0 4px 10px rgba(34, 197, 94, 0.08) !important;
}

.student-card.card-glass-purple,
.student-card:nth-child(5n+4) {
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 3.5px solid transparent !important;
  background-clip: padding-box !important;
  background: linear-gradient(rgba(243, 232, 255, 0.94), rgba(243, 232, 255, 0.94)) padding-box, 
              linear-gradient(135deg, #ff9933 0%, #ff9933 16%, rgba(11, 31, 77, 0.08) 16%, rgba(11, 31, 77, 0.08) 84%, #128807 84%, #128807 100%) border-box !important;
  box-shadow: 0 12px 30px rgba(168, 85, 247, 0.15), 0 4px 10px rgba(168, 85, 247, 0.08) !important;
}

.student-card.card-glass-teal,
.student-card:nth-child(5n+0) {
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 3.5px solid transparent !important;
  background-clip: padding-box !important;
  background: linear-gradient(rgba(204, 251, 241, 0.94), rgba(204, 251, 241, 0.94)) padding-box, 
              linear-gradient(135deg, #ff9933 0%, #ff9933 16%, rgba(11, 31, 77, 0.08) 16%, rgba(11, 31, 77, 0.08) 84%, #128807 84%, #128807 100%) border-box !important;
  box-shadow: 0 12px 30px rgba(20, 184, 166, 0.15), 0 4px 10px rgba(20, 184, 166, 0.06) !important;
}

.student-card:hover {
  transform: translateY(-5px);
}

.student-card.card-glass-blue:hover,
.student-card:nth-child(5n+1):hover {
  background: linear-gradient(rgba(219, 234, 254, 0.98), rgba(219, 234, 254, 0.98)) padding-box, 
              linear-gradient(135deg, #ff9933 0%, #ff9933 16%, rgba(11, 31, 77, 0.08) 16%, rgba(11, 31, 77, 0.08) 84%, #128807 84%, #128807 100%) border-box !important;
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.25), 0 8px 16px rgba(59, 130, 246, 0.12) !important;
}

.student-card.card-glass-orange:hover,
.student-card:nth-child(5n+2):hover {
  background: linear-gradient(rgba(254, 243, 199, 0.98), rgba(254, 243, 199, 0.98)) padding-box, 
              linear-gradient(135deg, #ff9933 0%, #ff9933 16%, rgba(11, 31, 77, 0.08) 16%, rgba(11, 31, 77, 0.08) 84%, #128807 84%, #128807 100%) border-box !important;
  box-shadow: 0 20px 40px rgba(245, 158, 11, 0.25), 0 8px 16px rgba(245, 158, 11, 0.12) !important;
}

.student-card.card-glass-green:hover,
.student-card:nth-child(5n+3):hover {
  background: linear-gradient(rgba(220, 252, 231, 0.98), rgba(220, 252, 231, 0.98)) padding-box, 
              linear-gradient(135deg, #ff9933 0%, #ff9933 16%, rgba(11, 31, 77, 0.08) 16%, rgba(11, 31, 77, 0.08) 84%, #128807 84%, #128807 100%) border-box !important;
  box-shadow: 0 20px 40px rgba(34, 197, 94, 0.25), 0 8px 16px rgba(34, 197, 94, 0.12) !important;
}

.student-card.card-glass-purple:hover,
.student-card:nth-child(5n+4):hover {
  background: linear-gradient(rgba(243, 232, 255, 0.98), rgba(243, 232, 255, 0.98)) padding-box, 
              linear-gradient(135deg, #ff9933 0%, #ff9933 16%, rgba(11, 31, 77, 0.08) 16%, rgba(11, 31, 77, 0.08) 84%, #128807 84%, #128807 100%) border-box !important;
  box-shadow: 0 20px 40px rgba(168, 85, 247, 0.25), 0 8px 16px rgba(168, 85, 247, 0.12) !important;
}

.student-card.card-glass-teal:hover,
.student-card:nth-child(5n+0):hover {
  background: linear-gradient(rgba(204, 251, 241, 0.98), rgba(204, 251, 241, 0.98)) padding-box, 
              linear-gradient(135deg, #ff9933 0%, #ff9933 16%, rgba(11, 31, 77, 0.08) 16%, rgba(11, 31, 77, 0.08) 84%, #128807 84%, #128807 100%) border-box !important;
  box-shadow: 0 20px 40px rgba(20, 184, 166, 0.25), 0 8px 16px rgba(20, 184, 166, 0.12) !important;
}

.student-card .profile-img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50% !important;
  border: 3px solid transparent !important;
  background: linear-gradient(#fff, #fff) padding-box,
              linear-gradient(135deg, #ff9933 0%, #ff9933 16%, rgba(11, 31, 77, 0.08) 16%, rgba(11, 31, 77, 0.08) 84%, #128807 84%, #128807 100%) border-box !important;
  display: block;
  margin: 12px auto;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
  transition: all 0.3s ease !important;
}

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

.student-card .top-bar,
.placement-box .top-bar {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #ff9900, #ffeb3b);
  border-radius: 2px;
}

.student-card .student-name {
  font-weight: bold;
  margin-bottom: 4px;
  text-transform: uppercase;
  color: #1e3a8a;
}

.student-card .student-id {
  font-size: 0.85rem;
  color: #000000; /* Pure Deep Black */
  margin-bottom: 4px;
}

.student-card .student-course {
  font-weight: 600;
  color: #28a745;
  margin-bottom: 4px;
}

.student-card .student-address {
  font-size: 0.85rem;
  color: #000000;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* 2 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==================== Marquee ==================== */
.student-marquee-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
  z-index: 5;
  padding: 10px 0;
}

.student-marquee {
  display: flex;
  animation: marquee-scroll 20s linear infinite;
}

/* Keyframes for Desktop */
@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==================== Smart & Professional Responsive Styles ==================== */

/* ---------- Tablet & iPad View (576px to 991.98px) ---------- */
@media (min-width: 576px) and (max-width: 991.98px) {
  .studentscrollingsection {
    padding: 20px 0;
  }

  .studentscrollingsection-title {
    font-size: 1.15rem;
    margin: 0 auto 8px auto;
  }

  .student-marquee-wrapper {
    padding: 10px 0 !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
    width: 100% !important;
    margin: 0 !important;
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
  }

  .student-marquee-wrapper::-webkit-scrollbar {
    display: none !important;
  }

  .student-marquee {
    display: flex !important;
    flex-wrap: nowrap !important;
    animation: none !important;
    width: max-content !important;
    gap: 20px !important;
    padding: 0 !important;
  }

  .student-card {
    flex: 0 0 calc(50% - 10px) !important; /* Exactly 2 boxes visible side-by-side in tab view */
    width: calc(50% - 10px) !important;
    max-width: 290px !important;
    height: 315px !important;
    min-height: 315px !important;
    scroll-snap-align: start !important;
    scroll-snap-stop: always !important;
    margin-right: 0 !important;
    padding: 16px 14px !important;
    border-radius: 22px !important;
  }

  .student-card .profile-img {
    width: 100px !important;
    height: 100px !important;
    margin: 10px auto 10px auto !important;
  }

  .student-card .student-name {
    font-size: 1.05rem !important;
    margin-bottom: 4px !important;
    font-weight: 700 !important;
  }

  .student-card .student-id {
    font-size: 0.85rem !important;
    margin-bottom: 4px !important;
  }

  .student-card .student-course {
    font-size: 0.92rem !important;
    margin-bottom: 4px !important;
    font-weight: 600 !important;
  }

  .student-card .student-address {
    font-size: 0.85rem !important;
    line-height: 1.35 !important;
    padding: 0 8px !important;
    margin-bottom: 0 !important;
  }
}

/* ---------- Mobile & Smart Phones (575.98px and below) ---------- */
@media (max-width: 575.98px) {
  .studentscrollingsection {
    padding: 18px 0;
  }

  .studentscrollingsection-title {
    font-size: 1.15rem;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
  }

  .student-marquee-wrapper {
    padding: 10px 0 !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
    width: 100% !important;
    margin: 0 !important;
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
  }

  /* Hide scrollbar for a clean UI */
  .student-marquee-wrapper::-webkit-scrollbar {
    display: none !important;
  }

  .student-marquee {
    --card-w: min(290px, 86%);
    display: flex !important;
    flex-wrap: nowrap !important;
    animation: none !important;
    width: max-content !important;
    padding: 0 calc((100% - var(--card-w)) / 2) !important;
    gap: calc(100% - var(--card-w)) !important;
  }

  .student-card {
    --card-w: min(290px, 86%);
    flex: 0 0 var(--card-w) !important;
    width: var(--card-w) !important;
    max-width: var(--card-w) !important;
    height: 315px !important;
    min-height: 315px !important;
    scroll-snap-align: center !important;
    scroll-snap-stop: always !important;
    margin-right: 0 !important;
    padding: 16px 16px !important;
    border-radius: 22px !important; /* Made slightly rounder to match reference */
  }

  .student-card .profile-img {
    width: 105px !important;
    height: 105px !important;
    margin: 10px auto 12px auto !important;
  }

  .student-card .student-name {
    font-size: 1.1rem !important;
    margin-bottom: 5px !important;
    font-weight: 700 !important;
  }

  .student-card .student-id {
    font-size: 0.88rem !important;
    margin-bottom: 5px !important;
  }

  .student-card .student-course {
    font-size: 0.95rem !important;
    margin-bottom: 5px !important;
    font-weight: 600 !important;
  }

  .student-card .student-address {
    font-size: 0.88rem !important;
    line-height: 1.35 !important;
    padding: 0 8px !important;
    margin-bottom: 0 !important;
  }
}

/* =======================================================
   SECTION 12 : STUDENT STATISTICS SECTION (SAME 2 SAME LOOK)
   ======================================================= */
.student-stats-section {
  background: linear-gradient(135deg, #f1f5f9 0%, #f8fafc 50%, #e2e8f0 100%);
  position: relative;
  padding: 15px 0 35px 0; /* Compact padding to lift the heading up nicely, matching previous sections */
  z-index: 5;
  overflow: hidden;
}

.student-stats-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(14, 165, 233, 0.05) 1.2px, transparent 1.2px),
    linear-gradient(to bottom, rgba(14, 165, 233, 0.05) 1.2px, transparent 1.2px),
    linear-gradient(to right, rgba(168, 85, 247, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(168, 85, 247, 0.02) 1px, transparent 1px);
  background-size: 40px 40px, 40px 40px, 10px 10px, 10px 10px;
  pointer-events: none;
  z-index: 1;
}

.student-stats-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 10% 20%, rgba(56, 189, 248, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(244, 63, 94, 0.08) 0%, transparent 45%);
  pointer-events: none;
  z-index: 1;
}

.student-stats-title {
  font-family: 'Poppins', sans-serif;
  font-size: 2.15rem;
  font-weight: 800;
  color: #0b1f4d;
  letter-spacing: -0.015em;
  margin-bottom: 25px;
  text-align: center;
}

.stat-flat-card {
  background: #ffffff;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important; /* Classic, authoritative government-style slightly rounded corners */
  padding: 20px 15px 18px 15px; /* Compact padding to lift items and reduce vertical footprint */
  box-shadow: 0 4px 12px rgba(11, 31, 77, 0.05) !important;
  transition: all 0.3s ease !important;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.stat-flat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(11, 31, 77, 0.08) !important;
  border-color: #cbd5e1 !important;
  background: #ffffff;
}

.stat-icon-badge {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px; /* Reduced margin */
  transition: all 0.3s ease;
}

.stat-icon-badge.badge-blue {
  background-color: rgba(12, 89, 182, 0.06);
  border: 1px solid rgba(12, 89, 182, 0.12);
}
.stat-icon-badge.badge-orange {
  background-color: rgba(255, 115, 0, 0.06);
  border: 1px solid rgba(255, 115, 0, 0.12);
}
.stat-icon-badge.badge-green {
  background-color: rgba(19, 136, 8, 0.06);
  border: 1px solid rgba(19, 136, 8, 0.12);
}

.stat-flat-card:hover .stat-icon-badge {
  transform: translateY(-2px);
}

.stat-flat-card:hover .stat-icon-badge.badge-blue {
  background-color: rgba(12, 89, 182, 0.12);
  border-color: rgba(12, 89, 182, 0.25);
}
.stat-flat-card:hover .stat-icon-badge.badge-orange {
  background-color: rgba(255, 115, 0, 0.12);
  border-color: rgba(255, 115, 0, 0.25);
}
.stat-flat-card:hover .stat-icon-badge.badge-green {
  background-color: rgba(19, 136, 8, 0.12);
  border-color: rgba(19, 136, 8, 0.25);
}

.stat-icon-badge i {
  font-size: 1.55rem;
  transition: transform 0.3s ease;
}

.stat-icon-badge.badge-blue i {
  color: #0c59b6;
}
.stat-icon-badge.badge-orange i {
  color: #ff7300;
}
.stat-icon-badge.badge-green i {
  color: #138808;
}

.stat-flat-card:hover .stat-icon-badge i {
  transform: scale(1.05);
}

.stat-flat-number {
  font-family: 'Poppins', sans-serif;
  font-size: 1.85rem; /* Highly professional compact font size */
  font-weight: 800;
  color: #0b1f4d !important;
  margin-top: 3px;
  margin-bottom: 2px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  transition: transform 0.3s ease;
}

.stat-flat-card:hover .stat-flat-number {
  transform: scale(1.03);
}

.stat-flat-label {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: #475569 !important;
  margin-bottom: 0;
  line-height: 1.3;
  max-width: 160px;
  text-transform: none;
  transition: color 0.3s ease;
}

.stat-flat-card:hover .stat-flat-label {
  color: #0b1f4d !important;
}

@media (max-width: 991.98px) {
  .stat-flat-card {
    padding: 22px 10px;
    border-radius: 16px !important;
  }
  .stat-icon-badge {
    width: 60px;
    height: 60px;
    margin-bottom: 12px;
  }
  .stat-icon-badge i {
    font-size: 1.5rem;
  }
  .stat-flat-number {
    font-size: 1.65rem;
  }
  .stat-flat-label {
    font-size: 0.8rem;
  }
}

@media (max-width: 575.98px) {
  .stat-flat-card {
    padding: 16px 8px;
    border-radius: 12px !important;
  }
  .stat-icon-badge {
    width: 48px;
    height: 48px;
    margin-bottom: 8px;
  }
  .stat-icon-badge i {
    font-size: 1.2rem;
  }
  .stat-flat-number {
    font-size: 1.35rem;
  }
  .stat-flat-label {
    font-size: 0.72rem;
  }
}

/* ===================================================== */
/* FRANCHISE OPPORTUNITY SECTION                         */
/* ===================================================== */
.franchise-section {
  padding: 20px 0 25px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%); /* Elegant high-end gray-slate gradient */
  position: relative;
  overflow: hidden;
  z-index: 5;
}

.franchise-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(11, 31, 77, 0.04) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 1;
}

.franchise-benefit-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 30px 24px;
  box-shadow: 0 4px 12px rgba(11, 31, 77, 0.04);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  height: 100%;
  position: relative;
  overflow: hidden;
}

/* National thematic top border accents for franchise cards */
.franchise-benefit-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
}
.franchise-benefit-card.card-first::before {
  background-color: #ff9933; /* Saffron */
}
.franchise-benefit-card.card-second::before {
  background-color: #0b1f4d; /* Navy */
}
.franchise-benefit-card.card-third::before {
  background-color: #138808; /* Green */
}

.franchise-benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(11, 31, 77, 0.08);
  border-color: #cbd5e1;
}

.franchise-badge {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
}
.franchise-benefit-card.card-first .franchise-badge {
  background-color: rgba(255, 153, 51, 0.08);
  color: #ff9933;
}
.franchise-benefit-card.card-second .franchise-badge {
  background-color: rgba(11, 31, 77, 0.08);
  color: #0b1f4d;
}
.franchise-benefit-card.card-third .franchise-badge {
  background-color: rgba(19, 136, 8, 0.08);
  color: #138808;
}

.franchise-card-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: #0b1f4d;
  margin-bottom: 12px;
}

.franchise-card-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.825rem;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 20px;
}

.franchise-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid #f1f5f9;
  padding-top: 16px;
}

.franchise-card-list li {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: #1e293b;
  font-weight: 600;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.franchise-card-list li i {
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* Call To Action Panel Style */
.franchise-cta-panel {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 30px;
  margin-top: 25px;
  position: relative;
  z-index: 2;
}

/* Sleek border-left with tri-color accent */
.franchise-cta-panel::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: linear-gradient(to bottom, #ff9933 0%, #ff9933 33.3%, #ffffff 33.3%, #ffffff 66.6%, #138808 66.6%);
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}

.franchise-cta-panel .cta-heading {
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #0b1f4d;
  margin-bottom: 8px;
}

.franchise-cta-panel .cta-subtext {
  font-family: 'Inter', sans-serif;
  font-size: 0.825rem;
  color: #475569;
}

/* Extra small fonts & custom layout */
.text-xs-small {
  font-size: 0.775rem !important;
}

@media (max-width: 991.98px) {
  .franchise-cta-panel {
    padding: 20px;
  }
}

/* ===================================================== */
/* FRANCHISE OPPORTUNITY BRAND-NEW SCREENSHOT DESIGNS   */
/* ===================================================== */

/* Layout 1: Hero split display */
.franchise-hero-row {
  align-items: center;
}

.franchise-hero-left {
  padding-right: 35px;
}

.franchise-hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: 2.85rem;
  font-weight: 800;
  color: #0b1f4d;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.franchise-hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.55;
  margin-bottom: 28px;
  max-width: 480px;
}

.btn-franchise-hero-apply {
  background-color: #0b1f4d;
  color: #ffffff !important;
  font-family: 'Poppins', sans-serif;
  font-size: 1.025rem;
  font-weight: 700;
  padding: 13px 32px;
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(11, 31, 77, 0.15);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  cursor: pointer;
  display: inline-block;
}

.btn-franchise-hero-apply:hover {
  transform: translateY(-3px);
  background-color: #1a3268;
  box-shadow: 0 8px 22px rgba(11, 31, 77, 0.25);
}

/* Graphic Card (Layout 1 Right Side) - Exact Matching Gradient and rounded corners */
.franchise-graphic-card {
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.6) 0%, rgba(240, 253, 250, 0.6) 100%);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  box-shadow: 0 12px 36px rgba(11, 31, 77, 0.03);
  position: relative;
  width: 100%;
  max-width: 500px;
  min-height: 220px;
  margin: 0 auto;
}

/* Handshake Emblem precisely styled like the orange handshake icon in screenshot */
.graphic-handshake-wrapper {
  background: #ffffff;
  border-radius: 20px;
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(255, 115, 0, 0.08);
  border: 1.5px solid rgba(255, 115, 0, 0.12);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.graphic-handshake-wrapper i {
  font-size: 3rem;
  color: #ff7300; /* Precise color from screenshot */
}

.franchise-graphic-card:hover .graphic-handshake-wrapper {
  transform: scale(1.08) rotate(-4deg);
}

/* Chart Emblem precisely styled like green chart in screenshot */
.graphic-chart-wrapper {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 105px;
  position: relative;
  padding-bottom: 4px;
}

.chart-bar {
  width: 15px;
  background-color: #138808; /* Theme national green */
  border-radius: 4px;
  transition: height 0.4s ease;
  box-shadow: 0 2px 6px rgba(19, 136, 8, 0.1);
}

.chart-bar-1 { height: 25px; }
.chart-bar-2 { height: 42px; }
.chart-bar-3 { height: 60px; }
.chart-bar-4 { height: 78px; }
.chart-bar-5 { height: 96px; }

/* Precise upward trend arrow in green */
.chart-trend-line {
  position: absolute;
  bottom: 12px;
  left: -2px;
  width: 110%;
  height: 4px;
  background-color: #138808;
  transform: rotate(-36deg);
  transform-origin: bottom left;
  border-radius: 2px;
  z-index: 2;
}

.chart-trend-arrow {
  position: absolute;
  top: 10px;
  right: -14px;
  width: 0;
  height: 0;
  border-left: 10px solid #138808;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  transform: rotate(54deg);
  z-index: 2;
}

/* Layout 2: Premium Wide Banner (Second Image) */
.franchise-banner-card {
  background: #031b4e; /* Precise solid dark blue color matching the second screenshot */
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 12px 30px rgba(3, 27, 78, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.banner-row {
  display: flex;
  align-items: stretch;
}

.banner-left-content {
  padding: 40px 50px;
  position: relative;
  z-index: 5;
  color: #ffffff;
}

.banner-text-heading {
  font-family: 'Poppins', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #ffffff;
  margin-bottom: 6px;
}

.banner-text-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 24px;
  max-width: 520px;
  line-height: 1.45;
}

/* Feature checklist grid matching second screenshot precisely */
.banner-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 20px;
  margin-bottom: 25px;
  max-width: 650px;
}

.banner-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: #ffffff;
}

.banner-feature-item i.check-orange {
  color: #ff7300; /* High contrast orange icon */
  font-size: 0.95rem;
}

.banner-feature-item i.check-green {
  color: #138808; /* National Green check icon */
  font-size: 0.95rem;
}

/* Enquire for Franchise white button matching image */
.btn-banner-enquire {
  background-color: #ffffff;
  color: #031b4e !important;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 10px 22px;
  border: none;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transition: all 0.25s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

.btn-banner-enquire:hover {
  background-color: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

/* Beautiful curved diagonal divider precisely replicating second screenshot */
.banner-divider-diagonal {
  position: absolute;
  top: 0;
  bottom: 0;
  right: -25px;
  width: 75px;
  background: #031b4e;
  transform: skewX(-16deg);
  transform-origin: top right;
  z-index: 3;
  border-right: 5px solid #ff7300; /* Precise orange stripe divider */
}

/* Right portion background picture */
.banner-right-visual {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-right-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, #031b4e 0%, rgba(3, 27, 78, 0.3) 25%, transparent 100%), url('https://images.unsplash.com/photo-1521791136368-1a46827d0adb?auto=format&fit=crop&w=700&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.95;
  z-index: 1;
}

/* Institution building overlay badge on right */
.banner-institution-mockup {
  position: relative;
  z-index: 2;
  background: #ffffff;
  border-radius: 12px;
  padding: 12px 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.95);
  text-align: center;
  max-width: 150px;
  transform: translateX(10px);
}

.banner-institution-mockup i.building-icon {
  font-size: 2.2rem;
  color: #138808; /* green themed building icon */
  margin-bottom: 4px;
}

.banner-institution-badge {
  background-color: #0c59b6;
  color: #ffffff;
  font-size: 0.55rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 3px;
  display: inline-block;
  margin-bottom: 2px;
  letter-spacing: 0.05em;
}

.banner-institution-name {
  font-size: 0.725rem;
  font-weight: 700;
  color: #031b4e;
  margin: 0;
}

/* Mobile Responsive Adapters */
@media (max-width: 991.98px) {
  .franchise-hero-title {
    font-size: 2.2rem;
  }
  .franchise-hero-left {
    padding-right: 0;
    text-align: center;
  }
  .franchise-hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .banner-left-content {
    padding: 30px 24px;
  }
  .banner-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575.98px) {
  .franchise-hero-title {
    font-size: 1.85rem;
  }
  .franchise-hero-subtitle {
    font-size: 0.925rem;
  }
  .franchise-graphic-card {
    padding: 24px;
    border-radius: 20px;
  }
  .graphic-handshake-wrapper {
    width: 72px;
    height: 72px;
  }
  .graphic-handshake-wrapper i {
    font-size: 2.2rem;
  }
  .graphic-chart-wrapper {
    height: 80px;
  }
  .chart-bar {
    width: 11px;
  }
  .chart-bar-1 { height: 18px; }
  .chart-bar-2 { height: 32px; }
  .chart-bar-3 { height: 46px; }
  .chart-bar-4 { height: 60px; }
  .chart-bar-5 { height: 74px; }
  .banner-text-heading {
    font-size: 1.2rem;
  }
  .banner-feature-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* Premium Franchise Split CTA Button matching previous section buttons exactly */
.franchise-split-cta-btn {
  display: inline-flex;
  align-items: stretch;
  border-radius: 6px !important; /* Identical to custom-split-btn */
  overflow: hidden;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(11, 30, 59, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.franchise-split-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(11, 30, 59, 0.18);
}

.franchise-split-cta-btn .handshake-block {
  background-color: #0b1e3b; /* Deep Navy Blue */
  color: #ffffff;
  min-width: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.2s ease;
}

.franchise-split-cta-btn .handshake-block i {
  font-size: 1.15rem !important;
}

.franchise-split-cta-btn .apply-text-block {
  background-color: #0b1e3b; /* Deep Navy Blue */
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.85rem; /* Identical to VIEW ALL COURSES */
  text-transform: uppercase;
  letter-spacing: 0.08em; /* Identical to VIEW ALL COURSES */
  padding: 14px 10px; /* Reduced left and right padding */
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

.franchise-split-cta-btn:hover .handshake-block,
.franchise-split-cta-btn:hover .apply-text-block {
  background-color: #071428; /* Slightly darker deep blue on hover */
}

.franchise-split-cta-btn .arrow-block {
  background-color: #ff6600; /* Identical vibrant orange */
  color: #ffffff;
  width: 34px; /* Reduced width */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.franchise-split-cta-btn:hover .arrow-block {
  background-color: #e05500; /* Identical orange hover state */
}

.franchise-split-cta-btn .arrow-block i {
  font-size: 1.1rem !important;
  transition: transform 0.2s ease;
}

.franchise-split-cta-btn:hover .arrow-block i {
  transform: translateX(4px); /* Arrow hover glide */
}

/* =====================================================
   HOME PAGE - GALLERY SECTION
===================================================== */
.gallery-carousel-container {
  position: relative;
  padding: 0;
}
@media (max-width: 767.98px) {
  .gallery-carousel-container {
    padding: 0;
  }
}

.gallery-swiper {
  width: 100%;
  overflow: hidden;
  padding-bottom: 35px !important;
}

.swiper-slide {
  height: auto !important;
}

.gallery-8-card {
  border-radius: 16px !important;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(3, 27, 78, 0.05) !important;
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 3.5px solid transparent !important;
  background-clip: padding-box !important;
  background: linear-gradient(#ffffff, #ffffff) padding-box, 
              linear-gradient(135deg, #ff9933 0%, #ff9933 16%, rgba(11, 31, 77, 0.08) 16%, rgba(11, 31, 77, 0.08) 84%, #128807 84%, #128807 100%) border-box !important;
  height: 100% !important;
  display: flex;
  flex-direction: column;
}

.gallery-8-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(3, 27, 78, 0.1) !important;
}

.gallery-8-img-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.gallery-8-img {
  width: 100% !important;
  aspect-ratio: 16 / 10 !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.4s ease;
}

.gallery-8-card:hover .gallery-8-img {
  transform: scale(1.06);
}

.gallery-8-hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(3, 27, 78, 0.75) 0%, rgba(234, 88, 12, 0.45) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 2;
}

.gallery-8-card:hover .gallery-8-hover-overlay {
  opacity: 1;
}

.gallery-8-hover-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  color: #ea580c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transform: scale(0.8);
  transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 4px 15px rgba(3, 27, 78, 0.2);
}

.gallery-8-card:hover .gallery-8-hover-icon {
  transform: scale(1);
}

.gallery-8-footer {
  background-color: #ffffff !important;
  padding: 10px 14px !important;
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid rgba(3, 27, 78, 0.03);
  margin-top: auto;
}

.gallery-icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* Distinctive, vibrant brand colors for gallery category icons */
.gallery-icon-saffron {
  background-color: #fff2e6 !important;
  color: #ff6600 !important;
}
.gallery-icon-blue {
  background-color: #e8f2ff !important;
  color: #0d6efd !important;
}
.gallery-icon-purple {
  background-color: #f3e8ff !important;
  color: #8b5cf6 !important;
}
.gallery-icon-emerald {
  background-color: #ecfdf5 !important;
  color: #10b981 !important;
}
.gallery-icon-teal {
  background-color: #f0fdfa !important;
  color: #14b8a6 !important;
}
.gallery-icon-red {
  background-color: #fef2f2 !important;
  color: #ef4444 !important;
}
.gallery-icon-amber {
  background-color: #fffbeb !important;
  color: #f59e0b !important;
}
.gallery-icon-indigo {
  background-color: #e0e7ff !important;
  color: #4f46e5 !important;
}

.gallery-8-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  color: #031B4E !important;
  margin: 0;
  line-height: 1.3;
}

/* Custom Swiper Navigation Buttons - Floating inside container, centered on cards, matching popular courses style */
.gallery-arrow-btn {
  position: absolute;
  top: calc(50% - 26px);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #0b2265;
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(11, 34, 101, 0.2);
  z-index: 50;
}

.gallery-arrow-btn:hover {
  background-color: #ea580c;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(234, 88, 12, 0.35);
}

.gallery-arrow-prev {
  left: 0;
  transform: translate(-50%, -50%);
}

.gallery-arrow-prev:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.gallery-arrow-next {
  right: 0;
  transform: translate(50%, -50%);
}

.gallery-arrow-next:hover {
  transform: translate(50%, -50%) scale(1.1);
}

@media (max-width: 1024px) {
  .gallery-arrow-btn {
    width: 38px;
    height: 38px;
    font-size: 0.85rem;
    top: calc(50% - 26px);
  }
}

@media (max-width: 767.98px) {
  .gallery-arrow-btn {
    width: 32px;
    height: 32px;
    font-size: 0.75rem;
    top: calc(50% - 26px);
  }
}

/* Custom Swiper Pagination */
.gallery-swiper-pagination {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: absolute !important;
  bottom: 5px !important;
  left: 0 !important;
  width: 100% !important;
  transform: none !important;
  z-index: 10 !important;
}

.gallery-swiper-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background-color: #031B4E !important;
  opacity: 0.25;
  transition: all 0.3s ease;
  margin: 0 5px !important;
  border-radius: 50%;
}

.gallery-swiper-pagination .swiper-pagination-bullet-active {
  opacity: 1;
  background-color: #ea580c !important;
  width: 24px !important;
  border-radius: 4px !important;
}

.gallery-accent-btn-wrapper {
  position: relative;
  display: inline-block;
}

.gallery-accent-btn-wrapper .btn-shadow {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 100%;
  height: 100%;
  background-color: #ea580c;
  border-radius: 50px;
  z-index: 1;
  transition: transform 0.2s ease;
}

.gallery-accent-btn-wrapper:hover .btn-shadow {
  transform: translate(-2px, -2px);
}

.gallery-accent-btn-wrapper .btn-main {
  background-color: #031B4E !important;
  border-radius: 50px !important;
  padding: 14px 34px !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  border: none !important;
  z-index: 2;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff !important;
  transition: transform 0.2s ease;
  text-decoration: none !important;
}

.gallery-accent-btn-wrapper:hover .btn-main {
  transform: translate(2px, 2px);
}

/* =====================================================
   TESTIMONIALS SECTION - REDESIGN
===================================================== */
.testimonials-section {
  position: relative;
  overflow: hidden;
}

.testimonials-carousel-container {
  position: relative;
  padding: 0;
}

.testimonials-swiper {
  width: 100%;
  overflow: hidden;
  padding: 15px 5px 45px 5px !important;
}

/* Card Styling matching the reference image closely */
.testimonial-card {
  background-color: #ffffff;
  border-radius: 20px !important; /* Soft border radius (18-20px) */
  box-shadow: 0 10px 30px rgba(3, 27, 78, 0.05) !important; /* Professional premium shadow */
  border: none !important;
  padding: 24px !important;
  height: 100% !important;
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), background-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(3, 27, 78, 0.09) !important;
}

/* 5 Distinct Professional Frosted Glass Styles */
.card-glass-blue {
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 3.5px solid transparent !important;
  background-clip: padding-box !important;
  background: linear-gradient(rgba(219, 234, 254, 0.94), rgba(219, 234, 254, 0.94)) padding-box, 
              linear-gradient(135deg, #ff9933 0%, #ff9933 16%, rgba(11, 31, 77, 0.08) 16%, rgba(11, 31, 77, 0.08) 84%, #128807 84%, #128807 100%) border-box !important;
  box-shadow: 0 12px 30px rgba(59, 130, 246, 0.15), 0 4px 10px rgba(59, 130, 246, 0.08) !important;
}
.card-glass-blue:hover {
  background: linear-gradient(rgba(219, 234, 254, 0.98), rgba(219, 234, 254, 0.98)) padding-box, 
              linear-gradient(135deg, #ff9933 0%, #ff9933 16%, rgba(11, 31, 77, 0.08) 16%, rgba(11, 31, 77, 0.08) 84%, #128807 84%, #128807 100%) border-box !important;
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.25), 0 8px 16px rgba(59, 130, 246, 0.12) !important;
}

.card-glass-orange {
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 3.5px solid transparent !important;
  background-clip: padding-box !important;
  background: linear-gradient(rgba(254, 243, 199, 0.93), rgba(254, 243, 199, 0.93)) padding-box, 
              linear-gradient(135deg, #ff9933 0%, #ff9933 16%, rgba(11, 31, 77, 0.08) 16%, rgba(11, 31, 77, 0.08) 84%, #128807 84%, #128807 100%) border-box !important;
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.15), 0 4px 10px rgba(245, 158, 11, 0.08) !important;
}
.card-glass-orange:hover {
  background: linear-gradient(rgba(254, 243, 199, 0.98), rgba(254, 243, 199, 0.98)) padding-box, 
              linear-gradient(135deg, #ff9933 0%, #ff9933 16%, rgba(11, 31, 77, 0.08) 16%, rgba(11, 31, 77, 0.08) 84%, #128807 84%, #128807 100%) border-box !important;
  box-shadow: 0 20px 40px rgba(245, 158, 11, 0.25), 0 8px 16px rgba(245, 158, 11, 0.12) !important;
}

.card-glass-green {
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 3.5px solid transparent !important;
  background-clip: padding-box !important;
  background: linear-gradient(rgba(220, 252, 231, 0.94), rgba(220, 252, 231, 0.94)) padding-box, 
              linear-gradient(135deg, #ff9933 0%, #ff9933 16%, rgba(11, 31, 77, 0.08) 16%, rgba(11, 31, 77, 0.08) 84%, #128807 84%, #128807 100%) border-box !important;
  box-shadow: 0 12px 30px rgba(34, 197, 94, 0.15), 0 4px 10px rgba(34, 197, 94, 0.08) !important;
}
.card-glass-green:hover {
  background: linear-gradient(rgba(220, 252, 231, 0.98), rgba(220, 252, 231, 0.98)) padding-box, 
              linear-gradient(135deg, #ff9933 0%, #ff9933 16%, rgba(11, 31, 77, 0.08) 16%, rgba(11, 31, 77, 0.08) 84%, #128807 84%, #128807 100%) border-box !important;
  box-shadow: 0 20px 40px rgba(34, 197, 94, 0.25), 0 8px 16px rgba(34, 197, 94, 0.12) !important;
}

.card-glass-purple {
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 3.5px solid transparent !important;
  background-clip: padding-box !important;
  background: linear-gradient(rgba(243, 232, 255, 0.94), rgba(243, 232, 255, 0.94)) padding-box, 
              linear-gradient(135deg, #ff9933 0%, #ff9933 16%, rgba(11, 31, 77, 0.08) 16%, rgba(11, 31, 77, 0.08) 84%, #128807 84%, #128807 100%) border-box !important;
  box-shadow: 0 12px 30px rgba(168, 85, 247, 0.15), 0 4px 10px rgba(168, 85, 247, 0.08) !important;
}
.card-glass-purple:hover {
  background: linear-gradient(rgba(243, 232, 255, 0.98), rgba(243, 232, 255, 0.98)) padding-box, 
              linear-gradient(135deg, #ff9933 0%, #ff9933 16%, rgba(11, 31, 77, 0.08) 16%, rgba(11, 31, 77, 0.08) 84%, #128807 84%, #128807 100%) border-box !important;
  box-shadow: 0 20px 40px rgba(168, 85, 247, 0.25), 0 8px 16px rgba(168, 85, 247, 0.12) !important;
}

.card-glass-teal {
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 3.5px solid transparent !important;
  background-clip: padding-box !important;
  background: linear-gradient(rgba(204, 251, 241, 0.94), rgba(204, 251, 241, 0.94)) padding-box, 
              linear-gradient(135deg, #ff9933 0%, #ff9933 16%, rgba(11, 31, 77, 0.08) 16%, rgba(11, 31, 77, 0.08) 84%, #128807 84%, #128807 100%) border-box !important;
  box-shadow: 0 12px 30px rgba(20, 184, 166, 0.15), 0 4px 10px rgba(20, 184, 166, 0.06) !important;
}
.card-glass-teal:hover {
  background: linear-gradient(rgba(204, 251, 241, 0.98), rgba(204, 251, 241, 0.98)) padding-box, 
              linear-gradient(135deg, #ff9933 0%, #ff9933 16%, rgba(11, 31, 77, 0.08) 16%, rgba(11, 31, 77, 0.08) 84%, #128807 84%, #128807 100%) border-box !important;
  box-shadow: 0 20px 40px rgba(20, 184, 166, 0.25), 0 8px 16px rgba(20, 184, 166, 0.12) !important;
}

/* Student photo on the left */
.student-avatar-wrapper {
  width: 68px;
  height: 68px;
  border-radius: 50% !important;
  overflow: hidden;
  border: 2.5px solid #ffffff;
  box-shadow: 0 4px 10px rgba(3, 27, 78, 0.1);
}

.student-avatar-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

/* Student details and layout */
.student-info-text {
  flex: 1;
}

.student-name-text {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 700 !important;
  font-size: 1.05rem !important;
  color: #031B4E !important;
  margin: 0;
}

/* Gold stars */
.text-star-gold {
  color: #f59e0b !important; /* Premium gold color */
  font-size: 0.95rem !important;
}

/* Quote/testimonial text */
.testimonial-quote-text {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.85rem !important;
  line-height: 1.55 !important;
  color: #475569 !important;
}

/* Navigation buttons centered on container edges, 50% inside, 50% outside */
.testimonials-arrow-btn {
  position: absolute;
  top: calc(50% - 20px);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #0b2265 !important;
  color: #ffffff !important;
  border: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(11, 34, 101, 0.2) !important;
  z-index: 50;
}

.testimonials-arrow-btn:hover {
  background-color: #ea580c !important; /* primary brand hover color */
  color: #ffffff !important;
  box-shadow: 0 6px 16px rgba(234, 88, 12, 0.35) !important;
}

.testimonials-arrow-prev {
  left: 0;
  transform: translate(-50%, -50%);
}

.testimonials-arrow-prev:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.testimonials-arrow-next {
  right: 0;
  transform: translate(50%, -50%);
}

.testimonials-arrow-next:hover {
  transform: translate(50%, -50%) scale(1.1);
}

@media (max-width: 1024px) {
  .testimonials-arrow-btn {
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
  }
}

@media (max-width: 767.98px) {
  .testimonials-arrow-btn {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
  }
}

/* Swiper Pagination matching the brand active color (saffron) */
.testimonials-swiper-pagination {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: absolute !important;
  bottom: 10px !important;
  left: 0 !important;
  width: 100% !important;
  transform: none !important;
  z-index: 10 !important;
}

.testimonials-swiper-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background-color: #031B4E !important;
  opacity: 0.2;
  transition: all 0.3s ease;
  margin: 0 5px !important;
  border-radius: 50%;
}

.testimonials-swiper-pagination .swiper-pagination-bullet-active {
  opacity: 1 !important;
  background-color: #ea580c !important; /* Saffron/Orange primary website brand color */
  width: 24px !important;
  border-radius: 4px !important;
}

/* Custom premium style for training badges in company info card */
.badge-item-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.badge-item-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.badge-item-card:hover .badge-icon-circle {
  transform: scale(1.1);
}

.badge-item-card .badge-icon-circle {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Custom targeted element and children styling for Credentials Panel to achieve a professional, smaller look */
main:nth-of-type(1) > section#about:nth-of-type(2) > div:nth-of-type(3) > div:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(2) {
  background: linear-gradient(135deg, rgba(243, 232, 255, 0.98) 0%, rgba(220, 252, 231, 0.98) 35%, rgba(219, 234, 254, 0.98) 70%, rgba(254, 243, 199, 0.98) 100%) !important;
  border-radius: 12px !important;
  border: 1.5px solid rgba(3, 27, 78, 0.18) !important;
  box-shadow: 0 10px 25px -5px rgba(3, 27, 78, 0.1), 0 8px 16px -6px rgba(3, 27, 78, 0.06) !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  margin-top: 0px !important;
  margin-bottom: 0px !important;
}

main:nth-of-type(1) > section#about:nth-of-type(2) > div:nth-of-type(3) > div:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(1) .card-icon-circle {
  width: 32px !important;
  height: 32px !important;
  font-size: 0.85rem !important;
  border-radius: 6px !important;
}
main:nth-of-type(1) > section#about:nth-of-type(2) > div:nth-of-type(3) > div:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(1) .circle-saffron {
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.15) !important;
}
main:nth-of-type(1) > section#about:nth-of-type(2) > div:nth-of-type(3) > div:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(1) .circle-blue {
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
}
main:nth-of-type(1) > section#about:nth-of-type(2) > div:nth-of-type(3) > div:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(1) .circle-green {
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15) !important;
}
main:nth-of-type(1) > section#about:nth-of-type(2) > div:nth-of-type(3) > div:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(1) .circle-red {
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15) !important;
}

main:nth-of-type(1) > section#about:nth-of-type(2) > div:nth-of-type(3) > div:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(1) .card-main-title {
  font-size: 0.78rem !important;
  color: #0f172a !important;
}

main:nth-of-type(1) > section#about:nth-of-type(2) > div:nth-of-type(3) > div:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(1) .card-sub-detail {
  font-size: 0.57rem !important;
  color: #475569 !important;
}

main:nth-of-type(1) > section#about:nth-of-type(2) > div:nth-of-type(3) > div:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(1) .card-sub-detail span {
  font-size: 0.58rem !important;
  color: #64748b !important;
}

/* Highly visible dividing vertical lines between columns for the credentials section */
@media (min-width: 768px) {
  .credential-column-divider {
    position: relative !important;
  }
  .credential-column-divider::after {
    content: "" !important;
    position: absolute !important;
    right: 0 !important;
    top: 10% !important;
    height: 80% !important;
    width: 2px !important;
    background-color: rgba(3, 27, 78, 0.15) !important; /* Elegant clear divider for light background */
  }
}

/* Hover effect for the premium company building card */
.company-building-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.95), 0 16px 36px rgba(3, 27, 78, 0.12) !important;
}

/* Custom targeted elements for paragraphs: Arial font, optimized line height, modern tracking */
main:nth-of-type(1) > section#about:nth-of-type(2) > div:nth-of-type(3) > div:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(3) > p:nth-of-type(1),
main:nth-of-type(1) > section#about:nth-of-type(2) > div:nth-of-type(3) > div:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(3) > p:nth-of-type(2) {
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 0.825rem !important;
  font-weight: 500 !important;
  line-height: 1.8 !important;
  color: #334155 !important;
  letter-spacing: -0.01em !important;
}

/* Styled to match the upper section's sub-heading exactly (same Poppins font, size, tracking, weight & neutral blue-gray color) */
main:nth-of-type(1) > section#why-choose-us:nth-of-type(3) > div:nth-of-type(3) > div:nth-of-type(2) > div:nth-of-type(1) > p:nth-of-type(1) {
  font-family: 'Poppins', sans-serif !important;
  font-size: 0.92rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.3px !important;
  color: #475569 !important;
  line-height: 1.35 !important;
  text-align: center !important;
  max-width: 650px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-transform: none !important;
  background: none !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: initial !important;
  animation: none !important;
  display: block !important;
}


/* =====================================================
   GALLERY PAGE CUSTOM STYLES (INTEGRATED)
   ===================================================== */

/* Hero Banner Styling */
.gallery-hero-banner {
  background: linear-gradient(135deg, #091a36 0%, #061022 100%);
  color: #ffffff;
  padding: 70px 0;
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid #ea580c;
}

.gallery-hero-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(234, 88, 12, 0.15) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  opacity: 0.7;
}

.gallery-hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 2.8rem;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-transform: uppercase;
}

.gallery-hero-subtitle {
  font-family: 'Poppins', sans-serif;
  color: #ff9933;
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
}

.gallery-hero-desc {
  font-family: 'Inter', sans-serif;
  color: #cbd5e1;
  max-width: 700px;
  font-size: 1rem;
  line-height: 1.6;
}

/* Sticky Category Nav Bar */
.category-sticky-bar {
  position: sticky;
  top: 75px; /* Sits right under primary sticky navbar */
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  z-index: 99;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  border-bottom: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.category-pills-container {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  white-space: nowrap;
  padding: 12px 0;
}

/* Hide default scrollbars for category bar */
.category-pills-container::-webkit-scrollbar {
  display: none;
}
.category-pills-container {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.category-pill-btn {
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: #475569;
  background-color: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 8px 16px;
  border-radius: 30px;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.2s ease-in-out;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.category-pill-btn i {
  font-size: 0.85rem;
}

.category-pill-btn:hover {
  background-color: #091a36;
  color: #ffffff;
  border-color: #091a36;
  transform: translateY(-1px);
}

.category-pill-btn.active {
  background-color: #ea580c;
  color: #ffffff;
  border-color: #ea580c;
  box-shadow: 0 4px 10px rgba(234, 88, 12, 0.25);
}

/* Gallery Category Sections Layout */
.gallery-category-section {
  padding: 65px 0;
  border-bottom: 1px solid #f1f5f9;
  position: relative;
}

.gallery-category-section:nth-child(even) {
  background-color: #f8fafc;
}

.category-section-header {
  margin-bottom: 35px;
}

.category-badge-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.category-section-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: #091a36;
  margin: 0;
  letter-spacing: -0.01em;
}

.category-section-desc {
  font-family: 'Inter', sans-serif;
  color: #64748b;
  font-size: 0.9rem;
  max-width: 650px;
  line-height: 1.5;
}

/* Card Layout overrides/refinements for Responsive Grid */
.gallery-grid-card {
  height: 100%;
}

/* GLightbox custom styles override to match Sutapa Design */
.goverlay {
  background: rgba(9, 26, 54, 0.88) !important; /* Premium dark-blue transparent backing */
  backdrop-filter: blur(8px) !important; /* Blur behind the lightbox */
  -webkit-backdrop-filter: blur(8px) !important;
}

/* Compact, elegant and professional lightbox container */
.ginner-container {
  max-width: 680px !important; /* Made smaller & more professional */
  width: 100% !important;
  background-color: #ffffff !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 25px 50px -12px rgba(3, 27, 78, 0.4) !important;
  border: 3.5px solid transparent !important;
  background-clip: padding-box !important;
  background: linear-gradient(#ffffff, #ffffff) padding-box, 
              linear-gradient(135deg, #ff9933 0%, #ff9933 16%, rgba(11, 31, 77, 0.08) 16%, rgba(11, 31, 77, 0.08) 84%, #128807 84%, #128807 100%) border-box !important;
}

.gslide-media {
  box-shadow: none !important;
  background: #f8fafc !important;
  max-height: 55vh !important;
}

.gslide-media img {
  max-height: 55vh !important;
  object-fit: contain !important;
  width: 100% !important;
  height: auto !important;
}

.gslide-description {
  background-color: #031B4E !important; /* Dark elegant background */
  padding: 16px 20px !important;
  max-width: 100% !important;
}

.gclose, .gnext, .gprev {
  background: rgba(3, 27, 78, 0.85) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 4px 15px rgba(3, 27, 78, 0.25) !important;
  color: #ffffff !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  z-index: 999999 !important;
}

.gprev {
  position: fixed !important;
  left: calc(50% - 315px) !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}

.gnext {
  position: fixed !important;
  right: calc(50% - 315px) !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}

.gclose {
  position: fixed !important;
  right: calc(50% - 315px) !important;
  top: 40px !important;
}

.gclose svg, .gnext svg, .gprev svg {
  width: 16px !important;
  height: 16px !important;
  fill: #ffffff !important;
  display: block !important;
  margin: auto !important;
}

.gclose:hover, .gnext:hover, .gprev:hover {
  background: #ea580c !important;
  border-color: #ff9933 !important;
  transform: scale(1.1) !important;
  box-shadow: 0 0 15px rgba(234, 88, 12, 0.6) !important;
}

.gprev:hover {
  transform: translateY(-50%) scale(1.1) !important;
}

.gnext:hover {
  transform: translateY(-50%) scale(1.1) !important;
}

/* On screens smaller than 768px, where the ginner-container is 92% wide */
@media (max-width: 767px) {
  .gprev {
    left: 8% !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 38px !important;
    height: 38px !important;
  }
  .gnext {
    right: 8% !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 38px !important;
    height: 38px !important;
  }
  .gclose {
    right: 8% !important;
    top: 30px !important;
    width: 38px !important;
    height: 38px !important;
  }
}

.gslide-title {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 700 !important;
  font-size: 1.05rem !important;
  color: #ff9933 !important; /* Elegant brand saffron color */
  margin-bottom: 4px !important;
}

.gslide-desc {
  font-family: 'Inter', sans-serif !important;
  color: #e2e8f0 !important; /* Clean slate-200 color for description text */
  font-size: 0.82rem !important;
  line-height: 1.45 !important;
}

/* ==================== Job Placement Section ==================== */
.placement-section {
  padding: 25px 0 35px 0;
  background: linear-gradient(135deg, #f0f9ff 0%, #faf5ff 50%, #f0fdf4 100%);
  position: relative;
  overflow: hidden;
  z-index: 10;
}

/* Symmetrical elegant light grid overlay to match our theme */
.placement-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(14, 165, 233, 0.04) 1.2px, transparent 1.2px),
    linear-gradient(to bottom, rgba(14, 165, 233, 0.04) 1.2px, transparent 1.2px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 1;
}

.placement-section .container {
  position: relative;
  z-index: 5;
}

.placement-slider {
  overflow: hidden;
  width: 100%;
  position: relative;
  z-index: 5;
  padding: 15px 0;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.placement-track {
  display: flex;
  animation: placement-scroll 25s linear infinite;
  gap: 18px;
  width: max-content;
}

.placement-track:hover {
  animation-play-state: paused;
}

@keyframes placement-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.placement-box {
  flex-shrink: 0;
  width: 220px;
  height: 315px;
  border-radius: 22px !important;
  padding: 16px 12px;
  text-align: center;
  transition: all 0.3s ease-in-out !important;
  position: relative;
}

.placement-box.card-glass-blue,
.placement-box:nth-child(5n+1) {
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 3.5px solid transparent !important;
  background-clip: padding-box !important;
  background: linear-gradient(rgba(219, 234, 254, 0.94), rgba(219, 234, 254, 0.94)) padding-box, 
              linear-gradient(135deg, #ff9933 0%, #ff9933 16%, rgba(11, 31, 77, 0.08) 16%, rgba(11, 31, 77, 0.08) 84%, #128807 84%, #128807 100%) border-box !important;
  box-shadow: 0 12px 30px rgba(59, 130, 246, 0.15), 0 4px 10px rgba(59, 130, 246, 0.08) !important;
}

.placement-box.card-glass-orange,
.placement-box:nth-child(5n+2) {
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 3.5px solid transparent !important;
  background-clip: padding-box !important;
  background: linear-gradient(rgba(254, 243, 199, 0.93), rgba(254, 243, 199, 0.93)) padding-box, 
              linear-gradient(135deg, #ff9933 0%, #ff9933 16%, rgba(11, 31, 77, 0.08) 16%, rgba(11, 31, 77, 0.08) 84%, #128807 84%, #128807 100%) border-box !important;
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.15), 0 4px 10px rgba(245, 158, 11, 0.08) !important;
}

.placement-box.card-glass-green,
.placement-box:nth-child(5n+3) {
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 3.5px solid transparent !important;
  background-clip: padding-box !important;
  background: linear-gradient(rgba(220, 252, 231, 0.94), rgba(220, 252, 231, 0.94)) padding-box, 
              linear-gradient(135deg, #ff9933 0%, #ff9933 16%, rgba(11, 31, 77, 0.08) 16%, rgba(11, 31, 77, 0.08) 84%, #128807 84%, #128807 100%) border-box !important;
  box-shadow: 0 12px 30px rgba(34, 197, 94, 0.15), 0 4px 10px rgba(34, 197, 94, 0.08) !important;
}

.placement-box.card-glass-purple,
.placement-box:nth-child(5n+4) {
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 3.5px solid transparent !important;
  background-clip: padding-box !important;
  background: linear-gradient(rgba(243, 232, 255, 0.94), rgba(243, 232, 255, 0.94)) padding-box, 
              linear-gradient(135deg, #ff9933 0%, #ff9933 16%, rgba(11, 31, 77, 0.08) 16%, rgba(11, 31, 77, 0.08) 84%, #128807 84%, #128807 100%) border-box !important;
  box-shadow: 0 12px 30px rgba(168, 85, 247, 0.15), 0 4px 10px rgba(168, 85, 247, 0.08) !important;
}

.placement-box.card-glass-teal,
.placement-box:nth-child(5n+0) {
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 3.5px solid transparent !important;
  background-clip: padding-box !important;
  background: linear-gradient(rgba(204, 251, 241, 0.94), rgba(204, 251, 241, 0.94)) padding-box, 
              linear-gradient(135deg, #ff9933 0%, #ff9933 16%, rgba(11, 31, 77, 0.08) 16%, rgba(11, 31, 77, 0.08) 84%, #128807 84%, #128807 100%) border-box !important;
  box-shadow: 0 12px 30px rgba(20, 184, 166, 0.15), 0 4px 10px rgba(20, 184, 166, 0.06) !important;
}

.placement-box:hover {
  transform: translateY(-5px);
}

.placement-box.card-glass-blue:hover,
.placement-box:nth-child(5n+1):hover {
  background: linear-gradient(rgba(219, 234, 254, 0.98), rgba(219, 234, 254, 0.98)) padding-box, 
              linear-gradient(135deg, #ff9933 0%, #ff9933 16%, rgba(11, 31, 77, 0.08) 16%, rgba(11, 31, 77, 0.08) 84%, #128807 84%, #128807 100%) border-box !important;
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.25), 0 8px 16px rgba(59, 130, 246, 0.12) !important;
}

.placement-box.card-glass-orange:hover,
.placement-box:nth-child(5n+2):hover {
  background: linear-gradient(rgba(254, 243, 199, 0.98), rgba(254, 243, 199, 0.98)) padding-box, 
              linear-gradient(135deg, #ff9933 0%, #ff9933 16%, rgba(11, 31, 77, 0.08) 16%, rgba(11, 31, 77, 0.08) 84%, #128807 84%, #128807 100%) border-box !important;
  box-shadow: 0 20px 40px rgba(245, 158, 11, 0.25), 0 8px 16px rgba(245, 158, 11, 0.12) !important;
}

.placement-box.card-glass-green:hover,
.placement-box:nth-child(5n+3):hover {
  background: linear-gradient(rgba(220, 252, 231, 0.98), rgba(220, 252, 231, 0.98)) padding-box, 
              linear-gradient(135deg, #ff9933 0%, #ff9933 16%, rgba(11, 31, 77, 0.08) 16%, rgba(11, 31, 77, 0.08) 84%, #128807 84%, #128807 100%) border-box !important;
  box-shadow: 0 20px 40px rgba(34, 197, 94, 0.25), 0 8px 16px rgba(34, 197, 94, 0.12) !important;
}

.placement-box.card-glass-purple:hover,
.placement-box:nth-child(5n+4):hover {
  background: linear-gradient(rgba(243, 232, 255, 0.98), rgba(243, 232, 255, 0.98)) padding-box, 
              linear-gradient(135deg, #ff9933 0%, #ff9933 16%, rgba(11, 31, 77, 0.08) 16%, rgba(11, 31, 77, 0.08) 84%, #128807 84%, #128807 100%) border-box !important;
  box-shadow: 0 20px 40px rgba(168, 85, 247, 0.25), 0 8px 16px rgba(168, 85, 247, 0.12) !important;
}

.placement-box.card-glass-teal:hover,
.placement-box:nth-child(5n+0):hover {
  background: linear-gradient(rgba(204, 251, 241, 0.98), rgba(204, 251, 241, 0.98)) padding-box, 
              linear-gradient(135deg, #ff9933 0%, #ff9933 16%, rgba(11, 31, 77, 0.08) 16%, rgba(11, 31, 77, 0.08) 84%, #128807 84%, #128807 100%) border-box !important;
  box-shadow: 0 20px 40px rgba(20, 184, 166, 0.25), 0 8px 16px rgba(20, 184, 166, 0.12) !important;
}

.placement-img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50% !important;
  border: 3px solid transparent !important;
  background: linear-gradient(#fff, #fff) padding-box,
              linear-gradient(135deg, #ff9933 0%, #ff9933 16%, rgba(11, 31, 77, 0.08) 16%, rgba(11, 31, 77, 0.08) 84%, #128807 84%, #128807 100%) border-box !important;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
  margin: 10px auto 12px auto;
  display: block;
  transition: transform 0.3s ease;
}

.placement-box:hover .placement-img {
  transform: scale(1.05);
}

.placement-info h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #031b4e;
  margin-bottom: 5px;
}

.placement-info .placement-role {
  font-family: 'Poppins', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: #0284c7;
  margin-bottom: 4px;
}

.placement-info .placement-company {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 12px;
  background-color: #f0fdf4;
  color: #166534;
  margin-top: 4px;
}

/* Tablet Responsive Overrides for Job Placements View */
@media (min-width: 576px) and (max-width: 991.98px) {
  .placement-section {
    padding: 20px 0;
  }

  .placement-slider {
    padding: 10px 0 !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
    width: 100% !important;
    margin: 0 !important;
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
  }

  .placement-slider::-webkit-scrollbar {
    display: none !important;
  }

  .placement-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    animation: none !important;
    width: max-content !important;
    gap: 20px !important;
    padding: 0 !important;
  }

  .placement-box {
    flex: 0 0 calc(50% - 10px) !important; /* Exactly 2 boxes visible side-by-side in tab view */
    width: calc(50% - 10px) !important;
    max-width: 290px !important;
    height: 315px !important;
    min-height: 315px !important;
    scroll-snap-align: start !important;
    scroll-snap-stop: always !important;
    margin-right: 0 !important;
    padding: 16px 14px !important;
    border-radius: 22px !important;
  }

  .placement-img {
    width: 100px !important;
    height: 100px !important;
    margin: 10px auto 10px auto !important;
  }

  .placement-info h4 {
    font-size: 1.05rem !important;
    margin-bottom: 4px !important;
    font-weight: 700 !important;
  }

  .placement-info .placement-role {
    font-size: 0.92rem !important;
    margin-bottom: 4px !important;
    font-weight: 600 !important;
  }

  .placement-info .placement-company {
    font-size: 0.82rem !important;
    padding: 4px 12px !important;
  }
}

/* Mobile Responsive Overrides for Job Placements Mobile View */
@media (max-width: 575.98px) {
  .placement-section {
    padding: 18px 0;
  }

  .placement-slider {
    padding: 10px 0 !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
    width: 100% !important;
    margin: 0 !important;
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
  }

  /* Hide scrollbar for a clean UI */
  .placement-slider::-webkit-scrollbar {
    display: none !important;
  }

  .placement-track {
    --card-w: min(290px, 86%);
    display: flex !important;
    flex-wrap: nowrap !important;
    animation: none !important;
    width: max-content !important;
    padding: 0 calc((100% - var(--card-w)) / 2) !important;
    gap: calc(100% - var(--card-w)) !important;
  }

  .placement-box {
    --card-w: min(290px, 86%);
    flex: 0 0 var(--card-w) !important;
    width: var(--card-w) !important;
    max-width: var(--card-w) !important;
    height: 315px !important;
    min-height: 315px !important;
    scroll-snap-align: center !important;
    scroll-snap-stop: always !important;
    margin-right: 0 !important;
    padding: 16px 16px !important;
    border-radius: 22px !important;
  }

  .placement-img {
    width: 105px !important;
    height: 105px !important;
    margin: 10px auto 12px auto !important;
  }

  .placement-info h4 {
    font-size: 1.1rem !important;
    margin-bottom: 5px !important;
    font-weight: 700 !important;
  }

  .placement-info .placement-company {
    font-size: 0.82rem !important;
    padding: 4px 12px !important;
    border-radius: 12px !important;
  }
}

/* ==================== Floating WhatsApp Button ==================== */
.whatsapp-float {
  position: fixed !important;
  bottom: 25px !important;
  right: 25px !important;
  width: 60px !important;
  height: 60px !important;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
  color: #ffffff !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 34px !important;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45), 0 4px 10px rgba(0, 0, 0, 0.15) !important;
  z-index: 999999 !important;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  text-decoration: none !important;
  outline: none !important;
}

.whatsapp-float:hover {
  transform: scale(1.12) translateY(-4px) !important;
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.6), 0 6px 14px rgba(0, 0, 0, 0.2) !important;
  color: #ffffff !important;
}

.whatsapp-float:active {
  transform: scale(0.96) !important;
}

.whatsapp-float .whatsapp-icon,
.whatsapp-float .whatsapp-svg {
  line-height: 1 !important;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
  width: 32px;
  height: 32px;
}

/* Tooltip on hover */
.whatsapp-tooltip {
  position: absolute !important;
  right: 72px !important;
  top: 50% !important;
  transform: translateY(-50%) scale(0.9) !important;
  background-color: #031B4E !important;
  color: #ffffff !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  padding: 6px 14px !important;
  border-radius: 20px !important;
  white-space: nowrap !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
}

.whatsapp-tooltip::after {
  content: "" !important;
  position: absolute !important;
  top: 50% !important;
  right: -6px !important;
  transform: translateY(-50%) !important;
  border-width: 6px 0 6px 6px !important;
  border-style: solid !important;
  border-color: transparent transparent transparent #031B4E !important;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1 !important;
  transform: translateY(-50%) scale(1) !important;
}

/* Responsive adjustment for small mobile screens */
@media (max-width: 575.98px) {
  .whatsapp-float {
    bottom: 20px !important;
    right: 20px !important;
    width: 54px !important;
    height: 54px !important;
    font-size: 30px !important;
  }
}

/* ==========================================================================
   COMPREHENSIVE TABLET VIEW OPTIMIZATIONS (768px to 1024px - iPad, Surface, Android Tablets)
   ========================================================================== */
@media (min-width: 768px) and (max-width: 1024px) {
  /* 1. Global Container Spacing for Tablet */
  .container,
  .container-fluid {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }

  /* 2. Top Utility Header on Tablet */
  .header-main-wrapper {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0.4rem 0 !important;
  }
  .header-branding-block {
    align-items: flex-start !important;
    text-align: left !important;
    margin-bottom: 0 !important;
    width: auto !important;
    min-width: 279px;
  }
  .welcome-text {
    font-size: 0.8rem !important;
  }
  .subtitle-text {
    font-size: 0.7rem !important;
  }
  .header-actions-block {
    width: auto !important;
    margin-top: 0 !important;
    gap: 0.75rem !important;
  }

  /* 3. Main Navigation Header */
  .navbar-brand img {
    height: 52px !important;
  }
  .navbar-collapse {
    max-height: 75vh !important;
    padding: 16px 20px !important;
  }

  /* 4. Section Headings & Spacing */
  .company-profile-title,
  .section-main-title {
    font-size: 1.85rem !important;
  }

  /* 5. About Company & Director's Desk Section */
  .about-company-section,
  .director-section {
    padding: 60px 0 !important;
  }
  .director-desk-card {
    padding: 30px 24px !important;
  }
  .director-avatar-img {
    width: 130px !important;
    height: 130px !important;
  }

  /* 6. Popular Courses Horizontal Scroll Section */
  .course-horizontal-scroll {
    gap: 16px !important;
    padding: 10px 4px 20px 4px !important;
  }
  .course-horizontal-card {
    flex: 0 0 calc(50% - 10px) !important;
    max-width: calc(50% - 10px) !important;
    min-width: calc(50% - 10px) !important;
  }

  /* 7. Why Choose Us / Company Profile 6-Box Grid */
  .why-choose-us-grid .col-md-6,
  .company-profile-grid .col-md-6 {
    margin-bottom: 16px !important;
  }
  .feature-box-card {
    padding: 24px 20px !important;
  }

  /* 8. Franchise Opportunity Section on Tablet */
  .franchise-col-left {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    margin-bottom: 24px !important;
  }
  .franchise-col-middle,
  .franchise-col-right {
    width: 50% !important;
    max-width: 50% !important;
    flex: 0 0 50% !important;
  }
  .franchise-benefit-card {
    padding: 16px 14px !important;
    gap: 10px !important;
  }
  .franchise-cell-title {
    font-size: 0.85rem !important;
  }
  .franchise-cell-desc {
    font-size: 0.725rem !important;
  }

  /* 9. Aims & Objectives / Strategic Roadmap */
  .roadmap-framed-card {
    padding: 28px 20px 24px !important;
  }

  /* 10. Verification & Compliance Cards */
  .compliance-box,
  .approval-badge-card {
    padding: 28px 20px !important;
  }

  /* 11. Student Apply Online & Verification Forms */
  .apply-online-card,
  .verification-form-card {
    padding: 32px 24px !important;
  }

  /* 12. Footer Section Layout (Compact 3-Column Single-Row on Tablet) */
  .footersection .container,
  .bottom-footerbar .container {
    max-width: 100% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  .footersection {
    padding-top: 43px !important;
    padding-bottom: 16px !important;
  }
  .footer-col-left,
  .footer-col-middle,
  .footer-col-right {
    width: 33.333% !important;
    flex: 0 0 33.333% !important;
    max-width: 33.333% !important;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
  }
  .footer-col-left {
    text-align: left !important;
  }
  .footer-col-middle {
    text-align: center !important;
  }
  .footer-col-right {
    text-align: right !important;
  }
  .footer-icon-links {
    justify-content: center !important;
    gap: 6px 10px !important;
  }
  .footer-desc {
    font-size: 0.72rem !important;
    line-height: 1.35 !important;
    margin-bottom: 8px !important;
  }
  .scheme-mini-container {
    margin-top: 8px !important;
    gap: 6px !important;
  }
}

/* =====================================================
   GLIGHTBOX CARD POPUP MODAL STYLES (MATCHING REFERENCE DESIGN)
===================================================== */
.goverlay {
  background: rgba(3, 27, 78, 0.85) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}

.gslide {
  padding: 20px 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.gslide-inner-content {
  max-width: 650px !important;
  width: 90% !important;
  margin: 0 auto !important;
  background: #031b4e !important;
  border-radius: 16px !important;
  overflow: visible !important;
  position: relative !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6) !important;
  border: 3.5px solid transparent !important;
  background-clip: padding-box !important;
  background-image: linear-gradient(#031b4e, #031b4e) padding-box, 
                    linear-gradient(135deg, #ff9933 0%, #ff9933 22%, rgba(255, 255, 255, 0.12) 22%, rgba(255, 255, 255, 0.12) 78%, #128807 78%, #128807 100%) border-box !important;
}

.gslide-media {
  position: relative !important;
  max-height: 55vh !important;
  background-color: #000000 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  border-radius: 12px 12px 0 0 !important;
  box-shadow: none !important;
}

.gslide-media img {
  max-height: 53vh !important;
  width: 100% !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 0 !important;
}

.gslide-description {
  background: #031b4e !important;
  padding: 16px 20px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  text-align: left !important;
  position: relative !important;
}

.gslide-title {
  color: #ea580c !important;
  font-family: 'Poppins', sans-serif !important;
  font-weight: 700 !important;
  font-size: 1.1rem !important;
  margin-bottom: 4px !important;
  letter-spacing: -0.2px !important;
}

.gslide-desc {
  color: #e2e8f0 !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.82rem !important;
  line-height: 1.45 !important;
  margin-bottom: 0 !important;
}

.gbtn.gprev,
.gbtn.gnext {
  width: 40px !important;
  height: 40px !important;
  background: rgba(11, 31, 77, 0.88) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
  transition: all 0.25s ease !important;
  top: 45% !important;
}

.gbtn.gprev { left: 20px !important; }
.gbtn.gnext { right: 20px !important; }

.gbtn.gprev:hover,
.gbtn.gnext:hover {
  background: #ea580c !important;
  border-color: #ea580c !important;
  transform: scale(1.08) !important;
}

.gbtn.gprev svg,
.gbtn.gnext svg {
  width: 16px !important;
  height: 16px !important;
}

.gbtn.gprev svg path,
.gbtn.gnext svg path {
  fill: #ffffff !important;
}

.gbtn.gclose,
.gclose {
  position: absolute !important;
  top: -16px !important;
  right: -16px !important;
  width: 36px !important;
  height: 36px !important;
  background: #031b4e !important;
  border: 2px solid rgba(255, 255, 255, 0.4) !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5) !important;
  transition: all 0.25s ease !important;
  z-index: 999999 !important;
}

.gbtn.gclose:hover,
.gclose:hover {
  background: #dc2626 !important;
  border-color: #dc2626 !important;
  transform: scale(1.1) !important;
}

.gbtn.gclose svg path,
.gclose svg path {
  fill: #ffffff !important;
}

@media (max-width: 767.98px) {
  .gslide-inner-content {
    width: 94% !important;
    border-radius: 14px !important;
  }
  .gslide-media {
    max-height: 45vh !important;
  }
  .gslide-media img {
    max-height: 43vh !important;
  }
  .gslide-description {
    padding: 12px 14px !important;
  }
  .gslide-title {
    font-size: 0.95rem !important;
  }
  .gslide-desc {
    font-size: 0.76rem !important;
  }
  .gbtn.gprev,
  .gbtn.gnext {
    width: 34px !important;
    height: 34px !important;
  }
  .gbtn.gprev { left: 10px !important; }
  .gbtn.gnext { right: 10px !important; }
  .gbtn.gclose,
  .gclose {
    top: -12px !important;
    right: -12px !important;
    width: 32px !important;
    height: 32px !important;
  }
  .glightbox-mobile .glightbox-container .gslide-description {
    max-height: 14vh;
  }
  .glightbox-container .ginner-container {
    height: 42vh;
  }
  .ginner-container {
    max-width: 100% !important;
    width: 100% !important;
  }
}

/* ==========================================================================
   MASTER GLOBAL UNIFIED PROFESSIONAL PADDING SYSTEM (ALL PAGES)
   Sutapa Infotech Skills Foundation - Clean & Compact Responsive Spacing
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESKTOP VIEW (1025px and above)
   -------------------------------------------------------------------------- */
@media (min-width: 1025px) {
  /* Hero Banners Across All Pages */
  .page-hero-banner,
  .gallery-hero-banner,
  .chairman-banner,
  .aims-hero-banner,
  .approval-hero-banner,
  .bank-hero-banner,
  .contact-hero-banner,
  .enrollment-hero-banner,
  .franchise-hero-banner,
  .grievance-hero-banner,
  .tech-hero-banner,
  .verify-hero-banner,
  .apply-hero-banner {
    padding: 42px 0 45px 0 !important;
  }

  /* All Main Content Sections Across All Pages */
  section,
  .about-overview-section,
  .director-section,
  .director-profile-section,
  .aims-section,
  .compliance-section,
  .about-cta-section,
  .gallery-category-section,
  .contact-section,
  .verify-section,
  .franchise-section,
  .apply-section,
  .bank-section,
  .aims-grid-section,
  .approval-grid-section,
  .enrollment-form-section,
  .grievance-form-section,
  .tech-courses-section {
    padding-top: 28px !important;
    padding-bottom: 28px !important;
  }
}

/* --------------------------------------------------------------------------
   2. TABLET VIEW (768px to 1024px)
   -------------------------------------------------------------------------- */
@media (min-width: 768px) and (max-width: 1024px) {
  /* Container Side Padding on Tablet */
  .container,
  .container-fluid {
    padding-left: 1.25rem !important; /* 20px snug side padding */
    padding-right: 1.25rem !important;
    max-width: 100% !important;
  }

  /* Hero Banners on Tablet */
  .page-hero-banner,
  .gallery-hero-banner,
  .chairman-banner,
  .aims-hero-banner,
  .approval-hero-banner,
  .bank-hero-banner,
  .contact-hero-banner,
  .enrollment-hero-banner,
  .franchise-hero-banner,
  .grievance-hero-banner,
  .tech-hero-banner,
  .verify-hero-banner,
  .apply-hero-banner {
    padding: 28px 0 32px 0 !important;
  }

  /* Main Content Sections on Tablet */
  section,
  .about-overview-section,
  .director-section,
  .director-profile-section,
  .aims-section,
  .compliance-section,
  .about-cta-section,
  .gallery-category-section,
  .contact-section,
  .verify-section,
  .franchise-section,
  .apply-section,
  .bank-section,
  .aims-grid-section,
  .approval-grid-section,
  .enrollment-form-section,
  .grievance-form-section,
  .tech-courses-section {
    padding-top: 32px !important;
    padding-bottom: 36px !important;
  }

  .py-5,
  .py-4 {
    padding-top: 1.25rem !important; /* py-3 equivalent on tablet (20px) */
    padding-bottom: 1.25rem !important;
  }

  /* CTA Heading for Tablet View */
  .cta-title,
  .cta-heading,
  .cta-banner-title,
  .about-cta-title {
    font-size: 2rem !important;
    line-height: 1.28 !important;
  }
}

/* --------------------------------------------------------------------------
   3. MOBILE VIEW (767.98px and below)
   -------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
  /* Container Side Padding on Mobile */
  .container,
  .container-fluid {
    padding-left: 0.25rem !important; /* 16px clean side padding */
    padding-right: 0.25rem !important;
  }

  /* Hero Banners on Mobile */
  .page-hero-banner,
  .gallery-hero-banner,
  .chairman-banner,
  .aims-hero-banner,
  .approval-hero-banner,
  .bank-hero-banner,
  .contact-hero-banner,
  .enrollment-hero-banner,
  .franchise-hero-banner,
  .grievance-hero-banner,
  .tech-hero-banner,
  .verify-hero-banner,
  .apply-hero-banner {
    padding: 20px 0 24px 0 !important;
  }

  /* Main Content Sections on Mobile */
  section,
  .about-overview-section,
  .director-section,
  .director-profile-section,
  .aims-section,
  .compliance-section,
  .about-cta-section,
  .gallery-category-section,
  .contact-section,
  .verify-section,
  .franchise-section,
  .apply-section,
  .bank-section,
  .aims-grid-section,
  .approval-grid-section,
  .enrollment-form-section,
  .grievance-form-section,
  .tech-courses-section {
    padding-top: 22px !important;
    padding-bottom: 26px !important;
  }

  /* Clean Headings & Subtitles for Mobile */
  .page-hero-title,
  .gallery-hero-title,
  .chairman-banner-title {
    font-size: 1.45rem !important;
    line-height: 1.25 !important;
    margin-top: 6px !important;
    margin-bottom: 6px !important;
  }

  .section-main-title,
  .overview-title,
  .category-section-title {
    font-size: 1.4rem !important;
    line-height: 1.28 !important;
    margin-bottom: 8px !important;
  }

  /* CTA Heading for Mobile View */
  .cta-title,
  .cta-heading,
  .cta-banner-title,
  .about-cta-title {
    font-size: 1.2rem !important;
    line-height: 1.3 !important;
  }

  /* Override Bootstrap py-5, py-4, py-3 to py-2 on Mobile View */
  .py-5,
  .py-4,
  .py-3 {
    padding-top: 0.5rem !important; /* py-2 equivalent (8px) */
    padding-bottom: 0.5rem !important;
  }
}

/* ==========================================================================
   CALL TO ACTION BANNER (HIGH CONTRAST NAVY & TRICOLOR STYLING)
   ========================================================================== */
.cta-section {
  padding: 50px 0 !important;
  background: linear-gradient(135deg, #001f4d 0%, #003b8e 50%, #071329 100%) !important;
  color: #ffffff !important;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, #ff9933 0%, #ff9933 33.33%, #ffffff 33.33%, #ffffff 66.66%, #128807 66.66%, #128807 100%);
  z-index: 5;
}

.cta-title {
  font-family: 'Space Grotesk', 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  color: #ffffff !important;
  margin-bottom: 12px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.cta-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: #cbd5e1 !important;
  max-width: 740px;
  margin: 0 auto 28px auto;
  line-height: 1.6;
}

.cta-btn-saffron {
  background: linear-gradient(135deg, #ff9933 0%, #ea580c 100%);
  color: #ffffff !important;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none !important;
  box-shadow: 0 10px 25px rgba(234, 88, 12, 0.4);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-btn-saffron:hover {
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(234, 88, 12, 0.5);
}

.cta-btn-outline-white {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff !important;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none !important;
  border: 2px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.cta-btn-outline-white:hover {
  background: #ffffff;
  color: #001f4d !important;
  border-color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(255, 255, 255, 0.3);
}

/* --------------------------------------------------------------------------
   01. PAGE HERO BANNER & BREADCRUMB SECTION (.chairman-banner)
   -------------------------------------------------------------------------- */
.chairman-banner {
  background: linear-gradient(135deg, rgba(3, 27, 78, 0.88) 0%, rgba(8, 26, 54, 0.90) 60%, rgba(2, 10, 26, 0.93) 100%), 
              url('../images/breadcrum-banner.jpg') no-repeat center center / cover !important;
  color: #ffffff;
  padding: 55px 0 50px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 -10px 25px rgba(0, 0, 0, 0.2);
}

.chairman-banner::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

/* Indian Tricolor Stripe Accent at Bottom of Banner */
.chairman-banner::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: linear-gradient(to right, #ff9933 0%, #ff9933 33.33%, #ffffff 33.33%, #ffffff 66.66%, #128807 66.66%, #128807 100%);
  z-index: 5;
}

.chairman-banner-title {
  font-family: 'Poppins', sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #ffffff;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

/* Breadcrumb Navigation Box */
.breadcrumb-box {
  background: rgba(255, 255, 255, 0.08) !important;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 8px !important;
  padding: 0.45rem 1.25rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2) !important;
}

.tech-breadcrumb-link {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.825rem;
  transition: color 0.2s ease;
}

.tech-breadcrumb-link:hover {
  color: #ff9933 !important;
}

.tech-breadcrumb-active {
  color: #ffc107 !important;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.825rem;
}

.breadcrumb-box .breadcrumb-item + .breadcrumb-item::before {
  color: #FFFFFF !important;
  opacity: 1 !important;
  font-weight: 600;
  font-size: 0.825rem;
}
.glightbox-clean .gdesc-inner {
    padding: 4px 4px;
}

/* ==================== Offer Popup Modal ==================== */
.offer-popup-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(3, 27, 78, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.offer-popup-backdrop.active-popup {
  opacity: 1;
  visibility: visible;
}

.offer-popup-container {
  position: relative;
  background: transparent;
  border-radius: 20px;
  max-width: min(580px, 92vw);
  width: max-content;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.2);
  transform: scale(0.85) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.offer-popup-backdrop.active-popup .offer-popup-container {
  transform: scale(1) translateY(0);
}

.offer-popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(3, 27, 78, 0.85);
  color: #ffffff;
  border: 2px solid #ffffff;
  font-size: 24px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.offer-popup-close:hover {
  background: #dc2626;
  color: #ffffff;
  transform: rotate(90deg) scale(1.1);
}

.offer-popup-body {
  width: 100%;
  text-align: center;
  background: transparent;
  overflow: hidden;
  line-height: 0;
}

.offer-popup-body a {
  display: block;
  line-height: 0;
}

.offer-popup-img {
  width: 100%;
  max-width: min(580px, 92vw);
  height: auto;
  max-height: 82vh;
  object-fit: contain;
  display: block;
  border-radius: 20px;
  transition: transform 0.3s ease;
}

.offer-popup-body a:hover .offer-popup-img {
  transform: scale(1.02);
}

@media (max-width: 575.98px) {
  .offer-popup-container {
    max-width: 92vw;
    border-radius: 16px;
  }

  .offer-popup-img {
    border-radius: 16px;
  }

  .offer-popup-close {
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    font-size: 20px;
  }
}


