/* ========================================= ROOT / VARIABLES ========================================= */
:root {
    --hs-gold: #FBB040;
    --hs-red: #BB0000;
    --hs-navy: #1a1a2e;
}

/* ========================================= GLOBAL UTILITIES ========================================= */
.container-1200 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* ══════════════════════════════════════════════════════ HERO SLIDER ══════════════════════════════════════════════════════ */
.hero-slider {
    position: relative;
    width: 100%;
    height: 70vh;
    /* min-height: 560px; */
    /* max-height: 780px; */
    overflow: hidden;
    background: var(--hs-navy);
}

.hs-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.hs-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateX(100%);
    transition: transform 0.85s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.6s ease;
    z-index: 1;
}

.hs-slide.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 3;
}

.hs-slide.hs-enter-right {
    transform: translateX(100%);
    opacity: 0;
    z-index: 2;
}

.hs-slide.hs-enter-left {
    transform: translateX(-100%);
    opacity: 0;
    z-index: 2;
}

.hs-slide.hs-exit-left {
    transform: translateX(-100%);
    opacity: 0;
    z-index: 2;
}

.hs-slide.hs-exit-right {
    transform: translateX(100%);
    opacity: 0;
    z-index: 2;
}

.hs-slide picture {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
}

.hs-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 0;
}

.hs-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.72) 0%,
        rgba(0, 0, 0, 0.45) 45%,
        rgba(0, 0, 0, 0.2) 100%
    );
    pointer-events: none;
}

.hs-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hs-content h1,
.hs-content h2 {
    max-width: 760px;
    color: #fff;
    font-size: 46px;
    font-weight: 700;
    line-height: 1.18;
    margin: 0 0 18px;
}

.hs-content p {
    max-width: 760px;
    color: rgba(255, 255, 255, 1);
    font-size: 18px;
    line-height: 1.6;
    margin: 0 0 30px;
}

.hs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    padding: 15px 32px;
    border-radius: 4px;
    background: var(--hs-gold);
    color: #000;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    border: 2px solid var(--hs-gold);
}

.hs-btn:hover {
    background: #ffffff;
    color: #000;
    border: 2px solid var(--hs-gold);
    transform: translateY(-2px);
}

.hs-slide.active .hs-content h1,
.hs-slide.active .hs-content h2,
.hs-slide.active .hs-content p,
.hs-slide.active .hs-content .hs-btn {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hs-slide.active .hs-content h1,
.hs-slide.active .hs-content h2 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.25s;
}

.hs-slide.active .hs-content p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.38s;
}

.hs-slide.active .hs-content .hs-btn {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

.hs-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.09);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    z-index: 4;
}

.hs-prev {
    left: 30px;
}

.hs-next {
    right: 30px;
}

.hs-nav:hover {
    color: #ffffff;
    transform: translateY(-50%) scale(1.06);
}

.hs-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hs-btn--white {
    background: var(--hs-gold);
    color: #000;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 2px solid var(--hs-gold);
}

.hs-btn--white:hover {
    background: #ffffff;
    color: #000;
    border: 2px solid var(--hs-gold);
}

.hs-btn--yellow {
    background: var(--hs-gold);
    color: #1a1a2e;
    display: inline-flex;
    align-items: center;
    border: 2px solid var(--hs-gold);
}

.hs-btn--yellow:hover {
    background: #ffffff;
    color: #000;
    border: 2px solid var(--hs-gold);
}

@media (max-width: 991px) {
    .hs-nav {
        top: 80%;
    }

    .hero-slider {
        height: 620px;
    }

    .hs-content h1,
    .hs-content h2 {
        font-size: 32px;
    }

    .hs-content p {
        font-size: 15px;
    }

    .hs-nav {
        width: 42px;
        height: 42px;
    }

    .hs-prev {
        left: 43%;
    }

    .hs-next {
        right: 43%;
    }
}

