/* Entire style scoped under #unique-ethos-carousel to avoid collisions */
#unique-ethos-carousel {
  --bg: #0f2436;
  /* dark navy background */
  --accent: #ff6b2d;
  /* orange for next button */
}

#unique-ethos-carousel .uec-wrapper {
  background: var(--bg);
  color: #fff;
  padding: 90px 40px 80px;
  position: relative;
}

/* Title on top-left like your screenshot */
#unique-ethos-carousel .uec-title {
  font-size: 34px;
  letter-spacing: 6px;
  margin: 6px 0 28px 120px;
  /* pushed right so left gap lines up with slides */
  text-transform: uppercase;
  text-align: left;
}

/* Swiper container - left gap and right padding produce the half-peek */
#unique-ethos-carousel .uec-swiper {
  padding-left: 120px;
  /* GAP on left before first slide */
  padding-right: 90px;
  /* allow peek on right */
}

/* Each slide */
#unique-ethos-carousel .uec-slide {
  height: 520px;
  /* tall card like screenshot */
  border-radius: 2px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.25);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* serif overlay text centered, multi-line */
#unique-ethos-carousel .uec-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.45) 100%
  );
}

#unique-ethos-carousel .uec-overlay h3 {
  font-size: 34px;
  line-height: 1.04;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0 0 10px;
  color: #ffffff;
}

#unique-ethos-carousel .uec-overlay a {
  display: inline-block;
  margin-top: 14px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  opacity: 0.95;
}

/* Make slides spaced similarly to screenshot */
#unique-ethos-carousel .swiper-slide {
  width: 360px !important;
  /* fixed width for consistent look */
  flex-shrink: 0;
}

/* Navigation container (below the slider) */
#unique-ethos-carousel .uec-nav {
  margin-top: 26px;
  margin-left: 120px;
  /* line up with left gap */
  display: flex;
  gap: 12px;
  align-items: center;
}

/* circular buttons */
#unique-ethos-carousel .uec-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

#unique-ethos-carousel .uec-prev {
  background: #fff;
}

#unique-ethos-carousel .uec-prev svg {
  fill: #222;
}

#unique-ethos-carousel .uec-next {
  background: var(--accent);
}

#unique-ethos-carousel .uec-next svg {
  fill: #fff;
}

/* Small responsive tweaks */
@media (max-width: 1100px) {
  #unique-ethos-carousel .uec-title {
    margin-left: 60px;
    font-size: 28px;
  }

  #unique-ethos-carousel .uec-swiper {
    padding-left: 60px;
    padding-right: 50px;
  }

  #unique-ethos-carousel .swiper-slide {
    width: 300px !important;
    height: 460px;
  }

  #unique-ethos-carousel .uec-nav {
    margin-left: 60px;
  }
}

@media (max-width: 700px) {
  #unique-ethos-carousel .uec-title {
    text-align: center;
    margin-left: 0;
  }

  #unique-ethos-carousel .uec-swiper {
    padding-left: 20px;
    padding-right: 20px;
  }

  #unique-ethos-carousel .swiper-slide {
    width: 260px !important;
    height: 420px;
  }

  #unique-ethos-carousel .uec-nav {
    justify-content: center;
    margin-left: 0;
  }
}

.admissions-section {
  background-color: #d8ccc6;
  padding: 60px 40px;
  color: #1c1c2b;
  text-align: center;
}

