@import url('https://fonts.googleapis.com/css2?family=Montserrat+Alternates:wght@400;600;700&display=swap');
.section-heading .sub-heading {
    font-family: var(--rr-ff-p);
    color: #ed090e;
}
.section-heading .sub-heading:after, .section-heading .sub-heading:before {
    background: linear-gradient(270deg, rgb(237 9 14) 0%, transparent 100%);
}
.about-content-7 .about-list-wrap .about-list li i {
    color: #ed090e;
}
.rr-primary-btn{
     background :  #ed090e;
    
}
.works-wrapper-5 .work-box {
    min-height: 460px;
    min-width: 460px;
}
/* Match alignment like OUR COURSES section */

.work-area-5 .container.large {
    max-width: 1405px;     /* same feel as rr-container-1405 */
    margin-left: auto;
    margin-right: auto;
}

.work-area-5 .works-wrapper-5 {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
}

.work-area-5 .work-box {
    flex: 0 0 calc(33.333% - 20px);
}
/* ===== Customer Auto Scroll (FINAL & CORRECT) ===== */

.customer-row-wrapper {
    width: 100%;
    overflow: hidden;
}

.customer-row-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: customerScroll 40s linear infinite;
}

/* BIGGER ITEMS */
.customer-item {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 80px; /* spacing between items */
}

/* Bigger logos */
.logo-circle img {
    width: 180px;
    height: 180px;
    object-fit: contain;
    border-radius: 50%;
}

/* Bigger text */
.customer-item h5 {
    margin-top: 14px;
    font-size: 16px;
    font-weight: 500;
    white-space: nowrap;
}

/* TRUE infinite scroll */
@keyframes customerScroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}
.footer-widget .widget-header .widget-title:before {
    background-color: #e61f1e !important;
}
.footer-4 .logo-widget .social-list li a:hover {
    background-color: #e61f1e;
}
.footer-2 .copyright-content .copyright-list li a:hover {
    color: #e61f1e;
}
.testi-top .swiper-arrow .swiper-nav:hover
 {
    background-color: #e61f1e;
    color: #fff;
    border: 1px solid #e61f1e;
}
.testi-top .swiper-arrow .swiper-nav {
    color: #e61f1e;
}
.post-card-2.card-3 .post-content-wrap .post-content .title a:hover {
    color: #e61f1e;
    background-size: 100% 2px;
}
.post-card-2.card-3 .post-content-wrap .post-content .title a {
    color: var(--rr-color-heading-primary);
    background: linear-gradient(#ed090e 0%, #ed090e 98%);
    background-size: 0 2px;
    background-repeat: no-repeat;
    background-position: left 100%;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.work-area-5 .card-bg {
    background-size: contain;   /* KEY FIX */
    background-position: center;
    background-repeat: no-repeat;
}

/* Desktop – keep existing layout */
.work-area-5 .works-wrapper-5 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* ===== FINAL MOBILE FIX (REAL & WORKING) ===== */
@media (max-width: 767px) {

.works-wrapper-5 .work-box {
    min-height: 375px;
    min-width: 375px;
}
    /* Kill the inner container that causes full-bleed */
    .work-area-5 > .container.large {
        display: contents;
    }

    /* One card per row */
    .work-area-5 .works-wrapper-5 {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Card behaves normally inside outer container */
    .work-area-5 .work-box {
        width: 100%;
    }

    /* Image fully visible */
    .work-area-5 .card-bg {
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
    }
}
/* Initial state */
.animate-left {
    opacity: 0;
    transform: translateX(-80px);
    transition: all 1s ease;
}

/* When visible on scroll */
.animate-left.is-inview {
    opacity: 1;
    transform: translateX(0);
}

.footer-4 .footer-wrap {
    padding: 50px 0;
}
.it-copyright-area {
    border-top: 1px solid var(--rr-color-border-1);
    padding: 15px 0;
}
.about-tab .nav-tabs .nav-link.active {
    background-color: #ed090e !important;
}

.inner_left_content {
    font-family: Arial, sans-serif;
    line-height: 1.7;
}

.inner_left_content .normal-heading {
    font-family: "Sequel Sans Roman Body";
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.2;
    color: inherit;
}

.inner_left_content p {
  padding: 0;
    margin: 0;
    font-weight: 400;
    font-size: 18px;
    line-height: 30px;
    color: var(--secondary);
}
.process-counter .counter-card .icon {
    background-color: #ed090e;
}
.process-counter {
    border-bottom: 0px solid #E6E6E6;
}
@media only screen and (max-width: 1919px) {
    .section-spacing {
        padding-bottom: 0px;
    }
}
@media only screen and (max-width: 767px) {
    .pt-130 {
        padding-top: 90px;
    }
}
@media (max-width: 767px) {

  .sponsor-wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  /* Title takes full width */
  .sponsor-item.item-1 {
    grid-column: span 2;
    text-align: center;
    margin-bottom: 10px;
  }

  .sponsor-item {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .sponsor-item img {
    max-width: 200px;
    width: 100%;
    height: auto;
  }
}
@media only screen and (max-width: 992px) {
    .sponsor-wrap .sponsor-item img {
        max-width: 120px;
    }
}
@media (max-width: 767px) {

  /* Reduce container padding */
  .sponsor-section .container {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  /* Force compact grid */
  .sponsor-section .sponsor-wrap {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    column-gap: 8px !important;
    row-gap: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Title block */
  .sponsor-section .sponsor-item.item-1 {
    grid-column: span 2 !important;
    margin: 0 0 4px 0 !important;
    padding: 0 !important;
    text-align: center;
  }

  .sponsor-section .sponsor-item.item-1 .title {
    margin: 0 !important;
    padding: 0 !important;
    
  }

  /* Each sponsor item */
  .sponsor-section .sponsor-item {
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Logo size */
  .sponsor-section .sponsor-item img {
    max-width: 100px !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  h3 {
    font-size: 25px;
}
}
.sponsor-wrap {
    display: grid;
    align-items: center;
    grid-template-columns: repeat(4, 1fr);
}
 .sponsor-wrap{
          border: 0px solid #e5e5e5;
  }
.sponsor-wrap .sponsor-item:not(:last-of-type) {
        border-right: none;
        border-bottom: 0px solid #e5e5e5;
}
.approach-area .approach-wrapper-box {
    gap: 20px 15px !important;
}
.experience-video-play .video-popup-btn .video-play-btn .popup-video {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 14px;
    line-height: 48px;
    border: 1px solid #ed090e;
    text-align: center;
    margin-right: 20px;
    float: left;
    color: #ed090e;
}