:root {
    /* --bg: #e8e8e8; */
    --bg: #fbfaf8;

    /* warm off-white */
    --card: #ffffff;

    /* card background */
    /*--muted: #70757a;*/
    /* neutral text */

    --dark-gray: #333333;
    --gray: #666666;
    --light-gray: #999999;
    --soft-gray: #cccccc;

    --border-gray: #e0e0e0;
    --bg-gray: #fafafa;

    --accent: #0b1320;
    /* deep navy for text */
    --primary: #086AD8;
    /* user supplied primary color */
    --primary-2: #98c5ff;
    --primary-dark: #072045;
    /* --primary-dark: #020f23; */
    /* --primary-dark: #12467F; */
    /* softer tint derived from primary */
    --glass: rgba(11, 19, 32, 0.04);
    --shadow: 0 14px 40px rgba(11, 19, 32, 0.08);
    --soft-shadow: 0 8px 22px rgba(11, 19, 32, 0.06);

    --hero-bg: #1a0f3a;
    --hero-card: rgba(255, 255, 255, 0.03);
    --hero-card-2: rgba(255, 255, 255, 0.04);
    --hero-accent: rgba(255, 255, 255, 0.12);

    --card-radius: 16px;
    --radius: 14px;
    --font-body: "Inter", sans-serif;
    --font-heading: 'Fraunces', serif;
    font-family: var(--font-body);
    color: var(--accent);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Typographic scale — Fraunces for display headings */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--accent);
    letter-spacing: -0.02em
}

body {
    font-size: 1rem;
    line-height: 1.45;
    margin: 0;
    background: var(--bg);
    color: var(--accent);
    -webkit-font-smoothing: antialiased
}

a {
    color: inherit;
    text-decoration: none
}

.m_0 {
    margin: 0 !important;
}

.section_gap {
    margin-bottom: 120px;
}

.container {
    max-width: 1180px;
    margin: 36px auto;
    padding: 0 24px
}

/* Header / Nav */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background-color: var(--card);
    border-bottom: 1px solid var(--primary-2);

}

.brand {
    display: flex;
    gap: 16px;
    align-items: center
}

.logo_div {
    margin-top: -8px;
    margin-bottom: -12px;
}

.logo {
    height: 70px;
}

.site-title {
    font-weight: 800;
    font-size: 1.05rem
}

.site-desc {
    font-size: 0.86rem;
    color: var(--muted);
    font-weight: 600
}

nav {
    position: relative
}

.nav-inner {
    display: flex;
    gap: 18px;
    align-items: center
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 8px;
    margin: 0;
    padding: 0;
    align-items: center
}

.nav-list>li {
    position: relative
}

.nav-link {
    background: none;
    border: 0;
    padding: 8px 14px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 0.95rem
}

.nav-link:hover {
    background: var(--glass)
}

.nav-link.active {
    /* background: linear-gradient(90deg, var(--primary), var(--primary-2)); */
    background: var(--accent);
    color: var(--card);
    box-shadow: var(--soft-shadow)
}

.has-dropdown {
    display: inline-flex;
    align-items: center;
    gap: 8px
}

.dropdown-icon {
    transition: transform .28s ease;
    display: inline-block;
    font-size: 1.05rem;
    color: var(--muted)
}

.has-dropdown.open .dropdown-icon {
    transform: rotate(180deg);
    color: var(--card)
}

.hamburger {
    display: none;
    border: 0;
    background: none;
    padding: 8px;
    border-radius: 8px
}

.line-divider {
    height: 1px;
    background: var(--soft-gray);
    margin: 24px 16px;
}

/* megamenu */
.megamenu-panel {
    position: absolute;
    /* left: 50%; */
    /* transform: translateX(-50%); */
    top: 44px;
    margin: 0 auto;
    max-width: 1060px;
    background: var(--card);
    box-shadow: var(--shadow);
    border-radius: 16px;
    padding: 22px;
    display: none;
    z-index: 60;
}

.megamenu-panel.show {
    display: block
}

.megamenu-grid {
    /* display: grid;
    grid-template-columns: repeat(3, 1fr); */
    display: flex;
    width: 80%;
    gap: 20px
}

.mm-column h3 {
    margin: 0 0 8px 0;
    font-size: 0.95rem;
    font-weight: 800
}

.mm-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px
}

.mm-column a {
    display: inline-block;
    padding: 8px 10px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--muted);
    font-weight: 700
}

