/* ============================================================
   AGF Theme — assets/css/app.css
   All custom styles migrated from the static site.
   ============================================================ */

/* ----------------------------------------------------------
   Fonts
   ---------------------------------------------------------- */
@font-face {
    font-family: "YekanBakh";
    src:
        url("../fonts/YekanBakh-VF.woff2") format("woff2"),
        url("../fonts/YekanBakh-VF.woff") format("woff");
    font-weight: 100 900;
    font-display: swap;
    font-style: normal;
}

@font-face {
    font-family: "YekanBakhFaNum";
    src:
        url("../fonts/YekanBakhFaNum-VF.woff2") format("woff2"),
        url("../fonts/YekanBakhFaNum-VF.woff") format("woff");
    font-weight: 100 900;
    font-display: swap;
    font-style: normal;
}

@font-face {
    font-family: "YekanBakhNoEn";
    src:
        url("../fonts/YekanBakhNoEn-VF.woff2") format("woff2"),
        url("../fonts/YekanBakhNoEn-VF.woff") format("woff");
    font-weight: 100 900;
    font-display: swap;
    font-style: normal;
}

/* ----------------------------------------------------------
   Base
   ---------------------------------------------------------- */
html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", "YekanBakh", sans-serif;
    font-variation-settings: "wght" 420;
    background: #fff;
    color: #000;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-variation-settings: "wght" 850;
}

p {
    font-variation-settings: "wght" 430;
}

.text-balanced {
    text-wrap: balance;
}

/* ----------------------------------------------------------
   Certificate marquee
   ---------------------------------------------------------- */
:root {
    --marquee-direction: -33.333%;
}

html[dir="rtl"] {
    --marquee-direction: 33.333%;
}

@keyframes cert-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(var(--marquee-direction));
    }
}

.cert-track {
    animation: cert-marquee 40s linear infinite;
}

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

.cert-logo {
    height: 90px;
    width: auto;
    object-fit: contain;
    opacity: 0.45;
    filter: grayscale(1);
    transition: 0.3s ease;
}

.cert-logo:hover {
    opacity: 1;
    filter: none;
    transform: scale(1.05);
}

/* ----------------------------------------------------------
   Header / Mega Menu
   ---------------------------------------------------------- */
.mega-item,
.lang-item {
    position: relative;
}

.mega-item::after {
    content: "";
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    height: 28px;
}

.mega-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 14px;
    padding: 14px 18px;
    font-size: 16px;
    font-weight: 700;
    transition: 0.25s ease;
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
    text-decoration: none;
}

.mega-item:hover .mega-btn,
.mega-btn:hover {
    background: #f1faf7;
    color: #5ba895;
}

.mega-item:hover .chev {
    transform: rotate(180deg);
}

.chev {
    transition: 0.25s ease;
    display: inline-flex;
}

.mega-menu {
    position: fixed;
    left: 50%;
    top: 78px;
    z-index: 60;
    width: min(1180px, calc(100vw - 32px));
    transform: translateX(-50%) translateY(10px);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 18px;
    background: white;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.14);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: 0.25s ease;
}

.mega-item:hover .mega-menu,
.mega-menu:hover {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.mega-col {
    padding: 32px;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
}

.mega-col h4,
.mega-feature span {
    margin-bottom: 20px;
    display: block;
    color: #5ba895;
    font-size: 18px;
    font-weight: 800;
}

.mega-col a {
    display: block;
    padding: 10px 0;
    font-size: 18px;
    font-weight: 600;
    color: #222;
    text-decoration: none;
}

.mega-col a:hover {
    color: #5ba895;
}

.mega-feature {
    padding: 32px;
    background:
        radial-gradient(circle at 20px 20px, rgba(91, 168, 149, 0.12) 2px, transparent 3px),
        #fafafa;
    background-size: 22px 22px;
}

.mega-feature h3 {
    max-width: 360px;
    font-size: 30px;
    font-weight: 900;
    line-height: 1.25;
    color: #163a32;
}

.mega-feature p {
    margin-top: 18px;
    max-width: 380px;
    color: #666;
    font-size: 17px;
    line-height: 1.8;
}

.industries-menu {
    grid-template-columns: 0.9fr 2.1fr;
}

.industry-banner {
    position: relative;
    min-height: 360px;
    overflow: hidden;
}

.industry-banner img {
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.industry-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(22, 58, 50, 0.92), rgba(22, 58, 50, 0.35));
}

