:root {
  --primary-color: #0d4b87;
  --secondary-color: #e94a3f;
  --accent-color: #3498db;
  --light-color: #f8f9fa;
  --dark-color: #343a40;
  --text-color: #333;
  --card-bg: #ffffff;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --white: #ffffff;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
body {
  line-height: 1.6;
  color: var(--text-color);
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}
ul {
  list-style: none;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}
/* Top Bar */
.top-bar {
  background-color: var(--primary-color);
  color: white;
  padding: 10px 0;
  font-size: 14px;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.contact-info,
.contact-email {
  display: flex;
  align-items: center;
  gap: 20px;
}
.contact-info a,
.contact-email a {
  color: white;
}
.contact-info a:hover,
.contact-email a:hover {
  color: var(--light-color);
}
.contact-email i {
  font-size: 16px;
}
/* Navbar */
.main-nav {
  background-color: white;
  transition: all 0.3s ease;
}
.main-nav.shadow {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.navbar-brand {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.2;
  cursor: pointer;
}
.navbar-brand:hover {
  color: inherit;
}
.navbar-brand img {
  height: 50px;
  width: auto;
  margin-right: 10px;
}
.navbar-nav .nav-link {
  color: var(--dark-color);
  font-weight: 600;
  padding: 1rem 1.2rem !important;
  font-family: "Montserrat", sans-serif;
  transition: all 0.3s ease;
  position: relative;
  cursor: pointer;
}
@media (min-width: 992px) {
  .navbar-nav .nav-link:hover::after,
  .navbar-nav .nav-link.active::after {
    content: "";
    position: absolute;
    width: 70%;
    height: 2px;
    background-color: var(--primary-color);
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s ease;
  }
  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link.active {
    color: var(--dark-color);
  }
}
@media (max-width: 991px) {
  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link.active {
    color: var(--dark-color);
  }
}
@media (max-width: 768px) {
  .top-bar .container {
    flex-direction: column;
    gap: 10px;
  }
  .contact-info {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .contact-email {
    margin-top: 5px;
  }
  .navbar-nav {
    background-color: white;
    padding: 10px;
  }
  .navbar-nav .nav-link {
    padding: 10px !important;
    border-bottom: 1px solid #eee;
  }
  .navbar-nav .nav-item:last-child .nav-link {
    border-bottom: none;
  }
}
/* Hero */
.hero {
  position: relative;
  height: 600px;
  color: white;
  display: flex;
  align-items: center;
  text-align: center;
}
.hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
}
.hero h1 {
  font-size: 48px;
  margin: 30px 0;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.hero-join-btn {
  background-color: var(--primary-color);
  margin-bottom: 20px;
}
.hero-join-btn:hover {
  background-color: #0a3d6d;
}
.hero-donate-btn {
  margin-top: 20px;
}
.btn {
  display: inline-block;
  background-color: var(--secondary-color);
  color: white;
  padding: 12px 30px;
  border-radius: 5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease,
    box-shadow 0.3s ease;
}
.btn:hover {
  background-color: #d43a2f;
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}
.btn-primary:hover {
  background-color: #0a3c6d;
  border-color: #0a3c6d;
  transform: translateY(-3px) scale(1.1);
}
.hero-slider {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}
.hero-slider .swiper-slide img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 5;
}
.swiper-pagination-bullet {
  background: white;
  opacity: 0.7;
}
.swiper-pagination-bullet-active {
  background: var(--secondary-color);
  opacity: 1;
}
/* Hero Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-content.animate-on-load .hero-join-btn {
  animation: fadeInUp 0.8s ease-out 0.5s forwards;
  opacity: 0;
}
.hero-content.animate-on-load h1 {
  animation: fadeInUp 0.8s ease-out 1s forwards;
  opacity: 0;
}
.hero-content.animate-on-load .hero-donate-btn {
  animation: fadeInUp 0.8s ease-out 1.5s forwards;
  opacity: 0;
}
/* Programs */
.programs {
  padding: 80px 0;
  background-color: #fff;
  position: relative;
  overflow: hidden;
}
.programs::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(13, 75, 135, 0.03);
  z-index: 0;
}
.programs .container {
  position: relative;
  z-index: 1;
}
.section-header {
  text-align: center;
  margin-bottom: 50px;
}
.section-header h2 {
  font-size: 36px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}
.section-header h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 80px;
  height: 3px;
  background-color: var(--secondary-color);
  transform: translateX(-50%);
}
.section-header p {
  max-width: 700px;
  margin: 0 auto;
  color: #666;
}
.programs-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 20px;
}
.programs-slider {
  margin-top: 20px;
  display: none;
}
.swiper-wrapper {
  transition-timing-function: linear;
}
@media (min-width: 992px) {
  .programs-grid {
    display: none;
  }
  .programs-slider {
    display: block;
  }
}

