/*
====================================================================
    HOME PAGE STYLES
====================================================================
    This file holds CSS for individual home page (index.php)
    sections. Every section gets its own banner comment block below
    so new sections can keep being appended here over time.

    Index:
    1. What's Unique About Digital Alliance
    2. Who Do We Help Section
    3. Why Choose Digital Allianz - icon rows
    4. Home Page FAQ Section
    5. Featured Case Studies Section
    6. Our Clients Carousel
    7. Home Services Section
    8. Our Game Plan Section
    9. Main Slider Hero Overlay
    10. Our Proud Associations Section
====================================================================
*/


/*
====================================================================
    1. What's Unique About Digital Alliance
====================================================================
*/

.unique-section {
    position: relative;
    padding: 90px 0 95px;
    background-position: right top;
    background-repeat: no-repeat;
    background-size: cover;
}

.unique-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
    margin-top: 45px;
}

.unique-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 38px 24px 30px;
    background-color: #ffffff;
    border-radius: 16px;
    border: 1px solid #f0f0f0;
    overflow: hidden;
    box-shadow: 0px 6px 24px rgba(0, 0, 0, 0.05);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.unique-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6b5b, #e62f2d);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.unique-card:hover {
    transform: translateY(-8px);
    border-color: transparent;
    box-shadow: 0px 18px 36px rgba(230, 47, 45, 0.14);
}

.unique-card:hover:before {
    transform: scaleX(1);
}

.unique-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 18px;
    background: #fbeceb;
    box-shadow: 0 10px 20px rgba(230, 47, 45, 0.1);
    transition: background 0.35s ease, border-radius 0.35s ease, transform 0.35s cubic-bezier(.22, 1, .36, 1);
}

.unique-card:hover .unique-icon {
    background: linear-gradient(135deg, #ff6b5b 0%, #e62f2d 100%);
    border-radius: 30% 70% 65% 35% / 40% 40% 60% 60%;
    transform: rotate(-6deg) scale(1.08);
    box-shadow: 0 12px 24px rgba(230, 47, 45, 0.3);
}

.unique-icon .icon {
    position: relative;
    font-size: 28px;
    color: #e62f2d;
    transition: color 0.35s ease;
}

.unique-card:hover .unique-icon .icon {
    color: #ffffff;
}

.unique-card h3 {
    position: relative;
    color: #191414;
    font-size: 16.5px;
    font-weight: 700;
    line-height: 1.4em;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.unique-card:hover h3 {
    color: #e62f2d;
}

.unique-card p {
    position: relative;
    color: #767676;
    font-size: 14px;
    line-height: 1.7em;
    margin: 0;
}

@media only screen and (max-width: 991px) {
    .unique-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 767px) {
    .unique-section {
        padding: 70px 0 60px;
    }

    .unique-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .unique-card {
        padding: 35px 25px 30px;
    }
}

@media only screen and (max-width: 480px) {
    .unique-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 16px;
    }

    .unique-icon .icon {
        font-size: 24px;
    }

    .unique-card h3 {
        font-size: 16px;
    }

    .unique-card p {
        font-size: 13.5px;
    }
}

/*
====================================================================
    2. Who Do We Help Section 
====================================================================
*/
.who-we-help-section {
  position: relative;
  padding: 60px 0;
  background: #faf7f7;
  overflow: hidden;
}

.who-we-help-section:before {
  content: '';
  position: absolute;
  top: -160px;
  left: -160px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 47, 45, 0.06), rgba(230, 47, 45, 0) 70%);
}

.who-we-help-section:after {
  content: '';
  position: absolute;
  bottom: -180px;
  right: -180px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 47, 45, 0.05), rgba(230, 47, 45, 0) 70%);
}

.who-we-help-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 14px;
  counter-reset: who-we-help-count;
}

.who-we-help-card {
  position: relative;
  height: 100%;
  counter-increment: who-we-help-count;
}

