body {
  scroll-behavior: smooth;
  background: #f8f9fa;
}

.top-bar {
  background-color: #003366;
  /* albastru foarte deschis, aproape alb */
  border-bottom: 1px solid #d1d9e6;
}

.navbar-nav .nav-link:hover {
  color: #66aaff !important;
}

.navbar {
  background-color: #003366;
}

.navbar-nav .nav-link {
  color: white;
}

.navbar-brand {
  color: white;
  display: flex;
  align-items: center;
}

.navbar-brand img {
  height: 50px;
  margin-right: 10px;
}

.social-icons a {
  color: white;
  margin-left: 15px;
  font-size: 1.4rem;
  transition: color 0.3s;
  text-decoration: none;
}

.social-icons a:hover {
  color: #1e90ff;
}

section {
  padding: 60px 0;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

.bg-navy {
  background-color: #003366;
  color: white;
}

.hero {
  background: url('img/hero2.webp') center center/cover no-repeat;
  height: 80vh;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-direction: column;
  padding: 0 15px;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 900;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
}

.hero p {
  font-size: 1.5rem;
  margin-top: 10px;
  font-weight: 500;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.6);
}

.section-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.section-content .text,
.section-content .image {
  flex: 1 1 48%;
}

.section-content .image img {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.section-content .text h2 {
  font-weight: 900;
  margin-bottom: 1rem;
  color: #003366;
}

.titluSectiune2 {
  font-weight: 900;
  margin-bottom: 1rem;
  color: #003366;
}

.section-content .text p,
.section-content .text ul li {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #222;
}

.section-content .text ul {
  padding-left: 1.4rem;
}

.affiliations-logos img {
  max-height: 80px;
  margin: 10px;
  filter: grayscale(100%);
  transition: filter 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.affiliations-logos img:hover {
  filter: none;
  transform: scale(1.1);
}

footer {
  background-color: #002244;
  color: white;
  padding: 20px 0;
  text-align: center;
}

footer .social-icons a {
  color: white;
  margin: 0 10px;
  font-size: 1.4rem;
  transition: color 0.3s;
}

footer .social-icons a:hover {
  color: #1e90ff;
}

/* Responsive tweaks */
@media (max-width: 767px) {
  .section-content {
    flex-direction: column;
  }

  .section-content .text,
  .section-content .image {
    flex: 1 1 100%;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .hero p {
    font-size: 1.2rem;
  }

  .social-icons {
    display: flex !important;
    justify-content: center;
    gap: 4px !important;
  }

  .social-icons a {
    width: 30px !important;
    height: 30px !important;
    font-size: 16px !important;
    padding: 0 !important;
  }
}