/* =====================================================================
   RITE - UI Enhancements
   ---------------------------------------------------------------------
   Purpose : Restrained, professional/institutional UI refinements.
   Notes   : This file is loaded AFTER custom_online.css so it can gently
             override presentation only. It does NOT change any markup,
             logic, routes or content. Kept isolated for easy maintenance.
   Sections:
     1.  Design tokens
     2.  Base typography & rhythm
     3.  Header / branding
     4.  Navigation (desktop)
     5.  Marquee / notice strips
     6.  Section titles & headings
     7.  Buttons
     8.  About + Announcements
     9.  Courses
     10. Recognitions
     11. Stats (At a Glance)
     12. Recruiters logos
     13. Video gallery
     14. Life @ RITE cards
     15. Footer
     16. Sticky social icons
     17. Responsive rules
   ===================================================================== */

/* ------------------------------------------------------------------ */
/* 1. Design tokens                                                    */
/* ------------------------------------------------------------------ */
:root {
  --ui-primary: #004589;
  --ui-primary-2: #0069b8;
  --ui-accent: #f57c20;
  --ui-ink: #1f2a3d;
  --ui-body: #000;
  --ui-muted: #000;
  --ui-line: #e2e8f0;
  --ui-line-strong: #cdd7e5;
  --ui-surface: #ffffff;
  --ui-surface-alt: #f5f7fb;
  --ui-radius: 8px;
  --ui-radius-sm: 6px;
  --ui-shadow-sm: 0 1px 3px rgba(20, 40, 80, .06), 0 1px 2px rgba(20, 40, 80, .04);
  --ui-shadow-md: 0 4px 14px rgba(20, 40, 80, .08);
}

/* ------------------------------------------------------------------ */
/* 2. Base typography & rhythm                                         */
/* ------------------------------------------------------------------ */
body {
  color: var(--ui-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

p {
  color: var(--ui-body);
  line-height: 1.7;
}

img {
  max-width: 100%;
}

/* Keep every section on a consistent vertical rhythm */
.section-padding {
  padding: 46px 0;
}

/* ------------------------------------------------------------------ */
/* 3. Header / branding                                                */
/* ------------------------------------------------------------------ */
.ltn__header-5 .ltn__header-middle-area {
  border-bottom: 1px solid var(--ui-line);
  box-shadow: var(--ui-shadow-sm);
}

.logo_h1 {
  font-size: 19px;
  line-height: 1.15;
  letter-spacing: .2px;
}

.site-logo-wrap .site-logo img.mobile_logo {
  height: 70px;
  width: auto;
}

/* Accreditation logos row - keep tidy and aligned */
.ltn__header-middle-area .col-md-4 img {
  transition: transform .2s ease;
}

/* Thin accent line under the main nav bar for an institutional feel */
.ltn__header-area > .container-fluid.width__94 {
  border-bottom: 3px solid var(--ui-primary);
}

/* ------------------------------------------------------------------ */
/* 4. Navigation (desktop)                                             */
/* ------------------------------------------------------------------ */
.ltn__main-menu > ul > li > a {
  font-weight: 600 !important;
  color: var(--ui-ink) !important;
  padding: 10px 12px !important;
  border-radius: 4px;
  transition: color .18s ease, background-color .18s ease;
}

.ltn__main-menu > ul > li > a:hover {
  background: var(--ui-surface-alt);
  color: var(--ui-primary-2) !important;
}

.ltn__main-menu li > ul {
  border-top: 3px solid var(--ui-primary) !important;
  box-shadow: var(--ui-shadow-md);
  border-radius: 0 0 var(--ui-radius-sm) var(--ui-radius-sm);
}

.ltn__main-menu li ul li a:hover {
  color: var(--ui-primary-2);
}

/* ------------------------------------------------------------------ */
/* 5. Marquee / notice strips                                          */
/* ------------------------------------------------------------------ */
.hot-news {
  background: var(--ui-primary) !important;
  padding: 8px 0;
  font-size: 14px;
  align-items: center;
}

.hot-news strong {
  padding-right: 12px;
}

.hot-news .notice-item {
  display: inline-block;
  padding: 0 24px;
  border-right: 1px solid rgba(255, 255, 255, .2);
}

.hot-news a {
  color: #fff;
}

.hot-news a:hover {
  text-decoration: underline;
}

/* ------------------------------------------------------------------ */
/* 6. Section titles & headings                                        */
/* ------------------------------------------------------------------ */
.custome-section-title,
.section-title,
.life-heading {
  color: var(--ui-ink);
  font-weight: 600;
  margin-bottom: 34px;
}

.custome-section-title::after {
  background: var(--ui-primary);
  width: 64px;
  height: 3px;
}

.section-title::after {
  background: var(--ui-primary);
  animation: none; /* calmer, no growing line animation */
}

.main-heading {
  color: var(--ui-ink);
  font-weight: 600;
  position: relative;
  padding-bottom: 10px;
}

.main-heading::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--ui-primary);
  margin-top: 10px;
}

