/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #1e3a5f;
  --primary-dark: #0f1f33;
  --primary-light: #2d5a87;
  --accent: #c9a227;
  --accent-light: #d4b84a;
  --gold: #b8860b;
  --dark: #0a0a0a;
  --dark-light: #1a1a1a;
  --dark-lighter: #333333;
  --light: #f8f6f3;
  --gray: #6b6b6b;
  --white: #ffffff;
  --gradient-primary: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
  --gradient-accent: linear-gradient(135deg, #c9a227 0%, #d4b84a 100%);
  --gradient-hero: linear-gradient(
    135deg,
    rgba(30, 58, 95, 0.95) 0%,
    rgba(15, 31, 51, 0.98) 100%
  );
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.25);
  --shadow-gold: 0 8px 32px rgba(201, 162, 39, 0.3);
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    "Poppins",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  background-color: var(--light);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
  perspective: 1000px;
}

img,
svg,
video,
canvas {
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
  max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  overflow-wrap: anywhere;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  line-height: 1.2;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(30, 58, 95, 0.1);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  transition: var(--transition);
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: "Montserrat", sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  transform-style: preserve-3d;
  transition: var(--transition);
}

.nav-logo:hover .logo-icon {
  transform: rotateY(15deg) rotateX(10deg);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.5px;
}

