* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* font-family: Arial, sans-serif; */
    scroll-behavior: smooth;
}

body {
    font-family: 'Libre Baskerville', serif;
    line-height: 1.5;
    color: #333;
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }
  
  img {
    max-width: 100vw;
    height: auto;
    display: block;
  }

/* Header Section */
header {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

header .background {
  position: absolute;
  top: 100px;
  left: 0;
  right: 0;
  width: 100%;
  height: 80%;
  z-index: -1;
}

header .background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* filter: blur(2px); */
}

header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  color: white;
}
/* Overlay Flex Layout for Hero Section */
.overlay-flex {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 0 5vw;
}
.overlay-left {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.overlay-title {
  font-size: 4rem;
  font-weight: 700;
  color: #fff;
  text-align: left;
  font-family: 'Libre Baskerville', serif;
}
.overlay-divider {
  width: 2px;
  height: 180px;
  background: #fff;
  margin: 0 3vw;
  opacity: 0.5;
}
.overlay-right {
  flex: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.overlay-quote {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 1.2rem;
  font-family: 'Libre Baskerville', serif;
  text-align: left;
  max-width: 750px;
}
@media (max-width: 991px) {
  .overlay-title {
    font-size: 2.5rem;
  }
  .overlay-divider {
    height: 120px;
    margin: 0 2vw;
  }
  .overlay-quote {
    font-size: 1rem;
    max-width: 400px;
  }
}
@media (max-width: 768px) {
  .overlay-flex {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 0 2vw;
  }
  .overlay-left {
    justify-content: flex-start;
    margin-bottom: 1rem;
  }
  .overlay-divider {
    width: 80px;
    height: 2px;
    margin: 1rem 0;
    align-self: flex-start;
  }
  .overlay-title {
    font-size: 2rem;
  }
  .overlay-right {
    align-items: flex-start;
  }
  .overlay-quote {
    font-size: 0.95rem;
    max-width: 90vw;
  }
}

header h1 {
  font-size: 3.5rem;
  font-weight: 600;
}

header p {
 padding-top: 15px;
  /* margin-bottom: 60%; */
  font-size: 2rem;
  font-family:bold;  
}

header p span {
  color:azure;
  font-style: bold;
}

/* Navigation Bar */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 1);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 10px 0;
  transition: background 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
nav .logo img {
  width: auto;
  height: 80px;
  position: relative;
  margin-left: 90%;  
}


nav .menu-checkbox {
  padding: 10px;
  display: none;
}

nav .menu-icon {
  display: none;
  cursor: pointer;
  position: relative;
  z-index: 1001;
}

nav .menu-icon .bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background: #333;
  transition: 0.3s;
}
nav .nav-links {
  margin-right: 5%;
  list-style: none;
  display: flex;
  gap: 1rem;
}

