:root {
  --primary-color: #004c97;
  --secondary-color: #4a7c59;
  --accent-color: #d4a574;
  --light-green: #e8f5e8;
  --text-dark: #333;
  --text-light: #666;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
}

/* Custom Bootstrap Colors */
.bg-primary {
  background-color: var(--primary-color) !important;
}

.text-primary {
  color: var(--primary-color) !important;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.bg-accent {
  background-color: var(--accent-color) !important;
}

.text-accent {
  color: var(--accent-color) !important;
}

.btn-accent {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--text-dark);
  font-weight: 600;
}

.btn-accent:hover {
  background-color: #c19660;
  border-color: #c19660;
  color: var(--text-dark);
}

/* Navigation */
.navbar-brand {
  font-size: 1.2rem;
}

.logo-img {
  width: 100px;
  height: 79px;
  object-fit: contain;
}

.navbar-nav .nav-link {
  font-weight: 500;
  margin: 5px 1rem;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 5px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--text-dark) !important;
  background-color: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.navbar-nav .nav-link.active {
  font-weight: 700;
}

.bottem-neve{
 display: flex;
 justify-content: center; 
}
/* icones  */
.icon-wrapper-div{
  display: flex;
  justify-content: center;
}

.icon-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  width: fit-content;
  margin: auto;
}

.icon-wrapper a {
  text-decoration: none;
  color: #333;
  font-size: 24px;
  line-height: 1;
  padding: 8px;
  transition: all 0.3s ease;
  border-radius: 4px;
}

.icon-wrapper a:hover {
  color: #fff;
  background-color: #0077b5; /* You can change this to a different brand color */
  border-radius: 10px 0px 10px 0px;
  transform: scale(1.1) rotate(-3deg);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


/* Slider Section */
/* Slider section container */
.slider-section {
  margin-bottom: 0;
}

/* Carousel item image and dim effect */
.carousel-item {
  height: 85vh; /* 85% of the viewport height */
  filter: brightness(70%); /* Darken the image for better text visibility */
}

.carousel-item img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

/* Carousel caption styling */
.carousel-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Perfect center */
  background: none !important; /* Remove any background */
  text-align: center;
  color: #fff; /* White text for visibility */
  width: 100%;
  padding: 0 15px;
}

/* Heading inside caption */
.carousel-caption h5 {
  font-size: 4rem;
  /* font-weight: 600; */
  /* margin-bottom: 10px; */
  text-shadow: 5px 5px 0 #000, 2px 2px 5px rgba(0,0,0,0.3);
  color: white;
}

/* Paragraph inside caption */
.carousel-caption p {
  font-size: 1.2rem;
  margin: 0;
}

/* Page Header */
.page-header {
  padding-top: 5rem; /* Adjust this value to increase/decrease height */
  padding-bottom: 5rem; /* Adjust this value to increase/decrease height */
  margin-top: 76px;
}

/* Add this to your CSS file */
.about-header {
  padding-top: 6rem !important; /* Taller header for About page */
  padding-bottom: 6rem !important;
  background-size: cover;
  object-fit: cover;
  color: white;
  height: 45vh;
  filter: brightness(80%);
}

.programs-header {
  padding-top: 4rem !important; /* Different height for Programs page */
  padding-bottom: 4rem !important;
}

/* page-text-hader */
.page-text-hader{
  text-shadow: 5px 5px 0 #000, 2px 2px 5px rgba(0,0,0,0.3);
  color: white;
}
/* Page Title */
.py-5 {
  padding-top: 3rem !important; /* Increase this value for more height */
  padding-bottom: 3rem !important; /* Increase this value for more height */
}

.py-5.mt-5 {
  margin-top: 0;
  background-color: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
}

.page-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

/* Section Titles */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent-color);
}

/* Stats Cards */
.stat-card {
  padding: 2rem 1rem;
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-card i {
  font-size: 3rem;
}

.stat-card h3 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 1rem 0 0.5rem;
}

/* Vision & Mission Icons */
.vision-icon,
.mission-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.vision-icon i,
.mission-icon i {
  font-size: 2rem;
  color: white;
}

/* Objectives */
.objective-list {
  max-width: 800px;
  margin: 0 auto;
}

.objective-number {
  width: 50px;
  height: 50px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-right: 1rem;
  flex-shrink: 0;
}

.objective-content {
  flex: 1;
  padding-top: 0.5rem;
}

/* Core Values */
.value-card {
  padding: 2rem 1rem;
  transition: transform 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
}

.value-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  transition: transform 0.3s ease;
}

.value-icon:hover {
  transform: scale(1.1);
}

.value-icon i {
  font-size: 2rem;
  color: white;
}

/* Program Cards */
.program-card {
  background: white;
  color: black;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.program-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.program-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.program-icon i {
  font-size: 1.8rem;
  color: white;
}

.program-card h5 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 600;
}

/* Cross Cutting Themes */
.cross-cutting-list {
  padding: 2rem;
}

.cross-cutting-item {
  display: flex;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
  font-weight: 500;
}

.cross-cutting-item:last-child {
  border-bottom: none;
}

/* Organizational Values */
.org-value-card {
  padding: 1.5rem;
  background: var(--light-green);
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.org-value-card:hover {
  transform: translateY(-3px);
}

.org-value-card i {
  font-size: 2rem;
}

/* Project Status */
.project-status {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.project-status.ongoing {
  background: #28a745;
}

.project-status.completed {
  background: var(--primary-color);
}

.current-project-card {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.project-details-grid .project-detail-item {
  text-align: center;
  padding: 1rem;
}

.project-detail-item i {
  font-size: 1.5rem;
  display: block;
}

.project-detail-item h6 {
  margin: 0.5rem 0;
  font-weight: 600;
}

.project-meta {
  border-top: 1px solid #eee;
  padding-top: 1rem;
  margin-top: 1rem;
}

/* Impact Stats */
.impact-stat {
  padding: 2rem 1rem;
}

.impact-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Partner Cards */
.partner-card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.partner-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.partner-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.partner-icon i {
  font-size: 1.8rem;
  color: white;
}

.partner-card h5 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 600;
}

/* Benefit Cards */
.benefit-card {
  padding: 2rem 1rem;
  transition: transform 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
}

.benefit-icon {
  width: 80px;
  height: 80px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.benefit-icon i {
  font-size: 2rem;
  color: var(--text-dark);
}

/* Contact */
.contact-item {
  padding: 2rem;
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.contact-icon i {
  font-size: 1.5rem;
}

/* Footer */
.footer-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

/* Responsive Design */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .icon-wrapper-div{
    display: block;
  }

  .bottem-neve{
    display: block;
  }

  .logo-mane-div{
    display: flex;
    justify-content: center;
  }
  
  .logo-img{
    height: 103px;
    width: 130px;
  }

  .hero-section .display-4 {
    font-size: 2.5rem;
  }

  .hero-logo {
    width: 80px;
    height: 80px;
  }

  .page-logo {
    width: 80px;
    height: 80px;
  }

  .program-card,
  .partner-card {
    margin-bottom: 2rem;
  }

  .objective-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .page-header {
    padding: 100px 0 60px;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Card Hover Effects */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

/* Button Styles */
.btn {
  border-radius: 25px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
