/* ========================================================
   AZAM B.ED. COLLEGE  —  style.css
   ========================================================

   FONT SYSTEM (Consistency)
   ─────────────────────────
   Primary Font:   Poppins (Modern, clean, student-friendly)
     → Headings:   Poppins Bold (700-800)
     → CTA Buttons: Poppins Semi-Bold (600)
   
   Secondary Font: Roboto (Readable for long content)
     → Body Text:   Roboto Regular (400)
   
   COLOR SCHEME STRATEGY (Hybrid Model)
   ────────────────────────────────────
   University Brand Color (Blue/Navy) - Identity Consistency
     → Header & Footer backgrounds
     → Primary buttons
     → Navigation hover states
   
   College Color (Red) - Differentiation
     → Logo icon background
     → Highlights/Accents (hero badge, program icons)
     → Hover effects on primary buttons
     → Program section accents
   
   White - Backgrounds & Contrast
     → Main page backgrounds
     → Card backgrounds
     → Text on dark backgrounds
   
   ⚠️  AVOID:
     • Completely different color themes
     • Overuse of multiple colors
     • Poor contrast (accessibility issues)
   ======================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Roboto:wght@300;400;500&display=swap');

/* ── CSS TOKENS ── */
:root {
  /* University Brand Color (Blue from Dr. P.A. Inamdar University Logo) */
  --primary: #0c2340;
  --primary-dk: #081830;
  --primary-lt: #e6ecf2;

  /* College Color (Red from Azam College Logo Swooshes) */
  --accent: #d12020;
  --accent-dk: #a81818;

  /* Supporting Colors */
  --gold: #f0b429;
  /* Highlights, achievements */
  --teal: #0d9488;
  /* Secondary accents */

  /* Neutral Colors */
  --text: #1e293b;
  /* Primary text */
  --text-md: #475569;
  /* Secondary text */
  --text-lt: #94a3b8;
  /* Muted text */
  --bg: #f8fafc;
  /* Section backgrounds */
  --white: #ffffff;
  /* White backgrounds */
  --border: #e2e8f0;
  /* Borders */

  /* Effects */
  --shadow: 0 4px 24px rgba(26, 58, 107, .10);
  --shadow-md: 0 8px 32px rgba(26, 58, 107, .14);

  /* Design Tokens */
  --radius: 10px;
  --radius-lg: 18px;
  --transition: .25s ease;
  --section-py: 76px;

  /* Font Families */
  --font-head: 'Poppins', sans-serif;
  /* Headings, Buttons, Navigation */
  --font-body: 'Roboto', sans-serif;
  /* Body text, descriptions */
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: clip;
  width: 100%;
  position: relative;
}

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

img {
  max-width: 100%;
  display: block;
  height: auto;
}

ul {
  list-style: none;
}

/* ── GLOBAL OVERFLOW FIX ── */
section,
div,
article,
aside,
header,
footer,
main,
nav {
  max-width: 100%;
}

.container {
  width: 98%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 8px;
}

@media (min-width: 1600px) {
  .container {
    max-width: 1500px;
  }
}

@media (max-width: 768px) {
  .container {
    width: 94%;
    padding: 0 8px;
  }
}

@media (max-width: 480px) {
  .container {
    width: 92%;
    padding: 0 6px;
  }
}

/* ── UTILITY ── */
.section-label {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: 8px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-title span {
  color: var(--primary);
}

.section-sub {
  font-size: 1rem;
  color: var(--text-md);
  max-width: 580px;
  line-height: 1.7;
}

.section-center {
  text-align: center;
}

.section-center .section-sub {
  margin: 0 auto;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .9rem;
  padding: 12px 26px;
  border-radius: var(--radius);
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(26, 58, 107, .3);
}

.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(208, 40, 30, .3);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(208, 40, 30, .25);
}

.btn-accent:hover {
  background: var(--accent-dk);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, .6);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, .15);
  border-color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn-white {
  background: #fff;
  color: var(--primary);
}

.btn-white:hover {
  background: var(--gold);
  color: var(--text);
}

/* ── TOP BAR ── */
.top-bar {
  background: var(--primary-dk);
  color: rgba(255, 255, 255, .82);
  font-family: var(--font-body);
  font-size: .8rem;
  padding: 7px 0;
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  width: 100%;
}

.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  max-width: 100%;
}

.top-bar a {
  color: rgba(255, 255, 255, .82);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color var(--transition);
  white-space: nowrap;
}

.top-bar a:hover {
  color: var(--gold);
}

.top-bar .btn-portal {
  background: var(--accent);
  color: #fff;
  padding: 3px 14px;
  border-radius: 4px;
  font-weight: 600;
  font-size: .78rem;
}

.top-bar .btn-portal:hover {
  background: var(--accent-dk);
  color: #fff;
}

.top-bar .divider {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, .22);
  flex-shrink: 0;
}

/* ── HEADER ── */
.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 16px rgba(0, 0, 0, .08);
  width: 100%;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 8px;
  width: 100%;
  max-width: 100%;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 800;
  flex-shrink: 0;
}

.logo-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 10px;
  flex-shrink: 0;
}

.logo-text {
  display: block;
}

.logo-text .name {
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
  line-height: 1.2;
  white-space: nowrap;
}

.logo-text .sub {
  font-size: .65rem;
  color: var(--text-md);
  letter-spacing: .02em;
  display: block;
  white-space: nowrap;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  flex-shrink: 0;
  white-space: nowrap;
  flex-wrap: nowrap;
}

/* On desktop, reorder so hamburger (hidden) is at end */
.header-actions .hamburger {
  order: 99;
  flex-shrink: 0;
}

.header-actions .btn-search {
  order: 1;
  flex-shrink: 0;
}

.header-actions .btn-apply {
  order: 2;
  flex-shrink: 0;
}