.who-we-help-card-inner {
  position: relative;
  height: 100%;
  padding: 32px 26px 28px;
  background: #ffffff;
  border: 1px solid #f0e6e5;
  border-radius: 16px;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(20, 12, 12, 0.04), 0 10px 24px rgba(20, 12, 12, 0.05);
  transition: transform 0.35s cubic-bezier(.22,1,.36,1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.who-we-help-card-inner:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff6b5b, #e62f2d);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.who-we-help-card-inner:after {
  content: counter(who-we-help-count, decimal-leading-zero);
  position: absolute;
  top: -6px;
  right: 14px;
  font-size: 54px;
  font-weight: 800;
  line-height: 1;
  color: #f7ebea;
  z-index: 0;
  transition: color 0.35s ease;
}

.who-we-help-card-inner:hover {
  transform: translateY(-8px);
  border-color: #f0dedd;
  box-shadow: 0 20px 40px rgba(230, 47, 45, 0.16);
}

.who-we-help-card-inner:hover:before {
  transform: scaleX(1);
}

.who-we-help-card-inner:hover:after {
  color: #fbeceb;
}

.who-we-help-icon {
  position: relative;
  z-index: 1;
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #ff6b5b 0%, #e62f2d 100%);
  box-shadow: 0 10px 20px rgba(230, 47, 45, 0.25);
  transition: transform 0.35s cubic-bezier(.22,1,.36,1), border-radius 0.35s ease;
}

.who-we-help-card-inner:hover .who-we-help-icon {
  transform: rotate(-8deg) scale(1.08);
  border-radius: 30% 70% 65% 35% / 40% 40% 60% 60%;
}

.who-we-help-icon .icon {
  position: relative;
  font-size: 24px;
  color: #ffffff;
}

.who-we-help-title {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  font-size: 16.5px;
  font-weight: 700;
  color: #191414;
  letter-spacing: 0.2px;
  transition: color 0.3s ease;
}

.who-we-help-card-inner:hover .who-we-help-title {
  color: #e62f2d;
}

.who-we-help-text {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #767676;
  font-size: 13.5px;
  line-height: 1.7;
}

.who-we-help-card.wide {
  grid-column: span 3;
}

.who-we-help-card.wide .who-we-help-card-inner {
  text-align: left;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 26px 30px;
}

.who-we-help-card.wide .who-we-help-icon {
  margin: 0;
  flex: none;
}

.who-we-help-card.wide .who-we-help-card-inner:after {
  top: 50%;
  transform: translateY(-50%);
  right: 24px;
}

@media (max-width: 991px) {
  .who-we-help-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .who-we-help-card.wide {
    grid-column: span 2;
  }
}

@media (max-width: 575px) {
  .who-we-help-grid {
    grid-template-columns: 1fr;
  }

  .who-we-help-card.wide .who-we-help-card-inner {
    flex-direction: column;
    text-align: center;
  }

  .who-we-help-card.wide .who-we-help-card-inner:after {
    top: -6px;
    transform: none;
  }

  .who-we-help-card-inner {
    padding: 28px 22px 24px;
  }
}

/*
====================================================================
    3. Why Choose Digital Allianz - icon rows
====================================================================
*/
.why-choose-intro {
  margin: 14px 0 6px;
  font-size: 15.5px;
  color: #55504f;
}

.why-choose-rows {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}

.why-choose-rows li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 16px 16px 20px;
  border-radius: 12px;
  overflow: hidden;
  transition: background 0.3s ease, transform 0.3s ease;
}

.why-choose-rows li + li {
  margin-top: 4px;
}

.why-choose-rows li:before {
  content: '';
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 0;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, #ff6b5b, #e62f2d);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.why-choose-rows li:hover {
  background: #fff5f4;
  transform: translateX(4px);
}

.why-choose-rows li:hover:before {
  transform: scaleY(1);
}

.why-choose-icon {
  flex: none;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: #fbeceb;
  transition: background 0.3s ease, transform 0.3s cubic-bezier(.22,1,.36,1), border-radius 0.3s ease;
}

.why-choose-icon .icon {
  font-size: 19px;
  color: #e62f2d;
  transition: color 0.3s ease;
}

