/* ============================================
   CENTRE OF EXCELLENCE — DISASTER STUDIES
   Design System & Styles
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Colors */
  --primary:       #0a1628;
  --primary-dark:  #060e1a;
  --secondary:     #1a4ed8;
  --accent:        #2563eb;
  --highlight:     #0ea5e9;
  --gold:          #d4a017;
  --gold-light:    #fbbf24;
  --green:         #10b981;
  --teal:          #14b8a6;
  --white:         #ffffff;
  --light-bg:      #f0f4ff;
  --lighter-bg:    #f8faff;
  --card-bg:       #ffffff;
  --text-primary:  #0f172a;
  --text-body:     #334155;
  --text-light:    #64748b;
  --text-white:    #f1f5f9;
  --border:        #e2e8f0;
  --shadow:        rgba(10, 22, 40, 0.08);
  --shadow-lg:     rgba(10, 22, 40, 0.15);

  /* Gradients */
  --gradient-hero:    linear-gradient(135deg, #0b1a3b 0%, #163a8c 35%, #2563eb 70%, #3b82f6 100%);
  --gradient-blue:    linear-gradient(135deg, #1a4ed8 0%, #2563eb 50%, #0ea5e9 100%);
  --gradient-card:    linear-gradient(135deg, #1a4ed8 0%, #0ea5e9 100%);
  --gradient-overlay: linear-gradient(135deg, rgba(10,22,40,0.92) 0%, rgba(26,78,216,0.85) 100%);
  --gradient-gold:    linear-gradient(135deg, #d4a017 0%, #fbbf24 100%);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1200px;

  /* Transitions */
  --transition:    all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-lg: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Border Radius */
  --radius:    8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 50%;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  line-height: 1.2;
  font-weight: 700;
}

/* ---------- Utility Classes ---------- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-padding);
  position: relative;
}

.section--light {
  background: var(--light-bg);
}

.section--dark {
  background: var(--primary);
  color: var(--text-white);
}

.section--dark h2,
.section--dark h3,
.section--dark p,
.section--dark .section-subtitle {
  color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  position: relative;
  padding: 6px 20px;
  background: rgba(37, 99, 235, 0.08);
  border-radius: 50px;
}

.section--dark .section-label {
  background: rgba(255, 255, 255, 0.1);
  color: var(--highlight);
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.8;
}

.text-gradient {
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.3px;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--gradient-blue);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(26, 78, 216, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(26, 78, 216, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}

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

.btn-outline-dark {
  background: transparent;
  color: var(--secondary);
  border-color: var(--secondary);
}

.btn-outline-dark:hover {
  background: var(--secondary);
  color: var(--white);
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition-lg);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(10, 22, 40, 0.97);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.2);
  backdrop-filter: blur(20px);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-brand-icon {
  width: 44px;
  height: 44px;
  background: var(--gradient-blue);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--white);
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.3);
}

.nav-brand-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
}

.nav-brand-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.nav-brand-sub {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  padding: 8px 18px;
  border-radius: 50px;
  transition: var(--transition);
  letter-spacing: 0.3px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  width: 26px;
  height: 2.5px;
  background: var(--white);
  border-radius: 3px;
  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 {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(56,139,253,0.22) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(14,165,233,0.18) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -30px) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 120px 0 80px;
}

/* --- Hero Top Bar (Adamas University + NAAC) --- */
.hero-top-bar {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin-bottom: 32px;
  border-radius: 60px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.12),
    0 4px 24px rgba(0,0,0,0.25),
    0 0 40px rgba(56,139,253,0.15);
  backdrop-filter: blur(16px);
  animation: topbar-glow 4s ease-in-out infinite alternate;
}

@keyframes topbar-glow {
  0%   { box-shadow: 0 0 0 1px rgba(255,255,255,0.12), 0 4px 24px rgba(0,0,0,0.25), 0 0 30px rgba(56,139,253,0.12); }
  100% { box-shadow: 0 0 0 1px rgba(255,255,255,0.18), 0 4px 24px rgba(0,0,0,0.25), 0 0 50px rgba(56,139,253,0.25); }
}

.hero-top-bar__university {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: rgba(255,255,255,0.07);
}

.hero-top-bar__pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399, 0 0 20px rgba(52,211,153,0.4);
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero-top-bar__name {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: #e2e8f0;
  text-transform: uppercase;
}

.hero-top-bar__divider {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.25), transparent);
}

.hero-top-bar__naac {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.16) 0%, rgba(225, 29, 72, 0.08) 100%);
}

