/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}
/* Section Styling */
section {
  padding: 60px 0;
}

h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #002D72;
}
/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }
  .nav-links.show {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
}

.about-text {
    max-width: 1200px;
    margin: -80px auto 0 auto;
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
    text-align: justify;
    width: 100%;
}

/* About Cards - Adjusted for a vertical, fixed-width layout */
.about-cards {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 50px;
    margin-top: 50px;
    margin-left: 40px;
    
}

.about-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    width: 300px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;

    background:rgba(255,255,255,0.15);
backdrop-filter:blur(12px);
-webkit-backdrop-filter:blur(12px);

border:1px solid rgba(255,255,255,0.25);

box-shadow:
0 8px 32px rgba(0,0,0,0.15);

transition:0.35s;
}

.about-card:hover {
    transform:translateY(-8px) scale(1.03);

box-shadow:
0 15px 40px rgba(0,0,0,0.25);

background:rgba(255,255,255,0.25);
}



.about-card h3{

font-size:18px;
letter-spacing:1px;
font-weight:600;

}

.about-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

/* Website Engagement Section */
.engagement-section {
    padding: 80px 0;
    background: #fff;
    margin-top: -220px;
}

.engagement-section h2 {
    font-size: 2.3rem;
    font-weight: 700;
    color: #002d72;
    margin-bottom: 40px;
    text-align: center;
}

.engagement-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
}

.engagement-left {
    flex: 1;
    min-width: 280px;
    text-align: center;
}

.engagement-left .label {
    font-size: 1rem;
    font-weight: 500;
    color: #4a60a1;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 10px 0 0;
}

.engagement-left .count {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2c47a1;
    margin-bottom: 15px;
}

.engagement-left .map {
    max-width: 300px;
    margin-top: 20px;
}

.engagement-right {
    flex: 1;
    min-width: 280px;
    position: relative;
}

.whatsnew-banner {
    background: #1e90ff;
    color: #fff;
    padding: 10px 20px;
    font-size: 1.3rem;
    font-weight: 700;
    display: inline-block;
    transform: skew(-15deg);
    margin-bottom: 20px;
}

.whatsnew-box {
    border-left: 3px solid #1e90ff;
    padding-left: 15px;
    font-size: 1rem;
    color: #333;
}

.whatsnew-box a {
    color: #1e90ff;
    text-decoration: none;
}

/* Quick Links Section */
.quicklinks-section {
    background: linear-gradient(90deg, #002d72, #003f91);
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

.quicklinks-section h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.quick-nav {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
}

.quick-nav a {
    color: #fff;
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.3s;
}

.quick-nav a:hover {
    color: #ffd700;
}

/* Partner Logos */
.partners {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.partners img {
    height: 60px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.partners img:hover {
    transform: scale(1.1);
}

/* Timeline Section */
.timeline {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 40px;
    padding-bottom: 20px;
    scrollbar-width: thin;
}

.timeline::-webkit-scrollbar {
    height: 8px;
}

.timeline::-webkit-scrollbar-thumb {
    background: #002d72;
    border-radius: 4px;
}

/* Timeline Item */
.timeline-item {
    min-width: 280px;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    text-align: left;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.timeline-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.timeline-content h3 {
    font-size: 1.2rem;
    color: #002d72;
    margin-bottom: 10px;
}

.timeline-content span {
    font-size: 0.95rem;
    color: #444;
}

.timeline-content ul {
    list-style: disc;
    padding-left: 20px;
    margin-top: 10px;
}

.timeline-content ul li {
    font-size: 0.95rem;
    margin-bottom: 6px;
    color: #555;
}

.date {
    display: block;
    margin-top: 15px;
    font-size: 0.9rem;
    font-weight: bold;
    color: #7b4ce0;
    text-align: right;
}



.nav-container {
  width: 100%;
}

/* Left: Lab Name */
.about-pi {
  padding: 40px ;
  margin-top: -40px;
  background:linear-gradient(
135deg,
#f3f6ff,
#eef2ff
);
}

.about-pi .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.pi-photo {
  flex: 0.3 0 350px;             /* fixed width for photo column */
}

.pi-photo img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* About PI - Compact Single-Line Style */
.pi-info {
  flex: 1;
  font-size: 0.9rem;   /* compact overall text */
  line-height: 1.4;
  color: #222;
  text-align: left;
  max-width: 600px;    /* keeps text narrower next to image */
  
}


.pi-info h2 {
  font-size: 1rem;   /* PI name */
  font-weight: 700;
  margin-top: 10px;
  margin-bottom: 8px;
  color: #0a1a44;      /* dark blue for emphasis */
}

.pi-info h4 {
  font-size: 1rem;     /* designation */
  font-weight: 600;
  margin-bottom: 6px;
  color: #111;
}

.pi-info p {
  font-size: 0.9rem;
  margin-bottom: 4px;
  line-height: 1.4;
}

.pi-info ul {
  list-style: none;
  padding-left: 0;
  margin-top: 6px;
  font-size: 0.7rem;
}

.pi-info ul li {
  font-size: 0.7rem;
  margin-bottom: 3px;
  font-style: italic;   /* differentiates past positions */
  color: #444;
}





.pi-container {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;   /* 👈 centers text vertically with image */
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
  margin-bottom: 40px;
} 

/* 📱 Mobile: stack photo and info */
@media (max-width: 768px) {
  .pi-container {
    flex-direction: column;
    text-align: left;
  }
  .pi-photo {
    margin-bottom: 20px;
  }
}


.about-card-link {
  text-decoration: none;  /* remove underline */
  color: inherit;         /* keep text color */
  display: inline-block;  /* makes whole card clickable */
}

.about-card{
margin-top: 30px;
width:260px;
height:190px;
margin-bottom: 40px;
display:flex;
flex-direction:column;
/* align-items:center; */
justify-content:center;
gap: 20px;
border-radius:22px;

/* GLASS SURFACE */

background:rgba(255,255,255,0.18);
backdrop-filter:blur(14px);
-webkit-backdrop-filter:blur(14px);

/* LIQUID EDGE */

border:1px solid rgba(255,255,255,0.35);

/* DEPTH */

box-shadow:
0 8px 32px rgba(0,0,0,0.15),
inset 0 0 20px rgba(255,255,255,0.25);

/* TRANSITION */

transition:all 0.35s ease;

position:relative;
overflow:hidden;

}

.about-card::before{

content:"";

position:absolute;

width:120%;
height:120%;

background:linear-gradient(
120deg,
transparent,
rgba(255,255,255,0.45),
transparent
);

top:-20%;
left:-20%;

opacity:0;
transition:0.6s;

}

.about-card:hover{

transform:translateY(-10px) scale(1.04);

box-shadow:
0 20px 50px rgba(0,0,0,0.25),
inset 0 0 30px rgba(255,255,255,0.4);

background:rgba(255,255,255,0.25);

}

.about-card:hover::before{
opacity:1;
}

.timeline-section h2 {
  text-align: center;     /* centers the heading */
  margin-top: -100px;      /* moves it slightly above */
  margin-bottom: 40px;    /* space below heading */
  font-size: 2rem;        /* adjust size */
  font-weight: bold;
  color: #333;            /* adjust based on your theme */
}


.timeline-section {
  position: relative;             /* allow layering */
  background-color: #e0e0e0;      /* grey background */
  padding: 100px 20px 60px;       /* extra top + bottom space */
  border-radius: 8px;
  z-index: 1;                     /* behind cards */
}

.about-cards {
  position: relative;
  z-index: 2;                     /* above grey background */
}
.about-card .icon{

font-size:44px;
color:#2c4a8a;

margin-bottom:12px;

transition:0.35s;

}

.about-card:hover .icon{

transform:scale(1.2) rotate(5deg);

color:#1c2f6e;

}




.timeline {
  display: flex;
  flex-direction: column; /* stack awards vertically */
  gap: 30px;              /* space between items */
  position: relative;
  max-width: 900px;
  margin: auto;
  width: 100%;
  overflow: visible;       /* no hidden content */
}

.timeline-item {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  position: relative;
  flex-wrap: wrap;   /* 🔥 allows wrapping instead of pushing width */
}

.timeline-year {
  flex: 0 0 70px;    /* fixed size circle */
  height: 70px;
  width: 70px;
  line-height: 30px;
  font-weight: bold;
  font-size: 16px;
  color: #fff;
  background: #333;
  text-align: center;
  border-radius: 50%;
  padding: 20px;
  margin-right: 20px;
  box-sizing: border-box;
}

.timeline-content {
  background: #fff;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  flex: 1;
  min-width: 0; /* 🔥 prevents overflow */
}
















/* Hide all tab content by default */
.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}

/* Banner */
.team-hero {
  background: #323234; 
  color: white;
padding: 0px 0px 0px;
  text-align: center;
  background-image: url(images/g.png);
  background-repeat:no-repeat;
background-position:center;
background-size:100% auto;
background-size:cover; 
}
.team-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  margin-top: 80px;
}
.team-hero p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
  color: white;
}

/* Section */
.team-section {
  padding: 0px 0px;
}
.team-section h2 {
  font-size: 1.8rem;
  margin-bottom: 25px;
  color: #222;
  margin-top: 0px;
}

.team-section h4 {
  font-size: 1.8rem;
  margin-bottom: 25px;
  color: #222;
  margin-bottom: 10px;
}
/* Recognition Section */
.recognition-section {
  padding: 0px 0px;
  background: #fafafa;
  text-align: center;

}



.recognition-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.recognition-subtitle {
  font-size: 1rem;
  color: #666;
  margin-bottom: 40px;
}

.recognition-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.recognition-card {
  background: #fff;
  border-radius: 10px;
  padding: 40px;
  line-height:1.7;
  border-radius: 14px;
  text-align: left;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  transition: transform 0.2s ease;
  margin-bottom: 50px;
  margin-top: -50px;
}

.recognition-card:hover {
  transform: translateY(-5px);
}

.recognition-card h3 {
  font-size: 1.2rem;
  color: #6b4de6; /* purple accent */
  margin-bottom: 15px;
}

.recognition-card ul {
  list-style: disc;
  padding-left: 18px;
  line-height: 1.6;
  color: #333;
}



.page-banner.events-banner{
background:linear-gradient(135deg,#2b2b2b,#1f1f1f);
color:white;
text-align:center;
padding:140px 20px 80px;
margin-top:0;

 background-image: url(images/event.png);
  background-repeat:no-repeat;
background-position:center;
background-size:100% auto;
background-size:cover; 
}

.events-banner h1{
font-size:44px;
margin-bottom:10px;
}

.events-banner p{
max-width:750px;
margin:auto;
color:#e5e5e5;
font-size:18px;
}

/* Events Section */
.events-section {
  padding: 60px 20px;
  background: #fafafa;
  text-align: center;
}

.events-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.events-subtitle {
  font-size: 1rem;
  color: #666;
  margin-bottom: 40px;
}

/* Events Grid */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.event-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  text-align: left;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s ease;
  position: relative;
}

.event-card:hover {
  transform: translateY(-5px);
}

.event-year {
  position: absolute;
  top: -12px;
  left: 20px;
  background: #6b4de6;
  color: #fff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
}

.event-content h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #333;
}

.event-content p {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 10px;
}

.event-tag {
  display: inline-block;
  background: #f1effc;
  color: #6b4de6;
  padding: 5px 10px;
  font-size: 0.8rem;
  border-radius: 12px;
  font-weight: 500;
}

/* Additional Events */
/* .additional-events {
  margin-top: 50px;
  text-align: left;
}

.additional-events h3 {
  text-align: center;
  margin-bottom: 30px;
}

.additional-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.additional-events h4 {
  color: #6b4de6;
  margin-bottom: 10px;
}

.additional-events ul {
  list-style: disc;
  padding-left: 18px;
  color: #333;
  line-height: 1.6;
}
 */





/* Info Cards */
.info-card {
  margin-bottom: 20px;
}
.info-card h3 {
  font-weight: 600;
  margin-bottom: 5px;
  color: #222;
}
.info-card i {
  color: #4e2acc;
  margin-right: 8px;
}
.social-links {
  margin-top: 10px;
  display: flex;
  gap: 15px;
}
.social-links a {
  color: #555;
  font-size: 1.2rem;
}
.social-links a:hover {
  color: #4e2acc;
}

/* Form */
form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
input, select, textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
}
.btn-primary {
  background: #4e2acc;
  color: white;
  border: none;
  padding: 12px 20px;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 6px;
}
.btn-primary:hover {
  background: #3620a0;
}



/* Map Section */
.map-section {
  height: 400px;
  background: #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
}







/* Form Wrapper */
form.space-y-6 {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Input + Textarea Styling */
form input,
form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  transition: border 0.3s, box-shadow 0.3s;
}