/* Mobile header-actions should never wrap */
@media (max-width: 1024px) {
  .site-header {
    overflow: hidden;
    max-width: 100vw;
  }

  .header-inner {
    overflow: hidden;
    gap: 8px;
  }

  .logo-wrap {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
  }

  .logo-text {
    min-width: 0;
    overflow: hidden;
  }

  .logo-text .name {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-actions {
    flex-wrap: nowrap;
    gap: 6px;
  }

  .header-actions>* {
    flex-shrink: 0;
  }
}

/* Main nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 1px;
  flex: 1 0 auto;
  justify-content: flex-end;
}

.main-nav>li {
  position: relative;
}

.main-nav>li>a {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 6px 8px;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 500;
  color: var(--text);
  border-radius: 6px;
  transition: all var(--transition);
  white-space: nowrap;
}

.main-nav>li>a:hover,
.main-nav>li.active>a {
  color: var(--primary);
  background: var(--primary-lt);
}

.main-nav>li.active>a {
  border-bottom: 2px solid var(--primary);
  border-radius: 6px 6px 0 0;
}

/* NEW MODERN DROPDOWN - Slide up from below */
.main-nav>li {
  position: relative;
}

.main-nav>li::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 20px;
  z-index: 999;
}

.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(12, 35, 64, 0.15);
  min-width: 240px;
  border: 1px solid var(--border);
  overflow: hidden;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

/* Arrow indicator */
.dropdown::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid var(--white);
  filter: drop-shadow(0 -2px 2px rgba(0, 0, 0, 0.05));
}

.main-nav>li:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
  transition-delay: 0.1s;
}

.dropdown li a {
  display: block;
  padding: 14px 20px;
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--text-md);
  border-bottom: 1px solid var(--border);
  transition: all 0.25s ease;
  position: relative;
}

.dropdown li:last-child a {
  border-bottom: none;
}

.dropdown li a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--accent);
  transform: scaleY(0);
  transition: transform 0.25s ease;
}

.dropdown li a:hover {
  background: var(--primary-lt);
  color: var(--primary);
  padding-left: 28px;
}

.dropdown li a:hover::before {
  transform: scaleY(1);
}

.btn-search {
  width: 38px;
  height: 38px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-md);
  cursor: pointer;
  transition: all var(--transition);
}

.btn-search:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn-apply {
  background: var(--primary);
  color: #fff;
  padding: 9px 22px;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: .875rem;
  font-weight: 600;
  transition: all var(--transition);
}

.btn-apply:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ── SECTION 1: HERO ── */
.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
  width: 100%;
  max-width: 100vw;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/building.jpg') center/cover no-repeat;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(18, 40, 85, .75) 0%, rgba(18, 40, 85, .50) 50%, rgba(18, 40, 85, .2) 100%);
  z-index: 1;
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 100px 0;
  max-width: 100%;
  width: 100%;
}

.hero-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 4px;
  margin-bottom: 20px;
}

.hero-content h1 {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.12;
  margin-bottom: 18px;
}

.hero-content h1 em {
  color: var(--gold);
  font-style: normal;
}

.hero-content p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, .85);
  margin-bottom: 36px;
  line-height: 1.75;
  max-width: 500px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── SECTION 2: QUICK HIGHLIGHTS ── */
.highlights {
  background: var(--primary);
  padding: 0;
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
}

.highlights .container {
  width: 100%;
  max-width: 100%;
  padding: 0;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  max-width: 100%;
}

.highlight-item {
  padding: 36px 16px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, .12);
  border-bottom: none;
  transition: background var(--transition);
  min-width: 0;
}

.highlight-item:last-child {
  border-right: none;
}

.highlight-item:hover {
  background: rgba(255, 255, 255, .08);
}

.highlight-num {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
  word-break: break-word;
}

.highlight-label {
  font-family: var(--font-head);
  font-size: clamp(0.7rem, 2vw, 0.85rem);
  font-weight: 500;
  color: rgba(255, 255, 255, .8);
  text-transform: uppercase;
  letter-spacing: .08em;
  word-break: break-word;
}

.highlight-sub {
  font-size: clamp(0.7rem, 1.5vw, 0.78rem);
  color: rgba(255, 255, 255, .55);
  margin-top: 4px;
  word-break: break-word;
  line-height: 1.4;
}

/* ── SECTION 3: PROGRAMS SNAPSHOT ── */
.programs-section {
  padding: var(--section-py) 0;
  background: var(--bg);
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 48px;
}

.program-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.program-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.program-card-header {
  padding: 24px 22px 18px;
  background: var(--primary);
  position: relative;
  overflow: hidden;
}

.program-card-header::after {
  content: '';
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  right: -20px;
  top: -20px;
}

.program-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, .15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 14px;
}

.program-card-header h3 {
  font-family: var(--font-head);
  font-size: 1.02rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.program-card-header .prog-type {
  font-size: .72rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.program-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--white);
}

.prog-details-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.prog-details-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .88rem;
  color: var(--text-md);
  line-height: 1.5;
}

.prog-details-list li i {
  color: var(--primary);
  margin-top: 3px;
  font-size: .95rem;
  flex-shrink: 0;
}

.prog-details-list li strong {
  color: var(--text);
  font-weight: 600;
}

.program-btn {
  margin-top: auto;
  width: 100%;
  justify-content: space-between;
  padding: 12px 20px;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all var(--transition);
}

.program-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.program-btn i {
  transition: transform var(--transition);
}

.program-btn:hover i {
  transform: translateX(5px);
}

/* ── SECTION 4: WHY CHOOSE US ── */
.why-section {
  padding: var(--section-py) 0;
  background: var(--white);
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
}

.why-layout {
  display: block;
  margin-top: 20px;
}

