/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #1a2a4a;
  line-height: 1.7;
  background-color: #fafaf8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

/* ===== Utility ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  color: #1a3a6b;
  margin-bottom: 12px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: #c9a84c;
  margin: 12px auto 0;
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  color: #6a6a5a;
  font-size: 1.1rem;
  margin-bottom: 48px;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background: #c9a84c;
  color: #ffffff;
}

.btn-primary:hover {
  background: #b8922e;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(201, 168, 76, 0.35);
}

.btn-outline {
  background: transparent;
  color: #c9a84c;
  border: 2px solid #c9a84c;
}

.btn-outline:hover {
  background: #c9a84c;
  color: #ffffff;
  transform: translateY(-2px);
}

/* ===== Header / Navbar ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(13, 27, 42, 0.97);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.header.scrolled {
  background: rgba(13, 27, 42, 0.99);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.1);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  width: auto;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-weight: 500;
  color: #d4c890;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: #c9a84c;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #c9a84c;
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  background: #c9a84c;
  color: #ffffff !important;
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 600;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: #b8922e;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero ===== */
.hero {
  margin-top: 72px;
  background: linear-gradient(135deg, #0d1b2a 0%, #1b2838 40%, #1a3a6b 100%);
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(201, 168, 76, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-content {
  flex: 1;
  color: #ffffff;
}

.hero-content h1 {
  font-size: 3.2rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-content h1 span {
  color: #f0d060;
}

.hero-badge {
  display: inline-block;
  background: rgba(201, 168, 76, 0.15);
  color: #f0d060;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  border: 1px solid rgba(201, 168, 76, 0.3);
  backdrop-filter: blur(4px);
}

.about-hero .hero-badge,
.academics-hero .hero-badge,
.admissions-hero .hero-badge,
.contact-hero .hero-badge {
  background: rgba(201, 168, 76, 0.12);
  border-color: rgba(201, 168, 76, 0.25);
}

.hero-content p {
  font-size: 1.15rem;
  color: #d4c890;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-buttons .btn-primary {
  background: #c9a84c;
  color: #ffffff;
}

.hero-buttons .btn-primary:hover {
  background: #b8922e;
  box-shadow: 0 4px 16px rgba(201, 168, 76, 0.3);
}

.hero-buttons .btn-outline {
  border-color: #ffffff;
  color: #ffffff;
}

.hero-buttons .btn-outline:hover {
  background: #c9a84c;
  border-color: #c9a84c;
  color: #ffffff;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* ===== Stats ===== */
.stats {
  background: #1a3a6b;
  padding: 56px 0;
  position: relative;
}

.stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.1) 0%, transparent 100%);
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
  position: relative;
}

.stat-item {
  padding: 16px;
}

.stat-item h3 {
  font-size: 2.8rem;
  color: #f0d060;
  font-weight: 800;
}

.stat-item p {
  color: #d4c890;
  font-size: 0.95rem;
  margin-top: 4px;
}

/* ===== Features ===== */
.features {
  background: #ffffff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: #ffffff;
  border: 1px solid #e8e4d0;
  border-radius: 14px;
  padding: 36px 28px;
  text-align: center;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #c9a84c, #f0d060);
  transform: scaleX(0);
  transition: transform 0.35s ease;
  transform-origin: left;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(201, 168, 76, 0.1);
  border-color: transparent;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #fdf3d0, #f0d878);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.6rem;
  color: #c9a84c;
}

.feature-card h3 {
  font-size: 1.2rem;
  color: #1a3a6b;
  margin-bottom: 10px;
}

.feature-card p {
  color: #6a6a5a;
  font-size: 0.95rem;
}

/* ===== Programs ===== */
.programs {
  background: #fdfaf0;
  position: relative;
}

.programs::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #f0d878, transparent);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.program-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 32px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  border: 1px solid #e8e4d0;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #c9a84c, #f0d060);
  transform: scaleX(0);
  transition: transform 0.35s ease;
  transform-origin: left;
}

.program-card:hover {
  box-shadow: 0 12px 36px rgba(201, 168, 76, 0.1);
  border-color: transparent;
  transform: translateY(-4px);
}

.program-card:hover::before {
  transform: scaleX(1);
}

.program-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #c9a84c, #b8922e);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.program-card h3 {
  font-size: 1.15rem;
  color: #1a3a6b;
  margin-bottom: 8px;
}

.program-card p {
  color: #6a6a5a;
  font-size: 0.92rem;
}