form input:focus,
form textarea:focus {
  border-color: #1e90ff;
  box-shadow: 0 0 6px rgba(30, 144, 255, 0.4);
  outline: none;
}

/* Labels */
form label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #444;
  display: block;
  margin-bottom: 5px;
}

/* Button */
form button {
  background: #1e90ff;
  color: white;
  padding: 12px 18px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

form button:hover {
  background: #0d6efd;
}

/* Responsive Grid (for name + email fields side by side) */
form .grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 768px) {
  form .grid {
    grid-template-columns: 1fr 1fr;
  }
}




/* Social Links */
.social-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Form Card */
.form-card form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-card input,
.form-card textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.form-card input:focus,
.form-card textarea:focus {
  border-color: #1e90ff;
  box-shadow: 0 0 6px rgba(30,144,255,0.3);
  outline: none;
}

.form-card button {
  background: #1e90ff;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

.form-card button:hover {
  background: #0d6efd;
}



/* Banner */
.contact-banner {
  background: #323234; /* purple theme */
  color: white;
  padding: 30px 20px;
  text-align: center;
  background-image: url(images/contact3.png);
  background-repeat:no-repeat;
background-position:center;
background-size:100% auto;
background-size:cover;   /* prevents cropping */
}

.contact-banner h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 15px;
  margin-top: 80px;
  text-align: center;
  
}

.contact-banner p {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 700px;
  color: white;
  margin: 0 auto;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.grid > div:last-child {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: flex-end;
}

h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  margin-top: 40px;
  color: #1a1a1a;
}

p {
  color: #555;
  line-height: 1.6;
}

.card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  margin-top: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 8px;
  color: #2d2d2d;
  font-size: 1.1rem;
}

.contact-map-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 20px;
  margin: 20px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-map-section {
  padding: 8px 0 16px;
}

.contact-map-card h3 {
  margin: 0 0 14px;
  color: #2d2d2d;
  font-size: 1.1rem;
}

.contact-map-frame {
  position: relative;
  width: 100%;
  min-height: 320px;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.contact-map-frame iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}

.contact-form {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  flex: 1;
  height: 100%;
  box-sizing: border-box;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #333;
}

input,
textarea,
select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.95rem;
}

textarea {
  resize: vertical;
}

button {
  display: inline-block;
  background: #3b2fb2;
  color: white;
  padding: 12px 20px;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
  width: 100%;
}

button:hover {
  background: #2a1f88;
}

@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .grid > div:last-child {
    display: block;
  }

  .contact-map-card {
    padding: 16px;
  }

  .contact-form {
    padding: 30px;
  }

  .contact-map-section {
    padding: 0 0 12px;
  }

  .contact-map-frame,
  .contact-map-frame iframe {
    min-height: 260px;
    height: 260px;
  }
}


.contact-image {
  margin-top: 20px;
  text-align: center;
}

.contact-image img {
  max-width: 35%;
  height: auto;
  border-radius: 10px;  /* optional */
  margin-left: 50px;
  margin-right: 50px;
}

.research-banner {
  background: #323234;
  color: rgb(197, 65, 9);
  padding: 80px 20px;
  text-align: center;
  background-image: url(images/research_areas.png);
 background-repeat:no-repeat;
background-position:center;
background-size:100% auto;
background-size:cover; 
/* background-color: transparent; */
/* opacity: 0.6; */
}

.research-banner h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  margin-top: 50px;
}

.research-banner p {
  font-size: 1.2rem;
  opacity: 0.9;
  color: black;
  opacity: 2;
}

.research-card {
  background: #fff;
  padding: 30px;
  margin-bottom: 30px;
  margin-top: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.research-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.research-card h2 {
  margin-top: 0;
  color: #3b2fb2;
  font-size: 1.6rem;
}

.research-card p {
  font-size: 1rem;
  color: #444;
}

.research-card.alt {
  background: #f3f0ff;
}






.publications {
  padding: 60px 20px;
  text-align: center;
  background: #f8f9fa;
}

.publications h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #0a1a44;
}

.publications .subtitle {
  color: #555;
  margin-bottom: 40px;
  font-size: 1rem;
}

.year-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  max-width: 900px;
  
  justify-content: center;
  
margin:60px auto;
}


.year-btn {
  display: block;
  padding: 12px 20px;
  background: #001f5c;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  transition: all 0.3s ease;
  
}

.year-btn:hover {
  background: #003399;
  transform: translateY(-2px);
}





/* Join Our Team Section */
.join-section {
  background: #f9f9f9;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  margin-top: -50px;
  padding-top: 0%;
}

.join-section h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: #222;
}

.hiring-badge {
  background: #6b4de6;
  color: #fff;
  padding: 6px 14px;
  font-size: 0.9rem;
  font-weight: bold;
  border-radius: 20px;
  position: absolute;
  top: 40px;
  right: 40px;
}

.join-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.join-card {
  background: #fff;
  padding: 30px 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.join-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.join-card i {
  font-size: 2rem;
  color: #4e2acc;
  margin-bottom: 15px;
}

.join-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #111;
}

.join-card p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 12px;
}

.btn-apply {
  display: inline-block;
  background: #4e2acc;
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.3s;
}

.btn-apply:hover {
  background: #3620a0;
}


/* Website Engagement Section */
.engagement-section {
  padding: 84px 20px 96px;
  background: #ffffff;
  text-align: center;
}

.engagement-section h2 {
  margin-bottom: 18px;
  font-size: 30px;
  font-weight: 700;
  color: #183153;
  letter-spacing: -0.02em;
}

.engagement-container {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.9fr);
  gap: 30px;
  align-items: stretch;
  max-width: 1260px;
  margin: 0 auto;
}

.engagement-left {
  min-width: 0;
  padding: 28px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(17, 66, 133, 0.08);
  border-radius: 28px;
  box-shadow: 0 24px 55px rgba(18, 54, 102, 0.12);
  text-align: left;
}

.visitor-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0f5ec9, #4db7ff);
  color: #fff;
  font-size: 0.98rem;
  font-weight: 700;
  box-shadow: 0 12px 26px rgba(15, 94, 201, 0.22);
}

.visitor-box #visitCount {
  font-size: 1.05rem;
}

.engagement-left iframe {
  width: 100%;
  min-height: 420px;
  border: 0;
  border-radius: 22px;
  box-shadow: inset 0 0 0 1px rgba(17, 66, 133, 0.08);
}

.engagement-right {
  min-width: 0;
  background: linear-gradient(180deg, #163761 0%, #0d2441 100%);
  color: #fff;
  border-radius: 28px;
  padding: 26px 24px;
  box-shadow: 0 24px 55px rgba(8, 28, 56, 0.24);
  overflow: hidden;
  position: relative;
  margin-top: 0;
  text-align: left;
}

.engagement-right h2 {
  margin-bottom: 16px;
  font-size: 1.5rem;
  color: #fff;
}

/* Scrolling What's New box */
.whats-new {
  height: 420px;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to bottom, transparent 0, black 6%, black 92%, transparent 100%);
}

.whats-new ul {
  list-style: none;
  padding: 0;
  margin: 0;
  animation: scrollUp 22s linear infinite;
}

.whats-new li {
  padding: 14px 0;
  font-size: 15px;
  line-height: 1.65;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}

/* Scroll animation: bottom → top */
@keyframes scrollUp {
  0% { transform: translateY(100%); }
  100% { transform: translateY(-100%); }
}



img {
  max-width: 100%;
  height: auto;
}



@media (max-width: 768px) {
  .engagement-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .engagement-left, .engagement-right {
    min-width: 100%;
    padding: 20px 16px;
    border-radius: 22px;
  }

  .engagement-left iframe {
    min-height: 340px;
  }

  .visitor-box {
    width: 100%;
    justify-content: center;
  }

  .whats-new {
    height: 320px;
  }
}


/* ------------------- */
/* Basic Setup & Fonts */
/* ------------------- */
:root {
    --primary-color: #4A3AFF;
    --primary-dark: #2A00A2;
    --light-bg: #F8F9FC;
    --card-bg: #FFFFFF;
    --text-dark: #1C1C1E;
    --text-light: #6B7280;
    --border-color: #E5E7EB;
    --white-color: #FFFFFF;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--white-color);
    color: var(--text-dark);
    line-height: 1.6;
}

/* ------------------- */
/* Header & Navigation */
/* ------------------- */
.main-header {
    background: var(--white-color);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-dark);
    text-decoration: none;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-light);
    margin-left: 25px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
}


/* ------------------- */
/* General Components  */
/* ------------------- */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.btn-primary:hover {
    background-color: #3b2de0;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--light-bg);
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: #f0f2f5;
}

.btn i {
    margin-right: 8px;
}

.full-width {
    width: 100%;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* ------------------- */
/* Events Section      */
/* ------------------- */
.events-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.event-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--border-color);
}

.event-details {
    flex-basis: 65%;
}

.event-details h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.event-description {
    color: var(--text-light);
    margin-bottom: 20px;
}

.event-meta {
    display: flex;
    gap: 25px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.event-meta span {
    display: flex;
    align-items: center;
}

.event-meta i {
    margin-right: 8px;
    color: var(--primary-color);
}

.badge {
    background: #E8E7FF;
    color: var(--primary-color);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.event-action {
    flex-basis: 30%;
    text-align: center;
    background-color: var(--light-bg);
    padding: 25px;
    border-radius: 10px;
}

.event-action h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.event-action small {
    display: block;
    margin-top: 15px;
    font-size: 0.85rem;
    color: var(--text-light);
}


/* ------------------- */
/* Past Events Section */
/* ------------------- */
.past-events-section {
    padding: 80px 0;
}

.past-event-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid var(--border-color);
}

.past-event-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.past-event-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.card-actions {
    display: flex;
    gap: 10px;
}

.card-actions .btn {
    flex: 1;
}


/* ------------------- */
/* Join Our Team Section */
/* ------------------- */
.join-team-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.view-all-btn {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.job-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.job-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.job-meta {
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.job-meta i {
    margin-right: 6px;
}

.job-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    flex-grow: 1;
    margin-bottom: 20px;
}

/* ------------------- */
/* Newsletter Section */
/* ------------------- */
.newsletter-section {
    padding: 80px 0;
    text-align: center;
    background: var(--white-color);
}

.newsletter-section h2 {
    font-size: 2rem;
}

.newsletter-section p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto 15px;
    gap: 10px;
}

.newsletter-form input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
}

.newsletter-form .btn {
    white-space: nowrap;
}

.newsletter-section small {
    color: var(--text-light);
    font-size: 0.85rem;
}


/* ------------------- */
/* Responsive Design   */
/* ------------------- */
@media (max-width: 992px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .main-header .container {
        flex-direction: column;
        gap: 15px;
    }
    .main-nav {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .event-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }
    .event-action {
        width: 100%;
        text-align: left;
    }
    .event-action .btn {
        display: block;
        text-align: center;
    }
    .card-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .main-nav a {
        margin: 0 10px;
    }
    .event-meta {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    .newsletter-form {
        flex-direction: column;
    }
}



/* ======================================================== */
/* START: FINAL Footer CSS with Hybrid Alignment */
/* Headings & Quick Links are centered; others are left-aligned. */
/* ======================================================== */

/* --- Main Footer Container --- */
.main-footer {
    background-color: #1C1C1E;
    color: #aeb4c1;
    padding: 40px 0 20px;
    font-family: 'Inter', sans-serif;
}

/* --- Footer Grid Layout --- */
.footer-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 50px;
    text-align: left; /* Default to left-align */
}

/* --- Centered Headings --- */
.main-footer h4 {
    color: #FFFFFF;
    margin-bottom: 20px;
    font-size: 1.15rem;
    font-weight: 600;
    text-align: left;
}

.footer-links h4 {
    text-align: center;
}

/* --- Individual Footer Columns --- */
.footer-about, .footer-links, .footer-contact {
    flex: 1;
    min-width: 220px;
}

/* --- 'About' Section (remains left-aligned) --- */
.footer-about h4 i {
    margin-right: 10px;
    color: #5846f9;
}
.footer-about p {
    max-width: 350px;
    line-height: 1.7;
    text-align: justify;
}

/* --- 'Quick Links' Section (content is centered) --- */
.footer-links {
    text-align: center; /* Center the text inside this column */
}
.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-block; /* Allows centering of the list block */
    text-align: left; /* Re-aligns the text within the list to the left */
}
.footer-links ul li {
    margin-bottom: 12px;
}
.footer-links a {
    text-decoration: none;
    color: #aeb4c1;
    transition: color 0.3s ease;
}
.footer-links a:hover {
    color: #FFFFFF;
}

/* --- 'Contact Us' Section (remains left-aligned) --- */
.footer-contact p {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
}
.footer-contact i {
    margin-right: 12px;
    margin-top: 4px;
    width: 16px;
    text-align: center;
    color: #7d899e;
}