.hero-top-bar__grade {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff4a6b, #e11d48);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 900;
  box-shadow: 0 0 15px rgba(244, 63, 94, 0.6);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.hero-top-bar__label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #ff8a9a;
  text-transform: uppercase;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

/* About buttons spacing */
.about-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* Director contact details */
.contact-details {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--text-light);
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 10px;
  letter-spacing: -1px;
}

.hero h1 .highlight {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 600;
  color: #67e8f9;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 560px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 45%;
  max-width: 550px;
  z-index: 1;
  opacity: 0.15;
}

.hero-visual img {
  width: 100%;
  border-radius: var(--radius-xl);
}

/* ---------- Wave Divider ---------- */
.wave-divider {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  z-index: 3;
  line-height: 0;
}

.wave-divider svg {
  width: 100%;
  height: auto;
}

.wave-divider-top {
  position: absolute;
  top: -2px;
  bottom: auto;
  left: 0;
  width: 100%;
  z-index: 3;
  line-height: 0;
  transform: rotate(180deg);
}

/* ---------- Page Banner (Sub-pages) ---------- */
.page-banner {
  position: relative;
  padding: 160px 0 100px;
  background: var(--gradient-hero);
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: 0;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(37,99,235,0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.page-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.page-banner h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
}

.page-banner p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--highlight);
}

.breadcrumb span {
  color: rgba(255,255,255,0.4);
}

.breadcrumb .current {
  color: rgba(255,255,255,0.7);
}

/* ---------- Feature Cards (Home) ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.feature-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  transition: var(--transition-lg);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-lg);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px var(--shadow-lg);
  border-color: transparent;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  background: var(--light-bg);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: var(--gradient-blue);
  transform: scale(1.1);
}

.feature-card:hover .feature-icon svg {
  fill: white;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ---------- Stats Section ---------- */
.stats {
  position: relative;
  background: var(--gradient-hero);
  padding: 80px 0;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  z-index: 2;
}

.stat-item {
  text-align: center;
  padding: 24px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* ---------- About / Vision / Mission ---------- */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 16px;
  color: var(--text-body);
  font-size: 1.02rem;
}

.about-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 60px var(--shadow-lg);
  position: relative;
}

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

/* Vision/Mission Cards */
.vm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.vm-card {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: var(--transition);
  align-items: flex-start;
}

.vm-card:hover {
  transform: translateX(8px);
  box-shadow: 0 10px 40px var(--shadow);
  border-color: var(--accent);
}

.vm-number {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: var(--gradient-blue);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
}

.vm-card p {
  font-size: 0.98rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* Objectives Grid */
.objectives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.objective-card {
  display: flex;
  gap: 20px;
  padding: 32px;
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border-left: 5px solid var(--accent);
  box-shadow: 0 4px 20px var(--shadow);
  transition: var(--transition);
  align-items: flex-start;
}

.objective-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--shadow-lg);
}

.objective-num {
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.objective-card p {
  font-size: 0.98rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* ---------- Team Section ---------- */
.team-section-label {
  text-align: center;
  margin-bottom: 48px;
}

.team-role-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 10px 28px;
  border-radius: 50px;
  background: var(--gradient-blue);
  color: var(--white);
  margin-bottom: 12px;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.team-role-badge--gold {
  background: var(--gradient-gold);
  color: var(--primary);
  box-shadow: 0 4px 15px rgba(212, 160, 23, 0.3);
}

.team-role-badge--teal {
  background: linear-gradient(135deg, #0d9488, #14b8a6);
  box-shadow: 0 4px 15px rgba(20, 184, 166, 0.3);
}

/* Director Card */
.director-card {
  max-width: 900px;
  margin: 0 auto 32px;
  display: flex;
  gap: 40px;
  padding: 40px;
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  box-shadow: 0 10px 50px var(--shadow);
  border: 1px solid var(--border);
  align-items: center;
  transition: var(--transition);
}

.director-card:hover {
  box-shadow: 0 20px 60px var(--shadow-lg);
}

.director-img {
  flex-shrink: 0;
  width: 200px;
  height: 200px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 4px solid var(--light-bg);
  box-shadow: 0 8px 30px var(--shadow);
}

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

.director-info h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.director-info .role {
  font-size: 0.95rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
}

.director-info p {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.75;
}

.director-info .team-role-badge {
  font-size: 0.7rem;
  padding: 6px 16px;
  display: inline-block;
  margin-bottom: 16px;
}

.highlight-text h4,
.highlight-text h5 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

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

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px var(--shadow-lg);
  border-color: transparent;
}

.team-card-img {
  width: 100%;
  height: 280px;
  overflow: hidden;
  position: relative;
  background: var(--light-bg);
}

.team-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: var(--transition-lg);
}

.team-card:hover .team-card-img img {
  transform: scale(1.05);
}

.team-card-body {
  padding: 24px 20px;
}

.team-card-body h4,
.team-card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.team-card-body .department {
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 4px;
}

.team-card-body .designation {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 14px;
}

.team-card-links {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.team-card-links a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.85rem;
  transition: var(--transition);
}

.team-card-links a:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

/* Team Placeholder Avatar */
.team-card-img .avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-blue);
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
}

