
/* 1st Section */
.about-hero {
  background: var(--text-light);
  text-align: center;
  padding: 80px 20px;
}

.about-hero .container {
  max-width: 900px;   /* narrower for better readability */
  margin: auto;
}

.about-hero h2 {
  font-family: Cambria, serif;
  font-size: 32px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.about-hero p {
  line-height: 1.6;
  color: var(--paragraph-color);
}





/* 2nd Section */

.about-success {
  background: var(--primary-color);
  color: var(--text-light);
  padding: 0px 20px;   /* 👈 remove section padding */
}

.about-success .container {
  max-width: 1300px;
  margin: auto;
  display: flex;
  align-items: center;   /* 👈 vertically center text with images */
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  min-height: 100%;      /* ensures height fits the tallest content */
}

/* Left text */
.success-text {
  flex: 1;
  max-width: 50%;
  padding: 0px;   /* optional to give breathing space */
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 0px;  /* 👈 vertical center */
}


.success-text h2 {
  font-family: Cambria, serif;
  font-size: 28px;
  margin-bottom: 20px;
}
.success-text p {
  line-height: 1.6;
  color: var(--text-light);
  margin-bottom: 20px;
}

.btn-greens {
  display: inline-block;   /* 👈 not full width */
  background: var(--highlight-color);
  color: var(--text-light);
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
  width: fit-content;             /* 👈 button shrinks to fit text */
  max-width: max-content;        /* 👈 remove any min-width */
}


.btn-greens:hover {
  background: var(--highlight-colorhover);
}

/* Right image grid */
.success-gallery {
  flex: 1;
  max-width: 35%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;  
  padding-right: 40px;   /* 👈 no space between images */
  padding-left: 40px;
}
 

.success-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;   /* 👈 remove rounded corners */
}

/* ======================================================
   RESPONSIVE STYLES FOR .about-success SECTION
   ====================================================== */

/* ✅ Large tablets & small laptops (≤ 1024px) */
@media (max-width: 1024px) {
  .about-success .container {
    flex-direction: column;
    align-items: center;
    gap: 50px;
    padding: 40px 40px;
  }

  .success-text {
    max-width: 90%;
    padding-left: 0;
    text-align: center;
  }

  .success-text h2 {
    font-size: 26px;
  }

  .success-text p {
    font-size: 15px;
  }

  .success-gallery {
    max-width: 90%;
    grid-template-columns: repeat(3, 1fr);
    padding: 0;
  }
}


@media (max-width: 1024px) {
  .success-text {
    text-align: center; /* centers heading and text */
  }

  .btn-green {
    margin: 0 auto;     /* ✅ centers horizontally */
    display: inline-block;
  }
}



/* ✅ Tablets (≤ 768px) */
@media (max-width: 768px) {
  .about-success .container {
    flex-direction: column;
    text-align: center;
    padding: 40px 15px;
  }

  .success-text {
    max-width: 100%;
    padding: 0;
  }

  .success-text h2 {
    font-size: 22px;
  }

  .success-text p {
    font-size: 14px;
  }

  .success-gallery {
    max-width: 100%;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 0;
  }
}

/* ✅ Small phones (≤ 480px) */
@media (max-width: 480px) {
  .about-success .container {
    padding: 30px 10px;
    gap: 30px;
  }

  .success-text h2 {
    font-size: 20px;
    line-height: 1.3;
  }

  .success-text p {
    font-size: 13.5px;
    line-height: 1.5;
  }

  .btn-green {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .success-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    padding: 0;
  }

  .success-gallery img {
    height: 100px; /* slightly smaller images */
    object-fit: cover;
  }
}

/* ✅ Extra small devices (≤ 360px–300px) */
@media (max-width: 360px) {
  .about-success .container {
    padding: 20px 8px;
    gap: 20px;
  }

  .success-text h2 {
    font-size: 18px;
  }

  .success-text p {
    font-size: 13px;
  }

  .btn-green {
    padding: 8px 18px;
    font-size: 0.85rem;
  }

  .success-gallery {
    grid-template-columns: repeat(1, 1fr);
    gap: 8px;
  }

  .success-gallery img {
    height: 120px;
  }
}







/* 3rd Section */

/* Services Section */
.about-services {
   /* light bluish background */
  padding: 80px 20px;
  text-align: left;
}

.about-services .container {
  max-width: 1300px;
  margin: auto;
}

.about-services h2 {
  font-family: Cambria, serif;
  font-size: 26px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.about-services p {
  color: var(--paragraph-color);
  margin-bottom: 50px;
  line-height: 1.6;
}


.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px 60px;
  text-align: left;
}


.service-box {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.service-box h3 {
  font-family: Cambria, serif;
  font-size: 20px;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.service-box p {
  line-height: 1.6;
  color: var(--paragraph-color);
}




.icon-circle {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  position: relative;
  top: 20px;   
}


.icon-circle {
  transition: transform 0.4s ease;  
}

.icon-circle:hover {
  transform: scale(1.1);  
}


@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}



.service-box .icon {
  width: 60px;
  height: 60px;
  background: #0a1a5c;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.service-box .icon img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1); 
}













/* 4th Section */
/* Consultants Section */
/* .consultants {
  background: var(--text-light);
  padding: 0px 20px;
  text-align: center;
}

.consultants .container {
  max-width: 1300px;
  margin: auto;
}

.consultants h2 {
  font-size: 28px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.consultants p {
  
  margin-bottom: 50px;
}

.consultants-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.consultant img {
  width: 160px;
  height: 160px;
  border-radius: 50%;  
  object-fit: cover;
  margin-bottom: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.consultant h3 {
  font-family: Cambria, serif;
  font-size: 20px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 5px;
}


.consultant img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.4s ease;  
}

.consultant img:hover {
  transform: scale(1.1);  
}



@media (max-width: 992px) {
  .consultants-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .consultants-grid {
    grid-template-columns: 1fr;
  }
} */









/* 5th Section */
/* Community Section */
.community {
  background: var(--text-light);
  padding: 0px 20px;
}

.community .container {
  max-width: 1300px;
  margin: auto;
}

/* Header: title left, text right */
.community-header {
  display: grid;
  grid-template-columns: 250px 1fr; /* left heading, right content */
  gap: 40px;
  align-items: start;
}

.community-header h2 {
  font-family: Cambria, serif;
  font-size: 26px;
  color: var(--primary-color);
}

.community-header p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
}


/* Right side */
.community-content p {
  color: var(--paragraph-color);
  line-height: 1.6;
  margin-bottom: 20px;
  padding-top: 20px;
}



/* Gallery */
.community-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 50px;
  margin-bottom: 50px;
}

.community-gallery img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.community-gallery img:hover {
  transform: scale(1.05); /* zoom-in hover effect */
}

/* Responsive */
@media (max-width: 992px) {
  .community-header {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .community-gallery {
    grid-template-columns: 1fr;
  }
}