/* =========================================================
   INTELLIVEST - GLOBAL STYLES
   Final design-system foundation:
   Figma typography + spacing + reusable components + LTR/RTL
   ========================================================= */


/* ---------------------------------------------------------
   1. LOCAL FONTS
--------------------------------------------------------- */

@font-face {
    font-family: 'Manrope';
    src: url('../fonts/Manrope-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('../fonts/Manrope-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Albert Sans';
    src: url('../fonts/AlbertSans-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Albert Sans';
    src: url('../fonts/AlbertSans-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}


/* ---------------------------------------------------------
   2. ROOT VARIABLES
--------------------------------------------------------- */

:root {
    /* BRAND */
    --primary: #072138;
    --primary-light: #0E3961;
    --secondary: #BD713E;
    --secondary-dark: #9A5328;

    --navy: var(--primary);
    --navy-light: var(--primary-light);
    --copper: var(--secondary);
    --copper-dark: var(--secondary-dark);

    --gradient-primary: linear-gradient(90deg, #072138 0%, #0E3961 100%);
    --gradient-primary-hover: linear-gradient(90deg, #0E3961 0%, #072138 100%);
    --gradient-secondary: linear-gradient(90deg, #9A5328 0%, #BD713E 100%);
    --gradient-secondary-hover: linear-gradient(90deg, #BD713E 0%, #9A5328 100%);

    /* BACKGROUNDS / TEXT / BORDERS */
    --bg-white: #FFFFFF;
    --bg-light: #F7FBFF;
    --white: var(--bg-white);
    --off-white: var(--bg-light);

    --heading-color: #072138;
    --body-color: #4C4C4C;
    --body-text: var(--body-color);
    --text-dark: #333333;
    --dark: var(--text-dark);
    --muted: #777777;
    --text-white: #FFFFFF;

    --border-color: #072138;
    --border-light: #D9E1E7;
    --border: #E5E8EB;

    /* FONT FAMILIES */
    --font-heading: 'Manrope', sans-serif;
    --font-body: 'Albert Sans', sans-serif;
    --font-fa: Tahoma, Arial, sans-serif;

    --heading-font: var(--font-heading);
    --body-font: var(--font-body);

    /* TYPOGRAPHY — FIGMA SOURCE OF TRUTH */
    --fs-body: 16px;
    --fs-small: 14px;
    --fs-xs: 13px;
    --fs-2xs: 12px;
    --fs-micro: 11px;
    --fs-h1: 48px;
    --fs-h2: 40px;
    --fs-h3: 21px;
    --fs-h4: 18px;
    --fs-h5: 16px;
    --fs-h6: 14px;
    --fs-eyebrow: 14px;
    --fs-button: 14px;

    /* Shared compact/component type — keeps approved Figma sizing reusable */
    --fs-hero-title: 44px;
    --fs-copy-compact: 15px;
    --fs-button-compact: 13px;
    --fs-card-title: 20px;
    --fs-card-title-sm: 18px;
    --fs-stat: 36px;
    --fs-stat-label: 17px;

    --fw-regular: 400;
    --fw-medium: 500;
    --fw-bold: 700;
    --fw-extrabold: 800;

    --lh-body: 1.6875;
    --lh-copy: 1.6875;
    --lh-heading: 1.20;
    --lh-h1: 1.15;
    --lh-button: 1.20;
    --lh-copy-compact: 1.65;
    --lh-card-title: 1.25;
    --lh-list: 1.50;
    --lh-tight: 1;
    --lh-eyebrow: 1.30;
    --lh-stat: 1.15;
    --lh-label: 1.35;
    --lh-copy-short: 1.60;
    --lh-quote: 1.72;
    --lh-meta: 1.45;
    --lh-hero-title: 1.16;

    /* LAYOUT */
    --container-width: 1216px;
    --container-gutter: 20px;

    /* SPACING SCALE */
    --space-1: 8px;
    --space-2: 12px;
    --space-3: 16px;
    --space-4: 20px;
    --space-5: 24px;
    --space-6: 32px;
    --space-7: 40px;
    --space-8: 48px;
    --space-9: 64px;
    --space-10: 80px;
    --space-11: 100px;

    /* Temporary aliases for existing page CSS */
    --space-2xs: var(--space-1);
    --space-xs: var(--space-2);
    --space-sm: var(--space-3);
    --space-md: var(--space-4);
    --space-lg: var(--space-6);
    --space-xl: var(--space-7);
    --space-2xl: var(--space-8);
    --space-3xl: var(--space-9);
    --space-4xl: var(--space-10);
    --space-5xl: var(--space-11);

    /* GLOBAL COMPONENT SPACING */
    --section-padding: var(--space-9);
    --section-padding-sm: var(--space-8);
    --section-heading-gap: var(--space-7);
    --heading-margin: var(--space-3);
    --paragraph-margin: var(--space-3);
    --card-padding: var(--space-4);
    --grid-gap: var(--space-3);

    /* COMPONENT TOKENS */
    --button-height: 40px;
    --button-padding-inline: 20px;

    --radius-sm: 4px;
    --radius-md: 7px;
    --radius-lg: 10px;
    --card-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}


/* ---------------------------------------------------------
   3. RESET
--------------------------------------------------------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    font-family: var(--font-body);
    font-size: var(--fs-body);
    font-weight: var(--fw-regular);
    line-height: var(--lh-body);

    color: var(--body-color);
    background-color: var(--bg-white);

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body,
button,
input,
textarea,
select {
    font-family: var(--font-body);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

ul,
ol {
    margin-top: 0;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}


/* ---------------------------------------------------------
   4. TYPOGRAPHY
--------------------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    margin-bottom: var(--heading-margin);

    font-family: var(--font-heading);
    font-weight: var(--fw-extrabold);
    line-height: var(--lh-heading);

    color: var(--heading-color);
}

h1 {
    font-size: var(--fs-h1);
    line-height: var(--lh-h1);
}

h2 {
    font-size: var(--fs-h2);
    line-height: var(--lh-heading);
}

h3 {
    font-size: var(--fs-h3);
}

h4 {
    font-size: var(--fs-h4);
}

h5 {
    font-size: var(--fs-h5);
}

h6 {
    font-size: var(--fs-h6);
}

p {
    margin-top: 0;
    margin-bottom: var(--paragraph-margin);
}

p:last-child {
    margin-bottom: 0;
}

strong,
b {
    font-weight: 700;
}


/* ---------------------------------------------------------
   5. CONTAINER
--------------------------------------------------------- */

.container {
    width: 100%;
    max-width: var(--container-width);
    margin-inline: auto;
    padding-inline: var(--container-gutter);
}


/* ---------------------------------------------------------
   6. GLOBAL SECTIONS
--------------------------------------------------------- */

.section {
    position: relative;
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
}

.section-light {
    background-color: var(--bg-light);
}

.section-white {
    background-color: var(--bg-white);
}

.section-dark {
    background: linear-gradient(
        135deg,
        #0E3961 0%,
        #072138 100%
    );

    color: #FFFFFF;
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark h5,
.section-dark h6 {
    color: #FFFFFF;
}


/* ---------------------------------------------------------
   7. SECTION TITLE
--------------------------------------------------------- */

.section-heading {
    max-width: 760px;
    margin: 0 auto var(--section-heading-gap);
    text-align: center;
}

.section-heading h2 {
    margin-bottom: var(--space-sm);
}

.section-heading p {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}


/* ---------------------------------------------------------
   8. EYEBROW / SMALL TITLE
--------------------------------------------------------- */

.eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: var(--space-sm);

    font-family: var(--font-heading);
    font-size: var(--fs-eyebrow);
    font-weight: 800;
    line-height: 1.4;

    color: var(--secondary);
    text-transform: uppercase;
}

.eyebrow-center {
    justify-content: center;
}

.eyebrow-line::before,
.eyebrow-line::after {
    content: "";
    width: 40px;
    height: 1px;
    background-color: var(--primary-light);
}


/* ---------------------------------------------------------
   9. BRAND ACCENT TEXT
--------------------------------------------------------- */

.text-primary {
    color: var(--primary) !important;
}

.text-secondary {
    color: var(--secondary) !important;
}

.text-white {
    color: #FFFFFF !important;
}


/* ---------------------------------------------------------
   10. BUTTONS
--------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    min-height: var(--button-height);
    padding: 8px var(--button-padding-inline);
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: var(--fs-button);
    font-weight: var(--fw-medium);
    line-height: var(--lh-button);
    cursor: pointer;
    transition:
        background-color 0.3s ease,
        border-color 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}


/* Primary Navy Button */

.btn-primary {
    background: var(--gradient-primary);
    border-color: var(--primary);
    color: #FFFFFF;
}

.btn-primary:hover {
    background: var(--gradient-primary-hover);
    border-color: var(--primary);
    color: #FFFFFF;
}


/* Orange Button */

.btn-secondary {
    background: var(--gradient-secondary);
    border-color: var(--secondary-dark);
    color: #FFFFFF;
}

.btn-secondary:hover {
    background: var(--gradient-secondary-hover);
    border-color: var(--secondary-dark);
    color: #FFFFFF;
}


/* Outline Button */

.btn-outline {
    background-color: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: #FFFFFF;
}


/* White Outline - Dark Background */

.btn-outline-light {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.65);
    color: #FFFFFF;
}

.btn-outline-light:hover {
    background-color: #FFFFFF;
    border-color: #FFFFFF;
    color: var(--primary);
}


/* ---------------------------------------------------------
   11. GLOBAL CARDS
--------------------------------------------------------- */

.card {
    position: relative;

    height: 100%;
    padding: var(--card-padding);

    background-color: var(--bg-light);

    border: 1px solid var(--primary);
    border-radius: var(--radius-md);

    box-shadow: var(--card-shadow);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 8px 18px rgba(7, 33, 56, 0.14);
}

.card h3,
.card h4 {
    margin-bottom: 8px;
}

.card p {
    margin-bottom: 18px;
}


/* ---------------------------------------------------------
   12. GLOBAL GRID
--------------------------------------------------------- */

.grid {
    display: grid;
    gap: var(--grid-gap);
}

.grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

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


/* ---------------------------------------------------------
   13. FLEX UTILITIES
--------------------------------------------------------- */

.d-flex {
    display: flex;
}

.align-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.flex-wrap {
    flex-wrap: wrap;
}

.gap-10 {
    gap: 10px;
}

.gap-20 {
    gap: 20px;
}

.gap-30 {
    gap: 30px;
}

.gap-40 {
    gap: 40px;
}


/* ---------------------------------------------------------
   14. CTA SECTION
--------------------------------------------------------- */

.cta-section {
    position: relative;

    padding: var(--section-padding-sm) var(--container-gutter);

    text-align: center;

    background: linear-gradient(
        110deg,
        #0E3961 0%,
        #072138 100%
    );

    color: #FFFFFF;
}

.cta-section h2 {
    margin-bottom: 10px;
    color: #FFFFFF;
}

.cta-section p {
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}


/* ---------------------------------------------------------
   15. DECORATIVE CIRCLES
--------------------------------------------------------- */

.circle-decoration {
    position: absolute;

    border-radius: 50%;

    pointer-events: none;
    z-index: 0;
}

.circle-navy {
    background-color: rgba(7, 33, 56, 0.15);
}

.circle-orange {
    border: 3px solid rgba(189, 113, 62, 0.18);
}


/* ---------------------------------------------------------
   16. FORM ELEMENTS
--------------------------------------------------------- */

input,
textarea,
select {
    width: 100%;

    padding: 13px 15px;

    color: var(--text-dark);
    background-color: #FFFFFF;

    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);

    outline: none;

    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--secondary);

    box-shadow:
        0 0 0 3px rgba(189, 113, 62, 0.12);
}

textarea {
    min-height: 140px;
    resize: vertical;
}


/* ---------------------------------------------------------
   17. COMMON SPACING
--------------------------------------------------------- */

.mb-0 {
    margin-bottom: 0 !important;
}

.mb-10 {
    margin-bottom: 10px !important;
}

.mb-20 {
    margin-bottom: 20px !important;
}

.mb-30 {
    margin-bottom: 30px !important;
}

.mb-40 {
    margin-bottom: 40px !important;
}

.mb-50 {
    margin-bottom: 50px !important;
}

.mt-0 {
    margin-top: 0 !important;
}

.mt-20 {
    margin-top: 20px !important;
}

.mt-30 {
    margin-top: 30px !important;
}

.mt-40 {
    margin-top: 40px !important;
}

.text-center {
    text-align: center;
}


/* ---------------------------------------------------------
   18. ACCESSIBILITY
--------------------------------------------------------- */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--secondary);
    outline-offset: 3px;
}


/* ---------------------------------------------------------
   19. RESPONSIVE DESIGN SYSTEM
--------------------------------------------------------- */

@media (max-width: 1199px) {
    :root {
        --section-padding: 56px;
        --fs-h1: 44px;
        --fs-h2: 36px;
        --fs-hero-title: 40px;
        --fs-stat: 31px;
        --fs-stat-label: 15px;
    }

    .grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    :root {
        --section-padding: 56px;
        --fs-h1: 40px;
        --fs-h2: 34px;
        --fs-hero-title: 44px;
    }

    .grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    :root {
        --section-padding: 48px;
        --container-gutter: 18px;
        --fs-body: 16px;
        --fs-h1: 36px;
        --fs-h2: 30px;
        --fs-h3: 21px;
        --fs-hero-title: 36px;
        --fs-stat: 27px;
        --fs-stat-label: 14px;
        --lh-hero-title: 1.17;
    }

    .section-heading {
        margin-bottom: var(--space-6);
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .cta-section {
        padding: var(--space-8) var(--container-gutter);
    }
}

@media (max-width: 480px) {
    :root {
        --fs-h1: 32px;
        --fs-h2: 28px;
        --fs-hero-title: 32px;
        --fs-stat: 24px;
        --fs-stat-label: 13px;
    }

    .btn {
        padding-inline: 18px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}


@media (max-width: 390px) {
    :root {
        --fs-hero-title: 30px;
    }
}


/* ---------------------------------------------------------
   20. GLOBAL RTL / PERSIAN FOUNDATION
--------------------------------------------------------- */

html[dir="rtl"],
html[lang^="fa"] {
    direction: rtl;
}

html[dir="ltr"] {
    direction: ltr;
}

html[dir="rtl"] body,
html[lang^="fa"] body {
    direction: rtl;
    text-align: right;
}

/* Safe Persian fallback until a dedicated local Persian font is added. */
html[lang^="fa"] body,
html[lang^="fa"] button,
html[lang^="fa"] input,
html[lang^="fa"] textarea,
html[lang^="fa"] select {
    font-family: var(--font-fa);
}

html[lang^="fa"] h1,
html[lang^="fa"] h2,
html[lang^="fa"] h3,
html[lang^="fa"] h4,
html[lang^="fa"] h5,
html[lang^="fa"] h6 {
    font-family: var(--font-fa);
    font-weight: var(--fw-bold);
}

html[dir="rtl"] input,
html[dir="rtl"] textarea,
html[dir="rtl"] select,
html[lang^="fa"] input,
html[lang^="fa"] textarea,
html[lang^="fa"] select {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .eyebrow,
html[lang^="fa"] .eyebrow {
    direction: rtl;
}

.text-start {
    text-align: start;
}

.text-end {
    text-align: end;
}

/* Legacy helpers retained for existing markup */
html[dir="rtl"] .text-left,
html[lang^="fa"] .text-left {
    text-align: right;
}

html[dir="rtl"] .text-right,
html[lang^="fa"] .text-right {
    text-align: left;
}


/* ==================================================
   INTELLIVEST HEADER
================================================== */

.iv-site-header {
    position: relative;
    z-index: 1000;
    width: 100%;
    background: var(--white);
}


/* ==================================================
   TOP BAR
================================================== */

.iv-topbar {
    height: 54px;
    border-bottom: 1px solid var(--border);
    background: var(--white);
}

.iv-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 54px;
}

.iv-topbar__contact {
    display: flex;
    align-items: center;
    gap: 24px;
}

.iv-topbar__link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    line-height: 1;
    color: var(--dark);
    transition: color .2s ease;
}

.iv-topbar__link:hover {
    color: var(--copper);
}

.iv-contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
}

.iv-contact-icon svg {
    width: 13px;
    height: 13px;
}

.iv-topbar__actions {
    display: flex;
    align-items: center;
    gap: 5px;
}

.iv-top-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 110px;
    height: 34px;
    padding: 0 20px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    color: var(--white);
    transition:
        color .2s ease,
        filter .2s ease,
        transform .2s ease;
}

.iv-top-button--copper {
    background: var(--gradient-secondary);
}

.iv-top-button--copper:hover {
    background: var(--gradient-secondary-hover);
    color: var(--white);
}

.iv-top-button--navy {
    background: var(--gradient-primary);
}

.iv-top-button--navy:hover {
    background: var(--gradient-primary-hover);
    color: var(--white);
}


/* ==================================================
   MAIN NAVBAR
================================================== */

.iv-navbar {
    position: relative;
    background: var(--white);
}

.iv-navbar__inner {
    display: flex;
    align-items: center;
    min-height: 74px;
}

.iv-navbar__brand {
    flex: 0 0 auto;
    margin-inline-end: 55px;
}

.iv-site-logo {
    display: flex;
    align-items: center;
}

.iv-site-logo .custom-logo-link {
    display: flex;
    align-items: center;
}

.iv-site-logo img,
.iv-site-logo .custom-logo {
    display: block;
    width: auto;
    max-width: 185px;
    max-height: 48px;
    object-fit: contain;
}


/* ==================================================
   DESKTOP MENU
================================================== */

.iv-navigation {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
}

.iv-primary-menu {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.iv-primary-menu > li {
    position: relative;
    margin: 0;
    padding: 0;
}

.iv-primary-menu > li > a {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 74px;
    padding: 0 12px;
    font-size: var(--fs-body);
    font-weight: 400;
    line-height: 1.2;
    white-space: nowrap;
    color: var(--dark);
    transition: color .2s ease;
}

.iv-primary-menu > li > a:hover,
.iv-primary-menu > li.current-menu-item > a,
.iv-primary-menu > li.current-menu-ancestor > a {
    color: var(--copper);
}

/* Active underline */
.iv-primary-menu > li.current-menu-item > a::after {
    content: "";
    position: absolute;
    inset-inline: 12px;
    bottom: 18px;
    height: 1px;
    background: var(--copper);
}


/* WordPress menu arrows */

.iv-primary-menu .menu-item-has-children > a::after {
    content: "";
    width: 6px;
    height: 6px;
    margin-inline-start: 8px;
    border-inline-end: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
}

.iv-primary-menu > .menu-item-has-children.current-menu-item > a::after,
.iv-primary-menu > .menu-item-has-children.current-menu-ancestor > a::after {
    position: static;
    height: 6px;
    background: transparent;
}


/* ==================================================
   DESKTOP DROPDOWNS
================================================== */

.iv-primary-menu .sub-menu {
    position: absolute;
    top: calc(100% - 5px);
    inset-inline-start: 0;
    z-index: 50;
    width: 240px;
    margin: 0;
    padding: 10px 0;
    list-style: none;
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: 0 14px 35px rgba(7, 33, 56, .10);

    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition:
        opacity .2s ease,
        visibility .2s ease,
        transform .2s ease;
}

.iv-primary-menu li:hover > .sub-menu,
.iv-primary-menu li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.iv-primary-menu .sub-menu li {
    position: relative;
}

.iv-primary-menu .sub-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 18px;
    font-size: 13px;
    line-height: 1.45;
    color: var(--dark);
    transition:
        color .2s ease,
        background-color .2s ease;
}

.iv-primary-menu .sub-menu a:hover {
    color: var(--copper);
    background: var(--off-white);
}

.iv-primary-menu .sub-menu .sub-menu {
    top: -11px;
    inset-inline-start: 100%;
}


/* ==================================================
   HEADER RIGHT
================================================== */

.iv-navbar__actions {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 12px;
    margin-inline-start: auto;
}

.iv-consultation-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-height: 34px;
    padding: 0 18px;
    border-radius: 4px;
    background: var(--gradient-secondary);
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    transition: background-color .2s ease;
}

.iv-consultation-btn:hover {
    background: var(--gradient-secondary-hover);
    color: var(--white);
}

.iv-arrow-icon {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
}


/* ==================================================
   LANGUAGE SWITCHER
================================================== */

.iv-language-switcher {
    display: flex;
    align-items: center;
    gap: 9px;
}

.iv-language {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
}

.iv-language--active {
    min-width: 36px;
    height: 24px;
    padding: 0 9px;
    border-radius: 7px;
    background: var(--gradient-secondary);
    color: var(--white);
}

.iv-language--active:hover {
    color: var(--white) !important;
    background: var(--gradient-secondary-hover);
}

.iv-language-divider {
    width: 1px;
    height: 30px;
    background: var(--border);
}

.iv-language--fa {
    color: #8b8eaa;
}

a.iv-language.iv-language--fa.iv-language--active {
    color: #fff;
}

.iv-language--fa:hover,
.iv-language:hover {
    color: var(--copper);
}


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

.iv-mobile-toggle {
    display: none;
    position: relative;
    width: 42px;
    height: 42px;
    min-height: 0;
    padding: 9px;
    margin: 0;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
    transform: none;
}

.iv-mobile-toggle:hover {
    background: var(--off-white);
    transform: none;
}

.iv-mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    background: var(--navy);
}


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

