/* Unity Skills College of Trade brand colours (from the logo) */
:root {
    --us-orange: #f3881e;        /* logo mark / primary */
    --us-orange-deep: #ef6422;   /* logo mark shadow / secondary */
    --us-amber: #fab314;         /* logo mark highlight */
    --us-orange-ink: #c2511a;    /* logo mark dark edge - headings on light */
    --us-orange-hover: #d9740f;
    --us-cream: #fdf2e6;         /* soft orange wash for section bands */
    --us-cream-strong: #fbe3cb;
    --us-grey: #6d6e71;          /* logo wordmark grey */
    --us-grey-dark: #3f4042;
    --us-grey-light: #f1f1f1;

    /* legacy aliases kept so older rules keep resolving */
    --primary-blue: var(--us-orange);
    --light-blue: var(--us-cream);
    --dark-blue: var(--us-grey-dark);
    --white: #fff;
    --gray: #f8f9fa;
    font-size: 90%;
  }
  


/* =========================
  Poppins – Thin (100)
  ========================= */
  @font-face {
    font-family: "Poppins";
    src: url("/fonts/Poppins-Thin.ttf") format("truetype");
    font-weight: 100;
    font-style: normal;
    font-display: swap;
  }
  @font-face {
    font-family: "Poppins";
    src: url("/fonts/Poppins-ThinItalic.ttf") format("truetype");
    font-weight: 100;
    font-style: italic;
    font-display: swap;
  }
  
  /* =========================
      ExtraLight (200)
      ========================= */
  @font-face {
    font-family: "Poppins";
    src: url("/fonts/Poppins-ExtraLight.ttf") format("truetype");
    font-weight: 200;
    font-style: normal;
    font-display: swap;
  }
  @font-face {
    font-family: "Poppins";
    src: url("/fonts/Poppins-ExtraLightItalic.ttf") format("truetype");
    font-weight: 200;
    font-style: italic;
    font-display: swap;
  }
  
  /* =========================
      Light (300)
      ========================= */
  @font-face {
    font-family: "Poppins";
    src: url("/fonts/Poppins-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
  }
  @font-face {
    font-family: "Poppins";
    src: url("/fonts/Poppins-LightItalic.ttf") format("truetype");
    font-weight: 300;
    font-style: italic;
    font-display: swap;
  }
  
  /* =========================
      Regular (400)
      ========================= */
  @font-face {
    font-family: "Poppins";
    src: url("/fonts/Poppins-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }
  @font-face {
    font-family: "Poppins";
    src: url("/fonts/Poppins-Italic.ttf") format("truetype");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
  }
  
  /* =========================
      Medium (500)
      ========================= */
  @font-face {
    font-family: "Poppins";
    src: url("/fonts/Poppins-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
  }
  @font-face {
    font-family: "Poppins";
    src: url("/fonts/Poppins-MediumItalic.ttf") format("truetype");
    font-weight: 500;
    font-style: italic;
    font-display: swap;
  }
  
  /* =========================
      SemiBold (600)
      ========================= */
  @font-face {
    font-family: "Poppins";
    src: url("/fonts/Poppins-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
  }
  @font-face {
    font-family: "Poppins";
    src: url("/fonts/Poppins-SemiBoldItalic.ttf") format("truetype");
    font-weight: 600;
    font-style: italic;
    font-display: swap;
  }
  
  /* =========================
      Bold (700)
      ========================= */
  @font-face {
    font-family: "Poppins";
    src: url("/fonts/Poppins-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
  }
  @font-face {
    font-family: "Poppins";
    src: url("/fonts/Poppins-BoldItalic.ttf") format("truetype");
    font-weight: 700;
    font-style: italic;
    font-display: swap;
  }
  
  /* =========================
      ExtraBold (800)
      ========================= */
  @font-face {
    font-family: "Poppins";
    src: url("/fonts/Poppins-ExtraBold.ttf") format("truetype");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
  }
  @font-face {
    font-family: "Poppins";
    src: url("/fonts/Poppins-ExtraBoldItalic.ttf") format("truetype");
    font-weight: 800;
    font-style: italic;
    font-display: swap;
  }
  
  /* =========================
      Black (900)
      ========================= */
  @font-face {
    font-family: "Poppins";
    src: url("/fonts/Poppins-Black.ttf") format("truetype");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
  }
  @font-face {
    font-family: "Poppins";
    src: url("/fonts/Poppins-BlackItalic.ttf") format("truetype");
    font-weight: 900;
    font-style: italic;
    font-display: swap;
  }
  
  
  
  body {
    font-family: 'Poppins', system-ui, -apple-system, sans-serif;
    font-weight: 400;
    /* font-size: 16px; */
    /* line-height: 1.6; */
    color: #333;
  }
  


  /* Navbar */
  .navbar {
    background-color: var(--white);
    --bs-navbar-padding-y: 0 !important; /* Reduce vertical padding */
    /* font-size: 90%; */
  }
  .navbar-brand {
    font-weight: bold;
    color: var(--dark-blue);
    padding-top: 3px;
    padding-bottom: 0;
  }

  .nav-link {
    color: black;
    font-size: larger;
    /* padding-left: 10px; */
  }

  .nav-link:hover {
    /* color: #cf8dbd; */
  }

  .nav-item {
    padding-left: 6px;
  }

  .nav-link.em {
    color: var(--us-orange-ink);
    font-weight: bold;
    border-bottom: 2px solid var(--us-orange);
  }
  .nav-underline {
    --bs-nav-underline-gap: 0.25rem;
  }
  .dropdown-item.em {
    /* color:#c1aa6a; */
    font-weight: bold;
    /* border-bottom: 2px solid #c785b5; */
  }

  
  .dropdown-item {
    color: black;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: larger;
  }

  .dropdown-item:hover {
    /* color: #cf8dbd; */
  }

  /* Bootstrap Navbar 三级菜单 + hover 打开 */
  /* 一级 hover 展开 */
  .navbar .dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
  }

  /* 二级 hover 展开三级菜单 */
  .dropdown-submenu {
    position: relative;
  }

  .dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    /* margin-left: 0.1rem; */
    display: none;
  }

  .dropdown-submenu:hover > .dropdown-menu {
    display: block;
  }

  /* 防止鼠标滑动闪烁 */
  .dropdown-menu {
    transition: opacity 0.15s ease;
  }
  @media (max-width: 991px) {
    body.mobile-nav-open {
      overflow: hidden;
    }

    .navbar {
      z-index: 1030;
    }

    .navbar-collapse.show,
    .navbar-collapse.collapsing {
      max-height: calc(100dvh - 72px);
      overflow-y: auto;
      overscroll-behavior: contain;
      -webkit-overflow-scrolling: touch;
      padding-bottom: calc(1rem + env(safe-area-inset-bottom));
    }

    .navbar-nav {
      padding: 0.75rem 0 1rem;
    }

    /* 1. 禁用所有 hover 展开（你已写） */
    .navbar .dropdown:hover > .dropdown-menu {
      display: none;
    }
  
    /* 2. 三级菜单改为堆叠样式（内嵌、无边框、缩进） */
    .dropdown-submenu {
      position: relative;
    }
    .dropdown-submenu > .dropdown-menu {
      position: static !important;   /* 取消绝对定位 */
      float: none;
      width: auto;
      margin-top: 0;
      background-color: transparent; /* 透出父菜单背景 */
      border: 0;
      box-shadow: none;
      padding-left: 1.25rem;        /* 缩进表示层级 */
      display: none;                 /* 默认隐藏 */
    }
  
    /* 3. 点击后显示子菜单（需配合 JS 添加 .open 类） */
    .dropdown-submenu.open > .dropdown-menu {
      display: block !important;
    }
  
    /* 4. 优化点击区域（为下拉箭头留出空间） */
    .dropdown-submenu > .dropdown-toggle {
      position: relative;
      padding-right: 2rem;
    }
    .dropdown-submenu > .dropdown-toggle::after {
      position: absolute;
      right: 1rem;
      top: 50%;
      transform: translateY(-50%);
    }
    /* 一级菜单内嵌化 */
    .navbar .dropdown .dropdown-menu {
      position: static !important;
      float: none;
      width: auto;
      margin-top: 0;
      background-color: transparent;
      border: 0;
      box-shadow: none;
      padding-left: 1rem;
      display: none;
    }
    .navbar .dropdown.open > .dropdown-menu {
      display: block;
    }
  }

  /* Sections */
  .hero {
    /* background-color: var(--primary-blue); */
    color: var(--white);
    padding: 100px 0;
  }
  .hero h1 {
    margin-top: 180px;
    text-align: left;
  }

  .footer {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 50px 0;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .hero {
      padding: 50px 0;
    }
  }


  /* Improved Waves with SVG (asymmetric lift on left) */

  
  /* Top Bar */
  .top-bar {
    background-color: #ebebeb;
    padding: 10px 0;
  }
  .btn-apply {
    background-color: var(--us-orange);
    color: var(--white);
    border-radius: 25px;
  }
  .btn-apply:hover {
    background-color: var(--us-orange-hover);
  }
  .search-icon {
    cursor: pointer;
    font-size: 1.2rem;
  }
  .search-form {
    display: none;
    margin-left: 10px;
  }
  
  a {
    text-decoration: none;
  }

  /* in-body links (policy PDFs, forms, inline references) */
  .content-links a {
    color: var(--us-orange-ink);
  }

  .content-links a:hover {
    color: var(--us-orange);
    text-decoration: underline;
  }

  .section-bg-banner {
    background-image: url('/images/bg-header-banner.png');
    background-size: cover; /* 覆盖整个区域 */
    background-position: center; /* 居中显示 */
    background-repeat: no-repeat;
    width: 100%;
    height: 700px;
  }
  .section-bg-banner2 {
    background-image: url('/images/bg-header-banner2.png');
    background-size: cover; /* 覆盖整个区域 */
    background-position: center; /* 居中显示 */
    background-repeat: no-repeat;
    width: 100%;
    height: 800px;
  }
  .section-bg-whyus {
    background-image: url('/images/bg-header-whyus.png');
    background-size: cover; /* 覆盖整个区域 */
    background-position: center; /* 居中显示 */
    width: 100%;
    height: 800px;
  }

  .section-bg-home {
    background-image: url('/images/bg-header-home.png');
    background-size: cover; /* 覆盖整个区域 */
    background-position: center; /* 居中显示 */
    width: 100%;
    height: 900px;
  }

  .section-bg-campus {
    background-image: url('/images/bg-header-campus.png');
    background-size: cover; /* 覆盖整个区域 */
    background-position: center; /* 居中显示 */
    width: 100%;
    height: 800px;
  }
  .section-bg-getintouch {
    background-image: url('/images/bg-header-getintouch.png');
    background-size: cover; /* 覆盖整个区域 */
    background-position: center; /* 居中显示 */
    width: 100%;
    height: 800px;
  }

/* Trade 网站颜色参考（取自新 logo）：

#f3881e  主橙
#ef6422  深橙
#fab314  琥珀
#c2511a  暗橙（浅底文字）
#6d6e71  品牌灰
#3f4042  深灰  */
.color-gold {
  color: var(--us-orange-ink);
}
.color-darkblack {
  color: #2b2b2d;
}
.color-lightgrey {
  color: #9a9b9e;
}
.color-darkgrey {
  color: #58595b;
}

.color-darkblue {
    color: var(--us-grey-dark);
  }
  .color-lightblue {
    color: var(--us-grey);
  }
  .color-white {
    color: white;
  }
  .color-yellow {
    color: var(--us-amber);
  }
  .bg-darkblue {
    background-color: var(--us-grey-dark);
  }
  .color-darkpurple {
    color: var(--us-orange-deep);
  }
  .color-lightpurple {
    color: var(--us-orange);
  }
  .bg-lightblue {
    background-color: var(--us-grey);
  }
  .bg-lightpurple1 {
    background-color: var(--us-orange);
  }
  .bg-lightpurple {
    background-color: var(--us-orange);
  }
  .bg-darkpurple {
    background-color: var(--us-orange-deep);
  }
  .color-dotpurple {
    color: var(--us-orange-deep);
  }
  .color-orange {
    color: var(--us-orange);
  }
  .color-lightgold {
    color: var(--us-orange);
  }
  .color-black {
    color: black;
  }

  .bg-lightgold3 {
    background-color: #ffb970;
  }
  .color-lightgold3 {
    color: #ffb970;
  }


  .bg-white-left-bottom {
    background-color: white;
    border-bottom-left-radius: 250px;
  }
  .bg-grey-right-bottom {
    background-color: #f1f1f1;
    border-bottom-right-radius: 160px;
  }
  .bg-grey-color {
    background-color: #f1f1f1;
  }
  .bg-white-color {
    background-color: white;
  }
  .bg-white {
    background-color: white;
  }
  .bg-black {
    background-color: black;
  }
  .bg-gold {
    background-color: var(--us-orange);
  }
  .bg-cream {
    background-color: var(--us-cream);
  }
  .bg-orange {
    background-color: var(--us-orange);
  }
  .bg-lightgold {
    background-color: var(--us-cream-strong);
  }
  .bg-lightgold2 {
    background-color: #f7d9b8;
  }
  .bg-lightblue-campus {
    background-color: var(--us-cream);
  }
  .bg-lightblue-left-bottom {
    background-color: white;
    border-bottom-left-radius: 160px;
  }
  /* Home bg */
  .bg-darkblue-round-right-bottom {
    background-color: var(--us-grey-dark);
    border-bottom-right-radius: 160px;
  }
  .bg-lightblue-round-left-bottom {
    background-color: var(--us-grey);
    border-bottom-left-radius: 160px;
  }
  .bg-darkpurple-round-left-bottom {
    background-color: var(--us-orange-deep);
    border-bottom-left-radius: 160px;
  }
  .bg-lightpurple-round-left-bottom {
    background-color: var(--us-orange);
    border-bottom-left-radius: 160px;
  }
  .bg-white-round-left-bottom {
    background-color: white;
    border-bottom-left-radius: 240px;
  }
  .bg-white-round-right-bottom {
    background-color: white;
    border-bottom-right-radius: 160px;
  }
  .bg-black-round-left-bottom {
    background-color: black;
    border-bottom-left-radius: 240px;
  }
  .bg-black-round-right-bottom {
    background-color: black;
    border-bottom-right-radius: 160px;
  }
  .bg-darkgrey-round-left-bottom {
    background-color: #242424;
    border-bottom-left-radius: 240px;
  }
  .bg-darkgrey-round-right-bottom {
    background-color: #242424;
    border-bottom-right-radius: 160px;
  }
  .bg-gold-round-left-bottom {
    background-color: var(--us-orange);
    border-bottom-left-radius: 240px;
  }
  .bg-gold-round-right-bottom {
    background-color: var(--us-orange);
    border-bottom-right-radius: 160px;
  }
  .bg-lightgold-round-left-bottom {
    background-color: #ffb970;
    border-bottom-left-radius: 240px;
  }
  .bg-lightgold-round-right-bottom {
    background-color: #ffb970;
    border-bottom-right-radius: 160px;
  }

  .btn {
    color: white;
    background-color: var(--us-orange);
    border-color: transparent;
  }

  .btn:hover {
    color: white;
    background-color: var(--us-orange-hover);
    border-color: transparent;
  }

  /* CTA sitting on top of an orange band */
  .btn.btn-on-orange {
    background-color: #fff;
    color: var(--us-orange-ink);
  }

  .btn.btn-on-orange:hover {
    background-color: var(--us-cream);
    color: var(--us-orange-ink);
  }

  /* secondary buttons: brand grey, so the orange CTA keeps the emphasis */
  .btn.bg-darkpurple,
  .btn.bg-lightblue,
  .btn.bg-darkblue,
  .btn.bg-black {
    background-color: var(--us-grey-dark);
  }

  .btn.bg-darkpurple:hover,
  .btn.bg-lightblue:hover,
  .btn.bg-darkblue:hover,
  .btn.bg-black:hover {
    background-color: #2b2b2d;
  }

/* grok 自定义轮播指示器 - 胶囊形背景 + 颜色匹配原型 */
.custom-carousel-indicators {
  height: 30px;
  position: relative;
  bottom: auto;
  left: auto;
  justify-content: center;
  /* padding: 8px 20px; */
  margin: 20px auto;
  padding-left: 20px;
  padding-right: 20px;
  width: fit-content;
  background-color: rgba(240, 244, 248, 0.9); /* 浅灰背景，带轻微透明 */
  border-radius: 50px; /* 胶囊形圆角 */
  backdrop-filter: blur(4px); /* 可选：轻微毛玻璃效果 */
  gap: 12px; /* 圆点间距 */
}

/* 未激活圆点 */
.custom-carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  background-color: #a6a6a6;
  border-radius: 50%;
  opacity: 1;
  margin: 0; /* 移除默认 margin */
  transition: all 0.3s ease;
}

/* 激活圆点 */
.custom-carousel-indicators .active {
  background-color: var(--us-orange);
  transform: scale(1.2); /* 稍微放大一点，更突出 */
}

.custom-carousel-bg-white {
  background-color: rgba(255, 255, 255, 0.9); /* 白色背景，带轻微透明 */
}
.custom-carousel-bg-gray {
  background-color: #f1f1f1;
}

.carousel-inner img {
  border-radius: 15px; /* Rounded images */
}


/* campus pictures */
/* 固定高度容器中的图片填满并居中裁剪 */
.img-cover-container {
  position: relative;
  height: 500px;                  /* 固定高度 */
  overflow: hidden;               /* 超出部分隐藏（裁剪） */
  border-radius: 12px;            /* 可选：圆角，与原型一致 */
  background-color: #f0f0f0;     /* 可选：加载时底色，避免白屏 */
}

.img-cover-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;              /* 核心：填满容器，居中裁剪，不变形 */
  object-position: center;        /* 居中显示主体内容 */
  transition: transform 0.4s ease; /* 可选：鼠标悬停放大效果 */
}

.img-cover-container:hover img {
  transform: scale(1.05);         /* 可选：轻微放大交互 */
}

.carousel-img-item {
  border-radius: 12px;
  height: 600px;
}

/* footer background image */
.section-bg-footer {
  background-image: url('/images/bg-footer.png');
  /* 关键：宽度撑满100%，高度按比例自动计算 */
  background-size: 100% auto;
  /* 从顶部对齐，超出部分（底部）自然裁剪 */
  background-position: center -220px;
  background-color: var(--us-orange);
  background-repeat: no-repeat;
  overflow: hidden; 
  /* width: 100%; */
  /* min-height: 780px; */
  /* overflow: hidden; */
  padding-bottom: 0;
}

.footer-start-here {
  padding-top: 20px;
  padding-bottom: 20px;
  color: black;
}
.footer-start-here-btn {
  border-radius: 25px;
}

.footer-logo-row {
  height: 200px;
  /* margin-top: 140px; */
  /* margin-left: 5%; */
  /* margin-right: 5%; */
}
.footer-nav-row {
  /* margin-left: 5%; */
  /* margin-right: 5%; */
}
.footer-nav-row a {
  color: white;
  text-decoration: none;
}
.footer-nav-row a:hover {
  text-decoration: underline;
}

.copyright-row {
  margin-top: 10px;
}

@media (max-width: 480px) {
  footer {
    /* 小屏改为覆盖模式，图片会略微放大填满，保持顶部对齐 */
    background-size: cover;
    background-position: top center;
  }
}

.campus-img {
  border-radius: 60px;
}

.campus-location-img {
  border-radius: 30px;
}

.home-excellent-img {
  position: relative;
  height: 180px;
  max-height: 300px;
}
.home-excellent-img img {
  width: auto;
  height: 95%;
  object-fit: contain;
}
.home-excellent-num {
  font-size: 80px;
}

.partner-logo-img {
  max-height: 100px;
  object-fit: contain;
  margin: 0 13px;
}


/* 课程详情页专用样式 */
.course-hero {
  background: linear-gradient(to bottom, #f8f9fa 0%, #e9ecef 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.course-hero .wave-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
}

.info-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  padding: 20px;
}

.unit-table th {
  background-color: var(--us-orange);
  color: white;
}

.unit-table .core th {
  background-color: var(--us-orange);
}

.unit-table .elective th {
  background-color: var(--us-grey);
}

.pathway-btn {
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 50px;
  padding: 10px 20px;
  margin: 0 10px 10px 0;
}

.rpl-box {
  background: var(--us-cream);
  border-left: 5px solid var(--us-orange);
  border-radius: 8px;
}

.start-now-btn {
  background: var(--us-orange);
  color: white;
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: bold;
}


.course-requirement-box {
  background-color: white;
  border-radius: 30px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  padding-top: 20px;
  padding-bottom: 20px;
  /* padding-left: 30px; */
  /* padding-right: 30px; */
  /* max-width: 80%;
  width: 80%; */
}

.course-requirement-note {
  background-color: var(--us-cream);
}

/* 灰色背景层容器（应用到你的 section） */
.course-requirement-gray-bg {
  position: relative;              /* 关键：建立定位上下文 */
  background-color: #ffffff;       /* section 本身白色背景 */
  overflow: hidden;                /* 可选：防止圆角溢出 */
  
}

/* 固定灰色背景层 */
.course-requirement-gray-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1000px;                   /* 固定高度 800px */
  background-color: #f1f1f1;       /* 灰色背景，可调整为 #e9ecef 等 */
  border-bottom-left-radius: 160px;  /* 左下角大圆角扬起（调整数值控制扬起程度） */
  /* 如果想更“扬起”一点（非标准圆角），可以用下面 SVG 波浪替代 */
  z-index: 0;                      /* 放在内容下方 */
}

/* 确保内容文字在背景之上，不受影响 */
.course-requirement-gray-bg > * {
  position: relative;
  z-index: 1;
}

.course-pathway-img {
  border-radius: 20px;
  max-height: 500px;
  object-fit: cover;
}

.course-pathway-btn {
  border-radius: 25px;
  padding-top: 0px;
  padding-bottom: 0px;
}

.course-pathway-card {
  border-radius: 30px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  /* padding: 20px; */
}
.course-pathway-card-body {
  min-height: 66px;
  height: 90px;
}

.course-emp-pathway {
  border-radius: 30px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  background-color: white;
  margin-top: 60px;
  padding-top: 50px;
}

.course-str-label {
  border-radius: 25px;
  display: block;
  width: 240px;
  padding-left: 20px;
}
.course-code1 {
  padding-left: 30px;
  border-radius: 25px 0 0 25px;
  background-color: white;
  color: black;
}
.course-code2 {
  /* padding-left: 20px; */
  border-radius: 0 25px 25px 0;
  background-color: white;
  color: black;
}
.course-code3 {
  padding-left: 30px;
  border-radius: 25px 0 0 25px;
  background-color: #f9f9f9;
  color: black;
}
.course-code4 {
  /* padding-left: 20px; */
  border-radius: 0 25px 25px 0;
  background-color: #f9f9f9;
  color: black;
  width: 70%;
}
.course-rpl-img {
  border-radius: 30px;
  width: 100%;
  object-fit: cover;
}
.course-rpl-box {
  border-radius: 0 25px 25px 0;
}

.contact-card {
  border: 1px solid #ddd;
  min-height: 430px;
}
.contact-card-img1 {
  width: 200px;
  height: 200px;
  clip-path: inset(15% 12% 15% 12%);
  transform: scale(1.5);
}
.contact-card-img2 {
  width: 200px;
  height: 200px;
  clip-path: inset(15% 12% 15% 12%);
  transform: scale(1.5) rotate(-6deg);
}
.contact-card-img3 {
  width: 200px;
  height: 200px;
  clip-path: inset(16% 12% 14% 12%);
  transform: scale(1.5) translate(0, -10px);
}
.contact-card-btn {
  border-radius: 25px;
  min-width: 180px;
}
.contact-form-box {
  box-shadow: 1px 1px 8px rgba(0,0,0,0.3);
  border: 1px solid #aaa;
}
.contact-input {
  background-color: var(--us-cream);
  border: 0;
}

.college-carousel-item {
  height: 500px;
}

.campus-location-img-box {
  position: relative;           /* 建立定位上下文（可选，但推荐） */
  overflow: hidden;             /* 核心：超出部分隐藏 */
  transition: box-shadow 0.3s ease;  /* 可选：容器 hover 时加阴影 */
  border: 1px solid #dee2e6;    /* 边框放在容器上 */
  border-radius: 30px;          /* 圆角也放在容器上 */
}

.campus-location-img-box:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);  /* 可选：hover 抬升感 */
}

.campus-location-img {
  border-radius: 30px;
  transition: transform 0.4s ease;   /* 平滑过渡 */
  transform-origin: center center;   /* 从中心放大 */
}

.campus-location-img-box:hover .campus-location-img {
  transform: scale(1.12);   /* 放大 12%，可调 1.1 ~ 1.2 之间最自然 */
}

.campus-location-img-frame:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);  /* 可选：hover 抬升感 */
}

