@font-face {
    font-family: 'HacenLiner';
    src: url('/assets/tostos-brand/fonts/HacenLiner.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --tos-primary: #36788d;
    --tos-dark: #05485d;
    --tos-light: #cdefed;
    --tos-text: #0f172a;
}

html,
body {
    direction: rtl;
    font-family: 'HacenLiner', Arial, sans-serif !important;
    color: var(--tos-text);
    background: #fff;
}

body,
body * {
    font-family: 'HacenLiner', Arial, sans-serif !important;
    box-sizing: border-box;
}

.tos-preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--tos-dark);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 42px;
    letter-spacing: 4px;
    font-weight: 700;
}

.tos-header {
    background: #07142d;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.tos-header-inner {
    max-width: 1320px;
    margin: 0 auto;
    min-height: 92px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 34px;
}

.tos-logo img {
    max-height: 58px;
    max-width: 180px;
    object-fit: contain;
    display: block;
}

.tos-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-inline-start: auto;
}

.tos-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    transition: color .2s ease;
}

.tos-nav a:hover {
    color: var(--tos-light);
}

.tos-side-toggle {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    border: 0;
    background: #4d43ff;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

.tos-side-panel {
    position: fixed;
    top: 0;
    inset-inline-end: -380px;
    width: 360px;
    max-width: 90vw;
    height: 100vh;
    background: #fff;
    z-index: 2000;
    padding: 32px;
    box-shadow: 0 20px 60px rgba(0,0,0,.18);
    transition: inset-inline-end .25s ease;
}

body.tos-side-open .tos-side-panel {
    inset-inline-end: 0;
}

.tos-side-close {
    border: 0;
    background: var(--tos-dark);
    color: #fff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
}

.tos-side-logo img {
    max-width: 180px;
    margin: 28px 0;
}

.tos-side-contact p {
    color: var(--tos-dark);
    line-height: 1.8;
}

.tos-hero {
    background: #bcbcbc;
    min-height: 700px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.tos-hero-slider {
    width: min(1220px, calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    align-items: center;
    gap: 40px;
}

.tos-hero-images {
    position: relative;
    min-height: 460px;
}

.tos-hero-images img {
    position: absolute;
    max-width: 48%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,.12);
    object-fit: cover;
}

.tos-hero-images img:nth-child(1) { top: 0; right: 0; }
.tos-hero-images img:nth-child(2) { top: 60px; left: 0; }
.tos-hero-images img:nth-child(3) { bottom: 0; right: 12%; max-width: 58%; }
.tos-hero-images img:nth-child(4) { bottom: 30px; left: 8%; }

.tos-hero-content {
    color: #fff;
}

.tos-hero-content span {
    color: #fff;
    opacity: .92;
    font-size: 18px;
}

.tos-hero-content h1 {
    color: #fff;
    font-size: clamp(38px, 5vw, 72px);
    line-height: 1.25;
    margin: 16px 0;
    font-weight: 900;
}

.tos-hero-content p {
    color: rgba(255,255,255,.9);
    font-size: 18px;
    line-height: 1.9;
    max-width: 600px;
}

.tos-btn,
.tos-link,
.tos-download-card {
    transition: all .2s ease;
}

.tos-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 34px;
    background: #4d43ff;
    color: #fff;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 800;
    margin-top: 20px;
}

.tos-btn:hover {
    background: var(--tos-primary);
    color: #fff;
}

.tos-section-title {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 44px;
}

.tos-section-title span,
.tos-about-content span,
.tos-provider-cta span {
    color: var(--tos-primary);
    font-weight: 800;
    text-transform: uppercase;
}

.tos-section-title h2,
.tos-about-content h2,
.tos-provider-cta h2,
.tos-newsletter h2 {
    color: var(--tos-dark);
    font-size: clamp(28px, 3vw, 48px);
    line-height: 1.3;
    margin: 10px 0;
    font-weight: 900;
}

.tos-downloads,
.tos-categories,
.tos-feature,
.tos-testimonials {
    padding: 90px 24px;
}

.tos-download-grid,
.tos-category-grid,
.tos-testimonial-grid {
    max-width: 1220px;
    margin: 0 auto;
    display: grid;
    gap: 24px;
}

.tos-download-grid {
    grid-template-columns: repeat(4, 1fr);
}

.tos-download-card,
.tos-category-card,
.tos-testimonial-card {
    background: #fff;
    border: 1px solid rgba(5, 72, 93, .12);
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 18px 50px rgba(5, 72, 93, .08);
    text-decoration: none;
}

.tos-download-card h3,
.tos-category-card h3,
.tos-testimonial-card h3 {
    color: var(--tos-dark);
    font-size: 22px;
    margin: 12px 0;
}

.tos-download-card p,
.tos-testimonial-card p,
.tos-about-content p,
.tos-provider-cta p,
.tos-newsletter p {
    color: #31596a;
    line-height: 1.9;
}

.tos-download-card:hover {
    transform: translateY(-4px);
    border-color: var(--tos-primary);
}

.tos-about {
    max-width: 1220px;
    margin: 0 auto;
    padding: 90px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.tos-about-image img {
    width: 100%;
    border-radius: 28px;
    box-shadow: 0 20px 60px rgba(5, 72, 93, .12);
}

.tos-link {
    color: var(--tos-primary);
    font-weight: 800;
    text-decoration: none;
}

.tos-category-grid {
    grid-template-columns: repeat(4, 1fr);
}

.tos-category-card {
    text-align: center;
}

.tos-category-card img {
    width: 96px;
    height: 96px;
    object-fit: contain;
    margin: 0 auto 14px;
}

.tos-feature {
    background: var(--tos-light);
}

.tos-feature-slider {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    gap: 24px;
}

.tos-feature-card {
    background: #fff;
    padding: 28px;
    border-radius: 24px;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 28px;
    align-items: center;
}

.tos-feature-card img {
    width: 100%;
    border-radius: 18px;
}

.tos-feature-card h3 {
    color: var(--tos-dark);
}

.tos-provider-cta,
.tos-newsletter {
    max-width: 1220px;
    margin: 70px auto;
    padding: 46px;
    border-radius: 26px;
    background: var(--tos-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.tos-testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
}

.tos-testimonial-card {
    text-align: center;
}

.tos-testimonial-card img {
    width: 92px;
    height: 92px;
    object-fit: cover;
    border-radius: 50%;
}

.tos-testimonial-card span {
    color: var(--tos-primary);
}

.tos-newsletter form {
    display: flex;
    background: #fff;
    padding: 6px;
    border-radius: 999px;
    min-width: 420px;
}

.tos-newsletter input {
    border: 0;
    outline: 0;
    flex: 1;
    padding: 0 18px;
    background: transparent;
}

.tos-newsletter button {
    border: 0;
    background: var(--tos-primary);
    color: #fff;
    border-radius: 999px;
    padding: 14px 28px;
    cursor: pointer;
}

.tos-footer {
    background: var(--tos-light);
    color: #111;
    padding: 70px 24px 0;
}

.tos-footer-grid {
    max-width: 1220px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1.2fr;
    gap: 40px;
}

.tos-footer img {
    max-width: 190px;
}

.tos-footer h3 {
    color: #111;
}

.tos-footer a,
.tos-footer p {
    color: #111;
    display: block;
    text-decoration: none;
    line-height: 2;
}

.tos-footer-bottom {
    max-width: 1220px;
    margin: 40px auto 0;
    padding: 18px 0;
    text-align: center;
    border-top: 1px solid rgba(5, 72, 93, .18);
    color: #111;
}

@media (max-width: 991px) {
    .tos-nav {
        display: none;
    }

    .tos-hero-slider,
    .tos-about,
    .tos-feature-card {
        grid-template-columns: 1fr;
    }

    .tos-download-grid,
    .tos-category-grid,
    .tos-testimonial-grid,
    .tos-footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .tos-provider-cta,
    .tos-newsletter {
        flex-direction: column;
        text-align: center;
    }

    .tos-newsletter form {
        min-width: 0;
        width: 100%;
    }
}

@media (max-width: 640px) {
    .tos-download-grid,
    .tos-category-grid,
    .tos-testimonial-grid,
    .tos-footer-grid {
        grid-template-columns: 1fr;
    }

    .tos-hero {
        min-height: auto;
        padding: 70px 0;
    }

    .tos-hero-images {
        min-height: 360px;
    }
}



/* ===== Tostos Consalt preview sliders css start ===== */

/* Smaller, calmer typography */
.tos-hero-content h1 {
    font-size: clamp(30px, 3.7vw, 52px) !important;
    line-height: 1.35 !important;
}

.tos-section-title h2,
.tos-about-content h2,
.tos-provider-cta h2,
.tos-newsletter h2 {
    font-size: clamp(24px, 2.4vw, 36px) !important;
    line-height: 1.4 !important;
}

.tos-download-card h3,
.tos-category-card h3,
.tos-testimonial-card h3,
.tos-feature-card h3 {
    font-size: 20px !important;
    line-height: 1.45 !important;
}

.tos-hero-content p,
.tos-section-title p,
.tos-about-content p,
.tos-provider-cta p,
.tos-newsletter p,
.tos-download-card p,
.tos-testimonial-card p,
.tos-feature-card p {
    font-size: 15px !important;
    line-height: 1.9 !important;
}

/* Upper hero image slider */
.tos-hero-images {
    min-height: 440px !important;
    border-radius: 28px;
    overflow: hidden;
}

.tos-hero-images img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: cover !important;
    border-radius: 28px !important;
    opacity: 0 !important;
    transform: scale(1.03) !important;
    transition: opacity .7s ease, transform 1.2s ease !important;
}

.tos-hero-images img.is-active {
    opacity: 1 !important;
    transform: scale(1) !important;
}

/* Generic custom carousel */
.tos-carousel-viewport {
    max-width: 1220px;
    margin: 0 auto;
    overflow: hidden;
    direction: ltr;
}

.tos-carousel-track {
    display: flex !important;
    gap: 0 !important;
    transition: transform .45s ease !important;
    will-change: transform;
}

.tos-carousel-slide {
    padding: 0 12px !important;
    direction: rtl;
}

.tos-carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-top: 24px;
}

.tos-carousel-controls button {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(54, 120, 141, .45);
    background: #fff;
    color: #05485d;
    font-size: 20px;
    cursor: pointer;
    transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.tos-carousel-controls button:hover,
.tos-carousel-controls button:focus {
    background: #36788d;
    color: #fff;
    border-color: #36788d;
}

/* Cards inside carousel */
.tos-category-card,
.tos-testimonial-card,
.tos-feature-card {
    height: 100%;
}

.tos-feature-slider.tos-carousel-track {
    align-items: stretch;
}

.tos-feature-card {
    grid-template-columns: 260px 1fr !important;
    min-height: 280px;
}

/* Less vertical heaviness */
.tos-downloads,
.tos-categories,
.tos-feature,
.tos-testimonials {
    padding-top: 70px !important;
    padding-bottom: 70px !important;
}

.tos-about {
    padding-top: 70px !important;
    padding-bottom: 70px !important;
}

@media (max-width: 991px) {
    .tos-hero-images {
        min-height: 360px !important;
    }

    .tos-feature-card {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 640px) {
    .tos-hero-content h1 {
        font-size: 30px !important;
    }

    .tos-hero-images {
        min-height: 300px !important;
    }

    .tos-carousel-slide {
        padding: 0 8px !important;
    }
}

/* ===== Tostos Consalt preview sliders css end ===== */



/* ===== Tostos Consalt polish v2 start ===== */

/* Hero full background slider */
.tos-hero {
    min-height: 650px !important;
    background: #07142d !important;
    position: relative !important;
    overflow: hidden !important;
}

.tos-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7,20,45,.38), rgba(7,20,45,.68));
    z-index: 1;
    pointer-events: none;
}