.industry-banner-content {
    position: relative;
    z-index: 1;
    max-width: 520px;
    padding: 40px;
    color: white;
}

.industry-banner-content span {
    color: #9ee3d1;
    font-weight: 800;
}

.industry-banner-content h3 {
    margin-top: 18px;
    font-size: 34px;
    font-weight: 900;
    line-height: 1.2;
}

.industry-banner-content p {
    margin-top: 18px;
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.82);
}

.mega-products {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    padding: 24px;
}

.mega-products a {
    min-height: 96px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: #f2f4f4;
    padding: 18px;
    font-weight: 800;
    text-align: center;
    transition: 0.25s ease;
    text-decoration: none;
    color: #111;
}

.mega-products a:hover {
    background: #5ba895;
    color: white;
    transform: translateY(-3px);
}

/* Language menu */
.lang-item::after {
    content: "";
    position: absolute;
    left: 0;
    top: 100%;
    height: 16px;
    width: 100%;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 14px;
    padding: 12px 14px;
    font-weight: 800;
    transition: 0.25s ease;
    background: none;
    border: none;
    cursor: pointer;
}

.lang-item:hover .lang-btn {
    background: #f1faf7;
    color: #5ba895;
}

.lang-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 12px);
    z-index: 80;
    min-width: 170px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    background: white;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.14);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: 0.25s ease;
}

.lang-item:hover .lang-menu,
.lang-menu:hover {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.lang-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    font-weight: 800;
    text-decoration: none;
    color: #222;
}

.lang-menu a:hover {
    background: #f1faf7;
    color: #5ba895;
}

/* ----------------------------------------------------------
   Hero
   ---------------------------------------------------------- */
.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.045);
    padding: 11px 18px;
    backdrop-filter: blur(18px);
    transition: 0.3s ease;
    white-space: nowrap;
}

.hero-pill:hover {
    background: rgba(255, 255, 255, 0.08);
}

.hero-pill span {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #7ce3c3;
    flex: 0 0 auto;
}

/* Industry cards in hero */
.industry-card {
    position: relative;
    flex: 0 0 260px;
    overflow: hidden;
    border-radius: 16px;
    padding: 22px;
    text-align: left;
    transition: 0.45s ease;
    text-decoration: none;
}

.industry-card::before {
    content: "";
    position: absolute;
    inset-inline: 0;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    opacity: 0;
    transition: 0.45s ease;
}

.industry-card:hover {
    background: rgba(255, 255, 255, 0.055);
}

.industry-card:hover::before {
    opacity: 1;
}

.industry-card h3 {
    margin-top: 0;
    color: white;
    font-size: 17px;
    font-weight: 800;
    transition: 0.3s ease;
}

.industry-card:hover h3 {
    transform: translateX(4px);
}

.industry-card p {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.45);
    font-size: 13px;
    line-height: 1.65;
}

@media (min-width: 640px) {
    .industry-card {
        min-width: 0;
        flex: auto;
        border-radius: 0;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 32px;
    }
}

@media (min-width: 1024px) {
    .industry-card {
        border-bottom: 0;
    }

    .industry-card:last-child {
        border-right: 0;
    }
}

@media (max-width: 639px) {
    .industry-card {
        min-height: 132px;
    }

    .industry-card p {
        max-width: 210px;
    }

    #industries ::-webkit-scrollbar,
    .overflow-x-auto::-webkit-scrollbar {
        display: none;
    }

    #industries,
    .overflow-x-auto {
        scrollbar-width: none;
    }
}

/* ----------------------------------------------------------
   Services Section
   ---------------------------------------------------------- */
.services-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-repeat: no-repeat;
    background-position: right center;
    background-size: min(980px, 68vw) auto;
    opacity: 0;
    filter: grayscale(1) contrast(1.08) brightness(1.08);
    mix-blend-mode: multiply;
    transition:
        opacity 0.45s ease,
        transform 1.65s ease,
        background-image 0.2s ease;
    transform: scale(1);
    pointer-events: none;
}

.services-bg.is-visible {
    opacity: 0.3;
    transform: scale(1.05);
}

.service-card {
    min-height: 210px;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.82);
    padding: 2rem;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: 0.3s ease;
    text-decoration: none;
    display: block;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.09);
    background: rgba(255, 255, 255, 0.92);
}

