/* 
	White Card */
.white-card {
  background-color: white;
  padding: 35px 35px 0;
  border-radius: 20px;
  text-align: center;
  max-width: 600px;
  width: 100%;
  min-height: 295px;
  margin: 0 0 25px;
}
.footer-bottom ul {
  list-style: none;
  margin: 0 !important;
  padding: 0 0 0px !important;
}
.footer-bottom ul li {
  list-style: none;
  margin-bottom: 10px !important;
}
.footer-bottom ul li a {
  text-decoration: none;
}

.footer-bottom ul li a:hover {
 color:#f79800
}
/* 
	Scroll */
.scroll-wrap {
  background-color: #FAF4EC;
  overflow: hidden;
  height: 200px;
  display: flex;
  align-items: center;
}
.scroll-container {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
}
.scroll-text {
  font-family: 'Public Sans', sans-serif;
  font-size: 132px;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px #FDB951;
  text-stroke: 1px #FDB951;
  display: inline-block;
  animation: scroll-right-to-left 20s linear infinite;
  text-transform: uppercase;
}
@keyframes scroll-right-to-left {
  0% {
    transform: translateX(100vw);
  }
  100% {
    transform: translateX(-100%);
  }
}
/* Alternative animation for left-to-right */
.scroll-text.left-to-right {
  animation: scroll-left-to-right 20s linear infinite;
}
@keyframes scroll-left-to-right {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100vw);
  }
}












/* CTA Section */
.subfooter .cta-section {
  background: var(--third);
  padding: 60px 20px;
  display: flex;
  align-items: center; /* Keep this as center */
  justify-content: space-between;
  color: white;
  height: 190px;
}
.subfooter .cta-content {
  display: flex;
  align-items: center; /* Keep this as center */
  justify-content: space-between;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}
.subfooter .cta-text {
  font-size: 55px;
  font-weight: 900;
  text-transform: uppercase;
  font-family: var(--h2-font-family);
}
.subfooter .cta-button {
  background: white;
  color: #ff8c00;
  padding: 12px 24px;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  border: 1px solid #fff;
}
.subfooter .cta-button:hover {
  background: #ff8c00;
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  border: 1px solid #fff;
}
.subfooter .cta-image {
  position: relative;
  max-width: 430px;
  margin-left: 0px;
  align-self: flex-end; /* Only the image aligns to bottom */
  margin-bottom: 100px; /* Offset the padding to touch the very bottom */
}
.subfooter .cta-image img {
  width: 100%;
  height: auto;
}
/* Responsive Design */
@media (max-width: 768px) {



.subfooter .cta-section {
  height: auto;
  padding: 60px 20px 0;
}




  
  .subfooter .testimonials-title {
    font-size: 2.5rem;
  }
  .subfooter .testimonials-carousel {
    flex-direction: column;
    gap: 40px;
  }
  .subfooter .cta-content {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }
  .subfooter .cta-text {
    font-size: 2rem;
  }
  .subfooter .cta-image {
    margin-left: 0;
    max-width: 300px;
    margin: 0;
  }
}






















/* Blog Posts List - Style 3 CSS */
.posts-list-style-3 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0px;
}

/* Column Layout - Responsive columns based on template option */
.posts-list-style-3 .row.row-cols-1 {
  /* display: flex; */
  /* flex-direction: column; */
  /* gap: 0; */
}

.posts-list-style-3 .row.row-cols-xl-2.row-cols-1 {
  display: flex;
  flex-direction: column;
  gap: 0;
}

@media (min-width: 1200px) {
  .posts-list-style-3 .row.row-cols-xl-2.row-cols-1 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
  }
  
  .posts-list-style-3 .row.row-cols-xl-2.row-cols-1 .posts-list-item {
    border-bottom: none;
    padding-bottom: 0;
  }
  
  .posts-list-style-3 .row.row-cols-xl-2.row-cols-1 .posts-list-item-wrap {
    flex-direction: column;
    text-align: center;
    padding: 20px;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    height: 100%;
  }
  
  .posts-list-style-3 .row.row-cols-xl-2.row-cols-1 .posts-list-date {
    margin-bottom: 20px;
    margin-right: 0;
    align-self: center;
  }
}

