/* Base */
body{font-feature-settings: "liga" 1, "kern" 1}
.navbar-brand{letter-spacing:.5px}
.nav-logo{height:78px;width:auto;display:block;border-radius:10px}
.logo-frame{position:relative;display:inline-block;border-radius:14px;padding:6px}
/* Remove decorative white bracket corners around logo */
.logo-frame::before{content:none !important; background:none !important}
.catalog-item .card{transition:transform .15s ease}
.catalog-item .card:hover{transform:translateY(-2px)}

/* Brand colors inspired by attachment */
:root{
  --brand-green:#25a36f;      /* primary green */
  --brand-teal:#2fb79c;       /* mid */
  --brand-blue:#4dbbe6;       /* accent */
  --brand-hero-start:#e9f7f1; /* light bg start */
  --brand-hero-end:#e8f5fb;   /* light bg end */
  --course-cloud:#f7f4ee;
  --course-mint:#dff6ed;
  --course-aqua:#dff5fb;
  --course-cobalt:#1f5fbf;
  --course-coral:#d95d4f;
  --course-ink:#102236;
}

/* Navbar styling */
.bg-brand-nav{background:linear-gradient(90deg,var(--brand-green) 0%, var(--brand-teal) 55%, var(--brand-blue) 100%); position:relative; --nav-corner-size:clamp(72px, 18vw, 120px)}
.bg-brand-nav::after{content:""; position:absolute; top:0; right:0; width:var(--nav-corner-size); height:var(--nav-corner-size); background:#fff; border-bottom-left-radius:var(--nav-corner-size); z-index:0}
.bg-brand-nav .navbar{position:relative; z-index:1; display:flex; flex-wrap:wrap; align-items:center; gap:.5rem}
.bg-brand-nav .navbar-brand{order:0}

/* Desktop Navigation: Horizontal links visible on large screens */
.navbar-nav-desktop{
  order:1;
  margin-left:auto;
  margin-right:1rem;
}
.navbar-nav-desktop .nav-link{
  color:#fff;
  opacity:.95;
  font-weight:500;
  font-size:.95rem;
  transition:opacity .2s ease, transform .2s ease;
  position:relative;
}
.navbar-nav-desktop .nav-link:hover{
  opacity:1;
  transform:translateY(-1px);
}
.navbar-nav-desktop .nav-link::after{
  content:'';
  position:absolute;
  bottom:-2px;
  left:50%;
  transform:translateX(-50%) scaleX(0);
  width:80%;
  height:2px;
  background:#fff;
  transition:transform .2s ease;
}
.navbar-nav-desktop .nav-link:hover::after{
  transform:translateX(-50%) scaleX(1);
}

/* Mobile/Tablet Controls */
.bg-brand-nav .nav-controls{
  order:2;
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:.75rem;
  position:relative;
  z-index:2;
}
.nav-download-app-btn{
  white-space:nowrap;
}

/* Mobile Collapsed Menu */
.bg-brand-nav .navbar-collapse.nav-menu{
  order:3;
  position:absolute;
  top:100%;
  right:0;
  margin-top:.4rem;
  min-width:220px;
  max-width:80vw;
  background:rgba(255,255,255,.97);
  border-radius:0 0 .85rem .85rem;
  padding:.75rem 1rem;
  box-shadow:0 8px 24px rgba(0,0,0,.2);
}
.bg-brand-nav .nav-menu .nav-link{color:#12334a; opacity:.9}
.bg-brand-nav .nav-menu .nav-link:hover{color:#0b5137; opacity:1}
.bg-brand-nav .nav-menu .navbar-nav > .nav-item > .nav-link,
.bg-brand-nav .nav-menu .nav-link-button{
  font-weight:600;
}
.bg-brand-nav .navbar-collapse .navbar-nav{align-items:flex-end}
.bg-brand-nav .nav-menu .nav-link-button{
  background:transparent;
  border:0;
  padding:0;
  text-align:right;
  width:100%;
}
.bg-brand-nav .nav-menu .nav-submenu{
  padding-top:.25rem;
}
.bg-brand-nav .nav-menu .nav-submenu .nav-link{
  font-size:.95rem;
  font-weight:400;
  padding-top:.25rem;
  padding-bottom:.25rem;
  padding-right:0;
}

/* Country Selector Dropdown */
.bg-brand-nav .dropdown-menu{border:0; box-shadow:0 8px 24px rgba(0,0,0,.12)}
.bg-brand-nav .btn-outline-light{border-color:#fff; color:#fff}
.bg-brand-nav .btn-outline-light:hover{background:#fff; color:#0b5137}
.bg-brand-nav .nav-controls .dropdown-toggle{white-space:nowrap}

/* Enhanced Hamburger Menu Button with Text Label */
.navbar-dark .navbar-toggler{
  border:1px solid rgba(255,255,255,.5);
  padding:.5rem .75rem;
  background:rgba(255,255,255,.15);
  backdrop-filter:blur(10px);
  border-radius:999px;
  box-shadow:0 2px 8px rgba(0,0,0,.1);
  display:flex;
  align-items:center;
  gap:.5rem;
  min-height:44px;
  min-width:44px;
  transition:all .2s ease;
}
.navbar-dark .navbar-toggler:hover{
  background:rgba(255,255,255,.25);
  border-color:rgba(255,255,255,.8);
  transform:translateY(-1px);
  box-shadow:0 4px 12px rgba(0,0,0,.15);
}
.navbar-dark .navbar-toggler:focus{
  box-shadow:0 0 0 3px rgba(255,255,255,.3);
  outline:none;
}

/* Hamburger Icon - White for better contrast */
.navbar-dark .navbar-toggler-icon{
  background-image:none;
  position:relative;
  width:20px;
  height:2px;
  flex-shrink:0;
}
.navbar-dark .navbar-toggler-icon,
.navbar-dark .navbar-toggler-icon::before,
.navbar-dark .navbar-toggler-icon::after{
  display:block;
  background:#fff;
  height:2px;
  width:20px;
  border-radius:2px;
  content:"";
  transition:all .2s ease;
}
.navbar-dark .navbar-toggler-icon::before{
  position:absolute;
  top:-6px;
  left:0;
}
.navbar-dark .navbar-toggler-icon::after{
  position:absolute;
  top:6px;
  left:0;
}

/* Menu Text Label */
.navbar-toggler-text{
  color:#fff;
  font-weight:600;
  font-size:.9rem;
  letter-spacing:.02em;
}

/* Responsive Adjustments */
@media (min-width:992px){
  .bg-brand-nav .navbar{flex-wrap:nowrap}
  .bg-brand-nav .nav-controls{order:3}
  .navbar-nav-desktop{order:2}
}

@media (max-width:991.98px){
  .bg-brand-nav .nav-controls{gap:.75rem}
}

@media (max-width:575.98px){
  .bg-brand-nav .nav-controls{gap:.5rem}
  .nav-download-app-btn{
    padding:.4rem .7rem;
    font-size:.85rem;
  }
  .navbar-dark .navbar-toggler{
    padding:.4rem .6rem;
    gap:.4rem;
  }
  .navbar-toggler-text{
    font-size:.85rem;
  }
}

/* Hero styling */
.bg-brand-hero{background:linear-gradient(90deg,var(--brand-green) 0%, var(--brand-teal) 55%, var(--brand-blue) 100%)}
.hero-section{min-height:54vh; padding-top:3.2rem; padding-bottom:3.2rem}

/* Make the whole hero area match navbar colors */
.hero-row{background:transparent; padding:2rem 0; color:#fff}
.hero-section h1{color:#fff}
.hero-section .lead{color:#fff; opacity:.95}
.hero-section .text-muted{color:#f7f7f7 !important; opacity:.85}
/* Remove shadow/3D effect on hero media for a flatter look */
.hero-section .shadow{box-shadow:none !important}

/* Card carousel rows */
.card-carousel{position:relative}
.card-carousel .carousel-track{display:flex; gap:16px; overflow-x:auto; scroll-snap-type:x mandatory; padding-bottom:6px}
.card-carousel .carousel-track > *{scroll-snap-align:start; flex:0 0 auto; width:320px}
.card-carousel .carousel-btn{position:absolute; top:50%; transform:translateY(-50%); z-index:2; border:none; background:rgba(255,255,255,.9); color:#333; width:36px; height:36px; border-radius:50%; box-shadow:0 4px 16px rgba(0,0,0,.2)}
.card-carousel .carousel-btn:hover{background:#fff}
.card-carousel .btn-prev{left:-6px}
.card-carousel .btn-next{right:-6px}

/* Hide native scrollbar on WebKit for cleaner look */
.card-carousel .carousel-track::-webkit-scrollbar{height:8px}
.card-carousel .carousel-track::-webkit-scrollbar-thumb{background:rgba(0,0,0,.15); border-radius:4px}

/* Panel around "What Makes Tutin Different" for professional framing */
.adcards-panel{border:2px solid var(--brand-blue); border-radius:16px; background:rgba(var(--brand-blue-rgb),.06)}
.adcards-panel h2{margin-left:.25rem}

/* Floating Catalog button (home page) */
.fab-catalog{position:fixed; right:18px; bottom:18px; z-index:1040; border-radius:9999px; box-shadow:0 8px 24px rgba(0,0,0,.2);}
.fab-catalog{background:var(--brand-blue); border-color:transparent}
.fab-catalog:hover{background:#3cc0ee; color:#fff}
@media (max-width:575.98px){
  .fab-catalog{right:12px; bottom:12px; padding:.5rem .75rem; font-size:.9rem}
}

/* Home footer note (student quote) */
.home-footer-note-avatar{
  width:72px;
  height:72px;
  border-radius:50%;
  object-fit:cover;
  flex-shrink:0;
}

/* Shared resources-style icon wrapper */
.resources-icon-wrapper{
  width:56px;
  height:56px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}
.resources-icon{
  color:#fff;
}

/* Cookie banner */
.cookie-banner{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  z-index:1030;
  background:#fff;
  border-top:1px solid #dee2e6;
}
@media (max-width:575.98px){
  .cookie-banner .container{
    padding-left:1rem;
    padding-right:1rem;
  }
}

/* ========================================
   ABOUT PAGE MODERN STYLES
   ======================================== */

/* Hero Section */
.about-hero {
  background: linear-gradient(135deg, var(--brand-green) 0%, var(--brand-teal) 50%, var(--brand-blue) 100%);
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.about-hero .container {
  position: relative;
  z-index: 1;
}

.about-hero-img {
  animation: fadeInUp 0.8s ease-out;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-fade-in {
  animation: fadeInUp 0.8s ease-out;
}

.animate-fade-in-delay {
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.animate-fade-in-delay-2 {
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* About Cards */
.about-card {
  transition: all 0.3s ease;
  border-radius: 16px;
  background: #fff;
}

.about-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12) !important;
}

.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Icon Styling */
.about-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-green), var(--brand-teal));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-icon {
  color: #fff;
  width: 28px;
  height: 28px;
}

.about-section-title {
  color: #1a1a1a;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.about-section-content {
  color: #4a5568;
  line-height: 1.7;
}

.about-section-content h1,
.about-section-content h2,
.about-section-content h3,
.about-section-content h4 {
  color: #1a1a1a;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.about-section-content p {
  margin-bottom: 1rem;
}

.about-section-content ul,
.about-section-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.about-section-content li {
  margin-bottom: 0.5rem;
}

.about-section-content a {
  color: var(--brand-blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

.about-section-content a:hover {
  color: var(--brand-teal);
  text-decoration: underline;
}

/* Main Content Area */
.about-main-content {
  color: #4a5568;
  line-height: 1.8;
  font-size: 1.05rem;
}

.about-main-content h1,
.about-main-content h2,
.about-main-content h3 {
  color: #1a1a1a;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.about-main-content h1 {
  font-size: 2.25rem;
  border-bottom: 3px solid var(--brand-green);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

.about-main-content h2 {
  font-size: 1.75rem;
}

.about-main-content h3 {
  font-size: 1.5rem;
}

.about-main-content p {
  margin-bottom: 1.25rem;
}

.about-main-content ul,
.about-main-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.about-main-content li {
  margin-bottom: 0.75rem;
}

.about-main-content a {
  color: var(--brand-blue);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.about-main-content a:hover {
  color: var(--brand-teal);
  text-decoration: underline;
}

.about-main-content blockquote {
  border-left: 4px solid var(--brand-green);
  padding-left: 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: #2d3748;
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-hero h1 {
    font-size: 2rem;
  }
  
  .about-hero .lead {
    font-size: 1.1rem;
  }
  
  .about-card {
    margin-bottom: 1rem;
  }
  
  .about-icon-wrapper {
    width: 48px;
    height: 48px;
  }
  
  .about-icon {
    width: 24px;
    height: 24px;
  }
  
  .about-main-content h1 {
    font-size: 1.75rem;
  }
  
  .about-main-content h2 {
    font-size: 1.5rem;
  }
  
  .about-main-content {
    font-size: 1rem;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Additional utility for gradient text (optional) */
.gradient-text {
  background: linear-gradient(135deg, var(--brand-green), var(--brand-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========================================
   INSTITUTIONS PAGE MODERN STYLES
   ======================================== */

/* Hero Section */
.institutions-hero {
  background: linear-gradient(135deg, var(--brand-green) 0%, var(--brand-teal) 50%, var(--brand-blue) 100%);
  position: relative;
  overflow: hidden;
}

.institutions-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.institutions-hero .container {
  position: relative;
  z-index: 1;
}

.institutions-info-box {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.institutions-hero-card {
  animation: slideInRight 0.8s ease-out;
}

.institutions-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(37, 163, 111, 0.1), rgba(77, 187, 230, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Images */
.institutions-image-wrapper {
  transition: transform 0.3s ease;
}

.institutions-image-wrapper:hover {
  transform: scale(1.02);
}

.institutions-inline-image-wrapper {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.institutions-inline-image-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

/* Roles Card */
.institutions-roles-card {
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.institutions-role-section {
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.institutions-role-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.institutions-list {
  list-style: none;
  padding-left: 0;
}

.institutions-list li {
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  position: relative;
  line-height: 1.6;
}

.institutions-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--brand-green);
  font-weight: bold;
  font-size: 1.1rem;
}

/* Partner Tabs */
.institutions-partners-section {
  margin-top: 2rem;
}

.institutions-tabs-wrapper {
  margin-bottom: -1px;
  position: relative;
  z-index: 2;
}

.institutions-nav-pills {
  border-bottom: none;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.institutions-nav-pills .nav-link {
  border-radius: 12px 12px 0 0;
  padding: 1rem 1.5rem;
  font-weight: 600;
  color: #6b7280;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-bottom: none;
  transition: all 0.3s ease;
}

.institutions-nav-pills .nav-link:hover {
  background: #fff;
  color: var(--brand-green);
}

.institutions-nav-pills .nav-link.active {
  background: #fff;
  color: var(--brand-green);
  border-color: #e5e7eb;
  border-bottom-color: #fff;
  position: relative;
}

.institutions-tab-content {
  margin-top: 0;
  border: 1px solid #e5e7eb;
}

/* Partner Logos */
.institutions-logos-section {
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.institutions-logo-wrapper {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.institutions-logo-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

.hover-lift-small {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Benefits Section */
.institutions-benefits-section h3 {
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: -0.02em;
}

.institutions-benefit-card {
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.institutions-benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15) !important;
}

.institutions-benefit-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(37, 163, 111, 0.1), rgba(77, 187, 230, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Steps Section */
.institutions-steps-section h3 {
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: -0.02em;
}

.institutions-step-card {
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.institutions-step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-green), var(--brand-blue));
}

.institutions-step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15) !important;
}

.institutions-step-number {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-green), var(--brand-teal));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
}

/* FAQ Section */
.institutions-faq-section h3 {
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: -0.02em;
}

.institutions-accordion .accordion-item {
  border-radius: 12px !important;
  overflow: hidden;
}

.institutions-accordion .accordion-button {
  font-weight: 600;
  color: #1a1a1a;
  padding: 1.25rem 1.5rem;
  background: #fff;
}

.institutions-accordion .accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, rgba(37, 163, 111, 0.05), rgba(77, 187, 230, 0.05));
  color: var(--brand-green);
}

.institutions-accordion .accordion-button:focus {
  box-shadow: none;
  border-color: var(--brand-green);
}

.institutions-accordion .accordion-body {
  padding: 1.25rem 1.5rem;
  color: #4a5568;
  line-height: 1.7;
}

/* Demo Form Section */
.institutions-demo-section {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.institutions-demo-section .card {
  border-radius: 20px;
}

/* Career opportunities */
.career-opportunity-card {
  background: #fff;
}

.career-opportunity-row {
  align-items: stretch;
}

.career-opportunity-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(320px, 34vw, 500px);
  height: 100%;
  padding: clamp(0.5rem, 1vw, 0.85rem);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(135deg, rgba(37, 163, 111, 0.08), rgba(77, 187, 230, 0.1));
}

.career-opportunity-media-element {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 16px;
}

.career-opportunity-media-trigger {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.career-opportunity-media-trigger:focus-visible {
  outline: 3px solid rgba(77, 187, 230, 0.55);
  outline-offset: 4px;
  border-radius: 18px;
}

.career-opportunity-media-image {
  object-fit: contain;
  background: #0f172a;
}

.career-opportunity-media-video {
  object-fit: cover;
}

.career-opportunity-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.career-media-modal .modal-content {
  border: 0;
  border-radius: 20px;
  overflow: hidden;
}

.career-media-modal .modal-body {
  padding: 0;
  background: #0f172a;
}

.career-media-modal-image {
  display: block;
  width: 100%;
  max-height: min(86vh, 1100px);
  object-fit: contain;
  background: #0f172a;
}

@media (max-width: 991.98px) {
  .career-opportunity-media {
    min-height: clamp(260px, 52vw, 420px);
  }

  .career-opportunity-copy {
    justify-content: flex-start;
  }
}

@media (max-width: 575.98px) {
  .career-opportunity-media {
    min-height: 220px;
    border-radius: 16px;
  }

  .career-opportunity-media-element {
    border-radius: 12px;
  }

  .career-opportunity-header {
    flex-wrap: wrap;
  }
}

.institutions-form .form-label {
  color: #374151;
  margin-bottom: 0.5rem;
}

.institutions-form .form-control,
.institutions-form .form-select {
  border-radius: 8px;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.institutions-form .form-control:focus,
.institutions-form .form-select:focus {
  border-color: var(--brand-green);
  box-shadow: 0 0 0 3px rgba(37, 163, 111, 0.1);
}

.institutions-form .form-check-input:checked {
  background-color: var(--brand-green);
  border-color: var(--brand-green);
}

.institutions-form .btn-primary {
  background: linear-gradient(135deg, var(--brand-green), var(--brand-teal));
  border: none;
  border-radius: 12px;
  padding: 0.875rem 2.5rem;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.institutions-form .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 163, 111, 0.3);
  background: linear-gradient(135deg, #1e8a5b, #28a188);
}

.tutin-collapse-toggle[aria-expanded="true"] .tutin-when-closed {
  display: none;
}

.tutin-collapse-toggle[aria-expanded="false"] .tutin-when-open {
  display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .institutions-hero h1 {
    font-size: 2rem;
  }
  
  .institutions-hero .lead {
    font-size: 1.1rem;
  }
  
  .institutions-nav-pills .nav-link {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
  
  .institutions-tab-content {
    padding: 1.5rem !important;
  }
  
  .institutions-roles-card .card-body {
    padding: 1.5rem !important;
  }
  
  .institutions-benefit-card .card-body,
  .institutions-step-card .card-body {
    padding: 1.5rem !important;
  }
  
  .institutions-demo-section .card-body {
    padding: 1.5rem !important;
  }
}

/* ========================================
   HOME PAGE MODERN STYLES
   ======================================== */

/* Hero Section */
.home-hero {
  background: linear-gradient(135deg, var(--brand-green) 0%, var(--brand-teal) 50%, var(--brand-blue) 100%);
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.home-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 15% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 85% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.home-hero .container {
  position: relative;
  z-index: 1;
}

.home-hero-content h1 {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.home-hero-btn-primary {
  background: #fff;
  color: var(--brand-green);
  font-weight: 600;
  border: none;
  padding: 1rem 2rem;
  display: inline-flex;
  align-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-hero-btn-primary:hover {
  background: #f8f9fa;
  color: var(--brand-green);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.home-hero-stats {
  color: rgba(255, 255, 255, 0.95);
}

.home-stat-icon {
  font-size: 1.25rem;
}

.home-media-wrapper {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-media-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2) !important;
}

/* Ad Cards Panel */
.home-adcards-panel {
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(37, 163, 111, 0.03), rgba(77, 187, 230, 0.03));
}

/* Carousel Styles */
.home-card-carousel {
  position: relative;
  overflow: hidden;
  padding: 0 50px;
}

.home-carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 10px;
  -webkit-overflow-scrolling: touch;
}

.home-carousel-track::-webkit-scrollbar {
  height: 8px;
}

.home-carousel-track::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.home-carousel-track::-webkit-scrollbar-thumb {
  background: #cbd5e0;
  border-radius: 4px;
}

.home-carousel-track::-webkit-scrollbar-thumb:hover {
  background: #a0aec0;
}

.home-carousel-item {
  flex: 0 0 auto;
  width: 320px;
  scroll-snap-align: start;
}

.home-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #1a1a1a;
}

.home-carousel-btn:hover {
  background: #f8f9fa;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  transform: translateY(-50%) scale(1.05);
}

.home-btn-prev {
  left: 0;
}

.home-btn-next {
  right: 0;
}

.home-card-image-wrapper {
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}

.home-card-image-wrapper img {
  transition: transform 0.3s ease;
}

.home-carousel-item:hover .home-card-image-wrapper img {
  transform: scale(1.05);
}

/* Highlights Section */
.home-highlights-section {
  background: linear-gradient(180deg, #fff 0%, #f9fafb 100%);
}

.home-highlights-card,
.home-testimonials-card {
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-highlights-card:hover,
.home-testimonials-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12) !important;
}

.home-highlights-list {
  list-style: none;
  padding-left: 0;
}

.home-highlights-list li {
  padding-left: 2rem;
  margin-bottom: 1rem;
  position: relative;
  line-height: 1.6;
  color: #4a5568;
}

.home-highlights-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, var(--brand-green), var(--brand-teal));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-highlights-list li::after {
  content: '✓';
  position: absolute;
  left: 6px;
  top: 0.3rem;
  color: #fff;
  font-weight: bold;
  font-size: 0.75rem;
}

/* Testimonials */
.home-testimonial-avatar {
  width: 56px;
  height: 56px;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.home-testimonial-text {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #4a5568;
  font-style: italic;
  border-left: 3px solid var(--brand-green);
  padding-left: 1rem;
}

.home-testimonial-item {
  padding: 1rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(37, 163, 111, 0.03), rgba(77, 187, 230, 0.03));
  transition: background 0.2s ease;
}

.home-testimonial-item:hover {
  background: linear-gradient(135deg, rgba(37, 163, 111, 0.05), rgba(77, 187, 230, 0.05));
}

/* Floating Action Button */
.home-fab-catalog {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1040;
  background: linear-gradient(135deg, var(--brand-green), var(--brand-teal));
  border: none;
  border-radius: 50px;
  padding: 1rem 2rem;
  box-shadow: 0 8px 24px rgba(37, 163, 111, 0.3);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-fab-catalog:hover {
  background: linear-gradient(135deg, #1e8a5b, #28a188);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(37, 163, 111, 0.4);
  color: #fff;
}

/* Card Hover Effects */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15) !important;
}

/* Responsive Design for Home */
@media (max-width: 992px) {
  .home-hero {
    min-height: 500px;
  }
  
  .home-carousel-item {
    width: 280px;
  }
  
  .home-card-carousel {
    padding: 0 40px;
  }
}

@media (max-width: 768px) {
  .home-hero {
    min-height: auto;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  
  .home-hero h1 {
    font-size: 2rem;
  }
  
  .home-hero .lead {
    font-size: 1.1rem;
  }
  
  .home-hero-btn-primary {
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
  }
  
  .home-carousel-item {
    width: 260px;
  }
  
  .home-card-carousel {
    padding: 0;
  }
  
  .home-carousel-btn {
    display: none;
  }
  
  .home-fab-catalog {
    right: 16px;
    bottom: 16px;
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .home-fab-catalog svg {
    width: 16px;
    height: 16px;
  }
  
  .home-testimonial-avatar {
    width: 48px;
    height: 48px;
  }
  
  .home-testimonial-text {
    font-size: 0.95rem;
  }
}

@media (max-width: 575.98px) {
  .home-carousel-item {
    width: 240px;
  }
  
  .home-adcards-panel {
    padding: 1.5rem !important;
  }
}

/* =========================================
   STUDENT ZONE STYLES
   ========================================= */

/* Hero Section */
.students-hero {
  background: linear-gradient(135deg, #25a36f 0%, #2fb79c 50%, #4dbbe6 100%);
  color: white;
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.students-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
  opacity: 0.3;
}

.students-hero .container {
  position: relative;
  z-index: 1;
}

.students-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.students-hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.students-hero-info {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.students-hero-info h5 {
  color: #fff;
  letter-spacing: 0.2px;
}

.students-hero-list li {
  color: #f8f9fa;
  font-size: 1rem;
}

.students-hero-bullet {
  width: 18px;
  height: 18px;
  display: inline-block;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(37, 163, 111, 0.9), rgba(77, 187, 230, 0.9));
  position: relative;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.students-hero-bullet::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 5px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Hero Card */
.students-hero-card {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  border-radius: 18px;
  animation: slideInRight 0.8s ease-out;
  transition: all 0.3s ease;
}

.students-hero-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.2);
}

.students-login-icon {
  width: 80px;
  height: 80px;
  background: rgba(37, 163, 111, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.students-hero-card h3 {
  font-weight: 600;
  color: #212529;
}

.students-hero-card .btn-primary {
  background: linear-gradient(135deg, #25a36f, #2fb79c);
  border: none;
  padding: 14px 28px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.students-hero-card .btn-primary:hover {
  background: linear-gradient(135deg, #1e8b5f, #25a36f);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 163, 111, 0.3);
}

/* Search Section */
.students-search-section {
  padding: 40px 0;
}

.students-search-section .input-group {
  max-width: 600px;
  margin: 0 auto;
}

.students-search-section .input-group-text {
  background: white;
  border-right: none;
}

.students-search-section .form-control {
  border-left: none;
  padding: 12px;
}

.students-search-section .form-control:focus {
  box-shadow: 0 0 0 0.25rem rgba(37, 163, 111, 0.25);
}

/* Navigation Tabs */
.students-nav-tabs {
  border-bottom: 2px solid #dee2e6;
  margin-bottom: 40px;
}

.students-nav-tabs .nav-link {
  color: #6c757d;
  border: none;
  padding: 12px 24px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.students-nav-tabs .nav-link svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  transition: stroke 0.3s ease;
}

.students-nav-tabs .nav-link:hover {
  color: var(--brand-green);
}

.students-nav-tabs .nav-link.active {
  color: var(--brand-green);
  background: none;
  border: none;
}

.students-nav-tabs .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-green), var(--brand-teal));
  border-radius: 3px 3px 0 0;
}

/* Bundle Cards */
.students-bundle-card {
  transition: all 0.3s ease;
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
}

.students-bundle-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.students-bundle-img-wrapper {
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.students-bundle-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.students-bundle-card:hover .students-bundle-img-wrapper img {
  transform: scale(1.05);
}

.students-bundle-info {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: #6c757d;
}

.students-bundle-info svg {
  width: 18px;
  height: 18px;
}

.students-bundle-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-green);
  margin-bottom: 16px;
}

.students-bundle-card .btn {
  width: 100%;
}

/* Course Cards */
.students-course-card {
  transition: all 0.3s ease;
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  position: relative;
}

.students-course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.students-course-img-wrapper {
  height: 180px;
  overflow: hidden;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.students-course-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.students-course-card:hover .students-course-img-wrapper img {
  transform: scale(1.05);
}

.students-course-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #dc3545;
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.students-course-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 12px;
}

.students-course-rating svg {
  width: 16px;
  height: 16px;
}

.students-course-rating span {
  color: #6c757d;
  font-size: 0.9rem;
  margin-left: 4px;
}

.students-course-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-green);
  margin-bottom: 16px;
}

.students-course-price .text-decoration-line-through {
  color: #6c757d;
  font-size: 1rem;
  font-weight: 400;
  margin-right: 8px;
}

.students-course-card .btn {
  width: 100%;
}

/* Pricing Cards */
.students-pricing-card {
  border-radius: 16px;
  transition: all 0.3s ease;
  position: relative;
}

.students-pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15) !important;
}

.students-pricing-featured {
  border: 2px solid var(--brand-teal);
  position: relative;
}

.students-pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--brand-teal), var(--brand-blue));
  color: white;
  padding: 6px 20px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.85rem;
}

.students-pricing-icon {
  width: 60px;
  height: 60px;
  background: rgba(37, 163, 111, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.students-pricing-featured .students-pricing-icon {
  background: rgba(77, 187, 230, 0.1);
}

.students-pricing-list {
  list-style: none;
  padding: 0;
}

.students-pricing-list li {
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
  padding-left: 28px;
}

.students-pricing-list li:last-child {
  border-bottom: none;
}

.students-pricing-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--brand-green);
  font-weight: 700;
}

/* FAQ Accordion */
.students-accordion .accordion-item {
  border-radius: 8px;
  overflow: hidden;
}

.students-accordion .accordion-button {
  background: white;
  color: #333;
  font-weight: 500;
  padding: 18px 24px;
  transition: all 0.3s ease;
}

.students-accordion .accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, rgba(37, 163, 111, 0.08), rgba(77, 187, 230, 0.08));
  color: var(--brand-green);
  box-shadow: none;
}

.students-accordion .accordion-button:hover {
  background: rgba(37, 163, 111, 0.05);
}

.students-accordion .accordion-button::after {
  filter: brightness(0) saturate(100%) invert(54%) sepia(45%) saturate(614%) hue-rotate(115deg) brightness(91%) contrast(89%);
}

.students-accordion .accordion-body {
  padding: 20px 24px;
  color: #6c757d;
}

/* Demos Card */
.students-demos-card {
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(37, 163, 111, 0.05), rgba(77, 187, 230, 0.05));
}

.students-demos-icon {
  width: 80px;
  height: 80px;
  background: rgba(77, 187, 230, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 992px) {
  .students-hero h1 {
    font-size: 2.5rem;
  }
  
  .students-hero p {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .students-hero {
    padding: 60px 0 40px;
  }
  
  .students-hero h1 {
    font-size: 2rem;
  }
  
  .students-hero p {
    font-size: 1rem;
  }

  .students-hero-card {
    text-align: center;
  }
  
  .students-hero-card .d-flex {
    flex-direction: column;
  }
  
  .students-hero-card .btn {
    width: 100%;
  }
  
  .students-nav-tabs .nav-link {
    padding: 10px 16px;
    font-size: 0.9rem;
  }
  
  .students-bundle-img-wrapper,
  .students-course-img-wrapper {
    height: 160px;
  }
  
  .students-demos-card .card-body {
    padding: 2rem 1.5rem !important;
  }
}

@media (max-width: 575.98px) {
  .students-hero h1 {
    font-size: 1.75rem;
  }
  
  .students-nav-tabs .nav-link {
    padding: 8px 12px;
    font-size: 0.85rem;
  }
  
  .students-nav-tabs .nav-link svg {
    width: 16px;
    height: 16px;
  }
  
  .students-pricing-card .card-body {
    padding: 1.5rem !important;
  }
  
  .students-demos-card .d-flex {
    flex-direction: column !important;
  }
  
  .students-demos-card .btn {
    width: 100%;
  }
}

/* =========================================
   CATALOG PAGES STYLES
   ========================================= */

/* Catalog Hero */
.catalog-hero {
  background: linear-gradient(135deg, #25a36f 0%, #2fb79c 50%, #4dbbe6 100%);
  color: white;
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}

.catalog-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
  opacity: 0.3;
}

.catalog-hero .container {
  position: relative;
  z-index: 1;
}

.catalog-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.catalog-hero p {
  font-size: 1.25rem;
  opacity: 0.95;
}

.catalog-hero .btn {
  border-color: rgba(255,255,255,0.5);
  transition: all 0.3s ease;
}

.catalog-hero .btn:hover {
  background: white;
  color: var(--brand-green);
  border-color: white;
  transform: translateY(-2px);
}

/* Bundle Cards in Catalog */
.catalog-bundle-card {
  transition: all 0.3s ease;
  border-radius: 12px;
  overflow: hidden;
}

.catalog-bundle-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.2) !important;
}

.catalog-bundle-img-wrapper {
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.catalog-bundle-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.catalog-bundle-card:hover .catalog-bundle-img-wrapper img {
  transform: scale(1.1);
}

.catalog-placeholder-img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.catalog-bundle-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(47, 183, 156, 0.95);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.catalog-bundle-meta {
  color: #6c757d;
  font-size: 0.9rem;
}

.catalog-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-green);
}

/* Course Cards in Catalog */
.catalog-course-card {
  transition: all 0.3s ease;
  border-radius: 12px;
  overflow: hidden;
}

.catalog-course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.2) !important;
}

.catalog-course-img-wrapper {
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.catalog-course-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.catalog-course-card:hover .catalog-course-img-wrapper img {
  transform: scale(1.1);
}

.catalog-discount-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #dc3545;
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
}

.catalog-course-badges .badge {
  font-size: 0.75rem;
  padding: 4px 10px;
}

.catalog-rating {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
}

.catalog-rating svg {
  flex-shrink: 0;
}

/* Bundle Detail Hero */
.bundle-hero {
  background: white;
  color: #212529;
  padding: 80px 0 60px;
  border-bottom: 1px solid #e9ecef;
}

.bundle-badge {
  background: rgba(47, 183, 156, 0.1);
  color: var(--brand-teal);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
}

.bundle-hero .breadcrumb {
  background: none;
  padding: 0;
}

.bundle-hero .breadcrumb-item a {
  text-decoration: none;
  color: #6c757d;
}

.bundle-hero .breadcrumb-item a:hover {
  text-decoration: underline;
  color: var(--brand-teal);
}

.bundle-hero .breadcrumb-item.active {
  color: #6c757d;
}

.bundle-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #212529;
}

.bundle-hero .btn-outline-light {
  border-color: #dee2e6;
  color: #6c757d;
}

.bundle-hero .btn-outline-light:hover {
  background: #f8f9fa;
  border-color: var(--brand-teal);
  color: var(--brand-teal);
}

/* Bundle Detail Content */
.bundle-main-img-wrapper {
  max-height: 400px;
  overflow: hidden;
  border-radius: 12px;
}

.bundle-main-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bundle-badges-section .badge {
  font-size: 0.9rem;
  padding: 6px 14px;
}

.bundle-section-card {
  border-radius: 12px;
  transition: box-shadow 0.3s ease;
}

.bundle-section-card:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

.bundle-section-card h2 svg,
.bundle-section-card .d-flex svg {
  flex-shrink: 0;
}

/* Bundle Courses List */
.bundle-courses-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bundle-course-item {
  display: block;
  padding: 16px;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.bundle-course-item:hover {
  background: linear-gradient(135deg, rgba(37, 163, 111, 0.05), rgba(77, 187, 230, 0.05));
  border-color: var(--brand-teal);
  transform: translateX(8px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.bundle-course-thumb {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.bundle-course-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bundle-course-thumb-placeholder {
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bundle-course-title {
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 4px;
  color: #212529;
}

.bundle-course-meta {
  font-size: 0.85rem;
  color: #6c757d;
}

.bundle-course-arrow {
  flex-shrink: 0;
  color: #6c757d;
  transition: transform 0.3s ease;
}

.bundle-course-item:hover .bundle-course-arrow {
  transform: translateX(4px);
  color: var(--brand-green);
}

/* Bundle Pricing Card */
.bundle-pricing-card {
  border-radius: 12px;
}

.bundle-pricing-card.sticky-top {
  z-index: 100;
}

.bundle-price-main {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--brand-green);
  line-height: 1;
}

.bundle-pricing-card .btn-lg {
  padding: 14px 24px;
  font-size: 1.1rem;
}

/* Bundle Tier Cards */
.bundle-tier-card {
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 16px;
  transition: all 0.3s ease;
}

.bundle-tier-card:hover {
  border-color: var(--brand-teal);
  background: rgba(47, 183, 156, 0.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.bundle-tier-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #212529;
  margin-bottom: 0;
}

.bundle-tier-price {
  font-size: 0.95rem;
}

.bundle-tier-features {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}

.bundle-tier-features li {
  padding: 6px 0;
  padding-left: 24px;
  position: relative;
}

.bundle-tier-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--brand-green);
  font-weight: 700;
}

.bundle-tier-breakdown {
  font-size: 0.85rem;
  color: #6c757d;
  line-height: 1.6;
}

.bundle-tier-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}

.bundle-tier-info-list li {
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}

.bundle-tier-info-list li:last-child {
  border-bottom: none;
}

/* Course Detail Hero */
.course-hero {
  background: white;
  color: #212529;
  padding: 80px 0 60px;
  border-bottom: 1px solid #e9ecef;
}

.course-hero .breadcrumb {
  background: none;
  padding: 0;
}

.course-hero .breadcrumb-item a {
  text-decoration: none;
  color: #6c757d;
}

.course-hero .breadcrumb-item a:hover {
  text-decoration: underline;
  color: var(--brand-blue);
}

.course-hero .breadcrumb-item.active {
  color: #6c757d;
}

.course-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #212529;
}

.course-hero .btn-outline-light {
  border-color: #dee2e6;
  color: #6c757d;
}

.course-hero .btn-outline-light:hover {
  background: #f8f9fa;
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

.course-hero-badges .badge {
  font-size: 0.9rem;
  padding: 6px 14px;
}

/* Course Detail Content */
.course-main-img-wrapper {
  max-height: 400px;
  overflow: hidden;
  border-radius: 12px;
}

.course-main-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-badges-section .badge {
  font-size: 0.85rem;
  padding: 5px 12px;
}

.course-section-card {
  border-radius: 12px;
  transition: box-shadow 0.3s ease;
}

.course-section-card:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

.course-section-card h2 svg {
  flex-shrink: 0;
}

.preserve-whitespace {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.course-about-text {
  position: relative;
}

.course-about-toggle:not(:checked) ~ .course-about-text {
  max-height: 9.5rem;
  overflow: hidden;
}

.course-about-toggle:not(:checked) ~ .course-about-text::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3.5rem;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
  pointer-events: none;
}

.course-about-label {
  cursor: pointer;
  color: #6c757d;
  font-size: 0.875rem;
  user-select: none;
  display: inline-block;
}

.course-about-label::after {
  content: "\25BE";
  margin-left: 0.35rem;
  font-size: 0.85em;
  opacity: 0.7;
}

.course-about-toggle:checked ~ .course-about-label::after {
  content: "\25B4";
}

.course-about-less-label {
  display: none;
}

.course-about-toggle:checked ~ .course-about-label .course-about-more-label {
  display: none;
}

.course-about-toggle:checked ~ .course-about-label .course-about-less-label {
  display: inline;
}

.course-about-jump {
  display: inline-block;
  margin-top: 0.5rem;
  text-decoration: none;
}

.course-about-jump:hover {
  text-decoration: underline;
}

.course-highlights-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.course-highlights-list li {
  padding: 10px 0;
  padding-left: 28px;
  position: relative;
  border-bottom: 1px solid #f0f0f0;
}

.course-highlights-list li:last-child {
  border-bottom: none;
}

.course-highlights-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 10px;
  color: var(--brand-green);
  font-weight: 700;
  font-size: 1.1rem;
}

.course-test-type-badge {
  background: #f8f9fa;
  color: #495057;
  border: 1px solid #dee2e6;
  padding: 6px 14px;
  font-size: 0.85rem;
}

/* Course Pricing Card */
.course-pricing-card {
  border-radius: 12px;
}

.course-pricing-card.sticky-top {
  z-index: 100;
}

.course-price-main {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--brand-green);
  line-height: 1;
}

.course-rating {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
}

.course-rating svg {
  flex-shrink: 0;
}

.course-pricing-card .btn-lg {
  padding: 14px 24px;
  font-size: 1.1rem;
}

/* Course Tier Cards */
.course-tier-card {
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 16px;
  transition: all 0.3s ease;
}

.course-tier-card:hover {
  border-color: var(--brand-blue);
  background: rgba(77, 187, 230, 0.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.course-tier-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #212529;
  margin-bottom: 0;
}

.course-tier-breakdown {
  font-size: 0.85rem;
  color: #6c757d;
  line-height: 1.6;
}

.course-tier-free-price strong {
  color: #212529;
  font-size: 1.25rem;
}

.course-tier-features {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}

.course-tier-features li {
  padding: 6px 0;
  padding-left: 24px;
  position: relative;
}

.course-tier-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--brand-green);
  font-weight: 700;
}

.course-marketing-media-card {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  margin-left: 1rem;
  margin-right: 1rem;
  overflow: hidden;
  padding: 8px;
  width: calc(100% - 2rem);
}

.course-marketing-media {
  display: block;
  border-radius: 6px;
  margin: 0 auto;
  max-height: min(512px, 56vh);
  max-width: 100%;
  background: #f8f9fa;
  object-fit: contain;
  width: auto;
}

.course-marketing-media-card img.course-marketing-media {
  height: auto;
}

.course-marketing-media-card video.course-marketing-media {
  width: 100%;
  object-fit: contain;
  background: #000;
}

.course-landing-hero {
  background: linear-gradient(135deg, #f5fbf8 0%, #eef9fb 52%, #ffffff 100%);
  color: #102033;
  padding: 56px 0 48px;
  border-bottom: 1px solid rgba(37, 163, 111, 0.14);
}

.course-landing-hero .breadcrumb-item a {
  color: #367084;
}

.course-landing-hero .breadcrumb-item.active {
  color: #6b7d88;
}

.course-landing-hero .btn-outline-light {
  background: #ffffff;
  border-color: rgba(54, 112, 132, 0.18);
  color: #367084;
}

.course-landing-hero .btn-outline-light:hover {
  background: #eef9fb;
  color: #14586d;
}

.course-eyebrow {
  color: #16805a;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.35;
}

.course-title-eyebrow {
  color: #006f52;
  font-size: 1.18rem;
  line-height: 1.4;
  max-width: 760px;
}

.course-hero-title {
  color: #102033;
  font-size: clamp(2.4rem, 4.4vw, 4.65rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.02;
  max-width: 11ch;
}

.course-hero-summary {
  color: #506371;
  font-size: 1.05rem;
  line-height: 1.6;
}

.course-carousel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(37, 163, 111, 0.16);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(15, 48, 65, 0.12);
}

.course-carousel-track {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 220px;
}

.course-carousel-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: translateX(4%);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.course-carousel-slide.is-active {
  opacity: 1;
  transform: translateX(0);
  z-index: 1;
}

.course-carousel-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-carousel-slide--additional {
  background: #111827;
}

.course-carousel-slide--additional img {
  object-fit: contain;
  object-position: center;
}

.course-carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 2;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.course-carousel-dots span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 0 0 1px rgba(16, 32, 51, 0.16);
}

.course-carousel-dots span.is-active {
  width: 22px;
  background: var(--brand-green);
}

.course-plans-section,
.course-feature-section,
.course-trust-section,
.course-about-section,
.course-faq-section {
  padding: 54px 0;
}

.course-plans-section {
  background: #ffffff;
}

.course-feature-section {
  background: #f8fbfc;
}

.course-trust-section {
  background: #ffffff;
}

.course-faq-section {
  background: #f8fbfc;
}

.course-section-heading {
  margin-bottom: 24px;
}

.course-section-heading h2 {
  color: #102033;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 0.45rem;
}

.course-section-heading p {
  color: #60717d;
  margin: 0;
  max-width: 680px;
}

.course-plans-heading p {
  margin-left: auto;
  margin-right: auto;
}

.course-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.course-feature-tile {
  min-height: 178px;
  padding: 20px;
  border: 1px solid rgba(54, 112, 132, 0.14);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 48, 65, 0.06);
}

.course-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: rgba(77, 187, 230, 0.14);
  color: var(--brand-blue);
}

.course-feature-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.course-feature-tile h3,
.course-trust-grid h3 {
  color: #102033;
  font-size: 1.18rem;
  font-weight: 750;
  letter-spacing: 0;
  margin-bottom: 0.65rem;
}

.course-feature-tile p,
.course-trust-grid p {
  color: #5f707b;
  font-size: 1.03rem;
  line-height: 1.55;
  margin: 0;
}

.course-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.course-trust-grid article {
  padding: 18px;
  border-left: 3px solid var(--brand-green);
  border-radius: 8px;
  background: #f8fbfc;
}

.course-marketing-media-wrap {
  max-width: 760px;
  margin: 0 auto;
}

@media (prefers-reduced-motion: reduce) {
  .course-carousel-slide {
    transition: none;
  }
}

/* Responsive Design for Catalog Pages */
@media (max-width: 992px) {
  .catalog-hero h1,
  .bundle-hero h1,
  .course-hero h1 {
    font-size: 2.5rem;
  }
  
  .bundle-pricing-card,
  .course-pricing-card {
    position: static !important;
  }

  .course-hero-title {
    max-width: 100%;
  }

  .course-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .course-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .catalog-hero,
  .bundle-hero,
  .course-hero {
    padding: 60px 0 40px;
  }
  
  .catalog-hero h1,
  .bundle-hero h1,
  .course-hero h1 {
    font-size: 2rem;
  }
  
  .catalog-hero p {
    font-size: 1.1rem;
  }
  
  .catalog-bundle-img-wrapper,
  .catalog-course-img-wrapper {
    height: 180px;
  }
  
  .bundle-course-thumb {
    width: 60px;
    height: 60px;
  }
  
  .bundle-price-main,
  .course-price-main {
    font-size: 2rem;
  }

  .course-landing-hero {
    padding: 42px 0 34px;
  }

  .course-section-heading h2 {
    font-size: 1.6rem;
  }

  .course-feature-grid,
  .course-trust-grid {
    grid-template-columns: 1fr;
  }

  .course-feature-tile {
    min-height: 0;
  }
}

@media (max-width: 575.98px) {
  .catalog-hero h1,
  .bundle-hero h1,
  .course-hero h1 {
    font-size: 1.75rem;
  }
  
  .catalog-bundle-img-wrapper,
  .catalog-course-img-wrapper {
    height: 160px;
  }
  
  .bundle-course-item {
    padding: 12px;
  }
  
  .bundle-course-thumb {
    width: 50px;
    height: 50px;
  }
  
  .bundle-tier-card,
  .course-tier-card {
    padding: 12px;
  }
  
  .bundle-price-main,
  .course-price-main {
    font-size: 1.75rem;
  }
}

/* ========================================
   GLOBAL UTILITIES & PREMIUM STYLES
   ======================================== */

/* Premium Shadows */
.shadow-soft {
  box-shadow: 0 10px 40px -10px rgba(0,0,0,0.08) !important;
}

.shadow-hover {
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.shadow-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -14px rgba(0,0,0,0.12) !important;
}

/* Premium Gradients */
.bg-gradient-brand {
  background: linear-gradient(135deg, var(--brand-green) 0%, var(--brand-teal) 50%, var(--brand-blue) 100%);
}

.text-gradient {
  background: linear-gradient(135deg, var(--brand-green), var(--brand-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Soft Backgrounds */
.bg-soft-primary { background-color: rgba(77, 187, 230, 0.08); }
.bg-soft-success { background-color: rgba(37, 163, 111, 0.08); }
.bg-soft-info { background-color: rgba(47, 183, 156, 0.08); }

/* Card Refinements */
.card {
  border: none;
  border-radius: 16px;
  box-shadow: 0 4px 20px -4px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Button Refinements */
.btn {
  border-radius: 10px;
  padding: 0.6rem 1.4rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--brand-green);
  border-color: var(--brand-green);
  box-shadow: 0 4px 14px 0 rgba(37, 163, 111, 0.39);
}

.btn-primary:hover {
  background: #1e8a5b;
  border-color: #1e8a5b;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 163, 111, 0.23);
}

.btn-outline-primary {
  color: var(--brand-green);
  border-color: var(--brand-green);
}

.btn-outline-primary:hover {
  background: var(--brand-green);
  border-color: var(--brand-green);
  box-shadow: 0 4px 14px 0 rgba(37, 163, 111, 0.39);
}

.plan-cta-button {
  color: #fff;
  background: var(--brand-green);
  border-color: var(--brand-green);
  box-shadow: 0 4px 14px 0 rgba(37, 163, 111, 0.39);
}

.plan-cta-button:hover,
.plan-cta-button:focus {
  color: #fff;
  background: #0d6efd;
  border-color: #0d6efd;
  box-shadow: 0 6px 20px rgba(13, 110, 253, 0.24);
  transform: translateY(-1px);
}

/* Section Titles */
.section-title {
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1a1a1a;
  letter-spacing: -0.5px;
}

.section-subtitle {
  color: #6c757d;
  font-size: 1.1rem;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   RESOURCES PAGE STYLES
   ======================================== */

.resources-hero {
  background: linear-gradient(135deg, var(--brand-green) 0%, var(--brand-teal) 50%, var(--brand-blue) 100%);
  position: relative;
  overflow: hidden;
}

.resources-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 25% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.resources-hero .container {
  position: relative;
  z-index: 1;
}

.resources-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-green), var(--brand-teal));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.resources-icon {
  color: #fff;
}

.resources-main-content {
  color: #4a5568;
  line-height: 1.8;
  font-size: 1.05rem;
}

.resources-main-content h1,
.resources-main-content h2,
.resources-main-content h3 {
  color: #1a1a1a;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.resources-main-content p {
  margin-bottom: 1.25rem;
}

.resources-main-content ul,
.resources-main-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.resources-main-content li {
  margin-bottom: 0.75rem;
}

.resources-featured-panel {
  background: linear-gradient(135deg, rgba(37, 163, 111, 0.03), rgba(77, 187, 230, 0.03));
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.resources-card-image-wrapper {
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  height: 200px;
  background: #f8f9fa;
}

.resources-card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card:hover .resources-card-image-wrapper img {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .resources-hero h1 {
    font-size: 2rem;
  }
  
  .resources-hero .lead {
    font-size: 1.1rem;
  }
  
  .resources-featured-panel {
    padding: 2rem 1.5rem !important;
  }
}

/* Download App page */
.download-store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.download-store-badge {
  width: 178px;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.45rem 0.78rem;
  color: #fff;
  text-decoration: none;
  background: #050505;
  border: 1px solid #8b8b8b;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.download-store-badge:hover,
.download-store-badge:focus {
  color: #fff;
  border-color: #d7d7d7;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
  transform: translateY(-1px);
}

.download-store-mark {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.download-store-mark svg {
  width: 100%;
  height: 100%;
  display: block;
}

.download-store-mark-apple svg {
  width: 31px;
  height: 31px;
}

.download-store-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  white-space: nowrap;
}

.download-store-kicker {
  font-size: 0.69rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
}

.download-store-name {
  margin-top: 0.12rem;
  font-size: 1.44rem;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0;
}

.download-device-btn {
  min-height: 44px;
  padding-inline: 1.25rem;
}

.download-app-qr-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.download-app-qr-card {
  border-radius: 16px;
}

.download-app-qr {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.download-app-qr img,
.download-app-qr canvas {
  display: block;
  width: 180px;
  height: 180px;
}

@media (max-width: 575px) {
  .download-store-badges {
    align-items: stretch;
  }

  .download-store-badge,
  .download-device-btn {
    width: 100%;
  }

  .download-app-qr-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   COURSE LANDING PAGE — MODERN UI 2025
   Compositor-safe animations only (opacity + transform).
   Zero render-blocking overhead. prefers-reduced-motion guarded.
   ======================================== */

/* --- Entrance keyframes --- */
@keyframes cl-fadeUp {
  from { opacity:0; transform:translateY(28px); }
  to   { opacity:1; transform:translateY(0);    }
}
@keyframes cl-fadeRight {
  from { opacity:0; transform:translateX(-24px); }
  to   { opacity:1; transform:translateX(0);     }
}
@keyframes cl-fadeLeft {
  from { opacity:0; transform:translateX(24px); }
  to   { opacity:1; transform:translateX(0);    }
}
@keyframes cl-scaleIn {
  from { opacity:0; transform:scale(0.94); }
  to   { opacity:1; transform:scale(1);    }
}
@keyframes cl-shimmer {
  0%   { background-position:-200% center; }
  100% { background-position: 200% center; }
}
@keyframes cl-float {
  0%,100% { transform:translateY(0px); }
  50%      { transform:translateY(-10px); }
}
@keyframes cl-pulse-ring {
  0%  { box-shadow:0 0 0 0 rgba(37,163,111,.35); }
  70% { box-shadow:0 0 0 14px rgba(37,163,111,0); }
  100%{ box-shadow:0 0 0 0 rgba(37,163,111,0); }
}

/* Scroll-reveal helper — JS below sets .cl-visible */
.cl-reveal {
  opacity:0;
  transform:translateY(28px);
  transition: opacity .55s cubic-bezier(.22,1,.36,1),
              transform .55s cubic-bezier(.22,1,.36,1);
}
.cl-reveal.cl-visible { opacity:1; transform:translateY(0); }
.cl-reveal-d1 { transition-delay:.08s; }
.cl-reveal-d2 { transition-delay:.16s; }
.cl-reveal-d3 { transition-delay:.24s; }
.cl-reveal-d4 { transition-delay:.32s; }

/* ---- HERO ---- */
.course-landing-hero {
  background:#ffffff;
  position: relative;
  overflow: hidden;
  padding: 64px 0 52px;
  border-bottom: none;
}
.course-landing-hero::before,
.course-landing-hero::after {
  content:'';
  position:absolute;
  border-radius:50%;
  pointer-events:none;
  will-change:transform;
}
.course-landing-hero::before {
  content:none;
}
.course-landing-hero::after {
  content:none;
}

/* Above-fold entrance — no JS needed */
.course-landing-hero .col-lg-6:first-child {
  animation:cl-fadeRight .7s cubic-bezier(.22,1,.36,1) both;
}
.course-landing-hero .col-lg-6:last-child {
  animation:cl-fadeLeft .7s cubic-bezier(.22,1,.36,1) .12s both;
}
.course-hero-heading {
  position:relative;
  z-index:1;
  margin-bottom:2rem !important;
}

/* Eyebrow pill */
.course-eyebrow {
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:.84rem;
  font-weight:700;
  letter-spacing:.05em;
  text-transform:uppercase;
  color:#0f5f56;
  background:#ffffff;
  border:1px solid rgba(47,183,156,.28);
  border-radius:999px;
  padding:4px 14px;
  box-shadow:0 8px 22px rgba(15,48,65,.06);
}
.course-title-eyebrow {
  font-size:.96rem;
  font-weight:700;
  letter-spacing:0;
  text-transform:none;
  color:#164a63;
  max-width:720px;
  line-height:1.4;
  justify-content:center;
  text-align:center;
}
.course-hero-title {
  font-size:clamp(2.75rem,5vw,5rem);
  font-weight:900;
  letter-spacing:0;
  line-height:1.04;
  color:var(--course-ink);
  max-width:12ch;
  margin-bottom:1.45rem !important;
  overflow-wrap:normal;
  word-break:normal;
}
.course-hero-title span {
  display:inline;
}
.course-hero-subheading {
  color:#294a5c;
  font-size:1.12rem;
  line-height:1.55;
  max-width:560px;
  margin:0 0 1.15rem;
}
.course-hero-cta-wrap {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:8px;
  margin:0 0 1.2rem;
  max-width:560px;
}
.course-hero-cta-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  min-width:240px;
  padding:.85rem 1.65rem;
  font-size:1rem;
  line-height:1.2;
  text-decoration:none;
}
.course-hero-reassurance,
.course-hero-benefits {
  color:#466170;
  font-size:.88rem;
  line-height:1.45;
}
.course-hero-reassurance {
  font-weight:700;
  color:#244b3d;
}
.course-hero-benefits {
  color:#54707f;
}
.course-hero-summary {
  color:#466170;
  font-size:1.08rem;
  line-height:1.65;
}
.course-hero-meta {
  display:grid;
  gap:10px;
  max-width:600px;
  margin-top:.15rem;
}
.course-hero-meta-card {
  border-radius:8px;
  padding:10px 14px;
  border:1px solid transparent;
  box-shadow:0 8px 18px rgba(15,48,65,.05);
  backdrop-filter:blur(8px);
}
.course-hero-meta-label {
  display:block;
  font-size:.72rem;
  font-weight:700;
  color:rgba(16,32,51,.58);
  line-height:1.2;
  margin-bottom:3px;
}
.course-hero-meta-card strong {
  display:block;
  color:#102033;
  font-size:.88rem;
  line-height:1.35;
}
.course-hero-meta-card-exam {
  background:linear-gradient(135deg,rgba(120,80,24,.14),rgba(120,80,24,.07));
  border-color:rgba(120,80,24,.2);
}
.course-hero-meta-card-subject {
  background:linear-gradient(135deg,rgba(37,81,112,.14),rgba(77,187,230,.08));
  border-color:rgba(37,81,112,.2);
}
.course-hero-meta-card-level {
  background:linear-gradient(135deg,rgba(48,88,55,.96),rgba(43,78,50,.96));
  border-color:rgba(62,186,111,.68);
}
.course-hero-badges {
  animation:cl-fadeUp .5s ease .3s both;
}
.course-hero-badges .badge {
  border-radius:999px;
  padding:6px 14px;
  transition:transform .2s ease,box-shadow .2s ease;
}
.course-hero-badges .badge:hover {
  transform:translateY(-2px);
  box-shadow:0 4px 12px rgba(0,0,0,.15);
}

/* Carousel — elevated glass card */
.course-carousel {
  border-radius:22px;
  border:none;
  box-shadow:0 24px 64px rgba(15,48,65,.14),0 0 0 1px rgba(31,95,191,.12);
  overflow:hidden;
  transition:transform .35s ease,box-shadow .35s ease;
  animation:cl-scaleIn .65s cubic-bezier(.22,1,.36,1) .15s both;
}
.course-carousel:hover {
  transform:translateY(-5px) scale(1.006);
  box-shadow:0 36px 80px rgba(15,48,65,.18),0 0 0 2px rgba(31,95,191,.18);
}
.course-carousel-dots span {
  transition:width .3s ease,background .3s ease;
}

/* Back / Share buttons */
.course-landing-hero .btn-outline-light {
  background:rgba(255,255,255,.88);
  border-color:rgba(37,163,111,.22);
  color:#2d6a52;
  backdrop-filter:blur(6px);
  transition:background .2s ease,transform .2s ease,box-shadow .2s ease;
}
.course-landing-hero .btn-outline-light:hover {
  background:#fff;
  transform:translateY(-2px);
  box-shadow:0 4px 14px rgba(37,163,111,.15);
  border-color:rgba(37,163,111,.35);
}
.course-landing-hero .btn-primary {
  background:linear-gradient(135deg,var(--brand-green),var(--brand-teal));
  border:none;
  transition:transform .2s ease,box-shadow .2s ease;
}
.course-landing-hero .btn-primary:hover {
  transform:translateY(-2px);
  box-shadow:0 6px 20px rgba(37,163,111,.3);
}

/* ---- PLANS SECTION ---- */
.course-plans-section {
  background:#ffffff;
  position:relative;
  overflow:hidden;
}
.course-plans-section::before {
  content:'';
  position:absolute;
  inset:0;
  background-image:radial-gradient(rgba(31,95,191,.055) 1px, transparent 1px);
  background-size:28px 28px;
  pointer-events:none;
}

/* Section heading with gradient underline accent */
.course-section-heading h2 {
  font-size:2.1rem;
  font-weight:900;
  letter-spacing:-.02em;
  color:var(--course-ink);
  margin-bottom:.5rem;
  display:inline-block;
  position:relative;
}
.course-section-heading h2::after {
  content:'';
  display:block;
  height:4px;
  width:48px;
  border-radius:999px;
  background:linear-gradient(90deg,var(--brand-green),var(--brand-teal),var(--course-cobalt));
  margin:8px auto 0;
}
.course-section-heading p {
  color:#60717d;
  max-width:680px;
}
.course-plans-heading h2::after { margin-left:auto; margin-right:auto; }
.course-plans-heading h2 {
  color:#0f3f7b;
}
.course-feature-section .course-section-heading h2 {
  color:#0d6558;
}
.course-feature-section .course-section-heading h2::after {
  background:linear-gradient(90deg,var(--brand-teal),var(--brand-blue));
}
.course-trust-section .course-section-heading h2 {
  color:#194f38;
}
.course-trust-section .course-section-heading h2::after {
  background:linear-gradient(90deg,var(--brand-green),var(--course-coral));
}

/* Tier cards — glassmorphism + shimmer on hover */
.course-tier-card {
  border:1px solid rgba(31,95,191,.12);
  border-radius:20px;
  padding:24px;
  background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(247,244,238,.38));
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  box-shadow:0 4px 24px rgba(15,48,65,.07);
  transition:transform .3s cubic-bezier(.22,1,.36,1),
             box-shadow .3s ease,
             border-color .3s ease;
  position:relative;
  overflow:hidden;
}
.course-tier-card::before {
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(120deg,
    rgba(255,255,255,0) 30%,
    rgba(255,255,255,.55) 50%,
    rgba(255,255,255,0) 70%);
  background-size:200% 100%;
  opacity:0;
  pointer-events:none;
  transition:opacity .3s ease;
}
.course-tier-card:hover {
  transform:translateY(-10px) scale(1.014);
  box-shadow:0 28px 60px rgba(31,95,191,.12),0 0 0 2px rgba(47,183,156,.22);
  border-color:rgba(47,183,156,.3);
}
.course-tier-card:hover::before {
  opacity:1;
  animation:cl-shimmer .75s ease forwards;
}

.course-tier-name {
  font-size:1.15rem;
  font-weight:700;
  color:#123f78;
}
.course-tier-free-price strong {
  color:#1d9b6c;
  font-size:1.5rem;
  font-weight:800;
}
.course-tier-breakdown {
  font-size:.9rem;
  color:#506371;
  line-height:1.7;
}
.course-tier-features li {
  padding:7px 0 7px 26px;
  font-size:.93rem;
  color:#3a4f5e;
  border-bottom:1px solid rgba(0,0,0,.04);
}
.course-tier-features li:last-child { border-bottom:none; }

/* CTA — gradient + pulse ring on load */
.plan-cta-button {
  background:linear-gradient(135deg,#1f9f73 0%,#2fb79c 58%,#1f5fbf 100%);
  border:none;
  border-radius:12px;
  color:#fff;
  font-weight:700;
  padding:.72rem 1.25rem;
  box-shadow:0 4px 18px rgba(37,163,111,.28);
  transition:transform .22s ease,box-shadow .22s ease;
  animation:cl-pulse-ring 2.8s ease-out 2.5s 3;
}
.plan-cta-button:hover,
.plan-cta-button:focus {
  background:linear-gradient(135deg,#187e5d 0%,#279a87 55%,#184c98 100%);
  color:#fff;
  transform:translateY(-3px);
  box-shadow:0 12px 32px rgba(37,163,111,.34);
}

/* ---- FEATURE SECTION ---- */
.course-feature-section {
  background:#ffffff;
}
.course-feature-grid { gap:16px; }

.course-feature-tile {
  border-radius:18px;
  padding:24px;
  background:#ffffff;
  border:1px solid rgba(77,187,230,.16);
  box-shadow:0 4px 20px rgba(15,48,65,.06);
  transition:transform .3s cubic-bezier(.22,1,.36,1),
             box-shadow .3s ease,
             border-color .3s ease;
  position:relative;
  overflow:hidden;
}
.course-feature-tile::after {
  content:'';
  position:absolute;
  top:0; left:0; right:0;
  height:3px;
  border-radius:18px 18px 0 0;
  background:linear-gradient(90deg,var(--brand-teal),var(--brand-blue),var(--course-cobalt));
  opacity:0;
  transition:opacity .3s ease;
}
.course-feature-tile:hover {
  transform:translateY(-9px);
  box-shadow:0 22px 52px rgba(15,48,65,.12);
  border-color:rgba(77,187,230,.28);
}
.course-feature-tile:hover::after { opacity:1; }

.course-feature-icon {
  width:52px;
  height:52px;
  border-radius:14px;
  background:linear-gradient(135deg,rgba(223,246,237,.9),rgba(223,245,251,.95));
  color:#167c88;
  margin-bottom:16px;
  transition:transform .3s ease,background .3s ease;
}
.course-feature-tile:hover .course-feature-icon {
  transform:scale(1.14) rotate(-5deg);
  background:linear-gradient(135deg,rgba(37,163,111,.22),rgba(77,187,230,.3));
}
.course-feature-tile h3 {
  font-size:1.08rem;
  font-weight:700;
  color:#0d6558;
  margin-bottom:.45rem;
}
.course-feature-tile p {
  font-size:.96rem;
  color:#5a6e7a;
  line-height:1.6;
}

/* ---- TRUST SECTION ---- */
.course-trust-section { background:#ffffff; }
.course-trust-grid { gap:16px; }

.course-trust-grid article {
  padding:22px 20px;
  border-left:4px solid var(--course-coral);
  border-radius:0 16px 16px 0;
  background:linear-gradient(135deg,rgba(247,244,238,.72),rgba(223,246,237,.36),rgba(223,245,251,.32));
  box-shadow:0 2px 12px rgba(15,48,65,.05);
  transition:transform .3s cubic-bezier(.22,1,.36,1),
             box-shadow .3s ease,
             border-left-width .2s ease;
}
.course-trust-grid article:hover {
  transform:translateX(5px) translateY(-4px);
  box-shadow:0 14px 36px rgba(31,95,191,.1);
  border-left-width:6px;
}
.course-trust-grid h3 {
  font-size:1.05rem;
  font-weight:700;
  color:#194f38;
  margin-bottom:.45rem;
}
.course-trust-grid p {
  font-size:.95rem;
  color:#5a6e7a;
  line-height:1.6;
}

/* ---- ABOUT / INFO CARDS ---- */
.course-about-section .card.course-section-card {
  border:1px solid rgba(47,183,156,.13) !important;
  border-radius:20px;
  box-shadow:0 4px 20px rgba(15,48,65,.07);
  transition:transform .3s ease,box-shadow .3s ease;
}
.course-about-section .card.course-section-card:hover {
  transform:translateY(-5px);
  box-shadow:0 18px 44px rgba(15,48,65,.11);
}
.course-test-type-badge {
  border-radius:999px;
  background:rgba(77,187,230,.1);
  color:#2a7a9a;
  border:1px solid rgba(77,187,230,.25);
  font-weight:600;
  font-size:.82rem;
  padding:5px 14px;
  transition:transform .2s ease,background .2s ease;
}
.course-test-type-badge:hover {
  transform:scale(1.07);
  background:rgba(77,187,230,.18);
}
.course-highlights-list li {
  color:#3a4f5e;
  transition:color .2s ease,padding-left .2s ease;
}
.course-highlights-list li:hover {
  color:#164a63;
  padding-left:32px;
}

.course-faq-list {
  max-width: 860px;
}

.course-faq-item {
  padding: 22px 24px;
  border: 1px solid rgba(47, 183, 156, 0.14);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(15, 48, 65, 0.06);
}

.course-faq-item + .course-faq-item {
  margin-top: 14px;
}

.course-faq-item h3 {
  color: #102033;
  font-size: 1.12rem;
  font-weight: 750;
  letter-spacing: 0;
  margin-bottom: 0.6rem;
}

.course-faq-item p {
  color: #5f707b;
  font-size: 1.02rem;
  line-height: 1.6;
  margin: 0;
}

/* Marketing media card */
.course-marketing-media-card {
  border-radius:18px !important;
  border:none !important;
  box-shadow:0 8px 36px rgba(15,48,65,.1) !important;
  transition:box-shadow .3s ease;
}
.course-marketing-media-card:hover {
  box-shadow:0 22px 60px rgba(15,48,65,.16) !important;
}

/* Discount badge */
.course-tier-card .badge.bg-danger {
  border-radius:999px;
  font-size:.76rem;
  padding:4px 12px;
  font-weight:700;
  letter-spacing:.03em;
  animation:cl-scaleIn .4s ease both;
}

.course-tiers-has-focus {
  align-items: stretch;
}

.course-tier-focus-col,
.course-tier-secondary-col {
  display: flex;
}

.course-tier-focus-col .course-tier-card,
.course-tier-secondary-col .course-tier-card {
  width: 100%;
}

.course-tier-card-focused,
.bundle-tier-card-focused {
  border: 2px solid rgba(31, 95, 191, .34);
  background:
    linear-gradient(180deg, rgba(255,255,255,1), rgba(244,251,249,.94)),
    linear-gradient(135deg, rgba(47,183,156,.12), rgba(31,95,191,.12));
  box-shadow: 0 30px 70px rgba(31,95,191,.17), 0 0 0 6px rgba(47,183,156,.10);
  transform: translateY(-6px) scale(1.02);
  z-index: 2;
}

.course-tier-card-focused:hover,
.bundle-tier-card-focused:hover {
  border-color: rgba(31, 95, 191, .48);
  transform: translateY(-8px) scale(1.025);
  box-shadow: 0 34px 78px rgba(31,95,191,.20), 0 0 0 6px rgba(47,183,156,.13);
}

.course-tier-card-secondary,
.bundle-tier-card-secondary {
  opacity: .86;
  transform: scale(.96);
  box-shadow: 0 3px 16px rgba(15,48,65,.05);
}

.course-tier-card-secondary:hover,
.bundle-tier-card-secondary:hover {
  opacity: .96;
  transform: translateY(-4px) scale(.975);
}

.course-tier-popular-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-bottom: 14px;
  border-radius: 999px;
  padding: 6px 12px;
  background: linear-gradient(135deg, #123f78, #1f9f73);
  color: #fff;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(31,95,191,.18);
}

.course-tier-card-focused .course-tier-name,
.bundle-tier-card-focused .bundle-tier-name {
  color: #0d3f80;
  font-size: 1.25rem;
}

.course-tier-card-focused .plan-cta-button,
.bundle-tier-card-focused .plan-cta-button {
  padding-top: .82rem;
  padding-bottom: .82rem;
  box-shadow: 0 10px 28px rgba(37,163,111,.32);
}

@media (min-width: 1200px) {
  .course-tier-card-focused {
    padding: 30px;
  }

  .course-tier-card-secondary {
    padding: 20px;
  }

  .course-tier-card-secondary .course-tier-features li {
    font-size: .88rem;
  }
}

@media (max-width: 767.98px) {
  .course-tier-card-focused,
  .bundle-tier-card-focused,
  .course-tier-card-secondary,
  .bundle-tier-card-secondary {
    transform: none;
  }

  .course-tier-card-focused:hover,
  .bundle-tier-card-focused:hover,
  .course-tier-card-secondary:hover,
  .bundle-tier-card-secondary:hover {
    transform: translateY(-3px);
  }
}

/* ---- RESPONSIVE ---- */
@media (max-width:991.98px) {
  .course-landing-hero { padding:44px 0 36px; }
  .course-landing-hero .col-lg-6 { min-width:0; }
  .course-landing-hero .col-lg-6:first-child,
  .course-landing-hero .col-lg-6:last-child { animation-duration:.5s; animation-delay:0s; }
  .course-feature-grid,
  .course-trust-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:767.98px) {
  .course-hero-heading { margin-bottom:1.85rem !important; }
  .course-hero-title {
    font-size:clamp(2rem,8vw,2.65rem);
    line-height:1.08;
    max-width:100%;
    width:100%;
    margin-bottom:1.1rem !important;
  }
  .course-hero-title--split span { display:block; }
  .course-hero-subheading { font-size:1rem; max-width:100%; margin-bottom:1rem; }
  .course-hero-cta-wrap { align-items:stretch; max-width:100%; margin-bottom:1.15rem; }
  .course-hero-cta-button { width:100%; min-height:52px; min-width:0; padding:.9rem 1rem; }
  .course-hero-reassurance,
  .course-hero-benefits { font-size:.82rem; text-align:center; }
  .course-title-eyebrow { font-size:.86rem; width:100%; }
  .course-hero-meta { gap:10px; }
  .course-hero-meta-card { padding:9px 12px; border-radius:8px; }
  .course-hero-meta-card strong { font-size:.86rem; }
  .course-feature-grid,
  .course-trust-grid { grid-template-columns:1fr; }
  .course-feature-tile { min-height:0; }
  .course-trust-grid article:hover { transform:translateY(-4px); }
  .course-plans-section,.course-feature-section,.course-trust-section,.course-about-section,.course-faq-section { padding:40px 0; }
  .course-section-heading h2 { font-size:1.65rem; }
  .course-faq-item { padding:18px; }
}

/* Honour prefers-reduced-motion */
@media (prefers-reduced-motion:reduce) {
  .course-landing-hero::before,
  .course-landing-hero::after,
  .course-landing-hero .col-lg-6:first-child,
  .course-landing-hero .col-lg-6:last-child,
  .course-hero-badges,
  .course-carousel,
  .plan-cta-button,
  .cl-reveal { animation:none !important; transition:none !important; opacity:1 !important; transform:none !important; }
}

/* ========================================
   MATHEIN CORPORATE SITE
   ======================================== */

.mathein-site {
  color: #102236;
  background: #ffffff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.mathein-nav {
  background: linear-gradient(90deg, var(--brand-green) 0%, var(--brand-teal) 55%, var(--brand-blue) 100%);
  box-shadow: 0 8px 24px rgba(15, 34, 54, 0.12);
}

.mathein-nav .navbar-brand,
.mathein-nav .nav-link {
  color: #ffffff;
}

.mathein-nav .nav-link {
  font-weight: 650;
  letter-spacing: 0;
  opacity: 0.93;
}

.mathein-nav .nav-link:hover,
.mathein-nav .nav-link:focus {
  color: #ffffff;
  opacity: 1;
}

.mathein-nav .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.55);
}

.mathein-nav .navbar-toggler-icon {
  filter: invert(1);
}

.mathein-nav-logo {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 12px;
  background: #ffffff;
}

.mathein-brand-text {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0;
}

.mathein-footer {
  background: #f7fbfa;
}

.mathein-footer-logo {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 12px;
}

.footer-links li {
  margin-bottom: 0.45rem;
}

.footer-links a {
  color: #33566a;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--brand-green);
  text-decoration: underline;
}

.mathein-hero {
  padding: 5.25rem 0 4.5rem;
  background: linear-gradient(135deg, #149967 0%, #24aa91 52%, #45b8df 100%);
  color: #ffffff;
  overflow: hidden;
}

.mathein-hero .lead {
  color: rgba(255, 255, 255, 0.92);
  max-width: 760px;
}

.hero-image-panel {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 8px;
  padding: 0.75rem;
  box-shadow: 0 26px 70px rgba(15, 34, 54, 0.22);
  overflow: hidden;
}

.hero-image-panel img {
  border-radius: 8px;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.page-hero {
  padding: 4.5rem 0 3.5rem;
  background: linear-gradient(135deg, #ecfbf5 0%, #eef9fc 100%);
  border-bottom: 1px solid rgba(47, 183, 156, 0.16);
}

.page-hero .lead {
  max-width: 860px;
  color: #466170;
}

.section-kicker {
  color: #0d7358;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.mathein-hero .section-kicker,
.cta-panel .section-kicker {
  color: rgba(255, 255, 255, 0.86);
}

.mathein-card {
  background: #ffffff;
  border: 1px solid rgba(47, 183, 156, 0.17);
  border-radius: 8px;
  padding: 1.65rem;
  box-shadow: 0 12px 34px rgba(15, 34, 54, 0.07);
}

.mathein-card h2,
.mathein-card h3 {
  color: #102236;
}

.mathein-card p,
.mathein-card li {
  color: #526b78;
  line-height: 1.65;
}

.mathein-band {
  background: #f4fbf8;
  border-top: 1px solid rgba(47, 183, 156, 0.13);
  border-bottom: 1px solid rgba(47, 183, 156, 0.13);
}

.mini-panel {
  min-height: 68px;
  display: flex;
  align-items: center;
  padding: 1rem 1.1rem;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid rgba(77, 187, 230, 0.18);
  color: #24485b;
  font-weight: 700;
}

.cta-panel {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
  padding: 2rem;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, #10674f 0%, #239f86 55%, #2d9dc6 100%);
}

.cta-panel p {
  color: rgba(255, 255, 255, 0.9);
}

.check-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.check-list li {
  position: relative;
  padding-left: 1.55rem;
  margin-bottom: 0.75rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-green), var(--brand-blue));
}

.timeline-list {
  display: grid;
  gap: 0.9rem;
}

.timeline-list div {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid rgba(77, 187, 230, 0.18);
}

.timeline-list strong {
  color: #0d7358;
}

.timeline-list span {
  color: #526b78;
}

.legal-copy {
  max-width: 920px;
}

.legal-copy h2 {
  font-size: 1.35rem;
  margin-top: 2rem;
}

.legal-copy p {
  color: #526b78;
  line-height: 1.7;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-green), var(--brand-teal));
  border-color: transparent;
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(135deg, #18875d, #258f80);
  border-color: transparent;
}

@media (max-width: 991.98px) {
  .mathein-nav .navbar-collapse {
    padding-top: 1rem;
  }

  .mathein-nav .btn-light {
    width: fit-content;
    margin-top: 0.5rem;
  }
}

@media (max-width: 767.98px) {
  .mathein-hero,
  .page-hero {
    padding: 3.2rem 0 2.6rem;
  }

  .mathein-hero h1,
  .page-hero h1 {
    font-size: 2.2rem;
  }

  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .timeline-list div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}