.service-card h3 {
    color: #111;
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1.25;
}

.service-card p {
    margin-top: 1.35rem;
    max-width: 34rem;
    color: rgba(0, 0, 0, 0.52);
    font-size: 1rem;
    line-height: 1.8;
    font-weight: 500;
}

.service-card-green:hover {
    background-color: #1f735d;
}

.service-card-green:hover h3,
.service-card-green:hover p {
    color: white;
}

.service-card-green:hover p {
    opacity: 0.78;
}

.service-dark-card {
    display: flex;
    min-height: 290px;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 1rem;
    background: #171717;
    padding: 2rem;
    color: white;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: 0.3s ease;
    text-decoration: none;
}

.service-dark-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.18);
}

.service-dark-card h3 {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.15;
    color: white;
}

.service-dark-card p {
    margin-top: 1.25rem;
    color: rgba(255, 255, 255, 0.64);
    font-size: 1rem;
    line-height: 1.75;
}

.service-dark-card>span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #5ba895;
    font-size: 0.875rem;
    font-weight: 800;
}

@media (max-width: 768px) {
    .services-bg {
        background-position: center bottom;
        background-size: 120% auto;
    }

    .services-bg.is-visible {
        opacity: 0.08;
    }

    .service-card,
    .service-dark-card {
        min-height: 220px;
    }
}

/* ----------------------------------------------------------
   Customers Section
   ---------------------------------------------------------- */
.customer-logo-card {
    position: relative;
    display: grid;
    min-height: clamp(88px, 12vw, 150px);
    place-items: center;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    background: rgba(255, 255, 255, 0.5);
    overflow: hidden;
    transition: 0.35s ease;
}

.customer-logo-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(91, 168, 149, 0.12), transparent 65%);
    opacity: 0;
    transition: 0.35s ease;
}

.customer-logo-card:hover {
    background: white;
    transform: translateY(-2px);
}

.customer-logo-card:hover::before {
    opacity: 1;
}

.logo-slot {
    position: relative;
    isolation: isolate;
}

.logo-slot img {
    position: absolute;
    inset: 0;
    margin: auto;
    max-width: 65%;
    max-height: 65%;
    object-fit: contain;
    filter: grayscale(1) saturate(0.3);
    opacity: 0;
    transform: translateY(8px) scale(0.96);
    transition:
        opacity 1.2s ease,
        transform 1.2s ease;
}

.logo-slot img.is-active {
    opacity: 0.62;
    transform: translateY(0) scale(1);
}

.customer-logo-card:hover .logo-slot img.is-active {
    filter: none;
    opacity: 1;
    transform: scale(1.04);
}

@media (max-width: 640px) {
    .customer-logo-card {
        min-height: 120px;
        border-right: 0;
    }
}

/* ----------------------------------------------------------
   Contact rows
   ---------------------------------------------------------- */
.contact-row {
    display: flex;
    gap: 16px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.8;
    transition: 0.25s ease;
    text-decoration: none;
}

.contact-row span {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border-radius: 999px;
    background: rgba(124, 227, 195, 0.12);
    color: #7ce3c3;
}

a.contact-row:hover {
    color: white;
    transform: translateX(4px);
}

/* ----------------------------------------------------------
   Services section background
   ---------------------------------------------------------- */
.services-section {
    position: relative;
}

/* ----------------------------------------------------------
   Page & Post Content Typography (agf-page-content / agf-post-content)
   ---------------------------------------------------------- */
.agf-page-content,
.agf-post-content {
    color: #1a1a1a;
    font-size: 1.0625rem;
    line-height: 1.85;
}

.agf-page-content h1,
.agf-page-content h2,
.agf-page-content h3,
.agf-page-content h4,
.agf-page-content h5,
.agf-page-content h6,
.agf-post-content h1,
.agf-post-content h2,
.agf-post-content h3,
.agf-post-content h4,
.agf-post-content h5,
.agf-post-content h6 {
    color: #163a32;
    font-weight: 800;
    line-height: 1.2;
    /* margin-top: 2.25em; */
    margin-bottom: 0.75em;
}

.agf-page-content h2,
.agf-post-content h2 {
    font-size: 1.875rem;
    border-left: 4px solid #5ba895;
    padding-left: 16px;
}

.agf-page-content h3,
.agf-post-content h3 {
    font-size: 1.375rem;
    color: #1f5c48;
}

