/* ==========================================================================
   Halal Technology - Home Page (redesign)
   Uses the palette tokens from style.css (:root).
   ========================================================================== */

.ht-section {
    padding: 100px 0 0;
}

.ht-head {
    margin-bottom: 36px;
}

.ht-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.ht-title {
    font-size: 40px;
    font-weight: 800;
    color: var(--text-color);
    margin: 0 0 12px;
    line-height: 1.15;
}

.ht-why .ht-title {
    color: var(--primary-color);
}

.ht-subtitle {
    font-size: 16px;
    color: var(--muted-color);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.6;
}

.ht-link {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ht-link i {
    transition: transform 0.3s ease;
}

.ht-link:hover {
    color: var(--secondary-color);
}

.ht-link:hover i {
    transform: translateX(5px);
}

.ht-link-muted {
    font-size: 13px;
    font-weight: 600;
    color: var(--muted-color);
}

.ht-link-muted:hover {
    color: var(--secondary-color);
}

.ht-btn-outline {
    border-radius: 6px;
}

/* ==========================================================================
   1. Hero slider
   ========================================================================== */
.ht-hero {
    position: relative;
    height: 620px;
    overflow: hidden;
    background: var(--dark-color);
    color: #FFFFFF;
}

.ht-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
}

.ht-hero-slide.is-active {
    opacity: 1;
}

.ht-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
}

.ht-hero-slide.is-active .ht-hero-img {
    animation: htKenBurns 7s ease-out forwards;
}

@keyframes htKenBurns {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.ht-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(43, 15, 6, 0.94) 0%, rgba(122, 30, 8, 0.8) 50%, rgba(43, 15, 6, 0.5) 100%);
}

/* subtle moving tech grid */
.ht-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: linear-gradient(90deg, transparent 0%, #000 60%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 60%, transparent 100%);
    animation: htGridMove 20s linear infinite;
}

@keyframes htGridMove {
    from { background-position: 0 0, 0 0; }
    to { background-position: 60px 60px, 60px 60px; }
}

.ht-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
}

.ht-hero-orb-1 {
    width: 380px;
    height: 380px;
    right: 8%;
    top: -120px;
    background: rgba(255, 138, 42, 0.35);
    animation: htOrb 12s ease-in-out infinite alternate;
}

.ht-hero-orb-2 {
    width: 300px;
    height: 300px;
    right: 30%;
    bottom: -160px;
    background: rgba(238, 58, 10, 0.35);
    animation: htOrb 15s ease-in-out infinite alternate-reverse;
}

@keyframes htOrb {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(-60px, 40px) scale(1.15); }
}

.ht-hero-container {
    position: relative;
    height: 100%;
    z-index: 2;
}

.ht-hero-content {
    position: absolute;
    left: 12px;
    right: 12px;
    top: 50%;
    transform: translateY(-58%);
    max-width: 720px;
    pointer-events: none;
    visibility: hidden;
}

.ht-hero-content.is-active {
    pointer-events: auto;
    visibility: visible;
}

.ht-hero-content > * {
    opacity: 0;
    transform: translateY(30px);
}

