/* Reset default spacing and box model */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #f8f8f8;
  font-weight: 505;
}

/* Header Container */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #120404;
  flex-wrap: wrap;
  border-bottom: 1px solid #ddd;
  height: 80px;
  width: 100%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.hero-main {
  margin-top: 80px;
}

/* Logo + Title */
.header__logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.header__logo img.logo {
  height: 60px;
  width: auto;
}

.header__logo h1 {
  font-size: 1.5rem;
  color: #fff;
}

/* Navigation */
.navigation {
  display: flex;
  justify-content: flex-end;
  flex: 1;
  transition: all 0.3s ease;
}

.header_nav .nav_links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

/* Active Link Style */
.nav_links a.active {
  border-bottom: 2px solid #accd05;
  color: #007b5e;
  font-weight: 505;
}







.header_nav .nav_links li a {
  text-decoration: none;
  color: #fff;
  font-weight: 100;
  transition: color 0.3s ease;
  padding: 0.5rem;
  font-size: 1rem;
}

.header_nav .nav_links li a:hover {
  color: #cced0c;
}

/* Hamburger Menu Button */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: #fff;
  border-radius: 2px;
  transition: 0.4s ease;
  transform-origin: center;
}

/* Hamburger Animation */
.hamburger.active .top {
  transform: rotate(45deg) translateY(11px);
}

.hamburger.active .middle {
  opacity: 0;
}

.hamburger.active .bottom {
  transform: rotate(-45deg) translateY(-11px);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .navigation {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 1rem;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background-color: #fff;
    z-index: 999;
    padding: 1rem 2rem;
    border-top: 1px solid #ddd;
  }

  .hamburger {
    display: flex;
    margin-left: auto;
  }

  .navigation.active {
    display: flex;
  }

  .header_nav .nav_links {
    flex-direction: column;
    width: 100%;
    gap: 0.3rem;
    padding: 1rem 0;
  }

  .header_nav .nav_links li {
    width: 100%;
  }

  .header_nav .nav_links li a {
    display: block;
    padding: 0.75rem 1rem;
    width: 100%;
    background-color: #f7f7f7;
    font-size: 1rem;
    color: #060101;
    font-weight: 200;
    text-align: center;
  }

  .header_nav .nav_links li a:hover {
    background-color: #007b5e;
    color: #fff;
  }

  .header__logo h1 {
    font-size: 1.1rem;
  }

  .header {
    flex-direction: column;
    align-items: flex-start;
  }
  /* Active Link Style */
.nav_links a.active {
  border-bottom: 2px solid #111307;
  color: #007b5e;
  font-weight: 505;
}

}

@media (min-width: 1025px) {
  .header {
    flex-direction: row;
  }

  .header__logo {
    justify-content: flex-start;
    flex: 1;
  }


  .navigation {
    justify-content: flex-end;
    flex: 1;
    display: flex !important;
    position: static;
    background: none;
    padding: 0;
  }

  .header_nav .nav_links {
    justify-content: flex-end;
    flex-direction: row;
    gap: 1.5rem;
    padding: 0;
  }
}



/* Media Queries for Smaller Screen */
@media (max-width: 480px) {
  .header__logo h1 {
    font-size: 1.1rem;
  }

  .header {
   height: 90px;
   width: 100%;
  }

  .header__logo img.logo {
    height: 5rem;
    width: auto;
  }
  
.header_nav .nav_links {
  gap: 0.1rem;
  padding: 5px;
}

  .header_nav .nav_links li a {
    font-size: 1rem;
    text-decoration: none;
    color: #0c0101;
    font-weight: 100;
    transition: color 0.3s ease;
    padding: 0.75rem 1rem;
    display: block;
    background-color: #f7f7f7;
    width: 100%;
  }

  .hamburger {
  margin-top: 14px;
  }

  .navigation {
    top: 90px;
  }

  .nav_links a.active-link {
    border-bottom: 2px solid #060604;
    color: #007b5e;
  }
}




/* hero section begins*/