.tos-hero-slider {
    width: 100% !important;
    max-width: none !important;
    min-height: 650px !important;
    display: block !important;
    position: relative !important;
}

.tos-hero-images {
    position: absolute !important;
    inset: 0 !important;
    min-height: 650px !important;
    width: 100% !important;
    border-radius: 0 !important;
    z-index: 0 !important;
}

.tos-hero-images img {
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: cover !important;
    border-radius: 0 !important;
}

.tos-hero-content {
    position: relative !important;
    z-index: 2 !important;
    width: min(1220px, calc(100% - 40px)) !important;
    margin: 0 auto !important;
    padding: 175px 0 130px !important;
    text-align: right !important;
}

.tos-hero-content > span {
    display: none !important;
}

.tos-hero-content h1,
.tos-hero-content p {
    max-width: 620px !important;
    margin-inline-start: auto !important;
}

.tos-hero-content h1 {
    font-size: clamp(30px, 3.3vw, 48px) !important;
}

/* Remove static section labels */
.tos-downloads .tos-section-title > span,
.tos-about-content > span,
.tos-categories .tos-section-title > span,
.tos-provider-cta span,
.tos-testimonials .tos-section-title > span {
    display: none !important;
}

/* Right aligned readable text */
.tos-download-card,
.tos-about-content,
.tos-feature-card > div,
.tos-provider-cta > div,
.tos-newsletter > div,
.tos-testimonial-card,
.tos-footer {
    text-align: right !important;
}

