* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --blue: #003f7d;
  --dark-blue: #03407a;
  --footer-blue: #0f5a9c;
  --red: #d71920;
  --text: #222;
  --muted: #555;
  --bg: #f4f6f9;
  --white: #fff;
  --border: #e5e5e5;
  --shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

body {
  font-family: "Roboto", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

/* HEADER */

.header {
  background: var(--blue);
  position: sticky;
  top: 0;
  z-index: 999;
}

.top-menu {
  background: var(--blue);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.top-menu-inner {
  min-height: 34px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.top-menu-inner a {
  color: #fff;
  font-size: 13px;
  font-weight: 500;
}

.top-menu-inner a:hover {
  color: #ffd34d;
}

.main-header {
  background: var(--blue);
}

.main-header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand img {
  height: 54px;
  width: auto;
}

.nav-toggle {
  display: none;
  background: #fff;
  color: var(--blue);
  border: 0;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 20px;
  cursor: pointer;
}

.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav li {
  position: relative;
}

.main-nav > ul > li > a {
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 22px 0;
  white-space: nowrap;
}

.main-nav > ul > li > a:hover {
  color: #ffd34d;
}

.home-icon {
  font-size: 18px !important;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 260px;
  background: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.25s;
  z-index: 999;
}

.main-nav li:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 12px 16px;
  color: #222;
  font-size: 14px;
  border-bottom: 1px solid #eee;
}

.dropdown a:hover {
  background: #eef7ff;
  color: var(--blue);
}

/* HERO */

.hero-slider {
    position: relative;
    width: 100%;
    height: 535px;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: none;
    cursor: pointer;
    z-index: 10;
    font-size: 28px;
    background: rgba(255,255,255,.6);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

/* QUICK LINKS */

.quick-links {
  background: var(--bg);
  padding: 18px 14px 12px;
  border-bottom: 5px solid #68aeca;
}

.quick-grid {
  max-width: 1125px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
}

.quick-card {
  height: 55px;
  background: #0b4078;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: 0.25s;
}

.quick-card:hover {
  background: #0f5a9c;
}

.quick-card h3 {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.quick-icon {
  display: none;
}

/* NEWS + ANNOUNCEMENT */

.news-announcement {
  max-width: 1200px;
  margin: 0 auto;
  padding: 25px 0 35px;
  display: grid;
  grid-template-columns: 780px 380px;
  gap: 20px;
  align-items: stretch;
}

.news-box,
.announcement-box {
  background: #fff;
  border-radius: 5px;
  padding: 20px 24px;
  min-height: 540px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.news-box h2,
.announcement-box h2 {
  color: #003f7f;
  font-size: 24px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.news-content {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 18px;
}

.news-main img {
  width: 100%;
  height: 255px;
  object-fit: cover;
}

.news-main h3 {
  margin: 14px 0 10px;
  color: #333;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 800;
}

.news-main p {
  color: #444;
  font-size: 14px;
  line-height: 1.75;
  text-align: justify;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.news-item {
  display: grid;
  grid-template-columns: 95px 1fr;
  gap: 10px;
  align-items: start;
}

.news-item img {
  width: 95px;
  height: 70px;
  object-fit: cover;
}

.news-item p {
  color: #333;
  font-size: 13px;
  line-height: 1.6;
  text-align: justify;
}

.announcement-box {
  border-top: 2px solid #004b93;
  position: relative;
  padding-bottom: 38px;
}

.announcement-box li {
  color: #333;
  font-size: 14px;
  line-height: 1.75;
  padding: 11px 0;
  border-bottom: 1px dotted #ccc;
}

.announcement-box li::before {
  content: "»";
  color: #004b93;
  font-weight: 700;
  margin-right: 8px;
}

.announcement-box .read-more {
  position: absolute;
  right: 24px;
  bottom: 12px;
  color: #0056a8;
  font-size: 14px;
}

/* COMMON SECTIONS */

section {
  padding: 45px 0;
}

.alt-bg {
  background: var(--bg);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.section-title,
.section-title h2 {
  text-align: center;
  color: var(--blue);
  font-size: 28px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.read-more {
  color: #0056a8;
  font-size: 14px;
}

/* EVENTS */

.events-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 12px 28px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 12px;
}

.events-left,
.perspective-box {
  background: #fff;
  border-radius: 4px;
}

.events-left {
  padding: 20px 24px;
}

.events-content {
  display: grid;
  grid-template-columns: 365px 1fr;
  gap: 20px;
}

.event-main img {
  width: 100%;
  height: 270px;
  object-fit: cover;
}

.event-main h3 {
  margin: 14px 0 12px;
  font-size: 21px;
  line-height: 1.35;
  font-weight: 900;
  color: #333;
  text-align: justify;
}

.event-main p {
  font-size: 15px;
  line-height: 1.75;
  color: #333;
  text-align: justify;
}

.event-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.event-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 10px;
}

.event-item img {
  width: 100px;
  height: 72px;
  object-fit: cover;
}

.event-item p {
  font-size: 15px;
  line-height: 1.65;
  color: #333;
  text-align: justify;
}

.perspective-box {
  padding: 0 14px 14px;
  border-top: 3px solid #003f7d;
}

.perspective-box h2 {
  color: #003f7d;
  font-size: 24px;
  font-weight: 900;
  text-transform: uppercase;
  padding: 12px 0 16px;
}

.perspective-box li {
  padding: 14px 0;
  border-bottom: 1px dotted #ccc;
  font-size: 15px;
  line-height: 1.65;
  color: #333;
  text-align: justify;
}

.perspective-box li::before {
  content: "»";
  color: #0056a8;
  font-weight: 900;
  margin-right: 12px;
}

.perspective-box a {
  display: block;
  text-align: right;
  margin-top: 8px;
  color: #0056a8;
  font-size: 15px;
}

@media (max-width: 992px) {
  .events-layout {
    grid-template-columns: 1fr;
  }

  .events-content {
    grid-template-columns: 1fr;
  }
}

/* Student*/

.student-media-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 12px 28px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 12px;
}

.student-left {
  background: #fff;
  border-radius: 4px;
  padding: 20px 24px;
}

.student-content {
  display: grid;
  grid-template-columns: 365px 1fr;
  gap: 20px;
}

.student-main img {
  width: 100%;
  height: 275px;
  object-fit: cover;
}

.student-main h3 {
  margin: 14px 0 12px;
  font-size: 21px;
  line-height: 1.35;
  font-weight: 900;
  color: #333;
  text-align: justify;
}

.student-main p {
  font-size: 15px;
  line-height: 1.75;
  color: #333;
  text-align: justify;
}

.student-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.student-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 10px;
}

.student-item img {
  width: 100px;
  height: 72px;
  object-fit: cover;
}

.student-item p {
  font-size: 15px;
  line-height: 1.65;
  color: #333;
  text-align: justify;
}

.media-sidebar {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.media-sidebar a {
  display: block;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
}

.media-sidebar img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 992px) {
  .student-media-layout {
    grid-template-columns: 1fr;
  }

  .student-content {
    grid-template-columns: 1fr;
  }
}

/* MEDIA RIGHT BOX */

.media-band {
  max-width: 1200px;
  margin: 0 auto 30px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.media-card {
  min-height: 160px;
  border-radius: 5px;
  padding: 24px;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}

.media-card h3 {
  font-size: 24px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.media-card p {
  font-size: 15px;
  line-height: 1.5;
}

/* RESPONSIVE */

@media (max-width: 992px) {
  .card-grid {
    grid-template-columns: 1fr;
  }

  .media-band {
    grid-template-columns: 1fr;
  }

  .post-card img {
    height: 240px;
  }
}

/* RESPONSIVE */

@media (max-width: 992px) {
  .card-grid {
    grid-template-columns: 1fr;
  }

  .media-band {
    grid-template-columns: 1fr;
  }

  .post-card img {
    height: 240px;
  }
}

/* SCIENCE */

.stats {
  background: #fff;
  padding: 55px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 30px;
}

.section-header h2 {
  color: #003f87;
  font-size: 24px;
  font-weight: 900;
  text-transform: uppercase;
}

.science-stats {
  max-width: 1150px;
  margin: 0 auto 45px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

.stat-item {
  text-align: center;
}

.stat-item h3 {
  color: #003f87;
  font-size: 34px;
  font-weight: 500;
  margin-bottom: 4px;
}

.stat-item p {
  color: #003f87;
  font-size: 16px;
  line-height: 1.45;
  text-transform: uppercase;
}

.science-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.science-card {
  background: #fff;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
}

.science-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.science-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.science-card h4 {
  text-align: center;
  padding: 18px 10px;
  color: #003f87;
  font-size: 17px;
  font-weight: 500;
}

/* PARTNERS */

.partners-grid {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 14px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.partner-item {
  height: 96px;
  background: #fff;
  border: 1px solid #e3e3e3;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.25s;
}

.partner-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.partner-item img {
  max-width: 75%;
  max-height: 62px;
  object-fit: contain;
}

/* CAMPUS */

.campus-section {
  background: var(--bg);
  padding: 35px 0 45px;
}

.campus-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.campus-card {
  background: #fff;
  border-radius: 5px;
  overflow: hidden;
  transition: 0.25s;
}

.campus-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.campus-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.campus-title {
  text-align: center;
  padding: 17px 0;
  color: #004b93;
  font-size: 17px;
  font-weight: 500;
  text-transform: uppercase;
}

/* FOOTER */

.footer {
  background: var(--footer-blue);
  color: #fff;
  font-family: Arial, sans-serif;
}

.footer-main {
  min-height: 290px;
  padding: 32px 60px;
  display: grid;
  grid-template-columns: 70px 280px 500px 280px;
  justify-content: center;
  gap: 60px;
  background:
    linear-gradient(rgba(15, 90, 156, 0.94), rgba(15, 90, 156, 0.94)),
    url("../images/footer-bg.png");
  background-size: cover;
  background-position: center;
}

.footer-logo img {
  width: 55px;
  height: auto;
}

.footer-headquarter {
  justify-self: center;
  width: 500px;
}

.footer-col h3 {
  font-size: 17px;
  margin-bottom: 14px;
  font-weight: 700;
}

.footer-col p,
.footer-col a {
  display: block;
  color: #fff;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 10px;
}

.footer-col iframe {
  width: 260px;
  height: 140px;
  border: 0;
  margin-top: 2px;
}

.mt {
  margin-top: 28px;
}

.socials {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}

.socials a {
  width: 40px;
  height: 40px;
  background: #1f75bd;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  font-weight: bold;
}

.footer-bottom {
  background: #0b477d;
  text-align: center;
  padding: 20px 10px;
  font-size: 14px;
  font-weight: 600;
}

/* BACK TO TOP */

.back-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  z-index: 99;
}

/* RESPONSIVE */

@media (max-width: 1200px) {
  .news-announcement {
    width: calc(100% - 28px);
    grid-template-columns: 1.7fr 360px;
  }

  .news-content {
    grid-template-columns: 330px 1fr;
  }

  .partners-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-main {
    grid-template-columns: 70px 260px 420px 240px;
    gap: 35px;
    padding: 30px 35px;
  }

  .footer-headquarter {
    width: 420px;
  }
}

@media (max-width: 992px) {
  .top-menu {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    width: 100%;
    background: var(--blue);
    padding: 10px 20px;
  }

  .main-nav.active {
    display: block;
  }

  .main-nav > ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .main-nav > ul > li > a {
    padding: 12px 0;
  }

  .dropdown {
    position: static;
    width: 100%;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }

  .main-nav li:hover .dropdown {
    display: block;
  }

  .quick-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-announcement {
    grid-template-columns: 1fr;
  }

  .news-content {
    grid-template-columns: 1fr;
  }

  .announcement-box .read-more {
    position: static;
    display: block;
    text-align: right;
    margin-top: 10px;
  }

  .card-grid,
  .science-stats,
  .science-grid,
  .campus-container {
    grid-template-columns: 1fr;
  }

  .media-band {
    grid-template-columns: 1fr;
  }

  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-main {
    grid-template-columns: 1fr;
    padding: 30px 20px;
  }

  .footer-headquarter {
    width: 100%;
    justify-self: start;
  }

  .footer-col iframe {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .container {
    width: calc(100% - 24px);
  }

  .hero {
    min-height: 360px;
  }

  .hero-content {
    padding: 45px 0;
  }

  .quick-grid {
    grid-template-columns: 1fr;
  }

  .news-box,
  .announcement-box {
    padding: 16px 14px;
  }

  .news-main img {
    height: 220px;
  }

  .news-item {
    grid-template-columns: 88px 1fr;
  }

  .news-item img {
    width: 88px;
    height: 66px;
  }

  .partners-grid {
    grid-template-columns: 1fr;
  }

  .campus-card img,
  .science-card img,
  .post-card img {
    height: 200px;
  }

  .footer-bottom {
    font-size: 13px;
  }
}