.mm-column a:hover {
    background: linear-gradient(180deg, #f6f6f6, #fff);
    color: var(--accent)
}

/* Hero */
.hero {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 32px;
    align-items: start;
    margin-top: 28px
}

.hero-card {
    background: linear-gradient(180deg, var(--card), #fbfaf8);
    border-radius: 18px;
    padding: 36px;
    box-shadow: var(--shadow)
}

.hero h1 {
    margin: 0;
    font-size: 2.4rem;
    line-height: 1.03
}

.hero p.lead {
    color: var(--muted);
    margin-top: 12px;
    font-weight: 600
}

.search {
    margin-top: 18px;
    display: flex;
    gap: 10px
}

.search input {
    flex: 1;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid rgba(11, 19, 32, 0.04);
    font-weight: 600;
    font-size: 0.95rem
}

.search button {
    padding: 12px 16px;
    border-radius: 12px;
    border: 0;
    background: linear-gradient(90deg, var(--primary), var(--primary-2));
    color: var(--card);
    font-weight: 800
}

/* Posts grid */
.content {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;
    margin-top: 28px
}

.posts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px
}

.post-card {
    background: var(--card);
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 8px 30px rgba(11, 19, 32, 0.04);
    display: flex;
    gap: 18px;
    align-items: flex-start;
    border: 1px solid rgba(11, 19, 32, 0.03)
}

.post-media {
    width: 200px;
    height: 130px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(8, 106, 216, 0.08), rgba(94, 163, 255, 0.06));
    display: block;
    flex-shrink: 0
}

.post-meta {
    font-size: 0.85rem;
    color: var(--muted);
    font-weight: 600
}

.post-title {
    margin: 6px 0 8px 0;
    font-weight: 900;
    font-size: 1.12rem
}

.post-desc {
    color: var(--muted);
    font-weight: 600
}

.read-more {
    margin-left: auto;
    padding: 8px 14px;
    border-radius: 10px;
    background: transparent;
    border: 1px solid rgba(11, 19, 32, 0.06);
    font-weight: 800
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 28px
}

.card {
    background: var(--card);
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 8px 22px rgba(11, 19, 32, 0.04);
    border: 1px solid rgba(11, 19, 32, 0.03)
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px
}

.tag {
    padding: 8px 12px;
    border-radius: 999px;
    background: linear-gradient(180deg, #fff, #fbfaf8);
    font-weight: 700;
    border: 1px solid rgba(11, 19, 32, 0.03)
}

/* Article */
/* .article {
    background: var(--card);
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--soft-shadow);
    border: 1px solid rgba(11, 19, 32, 0.03)
}

.article h2 {
    margin-top: 0;
    font-weight: 900
}

.article p {
    color: var(--muted);
    font-weight: 600
} */


/* responsive */
@media (max-width:980px) {
    .hero {
        grid-template-columns: 1fr
    }

    .megamenu-panel {
        left: 10px;
        right: 10px;
        transform: none
    }
}

@media (max-width:820px) {
    .container {
        padding: 0 18px
    }

    .content {
        grid-template-columns: 1fr
    }

    .sidebar {
        position: static
    }

    .nav-list {
        display: none;
        position: fixed;
        inset: 0;
        background: linear-gradient(180deg, rgba(251, 250, 248, 0.98), rgba(251, 250, 248, 0.96));
        flex-direction: column;
        padding: 22px;
        gap: 12px;
        z-index: 80;
        overflow: auto
    }

    .nav-list.show {
        display: flex
    }

    .hamburger {
        display: inline-flex
    }

    .megamenu-panel {
        position: static;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        margin-top: 0
    }

    .megamenu-grid {
        grid-template-columns: 1fr;
        gap: 0
    }

    .mm-column {
        border-top: 1px solid rgba(11, 19, 32, 0.04);
        padding: 14px
    }
}

/* small utilities */
.muted {
    color: var(--muted)
}

.btn {
    padding: 8px 12px;
    border-radius: 10px;
    border: 0;
    font-weight: 800
}

/* Layout */
.post-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 24px;
    margin: 40px 24px;
}

.post-hero {
    background: var(--card);
    border-radius: 16px;
    padding: 26px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(11, 19, 32, 0.03)
}

.post-hero .eyebrow {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.9rem
}

.post-hero h1 {
    font-size: 3rem;
    margin-top: 12px;
}

.post-hero .meta {
    display: flex;
    gap: 12px;
    align-items: center;
    /* font-weight: 400; */
    color: var(--muted);
    margin-top: 24px;
    margin-bottom: 2px;
    margin-left: 4px
}

.post-hero .mata_lable {
    font-style: italic;
    font-size: 0.9rem;
}



.cover {
    width: 100%;
    height: 420px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(8, 106, 216, 0.12), rgba(94, 163, 255, 0.06));
    margin-top: 24px;
    object-fit: cover
}

/* Article body */
.article {
    margin-top: 18px;
    background: transparent
}

.article li {
    margin-left: 16px;
    margin-top: 8px;
}

/*.article p,*/
/*.article ul li {*/
/*    color: #000 !important;*/
/*    line-height: 1.7;*/
/*    font-weight: 600*/
/*}*/
.article *{
    color: #000 !important;
    line-height: 1.7;
    font-weight: 600
}

.article ul li strong {
     color: #000 !important;
}

.article ol li {
     color: #000 !important;
    font-weight: 600;
    margin-left: 24px;
    font-size: 1.2rem;
    line-height: 1.7;
}

.article ol li span {
    color: #000;
}

.article ol li MsoNormal{
    color: #000;
}

.article h2 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 8px
}

.article .div_spaceing {
    margin-bottom: 40px;
}