nav .nav-links li a {
  color: #333;
  font-size: 1rem;
  font-weight: 540;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

nav .nav-links li a:hover {
  color: #f9b233;
}
  
  /* Responsive Design */
  @media (max-width: 991px) {
    /* Header responsiveness */
    header {
      height: 100vh;
    }
    
    header .background {
      top: 0;
      height: 100%;
    }
    
    .overlay-flex {
      padding: 0 3rem;
    }
    
    .overlay-title {
      font-size: 2.8rem;
    }
    
    .overlay-divider {
      height: 140px;
      margin: 0 2.5vw;
    }
    
    .overlay-quote {
      font-size: 1.1rem;
      max-width: 500px;
    }
    
    /* Navbar responsiveness */
    nav .logo img {
      height: 70px;
      margin-left: 5%;
    }
    
    nav .nav-links {
      margin-right: 5%;
    }
    
    .hero {
      margin-left: -22%;
      height: 44vh;
    }
  }

  @media (max-width: 768px) {
    /* Header responsiveness */
    header {
      height: 100vh;
    }
    
    header .background {
      top: 0;
      height: 100%;
    }
    
    header .background img {
      height: 100%;
      object-fit: cover;
    }
    
    .overlay-flex {
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 0 2rem;
      text-align: center;
    }
    
    .overlay-left {
      justify-content: center;
      margin-bottom: 1.5rem;
    }
    
    .overlay-title {
      font-size: 2.2rem;
      text-align: center;
    }
    
    .overlay-divider {
      width: 80px;
      height: 2px;
      margin: 1rem 0;
      align-self: center;
    }
    
    .overlay-right {
      align-items: center;
      text-align: center;
    }
    
    .overlay-quote {
      font-size: 1rem;
      max-width: 90vw;
      text-align: center;
      line-height: 1.5;
    }
    
    /* Navbar responsiveness */
    nav .menu-checkbox {
      display: block;
      position: absolute;
      right: 20px;
      top: 20px;
      width: 40px;
      height: 40px;
      opacity: 0;
      z-index: 1002;
    }

    nav .menu-icon {
      display: block;
      position: absolute;
      right: 20px;
      top: 25px;
    }

    nav .nav-links {
      position: absolute;
      top: 100%;
      left: 0;
      flex-direction: column;
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(10px);
      width: 100%;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      z-index: 1000;
      display: none;
    }

    nav .nav-links.active {
      display: flex;
    }

    nav .nav-links li {
      text-align: center;
      padding: 0.5rem 0;
    }

    nav .nav-links li a {
      color: #333;
      font-size: 1rem;
    }

    nav .menu-checkbox:checked ~ .nav-links {
      display: flex;
    }
    }
  }
  
  @media (max-width: 480px) {
    /* Header responsiveness */
    header {
      height: 100vh;
      padding-top: 0;
    }
    
    header .background {
      top: 0;
      height: 100%;
    }
    
    header .background img {
      height: 100%;
      object-fit: cover;
    }
    
    .overlay-flex {
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: 0 1rem;
    }
    
    .overlay-left {
      justify-content: center;
      margin-bottom: 1rem;
    }
    
    .overlay-title {
      font-size: 1.8rem;
      text-align: center;
    }
    
    .overlay-divider {
      width: 60px;
      height: 2px;
      margin: 1rem 0;
    }
    
    .overlay-right {
      align-items: center;
      text-align: center;
    }
    
    .overlay-quote {
      font-size: 0.9rem;
      text-align: center;
      max-width: 95vw;
      line-height: 1.4;
    }

    header .overlay h1 {
      font-size: 2.5rem;
      color: #2c3e50;
    }
  
    header .overlay p {
      font-size: 1.2rem;
      color: #34495e;
    }

    header .overlay {
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(5px);
      padding: 20px;
      border-radius: 8px;
    }
  
    /* Navbar responsiveness */
    nav .nav-links li a {
      font-size: 0.9rem;
    }
  
    nav .logo img {
      height: 50px;
      margin-left: 80%;
    }
  }

@media (max-width: 375px) {
  /* Header responsiveness for very small devices */
  header {
    height: 100vh;
  }
  
  .overlay-flex {
    padding: 0 0.5rem;
  }
  
  .overlay-title {
    font-size: 1.6rem;
    padding-bottom: -8.5rem;
  }
  h1.overlay-title {
    font-size: 1.6rem;
    margin-top: 20px;
    padding-bottom: -8.5rem;
  }
  
  .overlay-quote {
    font-size: 0.85rem;
    max-width: 98vw;
    /* margin-top: -2.5rem; */
  }
  
  .overlay-divider {
    width: 50px;
    margin: 2.5rem 0;
    margin-bottom: -1.5rem;
  }
  
  /* Navbar responsiveness */
  nav .logo img {
    height: 45px;
    margin-left: 80%;
  }
  
  nav .nav-links li a {
    font-size: 0.85rem;
  }
}

/* About Section */
.about-section {
  padding: 60px 5%;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  background-color: white;
}

.image-gallery {
  display: flex;
  grid-template-columns: 1fr;
  gap: 20px;
  flex-wrap: nowrap;
  justify-content: center;
}