/* ------------------------------------------------------------------ */
/* 7. Buttons                                                          */
/* ------------------------------------------------------------------ */
/* Tone the flashy gradient/glow button down to a solid institutional
   button while keeping the same class so markup stays untouched.       */
.animated-btn {
  display: inline-block;
  padding: 10px 24px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: var(--ui-primary);
  border: 1px solid var(--ui-primary);
  border-radius: var(--ui-radius-sm);
  box-shadow: none;
  transition: background-color .2s ease, transform .15s ease;
}

.animated-btn::before {
  display: none; /* remove sweeping glow */
}

.animated-btn:hover {
  background: var(--ui-primary-2);
  border-color: var(--ui-primary-2);
  transform: none;
  box-shadow: var(--ui-shadow-sm);
  color: #fff;
}

/* ------------------------------------------------------------------ */
/* 8. About + Announcements                                            */
/* ------------------------------------------------------------------ */
#tao_content .description,
#tao_content p {
  color: var(--ui-body);
  text-align: left;
}

.legacy_count .marquee-vert {
  border: 1px solid var(--ui-line);
  border-radius: var(--ui-radius);
  background: var(--ui-surface);
}

.marquee-vert .container li {
  border-bottom: 1px solid var(--ui-line);
  padding: 10px 8px;
}

.marquee-vert .container li strong {
  background: var(--ui-primary);
  border-radius: var(--ui-radius-sm);
  font-weight: 600;
}

.marquee-vert .container li a:hover {
  color: var(--ui-primary-2);
}

/* ------------------------------------------------------------------ */
/* 9. Courses                                                          */
/* ------------------------------------------------------------------ */
.course_warpper {
  border: 1px solid var(--ui-line);
  transition: box-shadow .2s ease, transform .2s ease;
}

.course_bg_1 {
  background: var(--ui-surface);
}

.course_bg_2 {
  background: var(--ui-primary);
}

.course_warpper h2 {
  font-size: 14px;
  letter-spacing: .3px;
}

.course_warpper:hover {
  box-shadow: var(--ui-shadow-md);
  transform: translateY(-3px);
}

/* ------------------------------------------------------------------ */
/* 10. Recognitions                                                    */
/* ------------------------------------------------------------------ */
.re_warpper {
  background: var(--ui-surface);
  border: 1px solid var(--ui-line);
  border-radius: var(--ui-radius);
  padding: 22px 14px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow .2s ease;
}

.re_warpper:hover {
  box-shadow: var(--ui-shadow-sm);
}

.re_warpper img {
  width: auto;
  max-height: 90px;
  max-width: 100%;
  object-fit: contain;
}

/* ------------------------------------------------------------------ */
/* 11. Stats (At a Glance)                                             */
/* ------------------------------------------------------------------ */
.stat-card {
  border: 1px solid var(--ui-line);
  border-radius: var(--ui-radius);
  box-shadow: var(--ui-shadow-sm);
  padding: 1.75rem 1.25rem;
  animation: none;        /* remove staggered entrance */
  opacity: 1;
  transform: none;
}

.stat-card::before {
  display: none;          /* remove decorative gradient overlay */
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--ui-shadow-md);
  border-color: var(--ui-line-strong);
}

.stat-number {
  color: var(--ui-primary);
  font-weight: 700;
}

.stat-number .suffix {
  color: var(--ui-accent);
  font-weight: 600;
}

.stat-label {
  color: var(--ui-ink);
}

.stat-desc {
  color: var(--ui-muted);
}

/* ------------------------------------------------------------------ */
/* 12. Recruiters logos                                                */
/* ------------------------------------------------------------------ */
.custom-logo-box {
  border: 1px solid var(--ui-line);
  border-radius: var(--ui-radius-sm);
  background: var(--ui-surface);
  margin: 6px;
  height: 96px;
}

.custom-logo-box:hover img {
  transform: none; /* keep logos steady and professional */
}

/* ------------------------------------------------------------------ */
/* 13. Video gallery                                                   */
/* ------------------------------------------------------------------ */
.video-wrapper {
  border: 1px solid var(--ui-line);
  box-shadow: var(--ui-shadow-sm);
  animation: none;
  transition: box-shadow .2s ease, transform .2s ease;
}

.video-wrapper:hover {
  transform: translateY(-3px);
  box-shadow: var(--ui-shadow-md);
}

.play-btn {
  background: var(--ui-primary);
  box-shadow: none;
  animation: none; /* remove pulsing */
  width: 58px;
  height: 42px;
}

.video-wrapper:hover .video-thumb img {
  transform: scale(1.02);
}

/* ------------------------------------------------------------------ */
/* 14. Life @ RITE cards                                               */
/* ------------------------------------------------------------------ */
.life-section {
  background: var(--ui-surface-alt);
  padding: 46px 0;
}

.life-card {
  border: 1px solid var(--ui-line);
  border-radius: var(--ui-radius);
  box-shadow: var(--ui-shadow-sm);
  animation: none;
  transition: box-shadow .2s ease, transform .2s ease;
}

.life-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ui-shadow-md);
}

.life-card img {
  height: 180px;
}

.life-card-title {
  color: var(--ui-ink);
  font-size: 18px;
}