.article blockquote {
    border-left: 4px solid var(--primary);
    padding: 14px 18px;
    background: linear-gradient(90deg, rgba(8, 106, 216, 0.03), transparent);
    border-radius: 8px;
    color: var(--accent);
    font-weight: 700
}

.article pre {
    background: #0b1220;
    color: #fff;
    padding: 16px;
    border-radius: 10px;
    overflow: auto
}

.article img {
    max-width: 100%;
    border-radius: 10px
}

/* author card */
.author {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-top: 22px;
    background: var(--card);
    padding: 14px;
    border-radius: 12px;
    border: 1px solid rgba(11, 19, 32, 0.03);
    box-shadow: var(--soft-shadow)
}

.author img {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    object-fit: cover
}

.author .meta {
    display: flex;
    flex-direction: column
}

.author .meta .name {
    font-weight: 900
}

.author .meta .bio {
    color: var(--muted);
    font-weight: 700
}

/* Sidebar */
.sidebar .card {
    background: var(--card);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 8px 22px rgba(11, 19, 32, 0.04);
    border: 1px solid rgba(11, 19, 32, 0.03);
    margin-bottom: 18px
}

.toc {
    font-weight: 700;
    color: var(--muted)
}

.toc a {
    display: block;
    padding: 8px 6px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--muted)
}

.share {
    display: flex;
    gap: 8px;
    margin-top: 10px
}

.share a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border-radius: 10px;
    border: 1px solid rgba(11, 19, 32, 0.06);
    text-decoration: none;
    color: var(--accent);
    font-weight: 800
}

/* Related posts */
.related .r-card {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid rgba(180, 180, 180, 0.3);
    background: var(--card)
}

.related .r-card .thumb {
    width: 72px;
    height: 48px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(8, 106, 216, 0.08), rgba(94, 163, 255, 0.06))
}

/* Comments */
.comments {
    margin-top: 18px
}

.comment-form textarea {
    width: 100%;
    min-height: 100px;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid rgba(11, 19, 32, 0.06);
    font-weight: 600
}

.comment {
    padding: 12px;
    border-radius: 10px;
    border: 1px solid rgba(11, 19, 32, 0.03);
    background: var(--card);
    margin-bottom: 10px
}

/* Buttons & utilities */
.btn {
    padding: 10px 14px;
    border-radius: 10px;
    border: 0;
    font-weight: 800;
    cursor: pointer
}

.subscribe-btn {
    background: linear-gradient(90deg, var(--primary), var(--primary-2));
    color: var(--card);
    font-weight: 900
}

.subscribe-btn-2 {
    background: linear-gradient(90deg, var(--primary), var(--primary-2));
    color: var(--card);
    font-weight: 900
}

.follow-btn {
    background: transparent;
    border: 1px solid rgba(11, 19, 32, 0.06)
}

.comment-post-btn {
    background: linear-gradient(90deg, var(--primary), var(--primary-2));
    color: var(--card);
}

/* tags */
.tag {
    padding: 8px 12px;
    border-radius: 999px;
    background: linear-gradient(180deg, #fff, #fbfaf8);
    font-weight: 700;
    border: 1px solid rgba(11, 19, 32, 0.03);
    font-size: 0.9rem
}

/* responsive */
@media (max-width:980px) {
    .post-hero .cover {
        height: 260px
    }

    .post-layout {
        grid-template-columns: 1fr
    }

    .megamenu-panel {
        left: 10px;
        right: 10px;
        transform: none
    }
}

@media (max-width:760px) {
    .logo {
        width: 48px;
        height: 48px
    }

    .nav-list {
        display: none
    }

    .hamburger {
        display: inline-flex
    }
}

/* small helpers for inputs */

.subscribe_div {
    margin-top: 8px;
    /* margin-bottom: 8px; */
    display: flex;
    gap: 8px;
}

.subscribe-input {
    width: 300px;
    max-width: 100%;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid var(--light-gray);
    font-weight: 600;
    /* margin-top: 8px; */
}

/* Add these rules to your existing styles.css (keeps same design system, colors & typography) */

.feature-hero {
    /* use existing tokens so the section matches your site */
    /* background: linear-gradient(180deg, rgba(3, 37, 85, 0.98), rgba(3, 37, 85, 0.95)); */
    background: linear-gradient(180deg, rgb(0 90 215 / 98%), rgb(2 15 35));
    /* deep, subtle tone that complements --primary */
    color: #fff;
    padding: 64px 0 56px;
    position: relative;
    overflow: hidden;
}

/* container alignment already defined in your styles; keep header centered */
.feature-hero-head {
    max-width: 980px;
    margin: 0 auto 40px;
    text-align: center;
}

.feature-hero-head h2 {
    /* margin: 0 0 12px; */
    font-family: 'Fraunces', serif;
    font-size: 2.2rem;
    /* line-height: 1.02; */
    color: #fff;
    /* letter-spacing: 0em; */
}

.feature-hero-sub {
    margin: 0 auto;
    max-width: 820px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    font-size: 0.98rem;
    line-height: 1.6;
}

/* grid uses same spacing scale as your site */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin: 36px auto 28px;
    max-width: 1180px;
    align-items: stretch;
}