.iv-mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    visibility: hidden;
}

.iv-mobile-menu.is-open {
    pointer-events: auto;
    visibility: visible;
}

.iv-mobile-menu__overlay {
    position: absolute;
    inset: 0;
    background: rgba(7, 33, 56, .55);
    opacity: 0;
    transition: opacity .3s ease;
}

.iv-mobile-menu.is-open .iv-mobile-menu__overlay {
    opacity: 1;
}

.iv-mobile-menu__panel {
    position: absolute;
    top: 0;
    bottom: 0;
    inset-inline-end: 0;
    width: min(390px, 88vw);
    overflow-y: auto;
    background: var(--white);
    box-shadow: -10px 0 40px rgba(7, 33, 56, .12);
    transform: translateX(105%);
    transition: transform .3s ease;
}

[dir="rtl"] .iv-mobile-menu__panel {
    transform: translateX(-105%);
}

.iv-mobile-menu.is-open .iv-mobile-menu__panel {
    transform: translateX(0);
}

.iv-mobile-menu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80px;
    padding: 15px 22px;
    border-bottom: 1px solid var(--border);
}

.iv-mobile-logo {
    display: flex;
    align-items: center;
}

.iv-mobile-logo img {
    width: auto;
    max-width: 165px;
    max-height: 46px;
}