.life-card-text {
  color: var(--ui-muted);
  font-size: .92rem;
}

/* ------------------------------------------------------------------ */
/* 15. Footer                                                          */
/* ------------------------------------------------------------------ */
.site-footer {
  background: var(--ui-primary);
  padding: 48px 0 18px;
}

.footer-title {
  font-weight: 600;
  letter-spacing: .3px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, .15);
  margin-bottom: 16px;
}

.footer-links a:hover {
  color: #fff;
}

.social-icons a {
  border: 1px solid rgba(255, 255, 255, .2);
}

.social-icons a:hover {
  transform: translateY(-2px);
}

.footer-bottom a {
  color: #cfe0f5;
  text-decoration: underline;
}

/* ------------------------------------------------------------------ */
/* 16. Sticky social icons (right rail)                                */
/* ------------------------------------------------------------------ */
.sticky-icon a {
  font-size: 14px;
}

/* ------------------------------------------------------------------ */
/* 17. Responsive rules                                                */
/* ------------------------------------------------------------------ */

/* Large laptops */
@media (max-width: 1199.98px) {
  .logo_h1 {
    font-size: 17px;
  }
  .ltn__main-menu > ul > li > a {
    padding: 8px 9px !important;
    font-size: 13px !important;
  }
}

/* Tablets */
@media (max-width: 991.98px) {
  .section-padding,
  .life-section {
    padding: 34px 0;
  }

  .ltn__header-middle-area .row {
    justify-content: center !important;
  }

  .ltn__header-middle-area .col-md-8,
  .ltn__header-middle-area .col-md-4 {
    text-align: center;
  }

  .site-logo-wrap {
    display: flex;
    justify-content: center;
  }

  .ltn__header-middle-area .col-md-4 {
    margin-top: 8px;
  }

  .ltn__header-middle-area .col-md-4 img {
    height: 62px !important;
  }

  .re_warpper {
    margin-bottom: 16px;
  }

  .video-thumb img {
    height: 200px;
  }
}

/* Tablets & below - notice strip stacks cleanly */
@media (max-width: 767.98px) {
  .custome-section-title,
  .section-title {
    font-size: 24px !important;
    margin-bottom: 26px;
  }

  .main-heading {
    font-size: 26px;
  }

  .hot-news .container {
    display: flex;
    flex-direction: column;
    text-align: center;
  }

  .hot-news strong {
    float: none;
    display: block;
    padding: 0 0 4px;
  }

  .hot-news marquee {
    float: none;
    width: 100%;
  }

  .marquee-vert {
    height: 320px;
  }

  .course_warpper {
    padding: 24px 12px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .footer-title {
    margin-top: 6px;
  }

  /* Keep right-rail social icons from overlapping content on small screens */
  .sticky-icon {
    display: none;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .logo_h1 {
    font-size: 15px;
    text-align: center;
  }

  .site-logo-wrap .site-logo img.mobile_logo {
    height: 56px;
  }

  .ltn__header-middle-area .col-md-4 img {
    height: 48px !important;
  }

  .life-card img {
    height: 200px;
  }

  .stat-card {
    padding: 1.35rem 1rem;
  }

  .re_warpper img {
    max-height: 70px;
  }
}

/* =====================================================================
   18. COHESIVE SECTION REFINEMENTS (below header & slider)
   ---------------------------------------------------------------------
   Goal : Make every section under the slider share one visual language
          consistent with the header/slider - clean panels, aligned
          headings, calm alternating backgrounds, readable typography.
          Header and slider styling is intentionally left untouched.
   ===================================================================== */

/* --- 18.1  Page canvas & alternating section rhythm ---------------- */
/* A clean white canvas with soft grey bands gives an organised,
   institutional feel instead of a flat single-tone page.             */
body {
  background-color: var(--ui-surface);
}

/* Class-based banding (robust to markup order). Sections carry an
   explicit .ui-band-light or .ui-band-white helper class. Existing
   dynamic sections keep working via their own class overrides below.  */
.ui-band-white {
  background: var(--ui-surface) !important;
}
.ui-band-light {
  background: var(--ui-surface-alt) !important;
}

/* Legacy dynamic sections keep a sensible default band */
section.life-section {
  background: var(--ui-surface-alt) !important;
}
section.section-space {
  background: var(--ui-surface);
}

/* About block sits on white; a hairline divider separates it from the
   Courses block that follows (also white) for a clean transition.     */
section.section-padding {
  border-bottom: 1px solid var(--ui-line);
}

/* Consistent vertical spacing for the generic section wrappers */
.pt-30 {
  padding-top: 35px !important;
}
.pb-30 {
  padding-bottom: 35px !important;
}
.section-space {
  padding: 52px 0;
}

/* --- 18.2  Unified section heading treatment ----------------------- */
/* Bring section-title (Video Gallery) and life-heading in line with
   the custome-section-title used across the rest of the page.        */
.section-title,
.life-heading {
  text-align: center;
  font-size: 30px !important;
  font-weight: 600 !important;
  color: var(--ui-ink);
  margin-bottom: 34px;
  position: relative;
}

.section-title::after,
.life-heading::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  background: var(--ui-primary);
  margin: 12px auto 0;
  border-radius: 2px;
}

.custome-section-title {
  font-size: 30px;
}

/* Small institutional eyebrow spacing above titles */
.custome-section-title,
.section-title,
.life-heading {
  letter-spacing: .2px;
}

/* --- 18.3  About + Announcements panels ---------------------------- */
/* Turn the two columns into matched, bordered panels with clear
   headers so the block reads as one balanced, academic unit.         */
.section-padding .row.align-items-center {
  align-items: stretch !important;
}

.section-padding .col-lg-6 {
  display: flex;
  flex-direction: column;
}

/* Panel heading row (About Rite / Announcements) */
.section-padding .col-lg-6 .d-flex.align-items-center {
  gap: 0 !important;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ui-line);
}

