/* =====================
   ROOT VARIABLES
===================== */
:root {
  --primary: #0B1C2D;      /* Navy */
  --secondary: #1F4FD8;    /* Royal Blue */
  --accent: #F4B400;       /* Amber */
  --bg: #F9FAFB;           /* Off white */
  --text: #1F2937;         /* Dark text */
  --muted: #6B7280;
  --white: #ffffff;
}

/* =====================
   GLOBAL RESET
===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

/* =====================
   UTILITIES
===================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.container.narrow {
  max-width: 900px;
}

.section {
  padding: 80px 0;
}

.bg-light {
  background: var(--bg);
}

.bg-dark {
  background: var(--primary);
  color: var(--white);
}

.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 50px;
  color: var(--primary);
}

/* =====================
   BUTTONS
===================== */
.btn-primary {
  background: var(--secondary);
  color: var(--white);
  padding: 12px 26px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-primary:hover {
  background: #173db4;
  transform: translateY(-2px);
}

.btn-secondary {
  border: 2px solid var(--white);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--primary);
}

.text-link {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 500;
}

/* =====================
   NAVBAR
===================== */
.navbar {
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  height: 42px;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
}

.nav-links a.active {
  color: var(--secondary);
}

/* Mobile menu open (JS ke liye) */
.nav-links.show {
  display: flex;
}

.hamburger {
  display: none;
  font-size: 1.4rem;
  cursor: pointer;
}

/* =====================
   HERO
===================== */
.hero {
  height: 100vh;
  background: url("images/hero.png") center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 28, 45, 0.65);
}

.hero-content {
  position: relative;
  color: var(--white);
  max-width: 700px;
}

.hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero h2 {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 12px;
}

.hero p {
  font-size: 1rem;
  margin-bottom: 28px;
}

.hero span {
  color: var(--accent);
  font-weight: 600;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

/* =====================
   CARDS
===================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.card-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
}

.card i {
  font-size: 1.8rem;
  color: var(--secondary);
  margin-bottom: 15px;
}

.card h3 {
  font-family: 'Poppins', sans-serif;
  margin-bottom: 10px;
}

/* =====================
   ABOUT PAGE
===================== */
.page-header {
  background: var(--primary);
  color: var(--white);
  padding: 70px 0;
  text-align: center;
}

.page-header h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.4rem;
}

.director-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: center;
}

.director-image img {
  width: 100%;
  border-radius: 12px;
}

/* =====================
   COURSES
===================== */
.course-block {
  margin-bottom: 60px;
}

.course-points {
  margin-top: 15px;
  padding-left: 20px;
}

.course-points li {
  margin-bottom: 8px;
}

/* =====================
   CONTACT PAGE
===================== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-left h2,
.contact-right h2 {
  font-family: 'Poppins', sans-serif;
  margin-bottom: 15px;
}

.contact-item {
  display: flex;
  gap: 15px;
  margin: 20px 0;
}

.contact-item i {
  color: var(--secondary);
  font-size: 1.4rem;
}

.contact-social a {
  margin-right: 12px;
  font-size: 1.4rem;
  color: var(--secondary);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 6px;
  border: 1px solid #ddd;
  font-family: inherit;
}

.full-width {
  width: 100%;
}

.map-section iframe {
  width: 100%;
  height: 380px;
  border: none;
}

/* =====================
   FOOTER
===================== */
.footer {
  background: var(--primary);
  color: var(--white);
  padding: 25px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer .social a {
  color: var(--white);
  margin-left: 12px;
  font-size: 1.2rem;
}

/* =====================
   SCROLL REVEAL (JS SUPPORT)
===================== */
.card,
.course-block,
.director-grid,
.contact-wrapper {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
}

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 992px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .director-grid,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    right: 0;
    background: var(--white);
    flex-direction: column;
    width: 220px;
    padding: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  }

  .hamburger {
    display: block;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .card-grid,
  .card-grid.three {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    gap: 10px;
  }
}

/* =====================
   HOME ABOUT SECTION FIX
===================== */
.about-snippet {
  background: var(--bg);
}

.about-snippet .btn-secondary {
  border: 2px solid var(--secondary);
  color: var(--secondary);
}

.about-snippet .btn-secondary:hover {
  background: var(--secondary);
  color: var(--white);
}

.about-snippet p {
  margin-bottom: 25px;
}

.about-snippet .btn-secondary {
  margin-top: 10px;
  display: inline-block;
}