.why-choose-rows li:hover .why-choose-icon {
  background: linear-gradient(135deg, #ff6b5b 0%, #e62f2d 100%);
  transform: rotate(-6deg) scale(1.06);
  border-radius: 30% 70% 65% 35% / 40% 40% 60% 60%;
}

.why-choose-rows li:hover .why-choose-icon .icon {
  color: #ffffff;
}

.why-choose-label {
  flex: 1;
  font-size: 15.5px;
  font-weight: 600;
  color: #191414;
  letter-spacing: 0.1px;
  transition: color 0.3s ease;
}

.why-choose-rows li:hover .why-choose-label {
  color: #e62f2d;
}

.why-choose-arrow {
  flex: none;
  font-size: 13px;
  color: #e62f2d;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.why-choose-rows li:hover .why-choose-arrow {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 575px) {
  .why-choose-icon {
    width: 40px;
    height: 40px;
  }

  .why-choose-icon .icon {
    font-size: 16px;
  }

  .why-choose-label {
    font-size: 14px;
  }

  .why-choose-rows li {
    gap: 14px;
    padding: 13px 12px 13px 16px;
  }
}


/*
====================================================================
    4. Home Page FAQ Section
====================================================================
*/
.home-faq-section {
  position: relative;
  padding: 90px 0 100px;
  background: linear-gradient(180deg, #fff8f7 0%, #fff1f0 100%);
  overflow: hidden;
}

.home-faq-section:before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(230, 47, 45, 0.06);
}

.home-faq-section:after {
  content: '';
  position: absolute;
  bottom: -140px;
  left: -140px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(230, 47, 45, 0.05);
}

.home-faq-head {
  position: relative;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 55px;
}

.home-faq-tag {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 30px;
  background: rgba(230, 47, 45, 0.1);
  color: #e62f2d;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.home-faq-head h2 {
  font-size: 34px;
  font-weight: 800;
  color: #1c1c1c;
  text-transform: uppercase;
  margin: 0 0 14px;
  line-height: 1.25;
}

.home-faq-head h2 span {
  color: #e62f2d;
}

.home-faq-head p {
  color: #6b6b6b;
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

.home-faq-grid {
  position: relative;
  column-count: 2;
  column-gap: 26px;
}

.home-faq-item {
  break-inside: avoid;
  background: #ffffff;
  border: 1px solid #f0e4e3;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 4px 18px rgba(30, 20, 20, 0.05);
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.home-faq-item:hover {
  box-shadow: 0 10px 26px rgba(230, 47, 45, 0.1);
  transform: translateY(-2px);
}

.home-faq-item.active {
  border-color: rgba(230, 47, 45, 0.35);
  box-shadow: 0 12px 28px rgba(230, 47, 45, 0.12);
}

.home-faq-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  cursor: pointer;
  user-select: none;
}

.home-faq-number {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  background: rgba(230, 47, 45, 0.08);
  color: #e62f2d;
  transition: background 0.25s ease, color 0.25s ease;
}

.home-faq-item.active .home-faq-number {
  background: #e62f2d;
  color: #ffffff;
}

.home-faq-question {
  flex: 1 1 auto;
  font-size: 15.5px;
  font-weight: 500;
  color: #262626;
  line-height: 1.4;
}

.home-faq-icon {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid #e8d4d3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.home-faq-icon:before,
.home-faq-icon:after {
  content: '';
  position: absolute;
  background: #e62f2d;
  transition: transform 0.3s ease, background 0.3s ease;
}

.home-faq-icon:before {
  width: 10px;
  height: 2px;
}

.home-faq-icon:after {
  width: 2px;
  height: 10px;
}

.home-faq-item.active .home-faq-icon {
  background: #e62f2d;
  border-color: #e62f2d;
}

.home-faq-item.active .home-faq-icon:before,
.home-faq-item.active .home-faq-icon:after {
  background: #ffffff;
}

.home-faq-item.active .home-faq-icon:after {
  transform: rotate(90deg) scaleY(0);
}

.home-faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.home-faq-body {
  padding: 0 22px 20px 72px;
  color: #6f6f6f;
  font-size: 14.5px;
  line-height: 1.75;
}

.home-faq-body ul {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.home-faq-body ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}

.home-faq-body ul li:last-child {
  margin-bottom: 0;
}

.home-faq-body ul li:before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e62f2d;
}

@media (max-width: 991px) {
  .home-faq-grid {
    column-count: 1;
  }

  .home-faq-head h2 {
    font-size: 27px;
  }
}

@media (max-width: 575px) {
  .home-faq-section {
    padding: 60px 0 70px;
  }

  .home-faq-header {
    padding: 16px;
    gap: 12px;
  }

  .home-faq-body {
    padding: 0 16px 18px 62px;
  }
}



/*
====================================================================
    5. Featured Case Studies Section
====================================================================
*/
.client-work-section {
  position: relative;
  padding: 60px 0;
  background: #faf7f7;
  overflow: hidden;
}

.client-work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 20px;
  align-items: start;
}

.client-work-card {
  height: 100%;
}

.client-work-card-inner {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 30px 28px 28px;
  background: #ffffff;
  border: 1px solid #f0e6e5;
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(20, 12, 12, 0.04), 0 10px 24px rgba(20, 12, 12, 0.05);
  transition: transform 0.35s cubic-bezier(.22,1,.36,1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.client-work-card-inner:hover {
  transform: translateY(-6px);
  border-color: #f0dedd;
  box-shadow: 0 20px 40px rgba(230, 47, 45, 0.14);
}

/* Header: logo + name + industry badge */
.client-work-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.client-work-logo {
  flex: none;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #f0e6e5;
  box-shadow: 0 10px 20px rgba(20, 12, 12, 0.08);
}

.client-work-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.client-work-head-text {
  min-width: 0;
}

.client-work-name {
  margin: 0 0 6px;
  font-size: 19px;
  font-weight: 700;
  color: #191414;
}

.client-work-industry {
  display: inline-flex;
  align-items: center;
  padding: 3px 11px;
  border-radius: 20px;
  background: #fdeceb;
  font-size: 11.5px;
  font-weight: 600;
  color: #e62f2d;
  letter-spacing: 0.2px;
}

.client-work-summary {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.7;
  color: #55504f;
}

/* Actions row: expand toggle on the left, CTA button on the right */
.client-work-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
}

.client-work-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: none;
  background: none;
  font-size: 13px;
  font-weight: 700;
  color: #e62f2d;
  cursor: pointer;
}

.client-work-toggle .icon {
  font-size: 9px;
  transition: transform 0.3s ease;
}

.client-work-card-inner.is-expanded .client-work-toggle .icon {
  transform: rotate(180deg);
}

/* Collapsible services / highlights, hidden until the card is expanded */
.client-work-details {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.4s ease;
}

.client-work-card-inner.is-expanded .client-work-details {
  opacity: 1;
  margin-top: 20px;
}

.client-work-details-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  padding-top: 20px;
  margin-bottom: 22px;
  border-top: 1px dashed #f0e0df;
}