.tos-section-title {
    text-align: center !important;
}

/* Slider spacing except hero */
.tos-carousel-viewport {
    padding-inline: 25px !important;
    max-width: 1270px !important;
}

.tos-carousel-slide {
    padding-inline: 12.5px !important;
}

/* Cards: better inner spacing and equal visual feel */
.tos-download-card,
.tos-category-card,
.tos-testimonial-card {
    padding: 30px 28px !important;
    height: 100% !important;
}

.tos-feature-card {
    padding: 34px 36px !important;
    height: 100% !important;
}

.tos-feature-card > div {
    padding-inline: 14px !important;
}

.tos-download-card .tos-download-icon {
    width: 78px !important;
    height: 50px !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 0 18px auto !important;
}

/* Download card layout */
.tos-download-grid {
    align-items: stretch !important;
}

.tos-download-card {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
}

/* Categories */
.tos-category-card img {
    margin-bottom: 18px !important;
}

.tos-category-card h3 {
    margin-bottom: 0 !important;
}

/* Testimonials */
.tos-testimonial-card img {
    margin-bottom: 14px !important;
}

.tos-testimonial-card p {
    text-align: right !important;
}

/* Newsletter and provider CTA spacing */
.tos-provider-cta,
.tos-newsletter {
    padding-inline: 58px !important;
}