.why-content.full-width {
  width: 100%;
}

.why-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.why-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.why-image-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--primary);
  color: #fff;
  padding: 14px 20px;
  border-radius: var(--radius);
}

.why-image-badge .big {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold);
}

.why-image-badge .sm {
  font-size: .78rem;
  color: rgba(255, 255, 255, .8);
}

.why-usps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.usp-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 16px;
  transition: all var(--transition);
  min-height: 140px;
}

.usp-card:hover {
  background: var(--primary-lt);
  border-color: var(--primary);
  transform: translateY(-3px);
}

.usp-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.usp-icon.blue {
  background: rgba(26, 58, 107, .1);
  color: var(--primary);
}

.usp-icon.red {
  background: rgba(208, 40, 30, .1);
  color: var(--accent);
}

.usp-icon.gold {
  background: rgba(240, 180, 41, .15);
  color: #b07d00;
}

.usp-icon.teal {
  background: rgba(13, 148, 136, .1);
  color: var(--teal);
}

.usp-icon.green {
  background: rgba(34, 197, 94, .1);
  color: #16a34a;
}

.usp-icon.purple {
  background: rgba(139, 92, 246, .1);
  color: #7c3aed;
}

.usp-card h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.usp-card p {
  font-size: .85rem;
  color: var(--text-md);
  line-height: 1.6;
}

/* ── SECTION 5: PLACEMENT ── */
.placement-section {
  padding: var(--section-py) 0;
  background: var(--primary-dk);
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
}

.placement-header {
  text-align: center;
  margin-bottom: 48px;
}

.placement-header .section-title {
  color: #fff;
}

.placement-header .section-label {
  color: var(--gold);
}

.placement-header .section-label::before {
  background: var(--gold);
}

.placement-header .section-sub {
  color: rgba(255, 255, 255, .7);
  margin: 0 auto;
}

.placement-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.placement-stat {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
}

.placement-stat:hover {
  background: rgba(255, 255, 255, .13);
  transform: translateY(-4px);
}

.placement-stat .num {
  font-family: var(--font-head);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}

.placement-stat .label {
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .8);
}

.recruiters-label {
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255, 255, 255, .5);
  text-align: center;
  margin-bottom: 20px;
}

.recruiters-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 56px;
  width: 100%;
  max-width: 100%;
}

.recruiter-logo {
  background: #fff;
  border-radius: var(--radius);
  padding: 16px;
  width: 175px;
  max-width: calc(50% - 20px);
  height: 95px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, .15);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid transparent;
  cursor: pointer;
  flex-shrink: 0;
}

.recruiter-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.65);
  transition: all 0.4s ease;
  transform: scale(0.95);
}

.recruiter-logo:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .3);
  border-color: var(--gold);
}

.recruiter-logo:hover img {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.05);
}

/* Testimonials carousel in placement */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all var(--transition);
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, .13);
  transform: translateY(-4px);
}

.testi-stars {
  color: var(--gold);
  font-size: .9rem;
  margin-bottom: 14px;
  letter-spacing: 3px;
}

.testi-quote {
  font-size: .9rem;
  color: rgba(255, 255, 255, .82);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  color: #fff;
  font-size: 1rem;
  overflow: hidden;
  flex-shrink: 0;
}

.testi-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testi-name {
  font-family: var(--font-head);
  font-size: .88rem;
  font-weight: 600;
  color: #fff;
}

.testi-batch {
  font-size: .76rem;
  color: rgba(255, 255, 255, .55);
}

/* ── SECTION 6: CAMPUS LIFE ── */
.campus-section {
  padding: var(--section-py) 0;
  background: var(--bg);
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
}

.campus-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 48px;
}

.campus-images-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.campus-images-col img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.campus-info h3 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
}

.campus-info p {
  color: var(--text-md);
  line-height: 1.75;
  margin-bottom: 24px;
}

.campus-activities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.activity-tag {
  background: var(--primary-lt);
  color: var(--primary);
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(26, 58, 107, .15);
}

/* ── SECTION 7: FACULTY ── */
.faculty-section {
  padding: var(--section-py) 0;
  background: var(--white);
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
}

.faculty-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.faculty-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  text-align: center;
}

.faculty-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.faculty-photo {
  height: 220px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dk));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.faculty-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.faculty-photo .initials {
  font-family: var(--font-head);
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, .25);
  position: absolute;
}

.faculty-photo .real-initials {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(255, 255, 255, .8);
}

.faculty-body {
  padding: 22px 18px;
}

.faculty-body h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.faculty-body .designation {
  font-size: .82rem;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 10px;
}

.faculty-expertise {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}

.expertise-tag {
  background: var(--primary-lt);
  color: var(--primary);
  font-size: .72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
}

/* ── SECTION 8: INFRASTRUCTURE ── */
.infra-section {
  padding: var(--section-py) 0;
  background: var(--bg);
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
}

.infra-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 48px;
}

.infra-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

.infra-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.infra-img {
  height: 180px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255, 255, 255, .3);
  overflow: hidden;
  position: relative;
}

.infra-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.infra-body {
  padding: 18px 16px;
}

.infra-body h4 {
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.infra-body p {
  font-size: .82rem;
  color: var(--text-md);
  line-height: 1.55;
}

.infra-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, .45);
  color: #fff;
  font-family: var(--font-head);
  font-size: .7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
}

/* ── SECTION 9: TESTIMONIALS ── */
.testimonials-section {
  padding: var(--section-py) 0;
  background: var(--white);
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
}

.testimonials-section .testimonials-grid {
  grid-template-columns: repeat(3, 1fr);
}

.testimonials-section .testimonial-card {
  background: var(--bg);
  border: 1px solid var(--border);
}

.testimonials-section .testimonial-card:hover {
  box-shadow: var(--shadow);
}