.section-padding .main-heading {
  font-size: 24px;
  padding-bottom: 0;
}

.section-padding .main-heading::after {
  display: none; /* heading now separated by the panel divider rule */
}

/* About video - give it a clean framed look */
.section-padding .ratio.ratio-21x9 {
  border-radius: var(--ui-radius);
  overflow: hidden;
  box-shadow: var(--ui-shadow-sm);
  border: 1px solid var(--ui-line);
  margin-bottom: 18px;
}

.section-padding .ratio.ratio-21x9 iframe {
  border-radius: 0 !important;
}

#tao_content {
  color: var(--ui-body);
  font-size: 15px;
  line-height: 1.75;
}

#tao_content .description {
  margin-top: 0;
  font-size: 15px;
}

/* Push the "View More" button to the bottom of each column so both
   columns line up neatly regardless of content length.               */
.section-padding .col-lg-6 > p:last-child,
.legacy_count > p:last-child {
  margin-top: auto;
  margin-bottom: 0;
  padding-top: 16px;
}

/* Announcements list panel fills the column height */
.legacy_count {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.legacy_count .marquee-vert {
  flex: 1 1 auto;
  box-shadow: var(--ui-shadow-sm);
}

.marquee-vert .container li a {
  color: var(--ui-body);
  font-size: 14px;
  line-height: 1.5;
}

.marquee-vert .container li strong {
  padding: 6px 8px;
  font-size: 13px;
}

/* --- 18.4  Courses grid -------------------------------------------- */
.course_warpper {
  border-radius: 0;
  padding: 34px 16px;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.course_divider {
  background: var(--ui-primary);
  height: 2px;
}

.course_warpper.course_bg_2 > .course_divider {
  background: #fff;
}

.course_warpper h2 {
  color: var(--ui-ink);
}

/* --- 18.5  Recognitions -------------------------------------------- */
.re_warpper {
  min-height: 130px;
}

/* --- 18.6  Recruiters ---------------------------------------------- */
.custom-brand-area {
  background: transparent;
}

.custom-logo-box {
  height: 100px;
}

.custom-logo-box img {
  filter: none;
}

/* --- 18.7  Video gallery ------------------------------------------- */
.video-thumb img {
  height: 210px;
}

/* --- 18.8  Life @ RITE --------------------------------------------- */
.life-card-body {
  display: flex;
  flex-direction: column;
  padding: 18px 16px 20px;
}

.life-card-text {
  min-height: auto;
  margin-bottom: 16px;
  line-height: 1.65;
}

.life-card .animated-btn {
  margin-top: auto;
  align-self: flex-start;
  padding: 8px 20px;
  font-size: 14px;
}

/* --- 18.9  Footer polish ------------------------------------------- */
.site-footer {
  background: var(--ui-primary);
  border-top: 4px solid var(--ui-accent);
}

.footer-text,
.footer-links li,
.footer-links a {
  font-size: 14px;
  line-height: 1.9;
}

/* =====================================================================
   19. RESPONSIVE ADD-ONS for the refined sections
   ===================================================================== */
@media (max-width: 991.98px) {
  /* Stack About / Announcements with breathing room */
  .section-padding .col-lg-6 {
    margin-bottom: 26px;
  }
  .section-padding .col-lg-6:last-child {
    margin-bottom: 0;
  }

  .course_warpper {
    min-height: 170px;
    padding: 28px 14px;
  }
}

@media (max-width: 767.98px) {
  .section-title,
  .life-heading {
    font-size: 24px !important;
    margin-bottom: 24px;
  }

  .custome-section-title {
    font-size: 24px;
  }

  .marquee-vert {
    height: 300px;
  }

  .video-thumb img {
    height: 190px;
  }
}

@media (max-width: 575.98px) {
  .pt-30 {
    padding-top: 34px !important;
  }
  .pb-30 {
    padding-bottom: 34px !important;
  }
  .section-space {
    padding: 34px 0;
  }

  .section-padding .main-heading {
    font-size: 21px;
  }
}

/* =====================================================================
   20. CONTENT DESIGN SYSTEM  (Slider → Footer content sections)
   ---------------------------------------------------------------------
   A single, consistent design language shared by every main-content
   section. Header, Slider and Footer are intentionally NOT restyled
   here. Organised per section with clear comments for maintenance.
   ===================================================================== */

/* =========================
   Shared section primitives
   ========================= */
/* Consistent readable content width on very large screens so the
   full-width (container-fluid) sections don't stretch text too wide. */
section.pt-30.pb-30 > .container-fluid,
section.section-space > .container,
section.section-padding > .container {
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}

/* Uniform heading block: small institutional label feel + underline.
   Applies to the three heading styles already in the markup.          */
.custome-section-title,
.section-title,
.life-heading {
  font-size: 28px !important;
  line-height: 1.25;
  margin-bottom: 30px;
}

.custome-section-title::after,
.section-title::after,
.life-heading::after {
  height: 3px;
  width: 60px;
  background: var(--ui-primary);
  border-radius: 2px;
}

/* =========================
   Welcome / About + Announcements
   ========================= */
section.section-padding {
  background: var(--ui-surface);
  padding: 50px 0;
}

/* Wrap each column content as a subtle framed panel for structure */
section.section-padding .col-lg-6 {
  background: var(--ui-surface);
  padding: 4px 0;
}

/* Heading of each panel - clear, academic, left aligned with rule */
section.section-padding .main-heading {
  font-size: 22px;
  color: var(--ui-primary);
  font-weight: 700;
  text-transform: none;
}

/* About descriptive text: comfortable reading measure */
#tao_content {
  color: var(--ui-body);
  font-size: 15px;
  line-height: 1.8;
  max-height: 220px;
  overflow: hidden;
  position: relative;
}

/* Soft fade at the bottom of the About teaser so the clipped preview
   reads as intentional (full text is available via "View More").     */
#tao_content::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--ui-surface));
  pointer-events: none;
}