.agf-page-content p,
.agf-post-content p {
    margin-bottom: 1.6em;
    color: #2d2d2d;
}

.agf-page-content a,
.agf-post-content a {
    color: #5ba895;
    font-weight: 700;
    text-underline-offset: 3px;
    transition: color .2s;
}

.agf-page-content a:hover,
.agf-post-content a:hover {
    color: #163a32;
}

.agf-page-content strong,
.agf-post-content strong {
    color: #163a32;
    font-weight: 800;
}

.agf-page-content ul,
.agf-page-content ol,
.agf-post-content ul,
.agf-post-content ol {
    padding-left: 1.6em;
    margin-bottom: 1.5em;
}

.agf-page-content li,
.agf-post-content li {
    margin-bottom: 0.5em;
    color: #2d2d2d;
}

.agf-page-content ul li::marker,
.agf-post-content ul li::marker {
    color: #5ba895;
}

.agf-page-content blockquote,
.agf-post-content blockquote {
    margin: 2em 0;
    padding: 1.25em 1.5em;
    border-left: 4px solid #5ba895;
    background: #f0faf7;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #1f5c48;
    font-size: 1.1rem;
    line-height: 1.7;
}

.agf-page-content blockquote p,
.agf-post-content blockquote p {
    margin-bottom: 0;
    color: inherit;
}

.agf-page-content code,
.agf-post-content code {
    background: #f0faf7;
    border: 1px solid #c8e8df;
    border-radius: 6px;
    padding: 2px 7px;
    font-size: .9em;
    color: #1f5c48;
    font-family: 'Fira Code', 'Consolas', monospace;
}

.agf-page-content pre,
.agf-post-content pre {
    background: #07110f;
    color: #9ee3d1;
    border-radius: 14px;
    padding: 1.5em;
    overflow-x: auto;
    margin: 2em 0;
    font-size: .9rem;
    line-height: 1.7;
}

.agf-page-content pre code,
.agf-post-content pre code {
    background: none;
    border: none;
    padding: 0;
    color: inherit;
}

.agf-page-content img,
.agf-post-content img {
    max-width: 100%;
    border-radius: 14px;
    margin: 1.5em 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .10);
}

.agf-page-content table,
.agf-post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2em 0;
    font-size: .9375rem;
}

.agf-page-content th,
.agf-post-content th {
    background: #163a32;
    color: white;
    padding: 12px 16px;
    text-align: left;
    font-weight: 700;
    font-size: .875rem;
}

.agf-page-content td,
.agf-post-content td {
    border-bottom: 1px solid #e5e7eb;
    padding: 12px 16px;
    color: #2d2d2d;
}

.agf-page-content tr:nth-child(even) td,
.agf-post-content tr:nth-child(even) td {
    background: #f9fafb;
}

.agf-page-content hr,
.agf-post-content hr {
    border: none;
    border-top: 2px solid #e8f5f1;
    margin: 2.5em 0;
}

/* -- Page nav links ----------------------------------------- */
.agf-page-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.agf-page-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1.5px solid #5ba895;
    color: #5ba895;
    font-weight: 800;
    font-size: 14px;
    text-decoration: none;
    transition: .2s;
    padding: 0 10px;
}

.agf-page-links a:hover {
    background: #5ba895;
    color: white;
}

/* -- Post comment section ------------------------------------ */
.agf-post-content .comment-list {
    list-style: none;
    padding: 0;
}

#comments h2 {
    font-size: 1.375rem;
    font-weight: 800;
    color: #163a32;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e8f5f1;
}

.comment-body {
    background: #f9fafb;
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 16px;
    border: 1px solid #e5e7eb;
}

.comment-author .fn {
    font-weight: 800;
    color: #163a32;
    font-size: 15px;
}

.comment-meta {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 2px;
}

.comment-content {
    margin-top: 10px;
    font-size: 15px;
    line-height: 1.7;
    color: #374151;
}

#respond {
    margin-top: 2rem;
}

#respond h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #163a32;
    margin-bottom: 1.25rem;
}

#respond input[type="text"],
#respond input[type="email"],
#respond input[type="url"],
#respond textarea {
    width: 100%;
    border: 1.5px solid #d1d5db;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 14px;
    transition: border-color .2s, box-shadow .2s;
    box-sizing: border-box;
    margin-bottom: 12px;
}

