:root {
  --navy: #0b2447;
  --navy-2: #19376d;
  --blue: #2563eb;
  --blue-light: #576cbc;
  --accent: #f59e0b;
  --bg: #f6f8fc;
  --white: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #e5e9f2;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(11, 36, 71, 0.08);
  --shadow-hover: 0 18px 40px rgba(11, 36, 71, 0.14);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

h1, h2, h3, .brand-text strong { font-family: 'Poppins', sans-serif; }

.container { width: min(1140px, 92%); margin: 0 auto; }

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  cursor: pointer;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--navy-2); transform: translateY(-2px); }
.btn-whatsapp { background: #25d366; color: #fff; }
.btn-whatsapp:hover { background: #1da851; transform: translateY(-2px); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { height: 54px; width: auto; border-radius: 8px; display: block; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-weight: 500; color: var(--text); font-size: 0.95rem; transition: color .15s; }
.nav a:hover { color: var(--blue); }
.nav .nav-cta { color: #fff; }
.nav .nav-cta:hover { color: #fff; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--navy); border-radius: 3px; transition: .25s; }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 55%, var(--blue-light) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
/* Sliding background */
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-track { display: flex; width: 100%; height: 100%; transition: transform .9s cubic-bezier(.65,0,.35,1); }
.hero-slide { flex: 0 0 100%; height: 100%; background-size: cover; background-position: center; }
.slide-photo {
  background-image: url('assets/hero-banner.jpg');
  background-position: right center;
  animation: heroZoom 12s ease-in-out infinite alternate;
}
.slide-brand {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 55%, var(--blue-light) 100%);
  position: relative;
}
.slide-brand::after {
  content: "";
  position: absolute;
  right: -30px; top: 50%; transform: translateY(-50%);
  width: 52%; height: 78%;
  background: url('assets/logo.jpg') no-repeat right center;
  background-size: contain;
  opacity: 0.28;
  mix-blend-mode: screen;
}
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.08); } }
/* Overlay keeps text readable */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(11,36,71,.95) 0%, rgba(11,36,71,.88) 32%, rgba(11,36,71,.55) 60%, rgba(11,36,71,.2) 100%);
}
.hero-inner { padding: 90px 0 100px; position: relative; z-index: 2; }
.hero-content { max-width: 720px; }
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 16px;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; line-height: 1.15; }
.hero h1 .accent { color: var(--accent); }
.hero-sub { font-size: 1.12rem; color: #d8e1f2; margin: 20px 0 32px; max-width: 600px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Highlights */
.highlights { margin-top: -55px; position: relative; z-index: 5; }
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.highlight {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.hl-icon { font-size: 1.9rem; display: block; margin-bottom: 12px; }
.highlight h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: 6px; }
.highlight p { color: var(--muted); font-size: 0.92rem; }

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: #fff; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); color: var(--navy); }
.section-head p { color: var(--muted); margin-top: 10px; }

/* Course cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.section-alt .card { background: var(--bg); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.card-tag {
  display: inline-block;
  background: rgba(37, 99, 235, .1);
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.card h3 { color: var(--navy); font-size: 1.22rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.92rem; margin-bottom: 16px; }
.pill-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.pill-list li {
  background: var(--navy);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 8px;
}

/* Faculty */
.faculty-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.faculty-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform .18s ease;
}
.faculty-card:hover { transform: translateY(-6px); }
.avatar {
  width: 78px; height: 78px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy-2), var(--blue));
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
}
.avatar-img { object-fit: cover; object-position: center 25%; }
.faculty-card h3 { color: var(--navy); font-size: 1.12rem; }
.subject { display: block; color: var(--blue); font-weight: 600; font-size: 0.85rem; margin: 4px 0 8px; }
.qual { color: var(--muted); font-size: 0.88rem; }

