/* ==========================================================================
   E-KORS HOMEPAGE — PREMIUM UI/UX UPGRADE 2026
   Modern animations, scroll reveals, refined typography, micro-interactions
   ========================================================================== */

/* --- Keyframe Animations --- */
@keyframes hmFadeInUp {
    from { opacity: 0; transform: translateY(45px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes hmFadeInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes hmFadeInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes hmScaleIn {
    from { opacity: 0; transform: scale(0.88); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes hmFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes hmGradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes hmPulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(138, 51, 36, 0.25); }
    50% { box-shadow: 0 0 22px 6px rgba(138, 51, 36, 0.08); }
}

@keyframes hmShimmer {
    0% { left: -100%; }
    100% { left: 200%; }
}

@keyframes hmLineExpand {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

@keyframes hmCountPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

@keyframes hmBadgeBounce {
    0% { opacity: 0; transform: translateY(-15px) scale(0.8); }
    60% { transform: translateY(3px) scale(1.05); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes hmSlideUp {
    from { opacity: 0; transform: translateY(25px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Scroll Reveal Classes --- */
.hm-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.hm-reveal.revealed { opacity: 1; transform: translateY(0); }

.hm-reveal-left {
    opacity: 0;
    transform: translateX(-45px);
    transition: all 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.hm-reveal-left.revealed { opacity: 1; transform: translateX(0); }

.hm-reveal-right {
    opacity: 0;
    transform: translateX(45px);
    transition: all 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.hm-reveal-right.revealed { opacity: 1; transform: translateX(0); }

.hm-reveal-scale {
    opacity: 0;
    transform: scale(0.88);
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.hm-reveal-scale.revealed { opacity: 1; transform: scale(1); }

.hm-stagger-1 { transition-delay: 0.1s !important; }
.hm-stagger-2 { transition-delay: 0.2s !important; }
.hm-stagger-3 { transition-delay: 0.3s !important; }
.hm-stagger-4 { transition-delay: 0.4s !important; }
.hm-stagger-5 { transition-delay: 0.5s !important; }
.hm-stagger-6 { transition-delay: 0.6s !important; }

/* ==========================================================================
   1. HERO SECTION — Premium Glass Overlay & Text Glow
   ========================================================================== */

/* Hero badge pill */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 18px;
    animation: hmBadgeBounce 0.8s ease-out;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-badge i {
    font-size: 15px;
}

/* Hero eyebrow heading */
.slide-eyebrow {
    font-size: clamp(14px, 2vw, 18px) !important;
    font-weight: 600 !important;
    color: rgba(255, 255, 255, 0.85) !important;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px !important;
}

/* Hero main title */
.slide-sub-title {
    font-size: clamp(26px, 4.5vw, 52px) !important;
    font-weight: 900 !important;
    line-height: 1.15 !important;
    color: #ffffff !important;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.35) !important;
    margin-bottom: 16px !important;
    letter-spacing: -0.5px;
}

/* Slider description */
.slider-description {
    font-size: 16px !important;
    line-height: 1.7 !important;
    color: rgba(255, 255, 255, 0.8) !important;
    max-width: 650px !important;
    margin-bottom: 24px !important;
}

/* Hero Button Group */
.hero-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 8px;
}

.hero-btn-primary {
    background: linear-gradient(135deg, #8A3324, #b34430) !important;
    color: #ffffff !important;
    padding: 14px 32px !important;
    border-radius: 14px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    border: none !important;
    box-shadow: 0 8px 25px rgba(138, 51, 36, 0.35) !important;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    text-decoration: none !important;
}

.hero-btn-primary:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 14px 35px rgba(138, 51, 36, 0.45) !important;
    background: linear-gradient(135deg, #b34430, #8A3324) !important;
    color: #ffffff !important;
}

.hero-btn-secondary {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    color: #ffffff !important;
    padding: 14px 32px !important;
    border-radius: 14px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.4s ease !important;
    text-decoration: none !important;
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    transform: translateY(-3px) !important;
    color: #ffffff !important;
}

/* Slick carousel dots */
.banner-carousel .slick-dots {
    bottom: 28px !important;
}

.banner-carousel .slick-dots li button:before {
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 10px !important;
    transition: all 0.3s ease;
}

.banner-carousel .slick-dots li.slick-active button:before {
    color: #ffb600 !important;
    font-size: 12px !important;
}

/* Carousel arrows */
.carousel-control {
    width: 48px !important;
    height: 48px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 14px !important;
    color: #ffffff !important;
    font-size: 18px !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
}

.carousel-control:hover {
    background: rgba(138, 51, 36, 0.8) !important;
    border-color: rgba(255, 182, 0, 0.5) !important;
    opacity: 1;
    transform: scale(1.08);
}

/* ==========================================================================
   2. CALL TO ACTION BAR — Floating Glass Card
   ========================================================================== */
.call-to-action-box.no-padding {
    margin-top: -30px;
    position: relative;
    z-index: 10;
}

.action-style-box {
    background: linear-gradient(135deg, #1a1209 0%, #2d1810 50%, #1a1a1a 100%) !important;
    border: 1px solid rgba(255, 182, 0, 0.15) !important;
    padding: 28px 40px !important;
    border-radius: 20px !important;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.3) !important;
    transition: all 0.4s ease;
}

.action-style-box:hover {
    box-shadow: 0 25px 55px rgba(138, 51, 36, 0.25) !important;
    transform: translateY(-3px);
}

.action-title {
    font-size: 19px !important;
    font-weight: 700 !important;
    letter-spacing: -0.2px;
}

.call-to-action-btn .btn {
    background: linear-gradient(135deg, #8A3324, #b34430) !important;
    border: none !important;
    padding: 12px 30px !important;
    border-radius: 14px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(138, 51, 36, 0.35) !important;
    transition: all 0.4s ease !important;
}

.call-to-action-btn .btn:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 30px rgba(138, 51, 36, 0.45) !important;
}

/* ==========================================================================
   3. ABOUT / FEATURES SECTION — Enhanced Cards
   ========================================================================== */
#ts-features {
    padding: 70px 0 60px !important;
    background: linear-gradient(180deg, #ffffff 0%, #fdfaf9 100%);
}

.into-title {
    font-size: clamp(13px, 1.5vw, 14px) !important;
    font-weight: 700 !important;
    color: #8A3324 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    margin-bottom: 8px !important;
}

.into-sub-title {
    font-size: clamp(22px, 3vw, 30px) !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    line-height: 1.3 !important;
    margin-bottom: 18px !important;
}

/* Feature info cards with left icon */
.full-info-card {
    position: relative;
    overflow: hidden;
}

.full-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #8A3324, #ffb600);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.full-info-card:hover::before {
    opacity: 1;
}

.service-box-title {
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin-bottom: 8px !important;
    transition: color 0.3s ease;
}

.ts-service-box:hover .service-box-title {
    color: #8A3324 !important;
}

.service-box-desc {
    font-size: 13.5px !important;
    color: #64748b !important;
    line-height: 1.65 !important;
}

/* Core Values Accordion */
.accordion-group .card {
    border: 1px solid #f0e6e4 !important;
    border-radius: 14px !important;
    margin-bottom: 12px !important;
    overflow: hidden;
    transition: all 0.35s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.accordion-group .card:hover {
    box-shadow: 0 8px 25px rgba(138, 51, 36, 0.08);
}

.accordion-group .card-header button {
    font-weight: 700 !important;
    font-size: 15px !important;
    color: #1a1a1a !important;
    padding: 16px 20px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    transition: all 0.3s ease !important;
}

.accordion-group .card-header button:hover {
    color: #8A3324 !important;
}

.accordion-group .card-body {
    color: #64748b !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
    padding: 16px 20px 20px !important;
    border-top: 1px solid #f0e6e4;
}

/* ==========================================================================
   4. FACTS / STATS — Glassmorphism Counter Bar
   ========================================================================== */
.facts-area.dark-bg {
    background: linear-gradient(135deg, #1a1209 0%, #2d1810 50%, #1a1a1a 100%) !important;
    padding: 60px 0 !important;
    position: relative;
    overflow: hidden;
}

.facts-area.dark-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 120px,
        rgba(138, 51, 36, 0.04) 120px,
        rgba(138, 51, 36, 0.04) 121px
    );
    pointer-events: none;
}

.ts-facts {
    text-align: center;
    position: relative;
}

.ts-facts::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 55px;
    width: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.ts-facts:last-child::after {
    display: none;
}

.ts-facts-img {
    width: 72px !important;
    height: 72px !important;
    background: rgba(255, 255, 255, 0.06) !important;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 18px !important;
    transition: all 0.4s ease;
}

.ts-facts:hover .ts-facts-img {
    background: rgba(138, 51, 36, 0.2) !important;
    border-color: rgba(255, 182, 0, 0.3) !important;
    transform: translateY(-4px);
}

.ts-facts-num {
    font-size: clamp(32px, 4vw, 44px) !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

.ts-facts-num .counterUp {
    color: #ffb600 !important;
}

.ts-facts-title {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: rgba(255, 255, 255, 0.5) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
}

/* ==========================================================================
   5. SPECIALISTS SECTION — Section Header & Service Cards
   ========================================================================== */
.section-title {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #8A3324 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    position: relative !important;
    display: inline-block;
}

.section-title::before,
.section-title::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 25px;
    height: 2px;
    background: linear-gradient(90deg, #8A3324, transparent);
    border-radius: 2px;
}

.section-title::before {
    right: calc(100% + 10px);
    background: linear-gradient(90deg, transparent, #8A3324);
}

.section-title::after {
    left: calc(100% + 10px);
}

.section-sub-title {
    font-size: clamp(24px, 3.5vw, 38px) !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin-bottom: 10px !important;
    line-height: 1.25 !important;
}

/* Service box icons (specialist images) */
.ts-service-box-img {
    background: linear-gradient(135deg, #fdf5f4, #ffffff) !important;
    border: 1px solid #f0e6e4 !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.4s ease !important;
}

.ts-service-box:hover .ts-service-box-img {
    border-color: #8A3324 !important;
    box-shadow: 0 6px 18px rgba(138, 51, 36, 0.15) !important;
    transform: scale(1.06);
}

/* ==========================================================================
   6. PROJECTS SECTION — Card Hover Enhancements
   ========================================================================== */
.project-area {
    padding: 80px 0 !important;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%) !important;
}

.project-img-container {
    border-radius: 20px !important;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    height: 260px !important;
    background: #f1f5f9;
}

.project-img-container img {
    width: 100% !important;
    height: 260px !important;
    object-fit: cover !important;
    display: block !important;
}

@media (max-width: 575px) {
    .project-img-container,
    .project-img-container img {
        height: 220px !important;
    }
}

/* Shimmer sweep lives on ::before -- style.css already uses ::after for the
   dark hover overlay, and sharing the pseudo-element made the two fight
   (the dark panel slid across instead of the light band). */
.project-img-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    pointer-events: none;
    z-index: 3;
}

.project-img-container:hover::before {
    animation: hmShimmer 0.7s ease forwards;
}

.gallery-icon {
    width: 46px !important;
    height: 46px !important;
    background: rgba(138, 51, 36, 0.9) !important;
    backdrop-filter: blur(8px);
    border-radius: 14px !important;
    font-size: 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff !important;
    transition: all 0.35s ease !important;
}

.project-img-container:hover .gallery-icon {
    background: linear-gradient(135deg, #ffb600, #ff9500) !important;
    transform: rotate(90deg);
}

/* Project Cards Hover Info - Show Only Category Name */
.project-item-info {
    pointer-events: none !important; /* Clicking anywhere on the card activates image zoom */
}

.project-item-title {
    color: #ffffff !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7) !important;
}

.project-item-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 18px;
    background: #ffb600;
    border-radius: 2px;
}

.project-item-info-content .project-cat {
    display: none !important;
}

/* View All Projects button */
.general-btn .btn {
    background: linear-gradient(135deg, #8A3324, #b34430) !important;
    border: none !important;
    padding: 14px 36px !important;
    border-radius: 14px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    color: #ffffff !important;
    box-shadow: 0 8px 25px rgba(138, 51, 36, 0.3) !important;
    transition: all 0.4s ease !important;
}

.general-btn .btn:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 35px rgba(138, 51, 36, 0.4) !important;
}

/* ==========================================================================
   7. TESTIMONIALS — Glass Quote Cards
   ========================================================================== */
.content > .container > .row > .col-lg-6:first-child {
    position: relative;
}

.column-title {
    font-size: clamp(22px, 3vw, 28px) !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin-bottom: 25px !important;
    position: relative;
    padding-bottom: 14px !important;
}

.column-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #8A3324, #ffb600);
    border-radius: 3px;
}

.quote-author {
    font-weight: 700 !important;
    color: #0f172a !important;
    font-size: 16px !important;
}

.quote-subtext {
    font-size: 13px !important;
    color: #8A3324 !important;
    font-weight: 600 !important;
}

/* ==========================================================================
   8. SUBSCRIBE / NEWSLETTER — Premium CTA Bar
   ========================================================================== */
.subscribe.no-padding {
    background: linear-gradient(135deg, #1a1209 0%, #2d1810 50%, #3d1c12 100%) !important;
    border-radius: 24px !important;
    margin: 50px 15px 10px !important;
    padding: 40px 30px !important;
    box-shadow: 0 20px 50px rgba(138, 51, 36, 0.25) !important;
    position: relative;
    overflow: hidden;
}

.subscribe.no-padding::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 182, 0, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.subscribe-call-to-acton h3 {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: rgba(255, 255, 255, 0.6) !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    margin-bottom: 6px !important;
}

.subscribe-call-to-acton h4 {
    font-size: clamp(24px, 3vw, 30px) !important;
    font-weight: 900 !important;
    color: #ffb600 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.ts-newsletter .form-control {
    border-radius: 14px !important;
    padding: 14px 20px !important;
    font-size: 14px !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    transition: all 0.3s ease;
}

.ts-newsletter .form-control:focus {
    border-color: #ffb600 !important;
    background: rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 0 0 3px rgba(255, 182, 0, 0.15) !important;
}

.ts-newsletter .form-control::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
}

/* ==========================================================================
   9. HEADER NAVIGATION — Premium Polish
   ========================================================================== */
.site-navigation {
    transition: all 0.35s ease;
}

.site-navigation.navbar-fixed {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
    backdrop-filter: blur(12px);
}

@media (min-width: 992px) {
    .navbar-nav .nav-link {
        font-weight: 600 !important;
        font-size: 13px !important;
        letter-spacing: 0.2px;
        padding: 10px 12px !important;
        transition: all 0.3s ease !important;
        position: relative;
    }

    .navbar-nav .nav-link::after {
        content: '';
        position: absolute;
        bottom: 5px;
        left: 50%;
        transform: translateX(-50%) scaleX(0);
        width: 20px;
        height: 2px;
        border: 0;          /* never inherit Bootstrap's caret borders */
        margin: 0;
        background: #8A3324;
        border-radius: 2px;
        transition: transform 0.3s ease;
    }

    .navbar-nav .nav-item:hover .nav-link::after,
    .navbar-nav .nav-item.active .nav-link::after {
        transform: translateX(-50%) scaleX(1);
    }

    .navbar-nav .dropdown-menu {
        border-radius: 16px !important;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12) !important;
        border: 1px solid #f0e6e4 !important;
        padding: 10px !important;
        animation: hmSlideUp 0.3s ease;
    }

    .navbar-nav .dropdown-menu li a {
        border-radius: 10px !important;
        padding: 10px 16px !important;
        font-size: 13.5px !important;
        font-weight: 600 !important;
        transition: all 0.25s ease !important;
    }

    .navbar-nav .dropdown-menu li a:hover {
        background: linear-gradient(135deg, #fdf5f4, #fef0ee) !important;
        color: #8A3324 !important;
        padding-left: 20px !important;
    }
}

/* Ensure Nav fits on one line for 992px to 1199px */
@media (min-width: 992px) and (max-width: 1199px) {
    .navbar-nav .nav-link {
        padding: 10px 8px !important;
        font-size: 12px !important;
    }
    .header-two .logo img {
        height: 40px !important;
    }
    .header-get-a-quote .btn {
        padding: 8px 14px !important;
        font-size: 11.5px !important;
    }
}

/* Get Free Quote Button */
.header-get-a-quote .btn {
    background: linear-gradient(135deg, #8A3324, #b34430) !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 10px 18px !important;
    font-weight: 700 !important;
    font-size: 12.5px !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(138, 51, 36, 0.3) !important;
    transition: all 0.35s ease !important;
    letter-spacing: 0.3px;
}

.header-get-a-quote .btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(138, 51, 36, 0.4) !important;
}

/* ==========================================================================
   10. TOP BAR — Slim modern bar
   ========================================================================== */
.top-bar {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding: 6px 0 !important;
}

.top-info .info-text {
    font-size: 12.5px !important;
    font-weight: 500 !important;
    color: rgba(255, 255, 255, 0.65) !important;
    letter-spacing: 0.3px;
}

/* The top bar is dark (see .top-bar above), but style.css still styles these
   icons for the original light bar: `.top-social ul li a { color:#2c2c2c;
   font-size:9px }`. That left them near-black on navy and 9px tall, i.e.
   invisible. LinkedIn only escaped because of a one-off `.fa-linkedin-in`
   patch in style.css that forced 30px + LinkedIn blue -- which also made it
   the odd one out. Style all four here instead. */
.top-bar .top-social ul li a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    padding: 6px 9px;
    line-height: 1;
}

.top-bar .top-social ul li a:hover,
.top-bar .top-social ul li a:focus-visible {
    color: #ffb600;
}

/* beat the .fa-linkedin-in size/colour override so LinkedIn matches the rest */
.top-bar .top-social .social-icon i {
    color: inherit;
    font-size: inherit;
    vertical-align: middle;
}

.top-social .social-icon {
    display: inline-block;
    transition: all 0.3s ease !important;
}

.top-social .social-icon:hover {
    color: #ffb600 !important;
    transform: translateY(-2px);
}

/* ==========================================================================
   11. RESPONSIVE MOBILE REFINEMENTS
   ========================================================================== */
@media (max-width: 767px) {
    .hero-badge {
        font-size: 10px;
        padding: 7px 16px;
        margin-bottom: 12px;
    }

    .hero-btn-group {
        justify-content: center;
        gap: 10px;
    }

    .hero-btn-primary,
    .hero-btn-secondary {
        padding: 10px 20px !important;
        font-size: 12px !important;
        border-radius: 12px !important;
    }

    .slide-eyebrow {
        font-size: 11px !important;
        margin-bottom: 6px !important;
    }

    .slide-sub-title {
        font-size: 22px !important;
        margin-bottom: 10px !important;
    }

    .action-style-box {
        padding: 18px 20px !important;
        border-radius: 14px !important;
    }

    .action-title {
        font-size: 14px !important;
    }

    .ts-facts::after {
        display: none;
    }

    .section-title::before,
    .section-title::after {
        display: none;
    }

    .subscribe.no-padding {
        margin: 30px 10px 10px !important;
        padding: 28px 20px !important;
        border-radius: 18px !important;
    }

    .column-title {
        font-size: 20px !important;
    }
}

@media (max-width: 480px) {
    .hero-badge {
        font-size: 9px;
        padding: 6px 14px;
    }

    .hero-btn-primary,
    .hero-btn-secondary {
        padding: 9px 16px !important;
        font-size: 11px !important;
    }

    .ts-facts-num {
        font-size: 28px !important;
    }

    .ts-facts-title {
        font-size: 11px !important;
    }
}

/* ==========================================================================
   12. SHUFFLE GRID HORIZONTAL ALIGNMENT FIX
   ========================================================================== */
.shuffle-wrapper {
    position: relative;
    overflow: visible;
}

.shuffle-item {
    padding: 0 15px !important;
}

.shuffle-sizer {
    width: 33.333333% !important;
    padding: 0 15px !important;
}

@media (max-width: 991px) {
    .shuffle-sizer {
        width: 50% !important;
    }
}

@media (max-width: 575px) {
    .shuffle-sizer {
        width: 100% !important;
    }
}

/* ==========================================================================
   13. CLIENT LOGO MARQUEE SECTION
   ========================================================================== */
.hm-clients-section {
    padding: 65px 0 75px;
    background: linear-gradient(180deg, #ffffff 0%, #fdf9f8 50%, #ffffff 100%);
    overflow: hidden;
    position: relative;
}

.hm-marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 15px 0;
    margin-top: 25px;
}

/* Edge Fade Gradients */
.hm-marquee-wrapper::before,
.hm-marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 140px;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.hm-marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.hm-marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.hm-marquee-track {
    display: flex;
    gap: 22px;
    width: max-content;
    animation: hmMarquee 38s linear infinite;
    will-change: transform;
}

.hm-marquee-wrapper:hover .hm-marquee-track {
    animation-play-state: paused;
}

@keyframes hmMarquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.hm-marquee-item {
    flex: 0 0 auto;
    width: 175px;
    height: 95px;
    background: #ffffff;
    border: 1px solid #f0e6e4;
    border-radius: 18px;
    padding: 16px 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.hm-marquee-item img {
    max-width: 100%;
    max-height: 55px;
    object-fit: contain;
    filter: grayscale(75%) opacity(0.7);
    transition: all 0.4s ease;
}

.hm-marquee-item:hover {
    transform: translateY(-6px) scale(1.04);
    box-shadow: 0 16px 35px rgba(138, 51, 36, 0.14);
    border-color: rgba(138, 51, 36, 0.25);
}

.hm-marquee-item:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.08);
}

.hm-clients-header-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 700;
    color: #8A3324;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hm-clients-header-link:hover {
    color: #b34430;
    transform: translateX(4px);
    text-decoration: none;
}

@media (max-width: 767px) {
    .hm-clients-section {
        padding: 45px 0 55px;
    }
    .hm-marquee-item {
        width: 140px;
        height: 80px;
        padding: 12px 16px;
        border-radius: 14px;
    }
    .hm-marquee-item img {
        max-height: 45px;
    }
    .hm-marquee-wrapper::before,
    .hm-marquee-wrapper::after {
        width: 60px;
    }
}



/* ============================================================
   Client Logos Marquee (Happy Clients & Key Sectors)
   ============================================================ */
.client-logos-marquee {
    position: relative;
    overflow: hidden;
    padding: 10px 0;
    /* soft fade at both edges */
    -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.client-logos-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: clientLogosScroll 30s linear infinite;
    will-change: transform;
}

.client-logos-marquee:hover .client-logos-track {
    animation-play-state: paused;
}

.client-logos-track .client-logo-box {
    flex: 0 0 auto;
    margin-right: 20px;
    width: 150px;
    height: 84px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.client-logos-track .client-logo-box:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.14);
}

.client-logos-track .client-logo-box img {
    max-height: 54px;
    max-width: 100%;
    object-fit: contain;
}

@keyframes clientLogosScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .client-logos-track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
        width: auto;
    }
    .client-logos-track .client-logo-box[aria-hidden="true"] {
        display: none;
    }
}
