/* ═══════════════════════════════════════════════════════════
   AINDS DEPARTMENT — SHARED CSS
   Reusable across all pages: colors, typography, layout, nav, hero, footer
   ═══════════════════════════════════════════════════════════ */

/* ── CSS VARIABLES ── */
:root {
  --klu-navy:     #0a1f44;
  --klu-blue:     #1a4fa0;
  --klu-mid:      #2563c8;
  --klu-light:    #4a90e2;
  --klu-accent:   #e8a020;
  --klu-accent2:  #00c2a0;
  --klu-white:    #ffffff;
  --klu-off:      #f7f9fc;
  --klu-gray-100: #eef2f8;
  --klu-gray-300: #c8d3e8;
  --klu-gray-500: #6b7a99;
  --klu-gray-700: #3a4460;
  --klu-text:     #1a2035;
  --klu-text-sub: #4a5568;

  --font-display: 'Sora', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;

  --shadow-sm:  0 2px 8px rgba(10,31,68,.07);
  --shadow-md:  0 6px 24px rgba(10,31,68,.11);
  --shadow-lg:  0 16px 48px rgba(10,31,68,.15);

  --transition: 0.28s cubic-bezier(.4,0,.2,1);

  --max-w:  1240px;
  --nav-h:  68px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--klu-text);
  background: var(--klu-off);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  overflow-x: hidden;
}

main {
  display: block;
  min-height: 50vh;
  padding-bottom: 80px; /* Space to prevent footer overlap */
}

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

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
}

/* ── LAYOUT UTILITIES ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad {
  padding: 88px 0;
}

.section-pad-sm {
  padding: 56px 0;
}

/* ── TYPOGRAPHY UTILITIES ── */
.tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--klu-mid);
  background: rgba(37, 99, 200, .09);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--klu-navy);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--klu-text-sub);
  max-width: 680px;
  line-height: 1.75;
}

/* ── BUTTON STYLES ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.btn-primary {
  background: var(--klu-mid);
  color: var(--klu-white);
  box-shadow: 0 4px 16px rgba(37, 99, 200, .35);
}

.btn-primary:hover {
  background: var(--klu-blue);
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid var(--klu-mid);
  color: var(--klu-mid);
}

.btn-outline:hover {
  background: var(--klu-mid);
  color: var(--klu-white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--klu-white);
  color: var(--klu-navy);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  background: var(--klu-gray-100);
  transform: translateY(-2px);
}

/* ── SCROLL REVEAL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}

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

.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .32s; }
.reveal-delay-5 { transition-delay: .40s; }

/* ── PARENT BANNER ── */
.parent-banner {
  width: 100%;
  display: block;
  background: var(--klu-navy);
}

.parent-banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* ═══════════════════════════════════════════════════════════
   NAVIGATION (STICKY)
   ═══════════════════════════════════════════════════════════ */

.dept-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--klu-navy);
  box-shadow: 0 2px 20px rgba(0, 0, 0, .25);
}

.dept-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 24px;
  /* background-color: white; */
  width: 100%;
}

.dept-nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.dept-nav__logo-wrap {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--klu-mid);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dept-nav__logo-wrap svg {
  width: 22px;
  height: 22px;
  fill: white;
}

.dept-nav__name {
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 700;
  color: var(--klu-white);
  line-height: 1.25;
  max-width: 240px;
}

.dept-nav__name span {
  display: block;
  font-size: .72rem;
  font-weight: 400;
  color: var(--klu-gray-300);
  letter-spacing: .04em;
}

.dept-nav__menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  padding: 10px 10px;
  border-radius: 25px;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--klu-white);
  background: rgba(255, 255, 255, .1);
}

.nav-link svg {
  width: 12px;
  height: 12px;
  stroke: #ffffff;
  fill: none;
  stroke-width: 2.5;
  transition: transform .2s;
}

.nav-item:hover .nav-link svg {
  transform: rotate(180deg);
}