/* Card uses your existing card tokens (rounded, subtle border + shadow) */
.feature-card {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
    border-radius: var(--card-radius);
    background-color: #0156b6;

    /* background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015)); */
    /* border: 1px solid rgba(255, 255, 255, 0.04); */
    /* box-shadow: 0 18px 40px rgba(2, 6, 23, 0.45); */
    /* transition: transform .28s ease, box-shadow .28s ease, background .28s ease; */
}

/* Icon box keeps primary color from design system */
.icon-box {
    min-width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    /* background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03)); */
    background-color: #082958;
    color: var(--card);
    font-size: 22px;
    /* box-shadow: 0 6px 18px rgba(2, 6, 23, 0.45), inset 0 -6px 12px rgba(255, 255, 255, 0.02); */
}

p.icon_box_num {
    font-weight: 800;
}

.icon_box_div {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* Card text uses the site's typography tokens */
.icon_box_div h3 {
    /* .card-content h3 { */
    /* margin: 0 0 8px; */
    font-family: 'Fraunces', serif;
    font-weight: 400;
    font-size: 1.5rem;
    color: var(--card);
}

.card-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    /* font-weight: 600; */
    line-height: 1.6;
    font-size: 14px;
}

/* Hover for subtle lift */
/* .feature-card:hover,
.feature-card:focus-within {
    transform: translateY(-8px);
    box-shadow: 0 28px 60px rgba(4, 8, 30, 0.6);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
} */

/* CTA — uses your primary token and button style */
.feature-cta-wrap {
    display: flex;
    justify-content: center;
    margin-top: 6px;
}

.feature-cta {
    padding: 12px 28px;
    border-radius: 12px;
    border: 0;
    font-weight: 900;
    font-size: 1rem;
    background: linear-gradient(90deg, var(--primary), var(--primary-2));
    color: #fff;
    box-shadow: 0 10px 30px rgba(8, 106, 216, 0.16);
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, opacity .18s;
}

.feature-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 44px rgba(8, 106, 216, 0.2);
}

/* Responsive: follow your existing breakpoints */
@media (max-width:1100px) {
    .feature-cards {
        gap: 22px;
        grid-template-columns: repeat(3, 1fr);
        padding: 0 8px;
    }
}

@media (max-width:900px) {
    .feature-hero {
        padding: 48px 0;
    }

    .feature-hero-head h2 {
        font-size: 1.6rem;
    }

    .feature-cards {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .feature-card {
        padding: 20px;
        gap: 14px;
    }

    /* .icon-box {
        min-width: 44px;
        height: 44px;
    } */

    .feature-cta {
        padding: 12px 20px;
        font-size: 0.98rem;
    }
}

/* <style> */
/* Append to main.css — testimonials styles (uses same tokens, typography & color system) */

.testimonials {
    background: var(--bg);
    /* padding: 56px 0; */
    color: var(--accent);
}

.testimonials-head {
    text-align: center;
    max-width: 920px;
    margin: 0 auto;
}

.testimonials-head h2 {
    font-size: 2rem;
    margin-bottom: 8px;
    font-family: 'Fraunces', serif;
}

.testimonials-sub {
    color: var(--muted);
    font-weight: 600;
    max-width: 760px;
    margin: 0 auto;
}

/* layout */
.testimonials-wrap {
    display: flex;
    align-items: center;
    gap: 0px;
    justify-content: center;
    margin-top: 40px;
}

.t-btn {
    background: transparent;
    border: 0;
    color: var(--muted);
    font-size: 28px;
    cursor: pointer;
    padding: 8px;
    border-radius: 10px;
    display: grid;
    place-items: center;
}

.t-btn:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

/* viewport / track */
.testimonials-viewport {
    overflow: hidden;
    width: 100%;
    max-width: 1180px;
    margin-right: 24px;
}

.testimonials-track {
    display: flex;
    gap: 20px;
    transition: transform .45s cubic-bezier(.2, .9, .2, 1);
    padding: 6px 24px 24px;
}

/* card */
.testimonial-card {
    min-width: 320px;
    max-width: 380px;
    background: var(--card);
    border-radius: 14px;
    padding: 20px;
    box-shadow: var(--soft-shadow);
    border: 1px solid rgba(11, 19, 32, 0.04);
    display: flex;
    flex-direction: column;
    gap: 20px;
    outline: none;
}

/* quote mark */
.quote-mark {
    color: var(--primary);
    font-size: 32px;
}

.quote {
    color: var(--muted);
    /* font-weight: 600; */
    line-height: 1.6;
    font-size: 16px;
    /* margin-bottom: 8px; */
}

/* author row */
.meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    /* margin-top: auto; */
}

.ut_author {
    display: flex;
    gap: 4px;
    flex-direction: column;
}

.author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid rgba(11, 19, 32, 0.04);
}

.author-name {
    font-weight: 900;
    font-size: 16px;
    font-family: 'Fraunces', serif;
}

