* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-blue: #1e3a8a;
  --dark: #1a1a1a;
  --grey: #666;
  --light-grey: #f5f5f5;
  --white: #ffffff;
  scroll-behavior: smooth;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
  line-height: 1.6;
  color: #333;
  background: var(--white);
}

p:last-child {
  margin-bottom: 0 !important;
}
/* Base Header Styles */
header {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: #ffffff00;
  transition: all 0.4s ease-in-out;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 84%;
  height: 100px;
  margin: 0 auto;
  transition: height 0.4s ease-in-out;
}

.logo {
  display: flex;
  align-items: center;
  margin-right: auto;
  text-decoration: none;
  color: inherit;
}
.logo img {
  height: 80px; /* Original logo size */
  width: auto;
  transition: height 0.4s ease-in-out;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-main {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -1px;
}

.logo-sub {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-top: -5px;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  font-size: 17.6px;
  transition: opacity 0.3s;
  text-shadow: 0 0 10px var(--dark);
}

.nav-links a:hover {
  color: #cbcbcb;
}

/* Menu Hamburger */
/* --- New Mobile Logic --- */

/* Hide checkbox */
.menu-checkbox {
  display: none;
}

/* Hamburger Icon Styles */
.hamburger {
  display: none; /* Hidden on desktop */
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 27px;
  height: 3px;
  background-color: var(--light-grey);
  transition: 0.3s;
}

/* SECTION LABEL VARIANT */
.section-label-primary {
  color: var(--primary-blue);
}

/* FOR STUDENTS SECTION */
.for-students {
  background: var(--dark);
  color: var(--white);
  padding: 6rem 3rem;
}

.for-students-title {
  color: var(--white);
}

.student-fit-list {
  list-style: none;
  max-width: 800px;
  margin: 2rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  padding: 0;
}

.student-fit-list li {
  font-size: 1.05rem;
  padding: 1rem 0;
  color: #ddd;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hidden {
  display: none;
}
.responsive_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  background: var(--white);
  padding: 0;
}

