/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Avenir', 'Avenir Next', 'Segoe UI', sans-serif;
  color: #333;
  background-color: #fff;
  line-height: 1.6;
}

/* Header styles */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.2rem;
  font-weight: bold;
  color: #1c80ab;
}

.logo img {
  height: 40px;
  margin-right: 15px;
}

.nav {
  display: flex;
  gap: 1.5rem;
}

.nav a {
  text-decoration: none;
  color: #1c80ab;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.nav a:hover {
  background-color: #f0f8ff;
  text-decoration: none;
}

/* Main content styles */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-section {
  text-align: center;
  padding: 4rem 2rem;
  /* background-color: #000000 */
  background: linear-gradient(180deg, #e6f3ff 0%, #ffffff 90%);
}

.hero-section h1 {
  font-size: 5rem;
  color: #1c80ab;
  margin-bottom: 1rem;
  font-weight: 300;
}

.hero-section p {
  font-size: 1.2rem;
  color: #6d6d6d;
  max-width: 900px;
  margin: 0 auto 2rem;
}

.hero-section p a {
  font-size: 1.2rem;
  color: #1c80ab;
  text-decoration: none;
}

/* === HERO SLIDER FULL WIDTH PANEL WITH OVERLAY === */
.slider-container {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  height: 60vh;
  background-color: black;
  overflow: hidden;
  display: flex;
  align-items: center; /* Ensure children like slider-nav align vertically */
}


.slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0, 0, 0); /* Ensures background behind image is black */
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  z-index: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* Overlay Panel on Slide */
.slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 0rem 0rem; /* Reduced vertical padding */
  background: rgba(0, 0, 0, 0.8); /* Added transparency with rgba */
  color: #a8a8a8;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 0;
}


.slide-overlay h3 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: #a8a8a8;
}

.slide-overlay p {
  font-size: 1rem;
  max-width: 800px;
  color: #a8a8a8;
}

/* Navigation arrows */
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  color: #1c80ab;
  transition: all 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.slider-nav:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
  left: 10px;
}

.slider-nav.next {
  right: 10px;
}

/* Dots indicator */
.slider-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: white;
  transform: scale(1.2);
}

/* Content sections */
.content-section {
  padding: 3rem 0;
}

.content-section h2 {
  color: #1c80ab;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.content-section h2 a {
  color: #1c80ab;
  text-decoration: none;
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.research-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.research-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.research-card h3 {
  color: #1c80ab;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.research-card h3 a {
  color: #1c80ab;
  text-decoration: none;
}

.research-card p {
  color: #666;
  line-height: 1.6;
}

/* Footer styles */
.footer {
  background-color: #1c80ab;
  color: white;
  padding: 3rem 2rem 2rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 4rem;
  place-content: center;
}

.footer-section {
  text-align: left;
}

.footer-section h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-section p {
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #b3d9ff;
  text-decoration: none;
}

.footer-section a:hover {
  text-decoration: underline;
}

.footer-bottom {
  text-align: left;
  margin-top: 2rem;
  padding-left: 7%;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-bottom p {
  margin: 0;
  color: #b3d9ff;
}
/* Utility classes */
.text-center { text-align: center; }
.mb-2 { margin-bottom: 2rem; }
.mt-2 { margin-top: 2rem; }

/* About section layout */
.about-profile img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 0;
}

.about-content {
  flex: 1;
  max-width: 800px;
}

.about-content2 {
  flex: 1;
  max-width: 1000px;
  text-align: justify;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.about-profile {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding: 2rem;
  background-color: #f9f9f9;
  margin-bottom: 2rem;
  border-radius: 8px;
}

.about-container h1,
.about-container h2 {
  color: #1c80ab;
  margin-bottom: 1rem;
}

.about-section {
  margin-bottom: 3rem;
}

.about-section a {
  color: #1c80ab;
  text-decoration: none;
}

/* Responsive design */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .hero-section {
    padding: 2rem 1rem;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .container {
    padding: 0 1rem;
  }

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

  .slider-container {
    height: 300px;
  }

  .slide-overlay {
    padding: 1.5rem;
  }

  .slide-overlay h3 {
    font-size: 1.5rem;
  }

  .slide-overlay p {
    font-size: 1rem;
  }
}

.justified-text {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: #666;
  text-align: justify;
}

.justified-text p {
  margin-bottom: 1.2rem;
}

.justified-text ul {
  margin-top: 1em;
  margin-bottom: 1.2em;
  margin-left: 1em;
}

.image-gallery {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 2rem 1rem;
  background-color: #ffffff;
  overflow-x: auto;
}

.image-gallery img {
  width: 200px;
  height: auto;
  object-fit: contain;
  border: none;
  box-shadow: none;
  border-radius: 0;
  transition: none;
}

