:root {
  --nav-navy: #012754;
  /* deep navy from screenshots */
  --gold: #b39b5e;
  /* gold tone */
  --gold-dark: #8f7644;
  /* darker gold */
  --muted-bg: #f5f5f5;
  /* light grey background */
  --white: #ffffff;
  --text: #222;
  --text-light: #6b6b6b;
  --serif: "Playfair Display", serif;
  --sans: "Lato", sans-serif;
}

/* Reset & layout */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  margin: 0;
  padding-top: 90px;
  overflow-x: hidden;
}

/* container */
.container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* thin top bar */
.topbar {
  height: 6px;
  background: var(--nav-navy);
}

.logo-emblem img {
  max-width: 175%;
  max-height: 120px;
  width: auto;
  height: auto;
  margin-top: 20px; /* Adjust this value as needed */
}

.header {
  background: var(--white);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 9999;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
}

/* nav lists left/right */
.nav-list {
  list-style: none;
  display: flex;
  gap: 28px;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-list a {
  color: var(--nav-navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.3px;
  transition: color 0.3s ease;
  position: relative;
}

.nav-list a:hover {
  color: var(--gold);
}

.nav-list .fa-caret-down {
  font-size: 12px;
  margin-left: 4px;
}

/* Dropdown menu styles */
.nav-item {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 250px;
  padding: 12px 0;
  margin-top: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  z-index: 1000;
  list-style: none;
}

.nav-item:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  padding: 0;
  margin: 0;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  color: var(--nav-navy);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
}

.dropdown-menu li a:hover,
.dropdown-menu li a:hover .hover-drop {
  color: var(--white);
  background: var(--gold);
}

.hover-drop {
  display: block;
  transition: all 0.3s ease;
}

/* Search icon and Inquire button */
.search-icon {
  padding: 8px;
}

.btn-inquire {
  background: var(--gold);
  color: var(--white);
  border: none;
  padding: 10px 24px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.3s ease;
  letter-spacing: 0.5px;
}

.btn-inquire:hover {
  background: var(--gold-dark);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  width: 25px;
  height: 3px;
  background: var(--nav-navy);
  display: block;
  transition: all 0.3s ease;
}

/* centered logo mimic */
.logo-wrap {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(-6px);
}

.logo-emblem {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--gold), #9a8041);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 26px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.06);
}

.logo-text .brand-main {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--nav-navy);
  font-size: 20px;
  line-height: 1;
}

.logo-text .brand-sub {
  font-size: 11px;
  color: #6e6e6e;
  margin-top: 2px;
}

/* gold rule under header */
.gold-rule {
  height: 4px;
  background: linear-gradient(90deg, transparent 5%, var(--gold) 5%, var(--gold) 95%, transparent 95%);
}

/* HERO / TITLE section (big centered) */
.hero {
  text-align: center;
  padding: 64px 0 54px;
  background: var(--white);
}

.hero-title {
  font-family: var(--serif);
  font-weight: 900;
  color: var(--nav-navy);
  font-size: 72px;
  margin: 0;
  letter-spacing: 4px;
}

.hero-sub {
  color: var(--gold);
  font-family: var(--serif);
  font-weight: 600;
  margin-top: 8px;
  font-size: 16px;
  letter-spacing: 2px;
}

.hero-desc {
  max-width: 960px;
  margin: 22px auto 0;
  color: #6b6b6b;
  font-size: 18px;
  line-height: 1.8;
  font-family: var(--serif);
}

/* STATS */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding: 70px 0 90px;
  align-items: start;
  text-align: center;
}

.stat .icon {
  font-size: 42px;
  color: var(--gold);
  margin-bottom: 20px;
}

.stat .num {
  font-family: var(--serif);
  color: var(--nav-navy);
  font-size: 52px;
  font-weight: 700;
  line-height: 1.2;
}

.stat .label {
  font-family: var(--serif);
  color: var(--text-light);
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.4;
}