.testimonials-section .testi-stars {
  color: var(--gold);
}

.testimonials-section .testi-quote {
  color: var(--text-md);
}

.testimonials-section .testi-name {
  color: var(--text);
}

.testimonials-section .testi-batch {
  color: var(--text-lt);
}

.testimonials-section .testi-avatar {
  background: linear-gradient(135deg, var(--primary), #2563eb);
}

.tab-pills {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}

.tab-pill {
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 600;
  padding: 8px 22px;
  border-radius: 40px;
  border: 2px solid var(--border);
  color: var(--text-md);
  cursor: pointer;
  transition: all var(--transition);
  background: none;
}

.tab-pill.active,
.tab-pill:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ── SECTION 10: NEWS & EVENTS ── */
.news-section {
  padding: var(--section-py) 0;
  background: var(--bg);
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0;
  gap: 20px;
  flex-wrap: wrap;
}

.news-header {
  margin-bottom: 0;
}

.news-header .btn {
  flex-shrink: 0;
}

.news-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 36px;
  margin-top: 48px;
}

.news-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.news-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

.news-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.news-card-img {
  height: 160px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  position: relative;
}

.news-date-chip {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-head);
  font-size: .7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
}

.news-category {
  display: inline-block;
  background: var(--primary-lt);
  color: var(--primary);
  font-family: var(--font-head);
  font-size: .7rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.news-body {
  padding: 16px 18px;
}

.news-body h4 {
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.4;
}

.news-body p {
  font-size: .82rem;
  color: var(--text-md);
  line-height: 1.55;
}

.news-read {
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  transition: gap var(--transition);
}

.news-read:hover {
  gap: 8px;
}

/* Events sidebar */
.events-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.events-box-head {
  background: var(--primary);
  color: #fff;
  padding: 16px 20px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
}

.event-item {
  display: flex;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

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

.event-item:hover {
  background: var(--bg);
}

.event-date-box {
  flex-shrink: 0;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  width: 44px;
  text-align: center;
  padding: 6px 4px;
}

.event-date-box .month {
  font-size: .62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.event-date-box .day {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1;
}

.event-info h5 {
  font-family: var(--font-head);
  font-size: .875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 3px;
  line-height: 1.35;
}

.event-info p {
  font-size: .77rem;
  color: var(--text-md);
}

/* ── SECTION 11: CTA BANNER ── */
.cta-banner {
  background: linear-gradient(110deg, var(--accent) 0%, #8b2020 40%, var(--primary-dk) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100vw;
}

.cta-banner::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .04);
  top: -150px;
  left: -100px;
}

.cta-banner::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .04);
  bottom: -120px;
  right: -80px;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-badge {
  display: inline-block;
  background: rgba(255, 255, 255, .2);
  color: #fff;
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 5px 18px;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, .3);
  margin-bottom: 18px;
}

.cta-banner h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
}

.cta-banner p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, .82);
  margin-bottom: 36px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── SECTION 12: ENQUIRY ── */
.enquiry-section {
  padding: var(--section-py) 0;
  background: var(--bg);
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
}

.enquiry-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.enquiry-info h2 {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.25;
}

.enquiry-info h2 span {
  color: var(--primary);
}

.enquiry-info>p {
  color: var(--text-md);
  line-height: 1.7;
  margin-bottom: 28px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.contact-item .icon {
  width: 38px;
  height: 38px;
  background: var(--primary-lt);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-item .cinfo strong {
  display: block;
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.contact-item .cinfo span,
.contact-item .cinfo a {
  font-size: .85rem;
  color: var(--text-md);
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  width: 38px;
  height: 38px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-md);
  transition: all var(--transition);
}

.social-links a:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.enquiry-form-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow);
}

.enquiry-form-box h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.enquiry-form-box .form-sub {
  font-size: .85rem;
  color: var(--text-md);
  margin-bottom: 24px;
}

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

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .875rem;
  color: var(--text);
  background: var(--bg);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 58, 107, .1);
  background: #fff;
}

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

.form-privacy {
  font-size: .77rem;
  color: var(--text-lt);
  margin: 10px 0 14px;
  text-align: center;
}

.btn-submit {
  width: 100%;
  background: var(--primary);
  color: #fff;
  padding: 13px;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-submit:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

.alert-success {
  background: rgba(13, 148, 136, .08);
  border: 1px solid rgba(13, 148, 136, .25);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: var(--teal);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .875rem;
  margin-bottom: 16px;
}

.alert-error {
  background: rgba(208, 40, 30, .06);
  border: 1px solid rgba(208, 40, 30, .2);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: var(--accent);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .875rem;
  margin-bottom: 16px;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--primary-dk);
  color: rgba(255, 255, 255, .75);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer-col h4 {
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer-col p {
  font-size: .84rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 14px;
}

.footer-col ul li {
  margin-bottom: 9px;
}

.footer-col ul li a {
  font-size: .84rem;
  color: rgba(255, 255, 255, .6);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition);
}

.footer-col ul li a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-col ul li a i {
  font-size: .65rem;
}

.footer-brand .logo-wrap {
  margin-bottom: 16px;
}

.footer-brand .logo-img {
  background: #fff;
}

.footer-brand .logo-text .name {
  color: #fff;
}

.footer-brand .logo-text .sub {
  color: rgba(255, 255, 255, .5);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-contact-item i {
  color: var(--gold);
  margin-top: 3px;
  font-size: .9rem;
  flex-shrink: 0;
}

.footer-contact-item span,
.footer-contact-item a {
  font-size: .83rem;
  color: rgba(255, 255, 255, .65);
  line-height: 1.5;
}

.footer-bottom {
  padding: 18px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom-inner p {
  font-size: .8rem;
  color: rgba(255, 255, 255, .4);
}

.footer-bottom-links {
  display: flex;
  gap: 18px;
}

.footer-bottom-links a {
  font-size: .8rem;
  color: rgba(255, 255, 255, .4);
  transition: color var(--transition);
}

.footer-bottom-links a:hover {
  color: var(--gold);
}

.footer-col .social-links {
  margin-top: 16px;
}

.footer-col .social-links a {
  border-color: rgba(255, 255, 255, .3);
  color: rgba(255, 255, 255, .7);
}

.footer-col .social-links a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--primary-dk);
}

/* ── MOBILE NAV ── */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(0, 0, 0, .5);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav.open {
  display: block;
  visibility: visible;
  opacity: 1;
}

.mobile-nav-inner {
  width: 300px;
  max-width: 85vw;
  height: 100%;
  background: var(--white);
  padding: 24px 20px;
  overflow-y: auto;
  box-shadow: 4px 0 24px rgba(0, 0, 0, .2);
}

.mobile-nav-close {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 18px;
}

.mobile-nav-close button {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text);
}