/* ── DROPDOWN MENUS ── */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--klu-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--klu-gray-100);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition);
  z-index: 100;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  font-size: .84rem;
  font-weight: 500;
  color: var(--klu-gray-700);
  transition: var(--transition);
}

.dropdown a:first-child {
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.dropdown a:last-child {
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.dropdown a:hover {
  background: var(--klu-gray-100);
  color: var(--klu-mid);
  padding-left: 22px;
}

.dropdown a.soon {
  opacity: .55;
  pointer-events: none;
}

.soon-badge {
  margin-left: auto;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .06em;
  background: var(--klu-gray-100);
  color: var(--klu-gray-500);
  padding: 2px 7px;
  border-radius: 100px;
}

/* ── APPLY BUTTON ── */
.nav-apply {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 700;
  color: var(--klu-navy);
  background: var(--klu-accent);
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-apply:hover {
  background: #d4901a;
  transform: translateY(-1px);
}

/* ── MOBILE NAVIGATION TOGGLE ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--klu-white);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── MOBILE NAVIGATION MENU ── */
.mobile-nav {
  display: none;
  background: var(--klu-navy);
  border-top: 1px solid rgba(255, 255, 255, .1);
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}

.mobile-nav.open {
  max-height: 800px;
}

.mobile-nav a {
  display: block;
  padding: 13px 24px;
  font-family: var(--font-display);
  font-size: .88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .82);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  transition: var(--transition);
}

.mobile-nav a:hover {
  color: var(--klu-white);
  background: rgba(255, 255, 255, .07);
}

.mobile-nav-group > span {
  display: block;
  padding: 10px 24px 4px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--klu-gray-300);
}

.mobile-nav a.sub {
  padding-left: 36px;
  font-size: .84rem;
}

/* ── Page Hero ── */
.page-hero {
  position: relative;
  background: var(--klu-navy);
  padding: 80px 0 72px;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url('https://www.kluniversity.in/ainds/images/about.jpg');
  background-size: cover; background-position: center;
  opacity: .18;
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(10,31,68,.96) 0%, rgba(10,31,68,.7) 100%);
}

.page-hero .hero-grid-overlay {
  position: absolute; inset: 0; z-index: 0;
  background-size: 50px 50px;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 20%, rgba(0,0,0,0) 80%);
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 20%, rgba(0,0,0,0) 80%);
  pointer-events: none;
}

.hero-glow-1 {
  position: absolute;
  top: -20vh; right: -10vw;
  width: 70vw; height: 70vh;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(37,99,200,0.15) 0%, transparent 60%);
  filter: blur(60px);
  pointer-events: none;
}
.hero-glow-2 {
  position: absolute;
  bottom: -20vh; left: -10vw;
  width: 60vw; height: 60vh;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(232,160,32,0.1) 0%, transparent 60%);
  filter: blur(60px);
  pointer-events: none;
}

.page-hero__inner {
  position: relative; z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 800; color: var(--klu-white);
  line-height: 1.1; letter-spacing: -.03em;
  margin: 0 auto 20px;
}
.page-hero h1 em {
  font-style: normal;
  display: inline-block;
  background: linear-gradient(to right, #fff7e6 0%, var(--klu-accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(232,160,32,0.2));
}

.page-hero__desc {
  font-size: 1.15rem; color: rgba(255,255,255,0.8);
  line-height: 1.8; max-width: 720px; margin: 0 auto 32px;
}

.page-hero__meta {
  display: flex; flex-wrap: wrap; gap: 16px;
  margin-top: 28px; justify-content: center;
}
.page-hero__meta-item {
  display: flex; align-items: center; gap: 8px;
  font-size: .85rem; color: rgba(255,255,255,.65);
  font-family: var(--font-display);
  background: rgba(255,255,255,0.05);
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.08);
}
.page-hero__meta-item svg {
  width: 16px; height: 16px;
  stroke: var(--klu-accent); fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */

.dept-footer {
  background: #071428;
  color: rgba(255, 255, 255, .72);
}

.dept-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  font-size: .82rem;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.dept-footer__bottom a {
  color: rgba(255, 255, 255, .5);
  transition: color var(--transition);
}

.dept-footer__bottom a:hover {
  color: white;
}

/* ═══════════════════════════════════════════════════════════
   BACK TO TOP BUTTON
   ═══════════════════════════════════════════════════════════ */

.back-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--klu-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 999;
  opacity: 0;
  transform: translateY(12px);
  transition: var(--transition);
  cursor: pointer;
}