#respond input:focus,
#respond textarea:focus {
    border-color: #5ba895;
    box-shadow: 0 0 0 3px rgba(91, 168, 149, .15);
    outline: none;
}

#respond .submit {
    background: #5ba895;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: background .2s, transform .2s;
}

#respond .submit:hover {
    background: #4b9b89;
    transform: translateY(-1px);
}

/* =================================================================
   AGF Inner Page Templates
   Shared by: Service Page, Industry Page, Contact Page
   ================================================================= */

/* -- Shared hero ---------------------------------------------- */
.agf-inner-hero {
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

@media (min-width: 640px) {
    .agf-inner-hero {
        min-height: 300px;
    }
}

/* -- Shared body bg ------------------------------------------- */
.agf-inner-body {
    min-height: 60vh;
}

/* -- Shared white card ---------------------------------------- */
.agf-inner-card {
    border: 1px solid rgba(0, 0, 0, .06);
}

/* -- Green dot ------------------------------------------------ */
.agf-green-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #5ba895;
    flex-shrink: 0;
    margin-top: 4px;
}

/* -- Section title (bold left col heading) -------------------- */
.agf-service-section-title {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1.15rem;
    font-weight: 900;
    color: #5ba895;
    line-height: 1.4;
    margin: 0;
}

/* -- Short description right col ------------------------------ */
.agf-service-section-desc {
    font-size: 1rem;
    line-height: 1.75;
    color: #333;
}

/* -- Inner section headings (Partners, Customers, CTA) -------- */
.agf-inner-section-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    font-weight: 900;
    color: #5ba895;
    margin: 0 0 20px;
}

/* -- Body text container ------------------------------------- */
.agf-inner-body-text {
    font-size: 0.9875rem;
    line-height: 1.85;
    color: #333;
    text-align: justify;
}

.agf-inner-body-text p {
    margin-bottom: 1em;
}

/* =================================================================
   SERVICE PAGE — Product Cards
   ================================================================= */

.agf-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
}

@media (max-width: 600px) {
    .agf-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.agf-product-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    border: 1px solid rgba(0, 0, 0, .07);
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow .25s, transform .25s;
    background: #fff;
}

.agf-product-card:hover {
    box-shadow: 0 8px 28px rgba(91, 168, 149, .18);
    transform: translateY(-3px);
}

.agf-product-img {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #f0f4f3;
}

.agf-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
    display: block;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
}

.agf-product-card:hover .agf-product-img img {
    transform: scale(1.05);
}

.agf-product-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.agf-product-label {
    padding: 10px 12px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #5ba895;
    text-align: center;
    line-height: 1.4;
    background: #fff;
}

/* =================================================================
   SERVICE PAGE — Partners Grid
   ================================================================= */

.agf-partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px 12px;
    align-items: center;
}

@media (max-width: 700px) {
    .agf-partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 420px) {
    .agf-partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.agf-partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 6px;
}

.agf-partner-item img {
    max-height: 36px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    filter: grayscale(0);
    opacity: .85;
    transition: opacity .2s, transform .2s;
    display: block;
    margin: 0 auto;
    border-radius: 0;
    box-shadow: none;
}

.agf-partner-item img:hover {
    opacity: 1;
    transform: scale(1.06);
}

.agf-partner-name {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #444;
    text-align: center;
    display: block;
}

/* =================================================================
   SHARED CTA BAR (Service Page bottom)
   ================================================================= */

.agf-inner-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 22px 28px;
    border-top: 1px solid rgba(0, 0, 0, .07);
    background: #fafafa;
    text-align: center;
}

.agf-inner-cta-text {
    font-size: 1rem;
    font-weight: 800;
    color: #111;
    margin: 0;
}

.agf-inner-cta-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

/* Shared buttons */
.agf-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 10px;
    background: #5ba895;
    color: white;
    font-size: 0.875rem;
    font-weight: 800;
    text-decoration: none;
    border: 1.5px solid #5ba895;
    transition: background .2s, transform .2s;
    white-space: nowrap;
}

.agf-btn-primary:hover {
    background: #4b9b89;
    border-color: #4b9b89;
    transform: translateY(-1px);
    color: white;
}

.agf-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 10px;
    background: transparent;
    color: #333;
    font-size: 0.875rem;
    font-weight: 800;
    text-decoration: none;
    border: 1.5px solid rgba(0, 0, 0, .14);
    transition: border-color .2s, color .2s, transform .2s;
    white-space: nowrap;
}

