/* ---------- CLEAN: Banner + Form + Logo CSS (drop-in) ---------- */

/* Box-sizing & reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial; }

/* ---------- Banner ---------- */


/* Dark overlay so background image reads darker */
.banner-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55); /* adjust 0.4-0.7 to taste */
  z-index: 1;
}

/* ---------- Logo (TOP-LEFT) ---------- */
/* 250px x 150px as requested, positioned above overlay/content */
.banner-logo {
  position: absolute;
  left: 100px;        /* spacing from the left edge */
  width: 250px;
  height: 150px;
  object-fit: contain;
  z-index: 6;         /* above overlay and content */
  display: block;
}

/* responsive logo sizing */
@media (max-width: 768px) {
  .banner-logo { width: 180px; height: 110px; left: 20px; top: 14px; }
}
@media (max-width: 480px) {
  .banner-logo { width: 150px; height: 90px; left: 12px; top: 12px; }
}

/* ---------- Inner container & layout ---------- */
.banner-inner {
  position: relative;
  z-index: 2;                   /* content above overlay */
  max-width: 1300px;
  margin: 0 auto;
  height: 100%;
  padding: 28px;
  display: flex;
  gap: 36px;
  align-items: center;
  justify-content: space-between;
}

/* Left column (hero) */
.banner-left { flex: 1 1 60%; }
.banner-title { font-size: 42px; margin: 0 0 8px; line-height: 1.08; font-weight: 800; }
.banner-title span { color: #00a651; }
.banner-subtitle { margin: 8px 0 14px; font-size: 18px; opacity: 0.95; }
.banner-highlights { list-style: none; padding: 0; margin: 0; color: #eef6ee; }
.banner-highlights li { margin: 6px 0; font-size: 15px; }

/* Right column (form) */
.banner-right {
  flex: 0 0 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 320px;
}

/* ---------- Form Card (glass) ---------- */
.mdu-section {
  width: 100%;
  max-width: 440px;
  margin: 0;
  padding: 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 12px 30px rgba(2,6,23,0.45);
  position: relative;
  z-index: 100; /* above overlay */
}

/* small breathing room */
.mdu-section { margin-bottom: 6px; padding-bottom: 10px; }

/* form internals: vertical stacked fields */
.mdu-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: transparent;
  padding: 6px;
}
.mdu-title-h { color: #fff; margin: 0 0 6px; font-size: 18px; }

/* wrapper for each label+control to use :focus-within */
.field {
  display: block;
  width: 100%;
  position: relative;
}

/* label default and focused states */
.field > label {
  display: block;
  margin-bottom: 6px;
  color: #fff;               /* default white */
  font-weight: 600;
  font-size: 14px;
  transition: color 0.16s ease;
}
.field:focus-within > label { color: #000; } /* label becomes black when input/select inside focused */

/* ---------- Inputs, Selects, Textareas: uniform sizing ---------- */
.mdu-form input,
.mdu-form select,
.mdu-form textarea {
  width: 100%;
  padding: 10px 12px;
  height: 46px;               /* fixed height for uniformity */
  line-height: 1;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.30);
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: box-shadow 0.12s ease, border-color 0.12s ease;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  box-sizing: border-box;
}

/* placeholder style */
.mdu-form input::placeholder,
.mdu-form textarea::placeholder { color: rgba(255,255,255,0.75); }

/* focus styling on controls */
.mdu-form input:focus,
.mdu-form select:focus,
.mdu-form textarea:focus {
  border-color: rgba(255,255,255,0.48);
  box-shadow: 0 6px 18px rgba(0,0,0,0.35) inset;
  background: rgba(255,255,255,0.14);
}

/* keep selects visually consistent; allow popup to escape */
.mdu-form select { background: rgba(255,255,255,0.10); color: #fff; padding-right: 38px; }
.mdu-form select:focus { position: relative; z-index: 9999; }

/* attempt to style options (some browsers ignore) */
.mdu-form option { background: rgba(17,17,17,0.92); color: #fff; }

/* optional arrow indicator on field wrapper (works visually) */
.field::after {
  content: "";
  pointer-events: none;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  /* we'll not display a glyph for input fields; display only for selects via CSS below */
  display: none;
}
/* show the arrow for selects only */

.field select:focus ~ * { display: none; } /* keep simple */
/* fallback: add visual arrow using pseudo-element only when a select is present */
.field select + .dummy { display: none; } /* harmless fallback */

/* ---------- Button & message ---------- */
.mdu-btn {
  width: 100%;
  padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #00a651, #028a47);
  color: #fff;
  border: none;
  font-weight: 700;
  cursor: pointer;
  height: 48px;
}
.mdu-msg { font-size: 13px; font-weight: 600; margin-top: 4px; color: #cfead0; }

/* ---------- Select clipping mitigation ---------- */
/* ensure dropdowns render above overlay/other contexts */
.mdu-form select:focus { z-index: 9999; position: relative; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .banner-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 3px;
    height: auto;
    min-height: 60vh;
  }
  .banner-right { width: 100%; order: 2; }
  .banner-left { width: 100%; order: 1; }
  .banner-section { height: auto; padding-bottom: 28px; }
  .mdu-section { max-width: 100%; width: 100%; }
  .banner-logo { position: absolute; margin-bottom: 12px;margin-top: 10px; }
}

@media (max-width: 480px) {
  .banner-title { font-size: 28px;margin-bottom:15px }
  .banner-subtitle { font-size: 15px; }
  .mdu-form input, .mdu-form select, .mdu-form textarea { font-size: 13px; padding: 9px; height: 44px; }
  .banner-inner { padding: 14px; }
  .banner-logo { width: 150px; height: 90px; left: 12px; top: 12px; }
}

/* very small phone adjustments */
@media (max-width: 360px) {
  .mdu-form { gap: 8px; padding: 6px; }
  .mdu-btn { height: 44px; }
}
/* ========== ABOUT MDU SECTION CSS ========== */
/* ========== UNIQUE ABOUT MDU SECTION (HTML above) ========== */
/* Theme variables */
:root {
    --primary: #00a651;
    --accent-dark: #03516B;
    --panel-bg: rgba(255,255,255,0.96);
    --muted: #444;
    --glass: rgba(255,255,255,0.85);
  }
  
  /* SECTION LAYOUT */
  .mdu-unique {
    background: #fff;
    padding: 50px 0px;
    overflow: visible;
  }
  .mdu-unique-inner {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 520px;
    gap: 34px;
    align-items: center;
  }
  
  /* LEFT VISUAL - organic blob Mask + floating cards */
  .mdu-visual-block {
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* blob background: a circular/organic mask for the image */
  .blob-bg {
    width: 100%;
    max-width: 740px;
    aspect-ratio: 1.8 / 1;
    border-radius: 30% 70% 60% 40% / 40% 30% 70% 60%;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(2,6,23,0.08);
    transform: rotate(-3deg);
    animation: blobSlow 10s ease-in-out infinite;
    border: 1px solid rgba(0,0,0,0.04);
  }
  .blob-bg img {
    width: 110%;
    height: 110%;
    object-fit: cover;
    transform: translate(-6%, -6%) scale(1.06);
    display: block;
    transition: transform .6s ease;
  }
  .blob-bg:hover img { transform: translate(0,0) scale(1); }
  
  /* floating cards */
  .floating-cards { position: absolute; inset: auto 0 0 8%; pointer-events: none; }
  .float-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(250,250,250,0.95));
    border-radius: 12px;
    padding: 10px 14px;
    width: 220px;
    box-shadow: 0 10px 32px rgba(2,6,23,0.08);
    border: 1px solid rgba(0,0,0,0.06);
    font-weight:700;
    color: var(--muted);
    transform-origin: center;
    pointer-events: auto;
  }
  /* positions + animations */
  .card-a { transform: translateY(-28px) rotate(-3deg); animation: floatA 6s ease-in-out infinite; margin-bottom: 12px; }
  .card-b { transform: translateY(10px) rotate(1deg); animation: floatB 7s ease-in-out infinite; margin-left: 36px; }
  .card-c { transform: translateY(48px) rotate(-2deg); animation: floatC 8s ease-in-out infinite; margin-left: 130px; }
  
  @keyframes floatA {
    0% { transform: translateY(-28px) rotate(-3deg); }
    50% { transform: translateY(-14px) rotate(-1deg); }
    100% { transform: translateY(-28px) rotate(-3deg); }
  }
  @keyframes floatB {
    0% { transform: translateY(10px) rotate(1deg); }
    50% { transform: translateY(2px) rotate(0deg); }
    100% { transform: translateY(10px) rotate(1deg); }
  }
  @keyframes floatC {
    0% { transform: translateY(48px) rotate(-2deg); }
    50% { transform: translateY(36px) rotate(0deg); }
    100% { transform: translateY(48px) rotate(-2deg); }
  }
  @keyframes blobSlow {
    0% { border-radius: 30% 70% 60% 40% / 40% 30% 70% 60%; transform: rotate(-3deg) scale(1); }
    50% { border-radius: 40% 60% 40% 60% / 50% 40% 60% 50%; transform: rotate(1deg) scale(1.02); }
    100% { border-radius: 30% 70% 60% 40% / 40% 30% 70% 60%; transform: rotate(-3deg) scale(1); }
  }
  
  /* RIGHT CONTENT PANEL */
  .mdu-content-block { display:flex; align-items:center; justify-content:center; }
  .mdu-content-panel {
    width:100%;
    background: var(--panel-bg);
    border-radius: 14px;
    padding: 26px;
    box-shadow: 0 18px 48px rgba(2,6,23,0.06);
    border: 1px solid rgba(0,0,0,0.04);
    transform: translateY(0);
    animation: panelIn .7s ease both;
  }
  
  /* subtle staggered reveal for inner elements */
  .mdu-title {
    font-size: 22px;
    margin: 0 0 10px;
    color: #1b2b2b;
    font-weight: 800;
    opacity: 0;
    transform: translateY(6px);
    animation: reveal .5s ease .05s both;
  }
  .mdu-title .accent { color: var(--primary); }
  
  .mdu-intro {
    color: #333;
    margin: 8px 0 14px;
    line-height:1.5;
    opacity: 0;
    transform: translateY(6px);
    animation: reveal .5s ease .15s both;
  }
  
  .mdu-bullets {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    display: grid;
    gap: 10px;
  }
  .mdu-bullets li{
    color:#2c3a3a;
    font-weight:600;
    display:flex;
    gap:12px;
    align-items:center;
    opacity: 0;
    transform: translateY(6px);
    animation: reveal .5s ease .22s both;
  }
  .mdu-bullets li .dot {
    width:10px; height:10px; border-radius:50%; background: var(--primary); display:inline-block;
  }
  
  /* stats row */
  .mdu-stats-row {
    display:flex;
    gap:12px;
    margin-top:8px;
    opacity:0;
    transform: translateY(6px);
    animation: reveal .5s ease .36s both;
  }
  .stat {
    flex:1 1 0;
    background: linear-gradient(180deg, #fff, #fcfcfc);
    border-radius:10px;
    padding:10px;
    text-align:center;
    border: 1px solid rgba(0,0,0,0.04);
  }
  .stat-num { font-size:20px; font-weight:900; color:var(--primary); transform-origin:center; animation: pop .9s ease .5s both; }
  .stat-label { font-size:13px; color:#666; margin-top:6px; }
  
  /* CTA row */
  .mdu-cta-row { margin-top:18px; display:flex; gap:12px; align-items:center; opacity:0; transform: translateY(8px); animation: reveal .5s ease .48s both; }
  .cta-apply {
    background: linear-gradient(90deg,var(--primary),#028a47);
    color:#fff;
    padding:10px 16px;
    border-radius:999px;
    text-decoration:none;
    font-weight:800;
  }
  .cta-more {
    background:transparent;
    color:var(--primary);
    border:1px solid rgba(0,0,0,0.06);
    padding:8px 14px;
    border-radius:999px;
    text-decoration:none;
    font-weight:700;
  }
  
  /* animations */
  @keyframes reveal {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @keyframes panelIn {
    from { opacity: 0; transform: translateY(12px) scale(.995);}
    to   { opacity: 1; transform: translateY(0) scale(1);}
  }
  @keyframes pop {
    0% { transform: scale(.6); opacity:0; }
    60% { transform: scale(1.08); opacity:1; }
    100% { transform: scale(1); opacity:1; }
  }
  
  /* responsiveness */
 /* ======= MOBILE PATCH FOR .mdu-unique (place after your existing CSS) ======= */
/* Purpose: stop horizontal overflow, make blob image responsive, move floating cards below image,
   make cards horizontally scrollable (local) and ensure stats/cta wrap cleanly. */

@media (max-width: 1000px) {
    /* ensure the inner grid stacks cleanly and doesn't create overflow */
    .mdu-unique-inner {
      grid-template-columns: 1fr !important;
      gap: 20px !important;
      padding: 0 12px !important;
      box-sizing: border-box;
      width: 100%;
      margin-left: auto;
      margin-right: auto;
    }
  
    /* Visual block becomes normal flow (no absolute children forcing overflow) */
    .mdu-visual-block {
      position: relative !important;
      min-height: auto !important;
      display: block !important;
      align-items: initial;
      justify-content: initial;
      width: 100%;
    }
  
    /* Make blob fully responsive — image fills container but won't overflow */
    .blob-bg {
      width: 100% !important;
      max-width: 100% !important;
      aspect-ratio: auto !important;
      height: auto !important;
      border-radius: 14px !important;
      transform: none !important;
      overflow: hidden !important;
    }
    .blob-bg img {
      width: 100% !important;
      height: auto !important;
      max-width: 100% !important;
      object-fit: cover !important;
      transform: none !important;
      display: block !important;
      margin: 0 !important;
    }
  
    /* Floating cards: remove absolute positioning and let them sit under the image
       as a horizontally scrollable strip (local scroll only) */
    .floating-cards {
      position: static !important;
      display: flex !important;
      gap: 12px !important;
      margin: 12px 0 0 0 !important;
      justify-content: flex-start !important;
      align-items: flex-start !important;
      overflow-x: auto !important;
      -webkit-overflow-scrolling: touch !important;
      padding-bottom: 8px !important;
      pointer-events: auto !important;
      z-index: 3 !important;
    }
    .floating-cards::-webkit-scrollbar { height: 8px; }
    .floating-cards::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.06); border-radius: 6px; }
  
    /* float-card sizing adjusted for mobile */
    .float-card {
      min-width: 200px !important;
      max-width: 78% !important;
      width: auto !important;
      padding: 10px !important;
      font-size: 13px !important;
      box-shadow: 0 8px 20px rgba(2,6,23,0.04) !important;
      border: 1px solid rgba(0,0,0,0.04) !important;
      transform: none !important;
      margin: 0 !important;
    }
  
    /* remove large left margins that previously pushed content sideways */
    .card-a, .card-b, .card-c {
      margin-left: 0 !important;
      margin-bottom: 0 !important;
      transform: none !important;
      animation: none !important; /* optional: stop float animation for compactness */
    }
  
    /* Content panel padding reduced for mobile */
    .mdu-content-panel {
      padding: 16px !important;
      width: 100% !important;
      box-sizing: border-box;
    }
  
    /* Stats row -> responsive 2-column grid to avoid overflow */
    .mdu-stats-row {
      display: grid !important;
      grid-template-columns: repeat(2, 1fr) !important;
      gap: 10px !important;
      margin-top: 12px !important;
      width: 100% !important;
    }
    .stat {
      width: 100% !important;
      box-sizing: border-box !important;
    }
  
    /* CTA buttons should stack & be full width on small screens */
    .mdu-cta-row {
      display: flex !important;
      gap: 10px !important;
      flex-direction: column !important;
      align-items: stretch !important;
      margin-top: 14px !important;
      width: 100% !important;
    }
    .cta-apply, .cta-more {
      width: 100% !important;
      display: inline-block !important;
      text-align: center !important;
      padding: 12px 14px !important;
      border-radius: 10px !important;
    }
  
    /* bullets: comfortable left padding and line-height */
    .mdu-bullets { padding-left: 12px !important; gap: 10px !important; }
    .mdu-bullets li { line-height: 1.35 !important; }
  
    /* ensure no mobile element causes horizontal page overflow */
    .mdu-unique, .mdu-unique-inner, .mdu-visual-block, .blob-bg, .floating-cards, .mdu-content-block, .mdu-content-panel {
      max-width: 100% !important;
      overflow-x: hidden !important;
    }
  }
  
  /* small-phones fine-tuning */
  @media (max-width: 420px) {
    .float-card { min-width: 120px !important; max-width: 85% !important; font-size: 12px !important; }
    .mdu-bullets li { font-size: 14px !important; }
    .mdu-title { font-size: 20px !important; }
    .mdu-intro { font-size: 14px !important; }
  }
  
  :root{
    --primary:#00a651;
    --dark:#0A1121;
    --muted:#667085;
    --card:#ffffff;
    --glass: rgba(255,255,255,0.9);
    --shadow: 0 18px 40px rgba(6,18,40,0.06);
    --ease: cubic-bezier(.2,.9,.3,1);
    --radius:12px;
    --accent-grad: linear-gradient(90deg,var(--primary),#028a47);
  }
  
  /* section base */
  .courses-section { background: #f9fbfb; padding: 48px 18px; color: var(--dark); }
  .courses-section .wrap { max-width: 1300px; margin: 0 auto; }
  
  /* header */
  .courses-head { display:flex; gap:20px; align-items:center; justify-content:space-between; margin-bottom: 22px; flex-wrap:wrap; }
  .section-title { font-size: 28px; margin: 0 0 6px; font-weight: 800; color: var(--dark); }
  .section-sub { margin:0; color:var(--muted); }
  
  /* controls */
  .courses-controls { display:flex; gap:12px; align-items:center; margin-left:auto; }
  .search-input {
    min-width: 260px;
    max-width: 420px;
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid #e6eef0;
    background: #fff;
    box-shadow: 0 4px 18px rgba(2,6,23,0.04);
  }
  .chips { display:flex; gap:8px; align-items:center; margin-left:6px; }
  .chip {
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(10,17,33,0.06);
    background: #fff;
    cursor: pointer;
    font-weight:700;
    color:var(--dark);
    transition: transform .18s var(--ease), box-shadow .18s var(--ease);
  }
  .chip.active, .chip:focus, .chip:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: rgba(0,0,0,0.08);
    outline: none;
  }
  
  /* grid */
  .dept-grid {
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 18px;
  }
  
  /* tile style (unique skewed card with layered accent) */
  .dept-tile {
    position:relative;
    padding: 22px;
    border-radius: var(--radius);
    background: linear-gradient(180deg,#fff, #fbfcfd);
    box-shadow: var(--shadow);
    border: 1px solid rgba(10,17,33,0.04);
    overflow: visible;
    cursor: pointer;
    transform-origin: center;
    transition: transform .26s var(--ease), box-shadow .26s var(--ease);
    min-height: 120px;
    display:flex;
    gap:14px;
    align-items:flex-start;
  }
  .dept-tile:focus, .dept-tile:hover { transform: translateY(-8px) scale(1.01); box-shadow: 0 30px 60px rgba(6,18,40,0.08); outline:none; }
  
  /* left accent stripe */
  .dept-tile::before {
    content:'';
    position:absolute;
    left:-32px;
    top:18px;
    width:90px;
    height:120%;
    transform: rotate(-14deg);
    background: var(--accent-grad);
    border-radius:14px;
    filter: blur(0);
    opacity: .95;
    z-index:0;
  }
  /* tile content sits above accent */
  .dept-tile > .tile-content { position: relative; z-index:2; width:100%; }
  
  /* tile header */
  .dept-name { font-weight:800; font-size:16px; margin:0 0 6px; color:var(--dark); }
  .dept-meta { font-size:13px; color:var(--muted); margin:0; }
  
  /* level badge & counts */
  .dept-tags { margin-top:10px; display:flex; gap:8px; flex-wrap:wrap; }
  .dept-tag { padding:6px 8px; border-radius:8px; border:1px dashed rgba(10,17,33,0.06); font-size:12px; color:#0f1720; background:#fff; font-weight:700; }
  
  /* small course hint */
  .small-hint { margin-top:10px; font-size:13px; color:#4b5563; }
  
  /* empty / no match */
  .no-result { text-align:center; padding:40px; color:#667085; }
  /* ===========================
   RESPONSIVE FIX FOR COURSES CONTROLS
   =========================== */

/* Base responsive behavior */
.courses-controls {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;              /* WRAP to avoid horizontal overflow */
    width: 100%;
    box-sizing: border-box;
  }
  
  /* Search bar should expand but shrink on small screens */
  .search-input {
    flex: 1 1 320px;              /* flexible width */
    min-width: 160px;             /* prevents collapsing too much */
    max-width: 100%;
    box-sizing: border-box;
  }
  
  /* Chips container — also wraps */
  .chips {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;              /* wrap chips */
  }
  
  /* Individual chips */
  .chip {
    padding: 8px 14px;
    white-space: nowrap;
    border-radius: 30px;
    border: 1px solid rgba(0,0,0,0.08);
    background: #fff;
    font-weight: 600;
    flex: 0 0 auto;               /* do NOT stretch */
  }
  
  /* Active chip */
  .chip.active {
    background: linear-gradient(90deg, var(--primary), #028a47);
    color: #fff;
    border-color: transparent;
  }
  
  /* Tablet breakpoint */
  @media (max-width: 1100px) {
    .courses-controls {
      gap: 10px;
      margin-top: 12px;
    }
  }
  
  /* Mobile (primary fix) */
  @media (max-width: 640px) {
  
    /* Search bar on top, full width */
    .search-input {
      order: 1;
      flex: 1 1 100%;
    }
  
    /* Chips come below search bar */
    .chips {
      order: 2;
      width: 100%;
      gap: 8px;
      justify-content: flex-start;
    }
  
    .chip {
      padding: 8px 12px;
      font-size: 14px;
    }
  }
  
  /* Extra small phones */
  @media (max-width: 420px) {
    .chip {
      padding: 7px 10px;
      font-size: 13px;
    }
  }
  
  /* responsive */
  @media (max-width: 1100px) { .dept-grid { grid-template-columns: repeat(2,1fr); } .courses-controls{ width:100%; margin-top:12px; } }
  @media (max-width: 640px) { .dept-grid { grid-template-columns: 1fr; } .courses-head{ align-items:flex-start; } .search-input{ width:100%; } }
  
  /* ================= SLIDE-OVER PANEL ================== */
  .dept-panel {
    position: fixed;
    right: 0;
    top: 0;
    height: 100vh;
    width: min(720px, 92vw);
    box-shadow: -30px 0 60px rgba(6,18,40,0.12);
    background: #fff;
    transform: translateX(110%);
    transition: transform .42s cubic-bezier(.2,.9,.3,1);
    z-index: 9999;
    display:flex;
    flex-direction:column;
  }
  .dept-panel[aria-hidden="false"] { transform: translateX(0); }
  .dept-panel-inner {
    padding: 28px;
    overflow:auto;
  }
  
  /* close button */
  .panel-close {
    position:absolute;
    left: 12px;
    top: 12px;
    width:40px;
    height:40px;
    border-radius:8px;
    border: none;
    background: transparent;
    font-size:26px;
    color: #222;
    cursor: pointer;
  }
  
  /* title/sub */
  .dept-panel-title { margin: 8px 0 4px; font-size:20px; font-weight:900; color:var(--dark); }
  .dept-panel-sub { margin:0 0 14px; color:var(--muted); }
  
  /* course groups */
  .dept-courses { display:flex; flex-direction:column; gap:14px; }
  .course-group { border-radius:10px; padding:14px; background:#fbfbfd; border:1px solid #f0f4f6; }
  .course-group h4 { margin:0 0 8px; font-size:14px; color:#0b1220; font-weight:800; }
  .course-list { display:grid; grid-template-columns:repeat(1,1fr); gap:8px; margin:0; padding:0; list-style:none; }
  .course-item { padding:10px; border-radius:8px; background:#fff; border:1px solid #f1f5f8; display:flex; justify-content:space-between; gap:8px; align-items:center; }
  .course-item button { background: var(--primary); color:#fff; border:none; padding:8px 10px; border-radius:8px; cursor:pointer; font-weight:700; }
  
  /* panel actions */
  .dept-panel-actions { display:flex; gap:12px; margin-top:16px; align-items:center; }
  .btn-apply { background: var(--accent-grad); color:#fff; padding:10px 14px; border-radius:999px; text-decoration:none; font-weight:800; }
  .btn-outline { background: transparent; border:1px solid #e6eef0; padding:8px 12px; border-radius:12px; cursor:pointer; }
  
  /* small screens */
  @media (max-width: 640px) {
    .dept-panel { width: 100vw; }
    .panel-close { left: 8px; top: 8px; }
  }
  :root{
    --pf-grad: linear-gradient(45deg,#0A1121,#03516B);
    --pf-green: #00a651;
    --pf-muted: #6b7280;
    --pf-card: rgba(255,255,255,0.98);
    --pf-radius: 16px;
    --pf-shadow: 0 20px 45px rgba(3,8,12,0.06);
  }
  
  /* SECTION BACKGROUND: use your linear gradient as full-section backdrop with light inner card area */
  .placements-feature{
    background: var(--pf-grad);
    padding: 48px 12px 60px;
    color: #fff;
  }
  
  /* inner container uses a soft white panel in center for contrast and breathing */
  .pf-inner{
    max-width: 1250px;
    margin: 0 auto;
    background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,255,255,0.94));
    border-radius: 18px;
    padding: 34px;
    box-shadow: 0 22px 60px rgba(2,6,12,0.18);
    color: #0a1220;
  }
  
  /* centered section heading */
  .pf-heading { text-align:center; margin-bottom: 24px; }
  .pf-heading h2 { margin:0; font-size:34px; font-weight:900; color:var(--pf-green); }
  .pf-heading .pf-sub { margin:6px auto 0; max-width:880px; color:#143033; font-weight:700; }
  
  /* rows */
  .pf-row { display:flex; gap:22px; align-items:flex-start; margin-bottom:18px; flex-wrap:wrap; }
  
  /* TOP: overview + stats */
  .pf-top { align-items:stretch; }
  .pf-overview { flex:1 1 64%; background: transparent; padding: 6px 0 0; }
  .pf-title { margin:0 0 8px; font-size:22px; color:var(--pf-green); font-weight:900; }
  .pf-lead { margin:0 0 14px; color:#0b3340; font-weight:700; font-size:15px; }
  
  /* features grid: larger cards */
  .pf-features { display:grid; grid-template-columns: repeat(2, 1fr); gap:14px; margin-top:6px; }
  .pf-feature {
    background: #fff;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(3,8,12,0.06);
    border: 1px solid rgba(0,0,0,0.04);
  }
  .pf-feature-title { font-weight:900; color:#0b3340; font-size:15px; }
  .pf-feature-sub { color:var(--pf-muted); font-size:13px; margin-top:6px; font-weight:600; }
  
  /* STATS: larger, spaced vertically */
  .pf-stats {
    flex: 0 0 360px;
    background: transparent;
    display:grid;
    grid-template-columns: repeat(2,1fr);
    gap:12px;
  }
  .pf-stat {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    text-align:center;
    box-shadow: 0 12px 30px rgba(3,8,12,0.06);
    border: 1px solid rgba(0,0,0,0.04);
  }
  .pf-stat-ico { font-size:22px; color:var(--pf-green); margin-bottom:6px; }
  .pf-stat-num { font-size:20px; font-weight:900; color:var(--pf-green); }
  .pf-stat-label { color:var(--pf-muted); font-weight:800; font-size:13px; }
  
  /* MIDDLE: journey + logos */
  .pf-middle { align-items:flex-start; }
  .pf-journey { flex:1 1 64%; background: transparent; padding-right:6px; }
  .journey-title { font-size:18px; font-weight:900; color:#0b3340; margin-bottom:12px; }
  .journey-grid { display:grid; grid-template-columns: repeat(2,1fr); gap:12px; }
  .journey-step {
    background:#fff;
    border-radius:12px;
    padding:12px;
    display:flex;
    gap:12px;
    align-items:flex-start;
    box-shadow: 0 10px 28px rgba(3,8,12,0.06);
    border:1px solid rgba(0,0,0,0.04);
  }
  .journey-step-num {
    width:46px; height:46px; border-radius:10px; background:var(--pf-green); color:#fff; font-weight:900; display:flex; align-items:center; justify-content:center; font-size:18px;
  }
  .journey-step-body h5 { margin:0 0 6px; font-size:15px; color:#0b3340; font-weight:900; }
  .journey-step-body p { margin:0; color:var(--pf-muted); font-weight:700; font-size:13px; }
  
  /* LOGOS */
  /* LOGO WRAPPER — ensures logos NEVER overflow screen */
  .pf-logos {
    flex: 0 0 360px;
    background: transparent;
    padding: 8px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
  
    width: 100%;
    overflow: hidden;        /* 🔥 Prevents overflow */
    position: relative;
  }
  
  /* LOGO TRACK — scrolls but stays inside wrapper */
  .pf-logos-track {
    display: flex;
    gap: 14px;
    align-items: center;
  
    /* 🔥 Critical fix — no extra width beyond container */
    width: max-content;
  
    overflow: hidden;
    animation: pfSlide 8s linear infinite;
    white-space: nowrap;
  }
  
  /* LOGO IMAGES */
  .pf-logos-track img {
    width: 110px;
    height: 110px;
    object-fit: contain;
    background: #fff;
    padding: 10px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(3,8,12,0.06);
    transition: transform .22s;
  }
  
  .pf-logos-track img:hover {
    transform: translateY(-8px);
  }
  
  /* Animation — stays inside container safely */
  @keyframes pfSlide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }  /* smooth loop without overflow */
  }
  
  /* Mobile Responsive Fix */
  @media (max-width: 1100px) {
    .pf-logos {
      overflow: hidden;         /* ensure no horizontal scroll */
    }
    .pf-logos-track img {
      width: 86px;
      height: 86px;
    }
  }
  
  
  /* CTA row */
  .pf-cta { display:flex; gap:14px; justify-content:center; margin-top:10px; }
  .pf-apply { background:var(--pf-green); color:#fff; padding:10px 20px; border-radius:999px; font-weight:900; text-decoration:none; box-shadow: 0 12px 30px rgba(0,166,81,0.12); }
  .pf-report { background: transparent; border:1px solid rgba(0,0,0,0.06); color:#153233; padding:10px 18px; border-radius:10px; font-weight:800; text-decoration:none; }
  
  /* reveal baseline */
  [data-reveal] { opacity:0; transform: translateY(20px); transition: all .6s cubic-bezier(.2,.9,.3,1); }
  [data-reveal].inview { opacity:1; transform:none; }
  
  /* logos animation */
  @keyframes pfSlide { 0% { transform: translateX(0); } 100% { transform: translateX(-45%); } }
  
  /* responsive */
  @media (max-width: 1100px) {
    .pf-inner { padding:22px; }
    .pf-row { gap:14px; }
    .journey-grid { grid-template-columns: 1fr; }
    .pf-features { grid-template-columns: 1fr; }
    .pf-logos-track img { width:86px; height:86px; }
    .pf-stats { grid-template-columns: repeat(2,1fr); gap:10px; width:100%; }
  }
  @media (max-width: 640px) {
    .placements-feature { padding: 30px 8px 40px; }
    .pf-inner { padding:16px; }
    .pf-heading h2 { font-size:22px; }
    .pf-overview, .pf-journey { width:100%; }
    .pf-logos { order: 3; width:100%; }
    .pf-stats { order:2; width:100%;max-width: 99%; grid-template-columns: repeat(2,1fr); }
  }
  .my-stats-section {
    max-width: 1350px;
    margin: 10px auto;
    text-align: center;
    padding: 10px 20px;
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
}

.my-stats-title {
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 50px;
    line-height: 1.4;
}

.my-stats-title strong {
    font-weight: 700;
}

.my-highlight {
    font-weight: 300;
    font-style: italic;
}

.my-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    justify-items: center;
}

.my-stat-item {
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.my-stat-number {
    font-size: 38px;
    font-weight: 700;
    color: #00a651;
}

.my-stat-number::after {
    content: "+";
}

.my-stat-label {
    font-size: 14px;
    font-weight: 700;
    margin: 8px 0;
    color: #000;
}

.my-stat-line {
    display: block;
    width: 30px;
    height: 2px;
    background: #000;
    margin: 8px auto;
}

.my-stat-desc {
    font-size: 14px;
    color: #333;
    max-width: 200px;
    margin: 0 auto;
}

/* Slide Animations */
.left-slide.animate {
    transform: translateX(0);
    opacity: 1;
}

.right-slide.animate {
    transform: translateX(0);
    opacity: 1;
}

.top-slide.animate {
    transform: translateY(0);
    opacity: 1;
}

.left-slide {
    transform: translateX(-100px);
}

.right-slide {
    transform: translateX(100px);
}

.top-slide {
    transform: translateY(-100px);
}

/* Responsive */
@media (max-width: 768px) {
    .my-stats-title {
        font-size: 24px;
    }

    .my-stat-number {
        font-size: 28px;
    }
}
.section-title-3 h2{
  text-align: center;
}
.rankings-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: auto;
}

.ranking-card {
    border: 1px solid #ddd;
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 150px; /* keep height consistent */
}

.ranking-card img {
    max-height: 120px;
    max-width: 100%;
    object-fit: contain;
}

.ranking-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}  
/* root tokens (use site theme) */
#campus-alumni-merged { --accent:#00a651; --dark1:#0A1121; --grad: linear-gradient(45deg,#0A1121,#03516B); }

/* layout */
#campus-alumni-merged { background: var(--grad); padding: 46px 18px; color: #fff; overflow: visible; }
#campus-alumni-merged .cam-wrap { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1.25fr 0.85fr; gap: 26px; align-items:start; }

/* LEFT — campus mosaic */
.cam-left .cam-hero { background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02)); border-radius: 14px; padding: 14px; box-shadow: 0 20px 60px rgba(2,6,23,0.3); border:1px solid rgba(255,255,255,0.06); overflow:hidden; }
.cam-grid { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; gap:12px; }
.cam-card { position: relative; overflow: hidden; border-radius: 12px; cursor: zoom-in; box-shadow: 0 12px 30px rgba(0,0,0,0.25); transition: transform .45s cubic-bezier(.2,.9,.3,1); border: 1px solid rgba(255,255,255,0.06); }
.cam-card img { width:100%; height:100%; object-fit:cover; display:block; transform:scale(1.04); transition: transform .9s cubic-bezier(.2,.9,.3,1); filter: saturate(1.02) contrast(1.02); }
.cam-card:hover img { transform: scale(1.06); }
.cam-card figcaption { position: absolute; left:12px; bottom:12px; color:#fff; text-shadow: 0 10px 28px rgba(0,0,0,0.6); }
.cam-card figcaption strong{ display:block; font-weight:900; font-size:16px; }
.cam-card figcaption span{ font-size:12px; opacity:0.95; }

.cam-card-large { grid-column: 1 / -1; grid-row: span 2; min-height: 340px; }
.cam-card-medium { grid-row: span 2; min-height: 320px; }
.cam-card-small { min-height: 150px; }

.cam-hero-cta { margin-top:12px; padding:12px; display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.cam-hero-cta h3{ margin:0; font-size:20px; font-weight:900; color:#fff; text-shadow: 0 8px 30px rgba(0,0,0,0.45); }
.cam-hero-cta p{ margin:0; color: rgba(255,255,255,0.88); max-width:58%; font-weight:600; }
.cam-cta-row{ display:flex; gap:10px; align-items:center; }
.btn-apply, .btn-tour { padding:10px 14px; border-radius:999px; text-decoration:none; font-weight:800; }
.btn-apply {  box-shadow: 0 12px 30px rgba(0,166,81,0.12); }
.btn-tour { background: transparent; color:#fff; border:1px solid rgba(255,255,255,0.12); }

/* RIGHT — alumni */
.cam-right { background: rgba(255,255,255,0.02); border-radius:14px; padding:12px; border:1px solid rgba(255,255,255,0.06); box-shadow: 0 16px 44px rgba(0,0,0,0.28); }
.alumni-head h3{ margin:0; color:#fff; font-size:20px; font-weight:900; }
.alumni-head p{ color: rgba(255,255,255,0.85); margin:8px 0 12px; font-weight:600; }

.alumni-wall { display:flex; flex-direction:column; gap:12px; align-items:stretch; }
.alumni-main { position:relative; height:450px; border-radius:12px; overflow:hidden; box-shadow: inset 0 -40px 90px rgba(0,0,0,0.18); }
.alumni-main img { width:100%; height:100%; object-fit:cover; display:block; transition: transform .8s ease; }
.alumni-main:hover img { transform: scale(1.03); }
.alumni-meta { position:absolute; left:14px; bottom:14px; color:#fff; text-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.alumni-meta strong{ display:block; font-size:16px; font-weight:900; }
.alumni-meta span{ display:block; font-size:13px; opacity:0.95; }

.alumni-thumbs { margin-top:8px; display:flex; gap:10px; overflow-x:auto; padding-bottom:8px; -webkit-overflow-scrolling:touch; }
.alumni-thumbs .thumb { flex:0 0 auto; width:64px; height:64px; border-radius:12px; overflow:hidden; border:2px solid transparent; background:rgba(255,255,255,0.03); box-shadow: 0 8px 18px rgba(0,0,0,0.28); padding:0; cursor:pointer; }
.alumni-thumbs .thumb img { width:100%; height:100%; object-fit:cover; display:block; }
.alumni-thumbs .thumb.active { border-color: rgba(255,255,255,0.9); transform: translateY(-6px); }

.alumni-stats { display:flex; gap:12px; justify-content:space-between; margin-top:14px; }
.alumni-stats .stat { text-align:center; flex:1 1 0; }
.alumni-stats .stat strong { display:block; font-size:20px; font-weight:900; color:#00a651; }
.alumni-stats .stat span { display:block; color: #00a651; font-weight:700; margin-top:6px; font-size:13px; }

/* lightbox */
.cam-lightbox { position:fixed; inset:0; display:none; align-items:center; justify-content:center; background: rgba(0,0,0,0.76); z-index:99999; padding:18px; }
.cam-lightbox.open { display:flex; }
.cam-lightbox .lb-img { max-width:92%; max-height:86vh; border-radius:10px; box-shadow: 0 18px 60px rgba(0,0,0,0.6); }
.cam-lightbox .lb-close { position:absolute; top:20px; right:20px; background:rgba(255,255,255,0.96); border:none; padding:8px 10px; border-radius:8px; font-weight:800; cursor:pointer; }

/* reveal helper */
[data-cam-reveal] { opacity:0; transform: translateY(18px); transition: all .7s cubic-bezier(.2,.9,.3,1); }
[data-cam-reveal].inview { opacity:1; transform:none; }

/* responsive */
@media (max-width: 1100px) {
  #campus-alumni-merged .cam-wrap { grid-template-columns: 1fr; }
  .cam-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  
  .cam-hero-cta p { max-width:100%; }
  .alumni-main { height:200px; }
}
/* Mobile fix specifically for .cam-left .cam-hero (<= 540px) */
@media (max-width: 540px) 
{ .cam-grid { grid-template-columns: 1fr; grid-auto-rows: 160px; } 
.cam-card-medium, .cam-card-large { min-height: 180px; } 
.alumni-thumbs .thumb { width:56px; height:56px; } 
.cam-left .cam-hero {
  width: 100%;
  max-width: 100%;
  padding: 10px;           /* slightly reduce padding on mobile */
  margin: 0;
  overflow: hidden;        /* clip overflowing children (keeps rounded corners neat) */
  border-radius: 12px;     /* keep consistent radius */
  position: relative;
  box-sizing: border-box;
}
.cam-right{
width: 100%;
max-width: 100%;
padding: 10px;           /* slightly reduce padding on mobile */
margin: 0;
overflow: hidden;        /* clip overflowing children (keeps rounded corners neat) */
border-radius: 12px;     /* keep consistent radius */
position: relative;
box-sizing: border-box;
}
.alumni-main { height:180px; }
.cam-hero-cta { flex-direction:column; align-items:flex-start; gap:8px; } }

 /* Scoped to #sch-cards */
 #sch-cards { --green:#00a651; --dark:#0A1121; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial; color:var(--dark); padding:30px 16px; box-sizing:border-box; }
 .sc-wrapper { max-width:1200px; margin:0 auto; }

 .sc-head h2 { margin:0 0 6px; font-size:26px; font-weight:900; }
 .sc-lead { margin:0 0 18px; color:#4b5560; font-weight:700; }

 .sc-grid { display:grid; grid-template-columns: repeat(2, 1fr); gap:12px; align-items:start; }

 .sc-card { background:#fff; border:1px solid rgba(10,17,33,0.06); border-radius:12px; overflow:visible; box-shadow:0 8px 22px rgba(10,17,33,0.04); }

 .sc-card-btn { width:100%; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 14px; background:transparent; border:0; cursor:pointer; text-align:left; }
 .sc-card-btn:focus { outline:3px solid rgba(0,166,81,0.12); outline-offset:2px; border-radius:8px; }

 .sc-left { display:flex; gap:12px; align-items:center; }
 .sc-number { width:52px; height:52px; border-radius:10px; background:linear-gradient(180deg,var(--green),#028a47); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:900; font-size:18px; box-shadow:0 8px 20px rgba(0,166,81,0.12); }
 .sc-title { font-weight:900; font-size:15px; color:var(--dark); }
 .sc-sub { color:#6b7280; font-weight:700; font-size:13px; }

 .sc-right { display:flex; flex-direction:column; align-items:flex-end; gap:6px; min-width:110px; }
 .sc-amt { background:linear-gradient(90deg,var(--green),#028a47); color:#fff; padding:6px 10px; border-radius:999px; font-weight:900; font-size:13px; }
 .sc-caret { font-size:18px; color:#475569; transform-origin:center; transition: transform .22s ease; }

 /* Panel: animated max-height to reveal inline */
 .sc-panel { max-height: 0; overflow: hidden; transition: max-height .32s ease, padding .28s ease; padding: 0 14px; box-sizing: border-box; }
 .sc-panel[aria-hidden="false"] { padding: 12px 14px 18px; }
 /* large expanded max-height to comfortably fit table — safe value */
 .sc-panel[aria-hidden="false"] { max-height: 800px; }

 .sc-table-wrap { overflow:auto; border-radius:8px; background: #fff; }
 .sc-table { width:100%; border-collapse:collapse; min-width:320px; }
 .sc-table thead th { text-align:left; padding:10px 12px; background:#fbfbfb; font-weight:900; color:var(--dark); border-bottom:1px solid rgba(10,17,33,0.04); }
 .sc-table tbody td { padding:10px 12px; border-bottom:1px solid rgba(10,17,33,0.04); font-weight:700; color:#2e3a3a; }

 /* rotate caret when open */
 .sc-card[aria-open="true"] .sc-caret { transform: rotate(180deg); }

 /* hover */
 .sc-card:hover { transform: translateY(-4px); box-shadow:0 18px 40px rgba(10,17,33,0.06); transition:all .2s ease; }

 /* responsive single-column stack on mobile */
 @media (max-width: 900px) {
   .sc-grid { grid-template-columns: 1fr; }
   .sc-right { align-items:flex-start; }
   .sc-card-btn { flex-direction:row; }
   .sc-panel[aria-hidden="false"] { max-height: 1200px; } /* allow taller on small screens */
 }

 @media (max-width: 420px) {
   .sc-number { width:44px; height:44px; font-size:16px; }
   .sc-amt { font-size:12px; padding:6px 8px; }
   .sc-title { font-size:14px; }
 }