/* *******************************
           HERO SECTION
********************************** */

.landing-page{
  background-image: linear-gradient(rgba(10, 10, 30, 0.7), rgba(10, 10, 30, 0.7)),url("../img/hero.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

}

.section-hero {
  height: 100vh;
  padding: 4.8rem 0 9.6rem 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Main container */
.hero {
  width: 100%;
  max-width: 130rem;
  padding: 0 3rem;
  color: #fff;
}

/* Text box */
.hero-text-box {
  width: 50%;
  max-width: 650px;
}

/* Header */
.hero-main--header {
  font-family: "Orbitron", sans-serif;
  font-size: 5.2rem;
  font-weight: 900;
  line-height:1.1;
  margin-bottom: 3.2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #e6eaeeff;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-brand-name {
  font-size: 6.9rem;
  font-weight: 900;
  background: linear-gradient(135deg, #8bb3e0ff 0%, #4f779eff 30%, #88b0daff 60%, #9ac0e9ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(84, 100, 120, 0.3);
  letter-spacing: 3px;
  line-height: 0.9;
}

.hero-subtitle {
  font-size: 3.8rem;
  font-weight: 700;
  color: #b8c5d1;
  letter-spacing: 1.5px;
  margin-left: 0.5rem;
}

.hero-location {
  font-size: 2.8rem;
  font-weight: 600;
  color: #8a9ba8;
  letter-spacing: 1px;
  margin-left: 1rem;
  min-height: 1.2em;
  display: flex;
  align-items: center;
}

.typewriter-text {
  position: relative;
  overflow: hidden;
}

.typewriter-text::after {
  content: '|';
  position: absolute;
  right: -2px;
  color: #4a90e2;
  animation: blink 1s infinite;
}

@keyframes typewriter {
  0% {
    width: 0;
  }
  50% {
    width: 100%;
  }
  100% {
    width: 0;
  }
}

@keyframes blink {
  0%, 50% {
    opacity: 1;
  }
  51%, 100% {
    opacity: 0;
  }
}


/* Description */
.hero-description {
  font-family: "Poppins", sans-serif;
  font-size: 1.8rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: #cbdceb;
}

/* Hero Partners Section */
.hero-partners {
  margin-bottom: 2rem;
  padding: 2rem 0;
}

.partners-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6rem;
  flex-wrap: wrap;
}

.logo-img {
  height: 3.9rem;
  width: auto;
  filter: brightness(0) invert(1);
}


/* hero_section - Button */
.hero-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.explore-more-icon{
  height:1.8rem;
  width:1.8rem;
  animation: bounce 1.5s infinite;
  display:inline-block;
  transition: all 0.3s ease;
}

/* Bounce animation */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(4px);
  }
  60% {
    transform: translateY(4px);
  }
}

.btn--scroll-to{
  display: inline-flex; 
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  position: relative;
  overflow: hidden;
}

.hero-learn-btn span {
  display: inline-block;
}

.hero-learn-btn:link,
.hero-learn-btn:visited {
  text-decoration: none;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border: 2px solid #e9ecef;
  border-radius: 12px;
  color: #495057;
  font-weight: 600;
  font-size: 1.5rem;
  padding: 1.2rem 2.8rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

/* Add subtle shine effect */
.hero-learn-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s ease;
}