.admissions-cards {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.admission-card {
  background-color: transparent;
  width: 260px;
  text-align: left;
}

.admission-card img {
  width: 100%;
  height: auto;
  transition: transform 0.4s ease;
  margin-bottom: 15px;
}

.admission-card:hover img {
  transform: scale(1.05);
}

.admission-card h3 {
  font-size: 32px;
  letter-spacing: 1px;
  margin: 15px 0;
}

.admission-card p {
  font-size: 16px;
  margin-bottom: 15px;
  line-height: 1.5;
}

.admission-link {
  color: #1c1c2b;
  font-weight: bold;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.admission-link .arrow {
  display: inline-block;
  background-color: #f15a29;
  color: white;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  text-align: center;
  line-height: 26px;
  font-size: 14px;
  margin-left: 10px;
}

.bg-thick {
  background-color: #d8ccc6 !important;
}

.small {
  font-size: 0.9rem;
  color: #555;
}

.msg {
  margin-top: 12px;
  padding: 10px;
  border-radius: 6px;
  display: none;
}

.msg.success {
  color: #065f2d;

  display: block;
}

.msg.error {
  color: #8b1e1e;

  display: block;
}

.slide-content {
  position: absolute;

  left: 10%;
  color: #fff;
  opacity: 0;
  transform: translateY(100px);

  transition: all 0.8s ease;
}

.swiper-slide-active .slide-content {
  opacity: 1;
  transform: translateY(0);
}

.menu-section-menus {
  font-size: 36;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.menu-section-menus ul {
  list-style: none;
  padding: 0;
}

.menu-section-menus ul li {
  margin: 0;
  padding: 6px 10px;
  border-bottom: 2px solid #e9e9e9;
  text-decoration: none;
  background-color: #f9f9f9;
  align-items: center;
}

.menu-section-menus ul li a {
  text-decoration: none;
  font-size: 26px;
  font-family: "worksans", sans-serif;
  color: #7f2730;
  font-weight: bold;
  transition: transform 0.3s ease, color 0.3s ease, font-size 0.3s ease;
  display: inline-block;
}

.menu-section-menus a:hover {
  transform: scale(1.1);
  color: #f79320;
  font-weight: 600;
}

.news-events-section {
  background: #f4f4f4;
  padding: 60px 20px;
}

.news-container {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
  align-items: flex-start;
}

.news-left {
  flex: 1;
  padding-top: 100px;
}

.news-left h5 {
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 10px;
  color: #333;
}

.news-left h2 {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #222;
  line-height: 1.2;
}

.news-left h2 .highlight {
  color: #7e2d45;
}

.news-left p {
  font-size: 15px;
  color: #555;
  margin-bottom: 30px;
  line-height: 1.6;
}

.learn-more-btn {
  padding: 12px 24px;
  background: #fff;
  border: 1px solid #ccc;
  text-decoration: none;
  color: #000;
  font-weight: 500;
}

.news-right {
  flex: 2;
}

.swiper {
  overflow: visible;
}

.news-card {
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.06);
  width: 75%;
  margin-right: 30px;
}

.news-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  margin-bottom: 15px;
}

.news-date {
  padding: 20px;
  display: inline-block;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 12px;
  color: #333;
  margin-bottom: 10px;
}

.news-date .day {
  font-size: 20px;
  font-weight: bold;
  display: block;
}

.news-card h4 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #000;
}

.news-card p {
  font-size: 14px;
  color: #555;
  margin-bottom: 10px;
}

.read-more {
  color: #7e2d45;
  font-size: 13px;
  font-weight: bold;
  text-decoration: none;
}

.news-nav {
  position: relative;
  top: 42px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.swiper-button-prev,
.swiper-button-next {
  background: #fff;
  border: 1px solid #ccc;
  width: 40px;
  height: 40px;
  color: #000;
  border-radius: 50%;
  transition: 0.3s ease;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background: #ddd;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 16px;
}

.about-section {
  background-color: #f6f6f6;
  display: flex;
  align-items: stretch;
  justify-content: center;
  position: relative;
  padding: 150px 0 4px 0;
}

/* Vertical Blue Line */
.about-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 6%;
  height: 0;
  /* Initially 0 */
  width: 6px;
  background: #7b1315;
  transition: height 1.5s ease;
}

.hero-download {
  position: relative;
  /* important */
  background: #f6f6f6;
  padding: 100px 0;
  overflow: hidden;
  /* safe */
}

/* Blue vertical line */
.hero-download::before {
  content: "";
  position: absolute;
  top: 0;
  left: 6%;
  height: 0;
  /* Initially hidden */
  width: 6px;
  background: #0076d6;
  transition: height 1.5s ease;
  z-index: 10;
  /* Keep it above background */
}

/* Animate when visible */
.hero-download.animate::before {
  height: 100%;
}

.news-events-section {
  position: relative;
  padding: 110px 0;
  overflow: hidden;
  /* safe */
}