.agf-btn-ghost:hover {
    border-color: #5ba895;
    color: #5ba895;
    transform: translateY(-1px);
}

/* =================================================================
   INDUSTRY PAGE — Feature bullets
   ================================================================= */

.agf-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.agf-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #5ba895;
    line-height: 1.5;
}

.agf-feature-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* =================================================================
   INDUSTRY PAGE — Customers grid
   ================================================================= */

.agf-industry-customers-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    border: 1px solid rgba(0, 0, 0, .07);
    border-radius: 14px;
    overflow: hidden;
    background: #f9fafb;
}

@media (max-width: 640px) {
    .agf-industry-customers-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.agf-industry-customer-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 12px;
    border-right: 1px solid rgba(0, 0, 0, .06);
    border-bottom: 1px solid rgba(0, 0, 0, .06);
    min-height: 90px;
    background: white;
    transition: background .2s;
}

.agf-industry-customer-item:hover {
    background: #f0faf7;
}

.agf-industry-customer-item img {
    max-height: 52px;
    max-width: 85%;
    width: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    border-radius: 0;
    box-shadow: none;
}

/* =================================================================
   INDUSTRY PAGE — Department CTA
   ================================================================= */

.agf-industry-cta-text {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: #444;
    margin: 0 0 20px;
    text-align: justify;
}

.agf-industry-cta-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

/* =================================================================
   CONTACT PAGE
   ================================================================= */

/* Info column — green gradient card */
.agf-contact-info-col {
    background: linear-gradient(160deg, #5ba895 0%, #3d8a78 55%, #2c6b5c 100%);
    color: white;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.agf-contact-info-title {
    font-size: 1.375rem;
    font-weight: 900;
    color: white;
    margin: 0 0 28px;
}

.agf-contact-info-block {
    margin-bottom: 26px;
}

.agf-contact-info-block h4 {
    font-size: 0.875rem;
    font-weight: 900;
    color: white;
    margin: 0 0 6px;
    text-transform: none;
    letter-spacing: 0;
}

.agf-contact-info-block p {
    font-size: 0.8125rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, .78);
    margin: 0;
}

.agf-contact-info-link {
    display: inline-block;
    margin-top: 6px;
    font-size: 0.875rem;
    font-weight: 800;
    color: rgba(255, 255, 255, .95);
    text-decoration: none;
    transition: opacity .2s;
}

.agf-contact-info-link:hover {
    opacity: .75;
    color: white;
}

/* Form column */
.agf-contact-form-col {
    background: white;
}

/* Form fields */
.agf-contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.agf-form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 480px) {
    .agf-form-row-2 {
        grid-template-columns: 1fr;
    }
}

.agf-form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.agf-form-field label {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #374151;
}

.agf-form-field input[type="text"],
.agf-form-field input[type="email"],
.agf-form-field input[type="tel"],
.agf-form-field textarea {
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.9375rem;
    color: #111;
    background: white;
    transition: border-color .2s, box-shadow .2s;
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
    outline: none;
    resize: vertical;
}

.agf-form-field input:focus,
.agf-form-field textarea:focus {
    border-color: #5ba895;
    box-shadow: 0 0 0 3px rgba(91, 168, 149, .15);
}

.agf-form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.agf-form-checkbox input[type="checkbox"] {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    accent-color: #5ba895;
    cursor: pointer;
}

.agf-form-checkbox label {
    font-size: 0.8125rem;
    color: #555;
    cursor: pointer;
    line-height: 1.5;
}

.agf-form-submit {
    width: 100%;
    padding: 13px;
    background: #5ba895;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    transition: background .2s, transform .2s;
    font-family: inherit;
    margin-top: 4px;
}

.agf-form-submit:hover {
    background: #4b9b89;
    transform: translateY(-1px);
}

/* Success / error notices */
.agf-form-success {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #f0faf7;
    border: 1.5px solid #5ba895;
    border-radius: 12px;
    padding: 20px 24px;
    color: #163a32;
    font-size: 0.9375rem;
    font-weight: 700;
}

.agf-form-error {
    background: #fef2f2;
    border: 1.5px solid #fca5a5;
    border-radius: 10px;
    padding: 14px 18px;
    color: #b91c1c;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 4px;
}