/* Button hover */
.hero-learn-btn:hover,
.hero-learn-btn:active {
  background: linear-gradient(135deg, #51606e 0%, #435664 100%);
  border-color: #51606e;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(81, 96, 110, 0.3);
}

.hero-learn-btn:hover::before {
  left: 100%;
}

.hero-learn-btn:hover .explore-more-icon {
  transform: scale(1.1) rotate(5deg);
}


/* ********************
    ABOUT SECTION
******************** */
.section-about {
  padding: 9.6rem 0;
}


.about-description {
  font-size: 1.8rem;
  color: rgba(48, 66, 92, 0.91);
  line-height: 1.8;
  margin-bottom: 3.2rem;
}

.stat { 
  display: flex; 
  flex-direction: column; 
  gap: 2rem; 
  align-items: center; 
  justify-content:center;
}

.about-icon {
  width: 7.4rem;
  height: 7.4rem;
  transition: all 0.3s ease;
}

.about-icon:hover {
  transform: scale(1.2);
}

.about-stats-number {
  color: rgba(13, 37, 68, 0.91);
  font-size: 2.4rem;
  font-weight: 700;
}

.icon-desc {
  color: rgba(48, 66, 92, 0.91);
  font-size: 2rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.3;
  max-width: 100%;
}















/* ***********************
    PROJECT SECTION
**************************/
.section-projects{
  padding:9.6rem 0;
  background: #f6f9fbff;
}

/* Hero-specific reveal tweaks */
.section-hero .hero-main--header.reveal-item,
.section-hero .hero-title.reveal-item,
.hero .hero-main--header.reveal-item{
  transform: translateY(18px) scale(.995);
  transition: transform 0.7s cubic-bezier(.2,.9,.25,1), opacity 0.7s ease;
}
.section-hero .hero-description.reveal-item,
.hero .hero-description.reveal-item{
  transform: translateY(14px);
  transition: transform 0.6s cubic-bezier(.2,.9,.25,1), opacity 0.6s ease;
}
.section-hero .hero-btn.reveal-item{
  transform: translateY(8px) scale(.995);
  transition: transform 0.6s cubic-bezier(.2,.9,.25,1), opacity 0.6s ease;
}
.section-hero .reveal-item.revealed{ opacity:1; transform:none; }

.project-img {
  width: 100%;
  height:20rem;
  /* use aspect-ratio so image scales nicely while preserving composition */
  aspect-ratio: 16 / 9;
  height: auto;
}

.project-box {
  box-shadow: 0 2.4rem 4.8rem rgba(0, 0, 0, 0.075);
  border-radius: 1.3rem;
  overflow: hidden;
  transition: all 0.4s;
  display: flex;
  flex-direction: column;
  height: 100%; /* let cards stretch to equal height in grid */
}

.project-box:hover {
  transform: translateY(-1.2rem);
  box-shadow: 0 3.2rem 6.4rem rgba(0, 0, 0, 0.06);
}


.project-card-text-box{
    padding: 3.2rem 4.8rem 4.8rem 4.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  flex: 1 1 auto; /* allow text area to grow */
}

.project-topics{
    font-size:2.4rem;
    font-weight:600;
    color:rgba(26, 63, 114, 0.91);
    margin-bottom:1.6rem;
}



.project-tags{
    margin-bottom: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: center;
}

.tag{
    display: inline-block;
    border-radius: 2rem;
    text-transform: uppercase;
    padding: 0.4rem 0.8rem;
    color: #212529;
    background-color: rgba(135, 203, 228, 0.91);
    font-size: 1.1rem;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.tag:hover {
    background-color: rgba(135, 203, 228, 1);
    transform: translateY(-2px);
}

.project-detials{
    font-size:1.8rem;
    color:rgba(48, 66, 92, 0.91);
    line-height:1.6;
    margin-bottom:3rem;
}

.more-details {
  position: relative;
  text-decoration: none;
  font-size: 1.6rem;
  color: rgba(48, 66, 92, 0.91);
  padding-bottom: 0.2rem;
  transition: color 0.3s;
  margin-bottom: 0; /* Remove huge bottom margin */
}

.more-details {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background: #ffffff;
}

.more-details::after {
  content: "";
  position: absolute;
  left: 50%;               
  bottom: 0;
  transform: translateX(-50%); 
  width: 100%;             
  height: 1px;
  background-color:  rgba(17, 36, 61, 0.91);
  transition: all 0.3s ease;
}

.more-details:hover {
  color:  rgba(17, 36, 61, 0.91);
  transform: translateY(-3px);
}

.more-details:hover::after {
  width: 50%;         
  background-color:  rgba(17, 36, 61, 0.91);
}

.project-card-footer{
    text-align:center;
    margin-top: auto; /* push footer to bottom of card */
    padding: 1.6rem 0 2.4rem 0;
}

.project-card-contributors{
    display:flex;
}

.project-card-member{
    height:4.8rem;
    width:4.8rem;
    border-radius:50%;
    margin-left:-1.6rem;
    border:3px solid  rgba(17, 36, 61, 0.91);
}

.project-card-member:first-child{
    margin:0;
    margin-bottom:2rem;
}









/* ********************
    NEWS SECTION
******************** */
.section-news{
  background: #f6f9fbff;
  padding:9.6rem 0;
}

.main-news {
  display: grid;
  gap: 4.8rem;
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2.4rem;
  align-items: center;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.05);
  background-color: #fff;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.news-grid::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 60%, rgba(255, 255, 255, 0.3) 100%);
  border-radius: 1rem;
  z-index: 1;
}

.news-grid:hover {
  transform: translateY(-5px);
  box-shadow: 0 1.6rem 3.2rem rgba(0, 0, 0, 0.1);
}

.news-img {
  width: 100%;
  border-radius: 0.8rem;
  /* Use an aspect ratio so the browser reserves correct layout space and doesn't resample as aggressively.
     This avoids blurry images when the container has a fixed height. Choose 16/9 as a sensible default. */
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  image-rendering: auto;
  position: relative;
  z-index: 2;
}

.news-content {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  position: relative;
  z-index: 2;
}

.news-heading {
  font-weight: 600;
  font-size: 2.4rem;
  line-height: 1.4;
  color:rgba(26, 63, 114, 0.91);
}

.news-year {
  font-size: 1.4rem;
  color: rgba(93, 118, 154, 0.91);
}

.news-brief-desc {
  font-size: 1.6rem;
  line-height: 1.6;
  margin-bottom: 1.6rem;
  color:rgba(48, 66, 92, 0.91);
}

.read-details {
  font-size: 1.6rem;
  font-weight: 500;
  color: #0077ff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.read-details:hover {
  color: #005fcc;
}


.view-more-news {
  margin-top: 3.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.view-more-btn {
  padding: 1.2rem 2.4rem;
  background-color: rgba(40, 87, 152, 0.91);
  color: #fff;
  font-size: 1.6rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.3s ease;
}

.view-more-btn:hover {
  background-color: rgba(31, 63, 108, 0.91);
  transform: translateY(-3px);
}









/* ********************
    PUBLICATION SECTION
******************** ***/
.section-publications {
  padding: 6.4rem 0;
}

.main-publications {
  display: grid;
  gap: 4.8rem;
}

.publication-card {
  background-color: #fff;
  padding: 2.4rem;
  transition: all 0.3s ease;
}

.pub-content {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.pub-title {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.4;
  color:rgba(26, 63, 114, 0.91);
}

.pub-authors {
  font-size: 1.4rem;
  color: rgba(48, 66, 92, 0.91);
}

.pub-year {
  font-size: 1.4rem;
  color: rgba(93, 118, 154, 0.91);
}
.pub-doi{
  font-size:1.4rem;
  color: rgba(48, 66, 92, 0.91);
}

.pub-doi a {
  color: rgba(96, 177, 239, 0.91);
  text-decoration: none;
}

.pub-doi a:hover {
  text-decoration: underline;
}

.pub-desc {
  font-size: 1.6rem;
  line-height: 1.6;
  color: rgba(48, 66, 92, 0.91);
}

.pub-link {
  font-size: 1.6rem;
  font-weight: 500;
  color: #0077ff;
  text-decoration: none;
  margin-top: 0.8rem;
  transition: color 0.2s ease;
}

.pub-link:hover {
  color: #005fcc;
}







/* ******************************
        SUPERVISORS SECTION
********************************* */
.section-supervisors{
    padding:9.6rem 0;
    background: #ffff;
}
.team-member-card{
  padding:0 0 4.8rem 0;
}










/* *********************************
            BLOGS SECTION
************************************* */

.section-blogs {
  padding: 9.6rem 0;
  background: #f6f9fbff;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.blog-card {
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display:grid;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.sub-blog-card{
  display:grid;
  grid-template-columns:1fr 3fr;
  align-items:center;
  gap:1rem;
  margin-bottom:2rem;
  padding:2rem 2rem 0 2rem;

}

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

.blog-content {
  padding: 2rem;
}

.blog-title {
  font-size: 2rem;
  color: rgba(26, 63, 114, 0.91);
  margin-bottom: 2rem;
  text-align:center;
  line-height:1.4;
}

.blog-meta {
  list-style:none;
  font-size: 1.3rem;
  color: rgba(93, 118, 154, 0.91);
  margin-bottom: 1rem;
  text-align:center;
  display:flex;
  gap:2rem;
  justify-content:center;
}

.blog-meta li{
  display:flex;
  align-items:center;
  gap:0.5rem;
} 

.blogs-icons{
  height:1.5rem;
  width:1.5rem;
}

.blog-desc {
  font-size: 1.5rem;
  color: rgba(48, 66, 92, 0.91);
  margin-bottom: 1.5rem;
  padding:0 2rem;
}

.blog-read-more-btn{
  background-color: rgba(40, 87, 152, 0.91);
  display:flex;
  align-items:center;
  justify-content:center;
  gap:1rem;
  padding:1.2rem;
}
.btn-read-more{
  color: #fff;
  font-weight: 700;
  font-size:1.8rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.read-more-icon{
  height:2.5rem;
  widhth:2.5rem;
}

.btn-read-more:hover {
  color: rgba(31, 63, 108, 0.91);
}

