/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Segoe UI', Arial, sans-serif; color: #222; background: #fff; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* Variables */
:root {
  --navy: #0d2a5e;
  --gold: #e6a817;
  --light: #f5f7fa;
  --border: #dde3ed;
  --red: #c0392b;
}

/* Top Bar */
.topbar {
  background: var(--navy);
  color: #fff;
  font-size: 0.82rem;
  padding: 6px 0;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}
.topbar a { color: #ffd; }
.code-badge {
  background: rgba(255,255,255,0.18);
  color: #fff;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 3px;
  letter-spacing: 0.5px;
}
.code-badge.gold {
  background: var(--gold);
  color: #000;
}

/* Header */
header {
  background: #fff;
  border-bottom: 3px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
header .wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 0;
}
header .logo { width: 64px; height: 64px; object-fit: contain; flex-shrink: 0; }
header .college-name h1 { font-size: 1.35rem; color: var(--navy); line-height: 1.2; }
header .college-name p { font-size: 0.78rem; color: #555; }
header .cta-btn {
  margin-left: auto;
  background: var(--red);
  color: #fff;
  padding: 10px 22px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: background 0.2s;
}
header .cta-btn:hover { background: #a93226; }

/* Wrap */
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 18px; }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy) 60%, #1a4a8a 100%);
  color: #fff;
  padding: 54px 0 44px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  right: -80px; top: -80px;
  width: 380px; height: 380px;
  background: rgba(230,168,23,0.12);
  border-radius: 50%;
}
.hero .wrap { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; }
.hero-text { flex: 1; min-width: 260px; }
.hero-text .badge {
  display: inline-block;
  background: var(--gold);
  color: #000;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 2px;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}
.hero-text h2 { font-size: 2rem; line-height: 1.25; margin-bottom: 12px; }
.hero-text h2 span { color: var(--gold); }
.hero-text p { font-size: 1rem; opacity: 0.88; margin-bottom: 22px; max-width: 480px; }
.hero-text .btn-group { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary {
  background: var(--gold);
  color: #000;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 4px;
  font-size: 0.95rem;
  transition: opacity 0.2s;
}
.btn-primary:hover { opacity: 0.88; }
.btn-outline {
  border: 2px solid #fff;
  color: #fff;
  padding: 10px 22px;
  border-radius: 4px;
  font-size: 0.95rem;
  transition: background 0.2s;
}
.btn-outline:hover { background: rgba(255,255,255,0.12); }
/* Hero form card */
.hero-form-card {
  flex: 0 0 340px;
  background: #fff;
  border-radius: 10px;
  padding: 22px 22px 18px;
  box-shadow: 0 8px 36px rgba(0,0,0,0.28);
  color: #222;
}
.hero-form-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 8px;
}
.hero-form-card .form-group { margin-bottom: 10px; }
.hero-form-card input,
.hero-form-card select,
.hero-form-card textarea {
  width: 100%;
  padding: 8px 11px;
  border: 1.5px solid var(--border);
  border-radius: 5px;
  font-size: 0.86rem;
  font-family: inherit;
  color: #222;
  background: #fafbfc;
}
.hero-form-card input:focus,
.hero-form-card select:focus,
.hero-form-card textarea:focus {
  outline: none;
  border-color: var(--navy);
  background: #fff;
}
.hero-form-card .submit-btn {
  padding: 10px;
  font-size: 0.9rem;
}
.hero-form-card .form-msg { font-size: 0.82rem; }

/* Stats Bar */
.stats-bar {
  background: var(--gold);
  padding: 18px 0;
}
.stats-bar .wrap { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 12px; }
.stat { text-align: center; }
.stat strong { display: block; font-size: 1.7rem; color: var(--navy); font-weight: 800; line-height: 1; }
.stat span { font-size: 0.78rem; color: #333; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }

/* Section */
section { padding: 54px 0; }
section:nth-child(even) { background: var(--light); }
.section-title { text-align: center; margin-bottom: 36px; }
.section-title h2 { font-size: 1.7rem; color: var(--navy); margin-bottom: 8px; }
.section-title p { color: #666; max-width: 560px; margin: 0 auto; font-size: 0.95rem; }
.section-title .line {
  width: 52px; height: 3px;
  background: var(--gold);
  margin: 10px auto 0;
  border-radius: 2px;
}

/* About */
.about-grid { display: flex; gap: 36px; align-items: center; flex-wrap: wrap; }
.about-text { flex: 1; min-width: 260px; }
.about-text h3 { color: var(--navy); font-size: 1.2rem; margin-bottom: 10px; }
.about-text p { color: #444; margin-bottom: 12px; font-size: 0.95rem; }
.about-img { flex: 0 0 360px; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 18px rgba(0,0,0,0.13); }
.about-img img { width: 360px; height: 240px; object-fit: cover; }
.highlight-list { list-style: none; margin-top: 14px; }
.highlight-list li { padding: 5px 0; font-size: 0.92rem; color: #333; }
.highlight-list li::before { content: '✓ '; color: var(--navy); font-weight: 700; }

/* Courses */
.courses-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.course-card {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 4px solid var(--navy);
  border-radius: 6px;
  padding: 22px 18px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.course-card:hover { box-shadow: 0 6px 22px rgba(13,42,94,0.13); transform: translateY(-3px); }
.course-card .icon { font-size: 2rem; margin-bottom: 10px; }
.course-card h3 { font-size: 0.97rem; color: var(--navy); margin-bottom: 6px; }
.course-card p { font-size: 0.82rem; color: #666; }

/* Gallery Carousel */
.carousel-wrap { position: relative; overflow: hidden; border-radius: 8px; }
.carousel-track {
  display: flex;
  gap: 12px;
  transition: transform 0.35s ease;
  will-change: transform;
}
.carousel-track img {
  flex-shrink: 0;
  height: 240px;
  width: auto;
  border-radius: 6px;
  object-fit: cover;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(13,42,94,0.82);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.carousel-btn:hover { background: var(--navy); }
.carousel-btn.prev { left: 8px; }
.carousel-btn.next { right: 8px; }

/* Video */
.video-wrap {
  max-width: 780px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  background: #000;
}
.video-wrap iframe,
.video-wrap .yt-facade {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}
.yt-facade { cursor: pointer; display: block; }
.yt-facade img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.yt-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255,0,0,0.88);
  border: none;
  border-radius: 50%;
  width: 68px; height: 68px;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 5px;
  transition: background 0.2s, transform 0.2s;
  pointer-events: none;
}
.yt-facade:hover .yt-play { background: #ff0000; transform: translate(-50%, -50%) scale(1.1); }

/* Form Section */
.form-section { background: var(--navy); color: #fff; }
.form-section .section-title h2 { color: #fff; }
.form-section .section-title p { color: #adc4ea; }
.form-section .section-title .line { background: var(--gold); }
.form-card {
  background: #fff;
  color: #222;
  border-radius: 10px;
  padding: 36px 32px;
  max-width: 780px;
  margin: 0 auto;
  box-shadow: 0 8px 36px rgba(0,0,0,0.22);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 5px;
}
.form-group label .req { color: var(--red); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 13px;
  border: 1.5px solid var(--border);
  border-radius: 5px;
  font-size: 0.93rem;
  font-family: inherit;
  color: #222;
  background: #fafbfc;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
  background: #fff;
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-note { font-size: 0.8rem; color: #888; margin-bottom: 16px; }
.submit-btn {
  width: 100%;
  padding: 14px;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  letter-spacing: 0.5px;
}
.submit-btn:hover { background: #1a4a8a; }
.form-msg { margin-bottom: 14px; font-size: 0.9rem; }
.form-msg.success { color: #1a7a3a; font-weight: 600; }
.form-msg.error { color: var(--red); font-weight: 600; }

/* Recruiters */
.recruiters-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.recruiter {
  background: var(--light);
  border: 1.5px solid var(--border);
  border-radius: 6px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.5px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.recruiter:hover { border-color: var(--navy); box-shadow: 0 3px 12px rgba(13,42,94,0.1); }

/* Accreditation */
.accreditation-bar {
  background: var(--navy);
  color: #fff;
  padding: 20px 0;
  text-align: center;
  font-size: 0.9rem;
  letter-spacing: 0.4px;
}
.accreditation-bar .wrap { display: flex; justify-content: center; gap: 36px; flex-wrap: wrap; align-items: center; }
.acc-item { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; }
.acc-item strong { color: var(--gold); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 22px; }
.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 22px 18px;
  text-align: center;
}
.contact-card .icon { font-size: 1.8rem; margin-bottom: 8px; }
.contact-card h4 { font-size: 0.88rem; color: #888; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.5px; }
.contact-card p { color: var(--navy); font-weight: 600; font-size: 0.95rem; }

/* Footer */
footer {
  background: #0a1e42;
  color: #aaa;
  padding: 22px 0;
  text-align: center;
  font-size: 0.82rem;
}
footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
footer a { color: var(--gold); }

/* Responsive */
@media (max-width: 768px) {
  .hero-form-card { display: none; }
  .hero-text h2 { font-size: 1.5rem; }
  .about-img { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 24px 16px; }
  header .college-name h1 { font-size: 1.05rem; }
  .stats-bar .wrap { gap: 18px; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 12px; }
  section { padding: 38px 0; }
  .courses-grid { grid-template-columns: 1fr 1fr; }
}
