/* ===== Base Styles ===== */
:root {
  --primary-color: #2CD2B1;
  --secondary-color: #37e67a;
  --accent-color: #01abdf;
  --text-color: #333;
  --white: #fff;
  --gradient: linear-gradient(0deg, #8CE96C 0%, #2CD2B1 100%);
  --light-bg: rgb(133, 255, 247);
  --dark-bg: rgba(53, 189, 181, 0.1);
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: "Roboto Condensed", sans-serif;
    color: var(--text-color);
    line-height: 1.6;
  }
  
  h1, h2, h3 {
    font-family: "Russo One", sans-serif;
    font-weight: 400;
  }
  
  /* ===== Layout Components ===== */
  .wrapper {
    background: var(--white);
    min-height: 100vh;
    position: relative;
  }
  
  .background {
    position: fixed;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 1;
  }
  
  .container {
    width: 90%;
    max-width: 1200px;
    margin: 2rem auto;
    position: relative;
    z-index: 1;
    padding-bottom: 2rem;
  }

  .main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: var(--primary-color);
    position: relative;
  }
  
  .logo-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
  }
  
  .logo-img {
    width: 60px;
    height: auto;
  }
  
  .logo-text {
    color: var(--white);
    font-family: "Russo One", sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
  }
  
  .main-nav {
    display: flex;
  }
  
  .nav-list {
    display: flex;
    gap: 1rem;
    list-style: none;
  }
  
  .nav-item a {
    color: var(--white);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
  }
  
  .nav-item.active a {
    background: rgba(255, 255, 255, 0.2);
    font-weight: bold;
  }
  
  .nav-item.contact a {
    background: var(--secondary-color);
    color: var(--text-color);
    font-weight: bold;
  }
  
  .nav-item a:hover {
    background: var(--white);
    color: var(--primary-color);
  }
  

  /* ===== Content Styles ===== */

  .publication-list {
    padding: 2rem 2rem;
  }
  
  .transparent-bg {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    /*border: 3px solid var(--accent-color);*/
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  }
  
  .transparent-bg h1 {
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: var(--primary-color);
    text-align: center;
  }
  
  .transparent-bg a {
    display: block;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 1rem;
    border-radius: 10px;
  }
  
  .transparent-bg a:hover {
    background: var(--dark-bg);
    transform: translateX(5px);
  }
  
  .transparent-bg p {
    margin-bottom: 0.5rem;
    line-height: 1.7;
  }
  /* =============================================Footer Styles================================================== */
.main-footer {
  background: var(--primary-color);
  color: var(--white);
  padding: 2rem 0;
  border-top: 2px solid var(--primary-color);
  position: relative; /* Changed from absolute */
  z-index: 2; /* Higher than background */
  width: 100%;
  margin-top: auto; /* Pushes footer to bottom */
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.footer-logos {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-logo {
  border-radius: 10px;
  height: 60px;
  width: auto;
  opacity: 1;
  transition: 0.3s;
}

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

.footer-links {
  display: flex;
  align-items: center; 
  gap: 1rem;
}

.footer-icon {
  height: 60px;
  width: auto;
  opacity: 1;
  margin-right: 10px;
  flex-shrink: 0; 
}

.footer-text-group {
  display: flex;
  flex-direction: column;
}

.footer-text {
  margin: 0.3rem 0;
  font-size: 0.9rem;
  color: var(--white);
}

.footer-text a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-text a:hover {
  color: var(--light-bg);
  text-decoration: underline;
}

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

  .nav-list {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  
  .footer-links {
    flex-direction: column;
  }

  .transparent-bg {
    padding: 1.5rem;
  }
  
  .transparent-bg h1 {
    font-size: 1.4rem;
  }
}
  @media (max-width: 480px) {
  .logo-link {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  .footer-logos {
    flex-direction: column;
    gap: 1rem;
  }
  
  .transparent-bg {
    padding: 1rem;
  }
  
  .transparent-bg a {
    padding: 0.8rem;
  }
}
