body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
}


/* Navigation Links */
.nav-links {
  display: flex;
  gap: 2rem;
}

/* Apply same style to both links and dropdown toggle */
.nav-links a,
.dropdown-toggle {
  font-size: 1.6rem;
  color: var(--text-dark);
  font-weight: 600;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

/* Hover effect */
.nav-links a:hover,
.dropdown-toggle:hover {
  color: var(--color-primary);
}

/* Dropdown container */
.dropdown {
  position: relative;
}

/* Flex for arrow */
.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Arrow animation */
.arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}
.dropdown.active .arrow {
  transform: rotate(180deg);
}

/* Submenu hidden */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 300px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.15);
  border-radius: 6px;
  overflow: hidden;
  z-index: 999;
}
.dropdown-menu a {
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
}
.dropdown-menu a:hover {
  background: #f0f0f0;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
  display: block;
}


/* Hero section background */

.hero-carousel {
  position: relative;
  height: 100vh;
  overflow: hidden;
  color: white;
background-image: url('../images/Lifeat.jpg');
  background-size: cover;
  background-position: center;
   background-attachment: scroll; /* default */
  background-attachment: fixed; /* fallback for desktop */
}

/* Dark overlay */
.hero-carousel::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* darkness */
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 2rem;
  text-align: center;
  top: 40%;
  transform: translateY(-50%);
}

/* hero-text */
.hero-p {
  font-size: 2rem;
  color: #ddd;
  text-align: left;
  padding-left: 5rem;
  margin-top: 1rem;
  max-width: 700px;
}

.hero-content h1 {
  font-size: 6rem;
  padding-left: 5rem;
  margin: 0 auto;
  letter-spacing: -2px;
  color: aliceblue;
  font-family: 'poppins', sans-serif;
  text-align: left;

}

.clean {
 color: var(--color-accent);
  font-size: 7rem;
}

.hero-content a {
  display: inline-block;
  background: var(--color-primary);
  color: white;
  padding: 1.5rem 1.5rem;
 border: 5px solid var(--color-accent);
  margin-top: 1rem;
  transition: background 0.3s;
  font-family: 'poppins', sans-serif;
}

.hero-content a:hover {
  background: var(--color-primary-dark);
  border: 5px solid white;
}


.research-intro {
  max-width: 1200px;
  margin: 2rem auto 4rem auto;
  text-align: center;
  padding: 0 1rem;
}

.research-intro h2 {
  /* font-size: 32px; */
  font-weight: bold;
  margin-bottom: 1rem;
  color: var(--color-primary);
}


/* Focus Section */


    .focus-section {
      text-align: center;
      padding: 40px auto;
      background: var(--color-light);
    }

    .focus-section h2 {
      /* font-size: 28px; */
      font-weight: bold;
      margin-bottom: 3rem;
      color: var(--color-primary);
    }

    /* .focus-section p {
      margin-bottom: 2rem;
    } */


   .focus-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  max-width: 1400px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .focus-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .focus-grid {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }
}


    .focus-card {
      padding: 20px;
      transition: transform 0.3s ease;
      text-align: left;
    }

    .focus-card:hover {
      transform: translateY(-8px);
    }

    .focus-card img {
      width: 100%;
      height: 200px;
      object-fit: cover;
      margin-bottom: 15px;
    }

    .focus-card h4 {
      font-size: 1.6rem;
      margin: 1rem 0;
      color: #111;
      text-align: left;
    }

    .focus-card p {
      font-size: 1.4rem;
      line-height: 1.6;
      color: #444;
      text-align: left;
    }
    .note {
      font-size: 1.4rem;
      padding-bottom: 3rem;
     
    }

    .btnn {
      display: inline-block;
      padding: 0 1.5rem;
      color: var(--color-primary);
      font-weight: bold;
      font-size: 1.4rem;
      text-decoration: none;
      border-bottom: 5px solid var(--color-accent);
    
    }

    /*  */

    
/* CTA Section */
.cta-section1 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 5rem auto;
  padding: 0 2rem;
  overflow: hidden;
  color: #fff;
  height: 500px;
}