/* Blue vertical line */
.news-events-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 6%;
  height: 0;
  /* Initially hidden */
  width: 6px;
  background: #f79320;
  transition: height 1.5s ease;
  z-index: 10;
  /* Keep it above background */
}

/* Animate when visible */
.news-events-section.animate::before {
  height: 100%;
}

.enrolment-section {
  position: relative;
  /* important */
  background: #f6f6f6;
  padding: 100px 0;
  overflow: hidden;
  /* safe */
}

/* Blue vertical line */
.enrolment-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 6%;
  height: 0;
  /* Initially hidden */
  width: 6px;
  background: #7b1315;
  transition: height 1.5s ease;
  z-index: 10;
  /* Keep it above background */
}

/* Animate when visible */
.enrolment-section.animate::before {
  height: 100%;
}

/* Horizontal Yellow Line */
.about-section::after {
  content: "";
  position: absolute;
  top: 68px;
  left: 0;
  width: 0;
  /* Initially 0 */
  height: 6px;
  background: #0f4221;
  transition: width 1.5s ease;
}

/* Active state when section is visible */
.about-section.animate::before {
  height: 100%;
  /* full height */
}

.about-section.animate::after {
  width: 100%;
  /* full width */
}

.about-left {
  width: 40%;
  padding: 85px 0 0 136px;
  box-sizing: border-box;
}

.about-right {
  width: 60%;
  padding: 0;
  box-sizing: border-box;
}

.about-right img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: -14px 14px 0px #8b1c3d;
}

.about-bottom {
  max-width: 1000px;
  margin: 30px auto;
  text-align: start;
  font-size: 14px;
  line-height: 1.6;
  color: #444;
  padding: 30px;
}

.learn-btn {
  background: #f79320;
  color: #333;
  padding: 12px 30px;
  text-decoration: none;
  display: inline-block;
  margin-top: 20px;
  font-weight: bold;
  border: none;
  cursor: pointer;
}

.learn-btn:hover {
  background: #e6c200;
}

/* --- SEARCH UI STYLES --- */
.search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

/* search box collapsed (only button visible) */
.search-box {
  display: flex;
  align-items: center;
  width: 44px;
  /* collapsed width (show only button) */
  transition: width 260ms ease, box-shadow 260ms ease;
  background: #fff;
  border-radius: 26px;
  border: 1px solid #ddd;
  overflow: hidden;
  height: 40px;
}

/* expanded state */
.search-box.active {
  width: 260px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

/* input */
#site-search {
  flex: 1;
  border: 0;
  outline: none;
  padding: 8px 10px;
  min-width: 0;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 200ms ease, transform 200ms ease;
  font-size: 14px;
}

/* show input when active */
.search-box.active #site-search {
  opacity: 1;
  transform: translateX(0);
}

/* button */
#search-btn {
  width: 44px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 16px;
  color: #333;
}

/* suggestions box */
.suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-top: none;
  z-index: 50;
  max-height: 250px;
  overflow-y: auto;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.suggestion {
  padding: 10px 12px;
  cursor: pointer;
}

.suggestion small {
  display: block;
  color: #666;
  margin-top: 4px;
  font-size: 12px;
}

.suggestion:hover,
.suggestion.active {
  background: #f3f3f3;
}

.hidden {
  display: none;
}

/* small responsive tweak */
@media (max-width: 420px) {
  .search-box.active {
    width: calc(100% - 16px);
  }
}

.dws-welcome-section {
  background: #fff;
  font-family: "Poppins", sans-serif;
  margin-top: -60px;
}

.dws-welcome-section .welcome-title {
  font-size: 4rem;
  font-weight: 600;
  color: #111827;
}

.dws-welcome-section .welcome-title span {
  color: #8b0000;
  /* Maroon accent */
}

.dws-welcome-section .graduation-icon {
  font-size: 5.5rem;
}

.dws-welcome-section .welcome-subtitle {
  font-size: 1.75rem;
  font-weight: 500;
  color: #222;
}

.dws-welcome-section .welcome-description {
  font-size: 1rem;
  font-weight: 900;
  color: #444;
  max-width: 900px;
  margin: 0 auto;
}