@media (max-width: 575px) {

    .hero-slider {
        height: 460px;
    }

    .hs-content h1,
    .hs-content h2 {
        font-size: 24px;
    }

    .hs-btn {
        padding: 12px 22px;
        font-size: 13px;
    }

    .hs-nav {
        top: 85%;
    }

    .hs-prev {
        left: 40%;
    }

    .hs-next {
        right: 40%;
    }
}

@media (max-width: 480px) {
    .hs-nav {
        top: 88%;
    }

    .hero-slider {
        height: 340px;
    }

    .hs-content h1,
    .hs-content h2 {
        font-size: 22px;
    }

    .hs-btn {
        padding: 11px 24px;
        font-size: 14px;
    }

    .hs-prev {
        left: 40%;
    }

    .hs-next {
        right: 35%;
    }
}

.about-contact-card__item span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.contact-icon {
    color: #f5a623;
    /* match to your exact orange from the design */
    flex-shrink: 0;
}

/* ========================================= SERVICES SECTION ========================================= */
.services-section {
    position: relative;
    padding: 40px 0;
    background: #ffffff;
    overflow: visible;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 16px;
}

.service-list-card {
    background: #fff;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    border: 1px solid #eaeaea;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-list-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
}

.service-media {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.service-media>a {
    display: block;
}

.service-media img {
    display: block;
    height: auto;
    transition: transform 0.35s ease;
}

.service-list-card:hover .service-media img {
    transform: scale(1.04);
}

.srv-toggle-wrap {
    text-align: center;
    margin-top: 40px;
}

.services-grid,
.section-heading,
.srv-toggle-wrap {
    position: relative;
    z-index: 1;
    text-align: center;
}

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
    }

    .service-media img {
        height: auto;
        width: 100%;
    }
}

@media (max-width: 400px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Services section header: text left, button right, same row ── */
.services-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    text-align: left;
}

.services-header .section-heading {
    font-size: 30px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    text-align: left;
    margin-bottom: 0;
}

.services-header .srv-toggle-wrap {
    margin-top: 0;
    text-align: right;
    flex-shrink: 0;
}

@media (max-width: 991px) {
    .services-section .container-1200 {
        display: flex;
        flex-direction: column;
    }

    .services-header {
        display: contents;
    }

    .services-header__text {
        order: 1;
    }

    .services-grid {
        order: 2;
        margin-top: 20px;
    }

    .srv-toggle-wrap {
        order: 3;
        margin-top: 24px !important;
        text-align: center !important;
    }
}

@media (max-width: 575px) {
    .services-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    /* .services-header .srv-toggle-wrap {
        text-align: center;

    } */
}

/* ========================================= OFFERS SECTION ========================================= */
.offers-section {
    padding: 40px 0;
}

.offers-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 16px;
}

.offers-badge {
    display: inline-block;
    background: var(--hs-red);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 16px;
    border-radius: 3px;
    margin-bottom: 12px;
}

