
#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;
}



/* === Section Base === */
.post-section {
  padding: 60px 0;
  background: #f7f7f7;
}
.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 === */
.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); }
}

/* === Flip Card === */
.flip-card {
  perspective: 1000px;
}
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transform-style: preserve-3d;
  transition: transform 0.6s;
}
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

/* Front & Back Faces */
.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.flip-card-front {
  background: #fff;
}
.flip-card-front img {
  width: 100%;
  display: block;
}
.flip-card-front .card-title {
  padding: 0.75rem;
  font-size: 1.1rem;
  font-weight: 600;
}
.flip-card-back {
  background: #fff;
  color: #333;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
}
.flip-card-back .excerpt {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 1rem;
  flex-grow: 1;
}
.flip-card-back .meta {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 0.5rem;
}
.flip-card-back .btn-readmore {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  background: #007bff;
  color: #fff;
  border-radius: 0.25rem;
  text-decoration: none;
  transition: background 0.3s;
}
.flip-card-back .btn-readmore i {
  margin-left: 0.5rem;
}
.flip-card-back .btn-readmore:hover {
  background: #0056b3;
}

/* === Pagination === */
.pagination-wrapper {
  text-align: center;
  margin-top: 40px;
}




#about-us-12 {
  padding: 60px 15px;
  max-width: 1200px;
  margin: 0 auto;
}
#about-us-12 .section-hero {
  background-size: cover;
  background-position: center;
  padding: 80px;
  border-radius: 8px;
  text-align: center;
  color: #fff;
  margin-bottom: 40px;
}
#about-us-12 .team-grid,
#about-us-12 .values-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 40px;
}
#about-us-12 .team-card,
#about-us-12 .value-card {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  flex: 1 1 calc(33.333% - 20px);
}
#about-us-12 .team-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 10px;
}
#about-us-12 .team-card h5 {
  margin: 10px 0 5px;
  font-size: 1.1rem;
}
#about-us-12 .team-card p {
  font-size: 0.95rem;
  color: #555;
}
#about-us-12 .value-card i {
  font-size: 2rem;
  color: #007bff;
  margin-bottom: 10px;
}
#about-us-12 .value-card h5 {
  margin-bottom: 5px;
  font-size: 1.1rem;
}
#about-us-12 .value-card p {
  font-size: 0.95rem;
  color: #555;
}
@media (max-width: 992px) {
  #about-us-12 .team-card,
  #about-us-12 .value-card {
    flex: 1 1 calc(50% - 20px);
  }
}
@media (max-width: 576px) {
  #about-us-12 .team-card,
  #about-us-12 .value-card {
    flex: 1 1 100%;
  }
}



#features-28 {
  padding: 60px 0;
  overflow: hidden;
  background-color: {{ $data['features-28']['bg_color'] ?? '#f8f9fa' }};
}
#features-28 .section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  color: #343a40;
}
#features-28 .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-28 .section-title p {
  margin-bottom: 40px;
  color: #6c757d;
}
#features-28 .feature-image-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  min-height: 250px; 
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  transition: transform 0.3s ease;
  cursor: pointer; 
   box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
#features-28 .feature-image-card:hover {
   transform: translateY(-5px);
   box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
#features-28 .card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
transition: background-color 0.4s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1;
}
/* Hover effect defined via JS might be smoother if needed,
   but CSS transition is simpler */
#features-28 .feature-image-card:hover .card-overlay {
}
#features-28 .card-content {
   position: relative;
   z-index: 2;
}
#features-28 .card-icon i {
  font-size: 40px;
  margin-bottom: 15px;
  opacity: 0.9;
}
#features-28 .card-title {
  font-size: 20px;
  font-weight: 600;
}
@media (max-width: 767.98px) {
  #features-28 .section-title h2 {
    font-size: 28px;
  }
  #features-28 .feature-image-card {
     min-height: 200px;
  }
   #features-28 .card-icon i {
      font-size: 36px;
   }
    #features-28 .card-title {
      font-size: 18px;
   }
}



#testimonials-18 {
  padding: 80px 0;
  background-color: #ffffff;
}
#testimonials-18 .container {
  max-width: 960px;
}
#testimonials-18 .section-header {
  margin-bottom: 60px;
  text-align: center;
}
#testimonials-18 .section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #343a40;
  margin-bottom: 15px;
}
#testimonials-18 .section-header p {
  color: #6c757d;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}
#testimonials-18 .testimonial-timeline-container {
  position: relative;
  margin: 0 auto;
}
#testimonials-18 .testimonial-timeline-container::before {
  content: "";
  position: absolute;
  width: 3px;
  background-color: var(--timeline-color, #0d6efd);
  opacity: 0.3;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1.5px;
}
#testimonials-18 .timeline-item {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
  margin-bottom: 30px;
}
#testimonials-18 .timeline-item::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  right: -9px;
  background-color: #ffffff;
  border: 4px solid var(--timeline-color, #0d6efd);
  top: 25px;
  border-radius: 50%;
  z-index: 1;
}
#testimonials-18 .timeline-item.timeline-left {
  left: 0;
  padding-right: 60px;
}
#testimonials-18 .timeline-item.timeline-right {
  left: 50%;
  padding-left: 60px;
}
#testimonials-18 .timeline-item.timeline-right::after {
  left: -9px;
}
#testimonials-18 .timeline-item.timeline-left .timeline-content::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 28px;
  width: 0;
  z-index: 1;
  right: 30px;
  border: medium solid white;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent #ffffff;
}
#testimonials-18 .timeline-item.timeline-right .timeline-content::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 28px;
  width: 0;
  z-index: 1;
  left: 30px;
  border: medium solid white;
  border-width: 10px 10px 10px 0;
  border-color: transparent #ffffff transparent transparent;
}
#testimonials-18 .timeline-content {
  padding: 20px 25px;
  background-color: #f8f9fa;
  position: relative;
  border-radius: 8px;
  border: 1px solid #e9ecef;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}