.author-role {
    color: var(--muted);
    /* font-weight: 600; */
    /* line-height: 18px; */
    font-size: 14px;
}

/* rating */
.rating i {
    color: var(--primary);
    font-size: 16px;
    margin-left: 2px;
}

/* dots */
.test-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 18px;
}

.test-dot {
    width: 10px;
    height: 10px;
    border-radius: 99px;
    background: var(--soft-gray);
    border: 1px solid rgba(11, 19, 32, 0.04);
    cursor: pointer;
}

.test-dot.active {
    background: linear-gradient(90deg, var(--primary), var(--primary-2));
    box-shadow: 0 8px 20px rgba(8, 106, 216, 0.12);
}

/* responsive tweaks */
@media (min-width:1180px) {

    /* show 3 cards fully on wide screens */
    .testimonials-track {
        gap: 28px;
    }

    .testimonial-card {
        min-width: 340px;
        max-width: 340px;
    }
}

@media (max-width:980px) {
    .testimonials-wrap {
        padding: 0 16px;
    }

    .testimonial-card {
        min-width: 300px;
        max-width: 100%;
    }

    .t-btn {
        display: none;
    }
}

@media (max-width:560px) {
    .testimonials-head h2 {
        font-size: 1.4rem;
    }

    .testimonials-sub {
        font-size: 0.95rem;
    }

    .testimonial-card {
        padding: 16px;
    }
}

/* </style> */

/* <style> */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-250px * 7));
    }
}

@keyframes reverseScroll {
    0% {
        transform: translateX(calc(-250px * 7));
    }

    100% {
        transform: translateX(0);
    }
}

.slider {
    height: 100px;
    margin: auto;
    overflow: hidden;
    position: relative;
    width: auto;
}

.slider .slide-track {
    animation: scroll 40s linear infinite;
    display: flex;
    /*gap: 8px;*/
    width: calc(250px * 14);
}

.slider .slide {
    height: 100px;
    width: 250px;
    border-radius: 16px;
    overflow: hidden;
}

.brand_div {
    display: flex;
    flex-direction: column;
    gap: 40px;
    /* margin: 40px 0px; */
}

.slider_div p {
    /* font-size: 18px; */
    /* font-weight: 700; */
    /* font-family: 'Fraunces', serif; */
    color: var(--primary);
    margin: 0px 16px 8px;
    /* margin-left: ; */
    text-transform: uppercase;
    letter-spacing: 4px;
    text-align: center;
}

/* .slider_div.reverse p {
            text-align: right;
        } */

.slider_div.reverse .slider .slide-track {
    animation: reverseScroll 50s linear infinite;
}

.slider .slide-track:hover {
    /* .brand_div:hover .slide-track { */
    animation-play-state: paused !important;
}

.slider_div.reverse .slide {
    margin-right: 32px;
    padding: 6px;
}

/* </style> */


/* ------------hero section */

.hero_scroll_tri {
    display: none;
    height: 200vh;
}

h1.hero_text {
    font-size: 96px;
    font-weight: 800;
    text-wrap: nowrap;
    color: var(--primary);
}

