/* Poppins is loaded from Google Fonts in the HTML files */
:root {
  --royal-blue: #0b3d91; /* primary: royal blue */
  --soft-blue: #6fa8dc; /* secondary / mild */
  --muted: #555b6e;
  --bg: #f7f9fc;
  --surface: #ffffff;
}

* {
  box-sizing: border-box;
}
body {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  background: var(--bg);
  color: #2d2d2d;
  line-height: 1.6;
  margin: 0;
}

/* Navbar */
.navbar {
  background: var(--surface);
  padding: 0.6rem 0;
}
.navbar .navbar-brand {
  color: #0c0c0c;
  font-weight: 600;
  letter-spacing: 0.2px;
}
.navbar .nav-link {
  color: rgba(0, 0, 0, 0.9);
  font-size: 0.95rem;
  font-weight: 400;
}

/* Announcement */
.announcement {
  background: linear-gradient(
    90deg,
    rgba(11, 61, 145, 0.95),
    rgba(11, 61, 145, 0.85)
  );
  color: #fff;
  padding: 8px 12px;
  font-size: 0.95rem;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(11, 61, 145, 0.08);
}

/* Hero slide */
.hero-slide {
  width: 100%;
  height: 500px;
  background-size: cover;
  background-position: center;
  border-radius: 6px;
}
.carousel-caption {
  bottom: 40px;
}
.hero-title {
  font-weight: 500;
  color: #fff;
  font-size: 28px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

/* Titles & sections — avoid heavy bolds; use medium weights */
.title-section {
  margin: 18px 0 12px;
}
.title-main {
  color: var(--royal-blue);
  font-size: 22px;
  font-weight: 500; /* medium */
  margin-bottom: 4px;
}
.title-sub {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 0;
}

/* Section headings */
.section-heading {
  color: var(--royal-blue);
  font-size: 16px;
  margin-bottom: 8px;
  font-weight: 500;
}
.mini-heading {
  color: var(--royal-blue);
  font-weight: 500;
  font-size: 14px;
}

/* Cards and layout */
.card {
  background: var(--surface);
  border-radius: 8px;
  box-shadow: 0 1px 8px rgba(19, 26, 40, 0.04);
  border: none;
}
.muted {
  color: #495057;
  font-size: 15px;
}

/* Buttons */
.btn-theme {
  background: var(--royal-blue);
  color: #fff;
  border-radius: 6px;
  font-weight: 500;
  border: none;
}
.btn-theme:hover {
  background: var(--soft-blue);
  color: #fff;
}

/* Footer */
.site-footer {
  background: linear-gradient(180deg, #072a6f 0%, #0b3d91 100%);
  color: #fff;
  margin-top: 24px;
}

/* Responsive tweaks */
@media (max-width: 767px) {
  .hero-slide {
    height: 220px;
  }
  .title-main {
    font-size: 20px;
  }
  .announcement {
    font-size: 13px;
  }
}

.announcement-marquee {
  height: 450px;
  overflow: hidden;
  padding-right: 5px;
}

.announcement-marquee ul li {
  margin-bottom: 18px;
  font-size: 15px;
  line-height: 1.6;
}
.mini-card {
  height: 50px;
  border-radius: 6px;
  background: #fff;
  transition: 0.2s ease;
  cursor: pointer;
}

.mini-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.modal-content {
  border-radius: 10px;
}

/* Wrapper */
.announcement-bar {
  display: flex;
  align-items: center;
  background: #f7f4f2; /* light cream background */
  border: 1px solid #eee;
  overflow: hidden;
  height: 40px;
  font-family: Arial, sans-serif;
}

/* Left Label */
.announcement-labels {
  background: var(--royal-blue);
  color: #fff;
  font-weight: 600;
  padding: 0 15px;
  font-size: 15px;
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
}

.announcement-labels::after {
  content: "";
  position: absolute;
  right: -10px;
  width: 0;
  height: 0;
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  border-left: 20px solid var(--royal-blue);
}

/* Content Area */
.announcement-content {
  flex: 1;
  padding: 0 10px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #f7f4f2;
}

/* Each announcement item */
.announcement-item {
  display: inline-block;
  padding: 0 15px;
  font-size: 15px;
  color: #000;
  white-space: nowrap;
  position: relative;
}

.announcement-item::after {
  content: "|";
  color: #c99b8e;
  padding-left: 15px;
}
.announcement-item:last-child::after {
  content: "";
}

.announcement-content span {
  font-style: italic;
}

.announcement-content span {
  font-style: italic;
  border-right: 1px solid blue;
  padding-right: 10px;
}

.ed-com-t1-left ul {
  list-style-type: none;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0px;
}

.top-nav {
  background-color: var(--royal-blue);
}

.icon-bg {
  background: #eee;
  padding: 0px 5px;
  border-radius: 4px;
  font-size: 13px;
  color: #000;
}
.icon-bg:hover {
  background: var(--soft-blue);
  color: #fff;
}
.icon-bg i:hover {
  color: #fff;
}
.icon-spacing {
  margin-left: 8px;
}

.breadcrumb {
  background: transparent;
  font-size: 0.9rem;
}

.breadcrumb a {
  text-decoration: none;
  color: #6c757d;
}

.breadcrumb .active {
  color: #212529;
  font-weight: 500;
}
.breadcrumb a:hover {
  text-decoration: underline;
}

.gal-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
}