/* Announcements list: fixed, scroll-free panel look */
.legacy_count .marquee-vert {
  border: 1px solid var(--ui-line);
  border-radius: var(--ui-radius);
  background: var(--ui-surface-alt);
  padding: 4px 10px;
}

.marquee-vert .container li {
  border-bottom: 1px dashed var(--ui-line-strong);
}

.marquee-vert .container li:last-child {
  border-bottom: none;
}

/* =========================
   Courses / Programs
   ========================= */
.course_warpper {
  border: 1px solid var(--ui-line);
  margin: 0;
}

.course_warpper.course_bg_1 {
  background: var(--ui-surface);
}

.course_warpper.course_bg_2 {
  background: var(--ui-primary);
  border-color: var(--ui-primary);
}

.course_warpper img {
  width: 84px;
  height: 84px;
  object-fit: contain;
}

.course_warpper h2 {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .4px;
}

/* =========================
   Recognitions & Accreditations
   ========================= */
.re_warpper {
  background: var(--ui-surface);
  border: 1px solid var(--ui-line);
  border-radius: var(--ui-radius);
  padding: 24px 16px;
  min-height: 128px;
  margin-bottom: 0;
}

/* =========================
   Statistics / At a Glance
   ========================= */
.stats-section {
  margin-top: 4px;
}

.stat-card {
  border: 1px solid var(--ui-line);
  border-radius: var(--ui-radius);
  background: var(--ui-surface);
  box-shadow: none;
  padding: 1.6rem 1.1rem;
}

.stat-card:hover {
  box-shadow: var(--ui-shadow-sm);
  transform: translateY(-2px);
}

.stat-number {
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  color: var(--ui-primary);
}

.stat-label {
  font-size: .98rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .3px;
}

.stat-desc {
  font-size: .8rem;
}

/* =========================
   Top Recruiters
   ========================= */
.ltn__brand-logo-area.custom-brand-area {
  background: transparent;
  padding: 8px 0;
}

.custom-logo-box {
  background: var(--ui-surface);
  border: 1px solid var(--ui-line);
  border-radius: var(--ui-radius-sm);
  height: 96px;
  margin: 6px;
}

.custom-logo-box img {
  max-height: 93px;
}

/* =========================
   Video Gallery
   ========================= */
section.section-space {
  background: var(--ui-surface);
  padding: 35px 0;
}

.video-wrapper {
  padding: 8px;
  border-radius: var(--ui-radius);
}

.video-thumb {
  border-radius: var(--ui-radius-sm);
}

.play-btn {
  border-radius: var(--ui-radius-sm);
}

/* =========================
   Life @ RITE
   ========================= */
section.life-section {
  background: var(--ui-surface-alt) !important;
  padding: 50px 0;
}

.life-card {
  border: 1px solid var(--ui-line);
  border-radius: var(--ui-radius);
  background: var(--ui-surface);
  box-shadow: none;
}

.life-card:hover {
  box-shadow: var(--ui-shadow-sm);
  transform: translateY(-3px);
}

.life-card img {
  height: 170px;
  object-fit: cover;
}

.life-card-title {
  font-size: 17px;
  color: var(--ui-primary);
  font-weight: 700;
}

/* =========================
   Responsive Styles (content sections)
   ========================= */
@media (max-width: 1199.98px) {
  section.pt-30.pb-30 > .container-fluid,
  section.section-space > .container,
  section.section-padding > .container {
    max-width: 100%;
  }
}

