
#hero-18 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 68vh;
  padding: 5rem 0;
  background-size: cover;
  background-position: center;
  text-align: right;
}
#hero-18 .hero-overlay-18 {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
#hero-18 .container {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: flex-end;
}
#hero-18 .hero-content-wrapper-18 {
  max-width: 680px;
  margin-right: 0;
  margin-left: auto;
}
#hero-18 .hero-title-18 {
  font-size: 3.1rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
}
#hero-18 .hero-subtitle-18 {
  font-size: 1.15rem;
  font-weight: 300;
  margin-bottom: 2rem;
  opacity: 0.9;
}
#hero-18 .hero-cta-button-18 {
  display: inline-block;
  padding: 0.8rem 2.1rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 6px;
  text-decoration: none;
  border: none;
  transition: transform 0.2s ease, filter 0.2s ease;
}
#hero-18 .hero-cta-button-18:hover {
  transform: translateY(-2px);
  filter: brightness(110%);
}
@media (max-width: 767.98px) {
  #hero-18 {
    min-height: 60vh;
    padding: 4rem 0;
    text-align: center;
    justify-content: center;
  }
  #hero-18 .container {
    justify-content: center;
  }
  #hero-18 .hero-content-wrapper-18 {
    margin-left: auto;
    margin-right: auto;
    max-width: 90%;
  }
  #hero-18 .hero-title-18 {
    font-size: 2.4rem;
  }
  #hero-18 .hero-subtitle-18 {
    font-size: 1.1rem;
  }
}



#about-us-21 {
  padding: 80px 15px;
  background-color: #222;
  color: #fff;
}
#about-us-21 .section-title,
#about-us-21 .section-subtitle {
  text-align: center;
  margin-bottom: 40px;
}
#about-us-21 .features-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}
#about-us-21 .unique-feature-card {
  background-color: #333;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  padding: 30px;
  transition: transform 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
}
#about-us-21 .unique-feature-card:hover {
  transform: translateY(-5px);
}
#about-us-21 .unique-feature-card h3 {
  color: #ffc107;
  margin-bottom: 15px;
}
#about-us-21 .unique-feature-card p {
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 20px;
}
#about-us-21 .unique-feature-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: auto;
}
/*
#about-us-21 .unique-feature-card.top-left { ... }
#about-us-21 .unique-feature-card.center-right { ... }
#about-us-21 .unique-feature-card.bottom-left { ... }
#about-us-21 .unique-feature-card.top-right { ... }
*/
#about-us-21 .call-to-action-wrapper {
  text-align: center;
  margin-top: 60px;
}
#about-us-21 .call-to-action-wrapper a {
  display: inline-block;
  background-color: #007bff;
  color: #fff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease-in-out;
}
#about-us-21 .call-to-action-wrapper a:hover {
  background-color: #0056b3;
}
/*
@media (max-width: 768px) {
  #about-us-21 .unique-feature-card {
    position: relative;
    width: 80%;
    margin: 20px auto;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: rotate(0) !important;
  }
}
*/



#counter-13 {
  padding: 80px 0;
  background-color: var(--section-bg-color, #f8f9fa);
}
#counter-13 .container {
  max-width: 1140px;
}
#counter-13 .section-header {
  margin-bottom: 60px;
  text-align: center;
}
#counter-13 .section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #343a40;
  margin-bottom: 15px;
}
#counter-13 .section-header p {
  color: #6c757d;
  font-size: 1.1rem;
  max-width: 750px;
  margin: 0 auto;
  line-height: 1.7;
}
#counter-13 .counter-item-descriptive {
  text-align: center;
  padding: 30px 25px;
  margin-bottom: 30px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #e9ecef;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#counter-13 .counter-item-descriptive:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
#counter-13 .counter-icon {
  font-size: 2.8rem;
  color: #0d6efd;
  margin-bottom: 20px;
  display: inline-block;
}
#counter-13 .counter-value-wrapper {
  display: flex;
  justify-content: center;
  align-items: baseline;
  margin-bottom: 8px;
  color: #212529;
}
#counter-13 .counter-number {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
}
#counter-13 .counter-suffix {
  font-size: 1.8rem;
  font-weight: 500;
  margin-left: 4px;
  line-height: 1;
  color: #495057;
}
#counter-13 .counter-title-desc {
  font-size: 1.15rem;
  font-weight: 600;
  color: #343a40;
  margin-bottom: 15px;
}
#counter-13 .counter-description {
  font-size: 0.95rem;
  color: #6c757d;
  line-height: 1.6;
  min-height: 60px;
}
@media (max-width: 991.98px) {
  #counter-13 .counter-number {
    font-size: 2.5rem;
  }
  #counter-13 .counter-suffix {
    font-size: 1.5rem;
  }
  #counter-13 .counter-title-desc {
    font-size: 1.1rem;
  }
}
@media (max-width: 767.98px) {
  #counter-13 {
    padding: 50px 0;
  }
  #counter-13 .section-header h2 {
    font-size: 2rem;
  }
}