/* --- Partner Logos Section --- */
.footer-partners {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid #4B5563;
    margin-top: 20px;
}
.footer-partners h4 {
    margin-bottom: 25px;
    text-align: center;
}
.footer-partners .partners {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}
.footer-partners .partners img {
    height: 55px; /* Increased from 40px */
    object-fit: contain;
    filter: brightness(0) invert(1) opacity(0.6);
    transition: filter 0.3s ease, transform 0.3s ease;
}
.footer-partners .partners img:hover {
    filter: brightness(0) invert(1) opacity(1);
    transform: scale(1.05);
}

/* --- Bottom Bar of the Footer --- */
.footer-bottom {
    text-align: center;
    border-top: 1px solid #4B5563;
    padding-top: 20px;
    margin-top: 30px;
    margin-bottom: -20px;
    font-size: 0.9rem;
    color: #7d899e;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .footer-grid {
        flex-direction: column;
        align-items: center;
    }
    .footer-about, .footer-links, .footer-contact {
        text-align: center; /* All columns are centered on mobile */
    }
    .footer-about p {
        margin: 0 auto;
    }
    .footer-contact p {
        justify-content: center; /* Center the contact items on mobile */
    }
}
/* ======================================================== */
/* END: FINAL Footer CSS with Hybrid Alignment */
/* ======================================================== */

/* ======================================================== */
/* Styles ONLY for the Homepage Navigation Bar Text       */
/* ======================================================== */

/* This rule targets the logo text color ONLY on the homepage */
.home-page .nav-logo {
    color: #FFFFFF; /* White color for the 'Fifth Paradigm Lab' title */
}

/* This rule targets the navigation links ONLY on the homepage */
.home-page .nav-links a {
    color: #f5f5f5; /* A slightly off-white for links like 'Home', 'Research', etc. */
}

/* This ensures the hover effect still works on the homepage links */
.home-page .nav-links a:hover {
    color: #1e90ff;
}

/* NEW RULE: This specifically targets the dropdown menu links 
  on the homepage and sets their color to black for readability.
*/
.home-page .dropdown-content a {
    color: black !important; 
}



/* ======================================================== */
/* Styling for the Horizontal Team Card Layout      */
/* ======================================================== */

/* The container for the team members */
.team-grid-vertical {
    display: grid;
    /* This creates a single column layout */
    grid-template-columns: 1fr;
    gap: 40px; /* Increased gap for a single column */
}

/* The main container for a single team member card */
.team-card-vertical {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex; /*This is the key change for the horizontal layout */
    flex-direction: stack; 
}

/* On smaller screens, stack the image on top of the text */
@media (max-width: 900px) {
    .team-card-vertical {
        flex-direction: column;
    }
}

.team-card-vertical:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

/* Container for the member's photo - the left side */
.member-photo-container {
    flex: 0 0 300px; /* Sets a fixed width for the photo container */
    background-color: #f8f9fa;
}

.member-photo-container img {
    width: 100%;
    height: 100%; /* Make the image fill the container's height */
    object-fit: cover; /* This will crop the image to fit */
    display: block;
}

/* Container for the text details - the right side */
.member-details-vertical {
    padding: 30px 35px;
    flex: 1; /* This makes the details section take up the remaining space */
}

/* Name and Role */
.member-details-vertical h3 {
    font-size: 1.8rem;
    color: #1a202c;
    margin: 0;
}

.member-details-vertical .role {
    font-size: 1.1rem;
    font-weight: 500;
    color: #7b4ce0; /* Purple accent color */
    margin-top: 4px;
    margin-bottom: 20px;
}

/* Biography text */
.member-details-vertical .bio {
    font-size: 0.95rem;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Section headings like "Education" and "Research Focus" */
.member-details-vertical h4 {
    font-size: 1.1rem;
    color: #2d3748;
    margin-top: 25px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Education list */
.member-details-vertical .education-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.member-details-vertical .education-list li {
    font-size: 0.9rem;
    color: #4a5568;
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.member-details-vertical .education-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #7b4ce0;
    font-size: 1.2em;
    line-height: 1;
}

/* Container for the research tags */
.research-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Individual research tags */
.research-tags .tag {
    background-color: #f0eaff;
    color: #553c9a;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Social media links container */
.social-links {
    margin-top: 30px;
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.social-links a {
    color: #718096;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #7b4ce0;
}


/* Giant Brand Section */
.fp-brand {
    text-align: center;
    margin-bottom: 10px;
    margin-top: -60px;
}

.fp-brand-text {
    font-size: clamp(40px, 10vw, 100px);
    font-weight: 800;
    line-height: 2;
    letter-spacing: -3px;

    background: linear-gradient(
        90deg,
        #f3dada,
        #ece7d2,
        #d4edd4,
        #c5d3e8
    );

    background-size: 300% 300%;
    animation: fpGradient 8s ease infinite;

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes fpGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}



/* ===================================== */
/* FINAL CLEAN NAVBAR */
/* ===================================== */

.navbar{
position:fixed;
top:20px;
left:50%;
transform:translateX(-50%);
width:95%;
max-width:1500px;

background:#044153;
border-radius:60px;

padding:15px 40px;
z-index:9999;

box-shadow:0 8px 25px rgba(0,0,0,0.25);
}

.nav-container{
display:flex;
justify-content:space-between;
align-items:center;
}

/* logo */

.nav-logo{
display:flex;
align-items:center;
gap:12px;
color:white;
font-size:1.3rem;
font-weight:600;
}

.nav-logo img{
height:38px;
}

/* nav links */

.nav-links{
display:flex;
align-items:center;
gap:30px;
}

/* normal links */

.nav-links a{
display:flex;
align-items:center;
height:42px;
color:#f1f1f1;
text-decoration:none;
font-size:0.95rem;
transition:.25s;
}

.nav-links a:hover{
color:#ff7a00;
}

/* dropdown container */



.dropdown{
position:relative;
display:flex;
align-items:center;
height:42px;
}

/* dropdown button */

.dropbtn{
display:flex;
align-items:center;
gap:6px;
height:42px;
color:#f1f1f1;
font-size:0.95rem;
line-height:1;
}

/* dropdown menu */

.dropdown-content{
position:absolute;
top:100%;
left:0;

background:white;
min-width:200px;

border-radius:12px;
padding:10px 0;

box-shadow:0 10px 25px rgba(0,0,0,0.15);

opacity:0;
transform:translateY(10px);
pointer-events:none;

transition:.25s;
}

.dropdown-content a{
display:block;
padding:10px 20px;
color:#333;
}

.dropdown-content a:hover{
background:#f5f5f5;
color:#ff6a2c;
}

.dropdown:hover .dropdown-content{
opacity:1;
transform:translateY(0);
pointer-events:auto;
}

/* ============================= */
/* FULLSCREEN VISION SECTION */
/* ============================= */

.home-banner {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 140px 32px 72px;
  background:
    linear-gradient(180deg, rgba(156, 217, 245, 0.493), rgb(255, 255, 255)),
    url("images/hand.png") center center / cover no-repeat;
  overflow: hidden;
}


.home-banner__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(64, 135, 255, 0.16), transparent 42%);
}

.home-banner__content {
  position: relative;
  z-index: 1;
  width: min(100%, 1100px);
  text-align: center;
  color: rgba(4, 65, 83, 0.96);
}

.home-banner__eyebrow {
  margin-bottom: 14px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(4, 65, 83, 0.96);
}

.home-banner__content h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

@media (max-width: 768px) {
  .home-banner {
    min-height: 38vh;
    padding: 110px 18px 0;
    align-items: flex-end;
    background:
      linear-gradient(180deg, rgba(156, 217, 245, 0.493), rgb(255, 255, 255)),
      url("images/hand.png") center center / cover no-repeat;
    margin-bottom: 0 !important;
  }

  .home-banner__content {
    width: 100%;
    max-width: 100%;
    padding: 18px 5px 0;
  }

  .home-banner__eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    margin-bottom: 10px;
    line-height: 1.4;
  }

  .home-banner__content h1 {
    font-size: clamp(2.4rem, 11vw, 4rem);
    line-height: 1;
  }
}

@media (max-width: 1100px) {
  .vision-section {
    min-height: 72vh !important;
    height: auto !important;
    padding-top: 120px !important;
    padding-bottom: 8px !important;
    margin-bottom: 0 !important;
  }
}

@media (max-width: 768px) {
  .vision-section {
    min-height: 56vh !important;
    height: auto !important;
    padding-top: 120px !important;
    padding-bottom: 2px !important;
    margin-bottom: 0 !important;
  }

  .vision-overlay,
  #visionText {
    margin-bottom: 0 !important;
  }
}

.vision-section {
  position: relative;
  width: 100%;
  height: 72vh;
  min-height: 72vh;
  overflow: hidden;

  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 5%;
  padding-top: 300px;
  padding-bottom: 4px;
  background: white;
}

/* Neural canvas full size */
#neuralCanvas {
  position: absolute;
  inset: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.6;
}

/* Text overlay */
.vision-overlay {
  position: relative;
  z-index: 5;

  width: 100%;
  max-width: 1200px;   /* increased width */
  text-align: center;
}

/* When visible */
.vision-overlay.show {
  opacity: 1;
  transform: translateY(0);
}

/* Black text */
/* .vision-overlay h2 {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  color: #000;
  margin-bottom: 30px;
} */

.vision-overlay p {
  font-size: clamp(23px, 1.4vw, 24px);
  line-height: 1.6;
  color: #000;

  width: 100%;
  max-width: 1100px;   /* much wider */
  margin: 0 auto;
  margin-top: -370px;
  
}

.academic-timeline{
padding:120px 0;
background:#f6f7fb;
}
/* timeline layout */
.timeline-title{
font-size:40px;
text-align:center;
margin-bottom: 120px;
margin:80px auto 80px auto;
border:4px solid #1f4a83;
padding:14px 40px;
display:table;
color:#1f4a83;
font-weight:700;
letter-spacing: 1px;
border-radius:4px;
margin-top: -70px;
}
.timeline{
max-width:1200px;
margin:auto;
position:relative;
}
/* .timeline::before{
content:"";
position:absolute;
top:50%;
left:0;
width:100%;
height:6px;
background:#1f4a83;
border-radius:4px;
} */
.timeline-row{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:60px;
margin-bottom:80px;
position:relative;
}

/* horizontal line */

.timeline-line{
height:5px;
background:#1f4a83;
margin:-30px;
border-radius:4px;
}

/* cards */

.timeline-card{
background:white;
padding:22px;
border-radius:14px;
box-shadow:0 10px 25px rgba(0,0,0,0.12);
font-size:14px;
position:relative;
opacity:0;
transform:translateY(60px);
transition:all .35s ease;
}

.timeline-row.bottom{

grid-template-columns:repeat(3,1fr);
/* gap:60px; */
margin-left:20px;   /* shifts bottom cards right */
margin-top:80px; 
margin-bottom: -180px;
}
/* vertical connector */

.timeline-card::after{
content:"";
position:absolute;
left:50%;
width:5px;
background:black;
height:90px;
transform:translateX(-50%);
}

.timeline-card:hover{
transform:translateY(-8px);
box-shadow:0 25px 50px rgba(0,0,0,0.18);
}

/* show animation */

.timeline-card.show{
opacity:1;
transform:translateY(0);
}
.timeline-card.top::after{
bottom:-70px;
}

.timeline-card.bottom::after{
top:-70px;
}

/* timeline dot */

.dot{
width:20px;
height:20px;
background:#1f4a83;
border-radius:50%;
position:absolute;
left:50%;
transform:translateX(-50%);
border:4px solid white;
box-shadow:0 0 0 4px #1f4a83;
transition:.3s;
}

/* top cards */
.timeline-card.top .dot{
bottom:-90px;
}

/* bottom cards */
.timeline-card.bottom .dot{
top:-90px;
}

/* lists */

/* glow effect */

.timeline-card:hover .dot{
box-shadow:
0 0 0 4px #1f4a83,
0 0 20px rgba(31,74,131,.6);
}

/* text */

.timeline-card h4{
font-size:16px;
margin-bottom:6px;
font-weight:600;
color:#111;
}

.timeline-card p{
font-size:14px;
color:#666;
margin-bottom:8px;
}

.timeline-card ul{
padding-left:18px;
font-size:14px;
color:#444;
}

.timeline-card li{
margin-bottom:4px;
}

.year{
display:block;
margin-top:10px;
font-weight:600;
color:#1f4a83;
}

.honor-container{
display:flex;
align-items:center;
gap:60px;
}

.honor-image img{
width:420px;
border-radius:10px;
box-shadow:0 15px 40px rgba(0,0,0,0.15);
}

.honor-text h2{
font-size:34px;
margin-bottom:20px;
color:#0b2a4a;
}