#testimonials-18 .timeline-date {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--timeline-color, #0d6efd);
  margin-bottom: 10px;
  display: block;
}
#testimonials-18 .timeline-message {
  font-size: 1rem;
  color: #495057;
  line-height: 1.6;
  margin-bottom: 15px;
  font-style: italic;
}
#testimonials-18 .timeline-client {
  display: flex;
  align-items: center;
  margin-top: 10px;
}
#testimonials-18 .timeline-client img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 10px;
  border: 2px solid #ffffff;
}
#testimonials-18 .timeline-client-info .name {
  font-weight: 600;
  color: #343a40;
  display: block;
  font-size: 0.95rem;
}
#testimonials-18 .timeline-client-info .position {
  font-size: 0.85rem;
  color: #6c757d;
  display: block;
}
@media screen and (max-width: 767px) {
  #testimonials-18 .testimonial-timeline-container::before {
    left: 31px;
    margin-left: 0;
  }
  #testimonials-18 .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 15px;
    margin-bottom: 40px;
  }
  #testimonials-18 .timeline-item.timeline-left,
  #testimonials-18 .timeline-item.timeline-right {
    left: 0%;
  }
  #testimonials-18 .timeline-item::after {
    left: 22px;
  }
  #testimonials-18 .timeline-item.timeline-right::after {
    left: 22px;
  }
  #testimonials-18 .timeline-item.timeline-left .timeline-content::before,
  #testimonials-18 .timeline-item.timeline-right .timeline-content::before {
    left: -10px;
    right: auto;
    border-width: 10px 10px 10px 0;
    border-color: transparent #ffffff transparent transparent;
  }
  #testimonials-18 .section-header h2 {
    font-size: 2rem;
  }
}



#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;
}



#faq-20 {
  padding: 80px 0;
  background-color: #f4f7fc;
}
#faq-20 .faq-section-title {
  text-align: center;
  font-weight: 700;
  margin-bottom: 3.5rem;
  font-size: 2rem;
}
#faq-20 .faq-elevated-card {
  border: none;
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
  background-color: #fff;
  box-shadow: 0 5px 20px rgba(0, 82, 255, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#faq-20 .faq-elevated-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 82, 255, 0.1);
}
#faq-20 .faq-card-header button {
  width: 100%;
  text-align: left;
  padding: 1.3rem 1.7rem;
  font-weight: 600;
  font-size: 1.05rem;
  color: #343a40;
  background-color: #fff;
  border: none;
  position: relative;
  transition: background-color 0.2s ease, color 0.2s ease;
  box-shadow: none !important;
  border-bottom: 1px solid transparent;
}
#faq-20 .faq-card-header button:hover {
  background-color: #f8f9fa;
}
#faq-20 .faq-card-header button:not(.collapsed) {
  color: #0d6efd;
  background-color: #fff;
  border-bottom-color: #e0e0e0;
}
#faq-20 .faq-card-header button::after {
  content: "\\2b";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 1.7rem;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  transition: transform 0.3s ease;
  font-size: 1em;
  color: #adb5bd;
}
#faq-20 .faq-card-header button:not(.collapsed)::after {
  transform: translateY(-50%) rotate(45deg);
  color: #dc3545;
}
#faq-20 .faq-card-body-collapse .card-body {
  padding: 1.7rem;
  line-height: 1.7;
  color: #495057;
  background-color: #fdfdff;
}
#faq-20 .faq-card-body-collapse .card-body p:last-child {
  margin-bottom: 0;
}



#offers-12 {
  padding: 80px 0;
  background-color: #fafafa;
}
#offers-12 .offer-section-title {
  text-align: center;
  font-weight: 700;
  margin-bottom: 3.5rem;
  font-size: 2rem;
}
#offers-12 .game-type-image-col {
  display: flex;
  align-items: center;
  justify-content: center;
}
#offers-12 .game-type-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
#offers-12 .game-type-details-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding-left: 2.5rem;
}
#offers-12 .game-type-headline {
  font-weight: 700;
  font-size: 1.8rem;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}
#offers-12 .game-type-offers-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 2.5rem;
}
#offers-12 .game-type-offers-list li {
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  color: #343a40;
  font-size: 1rem;
  line-height: 1.6;
}
#offers-12 .game-type-offers-list li i {
  margin-right: 12px;
  margin-top: 5px;
  color: #0d6efd;
  font-size: 1em;
  width: 20px;
  text-align: center;
}
#offers-12 .btn-game-type-cta {
  padding: 0.8rem 2rem;
  font-weight: 600;
  align-self: flex-start;
}
@media (max-width: 991.98px) {
  #offers-12 .game-type-image-col {
    margin-bottom: 2rem;
  }
  #offers-12 .game-type-details-col {
    padding-left: 0;
    text-align: center;
  }
  #offers-12 .game-type-offers-list {
    text-align: left;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
  #offers-12 .btn-game-type-cta {
    align-self: center;
  }
}