.ht-hero-content.is-active > * {
    animation: htRiseIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.ht-hero-content.is-active > *:nth-child(2) { animation-delay: 0.12s; }
.ht-hero-content.is-active > *:nth-child(3) { animation-delay: 0.24s; }
.ht-hero-content.is-active > *:nth-child(4) { animation-delay: 0.36s; }

@keyframes htRiseIn {
    to { opacity: 1; transform: translateY(0); }
}

.ht-hero-tag {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #FDBA8C;
    margin-bottom: 20px;
}

.ht-hero-tag span {
    width: 34px;
    height: 2px;
    background: var(--accent-color);
    display: block;
}

.ht-hero-title {
    font-size: 58px;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -1px;
    color: #FFFFFF;
    margin: 0 0 20px;
}

.ht-hero-text {
    font-size: 18px;
    line-height: 1.6;
    color: #ECE5E0;
    max-width: 560px;
    margin: 0 0 30px;
}

.ht-hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.ht-hero-controls {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 110px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ht-hero-dots {
    display: flex;
    gap: 8px;
}

.ht-hero-dot {
    width: 14px;
    height: 5px;
    padding: 0;
    border: none;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.4);
    overflow: hidden;
    cursor: pointer;
    transition: width 0.4s ease;
}

.ht-hero-dot.is-active {
    width: 54px;
}

.ht-hero-dot span {
    display: block;
    height: 100%;
    width: 0;
    background: var(--accent-color);
}

.ht-hero-dot.is-active span {
    animation: htProgress var(--ht-slide-ms, 6000ms) linear forwards;
}

.ht-hero.is-paused .ht-hero-dot.is-active span {
    animation-play-state: paused;
}

@keyframes htProgress {
    from { width: 0; }
    to { width: 100%; }
}

.ht-hero-nav {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ht-hero-counter {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-right: 6px;
}

.ht-hero-counter strong {
    font-size: 26px;
    font-weight: 800;
}

.ht-hero-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.06);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.ht-hero-arrow:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

.ht-hero-arrow.is-primary {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.ht-hero-arrow.is-primary:hover {
    background: var(--secondary-hover);
}

.ht-scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 96px;
    width: 26px;
    height: 42px;
    margin-left: -13px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 14px;
    z-index: 2;
}

.ht-scroll-cue span {
    position: absolute;
    left: 50%;
    top: 8px;
    width: 4px;
    height: 8px;
    margin-left: -2px;
    border-radius: 2px;
    background: #FFFFFF;
    animation: htScrollCue 1.8s ease-in-out infinite;
}

@keyframes htScrollCue {
    0% { opacity: 0; transform: translateY(0); }
    30% { opacity: 1; }
    100% { opacity: 0; transform: translateY(14px); }
}

/* ==========================================================================
   2. Features card
   ========================================================================== */
.ht-features {
    position: relative;
    z-index: 5;
    margin-top: -70px;
}

.ht-features-card {
    background: #FFFFFF;
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(43, 15, 6, 0.1);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
}

.ht-feature {
    padding: 30px 26px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    position: relative;
    transition: background 0.3s ease;
}

.ht-feature::after {
    content: '';
    position: absolute;
    left: 26px;
    right: 26px;
    bottom: 0;
    height: 3px;
    background: var(--secondary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.ht-feature:hover {
    background: #FFF3EC;
}

.ht-feature:hover::after {
    transform: scaleX(1);
}

.ht-feature-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 12px;
    background: #FFF3EC;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.35s ease;
}

.ht-feature:hover .ht-feature-icon {
    background: var(--secondary-color);
    color: #FFFFFF;
    transform: rotate(-8deg) scale(1.08);
}

.ht-feature h4 {
    font-size: 16.5px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 6px;
}

.ht-feature p {
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--muted-color);
    margin: 0;
}

/* ==========================================================================
   Category marquee
   ========================================================================== */
.ht-marquee {
    margin-top: 64px;
    overflow: hidden;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: var(--light-color);
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.ht-marquee-track {
    display: flex;
    width: max-content;
    animation: htMarquee 40s linear infinite;
}

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

.ht-marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 18px 28px;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    white-space: nowrap;
}

.ht-marquee-item i {
    font-size: 10px;
    color: var(--accent-color);
}

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

/* ==========================================================================
   3. Products
   ========================================================================== */
.ht-products {
    padding-top: 80px;
}

.ht-tabs-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.ht-tabs {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    padding: 8px;
    background: var(--light-color);
    border: 1px solid var(--border-color);
    border-radius: 40px;
}

.ht-tab-pill {
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 0;
    border-radius: 22px;
    background: var(--secondary-color);
    box-shadow: 0 6px 16px rgba(238, 58, 10, 0.3);
    transition: all 0.45s cubic-bezier(0.34, 1.3, 0.64, 1);
    z-index: 0;
}

.ht-tab {
    position: relative;
    z-index: 1;
    height: 42px;
    padding: 0 18px;
    border: none;
    border-radius: 21px;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    white-space: nowrap;
    transition: color 0.3s ease;
}

.ht-tab small {
    font-size: 12.5px;
    font-weight: 500;
    opacity: 0.7;
}

.ht-tab:hover {
    color: var(--secondary-color);
}

.ht-tab.active,
.ht-tab.active:hover {
    color: #FFFFFF;
}

/* no-JS / pill-less fallback */
.ht-tabs:not(.has-pill) .ht-tab.active {
    background: var(--secondary-color);
}

.ht-product-item.is-hidden {
    display: none;
}

.ht-product-item.is-entering {
    animation: htCardIn 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes htCardIn {
    from { opacity: 0; transform: translateY(24px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.ht-product-card {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.ht-product-card:hover {
    transform: translateY(-8px);
    border-color: #FDBA8C;
    box-shadow: 0 20px 40px rgba(43, 15, 6, 0.14);
}

.ht-product-media {
    position: relative;
    display: block;
    height: 220px;
    background: #FCFAF8;
    overflow: hidden;
}

.ht-product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.ht-product-card:hover .ht-product-media img {
    transform: scale(1.08);
}

.ht-product-view {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--secondary-color);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    opacity: 0;
    transform: translateY(12px) scale(0.8);
    transition: all 0.35s ease;
}

.ht-product-card:hover .ht-product-view {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.ht-badge {
    position: absolute;
    top: 12px;
    height: 24px;
    padding: 0 10px;
    border-radius: 4px;
    font-size: 11.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
}

.ht-badge-featured {
    left: 12px;
    background: var(--secondary-color);
    color: #FFFFFF;
}

.ht-badge-pdf {
    right: 12px;
    background: #FFFFFF;
    color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.ht-badge-pdf:hover {
    background: var(--primary-color);
    color: #FFFFFF;
}

.ht-product-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
}

.ht-product-cat {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--secondary-color);
}

.ht-product-title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
}

.ht-product-title a {
    color: var(--primary-color);
}

.ht-product-title a:hover {
    color: var(--secondary-color);
}

.ht-product-desc {
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--muted-color);
    margin: 0;
}

.ht-product-foot {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ==========================================================================
   4. Why choose us
   ========================================================================== */
.ht-why {
    margin-top: 100px;
    padding-bottom: 100px;
    background: var(--light-color);
}

.ht-why-visual {
    position: relative;
    padding: 0 0 30px 24px;
}

.ht-why-img {
    height: 520px;
    border-radius: 16px;
    overflow: hidden;
}

.ht-why-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s ease;
}

.ht-why-visual:hover .ht-why-img img {
    transform: scale(1.05);
}

.ht-why-years {
    position: absolute;
    right: 24px;
    top: 24px;
    background: var(--secondary-color);
    color: #FFFFFF;
    border-radius: 14px;
    padding: 18px 22px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(238, 58, 10, 0.35);
}

.ht-why-years strong {
    display: block;
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
}

.ht-why-years span {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    margin-top: 4px;
}

.ht-why-badge {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 300px;
    background: #FFFFFF;
    border-radius: 14px;
    padding: 20px 22px;
    box-shadow: 0 16px 36px rgba(43, 15, 6, 0.16);
}

.ht-why-badge-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.ht-why-badge-head strong {
    font-size: 16px;
    color: var(--primary-color);
}

.ht-why-badge-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--secondary-color);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ht-why-badge p {
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--muted-color);
    margin: 0;
}

.ht-float {
    animation: htFloat 4s ease-in-out infinite;
}

.ht-float-slow {
    animation: htFloat 6s ease-in-out infinite reverse;
}

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

.ht-accordion {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 22px;
}

.ht-acc-item {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.ht-acc-item.is-open {
    border-color: #FDBA8C;
    box-shadow: 0 10px 24px rgba(43, 15, 6, 0.06);
}

.ht-acc-btn {
    width: 100%;
    background: none;
    border: none;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: left;
}

.ht-acc-num {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #FFF3EC;
    color: var(--secondary-color);
    font-size: 12.5px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.ht-acc-item.is-open .ht-acc-num {
    background: var(--secondary-color);
    color: #FFFFFF;
}

.ht-acc-title {
    flex-grow: 1;
    font-size: 15.5px;
    font-weight: 700;
    color: var(--text-color);
}

.ht-acc-sign {
    position: relative;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.ht-acc-sign::before,
.ht-acc-sign::after {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 14px;
    height: 2px;
    border-radius: 1px;
    background: var(--secondary-color);
    transition: transform 0.35s ease;
}

.ht-acc-sign::after {
    transform: rotate(90deg);
}

.ht-acc-item.is-open .ht-acc-sign::after {
    transform: rotate(0deg);
}

/* smooth height animation via grid rows */
.ht-acc-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s ease;
}

.ht-acc-item.is-open .ht-acc-panel {
    grid-template-rows: 1fr;
}

.ht-acc-inner {
    overflow: hidden;
}

.ht-acc-inner p {
    margin: 0;
    padding: 0 18px 18px 62px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--muted-color);
}

/* ==========================================================================
   5. Stats
   ========================================================================== */
.ht-stats {
    background: linear-gradient(90deg, #2B0F06 0%, #A8290A 60%, #7A1C05 100%);
    background-size: 200% 100%;
    animation: htGradientShift 12s ease-in-out infinite alternate;
    padding: 56px 0;
    color: #FFFFFF;
}

@keyframes htGradientShift {
    from { background-position: 0% 50%; }
    to { background-position: 100% 50%; }
}

.ht-stat {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 14px 0;
}

.ht-stats .col-lg-3:not(:last-child) .ht-stat {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.ht-stat-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #FDBA8C;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: transform 0.4s ease;
}

.ht-stat:hover .ht-stat-icon {
    transform: rotateY(180deg);
}

.ht-stat-val {
    font-size: 38px;
    font-weight: 800;
    line-height: 1;
}

.ht-stat-label {
    font-size: 14px;
    color: #FED4BD;
    margin-top: 6px;
}

/* ==========================================================================
   6. Industries
   ========================================================================== */
.ht-ind-tabs {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
}

.ht-ind-tab {
    flex: 1;
    min-height: 96px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 22px;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    background: #FFFFFF;
    color: var(--primary-color);
    text-align: left;
    transition: all 0.35s ease;
}

.ht-ind-tab:hover {
    border-color: #FDBA8C;
    transform: translateX(4px);
}

.ht-ind-tab.is-active {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #FFFFFF;
    box-shadow: 0 12px 28px rgba(238, 58, 10, 0.3);
}

.ht-ind-tab-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 12px;
    background: #FFF3EC;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.35s ease;
}

.ht-ind-tab.is-active .ht-ind-tab-icon {
    background: rgba(255, 255, 255, 0.18);
    color: #FFFFFF;
}

.ht-ind-tab-text {
    flex-grow: 1;
    font-size: 19px;
    font-weight: 700;
}

.ht-ind-tab-text small {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.4px;
    opacity: 0.75;
}

.ht-ind-tab-arrow {
    transition: transform 0.35s ease;
}

.ht-ind-tab.is-active .ht-ind-tab-arrow {
    transform: translateX(4px);
}

.ht-ind-stage {
    position: relative;
    height: 440px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--dark-color);
}

.ht-ind-panel {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s;
}

.ht-ind-panel.is-active {
    opacity: 1;
    visibility: visible;
}

.ht-ind-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.12);
    transition: transform 1.4s ease;
}