/* CAROUSEL SECTION */
.carousel-section {
  background: var(--muted-bg);
  padding: 60px 0 80px;
}

.carousel-title {
  font-family: var(--serif);
  color: var(--gold);
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.carousel-subtitle {
  font-family: var(--serif);
  color: var(--text-light);
  font-size: 17px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.carousel-arrow {
  background: none;
  border: none;
  color: var(--gold);
  font-size: 36px;
  cursor: pointer;
  padding: 10px;
  transition: color 0.3s ease;
}

.carousel-arrow:hover {
  color: var(--gold-dark);
}

.carousel-numbers {
  display: flex;
  gap: 16px;
  align-items: center;
}

.carousel-num {
  background: none;
  border: none;
  color: #999;
  font-family: var(--serif);
  font-size: 18px;
  cursor: pointer;
  padding: 6px 10px;
  transition: all 0.3s ease;
  position: relative;
}

.carousel-num.active {
  color: var(--nav-navy);
  font-size: 24px;
  font-weight: 700;
}

.carousel-num.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

.btn-all-facts {
  display: block;
  margin: 0 auto 40px;
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
  padding: 12px 40px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.btn-all-facts:hover {
  background: var(--gold);
  color: var(--white);
}

.carousel-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.carousel-img-placeholder {
  background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
  height: 280px;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.carousel-img-placeholder::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  to {
    left: 100%;
  }
}

/* ACADEMICS SECTION */
.academics-section {
  background: var(--white);
  padding: 70px 0;
}

.section-heading {
  font-family: var(--serif);
  color: var(--nav-navy);
  font-size: 42px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.section-subheading {
  font-family: var(--serif);
  color: var(--gold);
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 50px;
  letter-spacing: 1px;
}

.academics-content {
  max-width: 1000px;
  margin: 0 auto;
}

.academics-img-placeholder {
  background: linear-gradient(135deg, #e8e8e8 0%, #f8f8f8 100%);
  height: 400px;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.academics-img-placeholder::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: shimmer 2s infinite;
}

/* SOCIAL MEDIA SECTION */
.social-section {
  background: var(--white);
  padding: 50px 0 70px;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.social-box {
  position: relative;
  height: 350px;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.social-box:hover {
  transform: scale(1.02);
}

.social-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 4px;
  height: 100%;
}

.social-img-placeholder {
  background: linear-gradient(135deg, #d0d0d0 0%, #e8e8e8 100%);
  position: relative;
}

.social-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(179, 155, 94, 0.95), rgba(179, 155, 94, 0.7));
  padding: 30px;
  text-align: center;
}

.social-overlay h3 {
  font-family: var(--serif);
  color: var(--white);
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  letter-spacing: 1px;
}

/* Timeline section */
.timeline-section {
  background: var(--muted-bg);
  padding: 36px 0 64px;
}

.timeline-inner {
  text-align: center;
  padding-top: 8px;
}

.years-row {
  display: flex;
  justify-content: center;
  gap: 28px;
  align-items: center;
  margin-bottom: 18px;
  overflow-x: auto;
  padding: 6px 10px;
  scrollbar-width: none;
}

.years-row::-webkit-scrollbar {
  display: none;
}

.year {
  background: none;
  border: none;
  font-family: var(--serif);
  color: #444;
  font-size: 16px;
  padding: 6px 8px;
  cursor: pointer;
  position: relative;
}

.year.active {
  color: var(--nav-navy);
  font-size: 22px;
  font-weight: 700;
}

.year::after {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  margin: 10px auto 0;
  opacity: 0;
}

.year.active::after {
  opacity: 1;
}

/* timeline content area with nav arrows */
.timeline-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 18px;
}

.timeline-arrow {
  background: none;
  border: none;
  font-size: 30px;
  color: var(--gold);
  cursor: pointer;
  padding: 12px;
}

.timeline-card {
  display: flex;
  align-items: center;
  gap: 22px;
  background: var(--white);
  padding: 26px;
  border-radius: 4px;
  width: 760px;
  max-width: 92%;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.timeline-image img {
  width: 260px;
  height: auto;
  display: block;
  border-radius: 2px;
  object-fit: cover;
}

.timeline-text {
  text-align: left;
  max-width: 420px;
}

.timeline-text .tc-year {
  font-family: var(--serif);
  color: var(--gold);
  font-size: 34px;
  margin: 0 0 8px;
}

.timeline-text p {
  color: #555;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  font-family: var(--serif);
}

/* partners strip */
.partners {
  padding: 60px 0 40px;
  background: var(--white);
}

.partners-row {
  display: flex;
  gap: 35px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 10px 24px;
}

.partners-row img {
  max-width: 150px;
  height: 60px;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.partners-row img:hover {
  opacity: 1;
}

/* CONTACT FORM MODAL */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.3s ease;
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.modal-content {
  background: var(--white);
  padding: 40px;
  border-radius: 8px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: slideUp 0.4s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 32px;
  color: #999;
  cursor: pointer;
  transition: color 0.3s ease;
  line-height: 1;
}

.modal-close:hover {
  color: var(--nav-navy);
}

.modal-content h2 {
  font-family: var(--serif);
  color: var(--nav-navy);
  font-size: 28px;
  margin-bottom: 25px;
  text-align: center;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--nav-navy);
  margin-bottom: 8px;
  font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.btn-submit {
  width: 100%;
  background: var(--gold);
  color: var(--white);
  border: none;
  padding: 14px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
  font-family: var(--serif);
  letter-spacing: 0.5px;
}

.btn-submit:hover {
  background: var(--gold-dark);
}

.form-message {
  margin-top: 15px;
  padding: 12px;
  border-radius: 4px;
  text-align: center;
  font-size: 14px;
  display: none;
}

.form-message.success {
  background: #d4edda;
  color: #155724;
  display: block;
}

.form-message.error {
  background: #f8d7da;
  color: #721c24;
  display: block;
}

/* FOOTER */
.site-footer {
  background: var(--muted-bg);
  padding: 42px 0 60px;
  margin-top: 40px;
}

.footer-inner {
  text-align: center;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px 10px;
  margin-bottom: 22px;
}

.footer-col a {
  display: block;
  color: var(--gold);
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 600;
  margin: 12px 0;
  font-size: 16px;
}

.socials {
  color: var(--gold);
  font-size: 18px;
  display: flex;
  gap: 18px;
  justify-content: center;
  margin-bottom: 18px;
}

.footer-copy {
  color: #6b6b6b;
  font-size: 13px;
}

/* FLOATING ACTION BAR (right) */
.float-actions {
  position: fixed;
  right: 0;
  top: 150px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 120;
  align-items: flex-end;
}

.float-item {
  background: var(--gold);
  border: none;
  color: var(--white);
  padding: 14px 16px;
  border-radius: 2px 0 0 2px;
  display: flex;
  align-items: center;
  gap: 0;
  cursor: pointer;
  box-shadow: -2px 2px 6px rgba(0, 0, 0, 0.15);
  font-weight: 700;
  overflow: visible;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  position: relative;
  transform: translateX(0);
  will-change: transform;
}

.float-item::before {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 20px;
  z-index: 1;
}

.float-item.inquire {
  background: #a2824a;
  font-size: 16px;
}

.float-item i {
  min-width: 50px;
  width: 50px;
  text-align: center;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.float-item span {
  display: inline-block;
  font-family: var(--serif);
  opacity: 0;
  width: 0;
  overflow: hidden;
  transition: opacity 5s cubic-bezier(0.4, 0, 0.2, 1) 5s, width 5s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding-right: 12px;
  position: relative;
  z-index: 2;
}

.float-item:hover span {
  opacity: 1;
  width: 110px;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s, width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* sticky badge bottom-right */
.sticky-badge {
  position: fixed;
  right: 12px;
  bottom: 18px;
  width: 72px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  z-index: 120;
}

/* Responsive */
@media (max-width: 1024px) {
  .container {
    width: 95%;
    padding: 0 15px;
  }

  .nav-list {
    gap: 20px;
  }

  .hero-title {
    font-size: 58px;
  }

  .stats {
    gap: 30px;
  }

  .carousel-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .social-grid {
    gap: 20px;
  }
}

@media (max-width: 980px) {
  .nav-list {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .logo-wrap {
    flex: 1;
  }

  .hero-title {
    font-size: 52px;
    letter-spacing: 2px;
  }

  .hero-desc {
    font-size: 16px;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 40px 0 60px;
  }

  .carousel-title {
    font-size: 28px;
  }

  .carousel-subtitle {
    font-size: 15px;
  }

  .carousel-numbers {
    gap: 12px;
  }

  .carousel-num {
    font-size: 16px;
  }

  .carousel-num.active {
    font-size: 20px;
  }

  .section-heading {
    font-size: 36px;
  }

  .academics-img-placeholder {
    height: 300px;
  }

  .social-box {
    height: 280px;
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 20px 0;
  }

  .float-actions {
    right: 8px;
    top: 100px;
  }

  .float-item span {
    display: none;
  }
}

@media (max-width: 768px) {
  .topbar {
    height: 4px;
  }

  .nav-inner {
    padding: 12px 0;
  }

  .hero {
    padding: 40px 0 35px;
  }

  .hero-title {
    font-size: 44px;
    letter-spacing: 1px;
  }

  .hero-sub {
    font-size: 14px;
  }

  .hero-desc {
    font-size: 15px;
    line-height: 1.7;
  }

  .stats {
    grid-template-columns: 1fr;
    gap: 35px;
    padding: 35px 0 50px;
  }

  .stat .icon {
    font-size: 36px;
  }

  .stat .num {
    font-size: 44px;
  }

  .carousel-section {
    padding: 40px 0 60px;
  }

  .carousel-gallery {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .carousel-img-placeholder {
    height: 240px;
  }

  .academics-section {
    padding: 50px 0;
  }

  .section-heading {
    font-size: 32px;
  }

  .section-subheading {
    font-size: 16px;
  }

  .social-section {
    padding: 40px 0 50px;
  }

  .social-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .social-box {
    height: 320px;
  }

  .partners-row {
    justify-content: center;
    gap: 25px;
  }

  .partners-row img {
    max-width: 120px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

@media (max-width: 560px) {
  .nav-inner {
    padding: 10px 0;
  }

  .logo-emblem {
    width: 46px;
    height: 46px;
    font-size: 20px;
  }

  .logo-text .brand-main {
    font-size: 18px;
  }

  .logo-text .brand-sub {
    font-size: 10px;
  }

  .hero-title {
    font-size: 36px;
    letter-spacing: 1px;
  }

  .hero-sub {
    font-size: 12px;
  }

  .hero-desc {
    font-size: 14px;
  }

  .stats {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 30px 0 40px;
  }

  .stat .num {
    font-size: 38px;
  }

  .stat .label {
    font-size: 14px;
  }

  .carousel-title {
    font-size: 24px;
  }

  .carousel-subtitle {
    font-size: 14px;
  }

  .carousel-numbers {
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .carousel-num {
    font-size: 14px;
    padding: 4px 6px;
  }

  .carousel-num.active {
    font-size: 18px;
  }

  .btn-all-facts {
    padding: 10px 30px;
    font-size: 14px;
  }

  .section-heading {
    font-size: 28px;
  }

  .section-subheading {
    font-size: 14px;
  }

  .academics-img-placeholder {
    height: 220px;
  }

  .social-overlay h3 {
    font-size: 18px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .footer-col a {
    font-size: 14px;
    margin: 8px 0;
  }

  .float-actions {
    display: none;
  }

  .sticky-badge {
    width: 60px;
    height: 60px;
    bottom: 12px;
    right: 8px;
  }

  .modal-content {
    padding: 30px 20px;
  }

  .modal-content h2 {
    font-size: 24px;
  }
}

/* Smooth animations on scroll */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}
