/* =========================================================
   CREATIVE TOUCH MEDIA INC.
   TESTIMONIAL SECTION - FINAL
   ========================================================= */

/* Main section */
.agenko-testimonial-sec {
    position: relative;
    overflow: hidden;
}

/* Slider wrapper */
.agenko-testimonial-sec .testimonial-slider-three {
    position: relative !important;
    margin: 0 !important;
    padding-bottom: 80px !important;
}

/* Testimonial content */
.agenko-testimonial-sec .testimonial-content {
    position: relative;
    max-width: 1300px;
    margin: 0 auto !important;
    padding: 0 30px !important;
    text-align: center;
}

/* Ratings */
.agenko-testimonial-sec .ratings {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin: 0 0 28px !important;
    padding: 0;
    list-style: none;
}

.agenko-testimonial-sec .ratings li {
    display: inline-block;
    margin: 0;
    padding: 0;
}

.agenko-testimonial-sec .ratings li i {
    color: var(--primary-color);
}

/* Testimonial text */
.agenko-testimonial-sec .testimonial-content > p {
    max-width: 1250px;
    margin: 0 auto 38px !important;
}

/* Author */
.agenko-testimonial-sec .author-card {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 !important;
    padding: 0 !important;
}

.agenko-testimonial-sec .author-info {
    text-align: center;
}

.agenko-testimonial-sec .author-info h5 {
    margin: 0 0 8px !important;
}

.agenko-testimonial-sec .author-info .position {
    display: block;
    margin: 0 !important;
}

/* =========================================================
   TESTIMONIAL NAVIGATION
   Centered arrows + progress indicator
   ========================================================= */

/* Progress dots */
.agenko-testimonial-sec .testimonial-slider-three .slick-dots {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;

    display: flex !important;
    justify-content: center !important;
    align-items: center !important;

    width: fit-content !important;
    margin: 70px auto 0 !important;
    padding: 0 !important;
    gap: 10px;

    list-style: none;
    z-index: 5;
}

/* Individual dot */
.agenko-testimonial-sec .testimonial-slider-three .slick-dots li {
    flex: 0 0 auto;
    width: 10px !important;
    height: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.32);
    cursor: pointer;
    transition: width 0.35s ease, background-color 0.35s ease;
}

/* Hide Slick's default button character */
.agenko-testimonial-sec .testimonial-slider-three .slick-dots li button {
    display: none !important;
}

/* Active progress pill */
.agenko-testimonial-sec .testimonial-slider-three .slick-dots li.slick-active {
    width: 38px !important;
    border-radius: 20px;
    background-color: var(--primary-color);
}

/* Arrow buttons */
.agenko-testimonial-sec .testimonial-slider-three .prev,
.agenko-testimonial-sec .testimonial-slider-three .next,
.agenko-testimonial-sec .testimonial-slider-three .slick-prev,
.agenko-testimonial-sec .testimonial-slider-three .slick-next {
    position: absolute !important;
    top: auto !important;
    bottom: 54px !important;
    transform: none !important;

    width: 42px !important;
    height: 42px !important;

    display: flex !important;
    align-items: center;
    justify-content: center;

    margin: 0 !important;
    padding: 0 !important;

    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    background: transparent;

    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    z-index: 20;

    transition:
        background-color 0.3s ease,
        border-color 0.3s ease,
        color 0.3s ease;
}

/* Left */
.agenko-testimonial-sec .testimonial-slider-three .prev,
.agenko-testimonial-sec .testimonial-slider-three .slick-prev {
    left: calc(50% - 190px) !important;
    right: auto !important;
}

/* Right */
.agenko-testimonial-sec .testimonial-slider-three .next,
.agenko-testimonial-sec .testimonial-slider-three .slick-next {
    right: calc(50% - 190px) !important;
    left: auto !important;
}

/* Hover */
.agenko-testimonial-sec .testimonial-slider-three .prev:hover,
.agenko-testimonial-sec .testimonial-slider-three .next:hover,
.agenko-testimonial-sec .testimonial-slider-three .slick-prev:hover,
.agenko-testimonial-sec .testimonial-slider-three .slick-next:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--heading-color);
}

/* Smooth changing height */
.agenko-testimonial-sec .slick-list {
    transition: height 0.4s ease;
}

/* Prevent Slick margins from creating extra space */
.agenko-testimonial-sec .slick-slider,
.agenko-testimonial-sec .slick-list,
.agenko-testimonial-sec .slick-track {
    margin-bottom: 0 !important;
}