.honor-text p{
font-size:18px;
line-height:1.7;
color:#333;
}




/* Narahari Recognition Section */

.narahari-section{

width:100vw;
margin-left:calc(-50vw + 50%);
margin-right:calc(-50vw + 50%);
padding:0px 0px;
background:linear-gradient(135deg,#2b1450,#522b8f);

display:flex;
align-items:center;
justify-content:center;

text-align:center;
color:white;
margin-top: 40px;
margin-bottom: 20px;
}

.narahari-container{

max-width:2000px;
padding:0 20px;
margin-top: -20px;
}

.narahari-container h2{

font-size:40px;
margin-bottom:20px;
font-weight:900;
color: white;
white-space: nowrap;

}

.narahari-container p{

font-size:20px;
line-height:1.7;
margin-bottom:40px;
color:#e5e5e5;

}

.narahari-btn{

background:#c7b8f3;
color:#1c1038;

padding:14px 34px;

border-radius:10px;

font-weight:600;
text-decoration:none;

transition:0.3s;

}

.narahari-btn:hover{

background:white;
transform:translateY(-2px);

}




/* ================================= */
/* GLOBAL PAGE BANNER */
/* ================================= */

/* .page-banner{
background:#323234;
color:white;
padding:140px 20px 80px;
text-align:center;
margin-bottom: -50px;

} */

.page-banner h1{
font-size:2.8rem;
margin-bottom:10px;
font-weight:700;
margin-top: -30px;
}

.page-banner p{
font-size:1.15rem;
max-width:750px;
margin:auto;
line-height:1.6;
color:#e5e5e5;
}

/* Awards Banner */

.awards-page .page-banner{
background:linear-gradient(135deg,#323234);
margin-bottom: -80px;
padding: 90px;
background-image: url(images/awards\ \(2\).png);
  background-repeat:no-repeat;
background-position:center;
background-size:100% auto;
background-size:cover; 
}

.awards-page .page-banner h1{
color:#fff;
margin-bottom: 0px;
margin-top: -30px;
}

.awards-page .page-banner p{
color:#e5e5e5;
margin-bottom: -500px;
}

.research-page .page-banner{
background:linear-gradient(135deg,#323234);
margin-bottom: 50px;
width: 100vw;
margin-top: 0px;
 background-image: url(images/pub.jpg);
  background-repeat:no-repeat;
background-position:center;
background-size:100% auto;
background-size:cover; 
}


body{
font-family:'Inter',sans-serif;
margin:0;
background:#f7f8fc;
color:#222;
padding-top:0px;
}

/* hero section */

.tools-hero{
max-width:1100px;
margin:auto;
padding:120px 20px 60px;
text-align:center;
}

.tools-hero h1{
font-size:36px;
color:#2c5d1f;
margin-bottom:20px;
}

.tools-hero p{
font-size:17px;
line-height:1.7;
color:#444;
margin-bottom:18px;
}

.quote{
font-style:italic;
color:#1f4a83;
font-weight:500;
}

.mpds-link{
display:inline-block;
margin-top:20px;
padding:12px 24px;
background:#1f4a83;
color:white;
text-decoration:none;
border-radius:6px;
transition:0.3s;
}

.mpds-link:hover{
background:#163766;
}


/* database section */

.database-section{
background:#eef1f6;
padding:80px 20px;
text-align:center;
}

.database-section h2{
font-size:34px;
color:#1f4a83;
margin-bottom:60px;
letter-spacing:2px;
margin-top: -40px;
}


/* grid */

.database-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:40px;
max-width:1000px;
margin:auto;
}


/* cards */

.db-card{
background:white;
padding:40px 30px;
border-radius:16px;
text-decoration:none;
color:#222;

box-shadow:0 10px 25px rgba(0,0,0,0.08);

transition:0.35s;
}

.db-card:hover{
transform:translateY(-8px);
box-shadow:0 20px 40px rgba(0,0,0,0.15);
}

.db-card img{
height:80px;
margin-bottom:20px;
}

.db-card h3{
font-size:22px;
margin-bottom:8px;
color:#1f4a83;
}

.db-card p{
font-size:14px;
color:#666;
}






.year-grid{

display:grid;
grid-template-columns:repeat(auto-fit,minmax(90px,1fr));
gap:12px;

max-width:900px;
margin:40px auto;

}

.year-grid button{

padding:10px;
border:none;
background:#0b5ed7;
color:white;
font-size:14px;
border-radius:6px;
cursor:pointer;
transition:0.3s;

}

.year-grid button:hover{
background:#084298;
}

.year-section{

max-width:1000px;
margin:40px auto;

}

.publication-list p{

margin-bottom:12px;
line-height:1.6;

}


.team-heading{

font-size:30px;
font-weight:700;

text-align:center;

margin:80px 0 60px;

letter-spacing:0.5px;

color:#111;

border-bottom:2px solid #e5e7eb;

padding-bottom:15px;

}

.team-heading::before {

content:"";
position:absolute;

left:50%;
top:-20px;

transform:translateX(-50%);

width:80px;
height:4px;

background:linear-gradient(90deg,#3b82f6,#2563eb);
border-radius:4px;

}



.alumni-hero{

background:#1f2937;
color:white;

text-align:center;

padding:100px 20px 80px;

 background-image: url(images/alumni.png);
  background-repeat:no-repeat;
background-position:center;
background-size:100% auto;
background-size:cover; 

}

.alumni-hero h1{
font-size:46px;
margin-bottom:10px;
}

.alumni-hero p{
max-width:750px;
margin:auto;
opacity:.9;
color: white;
}


.alumni-section{

padding:80px 40px;
background:#f5f7fb;

}


.alumni-grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(400px,1fr));

gap:35px;

}


.alumni-card{

display:flex;

gap:20px;

background:white;

padding:22px;

border-radius:12px;

box-shadow:0 10px 25px rgba(0,0,0,0.08);

transition:.3s;

}


.alumni-card:hover{

transform:translateY(-6px);

}


.alumni-card img{

width:80px;
height:80px;

border-radius:50%;

object-fit:cover;

}


.alumni-card h3{

margin:0 0 8px;

font-size:19px;

}


.alumni-card p{

font-size:14px;
line-height:1.5;

}


.position{

color:#1f4a83;
font-weight:500;

}

.intern-center{
text-align:center;
margin:6px 0 10px;
color:#1f4a83;
}

.intern-strip{
display:block;
width:min(100%, 520px);
margin:0 auto 24px;
padding:12px 18px;
border-radius:999px;
background:linear-gradient(135deg, #0f5ec9, #46b0ff);
color:#fff;
text-align:center;
font-size:1.05rem;
font-weight:700;
letter-spacing:0.02em;
box-shadow:0 12px 26px rgba(15, 94, 201, 0.22);
}
/* ============================= */
/* Awards Timeline Modern Style */
/* ============================= */

.awards-page main{
max-width:1100px;
margin:60px auto;
padding:20px;
}

/* Timeline Container */

.timeline{
position:relative;
margin-top:40px;
}



/* Timeline item */

.timeline-item{

display:flex;
align-items:flex-start;

gap:30px;

margin-bottom:40px;

position:relative;

}

/* Year Circle */

.timeline-year{

width:80px;
height:80px;

background:#1f2937;

color:white;

border-radius:50%;

display:flex;
align-items:center;
justify-content:center;

font-weight:700;
font-size:18px;

flex-shrink:0;

box-shadow:0 5px 15px rgba(0,0,0,0.2);

}

/* Content Card */

.timeline-content{

background:white;

padding:25px 30px;

border-radius:12px;

box-shadow:0 8px 20px rgba(0,0,0,0.08);

flex:1;

transition:0.3s;

}

/* Hover effect */

.timeline-content:hover{

transform:translateY(-5px);
box-shadow:0 12px 30px rgba(0,0,0,0.15);

}

.timeline-content h3{

margin:0;
font-size:22px;

color:#123a75;

}

.timeline-content p{

margin-top:8px;

font-size:16px;
color:#555;

}

/* Responsive */

@media(max-width:768px){

.timeline::before{
left:40px;
}

.timeline-year{
width:60px;
height:60px;
font-size:16px;
}

}

/* Invited Talks Page Banner */

.talks-hero{
background:none;
background-color: #1f1f1f;
color:white;
text-align:center;
padding:100px 20px 50px;
background-image: url(images/awards.png);
  background-repeat:no-repeat;
background-position:center;
background-size:100% auto;
background-size:cover; 
}

.talks-hero h1{
font-size:44px;
font-weight:700;
margin-bottom:15px;
}

.talks-hero p{
font-size:18px;
max-width:750px;
margin:auto;
color:#291dd4;
line-height:1.6;
}
/* Academic Credentials banner ONLY */

.page-banner.credentials-banner{
    background: linear-gradient(135deg,#2b2b2b,#1f1f1f);
    color:white;
    text-align:center;
    padding:80px 20px 0px;

    background-image: url(images/rec.png);
  background-repeat:no-repeat;
background-position:center;
background-size:100% auto;
background-size:cover; 
}

.page-banner.credentials-banner h1{
    font-size:42px;
    margin-bottom:12px;
}

.page-banner.credentials-banner p{
    font-size:18px;
    max-width:700px;
    margin:auto;
    color:#e5e5e5;
}


.page-banner{

background:linear-gradient(135deg,#2b2b2b,#1f1f1f);

color:white;

text-align:center;

padding:150px 0px 50px;


}

.page-banner h1{

font-size:44px;

margin-bottom:10px;

}

.page-banner p{

max-width:750px;

margin:auto;

color:#e5e5e5;

font-size:18px;

}




/* ================================= */
/* HERO BANNER (Invited Talks Page)  */
/* ================================= */


.container{
max-width:1400px;
margin:auto;
padding:60px 40px;
}


.year-buttons{
display:flex;
flex-wrap:wrap;
justify-content:center;
gap:12px;
margin:40px auto;
max-width:900px;
}

.year-btn{
padding:8px 18px;
border-radius:20px;
border:none;
background:#0a2b66;
color:white;
cursor:pointer;
font-size:14px;
font-weight:500;
transition:0.25s;
}

.year-btn:hover{
background:#163a8a;
transform:translateY(-2px);
}

.year-btn.active{
background:#4f6fff;
}


.grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
gap:25px;
max-width:1300px;
margin:auto;
}

.talk-card{
background:#ffffff;
padding:32px;
border-radius:16px;

box-shadow:
0 10px 25px rgba(0,0,0,0.08);

transition:all 0.25s ease;

position:relative;
}

.talk-card:hover{

transform:translateY(-8px);

box-shadow:
0 20px 45px rgba(0,0,0,0.15);

}


.talk-number{

font-size:22px;
font-weight:700;

color:#4f6fff;

margin-bottom:12px;

letter-spacing:0.5px;

}

.talk-text{

font-size:16px;

line-height:1.7;

color:#333;

}

.talks-container{
max-width:1400px;
margin:80px auto;
padding:0 60px;
}

.talk-card::before{

content:"";

position:absolute;

left:0;
top:0;

height:100%;
width:4px;

background:linear-gradient(
180deg,
#4f6fff,
#7c8cff
);

border-radius:4px 0 0 4px;

}

.year-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(120px,1fr));
gap:14px;
max-width:1000px;
margin:60px auto;
}

.year-grid button{
padding:12px 18px;
border:none;
border-radius:8px;
background:#1f5fbf;
color:white;
font-size:16px;
cursor:pointer;
transition:0.25s;
}

.year-grid button:hover{
background:#0f3f88;
transform:translateY(-2px);
}

.year-grid button.active{
background:#4a7dff;
}

/* Gallery Page Banner Only */

.page-banner.gallery-banner{

background: linear-gradient(135deg,#1f1f1f,#2d2d2d);

color: white;

text-align: center;

padding:80px 20px 0px;
background-image: url(images/gallery.png);
 background-repeat:no-repeat;
background-position:center;
background-size:100% auto;
background-size:cover; 
}

.page-banner.gallery-banner h1{

font-size:44px;

font-weight:700;

margin-bottom:15px;

letter-spacing:1px;

}

.page-banner.gallery-banner p{

font-size:18px;

max-width:700px;

margin:auto;

line-height:1.6;

color:#e0e0e0;

}
/* Section */

.gallery-section{
padding:30px 8%;
margin:0;
background:#f6f8fc;
}

/* Headings */

.gallery-section h2{
text-align:center;
margin:0 0 25px 0;
font-size:34px;
margin-bottom:40px;
color:#222;
padding: 0px 0px;
}

/* Carousel layout */

.carousel{
display:flex;
align-items:center;
justify-content:center;
gap:20px;
max-width:1200px;
margin:auto;
}

/* Image window */

.carousel-window{
overflow:hidden;
width:100%;
border-radius:14px;
}

/* Track */

.carousel-track{
display:flex;
transition:transform 0.5s ease;
}

/* Images */

.carousel-track img{
min-width:100%;
height:auto;            /* IMPORTANT: prevents cropping */
object-fit:contain;     /* show full image */
border-radius:14px;
}

/* Arrows */

.arrow{
background:#3b2fa0;
color:white;
border:none;
font-size:28px;
width:50px;
height:50px;
border-radius:50%;
cursor:pointer;
flex-shrink:0;
display:flex;
align-items:center;
justify-content:center;
line-height:1;
text-align:center;
padding:0;
}

.arrow:hover{
background:#2d2480;
}

/* Dots */

.dots{
text-align:center;
margin-top:15px;
}

.dots span{
height:10px;
width:10px;
margin:5px;
display:inline-block;
background:#bbb;
border-radius:50%;
cursor:pointer;
}

.dots span.active{
background:#333;
}



/* ============================== */
/* Research Areas */
/* ============================== */

.research-areas{
padding:120px 10%;
background:#ffffff;
text-align:center;
margin-top:-80px;
}

.research-title{
font-size:42px;
font-weight:600;
margin-bottom:60px;
color:#3d464d;
}

/* Tags container */

.research-tags{
display:flex;
flex-wrap:wrap;
justify-content:center;
gap:18px;
max-width:900px;
margin:auto;
}

/* Tag style */

.tag{
padding:14px 28px;
border-radius:12px;
font-size:14px;
letter-spacing:1px;
font-weight:600;
cursor:pointer;
transition:all 0.3s ease;
color:white;
}

/* Colors */

.tag.green{
background:#2ecc71;
}

.tag.red{
background:#e74c3c;
}

.tag.yellow{
background:#f1c40f;
color:#333;
}

/* Hover animation */

.tag:hover{
transform:translateY(-4px) scale(1.05);
box-shadow:0 8px 20px rgba(0,0,0,0.15);
}

/* Button */

.research-btn{
display:inline-block;
margin-top:40px;
padding:14px 34px;
background:#3c4650;
color:white;
border-radius:10px;
text-decoration:none;
font-weight:600;
letter-spacing:1px;
transition:all 0.3s ease;
margin-bottom: 100px;
}

.research-btn:hover{
background:#1f2a34;
transform:translateY(-3px);
}

.tag{
opacity:0;
animation:fadeUp 0.7s forwards;
}

.tag:nth-child(1){animation-delay:0.1s;}
.tag:nth-child(2){animation-delay:0.2s;}
.tag:nth-child(3){animation-delay:0.3s;}
.tag:nth-child(4){animation-delay:0.4s;}
.tag:nth-child(5){animation-delay:0.5s;}

@keyframes fadeUp{
from{
opacity:0;
transform:translateY(20px);
}
to{
opacity:1;
transform:translateY(0);
}
}



/* ===================== */
/* Alumni Tabs */
/* ===================== */

.alumni-tabs{

display:flex;
justify-content:center;
gap:20px;

margin:40px 0;
margin-bottom: -80px;
margin-top: -30px;
}

.tab-btn{

padding:12px 30px;

border:none;
border-radius:8px;
width:200px;

background:#e0e0e0;

font-size:16px;
font-weight:600;

cursor:pointer;

transition:0.3s;
}

.tab-btn:hover{
background:#444;
color:white;
}

.tab-btn.active{
background:#2c3e50;
color:white;
}

/* ================================= */
/* Members Page                      */
/* ================================= */

.members-page .team-heading {
  position: relative;
}

.members-page .team-grid-vertical {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.members-page .team-card-vertical {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  overflow: hidden;
}

.members-page .member-photo-container {
  min-width: 0;
  background: #f8f9fa;
}

.members-page .member-photo-container img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center top;
}

.members-page .member-details-vertical {
  min-width: 0;
  padding: 28px 30px;
}

.members-page .member-details-vertical h3,
.members-page .member-details-vertical h4,
.members-page .member-details-vertical p,
.members-page .member-details-vertical li,
.members-page .member-details-vertical a,
.members-page .bio {
  overflow-wrap: anywhere;
}

.members-page .research-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.members-page .about-cards {
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-left: 0;
}

.members-page .about-card-link {
  width: min(100%, 280px);
}

.members-page .about-card {
  width: 100%;
  margin: 0;
}

@media (max-width: 1100px) {
  .members-page .team-card-vertical {
    grid-template-columns: minmax(200px, 240px) minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .members-page .team-section .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .members-page .team-card-vertical {
    grid-template-columns: 1fr;
  }

  .members-page .member-photo-container {
    max-height: 320px;
  }

  .members-page .member-photo-container img {
    aspect-ratio: 4 / 3;
    height: auto;
    min-height: 0;
  }

  .members-page .member-details-vertical {
    padding: 20px 18px;
  }

  .members-page .social-links {
    gap: 14px;
    flex-wrap: wrap;
  }
}

/* ================================= */
/* Responsive Layout System          */
/* ================================= */

html {
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
}

img,
video,
canvas,
iframe {
  max-width: 100%;
}

.container {
  width: min(100%, 1400px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

@media (max-width: 1100px) {
  .navbar {
    width: calc(100% - 32px);
    padding: 14px 22px;
    border-radius: 28px;
  }

  .nav-links {
    gap: 18px;
    flex-wrap: wrap;
  }

  .about-cards,
  .engagement-container,
  .honor-container,
  .pi-container,
  .alumni-card {
    gap: 24px;
  }

  .timeline-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .timeline-row.bottom {
    grid-template-columns: repeat(2, 1fr);
    margin-left: 0;
    margin-bottom: 0;
  }

  .member-photo-container {
    flex-basis: 240px;
  }

  .talks-container,
  .gallery-section,
  .research-areas,
  .alumni-section {
    padding-left: 24px;
    padding-right: 24px;
  }

  .narahari-section {
    width: auto;
    margin-left: 0;
    margin-right: 0;
    padding-left: 20px;
    padding-right: 20px;
  }

  .narahari-container h2 {
    white-space: normal;
  }
}

@media (max-width: 900px) {
  .navbar {
    position: sticky;
    top: 10px;
    width: calc(100% - 20px);
    padding: 14px 16px;
    border-radius: 22px;
  }

  .nav-container {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
  }

  .nav-logo {
    justify-content: flex-start;
    text-align: left;
    min-width: 0;
  }

  .nav-logo span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    grid-column: 1 / -1;
    display: none;
    position: relative;
    z-index: 10000;
    width: 100%;
    margin-top: 4px;
    padding: 10px;
    border-radius: 16px;
    background: rgba(4, 65, 83, 0.96);
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  }

  .navbar:not(.nav-open) .nav-links {
    display: none;
  }

  .navbar.nav-open .nav-links {
    display: flex;
    visibility: visible;
    opacity: 1;
  }

  .nav-links a,
  .dropbtn {
    width: 100%;
    min-height: 44px;
    height: auto;
    padding: 10px 12px;
    border-radius: 10px;
    justify-content: flex-start;
    font-size: 0.95rem;
    line-height: 1.3;
    background: transparent;
  }

  .nav-links a b,
  .dropbtn b,
  .dropdown-content a b {
    display: inline-block;
    color: inherit;
    font-size: inherit;
    line-height: inherit;
    font-weight: 700;
    opacity: 1;
    visibility: visible;
    white-space: normal;
  }

  .dropdown {
    display: block;
    width: 100%;
    height: auto;
  }

  .dropdown-content {
    position: static;
    display: none;
    min-width: 0;
    width: 100%;
    margin-top: 6px;
    padding: 6px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.96);
    opacity: 1;
    transform: none;
    pointer-events: auto;
    box-shadow: none;
  }

  .dropdown.open .dropdown-content,
  .dropdown:focus-within .dropdown-content {
    display: block;
  }

  .dropdown-content a {
    min-height: 40px;
    padding: 10px 12px;
    border-radius: 8px;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .page-banner,
  .page-banner.credentials-banner,
  .page-banner.gallery-banner,
  .page-banner.events-banner,
  .awards-page .page-banner,
  .research-page .page-banner,
  .talks-hero,
  .contact-banner,
  .team-hero,
  .alumni-hero {
    padding-left: 20px;
    padding-right: 20px;
  }

  .page-banner,
  .talks-hero,
  .alumni-hero {
    padding-top: 120px;
  }

  .page-banner h1,
  .page-banner.credentials-banner h1,
  .page-banner.gallery-banner h1,
  .talks-hero h1,
  .alumni-hero h1,
  .contact-banner h1,
  .team-hero h1,
  .research-title,
  .timeline-title,
  .vision-overlay h2 {
    font-size: clamp(2rem, 6vw, 2.8rem);
  }

  .page-banner p,
  .talks-hero p,
  .contact-banner p,
  .alumni-hero p,
  .vision-overlay p {
    font-size: 1rem;
  }

  .about-cards,
  .engagement-container,
  .honor-container,
  .pi-container,
  .alumni-card {
    flex-direction: column;
    align-items: stretch;
  }

  .about-cards {
    margin-left: 0;
  }

  .about-card,
  .member-photo-container,
  .pi-photo,
  .engagement-left,
  .engagement-right {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .engagement-section {
    margin-top: 0;
  }

  .engagement-right {
    margin-top: 0;
  }

  .whats-new {
    height: auto;
    max-height: 320px;
  }

  .grid,
  .events-grid,
  .recognition-grid,
  .database-grid,
  .alumni-grid,
  .card-grid,
  .form-grid,
  .join-grid {
    grid-template-columns: 1fr;
  }

  .timeline-row,
  .timeline-row.bottom {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 0;
  }

  .timeline-line,
  .timeline-card::after,
  .dot {
    display: none;
  }

  .timeline-title {
    margin: 24px auto 32px;
    padding: 10px 18px;
  }

  .timeline-card,
  .timeline-content,
  .talk-card,
  .db-card,
  .recognition-card,
  .event-card,
  .research-card,
  .join-card,
  .team-card-vertical,
  .alumni-card {
    padding: 20px;
  }

  .timeline-item {
    align-items: stretch;
    gap: 16px;
  }

  .timeline-year {
    width: 60px;
    height: 60px;
    font-size: 14px;
    margin-right: 0;
  }

  .year-grid,
  .year-buttons {
    grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
    gap: 10px;
    margin: 32px auto;
  }

  .year-grid button,
  .year-btn {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
  }

  .talks-container,
  .gallery-section,
  .research-areas,
  .alumni-section,
  .database-section,
  .events-section,
  .recognition-section,
  .newsletter-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .talks-container {
    margin: 48px auto;
    padding-top: 0;
    padding-bottom: 0;
  }

  .carousel {
    gap: 12px;
  }

  .arrow {
    width: 42px;
    height: 42px;
    font-size: 24px;
  }

  .research-tags {
    justify-content: center;
  }

  .tag {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }

  .footer-grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}


@media (max-width: 600px) {
  .navbar {
    top: 8px;
    width: calc(100% - 12px);
    padding: 12px;
    border-radius: 18px;
  }

  .nav-logo {
    font-size: 1.05rem;
    gap: 10px;
  }

  .nav-logo img {
    height: 32px;
  }

  .nav-links {
    padding: 8px;
    max-height: calc(100vh - 96px);
  }

  .nav-links a,
  .dropbtn,
  .dropdown-content a {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
  }

  .page-banner,
  .page-banner.credentials-banner,
  .page-banner.gallery-banner,
  .page-banner.events-banner,
  .awards-page .page-banner,
  .research-page .page-banner,
  .talks-hero,
  .contact-banner,
  .team-hero,
  .alumni-hero {
    padding-top: 108px;
    padding-bottom: 40px;
  }

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .about-section,
  .recognition-section,
  .events-section,
  .database-section,
  .research-areas,
  .alumni-section,
  .gallery-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .narahari-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .about-text,
  .talk-text,
  .publication-list p,
  .recognition-card,
  .event-content p,
  .research-card p,
  .honor-text p {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .about-card,
  .recognition-card,
  .event-card,
  .db-card,
  .talk-card,
  .research-card,
  .join-card,
  .team-card-vertical,
  .alumni-card {
    padding: 18px;
    border-radius: 14px;
  }

  .team-card-vertical,
  .alumni-card {
    gap: 16px;
  }

  .member-photo-container {
    flex-basis: auto;
  }

  .member-details-vertical {
    padding: 20px;
  }

  .year-grid,
  .year-buttons {
    margin: 24px auto;
  }

  .carousel {
    flex-direction: column;
  }

  .carousel-window {
    order: 1;
  }

  .arrow {
    order: 2;
  }

  .alumni-tabs {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 0;
  }

  .tab-btn {
    width: min(100%, 280px);
  }

  .social-links,
  .fp-connect-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 20px;
  }
}

@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
  }

  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    transform: none;
    padding: 12px 16px;
    border-radius: 0;
    z-index: 10000;
    box-sizing: border-box;
  }

  .nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    position: relative;
  }

  .nav-logo {
    min-width: 0;
    flex: 1 1 auto;
  }

  .nav-logo span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-toggle,
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    flex: 0 0 auto;
    z-index: 10002;
  }

  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    margin: 0;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    background: #044153;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
    max-height: calc(100vh - 68px);
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s ease;
  }

  .navbar:not(.nav-open) .nav-links {
    display: flex;
  }

  .navbar.nav-open .nav-links {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a,
  .dropbtn,
  .dropdown-content a {
    width: 100%;
    min-height: 44px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
  }

  .dropdown {
    position: static;
    display: block;
    width: 100%;
    height: auto;
  }

  .dropdown-content {
    position: static;
    display: none;
    width: 100%;
    min-width: 0;
    margin-top: 6px;
    padding: 6px;
    border-radius: 12px;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    box-shadow: none;
    box-sizing: border-box;
  }

  .dropdown.open .dropdown-content,
  .dropdown:focus-within .dropdown-content {
    display: block;
  }
}