.mobile-menu li a {
  display: block;
  padding: 11px 0;
  font-family: var(--font-head);
  font-size: .92rem;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.mobile-menu li a:hover {
  color: var(--primary);
}

/* Mobile submenu styles - NEW: separate toggle button */
.mobile-menu .has-submenu {
  position: relative;
}

.mobile-menu .has-submenu>a {
  display: block;
  padding: 14px 50px 14px 0;
}

.mobile-menu .submenu-toggle {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  min-width: 44px;
  min-height: 44px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.mobile-menu .submenu-toggle i {
  font-size: .75rem;
  transition: transform 0.3s ease;
  color: var(--text);
}

.mobile-menu .submenu-toggle:hover,
.mobile-menu .submenu-toggle:active {
  background: var(--primary-lt);
}

.mobile-menu .submenu-toggle:hover i,
.mobile-menu .submenu-toggle:active i {
  color: var(--primary);
}

.mobile-menu .has-submenu.open .submenu-toggle i {
  transform: rotate(180deg);
}

.mobile-menu .submenu {
  display: none;
  padding-left: 16px;
  border-left: 2px solid var(--border);
  margin: 8px 0;
}

.mobile-menu .has-submenu.open .submenu {
  display: block;
}

.mobile-menu .submenu li a {
  font-size: .85rem;
  padding: 8px 0;
  border-bottom: none;
  color: var(--text-md);
}

.mobile-menu .submenu li a:hover {
  color: var(--primary);
}

/* ── SCROLL ANIMATION ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease-out, transform .6s ease-out;
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ── RESPONSIVE ── */
@media(max-width:1300px) {
  .main-nav>li>a {
    font-size: .75rem;
    padding: 6px 6px;
  }

  .btn-search {
    display: none;
  }

  .header-actions {
    gap: 6px;
  }
}

@media(max-width:1200px) {
  .container {
    width: 96%;
  }

  .highlight-num {
    font-size: 2.2rem;
  }

  .placement-stat .num {
    font-size: 2.4rem;
  }

  .testimonial-card {
    padding: 22px 18px;
  }

  .news-layout {
    gap: 28px;
  }

  .footer-grid {
    grid-template-columns: 1.2fr .9fr .9fr .9fr 1fr;
    gap: 28px;
  }

  .main-nav>li>a {
    font-size: .72rem;
    padding: 6px 5px;
  }

  .logo-text .name {
    font-size: .85rem;
  }

  .logo-icon,
  .logo-img {
    width: 38px;
    height: 38px;
  }

  .btn-apply {
    padding: 7px 14px;
    font-size: .78rem;
  }
}

@media(max-width:1100px) {
  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .infra-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
  }

  .footer-grid .footer-brand {
    grid-column: 1 / -1;
  }

  .faculty-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-usps {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-layout {
    grid-template-columns: 1fr;
  }

  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
  }

  .highlight-item {
    padding: 28px 12px;
    border-right: 1px solid rgba(255, 255, 255, .1);
  }

  .highlight-item:nth-child(2) {
    border-right: none;
  }

  .highlight-item:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, .1);
  }

  .highlight-item:nth-child(even) {
    border-right: none;
  }

  .placement-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .campus-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .campus-images-col {
    flex-direction: row;
  }

  .campus-images-col img {
    height: 180px;
    flex: 1;
  }

  /* Hide desktop nav at 1100px due to 11 menu items */
  .main-nav,
  .site-header nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

@media(max-width:1024px) {
  .header-actions {
    flex-shrink: 0;
  }

  /* On mobile: hamburger first (most visible), then apply */
  .header-actions .hamburger {
    order: -1;
  }

  .header-actions .btn-search {
    order: 2;
    display: none;
  }

  .header-actions .btn-apply {
    order: 1;
  }

  .why-layout {
    grid-template-columns: 1fr;
  }

  .enquiry-inner {
    grid-template-columns: 1fr;
  }

  .hero-content {
    max-width: 100%;
    padding: 70px 0;
  }

  .hero-content h1 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
  }

  .section-title {
    font-size: clamp(1.4rem, 3vw, 1.9rem);
  }

  .mobile-nav-inner {
    width: 320px;
    max-width: 85vw;
  }

  .news-main {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .recruiters-row {
    gap: 12px;
    width: 100%;
  }

  .recruiter-logo {
    width: 140px;
    max-width: calc(50% - 12px);
    height: 80px;
    padding: 12px;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 16px;
  }

  .section-header .btn {
    align-self: flex-start;
  }
}

