/* Global Styles */
:root {
    --primary: #283185;
    --secondary: #ef5300;
    --accent: #ffab00;
    --light: #f5f5f5;
    --dark: #333;
    --text: #444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: var(--text);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    /* margin-top: -150px; */
    padding: 0 15px;
}

.programs .container{
    margin-top: -150px;
}

section {
    padding: 60px 0;
}

/* h2, h3, h4 {
    color: var(--dark);
    margin-bottom: 20px;
} */

h1, h2, h3, h4 {
    color: var(--dark);
    margin-bottom: 20px;
}

h1 {
    font-size: 2.5rem;
    color: #f5f5f5;
}

h2 {
    font-size: 2rem;
    color: var(--primary);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary);
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    background: var(--primary);
    color: white;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    color: #f5f5f5;
}

.btn-secondary {
    background: var(--primary);
}

.btn-secondary:hover {
    background: var(--secondary);
}

.text-center {
    text-align: center;
    font-weight:500
}

/* Header Styles */
header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    margin-left: 40px;
    color: var(--primary);
}

.logo span {
    color: var(--secondary);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-weight: 600;
}

nav ul li a.active {
    color: var(--secondary); /* Blue color, change as needed */
    font-weight: bold;
    /* border-bottom: 2px solid var(--primary); underline effect */
}



/* .mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
} */

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    color: white;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0; /* Remove padding so slider fills full height */
}

/* Slider Background */
.slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80%;
    z-index: 0;
    overflow: hidden;
}

.slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

/* Content in Hero */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: white;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    color: white;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Stats Section */
.stats {
    background: var(--light);
    padding: 40px 0;
}


.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 20px;
    flex: 1;
    min-width: 200px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.stat-text {
    font-size: 1.1rem;
    color: var(--text);
}   


/* For navigation links */
nav ul li a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    
}


/* Oval-Shaped Navigation */
#navbar ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

#navbar li {
  margin: 0 10px;
}

#navbar a {
  /* color: #495057; */
  text-decoration: none;
  font-weight: 600;
  padding: 10px 15px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

#navbar a:hover, 
#navbar a.active {
  background: #ef5300;
  color: white;
}

/* Specific style for Home when active */
#navbar a.active[href="index.php"] {
  background: #ef5300;
  color: white;
}

/* Hamburger Menu */
.hamburger-menu {
  display: none;
  cursor: pointer;
  margin-right: 400px;
  margin-top: -25px;
  /* padding: 5px; */
  z-index: 1001;
}


  
  .hamburger-icon {
      width: 30px;
      height: 20px;
      position: relative;
      transform: rotate(0deg);
      transition: .5s ease-in-out;
  }
  
  .hamburger-icon .line {
      display: block;
      position: absolute;
      height: 3px;
      width: 100%;
      background: var(--primary);
      border-radius: 3px;
      opacity: 1;
      left: 0;
      transform: rotate(0deg);
      transition: .25s ease-in-out;
  }
  
  .hamburger-icon .line:nth-child(1) {
      top: 0;
  }
  
  .hamburger-icon .line:nth-child(2),
  .hamburger-icon .line:nth-child(3) {
      top: 10px;
  }
  
  .hamburger-icon .line:nth-child(4) {
      top: 20px;
  }
  
  .hamburger-icon.active .line:nth-child(1) {
      top: 10px;
      width: 0%;
      left: 50%;
  }
  
  .hamburger-icon.active .line:nth-child(2) {
      transform: rotate(45deg);
  }
  
  .hamburger-icon.active .line:nth-child(3) {
      transform: rotate(-45deg);
  }
  
  .hamburger-icon.active .line:nth-child(4) {
      top: 10px;
      width: 0%;
      left: 50%;
  }
  
  /* Responsive Styles */
  @media (max-width: 992px) {
      #navbar a {
          padding: 8px 12px;
          font-size: 14px;
      }
  }
  
  @media (max-width: 768px) {
      .hamburger-menu {
          display: block;
      }
      
      #navbar {
          position: fixed;
          top: 0;
          left: -100%;
          width: 80%;
          height: 100vh;
          background: linear-gradient(145deg, #f8f9fa, #e9ecef);
          box-shadow: 10px 0 30px rgba(0, 0, 0, 0.1);
          transition: all 0.5s ease;
          padding-top: 80px;
          border-radius: 0 20px 20px 0;
      }
      
      #navbar.active {
          left: 0;
      }
      
      #navbar ul {
          flex-direction: column;
          background: transparent;
          box-shadow: none;
          padding: 0;
          border-radius: 0;
      }
      
      #navbar li {
          margin: 10px 0;
          width: 100%;
      }

      .logo {
        font-size: 1.8rem;
        font-weight: 700;
        margin-left: 250px;
        color: var(--primary);

      }
      
      #navbar a {
          display: block;
          border-radius: 0;
          padding: 15px 30px;
          background: transparent !important;
          color: var(--primary) !important;
          border-left: 4px solid transparent;
      }
      
      #navbar a:hover, 
      #navbar a.active {
          background: linear-gradient(145deg, #ef5300, #ef5300) !important;
          color: white !important;
          border-left: 4px solid #fff;
          box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1);
      }
  }