@media (max-width: 768px) {
  .members-page,
  .members-page body {
    overflow-x: hidden;
  }

  .members-page .team-section .container,
  .members-page .team-grid-vertical {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .members-page .team-grid-vertical {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .members-page .team-card-vertical {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 0;
    overflow: hidden;
    box-sizing: border-box;
  }

  .members-page .member-photo-container {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    max-height: none;
    overflow: hidden;
    box-sizing: border-box;
  }

  .members-page .member-photo-container img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center top;
  }

  .members-page .member-details-vertical {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 18px 16px 20px;
    box-sizing: border-box;
    overflow: hidden;
  }

  .members-page .member-details-vertical h3,
  .members-page .member-details-vertical h4,
  .members-page .member-details-vertical h5,
  .members-page .member-details-vertical h6,
  .members-page .member-details-vertical p,
  .members-page .member-details-vertical li,
  .members-page .member-details-vertical a,
  .members-page .member-details-vertical .bio {
    max-width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .members-page .research-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .members-page .research-tags .tag,
  .members-page .tag {
    width: auto;
    max-width: 100%;
    min-width: 0;
    flex: 0 1 auto;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    box-sizing: border-box;
  }

  .members-page .social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .team-section {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .container {
    width: 100%;
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
  }

  .pi-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    max-width: 100%;
    margin: 0 auto 16px;
    padding: 0;
  }

  .pi-photo {
    width: 100%;
    max-width: 320px;
    flex: 0 0 auto;
    margin: 0 auto;
  }

  .pi-photo img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .pi-info {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    padding-left: 12px;
    padding-right: 12px;
    box-sizing: border-box;
    line-height: 1.55;
  }

  .pi-info h2,
  .pi-info h3,
  .pi-info h4,
  .pi-info p,
  .pi-info ul,
  .pi-info li {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .about-text {
    width: 100%;
    max-width: 640px;
    margin: 12px auto 0;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
    line-height: 1.75;
    text-align: left;
  }
}

@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
  }

  .container {
    width: 100%;
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
  }

  .about-cards {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    align-items: stretch;
    gap: 16px;
    width: 100%;
    max-width: 100%;
    margin: 24px auto 0;
    margin-left: auto;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
  }

  .about-card-link {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  .about-card {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
  }
}

@media (max-width: 768px) {
  .vision-section {
    min-height: 72vh;
    height: auto;
    padding-top: 0;
    padding-bottom: 20px;
    padding-left: 16px;
    padding-right: 16px;
    align-items: center;
  }

  .vision-overlay p,
  #visionText p {
    margin-top: 0 !important;
    font-size: clamp(15px, 4vw, 18px) !important;
    line-height: 1.55 !important;
    max-width: 100% !important;
  }

  #neuralCanvas {
    width: 100%;
    height: 100%;
  }

  .main-footer {
    padding: 64px 0 28px;
  }

  .main-footer .container {
    width: 100%;
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
  }

  .footer-grid {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
  }

  .footer-about,
  .footer-links,
  .footer-contact {
    width: 100%;
    max-width: 420px;
    min-width: 0;
    margin: 0 auto;
    text-align: center;
  }

  .footer-about p,
  .footer-links ul,
  .footer-contact p,
  .footer-bottom p {
    max-width: 34ch;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-about p,
  .footer-contact p,
  .footer-links a,
  .footer-bottom {
    font-size: clamp(0.92rem, 2.8vw, 1rem);
    line-height: 1.7;
  }

  .footer-links ul {
    display: block;
    padding: 0;
    text-align: center;
  }

  .footer-contact p {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .carousel {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .carousel-window {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .carousel-track img,
  .slide {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
  }

  .arrow,
  .prev,
  .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    text-align: center;
    padding: 0;
  }

  .arrow.left,
  .prev {
    left: 12px;
  }

  .arrow.right,
  .next {
    right: 12px;
  }
}

@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
  }

  .vision-section,
  .research-areas,
  .about-pi,
  .narahari-section,
  .engagement-section {
    padding-left: 18px;
    padding-right: 18px;
    box-sizing: border-box;
  }

  .about-pi .container,
  .vision-overlay,
  .about-text {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .about-text,
  .vision-overlay p {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .members-page .team-hero,
  .members-page .team-section,
  .members-page .narahari-section,
  .members-page .team-section .container,
  .members-page .member-details-vertical,
  .members-page .about-text,
  .members-page .pi-info {
    padding-left: 18px;
    padding-right: 18px;
    box-sizing: border-box;
  }

  .members-page .member-details-vertical,
  .members-page .about-text,
  .members-page .pi-info {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .alumni-page .alumni-hero,
  .alumni-page .alumni-tabs,
  .alumni-page .alumni-section,
  .alumni-page .alumni-section .container {
    padding-left: 18px;
    padding-right: 18px;
    box-sizing: border-box;
  }

  .awards-page .page-banner,
  .awards-page main,
  .awards-page .timeline-content {
    box-sizing: border-box;
  }

  .awards-page .page-banner,
  .awards-page main {
    padding-left: 18px;
    padding-right: 18px;
  }

  .gallery-page .page-banner.gallery-banner,
  .gallery-page .gallery-section,
  .gallery-page .gallery-section .container {
    padding-left: 18px;
    padding-right: 18px;
    box-sizing: border-box;
  }

  .page-banner.events-banner,
  .events-section,
  .past-events-section,
  .newsletter-section,
  .database-section,
  .recognition-section,
  .contact-banner,
  .join-section,
  .talks-hero,
  .talks-container,
  .tools-hero,
  .research-page .page-banner,
  .page-banner.credentials-banner {
    padding-left: 18px;
    padding-right: 18px;
    box-sizing: border-box;
  }

  .publication-list,
  .publication-list p,
  .talk-text,
  .talk-card,
  .event-card,
  .event-content p,
  .recognition-card,
  .recognition-card p,
  .db-card,
  .research-card,
  .research-card p,
  .contact-info,
  .contact-form,
  .footer-about p,
  .footer-contact p,
  .footer-bottom {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}

@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
  }

  body {
    width: 100%;
  }

  .container,
  .main-content,
  main.container,
  section .container,
  footer .container {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 18px !important;
    padding-right: 18px !important;
    box-sizing: border-box;
  }

  .page-banner,
  .page-banner.credentials-banner,
  .page-banner.gallery-banner,
  .page-banner.events-banner,
  .team-section,
  .gallery-section,
  .publication-section,
  .research-areas,
  .vision-section,
  .narahari-section,
  .engagement-section,
  .events-section,
  .past-events-section,
  .newsletter-section,
  .database-section,
  .recognition-section,
  .alumni-section,
  .alumni-tabs,
  .contact-banner,
  .join-section,
  .talks-container,
  .talks-hero,
  .tools-hero,
  .main-footer {
    padding-left: 18px !important;
    padding-right: 18px !important;
    box-sizing: border-box;
    max-width: 100%;
  }

  .footer-grid {
    padding-left: 18px !important;
    padding-right: 18px !important;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  :root {
    --mobile-gutter: 16px;
  }

  html,
  body {
    overflow-x: hidden !important;
  }

  body > main,
  body > section,
  body > footer,
  body > .page-banner,
  body > .contact-banner,
  body > .team-hero,
  body > .alumni-hero,
  body > .talks-hero,
  body > .tools-hero,
  body > .vision-section,
  body > .research-areas,
  body > .gallery-section,
  body > .team-section,
  body > .events-section,
  body > .recognition-section,
  body > .database-section,
  body > .newsletter-section,
  body > .narahari-section,
  body > .join-section,
  body > .engagement-section,
  body > .alumni-section,
  body > .alumni-tabs {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-left: var(--mobile-gutter) !important;
    padding-right: var(--mobile-gutter) !important;
  }

  .container,
  [class$="-container"],
  [class*="-container "],
  .main-content,
  .footer-grid,
  .vision-overlay,
  .about-text,
  .publication-list,
  .contact-info,
  .contact-form,
  .pi-info,
  .member-details-vertical,
  .timeline-content {
    width: 100% !important;
    max-width: calc(100% - (var(--mobile-gutter) * 2)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
  }
}

@media (max-width: 768px) {
  section,
  .team-section,
  .about-pi {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  .team-heading,
  .team-section h2,
  .timeline-title {
    margin-top: 0 !important;
    margin-bottom: 16px !important;
  }

  .about-pi .container,
  .team-section .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .pi-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
    max-width: 640px;
    margin: 0 auto 16px !important;
    padding: 0 !important;
  }

  .pi-photo {
    width: 100% !important;
    max-width: 320px !important;
    flex: 0 0 auto !important;
    margin: 0 auto !important;
  }

  .pi-photo img {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }

  .pi-info {
    width: 100% !important;
    max-width: 640px !important;
    margin: 0 auto !important;
    padding: 0 14px !important;
    box-sizing: border-box;
    line-height: 1.6;
    text-align: left;
  }

  .pi-info h2,
  .pi-info h3,
  .pi-info h4,
  .pi-info p,
  .pi-info ul,
  .pi-info li {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .timeline {
    gap: 18px !important;
    margin-top: 12px !important;
  }

  .timeline-card,
  .team-card-vertical,
  .recognition-card,
  .event-card,
  .db-card,
  .talk-card,
  .join-card,
  .alumni-card {
    padding: 16px !important;
    margin-top: 0 !important;
    margin-bottom: 16px !important;
  }
}

@media (max-width: 768px) {
  .members-page .team-section,
  .members-page .narahari-section,
  .members-page .academic-timeline {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  .members-page .team-heading,
  .members-page .timeline-title {
    margin-top: 0 !important;
    margin-bottom: 12px !important;
  }

  .members-page .pi-container {
    gap: 8px !important;
    margin: 0 auto 4px !important;
    max-width: 420px !important;
  }

  .members-page .pi-photo {
    max-width: 480px !important;
  }

  .members-page .pi-info {
    font-size: 0.68rem !important;
    line-height: 1.18 !important;
  }

  .members-page .pi-info h3 {
    font-size: 0.74rem !important;
    line-height: 1.12 !important;
    margin-bottom: 3px !important;
  }

  .members-page .pi-info p,
  .members-page .pi-info ul,
  .members-page .pi-info li,
  .members-page .pi-info .pi-details {
    font-size: 0.6rem !important;
    line-height: 1.12 !important;
  }

  .members-page .about-text {
    max-width: 420px !important;
    margin: 0 auto 6px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    line-height: 1.6 !important;
    text-align: left !important;
  }

  .members-page .narahari-section {
    padding-top: 4px !important;
  }

  .members-page .academic-timeline {
    margin-top: 0 !important;
    padding-top: 4px !important;
  }

  .members-page .timeline-title {
    margin-bottom: 8px !important;
  }

  .members-page .timeline {
    gap: 10px !important;
    margin-top: 4px !important;
  }

  .members-page .timeline-card {
    margin-bottom: 8px !important;
    padding: 12px !important;
  }

  .members-page .team-section + .team-section {
    padding-top: 0 !important;
  }

  .members-page .about-cards {
    margin-top: 12px !important;
    margin-bottom: 4px !important;
    gap: 12px !important;
  }

  .members-page .about-card {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 14px 16px !important;
  }
}

@media (max-width: 768px) {
  .about-pi {
    padding: 12px 10px !important;
    margin-top: 0 !important;
  }

  .about-pi .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    box-sizing: border-box;
  }

  .pi-container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto 6px !important;
    gap: 8px !important;
    padding: 0 !important;
  }

  .pi-photo {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
  }

  .pi-photo img {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }

  .pi-info {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 10px !important;
    box-sizing: border-box;
  }

  .about-text {
    width: 100% !important;
    max-width: 100% !important;
    margin: 4px auto 0 !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    box-sizing: border-box;
    text-align: left !important;
  }
}

@media (max-width: 768px) {
  .about-pi {
    padding: 8px !important;
  }

  .pi-container {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .pi-info {
    width: 100% !important;
    padding: 8px !important;
    margin-bottom: 0 !important;
  }

  .pi-info p,
  .pi-info ul,
  .pi-info li,
  .pi-info h2,
  .pi-info h3,
  .pi-info h4 {
    margin-bottom: 2px !important;
  }

  .about-text {
    margin-top: -4px !important;
    padding: 8px !important;
  }

  .pi-photo img {
    width: 100% !important;
  }
}

@media (max-width: 768px) {
  .members-page .team-section {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }

  .members-page .team-section .container {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }

  .members-page .pi-container {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  .members-page .pi-info {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  .members-page .pi-info > *:last-child {
    margin-bottom: 0 !important;
  }

  .members-page .about-text {
    margin-top: 20px !important;
    padding-top: 0 !important;
  }
}

@media (max-width: 768px) {
  .academic-timeline {
    padding-top: 16px !important;
    padding-bottom: 16px !important;
  }

  .timeline-title {
    margin-bottom: 18px !important;
  }

  .timeline {
    margin-top: 14px !important;
  }

  .timeline-card {
    margin-top: 6px !important;
  }
}

@media (max-width: 768px) {
  .members-page .academic-timeline {
    padding-top: 20px !important;
    padding-bottom: 16px !important;
  }

  .members-page .academic-timeline .timeline-title {
    margin: 0 auto 24px !important;
    padding: 10px 16px !important;
  }

  .members-page .academic-timeline .timeline {
    margin-top: 24px !important;
  }

  .members-page .academic-timeline .timeline-row:first-of-type {
    margin-top: 18px !important;
  }

  .members-page .academic-timeline .timeline-card {
    margin-top: 8px !important;
  }
}

@media (max-width: 768px) {
  .page-banner,
  .page-banner.credentials-banner,
  .page-banner.gallery-banner,
  .page-banner.events-banner,
  .contact-banner,
  .team-hero,
  .alumni-hero,
  .talks-hero,
  .tools-hero {
    width: 100%;
    min-height: 260px !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: cover !important;
    padding-top: 112px !important;
    padding-bottom: 44px !important;
    margin-bottom: 20px !important;
    overflow: hidden;
    text-align: center !important;
    box-sizing: border-box;
  }

  .page-banner .container,
  .contact-banner .container,
  .team-hero .container,
  .alumni-hero .container,
  .talks-hero .container,
  .tools-hero .container {
    width: 100%;
    max-width: 100%;
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box;
    text-align: center !important;
  }

  .page-banner h1,
  .page-banner p,
  .contact-banner h1,
  .contact-banner p,
  .team-hero h1,
  .team-hero p,
  .alumni-hero h1,
  .alumni-hero p,
  .talks-hero h1,
  .talks-hero p,
  .tools-hero h1,
  .tools-hero p {
    max-width: 92%;
    margin-left: auto;
    margin-right: auto;
    text-align: center !important;
  }

  .page-banner h1,
  .contact-banner h1,
  .team-hero h1,
  .alumni-hero h1,
  .talks-hero h1,
  .tools-hero h1 {
    margin-bottom: 10px !important;
  }

  .page-banner p,
  .contact-banner p,
  .team-hero p,
  .alumni-hero p,
  .talks-hero p,
  .tools-hero p {
    font-size: 0.98rem !important;
    line-height: 1.5 !important;
  }
}

@media (max-width: 768px) {
  .page-banner,
  .banner,
  .awards-banner,
  .hero-banner,
  .page-banner.credentials-banner,
  .page-banner.gallery-banner,
  .page-banner.events-banner {
    min-height: 260px !important;
    padding: 0 0 40px !important;
    margin-bottom: 20px !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: cover !important;
    text-align: center !important;
    box-sizing: border-box;
  }

  .page-banner .container,
  .banner-content,
  .awards-banner .container,
  .hero-banner .container {
    width: 100%;
    max-width: 100%;
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box;
    text-align: center !important;
  }

  .page-banner h1,
  .banner h1,
  .banner-content h1,
  .awards-banner h1,
  .hero-banner h1 {
    max-width: 92%;
    margin-left: auto;
    margin-right: auto;
    text-align: center !important;
    margin-top: 80px !important;
    margin-bottom: 15px !important;
  }

  .page-banner p,
  .banner p,
  .banner-content p,
  .awards-banner p,
  .hero-banner p {
    max-width: 92%;
    margin-left: auto;
    margin-right: auto;
    text-align: center !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
  }
}

@media (max-width: 768px) {
  .page-banner {
    min-height: 340px;
    padding: 40px 15px 40px;
    background-size: cover;
    background-position: center top;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
  }

  .page-banner h1 {
    font-size: 26px;
  }

  .page-banner p {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .page-banner .container {
    padding-top: 72px !important;
    margin-top: 0 !important;
  }

  .page-banner h1 {
    margin-top: 0 !important;
    margin-bottom: 10px !important;
  }

  .page-banner p {
    margin-top: 0 !important;
  }
}

@media (max-width: 768px) {
  .awards-page .page-banner p {
    text-align: center !important;
    margin: 0 auto !important;
    max-width: 92% !important;
  }

  .awards-page .page-banner h1 {
    margin-top: 0 !important;
    margin-bottom: 10px !important;
  }
}

@media (max-width: 768px) {
  .page-banner.events-banner {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 320px !important;
    padding: 80px 16px 32px !important;
    text-align: center !important;
  }

  .page-banner.events-banner .container {
    width: 100%;
    max-width: 100%;
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: center !important;
  }

  .page-banner.events-banner h1 {
    margin: 0 0 10px !important;
    text-align: center !important;
  }

  .page-banner.events-banner p {
    margin: 0 auto !important;
    max-width: 92% !important;
    text-align: center !important;
    line-height: 1.5 !important;
  }
}

@media (max-width: 768px) {
  .page-banner.events-banner .container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .page-banner.events-banner h1 {
    display: block !important;
    width: 100% !important;
  }

  .page-banner.events-banner p {
    display: block !important;
    width: 100% !important;
  }
}

@media (max-width:768px) {
  .page-banner {
    min-height:260px !important;
    padding:60px 15px !important;
    background-size:cover !important;
    background-position:center top !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    text-align:center !important;
  }

  .page-banner h1 {
    font-size:26px !important;
  }

  .page-banner p {
    font-size:14px !important;
  }
}

@media (max-width:768px) {
  .page-banner,
  .page-banner.events-banner,
  .page-banner.gallery-banner,
  .page-banner.credentials-banner {
    min-height: 280px !important;
    padding: 72px 16px 28px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    box-sizing: border-box;
  }

  .page-banner > h1,
  .page-banner > p,
  .page-banner .container,
  .page-banner .container > h1,
  .page-banner .container > p {
    width: 100% !important;
    max-width: 92% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }

  .page-banner > h1,
  .page-banner .container > h1 {
    margin-top: 0 !important;
    margin-bottom: 10px !important;
    font-size: 26px !important;
  }

  .page-banner > p,
  .page-banner .container > p {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
  }
}

@media (max-width: 768px) {
  .home-banner {
    min-height: 38vh !important;
    padding-top: 110px !important;
    padding-right: 18px !important;
    padding-bottom: 14px !important;
    padding-left: 18px !important;
    margin-bottom: 0 !important;
    align-items: center !important;
  }

  .home-banner__content {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 5px !important;
    margin: 0 !important;
  }

  .vision-section {
    min-height: auto !important;
    height: auto !important;
    padding-top: 14px !important;
    padding-bottom: 20px !important;
    margin-top: 0 !important;
  }

  .vision-overlay,
  #visionText,
  .vision-overlay p,
  #visionText p {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
}

.vision-overlay p,
#visionText p {
  text-align: justify !important;
}

@media (max-width: 768px) {
  .tools-hero,
  .mpds-section,
  .mpds-link {
    margin-bottom: 20px !important;
  }

  .tools-hero h1 {
    font-size: 30px !important;
  }

  .database-section {
    margin-top: 24px !important;
    padding-top: 24px !important;
    height: auto !important;
    min-height: 0 !important;
    position: relative !important;
    clear: both;
  }

  .database-section h2 {
    margin-top: 0 !important;
    margin-bottom: 24px !important;
  }

  .database-section .container,
  .database-grid {
    height: auto !important;
    min-height: 0 !important;
  }
}



body{

font-family: Inter, sans-serif;
background:#f5f5f5;
margin:0;
padding:0;

}


.news-section{
padding:120px 0 72px;
background:
linear-gradient(180deg, #f7fbff 0%, #eef4fb 100%);
}

.news-item{
display:grid;
grid-template-columns:minmax(260px, 320px) minmax(0, 1fr);
gap:28px;
align-items:stretch;
margin:0;
padding:24px;
border-radius:24px;
background:rgba(255,255,255,0.82);
backdrop-filter:blur(8px);
-webkit-backdrop-filter:blur(8px);
border:1px solid rgba(15, 55, 110, 0.08);
box-shadow:0 20px 50px rgba(19, 42, 79, 0.08);
transition:transform 0.28s ease, box-shadow 0.28s ease;
overflow:hidden;
position:relative;
}

.news-item::before{
content:"";
position:absolute;
inset:0 auto 0 0;
width:6px;
background:linear-gradient(180deg, #0f5ec9, #46b0ff);
border-radius:24px 0 0 24px;
}

.news-item:hover{
transform:translateY(-4px);
box-shadow:0 28px 60px rgba(19, 42, 79, 0.14);
}


.news-img img{
width:100%;
height:100%;
min-height:220px;
object-fit:cover;
border-radius:18px;
display:block;
box-shadow:0 14px 30px rgba(15, 41, 84, 0.16);
}


.news-text{
flex:1;
display:flex;
flex-direction:column;
justify-content:center;
padding:8px 4px 8px 0;
}


.news-text h3{
font-size:1.45rem;
font-weight:700;
line-height:1.25;
margin-bottom:14px;
color:#0f2d57;
letter-spacing:-0.02em;
}


.news-text p{
font-size:1rem;
color:#41536d;
line-height:1.8;
max-width:62ch;
}

.news-link{
display:inline-flex;
align-items:center;
justify-content:center;
margin-top:16px;
padding:10px 16px;
border-radius:999px;
background:linear-gradient(135deg, #0f5ec9, #46b0ff);
color:#fff;
font-size:0.92rem;
font-weight:700;
letter-spacing:0.01em;
box-shadow:0 12px 24px rgba(15, 94, 201, 0.22);
transition:transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.news-link:hover{
transform:translateY(-2px);
box-shadow:0 16px 28px rgba(15, 94, 201, 0.28);
opacity:0.96;
}

.news-img:empty,
.news-img:not(:has(img)){
display:none;
}

.news-img img[src=""],
.news-img img:not([src]),
.news-img img[style*="display: none"]{
display:none;
}

.news-item:has(.news-img:empty),
.news-item:has(.news-img:not(:has(img))),
.news-item:has(.news-img img[src=""]),
.news-item:has(.news-img img:not([src])),
.news-item:has(.news-img img[style*="display: none"]) {
grid-template-columns:minmax(0, 1fr);
}

.news-item:has(.news-img:empty) .news-text,
.news-item:has(.news-img:not(:has(img))) .news-text,
.news-item:has(.news-img img[src=""]) .news-text,
.news-item:has(.news-img img:not([src])) .news-text,
.news-item:has(.news-img img[style*="display: none"]) .news-text {
padding-right:0;
}


 .news-section hr{
border:none;
height:1px;
background:linear-gradient(90deg, transparent, rgba(15, 55, 110, 0.16), transparent);
margin:22px 0;
}


/* MOBILE */

@media(max-width:768px){

.news-item{
grid-template-columns:1fr;
gap:18px;
padding:18px;

}

.news-img img{
width:100%;
height:auto;
min-height:0;
aspect-ratio:16 / 10;

}

.news-text{
padding:0;
}

.news-text h3{
font-size:1.12rem;
margin-bottom:10px;
}

.news-text p{
font-size:0.95rem;
line-height:1.7;
}

.news-link{
margin-top:12px;
padding:9px 14px;
font-size:0.88rem;
}

}

/* ============================== */
/* Patent Page                    */
/* ============================== */

.patent-section{
padding:120px 0 84px;
background:
radial-gradient(circle at top left, rgba(70, 176, 255, 0.14), transparent 26%),
linear-gradient(180deg, #f7fbff 0%, #eef4fb 100%);
}

.patent-section .container{
width:min(100%, 1120px);
margin:auto;
padding:0 24px;
}

.patent-title{
max-width:820px;
margin:0 auto 44px;
padding:18px 24px;
border-radius:24px;
background:rgba(255,255,255,0.82);
backdrop-filter:blur(10px);
-webkit-backdrop-filter:blur(10px);
border:1px solid rgba(15, 55, 110, 0.08);
box-shadow:0 20px 50px rgba(19, 42, 79, 0.08);
font-size:clamp(2rem, 4vw, 2.8rem);
font-weight:700;
line-height:1.2;
letter-spacing:-0.03em;
text-align:center;
color:#11315d;
}

.patent-item{
position:relative;
margin:0;
padding:30px 32px 28px;
border-radius:26px;
background:rgba(255,255,255,0.88);
backdrop-filter:blur(8px);
-webkit-backdrop-filter:blur(8px);
border:1px solid rgba(17, 66, 133, 0.08);
box-shadow:0 24px 55px rgba(18, 54, 102, 0.12);
overflow:hidden;
}

.patent-item::before{
content:"";
position:absolute;
inset:0 auto 0 0;
width:7px;
background:linear-gradient(180deg, #0f5ec9, #46b0ff);
border-radius:26px 0 0 26px;
}

.patent-item h3{
margin:0 0 18px;
font-size:1.45rem;
line-height:1.3;
color:#10335f;
letter-spacing:-0.02em;
padding-right:12px;
}

.patent-item p{
margin:0 0 12px;
font-size:1rem;
line-height:1.75;
color:#41536d;
}

.patent-item p b{
color:#0f2d57;
font-weight:700;
}

.patent-section hr{
border:none;
height:1px;
margin:24px 0;
background:linear-gradient(90deg, transparent, rgba(15, 55, 110, 0.18), transparent);
}

@media (max-width: 768px){
  .patent-section{
    padding:104px 0 64px;
  }

  .patent-section .container{
    padding:0 16px;
  }

  .patent-title{
    margin-bottom:28px;
    padding:16px 18px;
    border-radius:20px;
    font-size:1.7rem;
  }

  .patent-item{
    padding:22px 20px 20px;
    border-radius:20px;
  }

  .patent-item h3{
    font-size:1.12rem;
    margin-bottom:14px;
  }

  .patent-item p{
    font-size:0.95rem;
    line-height:1.65;
  }
}

/* ============================== */
/* Patent Page Alt Theme          */
/* ============================== */

.patent-page{
background:#fcfcf8;
}

.patent-page .patent-section{
padding:128px 0 96px;
background:
linear-gradient(180deg, rgba(247, 244, 234, 0.92), rgba(255, 255, 255, 1)),
repeating-linear-gradient(
  135deg,
  rgba(173, 143, 88, 0.06) 0,
  rgba(173, 143, 88, 0.06) 14px,
  transparent 14px,
  transparent 28px
);
}

.patent-page .patent-section .container{
width:min(100%, 1180px);
padding:0 28px;
}

.patent-page .patent-title{
max-width:860px;
margin:0 auto 36px;
padding:0 0 18px;
border:none;
border-radius:0;
background:transparent;
box-shadow:none;
backdrop-filter:none;
-webkit-backdrop-filter:none;
font-size:clamp(2.2rem, 4vw, 3.1rem);
line-height:1.15;
color:#2b2518;
position:relative;
}

.patent-page .patent-title::after{
content:"";
display:block;
width:96px;
height:4px;
margin:18px auto 0;
border-radius:999px;
background:linear-gradient(90deg, #7f5b21, #d0aa63);
}

.patent-page .patent-item{
padding:34px 36px 30px;
border-radius:30px;
background:linear-gradient(180deg, #fffdf7, #fffaf0);
border:1px solid rgba(103, 78, 33, 0.12);
box-shadow:0 18px 40px rgba(84, 62, 24, 0.10);
}

.patent-page .patent-item::before{
width:0;
}

.patent-page .patent-item::after{
content:"Patent";
position:absolute;
top:18px;
right:20px;
padding:7px 12px;
border-radius:999px;
background:rgba(127, 91, 33, 0.1);
color:#7f5b21;
font-size:0.78rem;
font-weight:700;
letter-spacing:0.08em;
text-transform:uppercase;
}

.patent-page .patent-item h3{
margin:0 84px 20px 0;
font-size:1.5rem;
line-height:1.28;
color:#312816;
}

.patent-page .patent-item p{
font-size:1rem;
line-height:1.8;
color:#544733;
}

.patent-page .patent-item p b{
color:#2b2518;
}

.patent-page .patent-section hr{
margin:26px 0;
background:linear-gradient(90deg, transparent, rgba(127, 91, 33, 0.22), transparent);
}

@media (max-width: 768px){
  .patent-page .patent-section{
    padding:108px 0 72px;
  }

  .patent-page .patent-section .container{
    padding:0 16px;
  }

  .patent-page .patent-title{
    margin-bottom:26px;
    font-size:1.8rem;
  }

  .patent-page .patent-item{
    padding:22px 18px 18px;
    border-radius:22px;
  }

  .patent-page .patent-item::after{
    position:static;
    display:inline-flex;
    margin-bottom:12px;
  }

  .patent-page .patent-item h3{
    margin:0 0 14px;
    font-size:1.12rem;
  }

  .patent-page .patent-item p{
    font-size:0.94rem;
    line-height:1.65;
  }
}

/* ============================== */
/* Teaching Page                  */
/* ============================== */

.teaching-page{
background:#f8fbff;
}

.teaching-page .teaching-hero{
display:grid;
grid-template-columns:minmax(320px, 1.15fr) minmax(0, 0.95fr);
align-items:stretch;
gap:0;
max-width:1240px;
margin:120px auto 56px;
padding:0 24px;
}

.teaching-page .hero-img{
width:100%;
height:100%;
min-height:440px;
display:block;
object-fit:cover;
border-radius:28px 0 0 28px;
box-shadow:0 24px 55px rgba(18, 54, 102, 0.14);
}

.teaching-page .teaching-info{
display:flex;
align-items:center;
padding:42px 40px;
background:linear-gradient(180deg, #10335f 0%, #174983 100%);
border-radius:0 28px 28px 0;
box-shadow:0 24px 55px rgba(18, 54, 102, 0.14);
}

.teaching-page .teaching-info p{
margin:0;
font-size:1.08rem;
line-height:1.9;
color:rgba(255,255,255,0.92);
}

.teaching-page .teaching-content{
padding:0 0 90px;
}

.teaching-page .teaching-content .container{
width:min(100%, 1120px);
margin:auto;
padding:0 24px;
}

.teaching-page .course-item{
position:relative;
margin:0 0 24px;
padding:30px 32px 26px;
border-radius:28px;
background:rgba(255,255,255,0.9);
backdrop-filter:blur(8px);
-webkit-backdrop-filter:blur(8px);
border:1px solid rgba(17, 66, 133, 0.08);
box-shadow:0 24px 55px rgba(18, 54, 102, 0.10);
overflow:hidden;
}

.teaching-page .course-item::before{
content:"";
position:absolute;
inset:0 auto 0 0;
width:8px;
background:linear-gradient(180deg, #0f5ec9, #46b0ff);
border-radius:28px 0 0 28px;
}

.teaching-page .course-item h2{
margin:0 0 16px;
font-size:1.7rem;
line-height:1.25;
color:#10335f;
letter-spacing:-0.02em;
}

.teaching-page .course-item p{
margin:0 0 10px;
font-size:1rem;
line-height:1.75;
color:#41536d;
}

.teaching-page .course-item p b{
color:#0f2d57;
font-weight:700;
}

@media (max-width: 768px){
  .teaching-page .teaching-hero{
    grid-template-columns:1fr;
    margin:104px auto 36px;
    padding:0 16px;
  }

  .teaching-page .hero-img{
    min-height:260px;
    border-radius:22px 22px 0 0;
  }

  .teaching-page .teaching-info{
    padding:22px 18px;
    border-radius:0 0 22px 22px;
  }

  .teaching-page .teaching-info p{
    font-size:0.96rem;
    line-height:1.75;
  }

  .teaching-page .teaching-content{
    padding:0 0 64px;
  }

  .teaching-page .teaching-content .container{
    padding: 10px 32px;
  }

  .teaching-page .course-item{
    padding:22px 18px 18px;
    border-radius:22px;
  }

  .teaching-page .course-item h2{
    font-size:1.2rem;
    margin-bottom:12px;
  }

  .teaching-page .course-item p{
    font-size:0.95rem;
    line-height:1.65;
  }
}

/* ============================== */
/* Teaching Page Alt Layout       */
/* ============================== */

.teaching-page{
background:#ffffff;
}

.teaching-page .teaching-hero{
background:#323234;
color:white;
padding:0;
text-align:center;
display:flex;
align-items:center;
justify-content:center;
background-image:url(images/teaching.png);
background-repeat:no-repeat;
background-position:center;
background-size:100% auto;
background-size:cover;
max-width:none;
margin:0;
min-height:280px;
}

.teaching-page .hero-img{
display:none;
}

.teaching-page .teaching-info{
display:block;
margin-top:0;
padding:90px 20px 42px;
background:transparent;
border-radius:0;
box-shadow:none;
text-align:center;
}

.teaching-page .teaching-info h1{
font-size:2.5rem;
margin-bottom:15px;
margin-top:0;
color:#fff;
text-align:center;
}

.teaching-page .teaching-content{
padding:50px 0 90px;

}

.teaching-page .teaching-intro{
padding:34px 0 18px;
background:#ffffff;
}

.teaching-page .teaching-intro .container{
width:min(100%, 920px);
margin:auto;
padding:0 24px;
}

.teaching-page .teaching-intro p{
margin:0 auto;
font-size:1.06rem;
line-height:1.9;
color:#31445d;
text-align:center;
}

.teaching-page .teaching-content .container{
width:min(100%, 1080px);
margin:auto;
padding:0 24px;
display:grid;
grid-template-columns:repeat(2, minmax(0, 1fr));
gap:24px;
}

.teaching-page .course-item{
margin:0;
padding:26px 24px 22px;
background:#ffffff;
border:1px solid rgba(17, 66, 133, 0.10);
border-radius:24px;
box-shadow:0 18px 38px rgba(18, 54, 102, 0.08);
overflow:hidden;
}

.teaching-page .course-item::before,
.teaching-page .course-item::after{
display:none;
}

.teaching-page .course-item h2{
margin:0 0 14px;
font-size:1.7rem;
line-height:1.25;
color:#10335f;
letter-spacing:-0.02em;
}

.teaching-page .course-item p{
margin:0 0 10px;
font-size:1rem;
line-height:1.75;
color:#41536d;
}

.teaching-page .course-item p b{
color:#0f2d57;
font-weight:700;
}

@media (max-width: 768px){
  .teaching-page .teaching-hero{
    background-position:center;
    min-height:220px;
  }

  .teaching-page .hero-img{
    display:none;
  }

  .teaching-page .teaching-info{
    margin-top:0;
    padding:78px 16px 26px;
    text-align:center;
  }

  .teaching-page .teaching-info h1{
    font-size:2rem;
    margin-top:0;
    margin-bottom:12px;
    text-align:center;
  }

  .teaching-page .teaching-intro{
    padding:24px 0 8px;
  }

  .teaching-page .teaching-intro .container{
    padding:0 16px;
  }

  .teaching-page .teaching-intro p{
    font-size:0.96rem;
    line-height:1.75;
    text-align:left;
  }

  .teaching-page .teaching-content{
    padding:28px 0 64px;
  }

  .teaching-page .teaching-content .container{
    padding:0 16px;
    grid-template-columns:1fr;
    gap:18px;
  }

  .teaching-page .course-item{
    margin-bottom:0;
    padding:20px 18px 18px;
  }

  .teaching-page .course-item h2{
    font-size:1.2rem;
    margin-bottom:10px;
  }

  .teaching-page .course-item p{
    font-size:0.95rem;
    line-height:1.65;
  }
}

.contact-page .grid {
  display: flex !important;
  align-items: stretch !important;
  gap: 40px !important;
  max-width: none !important;
  margin: 0 !important;
}

.contact-page .grid > div {
  flex: 1 1 0 !important;
}

.contact-page .contact-form-column {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  height: 100% !important;
}

.contact-page .contact-form {
  flex: 1 1 auto !important;
  height: 100% !important;
  min-height: 975px !important;
  box-sizing: border-box !important;
  align-self: stretch !important;
}

.contact-page .contact-form h2 {
  margin-top: 0 !important;
}

@media (max-width: 768px) {
  .contact-page .grid {
    display: block !important;
  }

  .contact-page .contact-form-column {
    display: block !important;
    height: auto !important;
  }

  .contact-page .contact-form {
    height: auto !important;
    min-height: 0 !important;
  }
}