.logo-tagline {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

.nav-link {
  color: var(--dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  transition: var(--transition);
  letter-spacing: 0.5px;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link:hover::after {
  width: 100%;
}

.btn-apply {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  transition: var(--transition);
}

.btn-apply:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-apply::after {
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  width: 25px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-hero);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="pattern" width="10" height="10" patternUnits="userSpaceOnUse"><circle cx="1" cy="1" r="0.5" fill="rgba(201, 162, 39, 0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23pattern)"/></svg>');
  opacity: 0.5;
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    ellipse at top right,
    rgba(201, 162, 39, 0.1) 0%,
    transparent 50%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 1000px;
  padding: 0 2rem;
}

.hero-badge {
  display: inline-block;
  background: rgba(201, 162, 39, 0.2);
  color: var(--accent);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 2rem;
  border: 1px solid rgba(201, 162, 39, 0.3);
}

.hero-title {
  font-size: 5rem;
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.1;
  transform-style: preserve-3d;
  animation: heroTitleFloat 6s ease-in-out infinite;
}

@keyframes heroTitleFloat {
  0%,
  100% {
    transform: translateZ(0) rotateX(0deg);
  }
  50% {
    transform: translateZ(30px) rotateX(5deg);
  }
}

.title-line {
  display: block;
}

.title-accent {
  background: linear-gradient(
    135deg,
    var(--accent) 0%,
    var(--accent-light) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
}

.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  margin-bottom: 3rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.stat-number {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 1rem;
  letter-spacing: 0.5px;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.btn-primary {
  background: var(--gradient-accent);
  color: var(--white);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  transform: translateY(-3px) rotateX(5deg) rotateY(-5deg);
  box-shadow: 0 12px 40px rgba(201, 162, 39, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-3px) rotateX(5deg) rotateY(-5deg);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%,
  100% {
    opacity: 0.5;
    height: 60px;
  }
  50% {
    opacity: 1;
    height: 80px;
  }
}

/* Section Styles */
section {
  padding: 8rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-subtitle {
  font-size: 0.875rem;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 3.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.section-description {
  color: var(--gray);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

/* About Section */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-image {
  position: relative;
}

.image-frame {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: var(--transition);
}

.image-frame:hover {
  transform: rotateY(5deg) rotateX(-5deg);
}

.image-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--accent);
  border-radius: 12px;
  z-index: -1;
}

.experience-badge {
  position: absolute;
  bottom: -30px;
  left: -30px;
  background: var(--gradient-accent);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  z-index: 10;
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: var(--transition);
  animation: badgeFloat 4s ease-in-out infinite;
}

@keyframes badgeFloat {
  0%,
  100% {
    transform: translateY(0) rotateY(0deg);
  }
  50% {
    transform: translateY(-10px) rotateY(10deg);
  }
}

.badge-number {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.badge-text {
  font-size: 0.875rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-text {
  color: var(--gray);
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
  line-height: 1.8;
}

.about-features {
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(201, 162, 39, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: var(--transition);
}

.feature-item:hover .feature-icon {
  transform: rotateY(180deg) rotateX(180deg);
}

.feature-text h4 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.125rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.feature-text p {
  color: var(--gray);
  font-size: 0.875rem;
}

/* Academics Section */
.academics {
  background: var(--light);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.program-card {
  background: var(--white);
  padding: 3rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transform-style: preserve-3d;
  perspective: 1000px;
}

.program-card:hover {
  transform: translateY(-10px) rotateX(5deg) rotateY(-5deg);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.program-card.featured {
  background: var(--gradient-accent);
  color: var(--white);
  transform: scale(1.05);
  box-shadow: var(--shadow-gold);
}

.program-card.featured:hover {
  transform: scale(1.05) translateY(-10px);
}

.program-card.featured .program-icon,
.program-card.featured .program-grade,
.program-card.featured .program-description,
.program-card.featured .program-highlights li,
.program-card.featured .program-link {
  color: var(--white);
}

.program-card.featured .program-highlights li::before {
  background: var(--accent);
}

.featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-accent);
  color: var(--white);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.program-icon {
  width: 64px;
  height: 64px;
  background: rgba(30, 58, 95, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1.5rem;
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: var(--transition);
}

.program-card:hover .program-icon {
  transform: rotateY(180deg) scale(1.1);
}

.program-card.featured .program-icon {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.program-title {
  font-size: 1.75rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.program-card.featured .program-title {
  color: var(--white);
}

.program-grade {
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.875rem;
}

.program-description {
  color: var(--gray);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.program-highlights {
  list-style: none;
  margin-bottom: 2rem;
}

.program-highlights li {
  color: var(--gray);
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.program-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

.program-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.program-link:hover {
  color: var(--accent);
  gap: 0.75rem;
}

/* Admissions Section */
.admissions {
  background: var(--white);
}

.admissions-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
}

.timeline {
  margin-bottom: 3rem;
}

.timeline-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  position: relative;
}

.timeline-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 24px;
  top: 48px;
  bottom: -32px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}

.timeline-number {
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: "Montserrat", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  flex-shrink: 0;
  transform-style: preserve-3d;
  transition: var(--transition);
}

.timeline-item:hover .timeline-number {
  transform: rotateY(180deg) scale(1.1);
}

.timeline-content h4 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.timeline-content p {
  color: var(--gray);
}

.admissions-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.admissions-cta .btn {
  flex: 0 1 auto;
}

.admissions-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-card {
  background: var(--light);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: var(--transition);
}

.info-card:hover {
  transform: translateY(-5px) rotateX(3deg) rotateY(-3deg);
  box-shadow: var(--shadow-md);
}

.info-card h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-item {
  display: flex;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.info-label {
  color: var(--gray);
  font-weight: 500;
}

.info-value {
  color: var(--primary);
  font-weight: 600;
}

.info-description {
  color: var(--gray);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.tuition-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.tuition-item {
  display: flex;
  justify-content: space-between;
}

.tuition-label {
  color: var(--gray);
}

.tuition-value {
  color: var(--accent);
  font-weight: 700;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.25rem;
}

.link-arrow {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.link-arrow:hover {
  color: var(--accent);
  gap: 0.75rem;
}

/* Campus Section */
.campus {
  background: var(--light);
}

.campus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 300px);
  gap: 1.5rem;
}

.campus-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.campus-card:hover {
  transform: translateY(-8px) rotateX(5deg) rotateY(-5deg);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.campus-card.large {
  grid-column: span 2;
  grid-row: span 2;
}

.campus-image {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.campus-card.large .campus-image {
  aspect-ratio: auto;
  height: 100%;
}

.campus-card .image-placeholder {
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.campus-content {
  padding: 1.5rem;
}

.campus-card.large .campus-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: var(--white);
  padding: 2rem;
}

.campus-card.large h3,
.campus-card.large p,
.campus-card.large .campus-count {
  color: var(--white);
}

.campus-content h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.campus-content p {
  color: var(--gray);
  font-size: 0.875rem;
}

.campus-count {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 0.75rem;
}

/* News Section */
.news {
  background: var(--white);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.news-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transform-style: preserve-3d;
  perspective: 1000px;
}

.news-card:hover {
  transform: translateY(-8px) rotateX(5deg) rotateY(-5deg);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.news-card.featured {
  grid-column: span 2;
}

.news-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.news-card .image-placeholder {
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.news-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--accent);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.news-content {
  padding: 2rem;
}

.news-date {
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.news-title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.news-excerpt {
  color: var(--gray);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.news-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.news-link:hover {
  color: var(--accent);
  gap: 0.75rem;
}

/* Contact Section */
.contact {
  background: var(--light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: var(--transition);
}

.contact-item:hover .contact-icon {
  transform: rotateY(180deg) rotateX(180deg);
}

.contact-text h4 {
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.contact-text p {
  color: var(--gray);
}

.contact-hours h4 {
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.contact-hours p {
  color: var(--gray);
  margin-bottom: 0.25rem;
}

.contact-form-wrapper {
  background: var(--white);
  padding: 3rem;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: var(--transition);
}

.contact-form-wrapper:hover {
  transform: translateY(-5px) rotateX(2deg);
  box-shadow: var(--shadow-xl);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 500;
  color: var(--primary);
  font-size: 0.875rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  background: var(--light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.1);
}

.form-group textarea {
  resize: vertical;
}

/* Footer */
.footer {
  background: var(--primary-dark);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo .logo-icon {
  background: var(--accent);
}

.footer-logo .logo-name,
.footer-logo .logo-tagline {
  color: var(--white);
}

.footer-description {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.footer-links h4 {
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: var(--accent);
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

.footer-legal {
  display: flex;
  gap: 2rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.875rem;
  transition: var(--transition);
}

.footer-legal a:hover {
  color: var(--accent);
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.fade-in:nth-child(1) {
  animation-delay: 0.1s;
}
.fade-in:nth-child(2) {
  animation-delay: 0.2s;
}
.fade-in:nth-child(3) {
  animation-delay: 0.3s;
}
.fade-in:nth-child(4) {
  animation-delay: 0.4s;
}
.fade-in:nth-child(5) {
  animation-delay: 0.5s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll Animation */
.scroll-reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .campus-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .campus-card.large {
    grid-column: span 2;
    grid-row: span 1;
  }

  .news-card.featured {
    grid-column: span 1;
  }
}

@media (max-width: 1024px) {
  .about-grid,
  .admissions-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 2rem;
  }

  .stat-divider {
    width: 60px;
    height: 1px;
  }

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

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-details {
    gap: 1rem;
    margin-bottom: 0;
  }

  .contact-item {
    align-items: flex-start;
  }

  .contact-form-wrapper {
    padding: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.125rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

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

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

  .campus-card.large {
    grid-column: span 1;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-legal {
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero-title {
    font-size: 2rem;
  }

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

  .contact-form-wrapper {
    padding: 2rem;
  }
}

@media (max-width: 320px) {
  .contact-grid {
    gap: 1.5rem;
  }

  .contact-form-wrapper {
    padding: 1.25rem;
  }

  .contact-item {
    gap: 0.75rem;
  }

  .contact-icon {
    width: 42px;
    height: 42px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.875rem;
  }

  .container {
    padding: 0 0.875rem;
  }

  .nav-container {
    padding: 0.75rem 0.875rem;
  }

  .nav-logo {
    gap: 0.5rem;
  }

  .logo-icon {
    width: 40px;
    height: 40px;
    font-size: 1.35rem;
  }

  .logo-name {
    font-size: 1.05rem;
  }

  .logo-tagline {
    font-size: 0.6rem;
    letter-spacing: 1px;
  }

  .nav-toggle {
    padding: 0.35rem;
  }

  .nav-toggle span {
    width: 22px;
  }

  .nav-menu {
    top: 72px;
    padding: 1.25rem 1rem;
    gap: 1rem;
  }

  section {
    padding: 5rem 0;
  }

  .section-subtitle {
    font-size: 0.7rem;
    letter-spacing: 2px;
  }

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

  .section-description {
    font-size: 1rem;
  }

  .hero-title {
    font-size: 1.9rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-buttons,
  .admissions-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .btn,
  .admissions-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .about-grid,
  .admissions-grid,
  .contact-grid {
    gap: 2rem;
  }

  .program-card,
  .news-card,
  .info-card,
  .contact-form-wrapper {
    padding: 1.25rem;
  }

  .programs-grid,
  .news-grid,
  .campus-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .campus-card.large,
  .news-card.featured {
    grid-column: span 1;
    grid-row: span 1;
  }

  .campus-content,
  .news-content {
    padding: 1rem;
  }

  .timeline-item {
    gap: 1rem;
    margin-bottom: 1.25rem;
  }

  .timeline-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .timeline-item:not(:last-child)::after {
    left: 20px;
  }

  .timeline-content {
    min-width: 0;
  }

  .info-item,
  .tuition-item {
    flex-direction: column;
    gap: 0.25rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .contact-item {
    gap: 0.75rem;
  }

  .contact-text {
    min-width: 0;
  }

  .image-accent,
  .experience-badge {
    display: none;
  }

  .feature-item {
    gap: 0.75rem;
    margin-bottom: 1rem;
  }

  .feature-icon {
    width: 42px;
    height: 42px;
  }

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