.hero {
background: url('../images/group-photo-5.jpg') ;
min-height: 90vh;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
padding: 2rem;
color: #fff;
position: relative;
background-position:  center; 
background-size: cover;
background-repeat: no-repeat;
}

.hero::after {
content: "";
position: absolute;
top: 0; left: 0;
width: 100%;
height: 100%;
background: rgba(0,0,0,0.5); 
z-index: 0;
}

.hero-content {
position: relative;
z-index: 1;
max-width: 800px;
margin: auto;
}

.hero h1 {
font-size: 2rem;
margin-bottom: 1rem;
text-indent: 0px;
}

.hero p {
font-size: 1.2rem;
margin-bottom: 2rem;
}

.hero-buttons {
display: flex;
justify-content: center;
gap: 1rem;
flex-wrap: wrap;
}

.btn {
background-color: #007b5e;
color: #fff;
padding: 0.75rem 1.5rem;
border: none;
border-radius: 4px;
font-weight: bold;
text-decoration: none;
transition: background 0.3s ease;
}

.btn:hover {
background-color: #014837;
}

.btn-secondary {
background-color: #fff;
color: #007b5e;
border: 2px solid #007b5e;
}

.btn-secondary:hover {
background-color: #007b5e;
color: #fff;
}

/* Responsive Hero */
@media (max-width: 768px) {
.hero h1 {
    font-size: 2rem;
}

.hero {
  background: url('../images/awards-photo-15.jpg') ;
  min-height: 90vh;
  width: 100v;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  color: #fff;
  position: relative;
  background-position:  center;  
  background-size: cover;
  background-repeat: no-repeat;
  }




.hero p {
    font-size: 1.4rem;
}
.hero h1 {
  font-size: 2.2rem;
}

.hero-buttons {
    flex-direction: column;
}

.btn, .btn-secondary {
    width: 100%;
    max-width: 300px;
}
}

/* Extra small screens */
@media (max-width: 480px) {
.hero {
  padding: px;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.btn,
.btn-secondary {
  padding: 0.65rem 1rem;
  font-size: 0.95rem;
}
}


/* about brief section  begins */

.about-section {
  padding: 4rem 2rem; 
  background-color: #fefefe; 
  border: 1px solid #ccc; 
  border-radius: 8px; 
}


.about-container {
display: flex;
flex-wrap: wrap;
align-items: center;
max-width: 1200px;
margin: auto;
gap: 2rem;
}

.about-text {
flex: 1;
}

.about-text h2 {
font-size: 2rem;
color: #007b5e;
margin-bottom: 1rem;
text-decoration: underline;
}

.about-text p {
font-size: 1rem;
color: #555;
line-height: 1.6;
}

.btn-about {
display: inline-block;
margin-top: 1.5rem;
padding: 0.75rem 1.5rem;
background-color: #007b5e;
color: #fff;
text-decoration: none;
border-radius: 5px;
transition: background-color 0.3s ease;
}

.btn-about:hover {
background-color: #005f47;
}

.about-image {
flex: 1;
text-align: center;
}

.about-image img {
width: 100%;
max-width: 500px;
border-radius: 10px;
}

@media (max-width: 480px) {
  .about-text p {
    font-size: 1rem;
    color: #555;
    line-height: 1.3;
    }
    .about-text h2 {
      font-size: 1.5rem;
      color: #007b5e;
      margin-bottom: 1rem;
      text-decoration: underline;
      }
}

@media (max-width: 768px) {
  .about-container {
      flex-direction: column; 
      align-items: center; 
  }
}


/* A brief program section begins*/
.programs-section {
padding: 3rem 1rem;
background-color: #ffffff;
}

.programs-container {
max-width: 1200px;
margin: 0 auto;
text-align: center;;
}

.section-title {
font-size: 2rem;
color: #007b5e;
margin-bottom: 1rem;
text-decoration: underline;
}

.programs-intro {
font-size: 1rem;
color: #555;
margin-bottom: 2.5rem;
max-width: 700px;
margin-left: auto;
margin-right: auto;
padding: 0 1rem;
text-align: left;
}

.programs-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 1.5rem;
padding: 0 1rem;
}