.ht-ind-panel.is-active img {
    transform: scale(1);
}

.ht-ind-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(43, 15, 6, 0.92) 0%, rgba(43, 15, 6, 0.55) 55%, rgba(43, 15, 6, 0.1) 100%);
}

.ht-ind-content {
    position: absolute;
    left: 44px;
    top: 0;
    bottom: 0;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #FFFFFF;
}

.ht-ind-content > * {
    opacity: 0;
    transform: translateX(-24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.ht-ind-panel.is-active .ht-ind-content > * {
    opacity: 1;
    transform: translateX(0);
}

.ht-ind-panel.is-active .ht-ind-content > *:nth-child(2) { transition-delay: 0.1s; }
.ht-ind-panel.is-active .ht-ind-content > *:nth-child(3) { transition-delay: 0.2s; }
.ht-ind-panel.is-active .ht-ind-content > *:nth-child(4) { transition-delay: 0.3s; }

.ht-ind-content h3 {
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 14px;
}

.ht-ind-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #ECE5E0;
    margin: 0 0 16px;
}

.ht-ind-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ht-ind-content li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
}

.ht-ind-content li i {
    color: var(--accent-color);
}

.ht-ind-content .btn {
    align-self: flex-start;
}

/* ==========================================================================
   7. News
   ========================================================================== */
