/* ===================================
   TC BUSINESS SCHOOL – STYLESHEET
   Modern Blue/Gold Academic Theme
   =================================== */

/* --- CSS VARIABLES --- */
:root {
  --navy: #0a1628;
  --blue: #1a3a6b;
  --blue-mid: #1e4d8c;
  --blue-light: #2b6cb0;
  --gold: #c9a227;
  --gold-light: #e8c44a;
  --gold-pale: #fdf4dc;
  --white: #ffffff;
  --off-white: #f8fafd;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --text: #1a2332;
  --text-muted: #5a6b7e;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;

  --shadow-sm: 0 2px 8px rgba(10, 22, 40, 0.08);
  --shadow-md: 0 8px 32px rgba(10, 22, 40, 0.12);
  --shadow-lg: 0 20px 60px rgba(10, 22, 40, 0.16);
  --shadow-gold: 0 8px 32px rgba(201, 162, 39, 0.25);

  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-body); }

/* --- UTILITY --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-tag {
  display: inline-block;
  background: var(--gold-pale);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid var(--gold-light);
  margin-bottom: 16px;
}
.tag-light {
  background: rgba(255,255,255,0.15);
  color: var(--gold-light);
  border-color: rgba(255,255,255,0.2);
}
.section-header { text-align: center; margin-bottom: 64px; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 16px;
}
.section-header.light .section-title { color: var(--white); }
.section-desc { font-size: 1.05rem; color: var(--text-muted); max-width: 600px; margin: 0 auto; }
.section-header.light .section-desc { color: rgba(255,255,255,0.75); }

/* --- BUTTONS --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: 100px;
  transition: var(--transition);
  box-shadow: var(--shadow-gold);
  white-space: nowrap;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(201,162,39,0.4); }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  color: var(--white);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: 100px;
  border: 1.5px solid rgba(255,255,255,0.3);
  transition: var(--transition);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.5); }
.btn-full { width: 100%; justify-content: center; }

/* ===================================
   NAVIGATION
   =================================== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  background: transparent;
}
#navbar.scrolled {
  background: rgba(10, 22, 40, 0.97);
  backdrop-filter: blur(20px);
  padding: 10px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; }
.logo-main { color: var(--white); font-weight: 600; font-size: 1rem; line-height: 1.2; }
.logo-sub { color: var(--gold-light); font-size: 0.65rem; letter-spacing: 0.08em; text-transform: uppercase; }

nav { display: flex; align-items: center; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-link {
  color: rgba(255,255,255,0.85);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--white); background: rgba(255,255,255,0.1); }
.nav-apply {
  display: inline-flex;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy) !important;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 8px 20px;
  border-radius: 100px;
  transition: var(--transition);
  margin-left: 8px;
}
.nav-apply:hover { transform: translateY(-1px); box-shadow: var(--shadow-gold); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===================================
   HERO SECTION
   =================================== */
.hero {
  min-height: 100vh;
  background: linear-gradient(145deg, #070f1e 0%, #0d2045 40%, #142a5e 100%);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 24px 80px;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.2;
}
.s1 { width: 600px; height: 600px; background: var(--blue-mid); top: -200px; right: -100px; }
.s2 { width: 400px; height: 400px; background: var(--gold); bottom: -100px; left: -100px; opacity: 0.08; }
.s3 { width: 300px; height: 300px; background: #4a90e2; top: 50%; left: 40%; opacity: 0.12; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  z-index: 1;
}
.hero-badge {
  display: inline-block;
  background: rgba(201,162,39,0.15);
  color: var(--gold-light);
  border: 1px solid rgba(201,162,39,0.3);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
  animation: fadeInDown 0.8s ease both;
}
.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 24px;
}
.title-line {
  color: var(--white);
  animation: fadeInUp 0.8s ease 0.2s both;
}
.title-accent {
  color: var(--gold);
  font-style: italic;
  animation: fadeInUp 0.8s ease 0.4s both;
}
.hero-subtitle {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto 40px;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease 0.6s both;
}
.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
  animation: fadeInUp 0.8s ease 0.8s both;
}
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 28px 40px;
  animation: fadeInUp 0.8s ease 1s both;
  row-gap: 20px;
}
.stat-item { text-align: center; padding: 0 32px; }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}
.stat-plus { font-size: 1.4rem; color: var(--gold-light); vertical-align: super; }
.stat-label { display: block; font-size: 0.8rem; color: rgba(255,255,255,0.6); margin-top: 6px; text-transform: uppercase; letter-spacing: 0.05em; }
.stat-divider { width: 1px; height: 48px; background: rgba(255,255,255,0.12); flex-shrink: 0; }
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: fadeInUp 1s ease 1.5s both;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2s ease infinite;
}

/* ===================================
   MARQUEE
   =================================== */