.left-column, .right-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.team1-image, .team2-image {
  width: 100%;
  max-width: 250px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

.horizontal-image {
  width: 100%;
  max-width: 169px;
  height: auto;
  border-radius: 4px;
}

.stat-image {
  width: 100%;
  max-width: 239px;
  height: auto;
  border-radius: 8px;
}

.about-content {
  padding: 20px;
}

.abit-text {
  color: #2b6cb0;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px;
  margin-bottom: 10px;
}

.about-title {
  font-size: clamp(32px, 4vw, 40px);
  font-weight: bold;
  margin: 10px 0;
  color: #1a202c;
}

.description {
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .info-boxes {
    align-items: center;
  }

  .info-box {
    max-width: 80%;
    margin: 0px 0 10px calc(var(--stair-offset, 0) * 120px);
  }

  .info-box:nth-child(1) {
    --stair-offset: 0;
  }

  .info-box:nth-child(2) {
    --stair-offset: 2;
  }

  .info-box:nth-child(3) {
    --stair-offset: 4;
  }

  .info-box p {
    font-size: 1.1rem;
    text-align: center;
    line-height: 1.4;
  }

  .content {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
  }

  .images {
    display: grid; /* Updated to grid for better control */
    grid-template-columns: repeat(2, 1fr); /* Two columns for images */
    gap: 20px;
    width: 100%; /* Full width */
  }

  .images img {
    width: 100%; /* Image should fill its container */
    height: auto;
    margin: 0 auto;
  }

  .text {
    width: 100%; /* Full width for text container */
    font-size: 1.2rem;
    line-height: 1.6;
    padding: 10px 20px;
  }
}



/* Responsive adjustments */
@media (max-width: 768px) {
  .info-box {
      flex-direction: row;
      align-items: center;
      text-align: center;
  }

  .info-box img {
      margin-bottom: 10px;
  }

  .info-box p {
      text-align: center;
  }

  .about-section {
      padding: 40px 2%;
  }

  .about-title {
      font-size: clamp(28px, 4vw, 32px);
  }
  .image-gallery {
          display: flex;
          gap: 20px;
          flex-wrap: nowrap;
          justify-content: center; 
}
}

@media (max-width: 480px) {
  .info-box {
    max-width: 100%;
    margin: 0px auto 5px 70px;
}

  .info-box p {
    font-size: 1rem;
    line-height: 1.3;
    padding: 0 10px;
  }

  .info-boxes {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 10px 0;
    gap: 10px;
  }
  .why-choose-us {
    font-size: 24px;
  }

  .content {
    font-size: 20px;
  }

  .info-box img {
    width: 50px;
    height: 50px;
  }
  .text {
    width: 87%;
    font-size: 1.2rem;
    line-height: 1.5;
    padding: 40px 20px;
  }
} 
@media (max-width: 375px) {
  .about-section {
    padding: 40px 5%;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .image-gallery {
    display: flex;
    gap: 10px;
    /* flex-wrap: wrap;   Allow items to wrap if necessary */
    justify-content: space-between; /* Ensure items stay in a row and wrap as needed */
    align-items: center;
  }

  .left-column, .right-column {
    gap: 15px;
    align-items: center;
  }

  .team1-image, .team2-image,
  .horizontal-image,
  .stat-image {
    width: 100%; /* Adjust width to make images smaller */
    max-width: 150px; /* Ensure image size stays consistent */
    height: auto;
    margin: 10px;
  }

  .about-content {
    padding: 10px;
  }

  .abit-text {
    font-size: 12px;
    margin-bottom: 5px;
  }

  .about-title {
    font-size: clamp(24px, 5vw, 28px);
    margin: 10px 0;
  }

  .description {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 20px;
  }

  .explore-btn {
    font-size: 12px;
    padding: 10px 20px;
  }
}


/* Vision Mission Section */
.vision-mission-section {
    padding: 60px 5%;
    background-color: white;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}
.row {
  /* display: flex; */
  justify-content: space-between;
  align-items: center;
}
.vm-image {
  width: 30%;
  max-width: 250px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin: 10px;
  order: 2;
}

.vm-content {
  width: 50%;
  padding: 20px;
  /* order: 1; */
}
.vision-mission-section img {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin: 10px;
}
.mission{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mission img {
  width: 100%;
  max-width: 250px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin: 10px;
  /* margin-left: auto; */
}

.vm-content h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #1a202c;
    font-family:sans-serif;
}
.vm-image {
    width: 100%;
    max-width: 250px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin: 10px;
    order: 2;
}

.vm-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #4a5568;
    font-family: sans-serif;
}
/* Vision Mission Section */
.vision-mission-section {
  padding: 60px 5%;
  background-color: white;
  max-width: 1200px;
  margin: 0 auto;
}

.row, .mission {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; /* Added for responsiveness */
}

.vm-image, .mission img {
  width: 25%;
  max-width: 250px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin: 11px;
  order: 1;
}

.vm-content {
  width:50%;
  padding: 20px;
  order: 1;
}

.vision-mission-section img {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin: 10px;
}

.vm-content h2 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #1a202c;
  font-family: sans-serif;
}