.hero_section {
    /* position: sticky; */
    /* margin-top: 80px; */
    /* bottom: 25%; */
    /* position: fixed; */
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 40px 0px;
    background-image: linear-gradient(180deg, var(--card), #D2E9FA);
}

.hero_section>img {
    z-index: 1;
}

.left_hero_text_div {
    position: absolute;
    top: 15%;
    left: 6.2%;
    text-align: right;
}

.right_hero_text_div {
    position: absolute;
    right: 12.5%;
    bottom: 24%;
}

.right_hero_text_div .hero_text span {
    margin-left: 14%;
}

/* hero section -----------*/


/*-----------services section*/

.services_section {
    /* position: fixed; */
    position: relative;
    width: 100%;
    /* bottom: -4%; */
    z-index: 2;
    /* padding-bottom: 40px; */
    /* margin-top: -10%; */
    margin-top: -5%;
}

.img_div_ss {
    position: relative;
    top: 30px;
    display: flex;
    justify-content: center;
    gap: 40px;
    transition: all 0.2s ease
}

.img_div_ss img {
    width: 60px;
    z-index: 1;
}

.clip_mask_ss {
    position: absolute;
    top: 0%;
    width: 100%;
    /* height: 200px; */
    height: 100px;
    background-color: var(--card);
    clip-path: ellipse(60% 80% at 50% 80%);
    transition: all 2.5s ease
}

.mask_height_ss {
    height: 0vh;
    /* margin-top: 80px; */
    margin-top: 45px;
    background-color: var(--card);
    transition: all 1.5s ease
}

/* new_services_section-----------------*/

.new_services_section {
    width: 100%;
    background: #fff;
    position: relative;
    /* display: none; */
    display: flex;
    /* justify-content: center; */
}

.icons_wrapper {

    width: 100%;
    padding: 80px 15%;
    /* max-width: 800px; */
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.icons_wrapper::before {
    content: "";
    width: 100%;
    height: 100%;
    background-image: url(assets/logo_ec_icon.png);
    background-size: cover;
    background-attachment: fixed;
    background-size: 40%;

    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    opacity: 0.1;
    /* Adjust your transparency here (0.0 to 1.0) */
    /* z-index: -1; Keeps the image behind the text */
}

/* ICON STYLE */
.icon img {
    width: 90px;
    height: 90px;
    object-fit: contain;
}


/* ICON + TEXT WRAPPER */
.icon_item {
    /* position: absolute; */
    display: flex;
    align-items: center;
    gap: 20px;
    opacity: 0;
    transform: translate(50px, 50px);
    transition: all 0.6s ease;
}

.icon_item:nth-child(even) {
    justify-content: end;
    transform: translate(-50px, 50px);
    flex-direction: row-reverse;
    text-align: right;
}




/* TEXT STYLES */
.icon_text h3 {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 6px;
}

.icon_text p {
    font-size: 22px;
    color: #444;
    max-width: 600px;
    line-height: 1.5;
}

/* SHOW STATE (uses SAME animation) */
.icon_item.show {
    opacity: 1;
    transform: translate(0%);
}

body.actvie_mask_scroll .img_div_ss {
    opacity: 0;
}



/* .no_scroll_section {
    display: none;
} */


/* body.actvie_mask_scroll {
    background-color: var(--card);

}

body.actvie_mask_scroll .clip_mask_ss {
    clip-path: ellipse(60% 150% at 50% 80%);

}

body.actvie_mask_scroll .mask_height_ss {
    height: 90vh;
} */




/* services section -----------*/


/* box--------  */
.container-blocks {
    width: 100%;
    margin: 0 auto;
    padding: 0 16px;
    /* max-width: var(--container-blocks-max); */
}

@media (max-width:820px) {
    .container-blocks {
        padding: 0 18px
    }
}

@media(min-width:1024px) {
    .container-blocks {
        padding: 0 28px
    }
}

/* --------box*/

/* Promo card---------------------*/
.promo-wrap {
    padding-bottom: 0px !important
}

.promo {
    background: var(--primary-dark);
    color: #fff;
    border-radius: 20px;
    padding: 64px;
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.promo .promo-left {
    max-width: 720px;
}

.promo h3 {
    margin: 0 0 10px;
    font-family: var(--font-heading);
    color: var(--card);
    font-size: 60px;
    line-height: 1.05;
}

/* 
        @media(min-width:640px) {
            .promo h3 {
                font-size: 40px
            }
        } */

.cta_section {
    padding-bottom: 20px !important;
}

.promo p {
    margin: 0;
    opacity: .9
}

.promo .promo-cta {
    display: flex;
    justify-content: center;
    margin-top: 12px
}

.btn-cta {
    background: var(--primary-2);
    border: 2px solid var(--primary-2);
    color: var(--primary-dark);
    padding: 16px 32px;
    border-radius: 16px;
}

.btn-cta:hover {
    background: var(--card);
    color: var(--primary-dark);
    border-color: var(--primary-2);
}

@media (max-width: 768px) {
    .promo h3 {
        font-size: 40px;
        line-height: 1.05;
    }
}
/*------------Promo card*/

/* footer ---------------------*/
.footer {
    /* background: linear-gradient(180deg, #fff7ed 0, #ffebd2 60%, #fee9cf 100%); */
    background-color: var(--card);
    border-top: 1px solid var(--primary-2);
    padding: 56px 0px 12px;
}

.footer .container {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 0 16px;
    /* max-width: var(--container-max); */
}


.footer .footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: flex-start;
}

.footer .footer_logo {
    flex: 0 0 160px
}

.footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    flex: 1 1 50%
}

.footer .col {
    min-width: 180px;
}

.footer h3 {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 700
}

.footer a.link {
    display: inline-block;
    color: var(--muted);
    margin-bottom: 10px;
    font-weight: 500
}

.footer a.link:hover {
    color: var(--primary-2)
}

/* Newsletter card inside footer */
.newsletter-card {
    background: var(--primary-dark);
    color: #fff;
    padding: 28px;
    border-radius: 20px;
    min-width: 260px;
}

.newsletter-card h5 {
    margin: 0 0 8px;
    font-size: 18px
}

.newsletter-card p {
    margin: 0 0 14px;
    font-size: 14px;
    opacity: .9
}

.newsletter-card .newsletter-form {
    display: flex;
    gap: 10px;
    flex-direction: column;
}


.newsletter-card input[type="email"] {
    height: 48px;
    border-radius: 16px;
    padding: 0 14px;
    border: 0;
    outline: none;
    font-size: 14px;
    background: rgb(255, 255, 255);
    color: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.newsletter-card .btn-news {
    height: 48px;
    border-radius: 16px;
    padding: 0 18px;
    border: 2px solid var(--primary-2);
    background: var(--primary-2);
    color: var(--primary-dark);
    font-weight: 600;
}

.newsletter-card .btn-news:hover {
    background: #ffffff;
    color: var(--primary-dark)
}

.socials {
    display: flex;
    gap: 12px;
    align-items: center
}

.socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    color: var(--text-body)
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 18px;
    gap: 12px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 13px;
}



@media(max-width:767px) {
    .promo {
        text-align: center;
        flex-direction: column;
        align-items: flex-start
    }

    .promo .promo-cta {
        width: 100%
    }

    .footer nav {
        flex-direction: row
    }

    .footer-bottom {
        text-align: center;
        flex-direction: column;
        gap: 6px
    }
}

/*--------------------- footer*/




.slide {
    flex-shrink: 0;
    margin-right: 40px; /* 👈 GAP BETWEEN LOGOS */
}


/* ---start of the HERO ---------------- */
.iso-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  /* background: radial-gradient(circle at top left, #f4f8ff, #ffffff); */
}