.client-work-col h4 {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #191414;
}

.client-work-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.client-work-list li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 0 0 10px;
  font-size: 13px;
  line-height: 1.6;
  color: #767676;
}

.client-work-list li .icon {
  flex: none;
  margin-top: 3px;
  font-size: 10px;
  color: #e62f2d;
}

.client-work-cta {
  flex: none;
  padding: 6px 16px;
  font-size: 11px;
  color: #ffffff;
  background: #e62f2d;
  border-color: #e62f2d;
}

.client-work-cta:hover,
.client-work-cta:focus {
  color: #ffffff;
  background: #c92220;
  border-color: #c92220;
}

@media (max-width: 991px) {
  .client-work-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .client-work-card-inner {
    padding: 24px 20px 22px;
  }

  .client-work-details-inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/*
====================================================================
    6. Our Clients Carousel
====================================================================
*/
.our-clients-section {
  position: relative;
  padding: 70px 0 75px;
  overflow: hidden;
}

.our-clients-carousel {
  position: relative;
  margin-top: 40px;
}

.our-clients-slide {
  padding: 6px;
}

.our-clients-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 160px;
  padding: 28px;
  background: #ffffff;
  border: 1.5px solid #ece3e2;
  border-radius: 14px;
  box-shadow: 0 3px 10px rgba(20, 12, 12, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.our-clients-logo img {
  max-width: 100%;
  max-height: 84px;
  width: auto;
  transition: transform 0.35s ease;
}

.our-clients-logo:hover {
  transform: translateY(-4px);
  border-color: #f0b6b3;
  box-shadow: 0 14px 28px rgba(230, 47, 45, 0.12);
}

.our-clients-logo:hover img {
  transform: scale(1.05);
}

.our-clients-carousel .owl-dots {
  margin-top: 26px;
  text-align: center;
}

.our-clients-carousel .owl-dots .owl-dot {
  width: 9px;
  height: 9px;
  margin: 0 5px;
  display: inline-block;
  border-radius: 50%;
  background-color: #ecdcdb;
  transition: all 0.3s ease;
}

.our-clients-carousel .owl-dots .owl-dot.active {
  width: 22px;
  height: 9px;
  border-radius: 10px;
  background-color: #e62f2d;
}

@media (max-width: 575px) {
  .our-clients-logo {
    height: 120px;
    padding: 18px;
  }

  .our-clients-logo img {
    max-height: 60px;
  }
}

/*
====================================================================
    7. Home Services Section
====================================================================
*/

/* Section wrapper with soft radial-gradient corner accents */
.home-services-section {
  position: relative;
  padding: 80px 0;
  background: #ffffff;
  overflow: hidden;
}

.home-services-section:before {
  content: '';
  position: absolute;
  top: -180px;
  right: -180px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 47, 45, 0.07), rgba(230, 47, 45, 0) 70%);
}

