
#hero-2 {
  background-size: cover;
  background-position: center;
  padding: 150px 20px;
  color: #fff;
  text-align: center;
  position: relative;
}
#hero-2::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}
#hero-2 .container {
  position: relative;
  z-index: 2;
}
#hero-2 .hero-title {
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 20px;
}
#hero-2 .hero-subtitle {
  font-size: 22px;
  margin-bottom: 30px;
}
.btn.btn-light {
  padding: 14px 40px;
  font-size: 18px;
  background-color: #fff;
  color: #333;
  text-decoration: none;
  border-radius: 4px;
}



#text-block-16 {
  padding: 80px 0;
  background-color: var(--section-bg-color, #f9f6f1);
  background-image: var(--section-bg-texture);
  background-repeat: repeat;
  color: var(--text-color, #4a4a4a);
  font-family: "Georgia", serif;
}
#text-block-16 .container {
  max-width: 800px;
}
#text-block-16 .paper-content-box {
  background-color: var(--container-bg-color, rgba(255, 255, 255, 0.6));
  padding: 40px 50px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
#text-block-16 .section-title-optional {
  text-align: center;
  font-size: 1rem;
  font-weight: normal;
  font-style: italic;
  color: var(--text-color, #4a4a4a);
  opacity: 0.8;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}
#text-block-16 .text-heading {
  text-align: center;
  font-size: 2.3rem;
  font-weight: bold;
  color: var(--text-color, #4a4a4a);
  margin-bottom: 35px;
  line-height: 1.3;
}
#text-block-16 .text-paragraph {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text-color, #4a4a4a);
  opacity: 0.9;
  margin-bottom: 1.4rem;
  text-align: justify;
}
#text-block-16 .text-paragraph:last-child {
  margin-bottom: 0;
}
@media (max-width: 767.98px) {
  #text-block-16 {
    padding: 60px 0;
  }
  #text-block-16 .paper-content-box {
    padding: 30px 25px;
  }
  #text-block-16 .text-heading {
    font-size: 1.9rem;
  }
  #text-block-16 .text-paragraph {
    font-size: 1rem;
    line-height: 1.8;
  }
}



/* 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;
}




/* === Section Base === */
.post-section {
  padding: 60px 0;
  background: #fff;
}
.post-section .section-header {
  text-align: center;
  margin-bottom: 40px;
}
.post-section .section-header h2 {
  font-size: 2rem;
  font-weight: 700;
}
.post-section .section-header p {
  color: #666;
  margin-top: 8px;
}

/* === Grid & Cards === */
.post-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(1,1fr);
}
@media (min-width: 576px) {
  .post-grid { grid-template-columns: repeat(2,1fr); }
}
@media (min-width: 992px) {
  .post-grid { grid-template-columns: repeat(4,1fr); }
}
.post-card {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: transform 0.3s;
}
.post-card:hover {
  transform: translateY(-5px);
}
.post-card img {
  width: 100%;
  display: block;
  height: auto;
}

/* === Overlay Icon === */
.post-card .overlay-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  color: rgba(255,255,255,0.9);
  opacity: 0;
  transition: opacity 0.3s;
}
.post-card:hover .overlay-icon {
  opacity: 1;
}

/* === Modal Content === */
.modal-content {
  border-radius: 0.5rem;
}
.modal-body img {
  width: 100%;
  height: auto;
  margin-bottom: 1rem;
}
.modal-body h5 {
  margin-bottom: 0.75rem;
}
.modal-body p {
  color: #555;
}

/* === Pagination === */
.pagination-wrapper {
  text-align: center;
  margin: 40px 0;
}




#our-services-7 {
  padding: 60px 15px;
  margin: 0 auto;
  max-width: 1000px;
  position: relative;
  overflow: hidden;
}
#our-services-7 .section-hero {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  padding: 100px 15px;
  border-radius: 8px;
  text-align: center;
  color: #fff;
  margin-bottom: 40px;
}
#our-services-7 .content-body {
  background: rgba(255, 255, 255, 0.95);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 20px;
}
#our-services-7 .services-list {
  list-style: none;
  padding: 0;
}
#our-services-7 .services-list li {
  margin-bottom: 10px;
  font-size: 1rem;
  color: #555;
}



#call-to-action-11 {
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  min-height: 400px;
}
#call-to-action-11 .left-col,
#call-to-action-11 .right-col {
  flex: 1 1 50%;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 60px;
  text-align: left;
}
#call-to-action-11 .left-col {
  background-color: #f8f9fa;
  color: #333;
}
#call-to-action-11 .left-col h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 20px;
}
#call-to-action-11 .left-col p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}
#call-to-action-11 .left-col .btn {
  display: inline-block;
  background-color: #007bff;
  color: #fff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
  transition: background-color 0.3s ease-in-out;
}
#call-to-action-11 .left-col .btn:hover {
  background-color: #0056b3;
  color: #fff;
}
#call-to-action-11 .right-col {
  background-size: cover;
  background-position: center;
}
@media (max-width: 768px) {
  #call-to-action-11 {
    flex-direction: column;
  }
  #call-to-action-11 .left-col,
  #call-to-action-11 .right-col {
    flex: 1 1 100%;
    min-height: auto;
  }
  #call-to-action-11 .left-col {
    text-align: center;
  }
}