.cta-section1::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    var(--color-primary) 0%,
    var(--color-primary) 40%,
    rgba(79, 70, 229, 0) 70%
  );
  z-index: 2;
  pointer-events: none;
}


.cta-container1 {
  position: relative;
  z-index: 3;
  max-width: 600px;
}



.cta-container1 h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  font-weight: bold;
  text-align: left;
  z-index: 2;
}

.cta-container1 h1 span {
  color: var(--color-accent); 
  font-size: 4rem;
  z-index: 2;
}

.cta-container1 p {
  font-size: 1.4rem;
  line-height: 1.6;
  color: #f9f9f9;
  text-align: left;
}

/* button parent */

.btn-contact {
  text-align: left;
  margin-top: 1.5rem;
}

.cta-button {
  background: #fff;
  color: var(--color-primary);
  padding: 0 1rem;
  font-size: 1.4rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: left;
  border: 5px solid var(--color-accent);
}

.cta-button:hover {
  background: var(--color-accent);
  color: #fff;
}


.cta-image {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.cta-image img {
 width: 100%;
  height: 100%;
  object-fit: cover;

}




    /* current research section */

    .current-research {
      background: white;
       margin: 0 auto;
       padding: auto;
    }

    .current-research-grid {
     max-width: 100%;
     background-color: white;
    }

    .current-research-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;

  max-width: 1100px;     /* limits width */
  margin: 0 auto;       /* centers grid */
  justify-items: center; /* centers cards */
}


    /* Upcoming Technologies Section */

  .upcoming-technologies {
  max-width: 100%;
  margin: 5rem auto;
  padding: 20px;
  background-color: var(--color-primary-dark);
  }

h2 {
  font-weight: bold;
  position: relative;
  display: inline-block;
  color: var(--color-light);
}

h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 4px;
  background-color: #f5c518; /* yellow underline */
  border-radius: 2px;
}

.intro {
  margin-top: 1.5rem;
  /* font-size: 1rem; */
  color: white;
}

.main {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-top: 3rem;
}

.image img {
  width: 800px;
  max-width: 100%;
}

.text {
  color: white;
}

.text ul {
  list-style: none;
  padding: 2rem;
  font-size: 16px;
  
}

.text li {
  margin-bottom: 1rem;
  line-height: 1.6;
  font-size: 1.2rem;
  color: #f9f9f9;
  list-style-type: disc;
}

.text strong {
  color: #f9f9f9;
}

.footer-update {
  margin-top: 2rem;
  font-size: 1.6rem;
  color: #f9f9f9;
  text-align: right;
}

.footer-update span {
  font-weight: bold;
  color: #0056b3;
}

/* ✅ Responsive Design */
@media (max-width: 900px) {
  .main {
    flex-direction: column;
    align-items: center;
    text-align: left;
  }

  .image img {
    width: 100%;
    max-width: 600px;
  }

  .text {
    width: 100%;
    margin-top: 20px;
  }

  h2 {
    font-size: 22px;
  }

  .intro, .footer {
    font-size: 15px;
  }
}

/* Collaboration Section */

.collaboration-section {
  padding: 6rem 8%;
  background-color: #f8f9fc;
}

.collab-header {
  margin-bottom: 3rem;
}

.collab-header h2 {
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  text-align: left;
}

.collab-header .subtitle {
  /* font-size: 1.6rem; */
font-size: 1.4rem;
  max-width: 700px;
  text-align: left;
}

.collab-content-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
  flex-wrap: wrap;
}

.collab-image {
  flex: 1 1 40%;
}

.collab-image img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.collab-content {
  flex: 1 1 55%;
}