/* Footer title cleanup */
.tos-footer h3:empty {
    display: none !important;
}

.tos-footer-grid > div:nth-child(2) {
    padding-top: 8px !important;
}

/* On smaller screens */
@media (max-width: 991px) {
    .tos-hero,
    .tos-hero-slider,
    .tos-hero-images {
        min-height: 560px !important;
    }

    .tos-hero-content {
        padding: 130px 0 90px !important;
    }

    .tos-provider-cta,
    .tos-newsletter {
        padding-inline: 30px !important;
    }
}

@media (max-width: 640px) {
    .tos-carousel-viewport {
        padding-inline: 12px !important;
    }

    .tos-carousel-slide {
        padding-inline: 8px !important;
    }

    .tos-hero,
    .tos-hero-slider,
    .tos-hero-images {
        min-height: 500px !important;
    }
}

/* ===== Tostos Consalt polish v2 end ===== */



/* ===== Tostos Consalt safe polish v4 start ===== */

/* Lighter header so it does not overpower the logo */
.tos-header {
    background: #cdefed !important;
    color: #05485d !important;
    box-shadow: 0 10px 30px rgba(5, 72, 93, .08) !important;
}

.tos-nav a {
    color: #05485d !important;
}

.tos-nav a:hover {
    color: #36788d !important;
}

.tos-side-toggle {
    background: #36788d !important;
    color: #ffffff !important;
}