.ht-news-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.ht-news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(43, 15, 6, 0.12);
}

.ht-news-media {
    position: relative;
    display: block;
    height: 220px;
    overflow: hidden;
    background: #F3ECE6;
}

.ht-news-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.ht-news-card:hover .ht-news-media img {
    transform: scale(1.08);
}

.ht-news-cat {
    position: absolute;
    left: 14px;
    bottom: 14px;
    padding: 5px 12px;
    border-radius: 4px;
    background: var(--secondary-color);
    color: #FFFFFF;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.ht-news-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
}

.ht-news-date {
    font-size: 13px;
    color: var(--muted-color);
}

.ht-news-date i {
    color: var(--secondary-color);
    margin-right: 4px;
}

.ht-news-body h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
}

.ht-news-body h3 a {
    color: var(--primary-color);
}

.ht-news-body h3 a:hover {
    color: var(--secondary-color);
}

.ht-news-body p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--muted-color);
    margin: 0 0 4px;
    flex-grow: 1;
}

/* ==========================================================================
   8. CTA
   ========================================================================== */
.ht-cta-wrap {
    padding: 100px 0;
}

.ht-cta {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(120deg, #D2320A 0%, #EE3A0A 50%, #FF6A13 100%);
    background-size: 200% 200%;
    animation: htGradientShift 8s ease-in-out infinite alternate;
    padding: 48px 56px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    color: #FFFFFF;
}

.ht-cta-shine {
    position: absolute;
    top: 0;
    left: -40%;
    width: 30%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: skewX(-20deg);
    animation: htShine 5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes htShine {
    0% { left: -40%; }
    60%, 100% { left: 130%; }
}

.ht-cta h2 {
    position: relative;
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 8px;
}

.ht-cta p {
    position: relative;
    font-size: 16px;
    color: #FFF3EC;
    margin: 0;
}

.ht-cta-btns {
    position: relative;
    display: flex;
    gap: 12px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.ht-cta-btn {
    height: 52px;
    padding: 0 26px;
    border-radius: 6px;
    background: #FFFFFF;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.6px;
    transition: var(--transition-smooth);
}

.ht-cta-btn:hover {
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(43, 15, 6, 0.2);
}

.ht-cta-btn.is-ghost {
    background: transparent;
    border: 1.5px solid #FFFFFF;
    color: #FFFFFF;
}

.ht-cta-btn.is-ghost:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1199.98px) {
    .ht-hero-title { font-size: 48px; }
    .ht-features-card { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 991.98px) {
    .ht-section { padding-top: 72px; }
    .ht-title { font-size: 32px; }
    .ht-hero { height: 560px; }
    .ht-hero-title { font-size: 40px; }
    .ht-hero-controls { bottom: 96px; }
    .ht-scroll-cue { display: none; }
    .ht-why { margin-top: 72px; padding-bottom: 72px; }
    .ht-why-img { height: 420px; }
    .ht-stats .col-lg-3 .ht-stat { border-right: none !important; }
    .ht-ind-tabs { flex-direction: row; overflow-x: auto; }
    .ht-ind-tab { min-height: 72px; min-width: 240px; }
    .ht-cta { flex-direction: column; align-items: flex-start; padding: 40px 32px; }
    .ht-cta-wrap { padding: 72px 0; }
}

@media (max-width: 767.98px) {
    .ht-hero { height: 600px; }
    .ht-hero-content { transform: translateY(-62%); }
    .ht-hero-title { font-size: 32px; }
    .ht-hero-text { font-size: 16px; }
    .ht-hero-counter { display: none; }
    .ht-features-card { grid-template-columns: 1fr; }
    .ht-tabs { border-radius: 16px; }
    .ht-tab { height: 38px; padding: 0 14px; font-size: 13px; }
    .ht-why-visual { padding-left: 0; }
    .ht-why-img { height: 320px; }
    .ht-why-badge { position: relative; width: auto; margin-top: -40px; margin-left: 16px; margin-right: 16px; }
    .ht-ind-stage { height: 480px; }
    .ht-ind-content { left: 24px; right: 24px; }
    .ht-ind-content h3 { font-size: 26px; }
    .ht-cta h2 { font-size: 26px; }
    .ht-marquee-item { font-size: 15px; padding: 14px 20px; }
}

/* ==========================================================================
   Reduced motion: keep content, drop movement
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    .ht-hero-grid,
    .ht-hero-orb,
    .ht-marquee-track,
    .ht-float,
    .ht-float-slow,
    .ht-stats,
    .ht-cta,
    .ht-cta-shine,
    .ht-scroll-cue span,
    .ht-hero-slide.is-active .ht-hero-img {
        animation: none !important;
    }
    .ht-hero-content.is-active > * {
        animation: none;
        opacity: 1;
        transform: none;
    }
    .ht-product-item.is-entering {
        animation: none;
    }
}

/* Override the legacy .btn-category-filter look (style.css) for the new tabs */
.ht-tabs .ht-tab.btn-category-filter,
.ht-tabs .ht-tab.btn-category-filter:hover {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none;
    transform: none;
    border-radius: 21px;
    padding: 0 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color) !important;
}

.ht-tabs .ht-tab.btn-category-filter:hover {
    color: var(--secondary-color) !important;
}

.ht-tabs .ht-tab.btn-category-filter.active {
    color: #FFFFFF !important;
    border: none !important;
    background-color: transparent !important;
    box-shadow: none;
}

.ht-tabs:not(.has-pill) .ht-tab.btn-category-filter.active {
    background-color: var(--secondary-color) !important;
}