/* Tablet */
@media screen and (max-width: 991px) {
    .agenko-testimonial-sec .testimonial-slider-three {
        padding-bottom: 75px !important;
    }

    .agenko-testimonial-sec .testimonial-content {
        padding-left: 25px !important;
        padding-right: 25px !important;
    }

    .agenko-testimonial-sec .testimonial-slider-three .slick-dots {
        margin-top: 60px !important;
        gap: 9px;
    }

    .agenko-testimonial-sec .testimonial-slider-three .slick-dots li {
        width: 9px !important;
        height: 9px !important;
    }

    .agenko-testimonial-sec .testimonial-slider-three .slick-dots li.slick-active {
        width: 32px !important;
    }

    .agenko-testimonial-sec .testimonial-slider-three .prev,
    .agenko-testimonial-sec .testimonial-slider-three .slick-prev {
        left: calc(50% - 170px) !important;
    }

    .agenko-testimonial-sec .testimonial-slider-three .next,
    .agenko-testimonial-sec .testimonial-slider-three .slick-next {
        right: calc(50% - 170px) !important;
    }
}

/* Mobile */
@media screen and (max-width: 767px) {
    .agenko-testimonial-sec .testimonial-slider-three {
        padding-bottom: 65px !important;
    }

    .agenko-testimonial-sec .testimonial-content {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .agenko-testimonial-sec .testimonial-slider-three .slick-dots {
        margin: 50px auto 0 !important;
        gap: 8px;
        flex-wrap: nowrap;
    }

    .agenko-testimonial-sec .testimonial-slider-three .slick-dots li {
        width: 8px !important;
        height: 8px !important;
    }

    .agenko-testimonial-sec .testimonial-slider-three .slick-dots li.slick-active {
        width: 28px !important;
    }

    .agenko-testimonial-sec .testimonial-slider-three .prev,
    .agenko-testimonial-sec .testimonial-slider-three .next,
    .agenko-testimonial-sec .testimonial-slider-three .slick-prev,
    .agenko-testimonial-sec .testimonial-slider-three .slick-next {
        width: 36px !important;
        height: 36px !important;
        bottom: 47px !important;
        font-size: 15px;
    }

    .agenko-testimonial-sec .testimonial-slider-three .prev,
    .agenko-testimonial-sec .testimonial-slider-three .slick-prev {
        left: calc(50% - 145px) !important;
    }

    .agenko-testimonial-sec .testimonial-slider-three .next,
    .agenko-testimonial-sec .testimonial-slider-three .slick-next {
        right: calc(50% - 145px) !important;
    }
}

/* Very small mobile */
@media screen and (max-width: 480px) {
    .agenko-testimonial-sec .testimonial-slider-three .slick-dots {
        margin-top: 45px !important;
        gap: 7px;
    }

    .agenko-testimonial-sec .testimonial-slider-three .prev,
    .agenko-testimonial-sec .testimonial-slider-three .slick-prev {
        left: calc(50% - 125px) !important;
    }

    .agenko-testimonial-sec .testimonial-slider-three .next,
    .agenko-testimonial-sec .testimonial-slider-three .slick-next {
        right: calc(50% - 125px) !important;
    }
}

/* =========================================================
   CREATIVE TOUCH MEDIA
   BRANDS WE'VE WORKED WITH MARQUEE
   ========================================================= */

.brands-worked-section {
    overflow: hidden;
}

.brands-worked-description {
    max-width: 700px;
    margin: 18px auto 0;
    color: var(--text-color);
    line-height: 1.8;
}


/* Marquee wrapper */
.brands-marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;

    padding: 28px 0;

    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    background-color: rgba(255, 255, 255, 0.015);
}


/* Track */
.brands-marquee-track {
    display: flex;
    align-items: center;

    width: max-content;

    animation: brandsMarquee 28s linear infinite;

    will-change: transform;
}


/* Individual brand */
.brand-logo-item {
    flex: 0 0 auto;

    width: 240px;
    height: 110px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px 35px;

    border-right: 1px solid rgba(255, 255, 255, 0.08);
}


/* Logo image */
.brand-logo-item img {
    display: block;

    max-width: 165px;
    max-height: 70px;

    width: auto;
    height: auto;

    object-fit: contain;

    filter: grayscale(100%) brightness(2);

    opacity: 0.78;

    transition:
        filter 0.3s ease,
        opacity 0.3s ease,
        transform 0.3s ease;
}


/* Hover */
.brand-logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}


/* Main row */
@keyframes brandsMarquee {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }

}


/* Second row */
.brands-marquee-reverse {
    margin-top: 1px;
}


/* Move opposite direction */
.brands-marquee-reverse .brands-marquee-track {
    animation: brandsMarqueeReverse 30s linear infinite;
}