@media(max-width:900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .why-usps {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .placement-stats {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .faculty-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .infra-grid {
    grid-template-columns: 1fr 1fr;
  }

  .programs-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .campus-images-col {
    flex-direction: column;
  }

  .campus-images-col img {
    height: 200px;
  }

  .activity-tag {
    font-size: .75rem;
    padding: 5px 12px;
  }
}

@media(max-width:768px) {
  :root {
    --section-py: 44px;
  }

  .container {
    width: 94%;
  }

  .highlights .container {
    padding: 0;
  }

  .highlights-grid {
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .highlight-item {
    padding: 20px 12px;
    border-right: 1px solid rgba(255, 255, 255, .1) !important;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }

  .highlight-item:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, .1) !important;
  }

  .highlight-item:nth-child(even) {
    border-right: none !important;
  }

  .highlight-item:nth-child(3),
  .highlight-item:nth-child(4) {
    border-bottom: none;
  }

  .highlight-num {
    font-size: 2rem;
  }

  .highlight-label {
    font-size: .75rem;
  }

  .highlight-sub {
    font-size: .7rem;
  }

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

  .infra-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .news-main {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .hero-btns {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
  }

  .hero-content h1 {
    font-size: clamp(1.6rem, 5vw, 2rem);
  }

  .hero-content p {
    font-size: .95rem;
    max-width: 100%;
  }

  .hero-content {
    padding: 50px 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-bg {
    background-position: center;
  }

  .header-inner {
    padding: 10px 0;
    gap: 4px;
  }

  .logo-wrap {
    gap: 6px;
    flex-shrink: 1;
  }

  .logo-img {
    width: 36px;
    height: 36px;
  }

  .logo-text .name {
    font-size: .85rem;
  }

  .logo-text .sub {
    display: none;
  }

  .btn-apply {
    padding: 6px 10px;
    font-size: .7rem;
    white-space: nowrap;
  }

  .btn-search {
    display: none;
  }

  .hamburger {
    padding: 4px;
  }

  .hamburger span {
    width: 20px;
    height: 2px;
  }

  .header-actions {
    gap: 4px;
  }

  .usp-card {
    min-height: auto;
    padding: 18px 16px;
  }

  .usp-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .tab-pills {
    flex-wrap: wrap;
    gap: 8px;
  }

  .tab-pill {
    padding: 6px 16px;
    font-size: .8rem;
  }

  .events-box {
    margin-top: 24px;
  }

  .cta-banner {
    padding: 60px 0;
  }

  .cta-banner h2 {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
  }

  .top-bar {
    font-size: .75rem;
    padding: 6px 0;
  }

  .top-bar a {
    gap: 4px;
  }

  .top-bar .btn-portal {
    padding: 3px 10px;
    font-size: .7rem;
  }

  .btn {
    padding: 11px 20px;
    min-height: 44px;
  }

  .program-card-header {
    padding: 20px 18px 14px;
  }

  .program-icon {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }

  .faculty-photo {
    height: 200px;
  }

  .recruiter-logo {
    width: 130px;
    max-width: calc(50% - 10px);
    height: 75px;
    padding: 10px;
  }

  .enquiry-form-box {
    padding: 24px 20px;
  }

  .contact-item .icon {
    width: 36px;
    height: 36px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px;
    padding: 12px 14px;
    min-height: 44px;
  }

  .btn-submit {
    min-height: 48px;
  }

  .social-links a {
    width: 40px;
    height: 40px;
  }

  .mobile-nav-inner {
    width: 280px;
    max-width: 85vw;
    padding: 20px 16px;
  }

  .mobile-menu li a {
    padding: 14px 0;
    font-size: .9rem;
  }

  .placement-section .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    padding: 20px 16px;
  }

  .testi-avatar {
    width: 40px;
    height: 40px;
  }

  .section-sub {
    font-size: .95rem;
  }
}

@media(max-width:640px) {
  .highlights-grid {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .highlight-item {
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    padding: 18px 16px;
  }

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

  .news-layout {
    gap: 24px;
  }

  .news-card-img {
    height: 140px;
  }

  .event-item {
    padding: 12px 14px;
  }

  .event-date-box {
    width: 40px;
    padding: 5px 3px;
  }

  .event-date-box .day {
    font-size: 1rem;
  }

  .event-info h5 {
    font-size: .8rem;
  }

  .event-info p {
    font-size: .72rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .footer-brand .logo-wrap {
    justify-content: center;
  }

  .footer-col .social-links {
    justify-content: center;
  }

  .footer-col ul li a {
    justify-content: center;
  }

  .footer-contact-item {
    justify-content: center;
  }

  .infra-img {
    height: 160px;
  }

  .why-image img {
    height: 280px;
  }

  .why-image-badge {
    bottom: 16px;
    left: 16px;
    padding: 12px 16px;
  }

  .why-image-badge .big {
    font-size: 1.4rem;
  }

  .faculty-expertise {
    justify-content: center;
  }

  .expertise-tag {
    font-size: .68rem;
    padding: 2px 8px;
  }
}

@media(max-width:480px) {
  :root {
    --section-py: 36px;
  }

  .container {
    width: 92%;
  }

  .placement-stats {
    grid-template-columns: 1fr;
  }

  .infra-grid {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 260px;
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .hero-content h1 {
    font-size: clamp(1.4rem, 6vw, 1.7rem);
    line-height: 1.2;
  }

  .hero-content p {
    font-size: .88rem;
    line-height: 1.65;
  }

  .hero-badge {
    font-size: .6rem;
    padding: 4px 12px;
    letter-spacing: .1em;
  }

  .btn {
    padding: 10px 18px;
    font-size: .85rem;
    min-height: 44px;
  }

  .top-bar-left {
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
  }

  .top-bar-right {
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
  }

  .top-bar .container {
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 0;
    gap: 6px;
  }

  .top-bar .divider {
    display: none;
  }

  .logo-img {
    width: 32px;
    height: 32px;
  }

  .logo-wrap {
    gap: 5px;
  }

  .logo-text .name {
    font-size: .75rem;
  }

  .btn-apply {
    padding: 5px 8px;
    font-size: .65rem;
    min-height: 32px;
    white-space: nowrap;
  }

  .btn-search {
    display: none;
  }

  .hamburger {
    padding: 4px;
  }

  .hamburger span {
    width: 18px;
    height: 2px;
  }

  .header-actions {
    gap: 4px;
  }

  .header-inner {
    padding: 6px 0;
    gap: 4px;
  }

  .why-usps {
    grid-template-columns: 1fr;
  }

  .usp-card {
    padding: 16px 14px;
  }

  .usp-card h4 {
    font-size: .95rem;
  }

  .usp-card p {
    font-size: .8rem;
  }

  .programs-grid {
    grid-template-columns: 1fr;
  }

  .program-card-header h3 {
    font-size: .95rem;
  }

  .prog-detail {
    font-size: .8rem;
  }

  .enquiry-form-box {
    padding: 20px 16px;
  }

  .enquiry-info h2 {
    font-size: 1.5rem;
  }

  .form-group label {
    font-size: .75rem;
  }

  .form-privacy {
    font-size: .7rem;
  }

  .btn-submit {
    font-size: .88rem;
  }

  body {
    font-size: 15px;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .section-label {
    font-size: .65rem;
    letter-spacing: .1em;
  }

  .section-label::before {
    width: 18px;
  }

  .mobile-nav-inner {
    width: 260px;
    max-width: 85vw;
  }

  .testimonials-grid {
    gap: 16px;
  }

  .testimonial-card {
    padding: 18px 14px;
  }

  .testi-quote {
    font-size: .85rem;
  }

  .recruiter-logo {
    width: 110px;
    max-width: calc(50% - 8px);
    height: 60px;
    padding: 8px;
  }

  .campus-activities {
    gap: 6px;
  }

  .activity-tag {
    font-size: .7rem;
    padding: 4px 10px;
  }

  .highlight-num {
    font-size: 1.6rem;
  }

  .highlight-label {
    font-size: .65rem;
    letter-spacing: 0.05em;
  }

  .highlight-sub {
    font-size: .65rem;
  }

  .placement-stat {
    padding: 24px 18px;
  }

  .placement-stat .num {
    font-size: 2rem;
  }

  .news-body h4 {
    font-size: .88rem;
  }

  .news-body p {
    font-size: .77rem;
  }

  .cta-banner p {
    font-size: .9rem;
  }

  .faculty-photo {
    height: 180px;
  }

  .faculty-photo .real-initials {
    font-size: 2.5rem;
  }

  .faculty-body h4 {
    font-size: .95rem;
  }

  .designation {
    font-size: .75rem;
  }

  .infra-body h4 {
    font-size: .9rem;
  }

  .infra-body p {
    font-size: .78rem;
  }

  .news-date-chip {
    font-size: .65rem;
    padding: 3px 8px;
  }

  .news-category {
    font-size: .65rem;
  }
}

@media(max-width:400px) {
  .container {
    width: 94%;
    padding: 0 4px;
  }

  .logo-text .name {
    font-size: .7rem;
  }

  .logo-img {
    width: 28px;
    height: 28px;
  }

  .btn-apply {
    padding: 4px 6px;
    font-size: .6rem;
    min-height: 28px;
    max-width: 65px;
  }

  .btn-search {
    display: none;
  }

  .hamburger {
    padding: 3px;
  }

  .hamburger span {
    width: 16px;
    height: 1.5px;
  }

  .header-actions {
    gap: 3px;
  }

  .header-inner {
    padding: 5px 0;
    gap: 3px;
  }

  /* Hide top bar on small screens */
  .top-bar {
    display: none;
  }
}

@media(max-width:360px) {
  .container {
    width: 96%;
    padding: 0 4px;
  }

  .hero-content h1 {
    font-size: 1.1rem;
  }

  .hero-content p {
    font-size: .75rem;
  }

  .btn {
    padding: 6px 10px;
    font-size: .7rem;
    min-height: 36px;
    white-space: normal;
  }

  .logo-text .name {
    font-size: .6rem;
  }

  .logo-img {
    width: 26px;
    height: 26px;
  }

  .logo-wrap {
    gap: 4px;
  }

  .btn-apply {
    padding: 3px 5px;
    font-size: .55rem;
    min-height: 26px;
    white-space: nowrap;
    max-width: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .btn-search {
    display: none;
  }

  .hamburger {
    padding: 2px;
  }

  .hamburger span {
    width: 14px;
    height: 1.5px;
  }

  .header-actions {
    gap: 2px;
  }

  .header-inner {
    padding: 4px 0;
    gap: 2px;
  }

  .section-title {
    font-size: 1rem;
  }

  .mobile-nav-inner {
    width: 100%;
    max-width: 100vw;
  }

  .highlight-num {
    font-size: 1.2rem;
  }

  .highlight-label {
    font-size: .5rem;
  }

  .highlight-sub {
    font-size: .5rem;
  }

  .recruiter-logo {
    width: 65px;
    max-width: calc(50% - 4px);
    height: 36px;
    padding: 3px;
  }

  .activity-tag {
    font-size: .55rem;
    padding: 2px 5px;
  }

  .testi-avatar {
    width: 32px;
    height: 32px;
    font-size: .75rem;
  }

  .testi-name {
    font-size: .75rem;
  }

  .testi-batch {
    font-size: .6rem;
  }

  .form-group input,
  .form-group select {
    font-size: 16px;
  }

  /* Hide top bar on very small screens */
  .top-bar {
    display: none;
  }
}

@media(max-width:320px) {
  .container {
    width: 98%;
    padding: 0 2px;
  }

  .logo-text .name {
    font-size: .55rem;
  }

  .logo-img {
    width: 24px;
    height: 24px;
  }

  .btn-apply {
    padding: 2px 4px;
    font-size: .5rem;
    min-height: 24px;
    max-width: 50px;
  }

  .hamburger span {
    width: 12px;
    height: 1.5px;
  }

  .header-actions {
    gap: 2px;
  }

  .header-inner {
    gap: 2px;
  }
}

/* ── ACCESSIBILITY: Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ── TOUCH DEVICE OPTIMIZATIONS ── */
@media (hover: none) and (pointer: coarse) {
  .btn {
    min-height: 44px;
  }

  .btn-apply {
    min-height: 44px;
  }

  .btn-search {
    min-height: 44px;
    min-width: 44px;
  }

  .main-nav>li>a {
    padding: 10px 12px;
  }

  .dropdown li a {
    padding: 12px 18px;
  }

  .mobile-menu li a {
    padding: 16px 0;
  }

  .hamburger {
    min-height: 44px;
    min-width: 44px;
    justify-content: center;
  }

  .social-links a {
    min-height: 44px;
    min-width: 44px;
  }

  .tab-pill {
    min-height: 40px;
    padding: 8px 20px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    min-height: 48px;
  }

  /* Disable hover transforms on touch devices */
  .program-card:hover,
  .usp-card:hover,
  .infra-card:hover,
  .testimonial-card:hover,
  .faculty-card:hover,
  .placement-stat:hover,
  .recruiter-logo:hover,
  .news-card:hover,
  .highlight-item:hover,
  .btn-apply:hover,
  .btn-search:hover,
  .btn:hover {
    transform: none !important;
  }
}

/* ── HIGH RESOLUTION SCREENS ── */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
  .logo-img {
    image-rendering: -webkit-optimize-contrast;
  }
}

/* ── LANDSCAPE ORIENTATION ON MOBILE ── */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 40px 0;
  }

  .hero-content h1 {
    font-size: 1.6rem;
  }

  .mobile-nav-inner {
    padding-top: 12px;
    max-width: 85vw;
  }

  .mobile-menu li a {
    padding: 8px 0;
  }
}

/* ── IOS SAFARI SPECIFIC FIXES ── */
@supports (-webkit-touch-callout: none) {
  .hero {
    min-height: -webkit-fill-available;
  }

  .mobile-nav-inner {
    -webkit-overflow-scrolling: touch;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px;
  }
}

/* ── FORM INPUT FOCUS OUTLINE FOR ACCESSIBILITY ── */
.form-group input:focus-visible,
.form-group select:focus-visible,
.form-group textarea:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ── BUTTON FOCUS STYLES ── */
.btn:focus-visible,
.btn-apply:focus-visible,
.btn-search:focus-visible,
.tab-pill:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ── DISABLE HOVER TRANSFORMS ON MOBILE ── */
@media (max-width: 768px) {

  .program-card:hover,
  .usp-card:hover,
  .infra-card:hover,
  .testimonial-card:hover,
  .faculty-card:hover,
  .placement-stat:hover,
  .recruiter-logo:hover,
  .news-card:hover,
  .highlight-item:hover,
  .btn-apply:hover,
  .btn-search:hover,
  .btn:hover,
  .program-card:active,
  .usp-card:active,
  .infra-card:active,
  .testimonial-card:active,
  .faculty-card:active,
  .placement-stat:active,
  .recruiter-logo:active,
  .news-card:active {
    transform: none !important;
    box-shadow: var(--shadow) !important;
  }
}

/* ── PREVENT HORIZONTAL OVERFLOW ── */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

/* ── WORD BREAK FOR TEXT ── */
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
a,
li {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* ── IMAGES NEVER OVERFLOW ── */
img,
video,
iframe,
embed,
object {
  max-width: 100%;
  height: auto;
}

/* ── BUTTON TEXT WRAPPING ON MOBILE ── */
@media (max-width: 768px) {
  .btn {
    white-space: normal;
    text-align: center;
  }

  .btn-apply {
    white-space: nowrap;
  }

  .hero-btns .btn {
    width: 100%;
    justify-content: center;
  }

  /* Ensure containers don't overflow */
  .container {
    width: 100%;
    padding-left: 8px;
    padding-right: 8px;
    box-sizing: border-box;
  }

  /* Fix top bar */
  .top-bar .container {
    width: 100%;
    padding-left: 8px;
    padding-right: 8px;
  }

  /* Fix header */
  .header-inner {
    width: 100%;
  }

  /* Ensure grids don't overflow */
  .programs-grid,
  .infra-grid,
  .faculty-grid,
  .why-usps,
  .placement-stats,
  .testimonials-grid,
  .highlights-grid,
  .news-main,
  .news-layout,
  .footer-grid,
  .campus-layout,
  .enquiry-inner {
    width: 100%;
    max-width: 100%;
  }

  /* Fix any cards */
  .program-card,
  .infra-card,
  .faculty-card,
  .usp-card,
  .testimonial-card,
  .news-card,
  .placement-stat {
    max-width: 100%;
  }

  /* Activity tags wrap */
  .campus-activities {
    justify-content: center;
  }
}

/* ── SMOOTH SCROLLING FOR ANCHOR LINKS ── */
html {
  scroll-padding-top: 80px;
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: 60px;
  }
}

/* ── HIDE SCROLLBAR ON MOBILE ── */
@media (max-width: 768px) {

  /* Hide scrollbar for Chrome, Safari and Opera */
  body::-webkit-scrollbar {
    display: none;
  }

  /* Hide scrollbar for IE, Edge and Firefox */
  body {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
  }

  html {
    overflow-x: hidden;
    scrollbar-width: none;
  }

  html::-webkit-scrollbar {
    display: none;
  }
}