@media (max-width: 991.98px) {
  .custome-section-title,
  .section-title,
  .life-heading {
    font-size: 25px !important;
    margin-bottom: 26px;
  }

  #tao_content {
    max-height: none;
  }

  .course_warpper img {
    width: 72px;
    height: 72px;
  }
}

@media (max-width: 767.98px) {
  section.section-padding,
  section.section-space,
  section.life-section {
    padding: 34px 0 !important;
  }

  .custome-section-title,
  .section-title,
  .life-heading {
    font-size: 22px !important;
  }

  section.section-padding .main-heading {
    font-size: 20px;
  }

  /* Recruiter logos: keep them centered and evenly sized */
  .custom-logo-box {
    height: 84px;
  }

  .custom-logo-box img {
    max-height: 52px;
  }
}

@media (max-width: 575.98px) {
  .course_warpper {
    min-height: 150px;
    padding: 22px 12px;
  }

  .course_warpper h2 {
    font-size: 12.5px;
  }

  .stat-card {
    padding: 1.2rem .9rem;
  }

  .stat-number {
    font-size: 1.9rem;
  }

  .re_warpper {
    min-height: 104px;
    padding: 18px 12px;
  }
}

/* =====================================================================
   21. STATIC HOMEPAGE CONTENT SECTIONS
   ---------------------------------------------------------------------
   Shared design system for the newly added dummy-content sections.
   Header, Slider and Footer remain untouched. Every section uses the
   institutional palette, Inter typography, subtle borders and modest
   shadows already defined in the design tokens above.
   ===================================================================== */

/* =========================
   Shared section primitives
   ========================= */
.ui-section {
  padding: 35px 0;
}

.ui-band-white  { background: var(--ui-surface); }
.ui-band-light  { background: var(--ui-surface-alt); }
.ui-band-primary {
  background: var(--ui-primary);
  color: #eaf1fa;
}

.ui-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ui-primary-2);
  margin-bottom: 10px;
}

.ui-band-primary .ui-eyebrow {
  color: #bcd4ee;
}

.ui-heading {
  font-size: 28px;
  font-weight: 700;
  color: var(--ui-ink);
  line-height: 1.25;
  margin: 0 0 16px;
}

.ui-lead {
  font-size: 16px;
  font-weight: 500;
  color: var(--ui-body);
  line-height: 1.7;
  margin-bottom: 14px;
}

.ui-section p {
  color: var(--ui-body);
  line-height: 1.75;
  margin-bottom: 12px;
}

/* Reusable subtle text link with arrow */
.ui-textlink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ui-primary-2);
}

.ui-textlink i {
  transition: transform .18s ease;
}

.ui-textlink:hover {
  color: var(--ui-primary);
}

.ui-textlink:hover i {
  transform: translateX(3px);
}

/* Reusable badge */
.ui-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: #fff;
  background: var(--ui-primary);
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 8px;
}

.ui-badge-alt {
  background: var(--ui-accent);
}

/* =========================
   Welcome / About Section
   ========================= */
.ui-welcome-media {
  position: relative;
}

.ui-welcome-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--ui-radius);
  border: 1px solid var(--ui-line);
}

.ui-welcome-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: var(--ui-primary);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--ui-radius-sm);
  box-shadow: var(--ui-shadow-md);
}

.ui-welcome-badge-num {
  display: block;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.1;
}

.ui-welcome-badge-txt {
  display: block;
  font-size: 12px;
  opacity: .9;
}

.ui-welcome-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 22px 0;
}

.ui-wh-item {
  border: 1px solid var(--ui-line);
  border-radius: var(--ui-radius-sm);
  padding: 14px 10px;
  text-align: center;
  background: var(--ui-surface);
}

.ui-wh-num {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--ui-primary);
}

.ui-wh-label {
  display: block;
  font-size: 12px;
  color: var(--ui-muted);
  margin-top: 2px;
}

/* =========================
   Principal Message
   ========================= */
.ui-principal-photo img {
  width: 100%;
  max-width: 320px;
  border-radius: var(--ui-radius);
  border: 1px solid var(--ui-line);
  background: var(--ui-surface);
  display: block;
  margin: 0 auto;
}

.ui-principal-quote {
  font-size: 16px;
  font-style: italic;
  color: var(--ui-ink);
  border-left: 3px solid var(--ui-primary);
  padding-left: 16px;
  margin-bottom: 16px;
}

.ui-principal-sign {
  margin: 18px 0;
}

.ui-principal-sign strong {
  display: block;
  font-size: 16px;
  color: var(--ui-ink);
}

.ui-principal-sign span {
  font-size: 13px;
  color: var(--ui-muted);
}

/* =========================
   College Statistics / Highlights
   ========================= */