.marquee-bar {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  padding: 14px 0;
  overflow: hidden;
  border-top: 1px solid rgba(201,162,39,0.2);
  border-bottom: 1px solid rgba(201,162,39,0.2);
}
.marquee-track {
  display: flex;
  gap: 60px;
  animation: marqueeScroll 30s linear infinite;
  white-space: nowrap;
}
.marquee-track span {
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  font-weight: 500;
  flex-shrink: 0;
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about-section { background: var(--off-white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-visual { position: relative; }
.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-main img { width: 100%; height: 400px; object-fit: cover; }
.about-img-secondary {
  position: absolute;
  bottom: -40px; right: -40px;
  width: 200px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-md);
}
.about-img-secondary img { width: 100%; height: 140px; object-fit: cover; }
.about-badge-card {
  position: absolute;
  top: 32px; left: -24px;
  background: var(--navy);
  color: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  box-shadow: var(--shadow-md);
  font-size: 0.8rem;
  text-align: center;
  border: 1px solid rgba(201,162,39,0.3);
}
.about-badge-card i { color: var(--gold); font-size: 1.5rem; margin-bottom: 4px; }
.about-badge-card strong { font-size: 0.95rem; }
.about-content .section-tag { margin-bottom: 12px; }
.about-lead { font-size: 1.1rem; font-weight: 500; color: var(--text); margin-bottom: 16px; }
.about-text { color: var(--text-muted); margin-bottom: 32px; }
.vmg-tabs { display: flex; gap: 4px; margin-bottom: 24px; }
.tab-btn {
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
  border: 1.5px solid var(--gray-200);
}
.tab-btn.active, .tab-btn:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.tab-content {
  display: none;
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--gray-200);
  position: relative;
}
.tab-content.active { display: block; animation: fadeIn 0.3s ease; }
.tab-icon { font-size: 1.5rem; color: var(--gold); margin-bottom: 12px; display: block; }
.tab-content p { color: var(--text-muted); font-size: 0.95rem; }
.achieve-list { list-style: none; }
.achieve-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  border-bottom: 1px solid var(--gray-100);
}
.achieve-list li:last-child { border-bottom: none; }
.achieve-list i { color: var(--gold); flex-shrink: 0; }

/* ===================================
   COURSES SECTION
   =================================== */
.courses-section { background: var(--white); }
.course-hero-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  margin-bottom: 64px;
  box-shadow: var(--shadow-md);
}
.course-hero-left {
  padding: 48px;
  background: var(--navy);
  color: var(--white);
}
.course-badge {
  display: inline-block;
  background: rgba(201,162,39,0.2);
  color: var(--gold-light);
  border: 1px solid rgba(201,162,39,0.3);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.course-hero-left h3 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  margin-bottom: 16px;
  line-height: 1.2;
}
.course-hero-left p { color: rgba(255,255,255,0.7); margin-bottom: 32px; }
.course-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 40px;
}
.course-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 14px;
  border-radius: var(--radius);
}
.course-meta-item i { color: var(--gold); margin-top: 3px; flex-shrink: 0; }
.course-meta-item div { display: flex; flex-direction: column; }
.course-meta-item strong { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(255,255,255,0.5); }
.course-meta-item span { color: var(--white); font-size: 0.9rem; }

.course-hero-right { padding: 48px; }
.course-hero-right h4 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 24px;
}
.subjects-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.subject-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--text);
  border: 1.5px solid var(--gray-200);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  transition: var(--transition);
}
.subject-chip:hover { border-color: var(--blue-light); color: var(--blue); background: rgba(43,108,176,0.05); }
.subject-chip i { color: var(--blue-light); font-size: 0.75rem; }

.career-title {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--navy);
  text-align: center;
  margin-bottom: 40px;
}
.career-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}
.career-card {
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}
.career-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.career-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--navy), var(--blue-mid));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.career-icon i { color: var(--gold); font-size: 1.4rem; }
.career-card h4 { font-size: 1rem; color: var(--navy); margin-bottom: 8px; }
.career-card p { font-size: 0.83rem; color: var(--text-muted); }

/* ===================================
   FACILITIES SECTION
   =================================== */
.facilities-section {
  background: linear-gradient(145deg, #0a1628 0%, #1a3a6b 100%);
}
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.facility-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.facility-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-4px); border-color: rgba(201,162,39,0.4); }
.facility-img { height: 180px; overflow: hidden; }
.facility-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.facility-card:hover .facility-img img { transform: scale(1.06); }
.facility-body { padding: 24px; }
.facility-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.facility-icon i { color: var(--navy); font-size: 1rem; }
.facility-body h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 8px; }
.facility-body p { color: rgba(255,255,255,0.6); font-size: 0.875rem; line-height: 1.6; }

/* ===================================
   PLACEMENT SECTION
   =================================== */
