/* Global Styles */
:root {
  /* Primary Colors */
  --deep-teal: #0f5e87;
  --medium-green: #2e8b57;

  /* Secondary Colors */
  --light-teal: #4abaab;
  --light-green: #8cc63f;

  /* Accent Colors */
  --pale-mint: #d5e8d4;
  --dark-navy: #05384d;

  /* Neutral Colors */
  --off-white: #f5f9f7;
  --light-gray: #e6eaea;
  --charcoal: #333333;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: var(--off-white);
  color: var(--charcoal);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 80px 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 20px;
  color: var(--deep-teal);
}

p {
  margin-bottom: 20px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--deep-teal);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: var(--dark-navy);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-title h2 {
  font-size: 2.5rem;
  display: inline-block;
  padding-bottom: 10px;
  position: relative;
}

.section-title h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 70px;
  height: 3px;
  background-color: var(--light-teal);
}

img {
  max-width: 100%;
  height: auto;
}

/* Header Styles */
header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}

header.scrolled {
  padding: 10px 0;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  margin-right: 10px;
}

.logo h1 {
  font-size: 1.5rem;
  margin: 0;
  color: var(--deep-teal);
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  color: var(--charcoal);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav-links a:hover {
  color: var(--deep-teal);
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section Styles */
.hero {
  padding: 0;
  margin-top: 90px;
  position: relative;
  height: 500px;
  overflow: hidden;
}

.carousel {
  width: 100%;
  height: 100%;
  position: relative;
}

.carousel-inner {
  width: 100%;
  height: 100%;
  position: relative;
}

.carousel-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
  background-size: cover;
  background-position: center;
}

.carousel-item.active {
  opacity: 1;
}

.carousel-content {
  position: absolute;
  top: 50%;
  left: 100px;
  transform: translateY(-50%);
  text-align: left;
  width: 80%;
  z-index: 1;
  color: white;
}

.carousel-content img {
  width: 150px;
  height: 150px;
  margin-bottom: 20px;
}

.carousel-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: white;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.carousel-content p {
  text-align: left;
  font-size: 1.2rem;
  /* max-width: 800px; */
  margin: 0 auto;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(5, 56, 77, 0.5);
}

/* Carousel controls removed as requested */

/* Vision Section Styles */
.vision {
  background-color: white;
}

.vision-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.vision-text h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
  color: var(--deep-teal);
}

.vision-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Committee Section Styles */
.committee {
  background-color: var(--light-gray);
}

.committee-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.committee-member {
  text-align: center;
}

.member-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 5px solid white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-name {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: var(--deep-teal);
}

.member-country {
  font-size: 0.9rem;
  font-weight: bold;
  color: var(--medium-green);
  margin-bottom: 5px;
}

.member-affiliation {
  font-size: 0.9rem;
  color: var(--charcoal);
}

/* News Section Styles */
.news {
  background-color: white;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.news-item {
  background-color: var(--off-white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.news-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.news-image {
  height: 200px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.news-item:hover .news-image img {
  transform: scale(1.1);
}

.news-content {
  padding: 20px;
}

.news-date {
  font-size: 0.8rem;
  color: var(--light-teal);
  margin-bottom: 10px;
}

.news-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--deep-teal);
}

.news-excerpt {
  margin-bottom: 20px;
}

.read-more {
  color: var(--medium-green);
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.read-more:hover {
  color: var(--deep-teal);
}

/* Partners Section Styles */
.partners {
  background-color: var(--light-gray);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  align-items: center;
}

.partner-item {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.partner-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.partner-logo {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logo img {
  max-height: 60px;
  max-width: 100%;
}

/* CTA Section Styles */
.cta {
  background-color: var(--deep-teal);
  color: white;
  text-align: center;
}

.cta h2 {
  color: white;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.social-buttons {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-top: 40px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 150px;
  background-color: white;
  color: var(--deep-teal);
  text-decoration: none;
  border-radius: 50%;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-btn:hover {
  background-color: var(--pale-mint);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.social-btn i {
  font-size: 3rem;
}

/* Footer Styles */
.footer {
  background-color: var(--dark-navy);
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 40px;
}

.footer-about img {
  height: 60px;
  margin-bottom: 20px;
}

.footer-links h3,
.footer-contact h3 {
  color: white;
  margin-bottom: 25px;
  font-size: 1.3rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: var(--light-gray);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links ul li a:hover {
  color: var(--light-teal);
  padding-left: 5px;
}

.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 15px;
}

.footer-contact p i {
  color: var(--light-teal);
  font-size: 1.2rem;
  margin-top: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: var(--light-gray);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .committee-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .section-title h2 {
    font-size: 2rem;
  }

  .vision-content {
    grid-template-columns: 1fr;
  }

  .vision-image {
    order: -1;
  }

  .committee-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 90px;
    left: -100%;
    flex-direction: column;
    background-color: white;
    width: 100%;
    height: calc(100vh - 90px);
    padding: 20px;
    transition: all 0.3s ease;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links li {
    margin: 15px 0;
  }

  .carousel-content {
    left: 30px;
  }

  .carousel-content h1 {
    font-size: 2rem;
  }

  .carousel-content p {
    font-size: 1rem;
  }

  .social-buttons {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .social-btn {
    width: 120px;
    height: 120px;
  }
}

@media (max-width: 576px) {
  .committee-grid {
    display: block;
  }

  .committee-member {
    display: flex;
    align-items: center;
    text-align: left;
    margin-bottom: 25px;
    gap: 15px;
  }

  .member-image {
    width: 80px;
    height: 80px;
    margin: 0;
    flex-shrink: 0;
  }

  .member-info {
    flex-grow: 1;
  }

  .member-name {
    margin-bottom: 3px;
    font-size: 1.1rem;
  }

  .member-country {
    margin-bottom: 3px;
    font-size: 0.85rem;
  }

  .member-affiliation {
    font-size: 0.85rem;
  }

  .partners-grid {
    grid-template-columns: 1fr;
  }

  .carousel-content img {
    width: 120px;
    height: 120px;
  }

  .carousel-content h1 {
    font-size: 1.8rem;
  }
}