/* ===== About ===== */
.about-hero {
  background: linear-gradient(135deg, #0d1b2a 0%, #1b2838 40%, #1a3a6b 100%);
  padding: 100px 0 60px;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(201, 168, 76, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.about-hero h1 {
  font-size: 2.8rem;
  margin-bottom: 12px;
}

.about-hero p {
  font-size: 1.1rem;
  color: #d4c890;
  max-width: 600px;
  margin: 0 auto;
}

.about-content {
  display: flex;
  gap: 60px;
  align-items: center;
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 1.8rem;
  color: #1a3a6b;
  margin-bottom: 16px;
}

.about-text p {
  color: #5a5a4a;
  margin-bottom: 16px;
}

.about-values {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.value-card {
  background: #fdfaf0;
  border-radius: 10px;
  padding: 24px;
  border-left: 4px solid #c9a84c;
}

.value-card h4 {
  color: #1a3a6b;
  margin-bottom: 8px;
}

.value-card p {
  color: #6a6a5a;
  font-size: 0.9rem;
}

/* ===== Academics ===== */
.academics-hero {
  background: linear-gradient(135deg, #0d1b2a 0%, #1b2838 40%, #1a3a6b 100%);
  padding: 100px 0 60px;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.academics-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(201, 168, 76, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.academics-hero h1 {
  font-size: 2.8rem;
  margin-bottom: 12px;
}

.academics-hero p {
  font-size: 1.1rem;
  color: #d4c890;
  max-width: 600px;
  margin: 0 auto;
}

.departments-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.department-card {
  background: #ffffff;
  border: 1px solid #e8e4d0;
  border-radius: 12px;
  padding: 28px;
  transition: all 0.3s ease;
}

.department-card:hover {
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.1);
  border-color: #c9a84c;
}

.department-card h3 {
  color: #1a3a6b;
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.department-card p {
  color: #6a6a5a;
  font-size: 0.92rem;
}

.department-card ul {
  margin-top: 12px;
}

.department-card ul li {
  padding: 4px 0;
  color: #5a5a4a;
  font-size: 0.9rem;
  padding-left: 18px;
  position: relative;
}

.department-card ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #c9a84c;
  font-weight: bold;
}

/* ===== Admissions ===== */
.admissions-hero {
  background: linear-gradient(135deg, #0d1b2a 0%, #1b2838 40%, #1a3a6b 100%);
  padding: 100px 0 60px;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.admissions-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(201, 168, 76, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.admissions-hero h1 {
  font-size: 2.8rem;
  margin-bottom: 12px;
}

.admissions-hero p {
  font-size: 1.1rem;
  color: #d4c890;
  max-width: 600px;
  margin: 0 auto;
}

.admissions-steps {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.step-number {
  width: 56px;
  height: 56px;
  background: #c9a84c;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content h3 {
  color: #1a3a6b;
  margin-bottom: 6px;
  font-size: 1.2rem;
}

.step-content p {
  color: #6a6a5a;
  font-size: 0.95rem;
}

.admissions-cta {
  text-align: center;
  margin-top: 48px;
}

/* ===== Contact ===== */
.contact-hero {
  background: linear-gradient(135deg, #0d1b2a 0%, #1b2838 40%, #1a3a6b 100%);
  padding: 100px 0 60px;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.contact-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(201, 168, 76, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.contact-hero h1 {
  font-size: 2.8rem;
  margin-bottom: 12px;
}

.contact-hero p {
  font-size: 1.1rem;
  color: #d4c890;
  max-width: 600px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  background: #fdf3d0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c9a84c;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item h4 {
  color: #1a3a6b;
  margin-bottom: 4px;
}

.contact-item p {
  color: #6a6a5a;
  font-size: 0.92rem;
}

.contact-form {
  background: #ffffff;
  border: 1px solid #e8e4d0;
  border-radius: 12px;
  padding: 32px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #1a3a6b;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d0d4c8;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  color: #1a2a4a;
  background: #fafaf8;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #c9a84c;
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ===== Footer ===== */
.footer {
  background: linear-gradient(180deg, #0d1b2a 0%, #0a1420 100%);
  color: #d4c890;
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: #b8a860;
  margin-top: 12px;
  line-height: 1.6;
}

.footer h4 {
  color: #ffffff;
  margin-bottom: 16px;
  font-size: 1rem;
  font-weight: 600;
}

.footer h4::after {
  content: '';
  display: block;
  width: 30px;
  height: 3px;
  background: linear-gradient(90deg, #c9a84c, #f0d060);
  margin-top: 8px;
  border-radius: 2px;
}

.footer-links a {
  display: block;
  color: #b8a860;
  font-size: 0.9rem;
  padding: 4px 0;
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-links a:hover {
  color: #c9a84c;
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(201, 168, 76, 0.15);
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: #8a7a50;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content p {
    margin: 0 auto 32px;
  }

  .hero-buttons {
    justify-content: center;
  }

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

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

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

  .about-content {
    flex-direction: column;
  }

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

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

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

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: #0d1b2a;
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-120%);
    transition: transform 0.3s ease;
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .hamburger {
    display: flex;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .section-title {
    font-size: 1.7rem;
  }

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

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

  .about-values {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

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