.placement-section { background: var(--off-white); }
.placement-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}
.p-stat {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.p-stat:hover { border-color: var(--gold); box-shadow: var(--shadow-gold); transform: translateY(-4px); }
.p-stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 8px;
}
.p-stat-label { font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }

.placement-partners { margin-bottom: 64px; }
.placement-partners h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--navy);
  text-align: center;
  margin-bottom: 32px;
}
.partners-scroll {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.partner-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  padding: 20px 28px;
  border-radius: var(--radius);
  min-width: 120px;
  transition: var(--transition);
}
.partner-logo:hover { border-color: var(--blue-light); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.partner-logo i { font-size: 1.4rem; color: var(--blue-light); }
.partner-logo span { font-size: 0.85rem; font-weight: 600; color: var(--text); }

.testimonials h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--navy);
  text-align: center;
  margin-bottom: 32px;
}
.testimonials-slider { position: relative; min-height: 200px; }
.testimonial-card {
  display: none;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md);
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  animation: fadeIn 0.4s ease;
}
.testimonial-card.active { display: block; }
.t-quote { font-size: 2rem; color: var(--gold); margin-bottom: 16px; }
.testimonial-card > p { font-size: 1.05rem; color: var(--text); font-style: italic; margin-bottom: 28px; line-height: 1.7; }
.t-author { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 16px; }
.t-avatar {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--navy), var(--blue-mid));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-weight: 700;
  font-size: 0.85rem;
}
.t-author strong { display: block; color: var(--navy); }
.t-author span { font-size: 0.83rem; color: var(--text-muted); }
.t-stars { color: var(--gold); font-size: 1.1rem; letter-spacing: 2px; }
.slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gray-200);
  transition: var(--transition);
  cursor: pointer;
}
.dot.active { background: var(--navy); width: 28px; border-radius: 5px; }

/* ===================================
   REVIEWS SECTION
   =================================== */
.reviews-section { background: var(--white); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}
.review-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.review-top { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.reviewer-avatar {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--navy), var(--blue-mid));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-light);
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
}
.review-top strong { display: block; color: var(--navy); font-size: 0.95rem; }
.review-top span { font-size: 0.78rem; color: var(--text-muted); }
.review-stars { margin-left: auto; color: var(--gold); font-size: 0.9rem; }
.review-card > p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 4px 12px;
  border-radius: 100px;
}
.google-badge i { color: #4285f4; }

/* ===================================
   GALLERY
   =================================== */
.gallery-section { background: var(--off-white); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  gap: 16px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gallery-item img { width: 100%; height: 200px; object-fit: cover; transition: transform 0.4s ease; display: block; }
.gallery-item.g-large { grid-column: span 2; grid-row: span 1; }
.gallery-item.g-large img { height: 200px; }
.gallery-item.g-tall { grid-row: span 2; }
.gallery-item.g-tall img { height: 416px; }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 40, 0.65);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay i { color: var(--white); font-size: 1.4rem; }
.gallery-overlay span { color: var(--gold-light); font-size: 0.85rem; font-weight: 600; }

/* ===================================
   FAQ SECTION
   =================================== */
.faq-section { background: var(--white); }
.faq-grid { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.active { border-color: var(--blue-light); box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: var(--white);
  transition: var(--transition);
}
.faq-item.active .faq-q { color: var(--blue); background: rgba(43,108,176,0.04); }
.faq-q i { flex-shrink: 0; color: var(--blue-light); transition: transform 0.3s ease; }
.faq-item.active .faq-q i { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s ease;
}
.faq-a.open { max-height: 300px; }
.faq-a p { padding: 0 24px 20px; font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }

/* ===================================
   CONTACT SECTION
   =================================== */
.contact-section { background: var(--off-white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 64px;
  align-items: start;
}
.contact-info h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--navy);
  margin-bottom: 32px;
}
.info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-200);
}
.info-item:last-of-type { border-bottom: none; }
.info-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--navy), var(--blue-mid));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.info-icon i { color: var(--gold); }
.info-item strong { display: block; color: var(--navy); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
.info-item p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; }
.phone-link {
  display: block;
  color: var(--blue);
  font-weight: 600;
  transition: var(--transition);
}
.phone-link:hover { color: var(--gold); }
.social-links { display: flex; gap: 12px; margin-top: 8px; }
.social-links a {
  width: 40px; height: 40px;
  background: var(--navy);
  color: var(--white);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  transition: var(--transition);
}
.social-links a:hover { background: var(--gold); color: var(--navy); transform: translateY(-2px); }

.contact-form-wrap h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--navy);
  margin-bottom: 32px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--blue-light); box-shadow: 0 0 0 3px rgba(43,108,176,0.12); }