.back-top.visible {
  opacity: 1;
  transform: none;
}

.back-top:hover {
  background: var(--klu-blue);
  transform: translateY(-2px);
}

.back-top svg {
  width: 20px;
  height: 20px;
  stroke: white;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 1250px) {
  .dept-nav__menu {
    display: none;
  }

  .nav-apply {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .mobile-nav {
    display: block;
  }
}

@media (max-width: 640px) {
  :root {
    --nav-h: 60px;
  }

  .section-pad {
    padding: 60px 0;
  }

  .dept-footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ═══════════════════════════════════════════════════════════
   GLOBAL FOOTER
   ═══════════════════════════════════════════════════════════ */
.dept-footer {
  background: #071428;
  color: rgba(255,255,255,.72);
  margin-top: auto;
  border-top: 1px solid rgba(255,255,255,.08);
}

.dept-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  font-size: .82rem;
  gap: 16px;
}

.dept-footer__bottom p {
  margin: 0;
}

.dept-footer__bottom a {
  color: rgba(255,255,255,.5);
  transition: color var(--transition);
  text-decoration: none;
}

.dept-footer__bottom a:hover {
  color: white;
}

.dept-footer__main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  padding: 72px 0 56px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-brand__logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--klu-mid);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-brand__logo-icon svg {
  width: 24px;
  height: 24px;
  fill: white;
}

.footer-brand__name {
  font-family: var(--font-display);
  font-size: .92rem;
  font-weight: 700;
  color: white;
  line-height: 1.25;
}

.footer-brand__name span {
  display: block;
  font-size: .72rem;
  font-weight: 400;
  color: rgba(255,255,255,.5);
}

.footer-brand p {
  font-size: .88rem;
  line-height: 1.7;
  max-width: 300px;
  margin-bottom: 24px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .84rem;
  margin-bottom: 10px;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--klu-accent);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: .86rem;
  color: rgba(255,255,255,.65);
  margin-bottom: 10px;
  transition: var(--transition);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--klu-white);
  padding-left: 4px;
}

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

@media (max-width: 640px) {
  .dept-footer__main { grid-template-columns: 1fr; gap: 32px; }
}

/* ── Recruiter Cards (Elite Enterprise) ── */
.recruiter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
  margin: 40px 0;
}

.recruiter-card {
  position: relative;
  background: white;
  border-radius: 20px;
  border: 1px solid #f1f5f9;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(0,0,0,0.01);
}

.recruiter-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(10,31,68,0.06);
  border-color: rgba(10,31,68,0.1);
}

.recruiter-card__body {
  padding: 40px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.recruiter-name {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--klu-navy);
  margin-bottom: 32px;
  font-size: 1.4rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.recruiter-stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: auto;
  border-top: 1px solid #f1f5f9;
  padding-top: 24px;
}

.recruiter-stat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.recruiter-stat-item svg {
  width: 20px;
  height: 20px;
  stroke: var(--klu-mid);
  stroke-width: 2;
  fill: none;
  margin-right: 12px;
  opacity: 0.7;
}

.recruiter-stat-main {
  display: flex;
  align-items: center;
}

.recruiter-stat-val {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--klu-navy);
  font-size: 1.2rem;
}

.recruiter-stat-lbl {
  font-size: 0.7rem;
  color: var(--klu-gray-500);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.recruiter-card:hover .recruiter-name {
  color: var(--klu-mid);
}

/* Redesign for Stats cards */
.stats-pane-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.stats-image-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(10,31,68,0.06);
  transition: var(--transition);
}

.stats-image-card:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}