.hero-container {
  max-width: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.hero-text {
  padding: 2rem 3rem;
  max-width: 1400px;
  margin: 0 auto;
}
.hero-text h1 {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 2rem;
  line-height: 1;
  letter-spacing: -2px;
  color: var(--primary-blue);
  text-transform: uppercase;
}

.hero-text .subhead {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  color: #555;
  font-style: italic;
}

.hero-photo {
  position: relative;
  width: 100%;
  height: 60vh;
  overflow: hidden;
  background: #000;
  /* filter: grayscale(100%); */
}

/* Video fills the container */
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

section {
  padding: 3.5rem 3rem;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
}

.section-label {
  color: var(--primary-blue);
  font-weight: 900;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
h2 {
  font-size: 3rem;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 2rem;
  letter-spacing: -1px;
  text-transform: uppercase;
}

.intro-text {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #555;
  max-width: 900px;
  margin-bottom: 3rem;
}

.philosophy {
  background: var(--white);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.philosophy-content {
  font-size: 1.5rem;
  line-height: 1.9;
  color: #444;
  width: 80%;
  margin: 0 auto;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.philosophy-content p {
  margin-bottom: 1.5rem;
}

.philosophy-photo {
  width: 100%;
  height: auto;
  border-radius: 20px;
  background: #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  filter: grayscale(100%);
}

.philosophy-photo.filled {
  background-size: cover;
  background-position: center;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.value-item {
  text-align: center;
  padding: 1.5rem 0;
}

.value-item h3 {
  font-size: 1.1rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  color: var(--dark);
  text-transform: uppercase;
}

.value-item p {
  color: #666;
  line-height: 1.6;
  font-size: 0.9rem;
}

.academics {
  background: var(--primary-blue);
  color: var(--white);
}

.academics .section-label {
  color: var(--white);
}

.academics h2 {
  color: var(--white);
}

.academics .intro-text {
  color: rgba(255, 255, 255, 0.9);
}

.academic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.academic-card {
  background: var(--white);
  overflow: hidden;
}

.card-photo {
  width: 100%;
  height: 250px;
  background: #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  filter: grayscale(100%);
}

.card-photo.filled {
  background-size: cover;
  background-position: center;
}

.card-content {
  padding: 2rem;
}

.card-label {
  font-weight: 900;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.academic-card h3 {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

.academic-card p {
  color: #666;
  line-height: 1.7;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.how-it-works {
  background: var(--dark);
  color: var(--white);
}

.how-it-works h2 {
  color: var(--white);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.works-item {
  padding: 1.5rem 0;
}

.works-label {
  font-weight: 900;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-blue);
  margin-bottom: 0.75rem;
}

.works-item h3 {
  font-size: 1.3rem;
  font-weight: 900;
  margin-bottom: 0.75rem;
  color: var(--white);
  text-transform: uppercase;
}

.works-item p {
  color: #ddd;
  line-height: 1.7;
  font-size: 0.95rem;
}

.faculty {
  background: var(--white);
}

.experience {
  background: var(--primary-blue);
  color: var(--white);
}

.experience .section-label {
  color: var(--white);
}

.experience h2 {
  color: var(--white);
}

.experience .intro-text {
  color: rgba(255, 255, 255, 0.9);
}

.experience-text h3 {
  color: var(--white);
}

.experience-text p {
  color: rgba(255, 255, 255, 0.9);
}

.experience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.experience-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  align-items: start;
}

.experience-photo {
  width: 200px;
  height: 200px;
  background: #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 0.85rem;
  filter: grayscale(100%);
}

img {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none;
  user-select: none;
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
  transition: filter 0.2s ease;
}

img:active {
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
}

.experience-photo.filled {
  background-size: cover;
  background-position: center;
}

.experience-text h3 {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.experience-label {
  font-weight: 900;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

.experience-text p {
  color: #ddd;
  line-height: 1.7;
  font-size: 0.95rem;
}

.practical {
  background: var(--white);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 3rem;
}

.info-card {
  padding: 2rem 0;
  border-bottom: 2px solid var(--light-grey);
}

.info-card h3 {
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-blue);
  margin-bottom: 0.75rem;
}

.info-card p {
  font-size: 1.3rem;
  color: var(--dark);
  font-weight: 600;
}

.contact-cta {
  background: var(--primary-blue);
  color: var(--white);
  text-align: center;
  padding: 5rem 3rem;
}

.contact-cta h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.contact-cta p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-block;
  background: var(--white);
  color: var(--primary-blue);
  border: 1px solid var(--primary-blue);
  padding: 1rem 2.5rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 2px;
  transition: background-color 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}
.cta-button:hover {
  background: var(--primary-blue);
  color: var(--light-grey);
  border: 1px solid var(--light-grey);
}

footer {
  background: var(--dark);
  color: var(--white);
  padding: 3rem;
  text-align: center;
}

footer p {
  color: #ddd;
  font-size: 0.9rem;
}

.btn_center {
  text-align: center;
}

/* Tablet & Mobile Styles (Below 1024px) */
@media (max-width: 1024px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    right: -100%; /* Start off-screen to the right */
    top: 0;
    width: 70%; /* Menu width on mobile */
    height: 100vh;
    background-color: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 0.4s ease-in-out;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }

  /* When checkbox is checked, slide menu in from right */
  .menu-checkbox:checked ~ .nav-links {
    right: 0;
  }

  /* Animate Hamburger to X when clicked */
  .menu-checkbox:checked ~ .hamburger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .menu-checkbox:checked ~ .hamburger span:nth-child(2) {
    opacity: 0;
  }
  .menu-checkbox:checked ~ .hamburger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero-container,
  .philosophy-grid {
    grid-template-columns: 1fr;
  }

  .academic-grid {
    grid-template-columns: 1fr;
  }

  .works-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .experience-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hamburger {
    position: absolute;
    top: 50%;
    right: 3%;
    transform: translate(0%, -50%);
  }
  nav {
    padding: 0 1.5rem;
    flex-direction: column;
    gap: 1rem;
    height: 90px;
  }
  .logo {
    display: flex;
    align-items: center;
    margin-right: unset;

    position: absolute;
    top: 50%;
    left: 3%;
    transform: translate(0%, -50%);
  }
  .nav-links a {
    font-size: 1.5rem;
    color: #000;
    text-shadow: unset;
  }
  .logo img {
    height: 50px;
  }
  .nav-links {
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  .menu-checkbox:checked ~ .hamburger {
    position: fixed;
    top: 35px;
    right: 37px;
    transform: unset;
  }
  .menu-checkbox:checked ~ .hamburger span {
    background-color: var(--dark);
  }
  .hero {
    position: relative;
    display: flex;
    align-items: stretch;
    text-align: left;
    background: #fff;
    padding: 0;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  section {
    padding: 4rem 1.5rem;
  }

  h2 {
    font-size: 2rem;
  }
  .hero-text {
    padding: 4rem 1.5rem 0rem 1.5rem;
  }

  .works-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .experience-item {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .card-photo {
    height: 350px;
  }
  .experience-photo {
    width: 400px;
    height: 400px;
    margin: 0 auto;
  }
  .experience-item {
    gap: 1rem;
  }
  .student-fit-list {
    display: block;
    grid-template-columns: unset;
  }
  .philosophy-content {
    font-size: 1.1rem;
    width: 100%;
  }
}

@media (max-width: 767px) {
  .nav-links {
    width: 80%;
  }
  .experience-photo,
  .hero-photo,
  .card-photo {
    width: 100%;
    height: 300px;
  }
  .for-students {
    padding: 6rem 1.5rem;
  }
}
@media (max-width: 768px) {
  .hero-photo {
    height: 50vh;
  }

  .hero-text h1 {
    font-size: 2.4rem;
  }
}