/* Close */

.iv-mobile-close {
    position: relative;
    display: block;
    width: 40px;
    height: 40px;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    transform: none;
}

.iv-mobile-close:hover {
    background: transparent;
    transform: none;
}

.iv-mobile-close span {
    position: absolute;
    top: 19px;
    left: 8px;
    width: 24px;
    height: 2px;
    background: var(--navy);
}

.iv-mobile-close span:first-child {
    transform: rotate(45deg);
}

.iv-mobile-close span:last-child {
    transform: rotate(-45deg);
}


/* Mobile nav */

.iv-mobile-navigation {
    padding: 14px 22px 0;
}

.iv-mobile-primary-menu,
.iv-mobile-primary-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.iv-mobile-primary-menu > li {
    border-bottom: 1px solid var(--border);
}

.iv-mobile-primary-menu li {
    position: relative;
}

.iv-mobile-primary-menu li > a {
    display: block;
    padding: 15px 38px 15px 0;
    font-family: var(--heading-font);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--navy);
}

[dir="rtl"] .iv-mobile-primary-menu li > a {
    padding: 15px 0 15px 38px;
}


/* Mobile dropdown */

.iv-mobile-primary-menu .sub-menu {
    display: none;
    padding: 0 0 10px 16px;
}

[dir="rtl"] .iv-mobile-primary-menu .sub-menu {
    padding: 0 16px 10px 0;
}