.collab-content p {
  font-size: 1.6rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.collab-list {
  list-style: disc;
  padding-left: 2rem;
  margin-bottom: 2rem;
}

.collab-list li {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

.contact-text {
  font-size: 1.6rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.collab-btn {
  background-color: var(--primary-color, #0077cc);
  color: white;
  border: none;
  padding: 1rem 2rem;
  font-size: 1.6rem;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.collab-btn:hover {
  background-color: var(--primary-dark, #005fa3);
}


/* CTA Section */





/*  */
/* 
.article-section {
  max-width: 1200px;
  margin: 5rem auto;
  padding: 20px;
}

h2 {
  /* font-size: 26px; 
  font-weight: bold;
  position: relative;
  display: inline-block;
  color: var(--color-primary);
}

h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 4px;
  background-color: #f5c518; /* Yellow underline 
  border-radius: 2px;
}

.article {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-top: 25px;
}

/* Article Reverse 

.article.reverse {
  flex-direction: row-reverse;
  margin-top: 4rem;
}

.text {
  flex: 1;
}

.text h3, .text h4 {
  /* font-size: 22px; 
  font-weight: bold;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  color: var(--color-primary);
}

.text h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 3px;
  background-color: #f5c518;
  border-radius: 2px;
}

.text h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 3px;
  background-color: #f5c518;
  border-radius: 2px;
}

.text p {
  margin-bottom: 15px;
  font-size: 1.4rem;
  color: #333;
  line-height: 1.6;
}

.image img {
  width: 500px;
  border-radius: 8px;
  max-width: 100%;
}

.btn {
  display: inline-block;
  padding: 10px 18px;
  background-color: var(--color-primary);
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.btn:hover {
  background-color: var(--color-primary-dark);
}

/* ✅ Responsive Design 
@media (max-width: 900px) {
  .article {
    flex-direction: column;
    align-items: center;
  }

  .text h3 {
    font-size: 20px;
  }

  .image img {
    width: 100%;
    max-width: 600px;
  }

  .btn {
    font-size: 14px;
  }
} */



.articles-section {
  text-align: center;
  padding: 60px 20px;
}

.articles-section h2 {
  /* font-size: 2rem; */
  color: var(--color-primary);
  margin-bottom: 8px;
}

.subtitle {
  /* color: var(--color-secondary); */
  font-size: 1.6rem;
  margin-bottom: 40px;
}

/* Container for all articles */
.articles-container {
  max-width: 800px;
  margin: 0 auto;
}

/* Each article card */
.article-item {
  background-color: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}

.article-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Header area (clickable) */
.article-header {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 20px;
  cursor: pointer;
}

.article-header img {
  width: 100px;
  height: 100px;
  border-radius: 6px;
  object-fit: cover;
}

.article-header h3 {
  flex: 1;
  font-size: 1.6rem;
  color: #111827;
  text-align: left;
}

.arrow {
  font-size: 2rem;
  color: #6b7280;
  transition: transform 0.3s ease;
}

/* Content (hidden by default) */
.article-content {
  display: none;
  text-align: left;
  padding: 0 20px 20px 80px;
  color: #374151;
  line-height: 1.5;
}

.article-content img {
  margin-top: 10px;
  width: 100%;
  max-width: 400px;
  border-radius: 8px;
}

/* When active, show content */
.article-item.active .article-content {
  display: block;
}

/* Rotate arrow when open */
.article-item.active .arrow {
  transform: rotate(180deg);
}

/*   */


/* Join us section */

/* CTA Section */
.cta-section {
  background: linear-gradient(rgba(0, 115, 199, 0.9), rgba(0, 115, 199, 0.9)), 
              url('../images/hero1.jpeg') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 5rem 2rem;
  margin: 3rem auto;
  max-width: 100%;
}

.cta-container {
display: flex;
text-align: left;
}

.cta-container img {
  width: 500px;
  height: auto;
  margin-right: 2rem;
}



.cta-container h3 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  font-weight: bold;
  color: white;
  text-align:left;
  border-bottom: 5px solid var(--color-accent);
  display: inline-block;
}

.join-text {
  margin-top: 1rem;
  color: #f9f9f9;
}

.cta-section p {
  /* font-size: 1.6rem; */
  margin-bottom: 1rem;
  line-height: 1.6;
  text-align: left;
  color: #f9f9f9;
}

.cta-button {
  display: inline-block;
  background: #fff;
  color: var(--color-primary);
  padding: 1rem;
  font-size: 1.4rem;
  font-weight: bold;
  text-decoration: none;
  margin-top: 2rem;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: var(--color-accent);
  color: #fff;
}




/* Interested section  */


.interest {
  text-align: center;
  background: white;
  margin-bottom: 3rem;
}

    .interest-container {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 2rem;
      max-width: 1200px;
      margin: auto;
      text-align: center;
    }

    .interest h2 {
      display: inline-block; /* shrinks to text width */
  margin: 10rem auto 1rem;
  color: #0073C7;
  border-bottom: 5px solid var(--color-accent);
    }

    .interest-card {
      position: relative;
      overflow: hidden;
      height: 400px;
      display: flex;
      align-items: flex-end;
      color: #fff;
      margin-top: 3rem;

    }

    .interest-card::before {
      content: "";
      position: absolute;
      inset: 0;
      background: rgba(0,0,0,0.4); /* dark overlay */
    }

    .interest-content {
      position: relative;
      padding: 1.5rem;
      z-index: 1;
      text-align: left;
    }

    .interest-card h3 {
      font-size: 2.5rem;
      margin-bottom: 1.5rem;
    }

    .btn {
      display: inline-block;
      padding: 1rem 1rem;
      text-decoration: none;
      color: #fff;
      font-weight: bold;
      font-size: 1.4rem;
      transition: all 0.3s ease;
      border: 5px solid var(--color-accent);
      text-align: left;
      background: var(--color-primary);
     
    }

    .btn:hover {
      background: var(--color-primary-dark);
      color: var(--color-light);
      text-decoration: none;
    }

    /* Background images */
    .interest1 {
      background: url("../images/Lifeat.jpg") center/cover no-repeat;
    }

    .interest2 {
      background: url("../images/UVC\ Bottle.jpg") center/cover no-repeat;
    }




/* Responsiveness */

/* Desktop: show on hover */
@media (min-width: 769px) {
  .dropdown:hover .dropdown-menu {
    display: block;
  }
}

/* Mobile: show on click */
@media (max-width: 1180px) {
  .dropdown.active .dropdown-menu {
    display: block;
    position: static; /* makes it stack nicely */
    box-shadow: none;
    background: #f9f9f9;
    /* margin-top: 5px; */
  }
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 1rem;
    background: white;
    position: absolute;
    top: 70px; /* adjust based on your header height */
    left: 0;
    width: 100%;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.15);
    z-index: 1000;
  }

    .dropdown-toggle i {
  display: block;
}

.hero-carousel {
  height: 70vh;
  background-attachment: scroll;
}
.hero-content {
    padding-top: 9rem;
}

.hero-content p {
    margin: 1rem auto 2rem;
    font-size: 1.6rem;
    margin-top: -2rem;
}
.hero-content h1 {
  letter-spacing: -1.5px;
  font-size: 3.5rem;
  padding-left: 2rem;
  margin-bottom: 3rem;
} 
.clean {
  font-size: 3.5rem;
}
  .hero-p {
    font-size: 1.3rem;
    padding-left: 0;
    text-align: left;
    max-width: 90%;
    margin: 1rem auto;
  }
.hero-content {
  top: 25%;
} 

.cta-container {
  flex-direction: column;
  align-items: center;

} 

.cta-container img {
  width: 100%;
  height: auto;
  margin: 0 0 2rem 0;
}
 .Quote {
    display: none;
   }
}



@media (max-width: 768px) {
  .dropdown:hover .dropdown-menu {
    display: none;
  }

  .dropdown.active .dropdown-menu {
    display: block;
  }

   .interest-content h3 {
    font-size: 2.5rem;
  }
     .hero-content p{
    font-size: 1.4rem;
    padding-left: 0;
    text-align: left;
    max-width: 90%;
  }
.hero-content {
  top: 10%;
} 
.joinUs h3 {
font-size: 2.5rem;
text-align: center;
}
.join-btn {
  text-align: center;
}
}