.ui-highlights {
  border-top: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.ui-hl-card {
  padding: 10px;
}

.ui-hl-num {
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.ui-hl-num span {
  color: #ffd27a;
}

.ui-hl-label {
  font-size: 14px;
  color: #d6e4f4;
  margin-top: 8px;
  letter-spacing: .3px;
}

/* =========================
   Notices & Announcements
   ========================= */
.ui-notice-board {
  border: 1px solid var(--ui-line);
  border-radius: var(--ui-radius);
  background: var(--ui-surface);
  overflow: hidden;
  margin-bottom: 28px;
}

.ui-notice-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ui-notice-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0px 20px;
  border-bottom: 1px solid var(--ui-line);
}

.ui-notice-item:last-child {
  border-bottom: none;
}

.ui-notice-date {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  border-radius: var(--ui-radius-sm);
  background: var(--ui-primary);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.ui-notice-date .d {
  font-size: 20px;
  font-weight: 700;
}

.ui-notice-date .m {
  font-size: 11px;
  text-transform: uppercase;
  margin-top: 3px;
}

.ui-notice-body {
  flex: 1 1 auto;
  min-width: 0;
}

.ui-notice-title {
  font-size: 16px;
  font-weight: 600;
  margin: 4px 0 4px;
}

.ui-notice-title a {
  color: var(--ui-ink);
}

.ui-notice-title a:hover {
  color: var(--ui-primary-2);
}

.ui-notice-body p {
  font-size: 13.5px;
  color: var(--ui-muted);
  margin: 0;
}

.ui-notice-link {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--ui-primary-2);
  white-space: nowrap;
}

.ui-notice-link:hover {
  color: var(--ui-primary);
}

/* =========================
   News & Events
   ========================= */
.ui-news-card {
  background: var(--ui-surface);
  border: 1px solid var(--ui-line);
  border-radius: var(--ui-radius);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease;
}

.ui-news-card:hover {
  box-shadow: var(--ui-shadow-md);
  transform: translateY(-3px);
}

.ui-news-media {
  position: relative;
}

.ui-news-media img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.ui-news-cat {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--ui-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  padding: 4px 10px;
  border-radius: 3px;
}

.ui-news-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.ui-news-date {
  font-size: 12.5px;
  color: var(--ui-muted);
  margin-bottom: 8px;
}

.ui-news-date i {
  color: var(--ui-primary-2);
}

.ui-news-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--ui-ink);
  margin: 0 0 8px;
  line-height: 1.35;
}

.ui-news-body p {
  font-size: 14px;
  color: var(--ui-muted);
  margin-bottom: 14px;
}

.ui-news-body .ui-textlink {
  margin-top: auto;
}

/* =========================
   Upcoming Events
   ========================= */
.ui-event {
  display: flex;
  gap: 16px;
  background: var(--ui-surface);
  border: 1px solid var(--ui-line);
  border-left: 3px solid var(--ui-primary);
  border-radius: var(--ui-radius-sm);
  padding: 18px;
  height: 100%;
}

.ui-event-date {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: var(--ui-radius-sm);
  background: var(--ui-surface-alt);
  border: 1px solid var(--ui-line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.ui-event-date .d {
  font-size: 22px;
  font-weight: 700;
  color: var(--ui-primary);
}

.ui-event-date .m {
  font-size: 11px;
  font-weight: 600;
  color: var(--ui-muted);
  margin-top: 3px;
}

.ui-event-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ui-ink);
  margin: 0 0 6px;
}

.ui-event-meta {
  font-size: 12.5px;
  color: var(--ui-muted);
  margin-bottom: 6px;
}

.ui-event-meta i {
  color: var(--ui-primary-2);
}

.ui-event-info p {
  font-size: 13.5px;
  margin: 0;
}

/* =========================
   Academic Programs / Departments
   ========================= */
.ui-program {
  display: flex;
  gap: 16px;
  background: var(--ui-surface);
  border: 1px solid var(--ui-line);
  border-radius: var(--ui-radius);
  padding: 20px;
  height: 100%;
  transition: box-shadow .2s ease, transform .2s ease;
}

.ui-program:hover {
  box-shadow: var(--ui-shadow-md);
  transform: translateY(-3px);
}

.ui-program-icon {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: var(--ui-radius-sm);
  background: var(--ui-primary-light, #e9f0f8);
  color: var(--ui-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.ui-program-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ui-ink);
  margin: 0 0 6px;
}

.ui-program-body p {
  font-size: 13.5px;
  color: var(--ui-muted);
  margin-bottom: 10px;
}

/* =========================
   Campus & Facilities
   ========================= */
.ui-facility {
  background: var(--ui-surface);
  border: 1px solid var(--ui-line);
  border-radius: var(--ui-radius);
  overflow: hidden;
  height: 100%;
  transition: box-shadow .2s ease, transform .2s ease;
}

.ui-facility:hover {
  box-shadow: var(--ui-shadow-md);
  transform: translateY(-3px);
}

.ui-facility-media img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
  background: var(--ui-surface-alt);
}

.ui-facility-body {
  padding: 16px 18px 18px;
}

.ui-facility-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ui-ink);
  margin: 0 0 6px;
}

.ui-facility-body p {
  font-size: 13.5px;
  color: var(--ui-muted);
  margin: 0;
}

/* =========================
   Student Achievements
   ========================= */
.ui-achieve {
  background: var(--ui-surface);
  border: 1px solid var(--ui-line);
  border-radius: var(--ui-radius);
  padding: 26px 20px;
  text-align: center;
  height: 100%;
}