.home-services-section:after {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -200px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 47, 45, 0.05), rgba(230, 47, 45, 0) 70%);
}

/* Owl carousel wrapper; counter powers the "01, 02, ..." card numbering */
.home-services-carousel.owl-carousel {
  position: relative;
  padding: 10px 4px 46px;
  counter-reset: home-service-count;
}

.home-service-card {
  position: relative;
  height: 100%;
  margin-bottom: 10px;
  counter-increment: home-service-count;
}

/* Card shell + large background counter number */
.home-service-card-inner {
  position: relative;
  height: 100%;
  padding: 40px 30px 76px;
  background: #ffffff;
  border-radius: 22px;
  text-align: left;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(20, 12, 12, 0.04), 0 12px 30px rgba(20, 12, 12, 0.06);
  transition: transform 0.35s cubic-bezier(.22,1,.36,1), box-shadow 0.35s ease;
}

.home-service-card-inner:after {
  content: counter(home-service-count, decimal-leading-zero);
  position: absolute;
  top: 4px;
  right: 20px;
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  color: #f4e6e5;
  z-index: 0;
  transition: color 0.35s ease;
}

.home-service-card-inner:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 45px rgba(230, 47, 45, 0.18);
}

.home-service-card-inner:hover:after {
  color: #fbeceb;
}

