

body, html {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.bordered-text {
  border: 2px solid #ff0000;
  display: inline-block;
  padding: 30px 30px;
  margin: 20px;
  box-sizing: border-box;
  background-color: #fff;
}
.bordered-text span{
  color: #ff0000;
  text-decoration: underline;
}

.header-contents h1,
.header-contents p {
  margin: 0;
  text-align: center;
  color: #000;
}



.container {
  text-align: center;
  padding: 50px;
}


.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.containers {
  padding: 50px;
}


.containers {
  max-width: 1200px;
  margin: auto;
  padding: 20 20px;
}

.section-header {
  margin-bottom: 30px;
}

.section-header h2 {
  font-size: 32px;
  color: #000000;
  text-transform: uppercase;
  font-weight: 700;
  position: relative;
  padding-bottom: 20px; /* Provides space for the line */
  display: inline-block; /* Makes the element's width fit its content */
  margin: 0 auto; /* Center the heading */
}

.section-header h2::before {
  content: "";
  position: absolute;
  width: 110px; /* Width of the line */
  height: 3px;
  background: #8f0101;
  bottom: 10%;
  left: 50%; /* Start the line from the middle */
  transform: translateX(-50%); 
}

.section-header p {
  padding: 0;
  margin: 0;
}

.site-headerimg{
  background-image: url('./Screenshot\ 2024-03-31\ 022002.png');
  background-size: cover;
  background-position: center;
  padding: 140px 0;
}

.header-content h1 {
  margin: 0;
}

.main-content > section {
  padding: 60px 0;
}

.our-story, .vision-future {
  background-color: #f9f9f9;
}

.milestones {
  background-image: url('./ee.png');
  background-size: cover;
  background-position: center;
}

.milestone-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.milestone {
  background-color: rgb(255, 255, 255);
  border: 2px solid #2b2a2aa4;
  color: #000000;
  padding: 20px;
  margin: 10px;
  flex-basis: 30%; /* Adjust based on the number of items per row in desktop view */
  text-align: center;
}

.milestone h3 {
  margin-top: 0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .milestone {
    flex-basis: 45%; /* Show 2 items per row on medium devices */
  }
}

@media (max-width: 768px) {
  .milestone {
    flex-basis: 90%; /* Stack the items vertically on small devices */
  }
}


.site-footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 20px 0;
}

@media (max-width: 768px) {
  .milestone-items {
      flex-direction: column;
  }

  .milestone {
      flex-basis: 80%;
      margin: 10px auto;
  }
}



.services-gallery {
  background-color: #ffffff;
  padding: 4vw; /* More fluid padding */
}

.services-gallery .section-header h2 {
  font-size: 2rem; /* Use rem for scalability */
  color: #000;
  margin-bottom: 1rem;
}

.services-gallery .section-header p{
  font-size: 18px; /* Base font size, will adjust in media queries */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #000000; /* Unified color, adjust if necessary */
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1vw; /* Use vw for a responsive gap */
}

.gallery-item {
  height: 200px; /* Consider making this responsive with vh or vw units */
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.5s ease, background-size 0.5s ease;
  cursor: pointer;
}

.gallery-item:hover {
  transform: scale(1.05);
  background-size: 150%;
}

/* Adjustments for medium devices (tablets) */
@media (max-width: 1024px) {
  .services-gallery .section-header h2 {
    font-size: 1.8rem;
  }

  .services-gallery .section-header p,
  .services-gallery .section-headers p {
    font-size: 0.9rem;
  }
}

/* Adjustments for small devices (phones in landscape and portrait) */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }

  .services-gallery .section-header h2 {
    font-size: 1.5rem;
  }

  .services-gallery .section-header p,
  .services-gallery .section-headers p {
    font-size: 0.8rem;
  }

  .gallery-item {
    height: 150px; /* Smaller height for smaller screens */
  }
}

/* Existing CSS styles remain the same */

/* New CSS for Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-modal .modal-content {
  display: block;
  margin: 0 auto;
  max-width: 80%;
  max-height: 100%;
}

.lightbox-modal .close-btn {
  color: #fff;
  position: absolute;
  top: 15px;
  right: 35px;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
}

.lightbox-modal .close-btn:hover,
.lightbox-modal .close-btn:focus {
  color: #ccc;
  text-decoration: none;
  cursor: pointer;
}