.program-card {
background-color: #f9f9f9;
border: 1px solid #ddd;
padding: 1.5rem;
border-radius: 10px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
transition: transform 0.3s ease;
}

.program-card:hover {
transform: translateY(-5px);
}

.program-card h3 {
color: #007b5e;
font-size: 1.3rem;
margin-bottom: 0.8rem;
}

.program-card p {
font-size: 1rem;
margin-bottom: 0.6rem;
color: #333;
text-align: left;
}

.program-card span {
font-size: 1rem;
color: #333;
display: block;
margin-top: 0.4rem;
text-align: left;
}

.programs-cta {
margin-top: 2.5rem;
}

.cta-btn {
background-color: #007b5e;
color: #fff;
padding: 0.8rem 1.5rem;
font-weight: bold;
text-decoration: none;
border-radius: 6px;
transition: background-color 0.3s ease;
}

.cta-btn:hover {
background-color: #005f46;
}

/* ✅ Small screen optimization: max-width 480px */
@media (max-width: 480px) {
.section-title {
  font-size: 1.5rem;
}

.programs-intro {
  font-size: 0.85rem;
  padding: 0 0.5rem;
}

.programs-grid {
  grid-template-columns: 1fr;
  padding: 0;
}

.program-card {
  padding: 1rem;
}

.program-card h3 {
  font-size: 1.2rem;
}

.program-card p,
.program-card span {
  font-size: 0.85rem;
}

.cta-btn {
  padding: 0.6rem 1rem;
  font-size: 1rem;
}
}



/* a brief testimonial section  begins*/

.testimonials {
  background-color: #fefefe; 
  padding: 4rem 1rem; 
  text-align: center; 
  border: 1px solid #140c0c; 
  border-radius: 8px 5px; 
}


.testimonials h2 {
font-size: 2rem;
margin-bottom: 2rem;
color: #007b5e;
text-decoration: underline;
}

.testimonial-cards {
display: flex;
gap: 2rem;
flex-wrap: wrap;
justify-content: center;
}

.testimonial-card {
background-color: #004e2a;
padding: 2rem;
border-radius: 12px;
max-width: 300px;
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
transition: transform 0.3s ease;
}

.testimonial-card:hover {
transform: translateY(-5px);
}

.testimonial-card p {
font-style: italic;
margin-bottom: 1.2rem;
color: #fff;
font-size: 0.9rem;
}

.testimonial-card h4 {
color: #fff;
font-weight: 600;
font-size: 0.9rem;
}

.stars {
  color: gold;
  font-size: 1.2rem;
  margin: 0.5rem 0;
}

.view-more {
  display: inline-block;
  margin-top: 2rem;
  text-decoration: none;
  color: #007b5e;
  font-weight: bold;
  border: 2px solid #007b5e;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-size: 0.9;
  transition: background-color 0.3s, color 0.3s;
}

.view-more:hover {
  background-color: #024636;
  color: #fff;
}


/* ✅ Responsive: Small screens */
@media (max-width: 480px) {
.testimonial-cards {
  flex-direction: column;
  align-items: center;
}

.testimonial-card {
  width: 90%;
}
}
.more-testimonials {
margin-top: 2rem;
text-align: center;
}

.more-testimonials a {
display: inline-block;
background-color: #007b5e;
color: #ffffff;
padding: 0.75rem 1.5rem;
border-radius: 25px;
font-weight: 600;
font-size: 1rem;
text-decoration: none;
transition: all 0.3s ease;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.more-testimonials a:hover {
background-color: #034333;
transform: translateY(-2px);
box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}



/* A brief section of the gallery section */

.gallery {
padding: 4rem 2rem;
background-color: #f8f8f8;
text-align: center;
}

.gallery h2 {
font-size: 2rem;
margin-bottom: 2rem;
color: #04823d;
text-decoration: underline;
}

.gallery-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 1rem;
}