.iv-mobile-primary-menu .sub-menu.is-open {
    display: block;
}

.iv-mobile-primary-menu .sub-menu a {
    padding-block: 9px;
    font-family: var(--body-font);
    font-size: 14px;
    font-weight: 400;
}


/* Dynamically inserted dropdown button */

.iv-mobile-submenu-toggle {
    position: absolute;
    top: 7px;
    inset-inline-end: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--navy);
    transform: none;
}

.iv-mobile-submenu-toggle:hover {
    background: transparent;
    transform: none;
}

.iv-mobile-submenu-toggle::before {
    content: "";
    width: 7px;
    height: 7px;
    border-inline-end: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    transition: transform .2s ease;
}

.iv-mobile-submenu-toggle.is-active::before {
    transform: rotate(225deg);
}


/* Mobile bottom */

.iv-mobile-menu__actions {
    padding: 24px 22px 30px;
}

.iv-mobile-consultation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 48px;
    padding: 10px 16px;
    border-radius: 4px;
    background: var(--gradient-secondary);
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
}


.iv-mobile-consultation:hover {
    background: var(--gradient-secondary-hover);
    color: var(--white);
}

.iv-mobile-consultation svg {
    width: 16px;
}

.iv-mobile-contact {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 22px;
}

.iv-mobile-contact a {
    font-size: 14px;
    color: var(--body-text);
}