.posts-list-style-3 .posts-list-item {
  margin-bottom: 0;
  border-bottom: 1px solid #f0f0f0;
}

.posts-list-style-3 .posts-list-item:last-child {
  border-bottom: none;
}

.posts-list-style-3 .posts-list-item-wrap {
  display: flex;
  align-items: center;
  padding: 0 0 0px 0;
  gap: 0;
  border: 1px solid #F0E4D3;
  border-radius: 20px;
  margin-bottom: 25px;
}

/* Date Box Styling - Using new .posts-list-date element */
.posts-list-style-3 .posts-list-date {
  flex-shrink: 0;
  margin-right: 30px;
  width: 120px;
  height: 120px;
  background: #F79800;
  border-radius: 20px 0 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  font-weight: bold;
  text-align: center;
  box-shadow: 0 4px 12px rgba(255, 140, 0, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 18px;
  line-height: 1;
}

.posts-list-style-3 .posts-list-date span {
  font-size: 36px;
  font-weight: 700;
  margin-top: 5px;
  display: block;
}

/* Hide the old image-based date when using new date element */
.posts-list-style-3 .posts-list-item-header {
  display: none;
}

/* Content Area */
.posts-list-style-3 .posts-list-item-body {
  flex: 1;
  padding-left: 0;
}

/* News Category Tag */
.posts-list-style-3 .posts-list-item-body::before {
 
}

.posts-list-style-3 .posts-list-item-title {
  margin: 0 0 8px 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: #333;
  text-transform: none;
}

.posts-list-style-3 .posts-list-item-title a {
  text-decoration: none !important;
  color: inherit;
  transition: color 0.3s ease;
  font-weight: 500;
}

.posts-list-style-3 .posts-list-item-title a:hover {
  color: #ff8c00;
}

.posts-list-style-3 .posts-list-item-des {
  margin: 16px 0 0 0;
  color: #666;
  font-size: 16px;
  line-height: 1.6;
}

/* Template Options - Date Display */
.posts-list-style-3.hide-date .posts-list-date {
  display: none;
}

/* Template Options - Thumbnail Display */
.posts-list-style-3.hide-thumb .posts-list-date {
  /* display: none; */
}

.posts-list-style-3.hide-thumb .posts-list-item-body {
  margin-left: 0;
}

/* Template Options - Button Display */
.posts-list-style-3.hide-btn .posts-list-item-btn {
  display: none;
}

.posts-list-style-3.show-btn .posts-list-item-btn {
  display: inline-block;
  margin-top: 16px;
}

.posts-list-style-3.show-btn .posts-list-item-btn a {
  background: #ff8c00;
  color: white;
  padding: 8px 16px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.3s ease;
  display: inline-block;
}

.posts-list-style-3.show-btn .posts-list-item-btn a:hover {
  background: #ff6b00;
}

/* Load More Button */
.posts-list-load-btn {
  text-align: center;
  margin-top: 40px;
}

.posts-list-load-btn button {
  background: #ff8c00;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.posts-list-load-btn button:hover {
  background: #ff6b00;
}

/* Loader */
.posts-list-loader {
  text-align: center;
  padding: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .posts-list-style-3 .posts-list-item-wrap {
    /* flex-direction: column; */
    /* text-align: center; */
    gap: 20px;
  }
  
  .posts-list-style-3 .posts-list-date {
    margin-right: 0;
    margin-bottom: 20px;
    align-self: center;
    width: 100px;
    height: 100px;
    font-size: 14px;
  }
  
  .posts-list-style-3 .posts-list-date span {
    font-size: 28px;
  }
}

/* When both date and thumbnail are disabled, add some left margin back */
.posts-list-style-3.hide-date.hide-thumb .posts-list-item-body {
  margin-left: 0;
}

/* Alternative: If you want to show a text-based date when date box is hidden */
.posts-list-style-3.hide-date .posts-list-item-body::after {
  content: attr(data-publish-date);
  display: block;
  color: #666;
  font-size: 14px;
  margin-bottom: 12px;
  order: -1;
}

.posts-list-style-3 .posts-list-item-category {font-size:16px;text-transform: uppercase;color: #F79800;}



















/* Events Post List CSS */
.posts-list-events {
  max-width: 1400px;
  margin: 0 auto;
  /* padding: 20px; */
}


.posts-list-events  .events-title {font-size:22px;text-transform: none;}
.posts-list-events  .events-title a {color:#fff;}
.posts-list-events  .events-title a:hover {color:#F79800;}

.posts-list-events .row {
}

.posts-list-events .posts-list-item {
  /* padding: 0 15px; */
  margin-bottom: 30px;
  text-transform:none;
}

/* Events Card */
.events-card {
  position: relative;
  display: block;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.events-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

/* Background Image */
.events-card-bg {
  position: relative;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* Card Heights */
.posts-list-events.height-small .events-card-bg {
  height: 280px;
}

.posts-list-events.height-medium .events-card-bg {
  height: 350px;
}

.posts-list-events.height-large .events-card-bg {
  height: 420px;
}

/* Date Box - positioned in top-left corner */
.events-date {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 80px;
  height: 80px;
  background: #F79800;
  border-radius: 12px 0 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  font-weight: bold;
  text-align: center;
  box-shadow: 0 4px 16px rgba(255, 140, 0, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 14px;
  line-height: 1;
  z-index: 2;
}

.events-date span {
  font-size: 26px;
  font-weight: 700;
  margin-top: 2px;
  display: block;
}

/* Overlay for content */
.events-overlay {
  position: relative;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    transparent 100%
  );
  padding: 30px 25px 25px;
  color: white;
  z-index: 1;
}

/* Category Tag */
.events-category {
  display: inline-block;
  color: white;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
  backdrop-filter: blur(10px);
}

/* Event Title */
.events-title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  color: white;
}

.events-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.events-title a:hover {
  color: #ff8c00;
}

/* Template Options - Hide Date */
.posts-list-events.hide-date .events-date {
  display: none;
}

/* Template Options - Hide Category */
.posts-list-events.hide-category .events-category {
  display: none;
}

/* Load More Button */
.posts-list-events .posts-list-load-btn {
  text-align: center;
  margin-top: 40px;
}

.events-load-more {
  background: linear-gradient(135deg, #ff8c00, #ff6b00);
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(255, 140, 0, 0.3);
}

.events-load-more:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
}

/* Loader */
.posts-list-events .posts-list-loader {
  text-align: center;
  padding: 20px;
}

/* Responsive breakpoints */
@media (min-width: 768px) {
  .row-cols-md-2 > * {
    width: 50%;
  }
}

@media (min-width: 992px) {
  .row-cols-lg-3 > * {
    width: 33.33333333%;
  }
}

@media (min-width: 1200px) {
  .row-cols-xl-4 > * {
    width: 25%;
  }
}

/* Mobile responsiveness */
@media (max-width: 576px) {
  .posts-list-events {
    padding: 15px;
  }
  
  .events-date {
    width: 70px;
    height: 70px;
    font-size: 12px;
    top: 15px;
    left: 15px;
  }
  
  .events-date span {
    font-size: 22px;
  }
  
  .events-overlay {
    padding: 25px 20px 20px;
  }
  
  .events-title {
    font-size: 20px;
  }
  
  .posts-list-events.height-small .events-card-bg {
    height: 240px;
  }
  
  .posts-list-events.height-medium .events-card-bg {
    height: 300px;
  }
  
  .posts-list-events.height-large .events-card-bg {
    height: 360px;
  }
}

/* Dark overlay for better text readability */
.events-card-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 0;
}

.events-overlay {
  position: relative;
  z-index: 1;
}



@media screen and (max-width: 768px) {
  .footer-sns #tpl-W71EQU ul {
    display: flex;
    justify-content: center;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none;
  }

  .footer-sns #tpl-W71EQU li {
    margin: 0 8px;
  }

  /* If the nav itself has left alignment forcing, override it */
  .footer-sns #tpl-W71EQU {
    text-align: center !important;
  }
}


