: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 (Banner) */
.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;
  gap: 20px;
  z-index: 10;
}
.hero h1 {
  font-size: 48px;
  font-weight: bold;
  margin: 0;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-family: "Montserrat", sans-serif;
}
.hero-buttons {
  display: flex;
  gap: 20px;
}
.hero-join-btn {
  background-color: var(--primary-color);
}
.hero-join-btn:hover {
  background-color: #0a3d6d;
}
.hero-donate-btn {
  background-color: var(--secondary-color);
}
.hero-donate-btn:hover {
  background-color: #d43a2f;
}
.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;
}

@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;
}
@media (max-width: 576px) {
  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }
}

.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;
  font-family: "Montserrat", sans-serif;
}
.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;
}

.feature-card,
.overview-card,
.board-card,
.leader-card {
  background-color: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px var(--shadow-color);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  text-align: center;
}
.feature-card:hover,
.overview-card:hover,
.board-card:hover,
.leader-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}
.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,
.overview-content,
.board-content {
  padding: 30px 25px;
  flex-grow: 1;
}
.feature-content h3,
.overview-content h3,
.board-content h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-family: "Montserrat", sans-serif;
}
.feature-content p,
.overview-content p,
.board-content p {
  font-size: 15px;
  color: #666;
  line-height: 1.7;
}

.features {
  padding: 80px 0;
  background-color: var(--light-color);
}
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
  justify-content: space-between;
}
.feature-card {
  flex: 1 1 30%;
  min-width: 280px;
  display: flex;
  flex-direction: column;
}
.feature-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
@media (max-width: 992px) {
  .feature-card {
    flex: 1 1 45%;
  }
}
@media (max-width: 768px) {
  .feature-card {
    flex: 1 1 100%;
  }
}

.overview-section {
  padding: 80px 0;
  background-color: #fff;
}
.overview-card {
  max-width: 600px;
  margin: 0 auto;
}
.overview-card img {
  width: 100px;
  height: 100px;
  margin: 20px auto;
  border-radius: 10px;
}

.callback-section {
  padding: 80px 0;
  background-color: var(--secondary-color);
  color: white;
}
.callback-section .section-header h2 {
  color: white;
}
.callback-section .section-header h2::after {
  background-color: var(--primary-color);
}
.callback-section .section-header p {
  color: rgba(255, 255, 255, 0.9);
}
.callback-form {
  padding: 30px;
  background-color: var(--card-bg);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  max-width: 600px;
  margin: 0 auto;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--dark-color);
  font-family: "Montserrat", sans-serif;
}
.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;
}

.objectives-section {
  padding: 100px 0;
  background-color: #fff;
}
.objectives-timeline {
  max-width: 800px;
  margin: 40px auto 0;
  position: relative;
}
.objectives-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background-color: var(--primary-color);
  transform: translateX(-50%);
}
.timeline-item {
  margin-bottom: 40px;
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.timeline-item:nth-child(odd) {
  justify-content: flex-start;
}
.timeline-item:nth-child(even) {
  justify-content: flex-end;
}
.timeline-content {
  width: 45%;
  background-color: var(--card-bg);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 5px 15px var(--shadow-color);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.timeline-content:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.timeline-content p {
  font-size: 15px;
  color: #666;
  line-height: 1.7;
  margin: 0;
}
.timeline-item::before {
  content: "";
  position: absolute;
  width: 30px;
  height: 30px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 16px;
  font-weight: bold;
  font-family: "Montserrat", sans-serif;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 1;
  left: 50%;
  transform: translateX(-50%);
}
.timeline-item:nth-child(1)::before {
  content: "A";
}
.timeline-item:nth-child(2)::before {
  content: "B";
}
.timeline-item:nth-child(3)::before {
  content: "C";
}
.timeline-item:nth-child(4)::before {
  content: "D";
}
.timeline-item:nth-child(5)::before {
  content: "E";
}
.timeline-item:nth-child(6)::before {
  content: "F";
}
.timeline-item:nth-child(7)::before {
  content: "G";
}
.timeline-item:nth-child(8)::before {
  content: "H";
}
.timeline-item:nth-child(9)::before {
  content: "I";
}
.timeline-item::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: var(--primary-color);
  border-radius: 50%;
  left: 50%;
  transform: translateX(-50%);
  top: 50%;
  z-index: 0;
}
.timeline-item:nth-child(odd)::after {
  left: calc(50% + 20px);
}
.timeline-item:nth-child(even)::after {
  left: calc(50% - 20px);
}
.timeline-content::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 20px;
  height: 2px;
  background-color: var(--primary-color);
}
.timeline-item:nth-child(odd) .timeline-content::before {
  right: -20px;
}
.timeline-item:nth-child(even) .timeline-content::before {
  left: -20px;
}
@media (max-width: 768px) {
  .objectives-timeline::before {
    left: 30px;
  }
  .timeline-item {
    justify-content: flex-start;
  }
  .timeline-item:nth-child(even) {
    justify-content: flex-start;
  }
  .timeline-item::before {
    left: 30px;
    transform: none;
  }
  .timeline-item::after {
    left: 25px;
  }
  .timeline-item:nth-child(odd)::after,
  .timeline-item:nth-child(even)::after {
    left: 25px;
  }
  .timeline-content {
    width: calc(100% - 60px);
    margin-left: 60px;
  }
  .timeline-item:nth-child(odd) .timeline-content::before {
    right: auto;
    left: -20px;
  }
  .timeline-item:nth-child(even) .timeline-content::before {
    left: -20px;
  }
  .timeline-item::before {
    width: 25px;
    height: 25px;
    font-size: 14px;
  }
}

.leadership-section,
.board-section {
  padding: 80px 0;
  background-color: var(--light-color);
}
.leadership-grid,
.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.leader-card img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 20px auto;
  object-fit: cover;
}
.leader-card h4,
.board-card h4 {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-family: "Montserrat", sans-serif;
}
.leader-card p,
.board-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 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;
}

@media (max-width: 992px) {
  .hero {
    height: 400px;
  }
  .hero h1 {
    font-size: 36px;
  }
  .hero-slider .swiper-slide img {
    height: 400px;
  }
  .features-grid,
  .counter-grid {
    flex-wrap: wrap;
  }
  .leadership-grid,
  .board-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .features-grid,
  .counter-grid {
    flex-direction: column;
  }
  .leadership-grid,
  .board-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 576px) {
  .hero {
    height: 350px;
  }
  .hero h1 {
    font-size: 30px;
  }
  .hero-slider .swiper-slide img {
    height: 350px;
  }
  .section-header h2 {
    font-size: 30px;
  }
  .callback-form {
    padding: 20px;
  }
}