.iv-mobile-languages {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
}

.iv-mobile-languages span {
    width: 1px;
    height: 20px;
    background: var(--border);
}

.iv-mobile-languages a {
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
}

.iv-mobile-languages .active {
    color: var(--copper);
}


/* Prevent background scrolling */

body.iv-menu-open {
    overflow: hidden;
}


/* ==================================================
   RTL HEADER
================================================== */

[dir="rtl"] .iv-arrow-icon,
[dir="rtl"] .iv-mobile-consultation svg {
    transform: scaleX(-1);
}

[dir="rtl"] .iv-primary-menu .menu-item-has-children > a::after {
    margin-inline-start: 8px;
}


/* ==================================================
   RESPONSIVE HEADER
================================================== */

@media (max-width: 1199px) {

    .iv-navbar__brand {
        margin-inline-end: 25px;
    }

    .iv-primary-menu > li > a {
        padding-inline: 8px;
        font-size: 12px;
    }

    .iv-consultation-btn {
        padding-inline: 13px;
        font-size: 12px;
    }

    .iv-navbar__actions {
        gap: 8px;
    }
}


@media (max-width: 991px) {

    .iv-topbar {
        display: none;
    }

    .iv-navbar__inner {
        min-height: 76px;
    }

    .iv-navigation,
    .iv-navbar__actions {
        display: none;
    }

    .iv-navbar__brand {
        margin-inline-end: auto;
    }

    .iv-mobile-toggle {
        display: block;
        margin-inline-start: auto;
    }

    .iv-site-logo img,
    .iv-site-logo .custom-logo {
        max-width: 175px;
    }
}