/* Hero: keep text and button together on the right side */
.tos-hero-content {
    text-align: right !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
}

.tos-hero-content h1,
.tos-hero-content p,
.tos-hero-content .tos-btn {
    margin-inline-start: 0 !important;
    margin-inline-end: auto !important;
}

.tos-hero-content .tos-btn {
    align-self: flex-start !important;
}

/* Real visible spacing between carousel cards */
.tos-carousel-viewport {
    padding-inline: 32px !important;
    max-width: 1290px !important;
    overflow: hidden !important;
}

.tos-carousel-track {
    display: flex !important;
    align-items: stretch !important;
    transition: transform .45s ease !important;
    will-change: transform !important;
}

.tos-carousel-slide {
    padding: 0 !important;
    margin: 0 !important;
    direction: rtl !important;
}

/* Cards should not visually touch */
.tos-category-card,
.tos-feature-card,
.tos-testimonial-card {
    border-radius: 24px !important;
    overflow: hidden !important;
    height: 100% !important;
}

/* Testimonials: center everything, remove designation */
.tos-testimonial-card {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

.tos-testimonial-card img {
    margin-inline: auto !important;
}

.tos-testimonial-card h3,
.tos-testimonial-card p {
    text-align: center !important;
}

.tos-testimonial-card span {
    display: none !important;
}

.tos-testimonial-card p {
    max-width: 92% !important;
    margin-inline: auto !important;
}

/* Footer spacing: wider breathing gap between logo column and links */
.tos-footer-grid {
    column-gap: 90px !important;
    grid-template-columns: 1.45fr .9fr 1.15fr !important;
}

.tos-footer-grid > div:first-child {
    padding-inline-end: 35px !important;
}

.tos-footer-grid > div:nth-child(2) {
    padding-inline-start: 35px !important;
}

/* Safety cleanup labels */
.tos-testimonials .tos-section-title > span,
.tos-categories .tos-section-title > span,
.tos-provider-cta span,
.tos-downloads .tos-section-title > span,
.tos-about-content > span {
    display: none !important;
}

/* Better right alignment for normal content, but not testimonials */
.tos-download-card,
.tos-about-content,
.tos-feature-card > div,
.tos-provider-cta > div,
.tos-newsletter > div {
    text-align: right !important;
}

@media (max-width: 991px) {
    .tos-footer-grid {
        grid-template-columns: 1fr 1fr !important;
        column-gap: 40px !important;
    }

    .tos-footer-grid > div:first-child,
    .tos-footer-grid > div:nth-child(2) {
        padding-inline: 0 !important;
    }
}

@media (max-width: 640px) {
    .tos-carousel-viewport {
        padding-inline: 18px !important;
    }

    .tos-footer-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ===== Tostos Consalt safe polish v4 end ===== */


/* ===== Tostos Consalt polish v5 start ===== */

/* -------------------------------------------------
   1) Real side spacing between non-hero slider items
------------------------------------------------- */
.tos-category-grid.tos-carousel-track,
.tos-feature-slider.tos-carousel-track,
.tos-testimonial-grid.tos-carousel-track {
    margin-inline: -12px !important;
}

.tos-category-grid.tos-carousel-track > .tos-carousel-slide,
.tos-feature-slider.tos-carousel-track > .tos-carousel-slide,
.tos-testimonial-grid.tos-carousel-track > .tos-carousel-slide {
    box-sizing: border-box !important;
    padding-inline: 12px !important;
}

.tos-category-grid.tos-carousel-track > .tos-carousel-slide > *,
.tos-feature-slider.tos-carousel-track > .tos-carousel-slide > *,
.tos-testimonial-grid.tos-carousel-track > .tos-carousel-slide > * {
    height: 100% !important;
}

/* -------------------------------------------------
   2) Remove white background from:
      خدمات تُس تُس / كل ما تحتاجه من خدمات في مكان واحد
------------------------------------------------- */
.tos-feature-slider .tos-feature-card,
.tos-feature-slider .tos-service-card,
.tos-feature-slider .tos-download-card,
.tos-feature-slider .tos-app-card {
    background: transparent !important;
    box-shadow: none !important;
    border: 1px solid rgba(5, 72, 93, 0.14) !important;
}

/* Optional: make inner content cleaner */
.tos-feature-slider .tos-feature-card *,
.tos-feature-slider .tos-service-card *,
.tos-feature-slider .tos-download-card *,
.tos-feature-slider .tos-app-card * {
    background: transparent !important;
}

/* -------------------------------------------------
   3) Bigger title for that section
------------------------------------------------- */
.tos-feature-area .tos-section-title h2,
.tos-feature-section .tos-section-title h2,
.tos-services-slider-section .tos-section-title h2,
.tos-feature-wrap .tos-section-title h2,
.tos-feature-title {
    font-size: clamp(34px, 3.1vw, 48px) !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
}

/* slightly stronger subtitle under the title if present */
.tos-feature-area .tos-section-title p,
.tos-feature-section .tos-section-title p,
.tos-services-slider-section .tos-section-title p,
.tos-feature-wrap .tos-section-title p {
    font-size: 18px !important;
}

/* -------------------------------------------------
   4) Footer "اتصل بنا" smaller
------------------------------------------------- */
.tos-footer-grid h3,
.tos-footer-grid h4 {
    font-size: 24px !important;
    line-height: 1.35 !important;
}

.tos-footer-grid .tos-footer-contact h3,
.tos-footer-grid .tos-footer-contact h4,
.tos-footer-grid > div:nth-child(2) h3,
.tos-footer-grid > div:nth-child(2) h4 {
    font-size: 21px !important;
}

/* Make footer contact text a bit more balanced */
.tos-footer-grid > div:nth-child(2) p,
.tos-footer-grid > div:nth-child(2) a,
.tos-footer-grid .tos-footer-contact p,
.tos-footer-grid .tos-footer-contact a {
    font-size: 16px !important;
}

/* ===== Tostos Consalt polish v5 end ===== */


/* ===== Tostos feature section restore start ===== */

/* Restore خدمات تُس تُس cards to white background */
.tos-feature-slider .tos-feature-card {
    background: #ffffff !important;
    border: 1px solid rgba(5, 72, 93, 0.12) !important;
    box-shadow: 0 18px 50px rgba(5, 72, 93, 0.08) !important;
    border-radius: 24px !important;
    overflow: hidden !important;

    /* image column was 260px; now 330px */
    grid-template-columns: 330px 1fr !important;
    align-items: center !important;
    min-height: 310px !important;
}

/* Keep image wider and clean */
.tos-feature-slider .tos-feature-card img {
    width: 100% !important;
    max-width: 330px !important;
    height: 230px !important;
    object-fit: cover !important;
    border-radius: 18px !important;
    display: block !important;
}

/* Center title and text horizontally and vertically */
.tos-feature-slider .tos-feature-card > div {
    height: 100% !important;
    min-height: 230px !important;
    padding-inline: 26px !important;

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

    text-align: center !important;
}

.tos-feature-slider .tos-feature-card h3,
.tos-feature-slider .tos-feature-card p {
    text-align: center !important;
    margin-inline: auto !important;
}

.tos-feature-slider .tos-feature-card h3 {
    font-size: 28px !important;
    line-height: 1.35 !important;
    margin-bottom: 12px !important;
}

.tos-feature-slider .tos-feature-card p {
    max-width: 620px !important;
    font-size: 16px !important;
    line-height: 1.9 !important;
}

/* Override previous transparent background rule */
.tos-feature-slider .tos-feature-card *,
.tos-feature-slider .tos-feature-card {
    background-image: none !important;
}

@media (max-width: 991px) {
    .tos-feature-slider .tos-feature-card {
        grid-template-columns: 1fr !important;
    }

    .tos-feature-slider .tos-feature-card img {
        max-width: 100% !important;
        width: 100% !important;
        height: 260px !important;
    }

    .tos-feature-slider .tos-feature-card > div {
        min-height: 190px !important;
        padding: 24px !important;
    }
}

/* ===== Tostos feature section restore end ===== */