.gallery-grid img {
width: 100%;
height: 200px;
object-fit: cover;
border-radius: 10px;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid img:hover {
transform: scale(1.03);
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.view-more-gallery {
margin-top: 2rem;
}

.view-more-gallery a {
display: inline-block;
background-color: #007b5e;
color: #fff;
padding: 0.75rem 1.5rem;
border-radius: 25px;
font-weight: 600;
text-decoration: none;
transition: background-color 0.3s ease;
}

.view-more-gallery a:hover {
background-color: #005f47;
}

/* Adjustments for max-width 480px */
@media (max-width: 480px) {
.gallery h2 {
  font-size: 1.5rem; 
  margin-bottom: 1.5rem;
}

.gallery-grid {
  grid-template-columns: 1fr; 
}

.gallery-grid img {
  height: 150px; 
}

.view-more-gallery a {
  padding: 0.5rem 1rem;
  font-size: 0.9rem; 
  border-radius: 20px; 
}
}


/* footer section */
.footer {
  background-color: #180c0c;
  color: #fff;
  padding: 2rem 1rem;
  position: relative;
  width: 100%;
  align-items: center;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2rem;
  flex-direction: row; 
}

.footer-logo,
.footer-links,
.footer-contact,
.footer-social {
  flex: 1 1 0;
  min-width: 200px;
  max-width: 300px;
  text-align: left;
}

.footer-logo img {
  width: 120px;
  height: auto;
}

.footer-logo p {
  margin-top: 0.5rem;
  font-size: 1.1rem;
}

.footer-links h4, .footer-contact h4 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.footer-links ul, .footer-contact ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li,
.footer-contact ul li {
  margin-bottom: 0.5rem;
}

.footer-links ul li a,
.footer-contact ul li a{
  text-decoration: none;
  color: #0e9906;
  font-size: 1rem;
}


.footer-links ul li a:hover,
.footer-contact ul li a:hover {
  color:  #2ad8b0;
}

.footer-social {
  margin-top: 1rem;
  text-align: center; 
}


.footer-social .social-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.footer-social .social-icon {
  text-decoration: none;
  color: #0e9906;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.footer-social .social-icon:hover {
  color: #2ad8b0;
}



/* Bottom container (optional copyright) */
.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #fff;
  border-top: 1px solid #555;
  padding-top: 1rem;
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-links,
  .footer-contact {
    margin-top: 1rem;
  }

  .footer-logo,
  .footer-links,
  .footer-contact {
    text-align: center;
  }

  .footer-social .social-icons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 1.2rem 1rem;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }

  .footer-logo img {
    width: 100px;
    height: auto;
  }

  .footer-logo p {
    font-size: 1.3rem;
    margin-top: 0.3rem;
  }

  .footer-links h4,
  .footer-contact h4,
  .footer-social h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
  }

  .footer-links ul li a,
  .footer-contact ul li {
    font-size: 1.2rem;
    line-height: 1.1;
    align-items: center;
  }

  .footer-links,
  .footer-contact {
    width: 100%;
    margin-bottom: 1rem;
  }

  .footer-social .social-icons {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
  }

  .footer-social .social-icon {
    font-size: 1.4rem;
  }

  .footer-bottom {
    font-size: 0.75rem;
    padding-top: 0.8rem;
    margin-top: 1.5rem;
  }
}


 /* Styles for extra small screens */
 @media (max-width: 320px) { 
  .header__logo h1 {
    font-size: 0.6rem;
  }

  .header {
   height: 90px;
   width: 100%;
  }

  .header__logo img.logo {
    height: 3rem;
    width: auto;
  }

  .footer-links u li a,
  .footer-contact ul li {
    font-size: 1rem;
    line-height: 1;
    align-items: center;
  }

  .footer-contact ul li {
    word-wrap: break-word; 
  }
  .footer-contact ul li .contact-footer-links {
  font-size: 0.9rem;
  word-wrap: break-word; 
}

.about-text p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  }
}