@media (max-width: 575px) {

    .iv-navbar__inner {
        min-height: 70px;
    }

    .iv-site-logo img,
    .iv-site-logo .custom-logo {
        max-width: 155px;
        max-height: 43px;
    }

    .iv-mobile-toggle {
        width: 40px;
        height: 40px;
    }

    .iv-mobile-menu__header {
        min-height: 70px;
        padding-inline: 18px;
    }

    .iv-mobile-navigation {
        padding-inline: 18px;
    }

    .iv-mobile-menu__actions {
        padding-inline: 18px;
    }
}

/* ==================================================
   INTELLIVEST FOOTER
================================================== */

.iv-footer {
    background: var(--white);
    color: var(--body-text);
}


/* ==================================================
   FOOTER MAIN
================================================== */

.iv-footer__main {
    padding: 50px 0 30px;
}

.iv-footer__grid {
    display: grid;

    grid-template-columns:
        minmax(230px, 2.1fr)
        minmax(90px, 0.9fr)
        minmax(100px, 0.9fr)
        minmax(140px, 1.15fr)
        minmax(145px, 1.2fr)
        minmax(145px, 1.2fr);

    gap: 32px;

    align-items: start;
}


/* Brand */

.iv-footer__brand {
    max-width: 320px;
}

.iv-footer__logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 18px;
}

.iv-footer-logo-image {
    display: block;
    width: auto;
    max-width: 205px;
    max-height: 55px;
    object-fit: contain;
}

.iv-footer__tagline {
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.8;
    color: var(--body-text);
}


/* Socials */

.iv-footer__socials {
    display: flex;
    align-items: center;
    gap: 12px;
}

.iv-footer__socials a {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 22px;
    height: 22px;

    color: var(--navy);
}

.iv-footer__socials svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.iv-footer__socials a:hover {
    color: var(--copper);
}


/* ==================================================
   FOOTER COLUMNS
================================================== */

.iv-footer__column h3 {
    margin: 5px 0 15px;

    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.3;

    color: var(--dark);
}

.iv-footer__column ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.iv-footer__column li {
    margin-bottom: 8px;
}

.iv-footer__column li:last-child {
    margin-bottom: 0;
}

.iv-footer__column li a {
    font-size: 14px;
    line-height: 1.5;
    color: var(--body-text);
}

.iv-footer__column li a:hover {
    color: var(--copper);
}


/* ==================================================
   FOOTER CONTACT
================================================== */

.iv-footer__contact {
    min-width: 190px;
}

.iv-footer__contact-link {
    display: flex;
    align-items: center;
    gap: 9px;

    margin-bottom: 8px;

    font-size: 14px;
    line-height: 1.4;

    color: var(--body-text);
}

.iv-footer__contact-link:hover {
    color: var(--copper);
}

.iv-footer__contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 22px;
    height: 22px;
    flex: 0 0 22px;

    border-radius: 50%;

    background: var(--navy);
    color: var(--white);
}

.iv-footer__contact-icon svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
}


/* Pay Us */

.iv-footer__pay-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 110px;
    height: 34px;

    margin-top: 9px;
    padding: 0 20px;

    border-radius: 4px;

    background: var(--gradient-secondary);
    color: var(--white);

    font-size: 13px;
    font-weight: 500;
    line-height: 1;
}

.iv-footer__pay-btn:hover {
    background: var(--gradient-secondary-hover);
    color: var(--white);
}


/* ==================================================
   DISCLOSURE
================================================== */

.iv-footer__disclosure {
    border-top: 1px solid var(--border);
}

.iv-footer__disclosure .container {
    padding-top: 17px;
    padding-bottom: 17px;
}

.iv-footer__disclosure p {
    margin: 0;

    font-size: 16px;
    line-height: 1.8;

    color: var(--navy);
}


/* ==================================================
   FOOTER BOTTOM
================================================== */

.iv-footer__bottom {
    background: var(--gradient-primary);
    color: var(--white);
}

.iv-footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    min-height: 44px;
}

.iv-footer__bottom p {
    margin: 0;

    font-size: 14px;
    line-height: 1.5;

    color: var(--white);
}

.iv-footer__address {
    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 14px;
    line-height: 1.5;

    color: var(--white);
}

.iv-footer__location-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 22px;
    height: 22px;
    flex: 0 0 22px;

    border-radius: 50%;

    background: var(--white);
    color: var(--navy);
}

.iv-footer__location-icon svg {
    width: 13px;
    height: 13px;
    fill: currentColor;
}


/* ==================================================
   RTL FOOTER
================================================== */

[dir="rtl"] .iv-footer {
    text-align: right;
}

[dir="rtl"] .iv-footer__socials,
[dir="rtl"] .iv-footer__contact-link,
[dir="rtl"] .iv-footer__address {
    direction: rtl;
}


/* ==================================================
   FOOTER RESPONSIVE
================================================== */

@media (max-width: 1199px) {

    .iv-footer__grid {
        grid-template-columns: 2fr 1fr 1fr 1.2fr;
        gap: 35px;
    }

    .iv-footer__contact {
        grid-column: 2 / -1;
    }
}


@media (max-width: 991px) {

    .iv-footer__main {
        padding-top: 45px;
    }

    .iv-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 35px 50px;
    }

    .iv-footer__brand {
        max-width: 360px;
    }

    .iv-footer__contact {
        grid-column: auto;
    }

    .iv-footer__bottom-inner {
        flex-direction: column;
        align-items: flex-start;

        gap: 8px;

        padding-top: 14px;
        padding-bottom: 14px;
    }

    [dir="rtl"] .iv-footer__bottom-inner {
        align-items: flex-end;
    }
}


