/* ============================================
   ADMISSION WEBSITE - MAIN STYLESHEET
   Aesthetic: Academic Navy & Gold — Editorial
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --navy: #0d1b3e;
  --navy-light: #1a2f5e;
  --navy-mid: #162448;
  --gold: #c9960c;
  --gold-light: #e8b424;
  --gold-pale: #fdf3d7;
  --cream: #faf8f3;
  --white: #ffffff;
  --gray: #6b7280;
  --gray-light: #f3f4f6;
  --red: #dc2626;
  --green: #16a34a;
  --text: #1f2937;
  --shadow: 0 4px 24px rgba(13,27,62,0.10);
  --shadow-lg: 0 12px 48px rgba(13,27,62,0.18);
  --radius: 12px;
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

h1,h2,h3,h4,h5 {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  line-height: 1.2;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ============ NAV ============ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(13,27,62,0.97);
  backdrop-filter: blur(12px);
  z-index: 1000;
  padding: 0 2rem;
  border-bottom: 2px solid var(--gold);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 900; font-size: 1.2rem;
  color: var(--navy);
}

.nav-brand-text { color: var(--white); }
.nav-brand-text h2 {
  font-size: 1.15rem; color: var(--white);
  font-family: 'Playfair Display', serif; font-weight: 700;
}
.nav-brand-text span { font-size: 0.72rem; color: var(--gold-light); letter-spacing: 0.08em; text-transform: uppercase; }

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

.nav-links a {
  color: rgba(255,255,255,0.82);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: var(--transition);
  letter-spacing: 0.01em;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-light);
  background: rgba(201,150,12,0.12);
}

.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-light)) !important;
  color: var(--navy) !important;
  font-weight: 600 !important;
  padding: 0.55rem 1.3rem !important;
  border-radius: 8px !important;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(201,150,12,0.4);
  background: var(--gold-light) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 60%, #1e3a6e 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}

.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9960c' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,150,12,0.15);
  border: 1px solid rgba(201,150,12,0.4);
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--gold-light);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; } 50% { opacity: 0.4; }
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--white);
  font-weight: 900;
  margin-bottom: 1.2rem;
  line-height: 1.1;
}

.hero h1 span { color: var(--gold-light); }

.hero-desc {
  color: rgba(255,255,255,0.72);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  font-weight: 700;
  padding: 0.85rem 2rem;
  border-radius: 10px;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'DM Sans', sans-serif;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201,150,12,0.45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
  font-weight: 600;
  padding: 0.85rem 2rem;
  border-radius: 10px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'DM Sans', sans-serif;
}

.btn-outline:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat h3 {
  font-size: 2rem;
  color: var(--gold-light);
  font-weight: 900;
}

.hero-stat p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 2.5rem;
  backdrop-filter: blur(10px);
}

.hero-card h3 {
  color: var(--gold-light);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  font-family: 'Playfair Display', serif;
}

.hero-card-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
}

.hero-card-item:last-child { border-bottom: none; }

.hero-card-item .icon {
  width: 36px; height: 36px;
  background: rgba(201,150,12,0.15);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

/* ============ SECTIONS ============ */
section { padding: 6rem 2rem; }

.section-inner { max-width: 1200px; margin: 0 auto; }

.section-badge {
  display: inline-block;
  background: var(--gold-pale);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 100px;
  margin-bottom: 1rem;
  border: 1px solid rgba(201,150,12,0.2);
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--gray);
  font-size: 1rem;
  max-width: 600px;
  margin-bottom: 3rem;
}

/* ============ ABOUT ============ */
#about { background: var(--white); }

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

.about-visual {
  position: relative;
}

.about-img-main {
  background: linear-gradient(145deg, var(--navy), var(--navy-light));
  border-radius: 20px;
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
}

.about-img-main::after {
  content: '🎓';
  font-size: 7rem;
  opacity: 0.15;
  position: absolute;
  bottom: -1rem; right: -1rem;
}

.about-icon-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  padding: 1.5rem;
}

.about-icon-item {
  background: rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 1.5rem;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.1);
}

.about-icon-item .big-icon { font-size: 2.2rem; display: block; margin-bottom: 0.5rem; }
.about-icon-item span { color: rgba(255,255,255,0.75); font-size: 0.82rem; }

.about-float {
  position: absolute;
  bottom: -1.5rem; right: -1.5rem;
  background: var(--white);
  border-radius: 14px;
  padding: 1.2rem 1.5rem;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--gold-pale);
}

