
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
#hero-15 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  padding: 6rem 0;
  background-size: cover;
  background-position: center;
  text-align: center;
  overflow: hidden;
  color: #ffffff;
  --hero-overlay-color: rgba(0, 0, 0, 0.5);
}
#hero-15::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--hero-overlay-color);
  z-index: 1;
}
#hero-15 .container {
  position: relative;
  z-index: 2;
}
#hero-15 .hero-content-wrapper-15 {
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}
#hero-15 .hero-title-15,
#hero-15 .hero-subtitle-15,
#hero-15 .hero-cta-button-15 {
  opacity: 0;
  animation-name: fadeInUp;
  animation-duration: 0.8s;
  animation-fill-mode: forwards;
  animation-timing-function: ease-out;
}
#hero-15 .hero-title-15 {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  animation-delay: 0.2s;
}
#hero-15 .hero-subtitle-15 {
  font-size: 1.2rem;
  font-weight: 300;
  margin-bottom: 2rem;
  opacity: 0.9;
  animation-delay: 0.4s;
}
#hero-15 .hero-cta-button-15 {
  display: inline-block;
  padding: 0.8rem 2.2rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 50px;
  text-decoration: none;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background-color: #0d6efd;
  color: #ffffff;
  animation-delay: 0.6s;
}
#hero-15 .hero-cta-button-15:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}
@media (max-width: 767.98px) {
  #hero-15 {
    min-height: 60vh;
    padding: 4rem 0;
  }
  #hero-15 .hero-title-15 {
    font-size: 2.5rem;
  }
  #hero-15 .hero-subtitle-15 {
    font-size: 1.1rem;
  }
}



#why-choose-us-21 {
  padding-top: 70px;
  padding-bottom: 70px;
  background-color: #ffffff;
}
#why-choose-us-21 .section-title-container {
  margin-bottom: 50px;
}
#why-choose-us-21 .section-main-title {
  font-size: 2.6rem;
  font-weight: 700;
  color: #2c3e50;
}
#why-choose-us-21 .section-main-subtitle {
  font-size: 1.1rem;
  color: #5a677d;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
#why-choose-us-21 .benefit-item-card {
  background-color: #f8f9fa;
  padding: 30px 25px;
  border-radius: 10px;
  text-align: center;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e9ecef;
  display: flex;
  flex-direction: column;
  align-items: center;
}
#why-choose-us-21 .benefit-item-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}
#why-choose-us-21 .benefit-icon {
  font-size: 3rem;
  color: #0d6efd;
  margin-bottom: 20px;
  width: 70px;
  height: 70px;
  line-height: 70px;
  border-radius: 50%;
  background-color: rgba(13, 110, 253, 0.1);
}
#why-choose-us-21 .benefit-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: #343a40;
  margin-bottom: 10px;
}
#why-choose-us-21 .benefit-description {
  font-size: 0.9rem;
  color: #6c757d;
  line-height: 1.6;
  flex-grow: 1;
}
@media (max-width: 767.98px) {
  #why-choose-us-21 .benefit-item-card {
    margin-bottom: 25px;
  }
  #why-choose-us-21 .row > div:last-child .benefit-item-card {
    margin-bottom: 0;
  }
}



#about-us-7 {
  padding: 60px 15px;
  max-width: 900px;
  margin: 0 auto;
}
#about-us-7 .section-hero {
  background-size: cover;
  background-position: center;
  padding: 80px;
  border-radius: 8px;
  text-align: center;
  color: #fff;
  margin-bottom: 40px;
}
#about-us-7 .description {
  background: #fff;
  padding: 30px 40px;
  border-radius: 8px;
  margin-bottom: 30px;
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
  white-space: pre-wrap;
}
#about-us-7 .nav-tabs {
  margin-bottom: 20px;
}
#about-us-7 .tab-content {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}