#testimonials-9 {
  padding: 60px 15px;
  margin: 0 auto;
  max-width: 1200px;
}
#testimonials-9 .section-header {
  text-align: center;
  margin-bottom: 40px;
}
#testimonials-9 .section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}
#testimonials-9 .section-header p {
  font-size: 1.1rem;
  color: #777;
}
#testimonials-9 .masonry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}
#testimonials-9 .masonry-item {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}
#testimonials-9 .masonry-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 10px;
}
#testimonials-9 .masonry-item p {
  font-size: 1rem;
  font-style: italic;
  color: #333;
  margin-bottom: 10px;
}
#testimonials-9 .client-info {
  font-size: 0.95rem;
  color: #777;
}



/* style.css for post-section-3 */
#post-section-3 {
    padding-top: 60px;
    padding-bottom: 60px;
    background-color: #eef1f5; /* A cool, light grey background */
}

#post-section-3 .section-header {
    margin-bottom: 50px;
    text-align: center;
}

#post-section-3 .section-header .section-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: #2a3b4c; /* Dark blue-grey */
    margin-bottom: 12px;
}

#post-section-3 .section-header .section-subtitle {
    font-size: 1.1rem;
    color: #586776; /* Softer grey */
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

#post-section-3 .post-grid-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px; /* Rounded corners for the item */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    height: 280px; /* Fixed height for grid items, adjust as needed */
}

#post-section-3 .post-grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

#post-section-3 .post-grid-item-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

#post-section-3 .post-grid-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

#post-section-3 .post-grid-item:hover .post-grid-image {
    transform: scale(1.1);
}

#post-section-3 .post-grid-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%);
    color: #ffffff;
    padding: 40px 20px 20px 20px; /* More padding at the bottom */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%; /* Make overlay cover the entire item */
    box-sizing: border-box;
}

#post-section-3 .post-grid-item:hover .post-grid-overlay {
    opacity: 1;
    transform: translateY(0);
}

#post-section-3 .post-grid-categories {
    margin-bottom: 8px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s; /* Delayed appearance */
}

#post-section-3 .post-grid-item:hover .post-grid-categories {
    opacity: 1;
    transform: translateY(0);
}

#post-section-3 .post-grid-category-badge {
    font-size: 0.7rem;
    font-weight: 500;
    padding: 0.3em 0.6em;
    margin-right: 5px;
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#post-section-3 .post-grid-title {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0;
    color: #ffffff;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease 0.2s, transform 0.3s ease 0.2s; /* Further delayed appearance */
}

#post-section-3 .post-grid-item:hover .post-grid-title {
    opacity: 1;
    transform: translateY(0);
}

#post-section-3 .pagination-container {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    #post-section-3 .post-grid-item {
        height: 250px;
    }
    #post-section-3 .post-grid-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 767.98px) {
    #post-section-3 .post-grid-item {
        height: 220px;
        margin-bottom: 20px; /* Ensure spacing when stacked */
    }
    #post-section-3 .post-grid-title {
        font-size: 1rem;
    }
    #post-section-3 .section-header .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 575.98px) {
    #post-section-3 .post-grid-item {
        height: 200px;
    }
}




/* category-posts-5 Styles - Modern Post Grid */
#category-posts-5 {
    padding-top: 4rem;
    padding-bottom: 4rem;
    /* background-color is set via data.json or defaults to #f8f9fa */
}

#category-posts-5 .section-header {
    margin-bottom: 3rem;
    text-align: center;
}

#category-posts-5 .section-header .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #343a40;
    margin-bottom: 0.5rem;
}

#category-posts-5 .section-header .section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

#category-posts-5 .post-grid-item .card {
    border: none; /* Remove default Bootstrap card border */
    border-radius: 0.75rem; /* Softer corners */
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.075); /* Softer shadow */
    overflow: hidden; /* Ensures image corners match card corners */
    height: 100%; /* Ensure cards in a row have same height if using d-flex */
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
}

#category-posts-5 .post-grid-item .card.card-hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#category-posts-5 .post-grid-item .card.card-hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.12);
}

#category-posts-5 .post-grid-item .card-img-top-wrapper {
    width: 100%;
    height: 200px; /* Fixed height for consistent image sizes */
    overflow: hidden;
}