/* Icon badge, morphs shape on hover */
.home-service-icon {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  margin-bottom: 26px;
  border-radius: 18px;
  background: linear-gradient(135deg, #ff6b5b 0%, #e62f2d 100%);
  box-shadow: 0 10px 20px rgba(230, 47, 45, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s cubic-bezier(.22,1,.36,1), border-radius 0.35s ease;
}

.home-service-card-inner:hover .home-service-icon {
  transform: rotate(-10deg) scale(1.08);
  border-radius: 30% 70% 65% 35% / 40% 40% 60% 60%;
}

.home-service-icon img {
  position: relative;
  width: 30px;
  height: auto;
  filter: brightness(0) invert(1);
}

/* Title + description text */
.home-service-title {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  font-size: 19px;
  font-weight: 700;
  color: #191414;
  letter-spacing: 0.2px;
}

.home-service-title a {
  color: inherit;
  transition: color 0.3s ease;
}

.home-service-card-inner:hover .home-service-title a {
  color: #e62f2d;
}

.home-service-text {
  position: relative;
  z-index: 1;
  color: #767676;
  font-size: 14.5px;
  line-height: 1.85;
}

/* "Learn more" pill link pinned to the card's bottom-left */
.home-service-link {
  position: absolute;
  left: 30px;
  bottom: 30px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border-radius: 24px;
  border: 1.5px solid #efe1e0;
  color: #e62f2d;
  transition: all 0.3s ease;
}

.home-service-link .icon {
  font-size: 13px;
  transition: transform 0.3s ease;
}

.home-service-link .home-service-link-label {
  color: inherit;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.home-service-card-inner:hover .home-service-link {
  background: #e62f2d;
  border-color: #e62f2d;
  color: #ffffff;
}

.home-service-card-inner:hover .home-service-link .icon {
  transform: translateX(3px);
}

/* Owl carousel nav/dots */
.home-services-carousel .owl-nav {
  display: none;
}

.home-services-carousel .owl-dots {
  position: relative;
  text-align: center;
  margin-top: 6px;
}

.home-services-carousel .owl-dots .owl-dot {
  width: 9px;
  height: 9px;
  margin: 0 5px;
  display: inline-block;
  border-radius: 50%;
  background-color: #ecdcdb;
  transition: all 0.3s ease;
}

.home-services-carousel .owl-dots .owl-dot:hover,
.home-services-carousel .owl-dots .owl-dot.active {
  width: 24px;
  height: 8px;
  border-radius: 10px;
  background: linear-gradient(90deg, #ff6b5b, #e62f2d);
}

@media (max-width: 575px) {
  .home-service-card-inner {
    padding: 34px 24px 68px;
  }

  .home-service-card-inner:after {
    font-size: 50px;
  }
}

/*
====================================================================
    8. Our Game Plan Section
====================================================================
*/
.game-plan-section {
  position: relative;
  padding: 90px 0 80px;
  background: linear-gradient(180deg, #fff8f7 0%, #fdf1f0 100%);
  overflow: hidden;
}

.game-plan-section:before {
  content: '';
  position: absolute;
  top: -140px;
  right: -140px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 47, 45, 0.07), rgba(230, 47, 45, 0) 70%);
}

.game-plan-section:after {
  content: '';
  position: absolute;
  bottom: -160px;
  left: -160px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 47, 45, 0.05), rgba(230, 47, 45, 0) 70%);
}

.game-plan-strip {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: 50px;
}

.game-plan-step {
  position: relative;
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 22px;
  background: #ffffff;
  border: 1px solid #f0e6e5;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(20, 12, 12, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.game-plan-step:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: 0 16px 32px rgba(230, 47, 45, 0.14);
}

.game-plan-arrow {
  flex: 0 0 46px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-plan-arrow .icon {
  font-size: 18px;
  color: #e62f2d;
}

.game-plan-icon {
  position: relative;
  width: 68px;
  height: 68px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fbeceb;
  transition: background 0.35s ease;
}

.game-plan-step:hover .game-plan-icon {
  background: #fddeda;
}

.game-plan-icon img {
  max-width: 32px;
  max-height: 32px;
}

.game-plan-number {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b5b 0%, #e62f2d 100%);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 800;
  box-shadow: 0 6px 14px rgba(230, 47, 45, 0.35);
}

.game-plan-step-text h3 {
  position: relative;
  color: #191414;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4em;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.game-plan-step:hover .game-plan-step-text h3 {
  color: #e62f2d;
}

.game-plan-step-text p {
  position: relative;
  color: #767676;
  font-size: 13.5px;
  line-height: 1.6em;
  margin: 0;
}

.game-plan-cta {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-top: 60px;
}

.game-plan-cta h3 {
  color: #191414;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
}

@media only screen and (max-width: 991px) {
  .game-plan-strip {
    flex-direction: column;
    gap: 18px;
  }

  .game-plan-arrow {
    flex: 0 0 auto;
    padding: 4px 0;
  }

  .game-plan-arrow .icon {
    transform: rotate(90deg);
  }

  .game-plan-step {
    flex-direction: row;
    text-align: left;
    padding: 22px 24px;
    gap: 20px;
  }

  .game-plan-icon {
    flex: none;
    margin: 0;
  }
}

@media only screen and (max-width: 575px) {
  .game-plan-section {
    padding: 65px 0 55px;
  }

  .game-plan-strip {
    margin-top: 34px;
    gap: 14px;
  }

  .game-plan-step {
    padding: 18px 18px;
    gap: 16px;
  }

  .game-plan-cta {
    margin-top: 40px;
  }

  .game-plan-cta h3 {
    font-size: 19px;
  }
}

/*
====================================================================
    9. Main Slider Hero Overlay
====================================================================
    Static SEO-friendly hero card (eyebrow tag, H1, paragraph, CTAs,
    stats and partner badges) that sits on top of the Revolution
    Slider images, in the same vertically-centered, left-aligned spot
    the old per-slide title/text used to sit in. The old per-slide
    captions are pushed to the top-right of each slide (see
    includes/home-sliders.php data-x/data-y/data-voffset) so the two never
    overlap. On mobile, where the slider is too short to host both,
    this switches to a normal in-flow block above the slider.
*/

.main-slider-hero {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.main-slider-hero .auto-container {
  width: 100%;
}

.main-slider-hero-inner {
  position: relative;
  max-width: 640px;
  padding: 30px 34px 28px;
  /* background: rgba(253, 246, 245, 0.96); */
  /* border-radius: 16px; */
  /* box-shadow: 0 20px 50px rgba(20, 12, 12, 0.16); */
  pointer-events: auto;
}

.main-slider-hero-inner .hero-eyebrow {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: #ec2125;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.main-slider-hero-inner .hero-eyebrow .dash {
  width: 16px;
  height: 2px;
  background: #ec2125;
}

.main-slider-hero-inner h1 {
  position: relative;
  margin: 0 0 16px;
  color: #191414;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.25em;
}

.main-slider-hero-inner h1 span {
  color: #ec2125;
}

.main-slider-hero-inner p {
  position: relative;
  margin: 0 0 22px;
  color: #55504f;
  font-size: 14px;
  line-height: 1.75em;
}

.main-slider-hero-inner .btns-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-bottom: 26px;
}

.main-slider-hero-inner .btns-box .theme-btn {
  margin: 0;
  padding: 12px 26px;
}

.main-slider-hero-inner .hero-text-link {
  position: relative;
  color: #191414;
  font-size: 14px;
  font-weight: 700;
  border-bottom: 2px solid #ec2125;
  padding-bottom: 3px;
  transition: color 0.3s ease;
}

.main-slider-hero-inner .hero-text-link .icon {
  margin-left: 4px;
  font-size: 11px;
}

.main-slider-hero-inner .hero-text-link:hover {
  color: #ec2125;
}

.main-slider-hero-inner .hero-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 20px;
}

.main-slider-hero-inner .hero-stat h4 {
  margin: 0 0 4px;
  color: #191414;
  font-size: 19px;
  font-weight: 800;
}

.main-slider-hero-inner .hero-stat span {
  color: #767676;
  font-size: 12.5px;
}

.main-slider-hero-inner .hero-partners {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid rgba(20, 12, 12, 0.08);
}

.main-slider-hero-inner .hero-partners-label {
  color: #9a9a9a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.main-slider-hero-inner .hero-partners img {
  height: 22px;
  width: auto;
  opacity: 0.85;
}

@media only screen and (max-width: 1199px) {
  .main-slider-hero-inner {
    max-width: 480px;
    padding: 24px 26px 22px;
  }

  .main-slider-hero-inner h1 {
    font-size: 24px;
  }

  .main-slider-hero-inner p {
    font-size: 13px;
    margin-bottom: 18px;
  }

  .main-slider-hero-inner .hero-stats {
    gap: 26px;
  }
}

@media only screen and (max-width: 767px) {
  .main-slider-hero {
    position: relative;
    inset: auto;
    display: block;
    padding: 30px 0 20px;
    background: #fff8f7;
  }

  .main-slider-hero-inner {
    max-width: 100%;
    padding: 0;
    background: none;
    box-shadow: none;
    border-radius: 0;
  }

  .main-slider-hero-inner h1 {
    font-size: 22px;
  }

  .main-slider-hero-inner .btns-box {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .main-slider-hero-inner .btns-box .theme-btn {
    text-align: center;
  }

  .main-slider-hero-inner .hero-text-link {
    align-self: flex-start;
  }

  .main-slider-hero-inner .hero-stats {
    gap: 30px;
  }
}

/*
====================================================================
    10. Our Proud Associations Section
====================================================================
*/

.proud-associations-section {
  padding-top: 60px;
}

@media only screen and (max-width: 575px) {
  .proud-associations-section {
    padding-top: 40px;
  }
}