.offers-title {
    font-size: 30px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

/* ── Slider nav: small square buttons ── */
.offers-slider__nav {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.offers-slider__btn {
    width: 34px;
    height: 34px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.offers-slider__btn--prev:hover,
.offers-slider__btn--next:hover {
    background: var(--hs-gold);
    border-color: var(--hs-gold);
}

/* ── Slider track ── */
.offers-slider__track {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.offers-slider__track::-webkit-scrollbar {
    display: none;
}

.offers-grid {
    display: flex;
    gap: 20px;
    margin-top: 0;
}

.offer-card {
    scroll-snap-align: start;
    flex: 0 0 calc((100% - 40px) / 3);
}

.offer-img {
    aspect-ratio: 3 / 2;
    border-radius: 8px;
}

@media (max-width: 991px) {
    .offer-card {
        flex: 0 0 calc((100% - 20px) / 2);
    }
}

@media (max-width: 575px) {
    .offers-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .offer-card {
        flex: 0 0 100%;
    }
}

/* ========================================= CTA SECTION ========================================= */
.cta-section {
    position: relative;
    padding: 60px 0 60px;
    background: var(--hs-red);
}

.cta-section::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -25px;
    height: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20' preserveAspectRatio='none'%3E%3Cpath d='M0,0 C8,20 17,20 25,0 C33,20 42,20 50,0 C58,20 67,20 75,0 C83,20 92,20 100,0 Z' fill='%23BB0000'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-size: 226px 27px;
    background-position: bottom left;
}

.cta-row {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    margin: 0 0 10px;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.cta-content p {
    font-size: 18px;
    color: #fff;
    margin: 0;
    font-weight: 500;
}

@media (max-width: 768px) {
    .cta-section {
        padding: 40px 0 60px;
    }

    .cta-section::after {
        height: 28px;
        background-size: 228px 28px;
    }

    .cta-row {
        flex-direction: column;
        text-align: center;
        gap: 28px;
    }

    .cta-content h2 {
        font-size: 24px;
    }

    .cta-content p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .cta-section::after {
        bottom: -19px;
        height: 20px;
        background-size: 163px 20px;
    }
}

/* ========================================= TESTIMONIALS SECTION ========================================= */
.testimonials-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 70px 0 60px;
    overflow: hidden;
}

.testimonials-section__overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgba(20, 20, 20, 0.55);
}

.testimonials-section__inner {
    position: relative;
}

/* ── Header ── */
.testimonials-header {
    margin-bottom: 40px;
}

.testimonials-eyebrow {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.testimonials-eyebrow .offers-eyebrow__line {
    width: 34px;
    height: 2px;
    background: #ffffff;
    display: block;
}

.testimonials-section h2.testimonials-title {
    color: #ffffff;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.3;
    max-width: 560px;
    margin: 0;
}

/* ── Quote pair ── */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-left: 10%;
}

.testimonial-item {
    display: none;
}

.testimonial-item.is-visible {
    display: block;
}

.testimonial-item__quote {
    color: rgba(255, 255, 255, 1);
    font-size: 18px;
    line-height: 1.7;
    margin: 0 0 22px;
    max-width: 420px;
}

.testimonial-item__name {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 2px;
}

.testimonial-item__location {
    color: rgba(255, 255, 255, 1);
    font-size: 20px;
    margin: 0;
}

/* ── Dots ── */
.testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 36px;
}

.testimonials-dots__dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    padding: 0;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.testimonials-dots__dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.testimonials-dots__dot.is-active {
    background: var(--hs-gold);
    transform: scale(1.15);
}

@media (max-width: 767px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .testimonials-section h2.testimonials-title {
        font-size: 24px;
        max-width: 100%;
    }
}

/* ========================================= BLOGS SECTION ========================================= */
.blogs-section {
    padding: 40px 0;
}

.blogs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 16px;
}

.blog-card {
    background: #ffffff;
    overflow: hidden;
    border: 1px solid #e2eef4;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 10px;
}

.blog-card-img {
    display: block;
    width: 100%;
    overflow: hidden;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.06);
}

.blog-card-body {
    padding: 18px 20px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-body h3 {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.45;
    color: #0e3c7b;
}

@media (max-width: 991px) {
    .blogs-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 550px) {
    .blogs-grid {
        grid-template-columns: repeat(1, 1fr) !important;
    }
}

/* ========================================= ABOUT SECTION ========================================= */
.about-section {
    position: relative;
    padding: 40px 0 40px;
    background: #ffffff;
}

.about-section__bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 54%;
    overflow: hidden;
    z-index: 0;
    padding-top: 134px;
    padding-left: 52px;
}

.about-section__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 55%, #ffffff 100%);
}

.about-section__bg img {
    width: 100%;
    object-fit: cover;
    display: block;
}