#category-posts-5 .post-grid-item .card-img-top-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

#category-posts-5 .post-grid-item .card:hover .card-img-top-wrapper img {
    transform: scale(1.05);
}

#category-posts-5 .post-grid-item .card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Allows card body to expand and push footer down */
}

#category-posts-5 .post-grid-item .post-title {
    font-size: 1.25rem; /* Slightly larger title */
    font-weight: 600;
    color: #2c3e50; /* Dark blue-gray */
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

#category-posts-5 .post-grid-item .post-title a {
    color: inherit;
    text-decoration: none;
}

#category-posts-5 .post-grid-item .post-title a:hover {
    color: #007bff; /* Standard primary color for hover */
}

#category-posts-5 .post-grid-item .post-date {
    font-size: 0.85rem;
    color: #7f8c8d; /* Muted gray */
    margin-bottom: 0.75rem;
}
#category-posts-5 .post-grid-item .post-date i {
    margin-right: 0.3rem;
}

#category-posts-5 .post-grid-item .post-excerpt {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1; /* Allows excerpt to take available space */
}

#category-posts-5 .post-grid-item .readmore-btn {
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    align-self: flex-start; /* Align button to the start if card-body is flex */
}

#category-posts-5 .post-grid-item .readmore-btn i {
    margin-left: 0.3rem;
}

/* Pagination Wrapper */
#category-posts-5 .pagination-wrapper {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}




#why-choose-us-5 {
  padding: 60px 15px;
  margin: 0 auto;
  max-width: 800px;
}
#why-choose-us-5 .section-hero {
  background-size: cover;
  background-position: center;
  padding: 70px 15px;
  border-radius: 8px;
  text-align: center;
  color: #fff;
  margin-bottom: 30px;
}
#why-choose-us-5 ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
#why-choose-us-5 li {
  display: flex;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}
#why-choose-us-5 li:last-child {
  border-bottom: none;
}
#why-choose-us-5 li i {
  font-size: 2rem;
  color: #dc3545;
  margin-right: 15px;
}
#why-choose-us-5 .reason-content h5 {
  margin: 0 0 5px;
  font-size: 1.1rem;
}
#why-choose-us-5 .reason-content p {
  margin: 0;
  font-size: 0.95rem;
  color: #555;
}



#our-services-4 {
  padding: 60px 15px;
  margin: 0 auto;
  max-width: 1200px;
}
#our-services-4 .section-hero {
  background-size: cover;
  background-position: center;
  padding: 80px;
  border-radius: 8px;
  text-align: center;
  color: #fff;
  margin-bottom: 30px;
}
#our-services-4 .carousel-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}
#our-services-4 .carousel-item img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
#our-services-4 .carousel-caption {
  background: rgba(0, 0, 0, 0.5);
  padding: 15px;
  border-radius: 4px;
}
#our-services-4 .btn-readmore {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
}
@media (max-width: 768px) {
  #our-services-4 .carousel-item img {
    height: 250px;
  }
}



#team-11 {
  padding-top: 5rem;
  padding-bottom: 5rem;
  background-color: #f8f9fa;
  overflow: hidden;
}
#team-11 .section-header {
  text-align: center;
  margin-bottom: 3rem;
}
#team-11 .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
#team-11 .section-subtitle {
  font-size: 1.15rem;
  color: #6c757d;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
#team-11 .photo-grid-wrapper .row {
  --bs-gutter-x: 0.5rem;
  --bs-gutter-y: 0.5rem;
  justify-content: center;
}
#team-11 .photo-item {
  line-height: 0;
  position: relative;
  overflow: hidden;
}
#team-11 .photo-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
  display: block;
}
#team-11 .photo-item.shape-circle img,
#team-11 .photo-item.shape-circle {
  border-radius: 50%;
}
#team-11 .photo-item.shape-square img,
#team-11 .photo-item.shape-square {
  border-radius: 0.25rem;
}
#team-11 .photo-item a::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(var(--bs-primary-rgb), 0);
  transition: background-color 0.3s ease;
  border-radius: inherit;
}
#team-11 .photo-item a:hover::after {
  background-color: rgba(var(--bs-primary-rgb), 0.2);
}
#team-11 .photo-item a:hover img {
  transform: scale(1.08);
  filter: brightness(1.1);
}
@media (max-width: 767.98px) {
  #team-11 {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  #team-11 .section-title {
    font-size: 2.1rem;
  }
  #team-11 .photo-grid-wrapper .row {
    --bs-gutter-x: 0.3rem;
    --bs-gutter-y: 0.3rem;
  }
}