/* Guest faculty */
.guest-faculty { margin-top: 36px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.guest-info .pill-list { margin-top: 14px; }
.linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 9px 18px;
  border-radius: 999px;
  background: #0a66c2;
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  transition: background .15s ease, transform .15s ease;
}
.linkedin-link:hover { background: #084d92; transform: translateY(-2px); }
.guest-card {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  min-width: 0;
  background: linear-gradient(135deg, #fff 0%, #f0f4ff 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.guest-avatar {
  flex: 0 0 96px;
  width: 96px; height: 96px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), #d97706);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
}
.guest-card .guest-avatar-img {
  flex: none;
  width: 96px;
  height: 96px;
  min-width: 96px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}
.guest-info { text-align: left; }
.guest-badge {
  display: inline-block;
  background: rgba(245, 158, 11, .15);
  color: #b45309;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.guest-info h3 { color: var(--navy); font-size: 1.25rem; }
.guest-bio { color: var(--muted); font-size: 0.92rem; margin-top: 10px; }

/* Founder */
.founder-inner { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: center; }
.founder-media { display: grid; place-items: center; }
.founder-avatar {
  width: 220px; height: 220px;
  border-radius: 28px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy), var(--blue-light));
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 4rem;
  box-shadow: var(--shadow-hover);
}
.founder-avatar-img { object-fit: cover; object-position: center 20%; }
.founder-content h2 { color: var(--navy); }
.founder-title { color: var(--blue); font-weight: 600; margin: 4px 0 16px; }
.founder-content p { color: var(--muted); margin-bottom: 22px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.contact-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 22px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.contact-card:not(div):hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.contact-icon { font-size: 1.9rem; display: block; margin-bottom: 12px; }
.contact-card h3 { color: var(--navy); font-size: 1.05rem; margin-bottom: 6px; }
.contact-card p { color: var(--muted); font-size: 0.92rem; word-break: break-word; }

/* Footer */
.site-footer { background: var(--navy); color: #cdd7ea; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 44px 0;
  flex-wrap: wrap;
}
.footer-brand { display: flex; flex-direction: column; gap: 12px; max-width: 360px; }
.footer-brand .brand-logo { height: 64px; width: auto; border-radius: 10px; }
.footer-brand p { font-size: 0.85rem; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { font-size: 0.92rem; transition: color .15s; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; }
.footer-bottom p { font-size: 0.82rem; text-align: center; }

/* Floating WhatsApp */
.float-wa {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 58px; height: 58px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.45);
  z-index: 60;
  transition: transform .15s ease;
}
.float-wa:hover { transform: scale(1.08); }

/* Responsive */
@media (max-width: 900px) {
  .highlights-grid, .cards, .faculty-grid, .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .founder-inner { grid-template-columns: 1fr; text-align: center; }
  .founder-media { margin-bottom: 12px; }
  .guest-faculty { grid-template-columns: 1fr; }
  .founder-avatar {
    width: 100%;
    max-width: 320px;
    height: auto;
    aspect-ratio: 4 / 5;
    font-size: 3rem;
  }
}

@media (max-width: 720px) {
  .nav {
    position: fixed;
    inset: 64px 0 auto 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    transform: translateY(-150%);
    transition: transform .25s ease;
    box-shadow: var(--shadow);
  }
  .nav.open { transform: translateY(0); }
  .nav a { width: 100%; padding: 14px 24px; }
  .nav .nav-cta { margin: 8px 24px; width: auto; justify-content: center; }
  .nav-toggle { display: flex; }
  .hero-inner { padding: 64px 0 84px; }
  .brand-logo { height: 44px; }
  .hero-overlay { background: linear-gradient(135deg, rgba(11,36,71,.92) 0%, rgba(11,36,71,.82) 60%, rgba(25,55,109,.7) 100%); }
  .slide-photo { background-position: 75% center; }
}

@media (max-width: 480px) {
  .highlights-grid, .cards, .faculty-grid, .contact-grid { grid-template-columns: 1fr; }
  .brand-text small { display: none; }
  .avatar { width: 110px; height: 110px; }
  .founder-avatar { max-width: 280px; aspect-ratio: 3 / 4; }
  .guest-card { flex-direction: column; align-items: center; text-align: center; padding: 28px 22px; }
  .guest-avatar { flex: none; }
  .guest-info { text-align: center; width: 100%; }
  .guest-info .pill-list { justify-content: center; }
}