.iso-container {
  max-width: 1200px;
  margin: auto;
  padding: 80px 20px;
}

.iso-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: center;
}

/* ---------------- HEADLINE ---------------- */
.iso-headline {
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 700 !important;
  line-height: 1.25;
  
}

.iso-headline span {
  display: inline-block;
  white-space: nowrap;
   vertical-align: bottom; /* 🔒 prevent overlap */
  will-change: transform; /* ✅ SAFE instead of contents */
}


/* ---------------- SUBTEXT ---------------- */
.subtext {
    margin-top: 22px;
    max-width: 520px;
    color: #2563eb;
    line-height: 1.7;
    font-size: 16px;
    font-weight: 600;
}

/* ---------------- BUTTONS (YOUR CSS) ---------------- */
.iso-cta {
  margin-top: 32px;
  display: flex;
  gap: 18px;
}
.is0-cta a {
  text-decoration: none;
}
.iso-button {
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
  cursor: pointer;
  width: 180px;
  height: 52px;
  background-image: linear-gradient(to top, #D8D9DB 0%, #fff 80%, #FDFDFD 100%);
  border-radius: 30px;
  border: 1px solid #8F9092;
  transition: all 0.2s ease;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #000000;
  text-shadow: 0 1px #fff;
}

.iso-button:hover {
  box-shadow: 0 4px 3px 1px #FCFCFC,
              0 6px 8px #D6D7D9,
              0 -4px 4px #CECFD1,
              0 -6px 4px #FEFEFE,
              inset 0 0 3px 3px #CECFD1;
}

.iso-button:active,
.iso-button:focus {
  box-shadow: 0 4px 3px 1px #FCFCFC,
              0 6px 8px #D6D7D9,
              0 -4px 4px #CECFD1,
              0 -6px 4px #FEFEFE,
              inset 0 0 5px 3px #999,
              inset 0 0 30px #aaa;
}

/* ICON WRAPPER */

.iso-hero-features{
  display: flex;
    margin-top: 8%;
    gap: 40px;
}
.iso-hero-feature-card .icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
  margin-left: 25px ;
}

/* ICON COLORS */
.icon.blue {
 
  color: #2563eb;
}

.icon.purple {
  
  color: #4f46e5;
}

.icon.green {
  
  color: #16a34a;
}

/* ICON SIZE */
.feature-card i {
  width: 18px;
  height: 18px;
}

/* HOVER EFFECT */
.feature-card:hover .icon {
  transform: scale(1.1) rotate(-2deg);
}


/* ---------------- STATS ---------------- */
.stats {
  display: flex;
  gap: 60px;
  margin-top: 50px;
}

.stat strong {
  font-size: 28px;
  display: block;
}

.stat span {
  font-size: 15px;
  color: #000000;
}



/* ---------------- RIGHT CARD ---------------- */
.iso-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.12);
}

.iso-card h3 {
  margin-bottom: 20px;
  font-size: 18px;
}

.iso-item {
  display: flex;
  gap: 14px;
  padding: 14px;
  border-radius: 14px;
  transition: background .25s;
  cursor: pointer;
}


.iso-item a {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  color: inherit;
  text-decoration: none;
}


.iso-item:hover {
  background: #f1f5f9;
}

.iso-item svg {
  width: 38px;
  height: 38px;
  padding: 6px;
  border-radius: 10px;
  background: rgba(0,0,0,0.04);
  stroke-width: 2;
}