#features-17 {
  padding: 60px 0;
  overflow: hidden;
  background-color: {{ $data['features-17']['bg_color'] ?? '#ffffff' }};
}
#features-17 .section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  color: #343a40;
}
#features-17 .section-title h2::after {
  content: '';
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--bs-primary, #0d6efd);
  bottom: 0;
  left: calc(50% - 25px);
}
#features-17 .section-title p {
  margin-bottom: 40px; 
  color: #6c757d;
}
#features-17 .feature-item {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  transition: all 0.3s ease-in-out;
  height: 100%; 
  display: flex;
  flex-direction: column; 
  text-align: center;
  border: 1px solid #eef0f2; 
}
#features-17 .feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0px 5px 25px rgba(0, 0, 0, 0.1);
  border-color: transparent;
}
#features-17 .feature-icon {
  margin-bottom: 20px; 
  flex-shrink: 0; 
}
#features-17 .feature-icon i {
  font-size: 48px;
  line-height: 1;
  color: var(--bs-primary, #0d6efd);
  transition: color 0.3s ease-in-out;
}
#features-17 .feature-item:hover .feature-icon i {
  color: var(--bs-primary-darker, #0a58ca); 
}
#features-17 .feature-title {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 18px;
  color: #343a40;
  flex-grow: 0; 
}
#features-17 .feature-description {
  line-height: 1.6;
  color: #6c757d;
  font-size: 15px;
  flex-grow: 1; 
}
@media (max-width: 767.98px) {
  #features-17 .section-title h2 {
    font-size: 28px;
  }
   #features-17 .feature-item {
     padding: 20px;
   }
   #features-17 .feature-icon i {
     font-size: 40px;
   }
   #features-17 .feature-title {
      font-size: 17px;
   }
}



/* style.css for post-section-4 */
#post-section-4 {
    padding-top: 50px;
    padding-bottom: 50px;
    background-color: #f8f9fa;
}

#post-section-4 .section-global-header {
    margin-bottom: 40px;
    text-align: center;
}

#post-section-4 .section-global-header .section-global-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #343a40;
    margin-bottom: 10px;
}

#post-section-4 .section-global-header .section-global-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Featured Post Area */
#post-section-4 .featured-post-area .area-title,
#post-section-4 .sidebar-area .area-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #007bff;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #007bff30;
    display: inline-block;
}

#post-section-4 .featured-post-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
    overflow: hidden;
}

#post-section-4 .featured-post-image-wrapper {
    max-height: 400px; /* Control height of featured image */
    overflow: hidden;
}

#post-section-4 .featured-post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

#post-section-4 .featured-post-card:hover .featured-post-image {
    transform: scale(1.03);
}

#post-section-4 .featured-post-content {
    padding: 25px;
}

#post-section-4 .featured-post-categories {
    margin-bottom: 10px;
}

#post-section-4 .featured-post-category-badge {
    font-size: 0.8rem;
    padding: 0.3em 0.7em;
    margin-right: 6px;
    background-color: #6c757d;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}
#post-section-4 .featured-post-category-badge:hover {
    background-color: #5a6268;
}

#post-section-4 .featured-post-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 12px;
    line-height: 1.3;
}

#post-section-4 .featured-post-title a {
    color: inherit;
    text-decoration: none;
}
#post-section-4 .featured-post-title a:hover {
    color: #007bff;
}

#post-section-4 .featured-post-meta {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 15px;
}
#post-section-4 .featured-post-meta .meta-icon {
    margin-right: 5px;
}

#post-section-4 .featured-post-excerpt {
    font-size: 1rem;
    color: #495057;
    line-height: 1.6;
    margin-bottom: 20px;
}

#post-section-4 .featured-post-readmore-btn {
    font-weight: 500;
    padding: 0.6rem 1.2rem;
}
#post-section-4 .featured-post-readmore-btn .btn-icon {
    margin-left: 7px;
}

/* Sidebar Area */
#post-section-4 .sidebar-area {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

#post-section-4 .sidebar-post-item {
    display: flex;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}
#post-section-4 .sidebar-post-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

#post-section-4 .sidebar-post-thumbnail-wrapper {
    flex-shrink: 0;
    width: 80px;
    height: 65px;
    overflow: hidden;
    border-radius: 5px;
    margin-right: 15px;
}

#post-section-4 .sidebar-post-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#post-section-4 .sidebar-post-content .sidebar-post-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 5px;
}
#post-section-4 .sidebar-post-content .sidebar-post-title a {
    color: #343a40;
    text-decoration: none;
    transition: color 0.2s ease;
}
#post-section-4 .sidebar-post-content .sidebar-post-title a:hover {
    color: #007bff;
}

