* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  min-height: 100vh;
  min-width: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  margin: 0;
}

body.menu-open {
  overflow: hidden;
  position: fixed;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image: url("/images/bg.png");
  background-size: cover;
  background-position: center;
  opacity: 0.2;
}


.navbar {
  background: #fff;
  padding: 0.625rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 110px;
  position: fixed;
  top: 0;
  z-index: 2500;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  flex-wrap: wrap;
  width: 100%;
  min-width: 0;
}

.navbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: -15px;
}

.navbar-logo {
  height: 80px;
  width: auto;
  object-fit: contain;
}

.switch-language {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  border: none;
  background-color: white;
}

.switch-language img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  padding: 6px;
  border: 2px solid #c5c5c5;
  object-fit: cover;
  display: block;
}

.switch-language img:hover {
  border-color: #1a53e4;
  transition: border-color 0.3s;
}

.navbar-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: -15px 0 0 0;
  padding: 0;
  flex-wrap: wrap;
  z-index: 2000;
}

.navbar-links li {
  display: flex;
  align-items: center;
}

.navbar-links a {
  text-decoration: none;
  color: #fff;
  background: #1a53e4;
  padding: 0.7rem 1.7rem;
  border-radius: 2rem;
  font-weight: 600;
  font-size: 1.15rem;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
  border: none;
  font-family: "Inter", sans-serif;
}

.navbar-links a:hover,
.navbar-links a.active {
  background: #1e40af;
  color: #fff;
}




ul li {
  list-style: none;
}


.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: #1a53e4;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  cursor: pointer;
  z-index: 3000;
  position: relative;
}

.hamburger:hover {
  background: #1e40af;
  transform: scale(1.05);
}

.hamburger span {
  width: 20px;
  height: 2.5px;
  background: #ffffff;
  border-radius: 5px;
  transition: 0.3s ease;
  display: block;
  margin: 0 auto;
}


.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 1500;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}


.hero-section {
  margin-top: 6rem;
  background: #0d3f7a;
  padding: 30px;
  display: flex;
  justify-content: center;
}

.hero-image-committees {
  width: 95%;
  height: 500px;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)),
    url("../images/4.jpg");
  background-size: cover;
  
  background-position: center 30%;
  background-repeat: no-repeat;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: scale(0.96);
  margin-top: 1.25rem;
}

.hero-content-comittes {
  text-align: center;
  color: white;
  text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.6);
  animation: fadeUp 1.5s ease-out;
  margin-bottom: 160px;
}

.welcome-text-committes {
  font-family: "Montserrat", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  margin-top: 200px;
}

h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 5rem;
  font-weight: 700;
  margin: 10px 0;
}

.slogan-committes {
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
  line-height: 1.9;
}   


.info-section {
  flex: 1;
  background-color: #e8eef8;
  background-image: url("../images/bg.png");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: auto 90%;
  min-height: 400px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 50px 5%;
}

.info-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
  padding: 40px 48px;
  width: 100%;
  max-width: 1100px;
}

.info-title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: #1a53e4;
  margin-bottom: 16px;
}

.info-divider {
  border: none;
  border-top: 1.5px solid #d0d0d0;
  margin-bottom: 22px;
}

.info-role {
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  color: #1a1a1a;
  margin-bottom: 6px;
  line-height: 1.6;
}

.info-role strong {
  font-weight: 700;
  
}

.info-topic {
  font-family: "Montserrat", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 20px 0 28px;
  line-height: 1.5;
}