@media (max-width: 575px) {

    .iv-footer__main {
        padding: 40px 0 28px;
    }

    .iv-footer__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .iv-footer__brand {
        max-width: 100%;
    }

    .iv-footer-logo-image {
        max-width: 185px;
    }

    .iv-footer__column h3 {
        margin-bottom: 12px;
    }

    .iv-footer__disclosure .container {
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .iv-footer__disclosure p {
        font-size: 12px;
        line-height: 1.7;
    }

    .iv-footer__bottom-inner {
        align-items: flex-start;
    }

    .iv-footer__address {
        align-items: flex-start;
    }

    [dir="rtl"] .iv-footer__bottom-inner {
        align-items: flex-start;
    }
}

/* =========================================================
   GLOBAL INNER PAGE HERO
   Based on the approved About page hero
========================================================= */

.inner-hero {
    position: relative;

    background: var(--gradient-primary);
    color: var(--text-white);
}

.inner-hero__grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(360px, .95fr);

    gap: var(--space-9);
    align-items: center;

    min-height: 325px;

    padding:
        var(--space-8)
        0;
}

.inner-hero__content {
    position: relative;
    z-index: 2;

    max-width: 650px;
}

.inner-hero__breadcrumb {
    display: flex;
    align-items: center;

    gap: var(--space-1);

    margin-bottom: var(--space-3);

    font-family: var(--font-heading);
    font-size: var(--fs-xs);
    font-weight: var(--fw-bold);

    text-transform: uppercase;
}

.inner-hero__breadcrumb a {
    color: var(--text-white);
}

.inner-hero__breadcrumb a:hover {
    color: var(--secondary);
}

.inner-hero__breadcrumb > span:last-child {
    color: var(--secondary);
}

.inner-hero__title {
    margin:
        0
        0
        var(--space-3);

    color: var(--text-white);
}

.inner-hero__title span {
    color: var(--secondary);
}

.inner-hero__text {
    max-width: 650px;

    margin:
        0
        0
        var(--space-4);

    color: rgba(255, 255, 255, .90);
}

.inner-hero__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: var(--space-1);
}

.inner-hero__arrow {
    display: inline-block;
    flex: 0 0 auto;
}

.inner-hero__visual {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    min-width: 0;
}

.inner-hero__visual img {
    display: block;

    width: min(100%, 470px);
    max-height: 330px;

    margin-inline-start: auto;

    object-fit: contain;

    opacity: .58;
}


/* RTL / FARSI */

[dir="rtl"] .inner-hero__breadcrumb,
html[lang^="fa"] .inner-hero__breadcrumb {
    direction: rtl;
}

[dir="rtl"] .inner-hero__arrow,
html[lang^="fa"] .inner-hero__arrow {
    transform: scaleX(-1);
}

[dir="rtl"] .inner-hero__visual,
html[lang^="fa"] .inner-hero__visual {
    justify-content: flex-start;
}

[dir="rtl"] .inner-hero__visual img,
html[lang^="fa"] .inner-hero__visual img {
    margin-inline-start: 0;
    margin-inline-end: auto;
}


/* LARGE TABLET */

@media (max-width: 1199px) {

    .inner-hero__grid {
        grid-template-columns:
            minmax(0, 1.05fr)
            minmax(320px, .95fr);

        gap: var(--space-7);
    }

}


/* TABLET */

@media (max-width: 991px) {

    .inner-hero__grid {
        grid-template-columns: 1fr 1fr;

        gap: var(--space-6);

        min-height: 0;
    }

    .inner-hero__visual img {
        max-height: 250px;
    }

}


/* MOBILE / SMALL TABLET */

@media (max-width: 767px) {

    .inner-hero__grid {
        grid-template-columns: 1fr;

        gap: var(--space-6);

        padding-block: var(--space-7);
    }

    .inner-hero__content {
        max-width: none;
    }

    .inner-hero__visual {
        justify-content: center;
		display: none;
    }

    .inner-hero__visual img {
        width: min(100%, 400px);
        max-height: none;

        margin-inline: auto;
    }

    [dir="rtl"] .inner-hero__visual,
    html[lang^="fa"] .inner-hero__visual {
        justify-content: center;
    }

    [dir="rtl"] .inner-hero__visual img,
    html[lang^="fa"] .inner-hero__visual img {
        margin-inline: auto;
    }

}


/* SMALL MOBILE */

@media (max-width: 575px) {

    .inner-hero__grid {
        padding-block: var(--space-6);
    }

    .inner-hero__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .inner-hero__actions .btn {
        width: 100%;
    }

}

/* =========================================================
   INTELLIVEST — GLOBAL CTA
   Shared final CTA used across homepage + inner pages.
   Visual source: original homepage final CTA.
========================================================= */

.global-cta {
    position: relative;
    padding-block: var(--section-padding);
    background:
        linear-gradient(
            105deg,
            #0e4a73 0%,
            #0b3b5e 38%,
            #072138 100%
        );
    overflow: hidden;
}

.global-cta__inner {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.global-cta__title {
    margin: 0 0 12px;
    font-size: var(--fs-h2);
    font-weight: var(--fw-extrabold);
    line-height: var(--lh-heading);
    letter-spacing: -.6px;
    color: var(--white);
}

.global-cta__text {
    margin: 0;
    font-size: var(--fs-body);
    font-weight: var(--fw-regular);
    line-height: var(--lh-copy-short);
    color: rgba(255, 255, 255, .92);
}

.global-cta__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 29px;
}