#post-section-4 .sidebar-post-meta {
    font-size: 0.8rem;
    color: #888;
}
#post-section-4 .sidebar-post-meta .meta-icon {
    margin-right: 4px;
}

#post-section-4 .sidebar-pagination-container {
    margin-top: 25px;
    display: flex;
    justify-content: center;
}
/* Adjust Bootstrap pagination for smaller size in sidebar */
#post-section-4 .sidebar-pagination-container .pagination {
    font-size: 0.85rem;
}
#post-section-4 .sidebar-pagination-container .page-link {
    padding: 0.3rem 0.6rem;
}


/* Responsive */
@media (max-width: 991.98px) { /* Medium devices (tablets, less than 992px) */
    #post-section-4 .sidebar-area {
        margin-top: 30px;
    }
    #post-section-4 .featured-post-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 767.98px) { /* Small devices (landscape phones, less than 768px) */
    #post-section-4 .section-global-header .section-global-title {
        font-size: 2rem;
    }
    #post-section-4 .featured-post-title {
        font-size: 1.4rem;
    }
     #post-section-4 .featured-post-image-wrapper {
        max-height: 300px;
    }
} 




/* Scoped variables for section */
#category-posts-24 {
  --cp-gradient-bg: linear-gradient(135deg, #89f7fe 0%, #66a6ff 100%);
  padding: 80px 20px;
  background: var(--cp-gradient-bg);
  overflow: hidden;
  position: relative;
}

/* Header */
#category-posts-24 .section-header {
  text-align: center;
  margin-bottom: 50px;
  color: #fff;
}
#category-posts-24 .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: .5rem;
}
#category-posts-24 .section-subtitle {
  font-size: 1.125rem;
  opacity: .9;
}

/* Grid */
#category-posts-24 .flip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: 2rem;
}

/* Fade-in on scroll */
#category-posts-24 .flip-card-wrapper {
  perspective: 1000px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
#category-posts-24 .flip-card-wrapper.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Card */
#category-posts-24 .flip-card {
  width: 100%;
  height: 360px;
  position: relative;
}
#category-posts-24 .flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform .6s ease;
}
#category-posts-24 .flip-card-wrapper:hover .flip-card-inner {
  transform: rotateY(180deg);
}

/* Front & Back */
#category-posts-24 .flip-card-front,
#category-posts-24 .flip-card-back {
  position: absolute;
  width: 100%; height: 100%;
  backface-visibility: hidden;
  border-radius: 1rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  overflow: hidden;
}

/* Front side */
#category-posts-24 .flip-card-front {
  background: #fff;
  display: flex;
  flex-direction: column;
}
#category-posts-24 .flip-card-front img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
#category-posts-24 .flip-card-front .front-body {
  padding: 1rem;
  flex: 1;
}
#category-posts-24 .flip-card-front h3 {
  font-size: 1.125rem;
  margin: 0;
  color: #333;
}

/* Back side */
#category-posts-24 .flip-card-back {
  background: rgba(255,255,255,0.95);
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
}
#category-posts-24 .flip-card-back p {
  font-size: .95rem;
  color: #444;
  flex: 1;
  margin-bottom: 1rem;
}
#category-posts-24 .flip-card-back .btn-readmore {
  align-self: flex-end;
  padding: .5rem 1rem;
  font-size: .875rem;
  font-weight: 600;
  color: #fff;
  background: #66a6ff;
  border-radius: .5rem;
  text-decoration: none;
  transition: background .3s ease, transform .3s ease;
}
#category-posts-24 .flip-card-back .btn-readmore:hover {
  background: #89f7fe;
  transform: translateY(-2px);
}

/* Pagination & Load More */
#category-posts-24 .pagination-wrapper,
#category-posts-24 .load-more-wrapper {
  text-align: center;
  margin-top: 3rem;
}




#call-to-action-12 {
  padding: 100px 0;
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
  position: relative;
}
#call-to-action-12 .cta-content {
  max-width: 700px;
  margin: 0 auto;
  padding: 50px;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 10px;
}
#call-to-action-12 h2 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 20px;
}
#call-to-action-12 p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}
#call-to-action-12 .btn {
  display: inline-block;
  background-color: #ffc107;
  color: #333;
  padding: 15px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.3rem;
  transition: background-color 0.3s ease-in-out;
}
#call-to-action-12 .btn:hover {
  background-color: #e0a800;
}