.form-group input.error,
.form-group textarea.error { border-color: #e53e3e; }
.form-error { display: block; font-size: 0.78rem; color: #e53e3e; margin-top: 4px; }
.form-success {
  display: none;
  background: #d4edda;
  color: #155724;
  border-radius: var(--radius);
  padding: 14px 20px;
  font-size: 0.9rem;
  margin-top: 16px;
  text-align: center;
}
.form-success.show { display: flex; align-items: center; justify-content: center; gap: 8px; }
.form-success i { font-size: 1.1rem; }

.map-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--navy);
  text-align: center;
  margin-bottom: 24px;
}
.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  height: 400px;
}
.map-wrapper iframe { width: 100%; height: 100%; border: none; }

/* ===================================
   FOOTER
   =================================== */
.footer { background: var(--navy); color: rgba(255,255,255,0.8); }
.footer-top { padding: 80px 0 60px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1.5fr;
  gap: 48px;
}
.footer-brand .footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.footer-brand p { font-size: 0.875rem; line-height: 1.7; color: rgba(255,255,255,0.55); }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.1);
}
.footer-social a:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.footer-col h4 {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(201,162,39,0.3);
}
.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  display: block;
  padding: 5px 0;
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--gold-light); padding-left: 8px; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
}
.footer-contact-item i { color: var(--gold); margin-top: 2px; flex-shrink: 0; }
.footer-contact-item div { display: flex; flex-direction: column; gap: 2px; }
.footer-contact-item a { color: rgba(255,255,255,0.55); transition: var(--transition); }
.footer-contact-item a:hover { color: var(--gold-light); }
.footer-bottom {
  background: rgba(0,0,0,0.3);
  padding: 20px 0;
  text-align: center;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.4); margin-bottom: 6px; }
.footer-bottom p:last-child { margin-bottom: 0; }
.footer-links-row a { color: rgba(255,255,255,0.4); margin: 0 4px; transition: var(--transition); }
.footer-links-row a:hover { color: var(--gold-light); }

/* ===================================
   FLOATING BUTTONS
   =================================== */
.whatsapp-btn {
  position: fixed;
  bottom: 90px;
  right: 28px;
  width: 56px; height: 56px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 999;
  transition: var(--transition);
}
.whatsapp-btn:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(37,211,102,0.5); }
.wa-tooltip {
  position: absolute;
  right: 66px;
  background: var(--navy);
  color: var(--white);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.78rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.whatsapp-btn:hover .wa-tooltip { opacity: 1; }
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px; height: 44px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  box-shadow: var(--shadow-md);
  z-index: 999;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  pointer-events: none;
  border: 1.5px solid rgba(255,255,255,0.1);
}
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: all; }
.back-to-top:hover { background: var(--gold); color: var(--navy); }

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scrollPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.2; } }
@keyframes marqueeScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.revealed { opacity: 1; transform: translateY(0); }

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { max-width: 520px; margin: 0 auto; }
  .course-hero-card { grid-template-columns: 1fr; }
  .course-hero-right { border-top: 1px solid var(--gray-200); }
  .facilities-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .placement-stats-row { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .hamburger { display: flex; z-index: 1001; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 280px; height: 100vh;
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 32px 40px;
    gap: 8px;
    transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
    box-shadow: -10px 0 40px rgba(0,0,0,0.3);
    border-left: 1px solid rgba(255,255,255,0.08);
  }
  .nav-links.open { right: 0; }
  .nav-link { font-size: 1rem; padding: 12px 16px; width: 100%; border-radius: 10px; }
  .nav-apply { margin-left: 0; width: 100%; text-align: center; justify-content: center; padding: 12px; }
  .hero { padding: 140px 24px 100px; }
  .hero-stats { padding: 20px 16px; }
  .stat-item { padding: 0 16px; }
  .stat-divider { height: 40px; }
  .stat-num { font-size: 1.8rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.g-large { grid-column: span 2; }
  .gallery-item.g-tall { grid-row: span 1; }
  .gallery-item.g-tall img { height: 200px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .career-grid { grid-template-columns: repeat(2, 1fr); }
  .facilities-grid { grid-template-columns: 1fr; }
  .placement-stats-row { grid-template-columns: repeat(2, 1fr); }
  .testimonial-card { padding: 28px 24px; }
  .course-hero-left { padding: 32px; }
  .course-hero-right { padding: 32px; }
  .course-meta-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-stats { flex-direction: column; gap: 16px; padding: 20px; }
  .stat-divider { width: 60px; height: 1px; }
  .hero-cta { flex-direction: column; align-items: center; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.g-large { grid-column: span 1; }
  .career-grid { grid-template-columns: 1fr; }
  .placement-stats-row { grid-template-columns: 1fr 1fr; }
  .about-img-secondary { display: none; }
  .about-badge-card { display: none; }
  .vmg-tabs { flex-wrap: wrap; }
}