/* Organogram */
.organogram-section {
  text-align: center;
  margin-top: 40px;
}

.organogram-img {
  max-width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: 0 10px 50px var(--shadow);
  border: 1px solid var(--border);
  overflow: hidden;
  display: inline-block;
}

.organogram-img img {
  width: 100%;
}

/* ---------- Infrastructure ---------- */
.infra-hero-img {
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 60px var(--shadow-lg);
  margin-bottom: 64px;
}

.infra-hero-img img {
  width: 100%;
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.equipment-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.equipment-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-blue);
  transform: scaleX(0);
  transition: var(--transition);
}

.equipment-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px var(--shadow-lg);
}

.equipment-card:hover::after {
  transform: scaleX(1);
}

.equipment-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  background: var(--light-bg);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  transition: var(--transition);
}

.equipment-card:hover .equipment-icon {
  background: var(--gradient-blue);
  color: var(--white);
}

.equipment-card h4,
.equipment-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.equipment-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Highlights bar */
.infra-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 64px;
}

.highlight-item {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 24px;
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.highlight-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  background: var(--gradient-blue);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--white);
}

.highlight-text h5 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.highlight-text p {
  font-size: 0.82rem;
  color: var(--text-light);
}

/* ---------- Contact Section ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-card {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: var(--transition);
  align-items: flex-start;
}

.contact-card:hover {
  box-shadow: 0 10px 40px var(--shadow);
  border-color: var(--accent);
}

.contact-card-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  background: var(--gradient-blue);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
}

.contact-card-image {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px var(--shadow);
}

.contact-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.contact-card-content {
  flex: 1;
}

.contact-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-card p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.7;
}

.contact-card a {
  color: var(--accent);
  font-weight: 500;
}

.contact-card a:hover {
  color: var(--secondary);
  text-decoration: underline;
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: 0 10px 50px var(--shadow);
  border: 1px solid var(--border);
}

.contact-form-wrapper h3 {
  font-size: 1.4rem;
  margin-bottom: 24px;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--lighter-bg);
  color: var(--text-primary);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

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

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

.form-submit {
  margin-top: 8px;
}

.form-submit .btn {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 1rem;
}

/* Map */
.map-section {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 10px 40px var(--shadow);
  margin-top: 64px;
  border: 1px solid var(--border);
}

.map-section iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .nav-brand {
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: 0.3px;
}

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

.footer-col ul a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

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

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

.footer-contact-item .icon {
  color: var(--highlight);
  font-size: 1.1rem;
  margin-top: 2px;
}

.footer-contact-item p {
  font-size: 0.88rem;
  line-height: 1.6;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom a {
  color: var(--highlight);
}

/* ---------- Animations ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Staggered animation delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--primary-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--secondary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--gradient-blue);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.35);
  border: none;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.5);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

  .director-card {
    flex-direction: column;
    text-align: center;
  }

  .director-img {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 64px 0;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(10, 22, 40, 0.98);
    flex-direction: column;
    padding: 100px 32px 40px;
    align-items: flex-start;
    gap: 4px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 40px rgba(0,0,0,0.3);
    backdrop-filter: blur(20px);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    width: 100%;
    padding: 14px 20px;
    font-size: 1rem;
    border-radius: var(--radius);
  }

  .hamburger {
    display: flex;
  }

  .hero-content {
    padding: 140px 0 100px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-visual {
    display: none;
  }

  .hero-top-bar {
    border-radius: 14px;
    flex-direction: column;
    gap: 0;
  }

  .hero-top-bar__divider {
    width: 80%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.2), transparent);
  }

  .hero-top-bar__university,
  .hero-top-bar__naac {
    justify-content: center;
    width: 100%;
    padding: 10px 20px;
  }

  .hero-top-bar__name {
    font-size: 0.7rem;
    letter-spacing: 2px;
  }

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

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

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

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

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

  .team-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }

  .vm-grid,
  .objectives-grid {
    grid-template-columns: 1fr;
  }

  .page-banner {
    padding: 130px 0 70px;
  }

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

  .breadcrumb {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

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

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

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

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

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

/* ---------- Loading animation ---------- */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ---------- Separator Line ---------- */
.section-divider {
  width: 80px;
  height: 4px;
  background: var(--gradient-blue);
  border-radius: 2px;
  margin: 0 auto 24px;
}

.section-divider-left {
  margin: 0 0 24px;
}