.vm-content p {
  font-size: 16px;
  line-height: 1.6;
  color: #4a5568;
  font-family: sans-serif;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .vm-content {
      width: 100%;
      order: 2;
      padding: 15px;
  }

  .vm-image, .mission img {
      max-width: 100%;
      order: 1;
      margin: 0 auto 20px;
  }

  .row, .mission {
      flex-direction: column;
      align-items: center;
  }
}

@media (max-width: 768px) {
  .vision-mission-section {
      padding: 40px 3%;
  }

  .vm-content h2 {
      font-size: 20px;
  }

  .vm-content p {
      font-size: 15px;
  }
}

@media (max-width: 480px) {
  .vision-mission-section {
      padding: 30px 2%;
  }

  .vm-content h2 {
      font-size: 18px;
  }

  .vm-content p {
      font-size: 14px;
  }

  .vm-image, .mission img {
      max-width: 90%;
  }
}


/*FOOTER SECTION*/
.footer {
  position: relative;
  background-color: rgba(23, 36, 53, 1);
  color: white;
  padding: 20px 20px;
  overflow: hidden;

}

/* .footer::before {
  content: '';
  position: absolute;
  top: -110px;
  left: 0;
  width: 100%;
  height: 220px;
  background-color: rgba(43, 110, 152, 1);
  border-radius: 40%;
} */

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  align-items: flex-start;
}

.footer-section {
  margin: 90px 10px;
  text-align: left;
}

.footer-section h3 {
  font-size: 18px;
  margin-top: 50px;
  margin-bottom: 10px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
}

.footer-section ul li img {
  width: 30px;
  height: auto;
  margin-right: 15px;
}

.footer-section ul li h4 {
  font-size: 1.2rem;
  font-weight: 540;
}

.footer-section ul li a {
  padding-top: 10px;
  line-height: 1.5;
  text-decoration: none;
}

.footer-section ul li a:hover {
  text-decoration: underline;
}

.footer-section p {
  font-size: 14px;
  line-height: 1.6;
}

.footer-section p i {
  margin-right: 10px;
}

.footer-bottom {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  border-top: 2px solid white;
  padding-top: 10px;
  text-align: center;
  flex-wrap: wrap;
}

.footer-logo img {
  width: 80px;
  height: 110px;
  padding-left: 20px 10px;
}

.footer-bottom p {
  font-size: 14px;

}

.footer-bottom p a {
  text-decoration: underline;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: white;
}

.social-icons {
  display: flex;
  margin-top: 10px;
  gap: 20px;
}

.social-icons a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid white;
  border-radius: 50%;
  text-decoration: none;
  color: #ffffff;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background-color: #f1f1f1;
  border-color: #007bff;
  color: #007bff;
}

.social-icons a i {
  font-size: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center; 
    padding: 10px;
  }

  .footer-section {
    flex: 1 1 100%;
    margin: 15px 0;
    padding: 5px;
    text-align: center; 
  }

  .footer-section h3 {
    font-size: 16px;
    margin-bottom: 5px;
    margin-top: 10px;
  }

  .footer-section ul {
    padding: 0;
  }

  .footer-section ul li {
    justify-content: center; 
  }

  .footer-section ul li h4 {
    font-size: 0.95rem;
    margin-bottom: 5px;
  }

  .footer-section ul li img {
    width: 25px;
    margin-right: 0; 
  }

  .footer-section ul li a {
    line-height: 1.4;
  }

  .footer-section p {
    font-size: 12px;
    line-height: 1.4;
    margin-top: 5px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    padding-top: 5px;
  }

  .footer-logo img {
    width: auto;
    height: 90px;
    margin: 10px auto;
  }

  .social-icons {
    gap: 8px;
    margin-top: 8px;
  }

  .social-icons a {
    width: 35px;
    height: 35px;
  }

  .social-icons a i {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center; 
    padding: 8px;
  }

  .footer-section {
    margin: 18px 0;
    padding: 5px;
    text-align: center; 
  }

  .footer-section h3 {
    font-size: 14px;
    margin-bottom: 5px;
    margin-top: 5px;
  }

  .footer-section ul {
    padding: 0;
  }

  .footer-section ul li {
    justify-content: center;
  }

  .footer-section ul li h4 {
    font-size: 0.85rem;
    margin-bottom: 5px;
  }

  .footer-section ul li img {
    width: 20px;
    margin-right: 0; 
  }

  .footer-section ul li a {
    line-height: 1.3;
  }

  .footer-section p {
    font-size: 11px;
    line-height: 1.3;
    margin-top: 5px;
  }
}