/* Programs Section */
.programs {
    padding: 60px 0;
}

.programs-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.program-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.program-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.program-content {
    padding: 25px;
}

.program-content h3 {
    color: var(--primary);
}

/* About Page */
.about-hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1488521787991-ed7bbaae773c?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 150px 0 80px;
}

.about-content {
    display: inline-grid;
    /* grid-template-columns: 1fr 1fr; */
    gap: 40px;
    align-items: center;
}

.about-content h2{
    text-align: center;
}


.about-img {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.about-img img {
    width: 100%;
    height: auto;
    display: block;
}

.divide-section {
    background: var(--light);
    padding: 40px 0;
    margin: 60px 0;
}



/* VMGO Page */
.vmgo-hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 150px 0 80px;
}

.vmgo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.vmgo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.vmgo-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.vmgo-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.thematic-areas {
    margin-top: 60px;
}

.thematic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.thematic-item {
    background: var(--primary);
    color: white;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
}

/* Core Values Page */
.values-hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 150px 0 80px;
}

.values-grid {
    display: inline-grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.value-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

/* Strategic Approach Page */
.strategy-hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1521791136064-7986c2920216?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 150px 0 80px;
} 


.strategy-img {
    border-radius: 10px;
    overflow: hidden;
    height: 80%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.strategy-img img {
    width: 100%;
    height: auto;
    display: block;
} 

.strategy-item {
    display: inline-grid;
    /* grid-template-columns: 1fr 1fr; */
    gap: 40px;
    align-items: center;
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    /* text-align: center; */
    margin: 20px;
    transition: all 0.3s ease;
}

.strategy-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

.strategy-item h3{
    color: var(--primary);
}


 .strategy-container p{
    font-weight: 480;
}


.strategy-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

/* Team Page */
.team-hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 150px 0 80px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.team-img {
    height: 250px;
    margin: 8px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.team-content {
    padding: 25px;
    text-align: center;
}

.team-content h3 {
    color: var(--primary);
}

.team-content p {
    /* color: var(--secondary); */
    color: black;
    font-weight: 600;
}

/* Contact Page */
.contact-hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1486312338219-ce68d2c6f44d?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 150px 0 80px;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info {
    background: var(--light);
    padding: 30px;
    border-radius: 10px;
}

.contact-info h3 {
    color: var(--primary);
    margin-bottom: 20px;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-details p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.contact-details i {
    margin-right: 10px;
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.contact-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}
.g-recaptcha {
    margin: 20px 0;
}

/* wrapper to center the map container */
  .map-wrapper {
    display: flex;
    justify-content: center;
    padding: 20px 0;      /* optional vertical spacing */
  }

.map-container {
    position: relative;
    max-width: 100%;
    padding-bottom: 75%; /* 4:3 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
  }

  .map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
  }

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #ccc;
}

.footer-col ul li a:hover {
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #aaa;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-content,
    .contact-container,
    .strategy-item {
        grid-template-columns: 1fr;
    }

    .strategy-item {
        grid-template-columns: 1fr;
    }
    
    
    .strategy-item:nth-child(even) .strategy-content {
        order: 1;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul {
        margin-top: 20px;
        flex-direction: column;
        align-items: center;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-btns {
        flex-direction: column;
        align-items: center;
    }
    
    .mobile-menu {
        display: block;
    }
    
    nav ul {
        display: none;
    }
    
    nav ul.show {
        display: flex;
    }

    .stats-container {
        flex-direction: column;
    }
    
    .stat-item {
        margin-bottom: 20px;
    }

}