/* =================================================================
   AGF CUSTOM GUTENBERG BLOCKS
   ================================================================= */
.agf-block-section {
    padding: 70px 0
}

.agf-section-bg-white {
    background: #fff
}

.agf-section-bg-light {
    background: #f0f4f3
}

.agf-section-bg-dark {
    background: #07110f;
    color: #fff
}

.agf-block-section-inner {
    margin-inline: auto;
    padding-inline: 24px
}

.agf-max-3xl {
    max-width: 48rem
}

.agf-max-5xl {
    max-width: 64rem
}

.agf-max-7xl {
    max-width: 80rem
}

.agf-max-full {
    max-width: none
}

.agf-block-heading {
    display: flex;
    gap: 12px;
    margin: 0 0 22px;
    font-weight: 900;
    line-height: 1.22;
    color: #163a32
}

.agf-block-heading.align-center {
    justify-content: center;
    text-align: center
}

.agf-block-heading.align-right {
    justify-content: flex-end;
    text-align: right
}

.agf-heading-green-dot {
    color: #5ba895;
    font-size: 1.15rem
}

.agf-heading-plain {
    font-size: clamp(28px, 4vw, 52px);
    letter-spacing: -.04em
}

.agf-heading-hero {
    font-size: clamp(36px, 6vw, 72px);
    letter-spacing: -.05em;
    color: inherit
}

.agf-block-button-wrap {
    display: flex;
    margin: 20px 0
}

.agf-block-button-wrap.align-center {
    justify-content: center
}

.agf-block-button-wrap.align-right {
    justify-content: flex-end
}

.agf-block-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 13px 22px;
    font-weight: 900;
    text-decoration: none;
    transition: .25s ease
}

.agf-btn-primary {
    background: #5ba895;
    color: #fff
}

.agf-btn-primary:hover {
    background: #163a32;
    color: #fff;
    transform: translateY(-2px)
}

.agf-btn-dark {
    background: #07110f;
    color: #fff
}

.agf-btn-outline {
    border: 1px solid rgba(0, 0, 0, .18);
    color: #163a32;
    background: #fff
}

.agf-btn-outline:hover {
    border-color: #5ba895;
    color: #5ba895
}

.agf-block-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .10);
    object-fit: cover
}

.agf-block-image figcaption {
    margin-top: 10px;
    text-align: center;
    color: #666;
    font-size: .9rem
}

.agf-image-16-10 img {
    aspect-ratio: 16/10
}

.agf-image-16-9 img {
    aspect-ratio: 16/9
}

.agf-image-square img {
    aspect-ratio: 1/1
}

.agf-block-product-grid {
    display: grid;
    grid-template-columns: repeat(var(--agf-cols-desktop, 3), minmax(0, 1fr));
    gap: 36px 38px
}

.agf-block-product-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background: #fff;
    overflow: hidden;
    transition: .25s ease
}

.agf-block-product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 44px rgba(0, 0, 0, .10)
}

.agf-block-product-img {
    height: 177px;
    background: #eef3f5;
    overflow: hidden
}

.agf-block-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0;
    border-radius: 0;
    box-shadow: none
}

.agf-block-product-title {
    margin: 0;
    min-height: 78px;
    display: grid;
    place-items: center;
    padding: 16px 18px;
    background: #e9eef2;
    color: #2f3b8f;
    text-align: center;
    font-size: 23px;
    font-weight: 900;
    line-height: 1.25
}

.agf-block-download-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 32px
}

.agf-block-download-card {
    display: flex;
    min-height: 190px;
    flex-direction: column;
    justify-content: space-between;
    background: #fff;
    border: 2px solid #171717
}

.agf-block-download-main {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 18px;
    padding: 24px 18px 28px
}

.agf-block-download-icon {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 7px;
    background: #2f3b8f;
    color: #fff
}

.agf-block-download-card h3 {
    margin: 0 0 10px;
    color: #555;
    font-size: 18px;
    font-weight: 900
}

.agf-block-download-card p {
    margin: 0;
    max-width: 430px;
    color: #555;
    line-height: 1.55;
    font-size: 16px
}

.agf-block-download-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 52px;
    padding: 10px 18px;
    border-top: 2px solid #171717;
    color: #2f3b8f;
    font-weight: 900
}

.agf-block-download-action a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2f3b8f;
    text-decoration: none;
    font-size: 18px
}