.read-more-btn {
  display: inline-block;
  padding: 9px 28px;
  border: 1.5px solid #1a1a1a;
  border-radius: 30px;
  color: #1a1a1a;
  background: transparent;
  font-family: "Montserrat", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.read-more-btn:hover {
  background: #0d3f7a;
  color: white;
  border-color: #0d3f7a;
}


.foot {
  background-color: #0d3f7a;
  padding: 0 0 20px;
  width: 100%;
  margin: 0;
}

.foot-blue {
  color: white;
  text-align: center;
  padding: 20px;
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  width: 100%;
}

.foot-gray {
  color: #c5c5c5;
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-size: 0.9rem;
  display: flex;
  justify-content: center;
  gap: clamp(60px, 11vw, 160px);
  align-items: center;
  background-color: #202936;
  width: 100%;
  min-height: 143px;
  margin: 0;
  padding: 10px 80px 14px;
  position: relative;
}

.foot-gray-left,
.foot-gray-middle,
.foot-gray-right {
  flex: 1 1 0;
  min-width: 0;
}

.foot-gray-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.foot-gray-left .foot-logo {
  margin-bottom: 8px;
}

.foot-gray h3 {
  color: #ffffff;
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.foot-gray p,
.foot-gray li {
  line-height: 1.35;
}

.foot-gray ul {
  list-style: none;
}

.foot-links a,
.foot-links a:visited {
  color: #ffffff;
  text-decoration: underline;
  transition: color 0.3s;
}

a {
  color: #ffffff;
}

.foot-gray li a {
  color: #c5c5c5;
  text-decoration: underline;
  transition: color 0.3s;
}

.footer-bottom {
  width: 100%;
  background-color: transparent;
}

.foot-logo {
  height: 70px;
  width: auto;
}


.rendere {
  width: 100%;
  background-color: black;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 116.5px;
  padding: 50px;
  position: relative;
}

.rendere > div:nth-child(2) {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.renderlinks {
  gap: 20px;
  display: flex;
}

.rlogo {
  width: 200px;
}

h3 {
  color: white;
  font-family: "Inter", sans-serif;
}


#loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0d3f7a;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s;
}

.loader {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(255, 255, 255, 0.2);
  border-top: 5px solid #ffcc00;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

#loader-wrapper p {
  color: white;
  margin-top: 15px;
  font-family: "Montserrat", sans-serif;
  letter-spacing: 2px;
}

.loader-hidden {
  opacity: 0;
  visibility: hidden;
}


.scroll-top-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: #1a53e4;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(26, 83, 228, 0.35);
  z-index: 4000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s ease;
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background: #1e40af;
  transform: translateY(-3px);
}

.scroll-top-btn svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #ffffff;  
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.info-description {
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  color: #1a1a1a;
  line-height: 1.5;
}

@keyframes spin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}


@media (max-width: 768px) {
  .navbar {
    padding: 0.8rem 1rem;
    height: 90px;
  }

  .navbar-logo {
    height: 55px;
  }

  .hamburger {
    display: flex;
  }

  .navbar-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 50%;
    height: 100vh;
    background: rgb(255, 255, 255);
    backdrop-filter: blur(18px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.4s ease;
    z-index: 999;
    padding: 0;
    margin: 0;
  }

  .navbar-links.active {
    right: 0;
  }

  .navbar-links a {
    font-size: 1.2rem;
    border-radius: 3rem;
    background: #1a53e4;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  }

  .navbar-links a.nav-outline {
    background: transparent;
    color: #1a53e4;
    border: 2px solid #1a53e4;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(12px);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-12px);
  }

  .hero-section {
    margin-top: 90px;
        padding: 16px;
  }

  .hero-image-committees {
    width: 100%;
  
    height: 260px;
    background-position: center 35%;
    transform: none;
    margin-top: 0.75rem;
  }

  .hero-content-comittes {

    padding: 16px;
  }

  .committee-hero {
    height: 220px;
  }

  .committee-hero-title {
    font-size: 1.4rem;
  }

  .info-card {
    padding: 28px 20px;
  }

  .info-title {
    font-size: 1.3rem;
  }

  .foot-gray {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    text-align: center;
  }

  .foot-gray-left,
  .foot-gray-middle,
  .foot-gray-right {
    width: 100%;
    max-width: none;
  }

  .foot-gray-left {
    display: block;
  }

  .foot-blue {
    font-size: 0.9rem;
    padding: 15px;
  }

  .foot-logo {
    height: 50px;
  }

  .rendere {
    height: auto;
    padding: 24px 16px;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    text-align: center;
  }

  .rendere > div:nth-child(2) {
    position: static;
    transform: none;
    order: 2;
  }

  .renderlinks {
    order: 3;
    justify-content: center;
    gap: 18px;
  }

  .rlogo {
    width: min(180px, 75vw);
  }

  .rendere h3 {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .welcome-text-committes {
    font-size: 1.25rem;
    text-align: center;
    margin-bottom: 10px;
  }
  .welcome-text-committes1 {
    font-size: 1.25rem;
    text-align: center;
    margin-top: 200px;
  }
}