.iso-9001 svg { stroke: #4f46e5; }   /* blue */
.iso-14001 svg { stroke: #16a34a; }  /* green */
.iso-27001 svg { stroke: #dc2626; }  /* red */
.iso-45001 svg { stroke: #ea580c; }  /* orange */


.iso-btn {
  margin-top: 24px;
  width: 100%;
  background: linear-gradient(135deg, #0f172a, #020617);
  color: #fff;
  border-radius: 12px;
  padding: 14px;
  text-align: center;
  cursor: pointer;
}

/* ---------------- ISO ANIMATION ---------------- */
.iso-card {
  position: relative; /* needed for absolute animation */
}

.iso-animation {
position: absolute;
 top: 6%;
 right: 70%;
 width: 246px;
 pointer-events: none; /* no interference with clicks */
}

.iso-animation img {
  width: 210%;
  height: auto;
}



/* === BACKGROUND FX WRAPPER === */
.bgfx-wrapper {
    position: absolute;
    top: 19%;
    left: 0;
    width: 100%;
    height: calc(122vh - 70px);
     /* z-index: 1;  */
     overflow: hidden; 
}


/* === BLOBS === */
.bgfx-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(190px);
}

.bgfx-blob-a {
  width: 40vw;
  height: 40vw;
  background: linear-gradient(240deg,rgb(213, 235, 248, 0.8), rgb(196, 227, 245, 0.4));
  bottom: -20%;
  top: -10%;
  left: -10%;
  animation: bgfx-float-a 15s ease-in-out infinite alternate;
}

.bgfx-blob-b {
  width: 45vw;
  height: 45vw;
  background: linear-gradient(240deg,rgb(213, 235, 248, 0.8), rgb(196, 227, 245, 0.4));
  bottom: -20%;
  right: -10%;
  animation: bgfx-float-b 18s ease-in-out infinite alternate;
}

.bgfx-blob-c {
  width: 30vw;
  height: 30vw;
  background: linear-gradient(120deg,rgb(213, 235, 248, 0.5), rgb(196, 227, 245, 0.3));
  top: 60%;
  left: 20%;
  animation: bgfx-float-c 20s ease-in-out infinite alternate;
}

/* === NOISE === */
.bgfx-noise-layer {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  z-index: 5;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* === GRID === */
.bgfx-grid-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-size: 40px 40px;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
}

/* === GLOW === */
.bgfx-glow-core {
  position: absolute;
  width: 40vw;
  height: 40vh;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(72, 0, 255, 0.15), transparent 70%);
  filter: blur(50px);
  z-index: 2;
  animation: bgfx-pulse 8s infinite alternate;
}

/* === PARTICLES === */
.bgfx-particles {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.bgfx-particle {
  position: absolute;
  background: rgb(142, 144, 253);
  border-radius: 50%;
  opacity: 0;
}

/* FINAL FIX: background must never block clicks */
.bgfx-wrapper,
.bgfx-wrapper * {
  pointer-events: none !important;
}


/* === ANIMATIONS === */
@keyframes bgfx-float-a {
  from { transform: translate(0,0) scale(1); }
  to { transform: translate(10%,10%) scale(1.1); }
}

@keyframes bgfx-float-b {
  from { transform: translate(0,0) scale(1); }
  to { transform: translate(-10%,-5%) scale(1.15); }
}

@keyframes bgfx-float-c {
  from { transform: translate(0,0) scale(1); opacity: .3; }
  to { transform: translate(-5%,10%) scale(1.05); opacity: .6; }
}

@keyframes bgfx-pulse {
  from { opacity: .3; transform: translate(-50%,-50%) scale(.9); }
  to { opacity: .9; transform: translate(-50%,-50%) scale(1.1); }
}

  /* End of the hero setions  */


  /* =================Start  OF MOBILE Responsive iso-hero section(≤480px) ================= */
@media (max-width: 480px) {

  /* HERO BASE */
  .iso-hero {
    min-height: auto;
   
  }

  .iso-container {
    padding: 40px 16px;
  }

  /* GRID → STACK */
  .iso-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* HEADLINE */
  .iso-headline {
    font-size: 32px;
    line-height: 1.25;
    text-align: left;
  }

  .iso-headline span {
    white-space: normal;
    width: auto !important;
  }

  /* SUBTEXT */
  .subtext {
    font-size: 15px;
    max-width: 100%;
  }

  /* CTA BUTTONS */
  .iso-cta {
    flex-direction: row;
    gap: 65px
  }

  .iso-button {
    width: 150%;
    height: 56px;
  }

  /* FEATURES */
  .iso-hero-features {
    flex-direction: row;
    gap: 20px;
    margin-top: 30px;
  }

  .iso-hero-feature-card {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    flex-direction: column;
  }

  .iso-hero-feature-card .icon {
    margin-left: 0;
  }

  /* STATS */
  .stats {
    flex-direction: row;
    gap: 20px;
    margin-top: 35px;
  }

  .stat strong {
    font-size: 24px;
  }

  /* RIGHT CARD */
  .iso-card {
    padding: 20px;
  }

  .iso-card h3 {
    font-size: 16px;
  }

  .iso-item {
    padding: 12px;
  }

  .iso-item svg {
    width: 32px;
    height: 32px;
  }

  /* ISO ANIMATION (GIF) */
  .iso-animation {
    position: absolute;
    top: -40px;
    right: -10px;
    width: 140px;
    opacity: 0.5;
  }

  .iso-animation img {
    width: 100%;
  }

  /* BACKGROUND FX */
  .bgfx-wrapper {
    top: 0;
    height: 100%;
  }

  .bgfx-blob {
    filter: blur(140px);
  }

  .bgfx-blob-a,
  .bgfx-blob-b,
  .bgfx-blob-c {
    width: 70vw;
    height: 70vw;
  }

  /* PARTICLES (lighter on mobile) */
  .bgfx-particle {
    opacity: 0.2;
  }
}
/* ================= END  OF MOBILE Responsive iso-hero section  FIX ================= */



