* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #f8fafc;
  color: #1f2937;
  line-height: 1.6;
}

/* ================= NAVBAR ================= */
.navbar {
  height: 130px;
  position: relative;
  display: flex;
  align-items: center;
  padding: 12px 40px;
  background: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  z-index: 1000;
}

/* Logo */
.logo-area {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 110px;
  width: auto;
}

/* ================= HEADER TEXT ================= */
.header-text {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.header-university {
  font-size: 1.5rem;
  font-weight: 800;
  color: #E31837;
}

.header-title {
  font-size: 2rem;
  font-weight: 800;
  color: #1f2937;
  line-height: 1.2;
}

/* ================= NAV LINKS ================= */
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  position: absolute;
  left: 180px;
  bottom: -3px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: #1f2937;
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
  color: #e31837;
  font-weight: 700;
}

/* ================= TOP BANNER ================= */
.top-banner {
  height: 32vh;
  background: #E31837;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: center;
  color: white;
  padding: 40px 20px 0;
}


.banner-content {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeDown 0.9s ease-out;
}

.banner-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  backdrop-filter: blur(6px);
}

.banner-title {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.1;
}

.banner-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #ffffff;
  margin: 12px auto 0;
  border-radius: 4px;
}

.banner-subtitle {
  font-size: 0.95rem;
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto 18px;
}

.btn {
  display: inline-block;
  padding: 9px 20px;
  background: #ffffff;
  color: #B8121E;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease;
}

.btn:hover {
  background: #fde8ea;
}

/* ================= SECTIONS ================= */
.section {
  padding: 60px 10%;
  text-align: center;
}

.section.light {
  background: #fdf2f2;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #B8121E;
}

/* ================= CARDS ================= */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

/* ================= FOOTER ================= */
footer {
  background: #B8121E;
  color: white;
  text-align: center;
  padding: 15px;
  margin-top: auto;
}

/* ================= ANIMATION ================= */
@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= CONTACT ================= */
.contact-section {
  padding: 80px 10%;
  background: #fdf2f2;
  text-align: center;
}

.contact-section h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #E31837;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  max-width: 900px;
  margin: auto;
}

.contact-info p {
  font-size: 1rem;
  margin-bottom: 20px;
  color: #1f2937;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.95rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #E31837;
}

.contact-form button {
  background: #E31837;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

.contact-form button:hover {
  background: #b1122b;
}

/* ================= PUBLICATIONS ================= */
.pub-category {
  margin-bottom: 50px;
  text-align: left;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.pub-category h3 {
  color: #E31837;
  font-size: 1.4rem;
  margin-bottom: 15px;
  border-bottom: 2px solid #f3b5bf;
  padding-bottom: 5px;
}

.pub-list {
  list-style: none;
  padding-left: 0;
}

.pub-list li {
  margin-bottom: 14px;
  line-height: 1.6;
  color: #1f2937;
}

/* ================= LIST ================= */
.list {
  list-style: none;
  padding-left: 0;
  text-align: center;
}

.list li {
  margin-bottom: 8px;
}

/* ================= GALLERY ================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: auto;
}

.gallery-item {
  background: white;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

/* ================= LIGHTBOX ================= */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 0;
  box-shadow: 0 0 20px rgba(255,255,255,0.2);
}

.lightbox .close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}
/* ================= GALLERY CAPTIONS ================= */
.caption {
  padding: 8px 10px;
  font-size: 0.9rem;
  color: #1f2937;
  background: #f9fafb;
  text-align: center;
}

/* ================= LIGHTBOX ================= */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.lightbox-content {
  text-align: center;
  max-width: 90%;
  max-height: 90%;
}

.lightbox img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 0;
  box-shadow: 0 0 20px rgba(255,255,255,0.2);
}

.lightbox-caption {
  margin-top: 12px;
  color: #ffffff;
  font-size: 1rem;
  opacity: 0.9;
}

/* Close button */
.lightbox .close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

/* Navigation arrows */
.lightbox .nav {
  position: absolute;
  top: 50%;
  font-size: 50px;
  color: white;
  cursor: pointer;
  user-select: none;
  padding: 10px;
  transform: translateY(-50%);
}

.lightbox .prev {
  left: 30px;
}

.lightbox .next {
  right: 30px;
}


/* ================= ACCORDION ================= */
.accordion {
  max-width: 1000px;
  margin: auto;
  text-align: left;
}