.program-card:hover .program-icon {
  transform: scale(1.1);
}
.program-card {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s ease-out, box-shadow 0.4s ease-out;
  will-change: transform;
  margin-bottom: 20px;
}
.program-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}
.program-header {
  background-color: var(--primary-color);
  padding: 25px 20px;
  position: relative;
  text-align: center;
}
.program-icon {
  width: 70px;
  height: 70px;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  color: var(--primary-color);
  font-size: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 2;
  transition: all 0.3s ease-out;
}
.program-content {
  padding: 30px 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.program-content h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
  text-align: center;
}
.program-content p {
  font-size: 15px;
  color: #666;
  line-height: 1.7;
  flex-grow: 1;
}
.swiper-button-next,
.swiper-button-prev {
  color: var(--primary-color);
  background-color: rgba(255, 255, 255, 0.8);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: all 0.3s ease;
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: var(--primary-color);
  color: white;
}
.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 20px;
}
/* Welcome Section */
.welcome-section {
  padding: 80px 0;
  background-color: var(--light-color);
}
.welcome-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.welcome-content h3 {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 10px;
}
.welcome-content h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 3px;
  background-color: var(--secondary-color);
}
.welcome-content p {
  font-size: 15px;
  color: #666;
}
.facebook-embed {
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
}
.facebook-embed iframe {
  width: 100%;
  height: 400px;
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
@media (min-width: 576px) {
  .facebook-embed iframe {
    height: 500px;
  }
}
/* Info Bar */
.info-bar {
  background-color: var(--secondary-color);
  color: white;
  padding: 40px 0;
  text-align: center;
}
.info-bar h3 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}
.info-bar .btn-primary {
  background-color: #ae372f;
}
/* Features */
.features {
  padding: 80px 0;
  background-color: var(--light-color);
}
.features-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 30px;
  margin-top: 40px;
}
.feature-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  flex: 1;
}
.feature-card:hover {
  transform: translateY(-10px);
}
.feature-icon {
  width: 80px;
  height: 80px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px auto;
  color: white;
  font-size: 28px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.feature-content {
  padding: 30px 25px;
  text-align: center;
}
.feature-content h3 {
  font-size: 22px;
  margin-bottom: 15px;
  font-weight: 600;
  color: var(--primary-color);
}
.feature-content p {
  font-size: 15px;
  color: #666;
  margin-bottom: 20px;
}
/* Stats Section */
.stats-section {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 60px 0;
}
.stat-item {
  text-align: center;
}
.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.stat-text {
  font-size: 1.1rem;
  font-family: "Montserrat", sans-serif;
}
/* Leadership Section */
.leadership-section {
  padding: 80px 0;
  background-color: #fff;
}
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.leader-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-align: center;
}
.leader-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}
.leader-card img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 20px auto;
  object-fit: cover;
}
.leader-card h4 {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}
.leader-card p {
  font-size: 15px;
  color: #666;
  margin-bottom: 15px;
}
.leader-profile {
  font-size: 14px;
  color: #666;
  padding: 0 20px 15px;
  line-height: 1.5;
}
.leader-social {
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 15px;
}
.leader-social a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  background-color: rgba(13, 75, 135, 0.1);
  border-radius: 50%;
  color: var(--primary-color);
  font-size: 14px;
  transition: all 0.3s;
}
.leader-social a:hover {
  background-color: var(--secondary-color);
  color: white;
}
/* Counter Section */
.counter-section {
  padding: 80px 0;
  background-image: url("images/conference-presentation-1.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}
.counter-section h2 {
  color: white;
}
.counter-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.05);
  z-index: 0;
}
.counter-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 75, 135, 0.6);
  z-index: 0;
}
.counter-section .container {
  position: relative;
  z-index: 1;
}
.counter-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 30px;
  margin-top: 40px;
}
.counter-item {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease;
  flex: 1;
}
.counter-item:hover {
  transform: translateY(-10px);
}
.counter-item i {
  font-size: 30px;
  color: var(--primary-color);
  margin-bottom: 15px;
}
.counter-item h3 {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}
.counter-item p {
  font-size: 15px;
  color: #666;
}
/* CTA Section */
.cta-section {
  padding: 60px 0;
  background-color: var(--primary-color);
  color: white;
  text-align: center;
}
.cta-section .btn-primary {
  background-color: var(--secondary-color);
}
.cta-content {
  max-width: 700px;
  margin: 0 auto;
}
.cta-content h2 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
}
.cta-content p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
}
/* Contact Section */
.contact-section {
  padding: 80px 0;
  background-color: #f5f5f5;
}
.contact-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}
.contact-info-box h3 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 25px;
  color: var(--primary-color);
  position: relative;
  padding-bottom: 15px;
}
.contact-info-box h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 3px;
  background-color: var(--secondary-color);
}
.contact-details {
  margin-top: 30px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}
.contact-icon {
  min-width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
}
.contact-text h4 {
  font-size: 18px;
  margin-bottom: 5px;
}
.contact-text p,
.contact-text a {
  color: #666;
  font-size: 15px;
}
.contact-text a:hover {
  color: var(--primary-color);
}
.contact-form {
  padding: 30px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--dark-color);
}
.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 15px;
  transition: border-color 0.3s;
}
.form-control:focus {
  border-color: var(--primary-color);
  outline: none;
}
textarea.form-control {
  height: 120px;
  resize: vertical;
}

@media (max-width: 992px) {
  .hero {
    height: 400px;
  }
  .hero h1 {
    font-size: 36px;
  }
  .hero-slider .swiper-slide img {
    height: 400px;
  }
  .features-grid {
    flex-wrap: wrap;
  }
  .counter-grid {
    flex-wrap: wrap;
  }
  .welcome-wrapper {
    grid-template-columns: 1fr;
  }
  .leadership-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .features-grid,
  .counter-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .leadership-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 32px;
    margin: 20px 0;
  }

  .counter-item {
    padding: 15px 10px;
  }

  .welcome-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .contact-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
}
@media (max-width: 576px) {
  .hero {
    height: 350px;
  }
  .hero h1 {
    font-size: 30px;
  }
  .hero p {
    font-size: 16px;
  }
  .hero-slider .swiper-slide img {
    height: 350px;
  }
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  .section-header h2 {
    font-size: 28px;
  }

  .hero-content {
    padding: 0 10px;
  }

  .btn {
    padding: 10px 20px;
  }

  .contact-item {
    gap: 10px;
  }
}