.about-section .container-1200 {
    position: relative;
    z-index: 1;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.87fr 1fr;
    align-items: start;
    gap: 30px;
}

.sd-approach__content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.25;
    margin: 0 0 18px;
}

.sd-approach__content p {
    font-size: 18px;
    color: #000;
    line-height: 1.85;
    margin: 0 0 24px;
}

.about-badge {
    display: inline-block;
    background: var(--hs-red);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 16px;
    border-radius: 3px;
    margin-bottom: 20px;
}

.about-media {
    position: relative;
}

.about-contact-card {
    width: 100%;
    max-width: 320px;
    background: #ffffff;
    border-top: 3px solid #F8CC00;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    padding: 22px 22px 20px;
}

.about-contact-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 14px;
}

.about-contact-card__item h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 4px;
}

.about-contact-card__item h4 a {
    color: #1a1a1a;
    text-decoration: none;
}

.about-contact-card__item h4 a:hover {
    text-decoration: underline;
    color: var(--hs-gold);
}

.about-contact-card__item span {
    display: block;
    font-size: 14px;
    color: #000;
}

.about-contact-card__divider {
    height: 1px;
    background: #eee;
    margin: 14px 0;
}

@media (max-width: 991px) {
    .about-section__bg {
        position: relative;
        width: 100%;
        margin-top: 30px;
        padding-top: 0px;
        padding-left: 0px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .about-contact-card {
        max-width: 100%;
    }

    .about-section .sd-approach__content {
        width: 100% !important;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 0px 0 40px;
    }
}

/* ── Appointment CTA panels ── */
.appointment-cta {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 20px;
}

.appointment-cta__panel {
    padding: 48px 60px;
}

.appointment-cta__panel h3 {
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 14px;
}

.appointment-cta__panel p {
    font-size: 18px;
    line-height: 1.7;
    margin: 0 0 26px;
    max-width: 420px;
}

.appointment-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 26px;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.appointment-cta__btn:hover {
    transform: translateY(-2px);
}

.appointment-cta__panel--red {
    background: var(--hs-red);
}

.appointment-cta__panel--red h3 {
    color: #ffffff;
}

.appointment-cta__panel--red p {
    color: rgba(255, 255, 255, 1);
}

.appointment-cta__panel--red .appointment-cta__btn {
    background: var(--hs-gold);
    color: #ffffff;
    border: 2px solid var(--hs-gold);
}

.appointment-cta__panel--red .appointment-cta__btn:hover {
    background: #ffffff;
    color: #000;
    border: 2px solid var(--hs-gold);
}

.appointment-cta__panel--orange {
    background: var(--hs-gold);
}

.appointment-cta__panel--orange h3 {
    color: #1a1a1a;
}

.appointment-cta__panel--orange p {
    color: rgba(26, 26, 26, 1);
}

.appointment-cta__panel--orange .appointment-cta__btn {
    background: var(--hs-red);
    color: #ffffff;
    border: 2px solid var(--hs-red);
}

.appointment-cta__panel--orange .appointment-cta__btn:hover {
    background: #ffffff;
    color: #000;
    border: 2px solid var(--hs-red);
}

@media (max-width: 768px) {
    .appointment-cta {
        grid-template-columns: 1fr;
        margin-top: 40px;
    }

    .appointment-cta__panel {
        padding: 40px 28px;
    }

    .appointment-cta__panel p {
        max-width: 100%;
    }
}

/* ========================================= CATEGORY SECTION ========================================= */
.category-section {
    position: relative;
    z-index: 1;
    padding: 40px;
}

.category-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    padding: 50px 60px;
    display: flex;
    align-items: center;
    gap: 50px;
}

.category-card__heading {
    flex: 0 0 300px;
}

.category-card__heading h2 {
    font-size: 36px;
    font-weight: 700;
    color: #000;
    line-height: 1.25;
    margin: 0;
}

/* ── Slider ── */
.category-slider {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 0;
}