.agf-block-download-action a:hover {
    color: #5ba895
}

.agf-block-logo-grid {
    display: grid;
    grid-template-columns: repeat(var(--agf-logo-cols, 5), minmax(0, 1fr));
    gap: 30px 48px;
    align-items: center;
    background: #fff
}

.agf-block-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px
}

.agf-block-logo-item img {
    max-width: 100%;
    max-height: 62px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0;
    border-radius: 0;
    box-shadow: none
}

.agf-block-logo-grid.is-grayscale img {
    filter: grayscale(1);
    opacity: .75
}

.agf-block-logo-grid.has-hover img {
    transition: .22s ease
}

.agf-block-logo-grid.has-hover .agf-block-logo-item:hover img {
    filter: none;
    opacity: 1;
    transform: scale(1.06)
}

.agf-block-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: #07110f
}

.agf-carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none
}

.agf-carousel-track::-webkit-scrollbar {
    display: none
}

.agf-carousel-slide {
    position: relative;
    flex: 0 0 100%;
    min-height: 420px;
    scroll-snap-align: start;
    color: #fff
}

.agf-carousel-slide>img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.48);
    margin: 0;
    border-radius: 0;
    box-shadow: none
}

.agf-carousel-content {
    position: relative;
    z-index: 1;
    max-width: 620px;
    padding: 80px 72px
}

.agf-carousel-content h3 {
    margin: 0;
    font-size: clamp(30px, 5vw, 58px);
    font-weight: 900;
    letter-spacing: -.04em;
    color: #fff
}

.agf-carousel-content p {
    margin: 18px 0 0;
    color: rgba(255, 255, 255, .75);
    font-size: 18px;
    line-height: 1.75
}

.agf-carousel-nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 30px;
    cursor: pointer
}

.agf-carousel-nav.prev {
    left: 18px
}

.agf-carousel-nav.next {
    right: 18px
}

.agf-carousel-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 18px;
    display: flex;
    justify-content: center;
    gap: 8px
}

.agf-carousel-dots button {
    width: 9px;
    height: 9px;
    border: 0;
    border-radius: 99px;
    background: rgba(255, 255, 255, .35);
    cursor: pointer
}

.agf-carousel-dots button.is-active {
    width: 24px;
    background: #5ba895
}

@media (max-width:900px) {
    .agf-block-product-grid {
        grid-template-columns: repeat(var(--agf-cols-tablet, 2), minmax(0, 1fr));
        gap: 24px
    }

    .agf-block-download-grid {
        grid-template-columns: 1fr
    }

    .agf-block-logo-grid {
        grid-template-columns: repeat(min(var(--agf-logo-cols, 5), 3), minmax(0, 1fr));
        gap: 24px 34px
    }

    .agf-carousel-content {
        padding: 70px 52px
    }
}

@media (max-width:640px) {
    .agf-block-section {
        padding: 46px 0
    }

    .agf-block-product-grid {
        grid-template-columns: repeat(var(--agf-cols-mobile, 1), minmax(0, 1fr));
        gap: 18px
    }

    .agf-block-product-img {
        height: 190px
    }

    .agf-block-product-title {
        font-size: 20px
    }

    .agf-block-download-main {
        grid-template-columns: 38px 1fr;
        padding: 20px 16px
    }

    .agf-block-logo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 28px
    }

    .agf-carousel-slide {
        min-height: 360px
    }

    .agf-carousel-content {
        padding: 62px 28px
    }

    .agf-carousel-nav {
        width: 36px;
        height: 36px
    }

    .agf-carousel-nav.prev {
        left: 10px
    }

    .agf-carousel-nav.next {
        right: 10px
    }
}


h4.agf-block-heading.agf-heading-green-dot.align-left {
    text-align: left !important;
}
.serif-font{
    font-family: 'Times New Roman', Times, serif !important;
}


#services > div.relative.z-10.mx-auto.max-w-6xl.px-4.sm\:px-6.lg\:px-8 > div.mx-auto.max-w-4xl.text-center > h2 > span:nth-child(1) {

    color:rgb(0, 0, 0) !important;
}

#services > div.relative.z-10.mx-auto.max-w-6xl.px-4.sm\:px-6.lg\:px-8 > div.mx-auto.max-w-4xl.text-center > h2 > span:nth-child(3) {

    color:rgba(0, 0, 0, 0.8) !important;
}