.accordion-item {
  background: white;
  margin-bottom: 12px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  background: #ffffff;
  border: none;
  outline: none;
  padding: 18px 22px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1f2937;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.accordion-header:hover {
  background: #fdf2f2;
}

.accordion-header .icon {
  font-size: 1.3rem;
  color: #E31837;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 22px;
  background: #ffffff;
}

.accordion-content ul {
  list-style: disc;
  padding-left: 20px;
  margin: 15px 0 20px;
}

.accordion-content li {
  margin-bottom: 10px;
  line-height: 1.6;
  color: #374151;
}

/* ================= TEAM LIST ================= */
.team-list {
  list-style: none;         /* Remove default bullets */
  max-width: 700px;
  margin: auto;
  padding-left: 0;
  text-align: left;
}

.team-list li {
  background: white;
  padding: 16px 20px;
  margin-bottom: 12px;
  border-left: 4px solid #E31837;  /* Mahindra red accent */
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  border-radius: 6px;
  font-size: 1rem;
  line-height: 1.6;
}


/* ================= FACULTY PROFILE ================= */
.faculty-profile {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 30px;
  max-width: 900px;
  margin: auto;
  align-items: center;
}

.faculty-photo img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.faculty-info h3 {
  font-size: 1.5rem;
  margin-bottom: 6px;
  color: #1f2937;
}

.designation {
  font-weight: 600;
  color: #E31837;
  margin-bottom: 6px;
}

.affiliation {
  font-size: 0.95rem;
  color: #4b5563;
  margin-bottom: 12px;
}

.bio {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

.faculty-details {
  list-style: none;
  padding-left: 0;
  margin-bottom: 12px;
}

.faculty-details li {
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.faculty-links a {
  margin-right: 15px;
  font-weight: 600;
  text-decoration: none;
  color: #E31837;
}

.faculty-links a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .faculty-profile {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .faculty-links a {
    display: inline-block;
    margin-bottom: 8px;
  }
}

/* ================= COLLABORATION CARD ================= */

.collaboration-card {
  border-left: 6px solid #E31837;
  background: linear-gradient(135deg, #ffffff, #fff5f6);
  padding: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.collaboration-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(227, 24, 55, 0.18);
}

/* Header */
.collab-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.collab-header h3 {
  color: #1f2937;
  font-size: 1.4rem;
}

.collab-badge {
  background: #E31837;
  color: #fff;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Description */
.collab-desc {
  margin-bottom: 15px;
  color: #374151;
  line-height: 1.6;
}

/* List */
.collab-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.collab-list li {
  padding-left: 18px;
  position: relative;
  margin-bottom: 10px;
}

.collab-list li::before {
  content: "▸";
  left: 0;
  color: #E31837;
  font-weight: bold;
  padding-left: 18px;
  position: relative;
  margin-bottom: 4px;   /* ↓ reduced from 10px */
  line-height: 1.3;     /* ↓ tighter text */
}


/* Footer */
.collab-footer {
  text-align: right;
}

.collab-link {
  color: #E31837;
  font-weight: 700;
  text-decoration: none;
}

.collab-link:hover {
  text-decoration: underline;
}




/* ================= HERO ================= */
.hero {
  background: linear-gradient(135deg, #E31837, #b1122b);
  color: white;
  padding: 80px 10%;
  text-align: center;
}

.hero-content {
  max-width: 900px;
  margin: auto;
}

.hero h1 {
  font-size: 2.6rem;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 25px;
  opacity: 0.95;
}


/* Accordion Image */


.accordion-image {
  text-align: center;
  margin: 20px 0;
}

.accordion-image img {
  width: 80%;
  max-width: 500px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.12);
}

@media (max-width: 600px) {
  .accordion-image img {
    width: 100%;
  }
}


.team-nav {
  padding: 20px 0;
  text-align: center;
}

.team-nav-links {
  display: flex;              /* SINGLE ROW */
  justify-content: center;    /* CENTERED */
  align-items: center;
  gap: 30px;                  /* SPACE BETWEEN ITEMS */
  list-style: none;           /* REMOVE BULLETS */
  padding: 0;
  margin: 0;
  flex-wrap: nowrap;          /* FORCE ONE LINE */
}

.team-nav-links li {
  margin: 0;
  padding: 0;
}

.team-nav-links li a {
  text-decoration: none;
  font-weight: 600;
  color: #2b2b2b;
  white-space: nowrap;        /* PREVENT LINE BREAK */
}

.team-nav-links li a:hover {
  text-decoration: underline;
}


.badge {
  display: inline-block;
  padding: 3px 10px;
  margin-right: 6px;
  border-radius: 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  vertical-align: middle;
}

/* PhD Scholar – Deep Red */
.badge.phd {
  background-color: #b11226;
}

/* JRF – Dark Blue */
.badge.jrf {
  background-color: #0047ab;
}

/* M.Tech – Royal Purple (Advanced & Specialized) */
.badge.mtech {
  background-color: #6a1b9a;   /* Royal purple */
}

/* B.Tech – Dark Green */
.badge.btech {
  background-color: #0b6e4f;
}


.faculty-photo img {
  width: 130px;          /* REDUCED SIZE */
  height: auto;
  border-radius: 10px;   /* soft corners */
  object-fit: cover;
}

.faculty-lead .faculty-photo img {
  width: 150px;
}

.faculty-profile {
  align-items: center;   /* vertical centering */
  gap: 30px;
}


.section-title {
  text-align: center;
  margin-bottom: 30px;
}

.project-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 30px 40px;
}

.card-title {
  text-align: center;
  margin-bottom: 10px;
}

.card-desc {
  text-align: center;
  margin-bottom: 25px;
  color: #374151;
}

.project-block {
  background: #f9fafb;
  border-left: 4px solid #dc2626;
  padding: 15px 20px;
  margin-bottom: 20px;
}

.project-block h5 {
  margin-bottom: 10px;
  color: #111827;
}

.project-list {
  padding-left: 18px;
  margin: 0;
}

.project-list li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.tools {
  text-align: center;
  margin-top: 15px;
  font-size: 0.95rem;
  color: #1f2937;
}

.project-block {
  margin-top: 30px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.project-block h5 {
  text-align: center;
  margin-bottom: 15px;
  font-weight: 600;
}

.project-list {
  list-style-type: disc;
  padding-left: 22px;      /* bullet alignment */
  text-align: left;        /* text alignment */
}

.project-list li {
  margin-bottom: 10px;
  line-height: 1.6;
}
.project-block {
  margin-top: 30px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.project-block h5 {
  text-align: center;
  margin-bottom: 15px;
  font-weight: 600;
}

.project-list {
  list-style-type: disc;
  padding-left: 22px;      /* bullet alignment */
  text-align: left;        /* text alignment */
}

.project-list li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.info-strip {
  background: #fff;
  border-bottom: 1px solid #eee;
}

.info-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 16px 20px;
  text-align: center;
}

.info-grid strong {
  display: block;
  color: #b30000;
  font-size: 0.95rem;
}

.info-grid span {
  font-size: 0.9rem;
  color: #444;
}

.about-updates {
  display: flex;
  flex-wrap: flex-start;        /* 🔴 FORCE one line */
  align-items: center;
  gap: 48px;
  max-width: 1500px;        /* wider container */
  margin: 0 auto;
}

.about-box h2 {
  margin-top: 0;
  margin-bottom: 14px;
}



/* LEFT */
.about-box {
  flex: 2.3;
}

.about-box {
  flex: 0 0 62%;            /* fixed proportion */
  max-width: 62%;
}


/* RIGHT */
.updates-panel {
  flex: 0 0 38%;
  max-width: 38%;
  background: #ffffff;
  padding: 18px;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}


.updates-panel h3 {
  text-align: center;
  margin-bottom: 14px;
}
.about-box p {
  text-align: left;     /* ✅ academic look */
  margin-top: 0;
}

.updates-panel {
  text-align: left;        /* KEY FIX */
}
.updates-panel h3 {
  margin: 0 0 14px 0;
  text-align: center;
}



/* Link styling */
.updates-panel a {
  color: #c4161c;
  font-weight: 600;
  text-decoration: none;
}

.updates-panel a:hover {
  text-decoration: underline;
}



.updates-panel ul {
  list-style: none;
  padding: 0;
}

.updates-panel li {
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.updates-link {
  display: inline-block;
  margin-top: 12px;
  color: #b30000;
  font-weight: 600;
}


.inline-link {
  color: #b30000;
  font-weight: 600;
  text-decoration: none;
}

.inline-link:hover,
.inline-link:focus,
.inline-link:active {
  text-decoration: none;
}

.update-link {
  color: #c4161c;
  font-weight: 600;
  text-decoration: none;
}

.update-link:hover {
  text-decoration: underline;
}