.about-float-inner { display: flex; align-items: center; gap: 10px; }
.about-float-inner .num {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--gold);
  font-family: 'Playfair Display', serif;
}
.about-float-inner p { font-size: 0.78rem; color: var(--gray); line-height: 1.3; }

.about-content h2 { margin-bottom: 1.2rem; }
.about-content p { color: var(--gray); margin-bottom: 1.5rem; }

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 1rem;
  background: var(--gray-light);
  border-radius: 10px;
  transition: var(--transition);
}

.about-feature:hover {
  background: var(--gold-pale);
  transform: translateY(-2px);
}

.about-feature .feat-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.about-feature h4 { font-size: 0.9rem; margin-bottom: 0.2rem; }
.about-feature p { font-size: 0.78rem; color: var(--gray); }

/* ============ CLASSES ============ */
#classes { background: var(--cream); }

.classes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.class-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem;
  border: 1px solid rgba(13,27,62,0.06);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.class-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transition: var(--transition);
}

.class-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.class-card:hover::before { transform: scaleX(1); }

.class-card-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.class-card h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.class-card p { color: var(--gray); font-size: 0.85rem; margin-bottom: 1rem; }

.class-meta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.class-tag {
  background: var(--gold-pale);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  border: 1px solid rgba(201,150,12,0.2);
}

/* ============ CONTACT ============ */
#contact { background: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: flex-start;
}

.contact-info h2 { margin-bottom: 1rem; }
.contact-info p { color: var(--gray); margin-bottom: 2rem; }

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding: 1.2rem;
  border-radius: 10px;
  transition: var(--transition);
}

.contact-item:hover { background: var(--gray-light); }

.contact-item .ci-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-item h4 { font-size: 0.9rem; margin-bottom: 0.2rem; color: var(--navy); font-family: 'Playfair Display', serif; }
.contact-item p { font-size: 0.85rem; color: var(--gray); margin: 0; }

/* ============ FORMS ============ */
.form-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(13,27,62,0.06);
}

.form-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--gold-pale);
}

.form-group { margin-bottom: 1.2rem; }

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

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
  letter-spacing: 0.01em;
}

.form-group label span { color: var(--red); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(13,27,62,0.08);
}

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

.form-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--navy);
  padding: 0.8rem 0 0.4rem;
  margin: 1rem 0 0.5rem;
  border-bottom: 1px solid var(--gray-light);
}

.form-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--white);
  border: none;
  padding: 0.95rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 0.5rem;
  letter-spacing: 0.02em;
}

.form-submit:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201,150,12,0.3);
}

.form-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ============ ALERT / NOTICE ============ */
.alert {
  padding: 1rem 1.2rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 1rem;
  display: none;
}

.alert.success {
  background: #f0fdf4;
  color: var(--green);
  border: 1px solid #bbf7d0;
}

.alert.error {
  background: #fef2f2;
  color: var(--red);
  border: 1px solid #fecaca;
}

/* ============ FOOTER ============ */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 4rem 2rem 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  font-family: 'Playfair Display', serif;
}

.footer-brand p { font-size: 0.85rem; margin-bottom: 1.2rem; color: rgba(255,255,255,0.55); }

.footer-col h4 {
  color: var(--gold-light);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--gold-light); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .hero-inner, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-card { display: none; }
}

@media (max-width: 640px) {
  .nav-links { display: none; position: fixed; top: 72px; left: 0; right: 0; background: var(--navy); flex-direction: column; padding: 1.5rem; gap: 0; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.8rem 1rem; border-radius: 8px; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
  section { padding: 4rem 1.2rem; }
}

/* ============ PAGE HEADER ============ */
.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 8rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23c9960c' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header h1 { color: var(--white); font-size: clamp(2rem,5vw,3rem); margin-bottom: 0.5rem; position: relative; }
.page-header p { color: rgba(255,255,255,0.65); position: relative; }

.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  position: relative;
}

.breadcrumb a { color: var(--gold-light); }
.breadcrumb a:hover { text-decoration: underline; }

/* ============ STATUS BADGES ============ */
.badge {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-pending { background: #fef3c7; color: #92400e; }
.badge-approved { background: #d1fae5; color: #065f46; }
.badge-rejected { background: #fee2e2; color: #991b1b; }

/* ============ LOADER ============ */
.loader {
  display: inline-block;
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: middle;
  margin-right: 6px;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ============ SCROLL ANIMATIONS ============ */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}