@keyframes brandsMarqueeReverse {

    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0);
    }

}


/* Fade edges */
.brands-marquee-wrapper::before,
.brands-marquee-wrapper::after {
    content: "";

    position: absolute;
    top: 0;

    width: 120px;
    height: 100%;

    z-index: 2;

    pointer-events: none;
}


.brands-marquee-wrapper::before {
    left: 0;

    background: linear-gradient(
        to right,
        var(--primary-black-color),
        transparent
    );
}


.brands-marquee-wrapper::after {
    right: 0;

    background: linear-gradient(
        to left,
        var(--primary-black-color),
        transparent
    );
}


/* Tablet */
@media screen and (max-width: 991px) {

    .brand-logo-item {
        width: 200px;
        height: 100px;
        padding: 18px 30px;
    }

    .brand-logo-item img {
        max-width: 145px;
        max-height: 60px;
    }

}


/* Mobile */
@media screen and (max-width: 767px) {

    .brands-marquee-wrapper {
        padding: 20px 0;
    }

    .brand-logo-item {
        width: 160px;
        height: 85px;
        padding: 15px 22px;
    }

    .brand-logo-item img {
        max-width: 120px;
        max-height: 50px;
    }

    .brands-marquee-wrapper::before,
    .brands-marquee-wrapper::after {
        width: 45px;
    }

    .brands-marquee-track {
        animation-duration: 22s;
    }

    .brands-marquee-reverse .brands-marquee-track {
        animation-duration: 24s;
    }

}
/* =========================================================
   HOW WE WORK - EQUAL HEIGHT CARDS
   ========================================================= */

/* Make each Bootstrap column stretch */
.agk-features .row:last-child {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.agk-features .row:last-child > [class*="col-"] {
    display: flex;
}

/* Make all four cards exactly the same height */
.agk-features .agenko-iconic-box.style-seven {
    width: 100%;
    height: 100%;
    min-height: 465px;
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
}

/* Keep content layout consistent */
.agk-features .agenko-iconic-box.style-seven .content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Consistent heading spacing */
.agk-features .agenko-iconic-box.style-seven .content h4 {
    margin-bottom: 20px;
}

/* Consistent paragraph layout */
.agk-features .agenko-iconic-box.style-seven .content p {
    margin-bottom: 0;
}


/* =========================
   TABLET
   ========================= */

@media (max-width: 991px) {

    .agk-features .agenko-iconic-box.style-seven {
        min-height: 420px;
    }

}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 767px) {

    .agk-features .row:last-child > [class*="col-"] {
        display: block;
    }

    .agk-features .agenko-iconic-box.style-seven {
        min-height: 0;
        height: auto;
    }

}
/* =========================================
   CTM FOOTER LOGO
========================================= */

.agenko-footer .footer-logo {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
    margin-bottom: 25px;
}

.agenko-footer .footer-logo a {
    display: inline-block;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

.agenko-footer .footer-logo img {
    display: block;
    width: 100%;
    max-width: 300px;
    height: auto;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    object-fit: contain;
}
/* =========================================================
   HEADER LOGO FIX
   Remove black box / border around Creative Touch Media logo
========================================================= */

.header-area .site-branding {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.header-area .site-branding .brand-logo {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;

    padding: 0 !important;
    border-radius: 0 !important;
}

.header-area .site-branding .brand-logo img {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: 210px !important;

    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}


/* Desktop */
@media (min-width: 992px) {

    .header-area .site-branding .brand-logo img {
        max-width: 210px !important;
    }

}


/* Tablet */
@media (max-width: 991px) {

    .header-area .site-branding .brand-logo img {
        max-width: 180px !important;
    }

}


/* Mobile */
@media (max-width: 575px) {

    .header-area .site-branding .brand-logo img {
        max-width: 150px !important;
    }

}
/* =========================================================
   CTM HERO - FIX TITLE / PARAGRAPH OVERLAP
   ========================================================= */

.agk-hero .hero-content {
    position: relative !important;
}

/* Give the giant title its own space */
.agk-hero .hero-content h1.text-anm {
    position: relative !important;
    margin: 0 0 70px 0 !important;
    padding: 0 !important;
}

/* Paragraph */
.agk-hero .hero-content .text-box {
    position: relative !important;

    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;

    transform: none !important;

    margin: 0 !important;
    padding: 0 !important;

    max-width: 420px;
    z-index: 5;
}

/* Paragraph itself */
.agk-hero .hero-content .text-box p {
    margin: 0 !important;
}

/* Learn More button */
.agk-hero .hero-content .hero-button {
    position: relative !important;

    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;

    margin-top: 35px !important;
    transform: none !important;
}