.ui-achieve-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  border-radius: 50%;
  /* background: var(--ui-primary-light, #e9f0f8); */
  background: var(--ui-accent);
  color: var(--ui-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.ui-achieve-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ui-ink);
  margin: 0 0 8px;
}

.ui-achieve p {
  font-size: 13.5px;
  color: var(--ui-muted);
  margin: 0;
}

/* =========================
   Photo Gallery
   ========================= */
.ui-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.ui-gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--ui-radius-sm);
  border: 1px solid var(--ui-line);
  aspect-ratio: 4 / 3;
}

.ui-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.ui-gallery-item:hover img {
  transform: scale(1.05);
}

.ui-gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 26px;
  background: rgba(0, 69, 137, .0);
  opacity: 0;
  transition: opacity .25s ease, background .25s ease;
}

.ui-gallery-item:hover .ui-gallery-overlay {
  opacity: 1;
  background: rgba(0, 69, 137, .55);
}

/* =========================
   Admission Form
   ========================= */
.ui-admission-points {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.ui-admission-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  color: var(--ui-body);
  padding: 6px 0;
}

.ui-admission-points i {
  color: var(--ui-accent);
  font-size: 16px;
}

.ui-admission-card {
  background: var(--ui-surface);
  border: 1px solid var(--ui-line);
  border-top: 3px solid var(--ui-primary);
  border-radius: var(--ui-radius);
  box-shadow: var(--ui-shadow-sm);
  padding: 26px 24px;
}

.ui-admission-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--ui-ink);
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ui-line);
}

.ui-form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ui-ink);
  margin-bottom: 6px;
}

.ui-admission-form .form-control {
  width: 100%;
  border: 1px solid var(--ui-line-strong);
  border-radius: var(--ui-radius-sm);
  padding: 10px 12px;
  font-size: 14px;
  color: var(--ui-body);
  background: var(--ui-surface);
  transition: border-color .18s ease, box-shadow .18s ease;
}

.ui-admission-form .form-control:focus {
  outline: none;
  border-color: var(--ui-primary);
  box-shadow: 0 0 0 3px rgba(0, 69, 137, .12);
}

.ui-admission-form select.form-control {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D'http%3A//www.w3.org/2000/svg'%20width%3D'14'%20height%3D'14'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'%235f6b7c'%20stroke-width%3D'2'%3E%3Cpolyline%20points%3D'6%209%2012%2015%2018%209'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 34px;
}

.ui-admission-form button.animated-btn {
  border: 1px solid var(--ui-primary);
  cursor: pointer;
  margin-top: 4px;
}

/* =========================
   Contact / Call to Action
   ========================= */
.ui-contact-heading {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 22px;
}

.ui-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.ui-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.ui-contact-item i {
  font-size: 20px;
  color: #ffd27a;
  margin-top: 2px;
}

.ui-contact-item strong {
  display: block;
  font-size: 14px;
  color: #fff;
}

.ui-contact-item span {
  font-size: 13.5px;
  color: #d6e4f4;
}

.ui-btn-light,
.ui-btn-outline-light {
  display: inline-block;
  padding: 11px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--ui-radius-sm);
  margin: 6px 0 6px 8px;
}

.ui-btn-light {
  background: #fff;
  color: var(--ui-primary);
  border: 1px solid #fff;
}

.ui-btn-light:hover {
  background: #eaf1fa;
  color: var(--ui-primary);
}

.ui-btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.6);
}

.ui-btn-outline-light:hover {
  background: rgba(255,255,255,.12);
  color: #fff;
}

/* =========================
   Responsive Design (static sections)
   ========================= */
@media (max-width: 991.98px) {
  .ui-section {
    padding: 40px 0;
  }

  .ui-heading,
  .ui-contact-heading {
    font-size: 24px;
  }

  .ui-welcome-highlights {
    grid-template-columns: repeat(4, 1fr);
  }

  .ui-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .ui-principal-photo img {
    max-width: 260px;
    margin-bottom: 10px;
  }
}

@media (max-width: 767.98px) {
  .ui-welcome-img {
    height: 260px;
  }

  .ui-welcome-highlights {
    grid-template-columns: repeat(2, 1fr);
  }

  .ui-notice-item {
    flex-wrap: wrap;
    gap: 12px;
  }

  .ui-notice-link {
    flex-basis: 100%;
  }

  .ui-contact-grid {
    grid-template-columns: 1fr;
  }

  .ui-contact {
    text-align: left;
  }

  .col-lg-4.text-lg-end {
    text-align: left !important;
  }

  .ui-btn-light,
  .ui-btn-outline-light {
    margin: 8px 8px 0 0;
  }

  .ui-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .custome-section-title.text-lg-start {
    text-align: center;
  }
}

@media (max-width: 575.98px) {
  .ui-section {
    padding: 32px 0;
  }

  .ui-welcome-highlights {
    grid-template-columns: repeat(2, 1fr);
  }

  .ui-hl-num {
    font-size: 30px;
  }

  .ui-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ui-event {
    flex-direction: row;
  }

  .ui-news-media img,
  .ui-facility-media img {
    height: 180px;
  }
}