.global-cta__primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-width: 273px;
    height: 36px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    background: var(--gradient-secondary);
    font-size: var(--fs-button-compact);
    font-weight: var(--fw-medium);
    line-height: var(--lh-button);
    color: var(--white);
    text-decoration: none;
    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.global-cta__primary svg {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
}

.global-cta__primary:hover {
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(0, 0, 0, .15);
}

.global-cta__phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    min-width: 156px;
    height: 36px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: var(--radius-sm);
    background: transparent;
    font-size: var(--fs-button-compact);
    font-weight: var(--fw-medium);
    line-height: var(--lh-button);
    color: var(--white);
    text-decoration: none;
    transition:
        background-color .2s ease,
        color .2s ease;
}

.global-cta__phone svg {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
}

.global-cta__phone:hover {
    background: var(--white);
    color: var(--navy);
}


/* =========================================================
   RTL
========================================================= */

[dir="rtl"] .global-cta__primary svg {
    transform: scaleX(-1);
}


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

@media (max-width: 991px) {

    .global-cta__title {
        font-size: var(--fs-stat);
    }

}


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

@media (max-width: 767px) {

    .global-cta__inner {
        max-width: 100%;
    }

    .global-cta__text {
        max-width: 500px;
        margin-right: auto;
        margin-left: auto;
        font-size: var(--fs-copy-compact);
    }

    .global-cta__actions {
        flex-direction: column;
        gap: var(--space-xs);
        margin-top: 25px;
    }

    .global-cta__primary,
    .global-cta__phone {
        width: 100%;
        max-width: 330px;
        min-height: 44px;
        height: auto;
    }

}


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

@media (max-width: 575px) {

    .global-cta__text {
        font-size: var(--fs-small);
        line-height: var(--lh-copy-short);
    }
	
	#chaty-widget-0 .chaty-open .chaty-channel-list .chaty-channel:nth-child(1) {
		transform: translateY(-68px) !important;
	}

}

.chaty-channel-list {
	bottom: 65px !important;
}


/* =========================================================
   Chaty buttons + Chatway integration
   ========================================================= */

/* Default icon sizing - Desktop */
#chaty-widget-0 .chaty-channel-list {
    width: 60px !important;
    display: flex !important;
    align-items: center !important;
}

#chaty-widget-0 .chaty-channel-list .chaty-channel,
#chaty-widget-0 .chaty-channel-list .chaty-channel a,
#chaty-widget-0 .chaty-channel-list .chaty-channel span.chaty-icon,
#chaty-widget-0 .chaty-channel-list .chaty-channel .chaty-svg {
    width: 60px !important;
    height: 60px !important;
}


/* =========================================================
   DESKTOP / LAPTOP ONLY
   992px and above
   ========================================================= */

@media (min-width: 992px) {

    /* Normal Chaty open position - WhatsApp */
    #chaty-widget-0
    .chaty-open
    .chaty-channel-list
    .chaty-channel:nth-child(1) {
        transform: translateY(-72px) !important;
    }

    /* Normal Chaty open position - Telegram */
    #chaty-widget-0
    .chaty-open
    .chaty-channel-list
    .chaty-channel:nth-child(2) {
        transform: translateY(-2px) !important;
    }


    /* Smooth animation */
    #chaty-widget-0 .chaty-channel {
        transition: transform 0.35s ease !important;
        will-change: transform;
    }


    /* Allow icons to move outside Chaty container */
    body.chatway-ui-open
    #chaty-widget-0
    .chaty-channel-list {
        overflow: visible !important;
    }


    /* =====================================================
       Chatway OPEN
       Move WhatsApp + Telegram beside AI Chat
       ===================================================== */

    /* WhatsApp */
    body.chatway-ui-open
    #chaty-widget-0
    .chaty-channel-list
    .chaty-channel:nth-child(1) {
        transform: translate(-140px, 72px) !important;
    }

    /* Telegram */
    body.chatway-ui-open
    #chaty-widget-0
    .chaty-channel-list
    .chaty-channel:nth-child(2) {
        transform: translate(-72px, 72px) !important;
    }
}


/* =========================================================
   MOBILE / TABLET
   991px and below

   IMPORTANT:
   No custom transform here.
   Chaty + Chatway plugins keep their original/default
   mobile behaviour.
   ========================================================= */

@media (max-width: 991px) {

    /*
     * Remove our desktop transforms.
     * WhatsApp and Telegram stay in their normal
     * Chaty mobile positions.
     */
    body.chatway-ui-open
    #chaty-widget-0
    .chaty-channel-list
    .chaty-channel {
        transform: revert !important;
    }
}

button.launcher-icon {
	background: var(--navy) !important;
}

/* ==================================================
   FOOTER - JOIN OUR COMMUNITY
================================================== */

.iv-footer__community-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.iv-footer__community-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    width: auto;

    color: var(--text-color, #4f4f4f);
    text-decoration: none;
}

.iv-footer__community-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 20px !important;
    height: 20px !important;
    min-width: 20px;
    flex: 0 0 20px;

    color: var(--primary, #072138);
}

.iv-footer__community-icon svg {
    display: block;

    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;

    fill: currentColor;
}

.iv-footer__community-link:hover {
    color: var(--secondary, #BD713E);
}

/* ==================================================
   FOOTER - JOIN OUR COMMUNITY
================================================== */

.iv-footer__community-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.iv-footer__community-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    width: auto;

    color: inherit;
    text-decoration: none;

    transition: color 0.25s ease;
}

.iv-footer__community-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 20px !important;
    height: 20px !important;
    min-width: 20px;

    flex: 0 0 20px;
}

.iv-footer__community-icon svg {
    display: block;

    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;

    overflow: visible;
}

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