.category-slider__nav {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: #5b6b82;
    color: #ffffff;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.category-slider__nav:hover {
    background: var(--hs-gold);
    transform: scale(1.06);
}

.category-slider__track {
    flex: 1;
    min-width: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-slider__track::-webkit-scrollbar {
    display: none;
}

.category-slider__list {
    display: flex;
    gap: 20px;
}

.category-item {
    scroll-snap-align: start;
    flex: 0 0 calc((100% - 40px) / 3);
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
}

.category-item__icon {
    display: flex;
    width: 100%;
    height: 56px;
    align-items: center;
}

.category-item__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.category-item__label {
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
}

.category-item.color-1 {
    background: var(--hs-red);
}

.category-item.color-2 {
    background: #A9D66C;
}

.category-item.color-3 {
    background: #F2726C;
}

@media (max-width: 991px) {
    .category-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 40px 32px;
        gap: 30px;
    }

    .category-card__heading {
        flex: none;
    }

    .category-slider {
        width: 100%;
    }

    .category-item {
        flex: 0 0 calc((100% - 20px) / 2);
    }
}

@media (max-width: 575px) {
    .category-card {
        padding: 30px 22px;
        border-radius: 14px;
    }

    .category-card__heading h2 {
        font-size: 24px;
    }

    .category-item {
        flex: 0 0 100%;
    }
}

/* ========================================= VIDEO FEATURE SECTION ========================================= */
.video-feature-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 90px 0;
    overflow: hidden;
}

.video-feature-section__overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0) 38%, rgba(10, 10, 10, 0.72) 68%);
}

.video-feature-section__inner {
    position: relative;
    z-index: 1;
}

.video-feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

/* ── Play button + popup video ── */
.video-feature__video {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
}

.video-feature__play-btn {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: none;
    background: #E2A03F;
    color: #7A1E1E;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, background 0.2s ease;
}

.video-feature__play-btn svg {
    margin-left: 4px;
}

.video-feature__play-btn:hover {
    transform: scale(1.06);
    background: #F4CE84;
}

/* ── Video modal ── */
.video-feature__videobox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.9);
}

.video-feature__videobox.is-active {
    display: flex;
}

.video-feature__videobox-inner {
    position: relative;
    display: inline-block;
    max-width: 90vw;
    max-height: 85vh;
    line-height: 0;
    /* removes inline-block whitespace gap under the video */
}

.video-feature__videobox-player {
    display: block;
    max-width: 90vw;
    max-height: 75vh;
}

.video-feature__videobox-close {
    position: absolute;
    top: -18px;
    right: -18px;
    z-index: 1000;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.75);
    border: none;
    border-radius: 50%;
    color: #ffffff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease;
}

.video-feature__videobox-close:hover {
    background: rgba(0, 0, 0, 0.9);
}

@media (max-width: 575px) {
    .video-feature__videobox-close {
        top: -14px;
        right: -14px;
        width: 34px;
        height: 34px;
        font-size: 20px;
    }
}

/* ── Priorities list ── */
.video-feature__heading {
    color: #ffffff;
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 26px;
}

.video-feature__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.video-feature__item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.video-feature__item-text h4 {
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 8px;
}

.video-feature__item-text p {
    color: rgba(255, 255, 255, 1);
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
    max-width: 380px;
}

.video-feature__item-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
}

.video-feature__item-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 991px) {
    .video-feature-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .video-feature-section__overlay {
        background: rgba(0, 0, 0, 0.55);
    }

    .video-feature__video {
        min-height: 200px;
    }

    .video-feature__item-text p {
        max-width: 100%;
    }
}

@media (max-width: 575px) {
    .video-feature-section {
        padding: 60px 0;
    }

    .video-feature__heading {
        font-size: 26px;
    }

    .video-feature__item {
        flex-direction: column-reverse;
        gap: 10px;
    }
}