﻿/********** Template CSS **********/
:root {
    --primary: #0F766E;
    --secondary: #D7F64A;
    --light: #F7FAFC;
    --dark: #0B1120;
    --ink: #172033;
    --muted: #64748B;
    --line: #E5EDF4;
}

body {
    color: var(--ink);
    background: #FFFFFF;
    letter-spacing: 0;
}

p {
    color: var(--muted);
    line-height: 1.75;
}

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

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

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

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    border-radius: 8px;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #0B827E;
    border-color: #0B827E;
}

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


/*** Spinner ***/
.spinner {
    width: 40px;
    height: 40px;
    background: var(--primary);
    margin: 100px auto;
    -webkit-animation: sk-rotateplane 1.2s infinite ease-in-out;
    animation: sk-rotateplane 1.2s infinite ease-in-out;
}

@-webkit-keyframes sk-rotateplane {
    0% {
        -webkit-transform: perspective(120px)
    }
    50% {
        -webkit-transform: perspective(120px) rotateY(180deg)
    }
    100% {
        -webkit-transform: perspective(120px) rotateY(180deg) rotateX(180deg)
    }
}

@keyframes sk-rotateplane {
    0% {
        transform: perspective(120px) rotateX(0deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg)
    }
    50% {
        transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg)
    }
    100% {
        transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
        -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
    }
}

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Heading ***/
h1,
h2,
.fw-bold {
    font-weight: 800 !important;
}

h3,
h4,
.fw-semi-bold {
    font-weight: 700 !important;
}

h5,
h6,
.fw-medium {
    font-weight: 600 !important;
}


/*** Button ***/
.btn {
    font-family: 'Rubik', sans-serif;
    font-weight: 600;
    transition: .25s ease;
    border-radius: 8px;
}

.btn-primary,
.btn-secondary {
    color: #FFFFFF;
    box-shadow: inset 0 0 0 50px transparent;
}

.btn-primary:hover {
    box-shadow: inset 0 0 0 0 var(--primary);
}

.btn-secondary:hover {
    box-shadow: inset 0 0 0 0 var(--secondary);
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 30px;
    height: 30px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}


/*** Navbar ***/
.navbar-dark .navbar-nav .nav-link {
    font-family: 'Rubik', sans-serif;
    position: relative;
    margin-left: 20px;
    padding: 35px 0;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 600;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-dark .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--dark);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar-dark .navbar-brand h1 {
    color: #FFFFFF;
}

.navbar-brand h1 {
    font-size: 1.55rem;
    letter-spacing: 0;
    white-space: normal;
}

.navbar-dark .navbar-toggler {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-dark {
        position: relative;
        background: #FFFFFF;
    }

    .navbar-dark .navbar-nav .nav-link,
    .navbar-dark .navbar-nav .nav-link.show,
    .sticky-top.navbar-dark .navbar-nav .nav-link {
        padding: 10px 0;
        color: var(--dark);
    }

    .navbar-dark .navbar-brand h1 {
        color: var(--primary);
        font-size: 1.25rem;
    }
}

@media (min-width: 992px) {
    .navbar-dark {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(256, 256, 256, .1);
        z-index: 999;
    }
    
    .sticky-top.navbar-dark {
        position: fixed;
        background: #FFFFFF;
    }

    .navbar-dark .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        background: var(--primary);
        transition: .5s;
    }

    .navbar-dark .navbar-nav .nav-link:hover::before,
    .navbar-dark .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }

    .navbar-dark .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }

    .sticky-top.navbar-dark .navbar-brand h1 {
        color: var(--primary);
    }
}


/*** Carousel ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(11, 17, 32, .88), rgba(15, 118, 110, .50));
    z-index: 1;
}

.carousel-item img {
    min-height: 820px;
    object-fit: cover;
}

.carousel-caption h1 {
    max-width: 1040px;
    margin-left: auto;
    margin-right: auto;
    font-size: 3.55rem;
    line-height: 1.08;
}

.carousel-caption .p-3 {
    max-width: 980px !important;
}

.hero-lead {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.18rem;
    line-height: 1.7;
}

.hero-actions {
    margin-top: 10px;
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 28px;
}

.hero-proof span {
    color: #FFFFFF;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(10px);
    font-size: 14px;
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }

    .hero-lead {
        font-size: 1rem;
        line-height: 1.5;
    }

    .carousel-caption .btn {
        display: block;
        width: min(280px, 88vw);
        margin: 10px auto 0 !important;
        padding: 10px 16px !important;
        white-space: normal;
    }
}

@media (max-width: 991.98px) {
    .carousel-caption h1 {
        font-size: 2.75rem;
        line-height: 1.12;
    }
}

@media (max-width: 576px) {
    .carousel-caption h1 {
        font-size: 30px;
        line-height: 1.18;
    }
}

@media (max-width: 576px) {
    .carousel-item img {
        min-height: 760px;
    }

    .hero-proof {
        gap: 8px;
        margin-top: 64px;
    }

    .carousel-caption .hero-actions.animated,
    .carousel-caption .hero-proof.animated {
        animation: none !important;
    }

    .hero-proof span {
        font-size: 12px;
        padding: 6px 10px;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}


/*** Section Title ***/
.section-title::before {
    position: absolute;
    content: "";
    width: 120px;
    height: 3px;
    left: 0;
    bottom: 0;
    background: var(--primary);
    border-radius: 2px;
}

.section-title.text-center::before {
    left: 50%;
    margin-left: -60px;
}

.section-title.section-title-sm::before {
    width: 90px;
    height: 3px;
}

.section-title::after {
    display: none;
}


/*** Intelligence Sections ***/
.intelligence-problem {
    background: #FFFFFF;
}

.business-memory {
    background:
        linear-gradient(135deg, rgba(6, 163, 218, .08), rgba(9, 30, 62, .02)),
        #FFFFFF;
}

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

.before-after {
    background: #FFFFFF;
}

.outcomes-strip {
    background: var(--light);
}

.insight-card,
.use-case-card,
.memory-card,
.outcome-card,
.method-step {
    height: 100%;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #FFFFFF;
    box-shadow: 0 12px 38px rgba(15, 23, 42, .055);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.insight-card:hover,
.use-case-card:hover,
.memory-card:hover,
.outcome-card:hover,
.method-step:hover {
    transform: translateY(-4px);
    border-color: rgba(15, 118, 110, .28);
    box-shadow: 0 22px 56px rgba(15, 23, 42, .10);
}

.insight-card span,
.method-step span {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 12px;
    background: rgba(15, 118, 110, .10);
    color: var(--primary);
    font-weight: 700;
}

.insight-card h4,
.use-case-card h4,
.memory-card h4,
.outcome-card h4,
.method-step h4 {
    margin-bottom: 12px;
}

.comparison-panel {
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #FFFFFF;
    box-shadow: 0 18px 50px rgba(15, 23, 42, .06);
}

.comparison-before {
    background: linear-gradient(180deg, #FFFFFF, rgba(248, 250, 252, .92));
}

.comparison-after {
    border-color: rgba(15, 118, 110, .22);
    background:
        linear-gradient(135deg, rgba(6, 163, 218, .08), rgba(15, 118, 110, .08)),
        #FFFFFF;
}

.comparison-heading span {
    display: inline-flex;
    margin-bottom: 16px;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(15, 23, 42, .08);
    color: var(--dark);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.comparison-after .comparison-heading span {
    background: rgba(15, 118, 110, .12);
    color: var(--primary);
}

.comparison-heading h3 {
    margin-bottom: 24px;
    font-size: 24px;
    line-height: 1.35;
}

.comparison-list {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.comparison-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: #5A6578;
    line-height: 1.55;
}

.comparison-list i {
    display: inline-flex;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
    border-radius: 50%;
    font-size: 11px;
}

.comparison-before .comparison-list i {
    background: rgba(15, 23, 42, .08);
    color: #64748B;
}

.comparison-after .comparison-list i {
    background: rgba(15, 118, 110, .12);
    color: var(--primary);
}

.product-card {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #FFFFFF;
    box-shadow: 0 18px 48px rgba(15, 23, 42, .07);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: rgba(15, 118, 110, .28);
    box-shadow: 0 26px 70px rgba(15, 23, 42, .12);
}

.product-preview {
    min-height: 190px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background:
        radial-gradient(circle at 18% 18%, rgba(215, 246, 74, .20), transparent 28%),
        radial-gradient(circle at 82% 24%, rgba(6, 163, 218, .18), transparent 30%),
        linear-gradient(135deg, #0B1120, #142238);
    color: #FFFFFF;
}

.product-preview span {
    width: fit-content;
    margin-bottom: auto;
    padding: 6px 11px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .74);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.product-preview strong {
    font-size: 28px;
    line-height: 1.1;
}

.product-preview small {
    margin-top: 8px;
    color: rgba(255, 255, 255, .72);
}

.agro-preview {
    background:
        radial-gradient(circle at 20% 18%, rgba(215, 246, 74, .22), transparent 28%),
        radial-gradient(circle at 82% 24%, rgba(15, 118, 110, .30), transparent 30%),
        linear-gradient(135deg, #0B1120, #12352F);
}

.future-preview {
    background:
        radial-gradient(circle at 24% 20%, rgba(6, 163, 218, .20), transparent 30%),
        radial-gradient(circle at 80% 22%, rgba(215, 246, 74, .16), transparent 28%),
        linear-gradient(135deg, #101827, #1B2540);
}

.product-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 30px;
}

.product-body h5 {
    color: var(--primary);
}

.product-body .btn {
    margin-top: auto;
}

.gap-2 {
    gap: .5rem;
}

.intelligence-system {
    background:
        radial-gradient(circle at 18% 20%, rgba(215, 246, 74, .18), transparent 24%),
        radial-gradient(circle at 82% 12%, rgba(15, 118, 110, .22), transparent 25%),
        #0B1120;
}

.intelligence-system h1,
.intelligence-system h5,
.intelligence-system p {
    color: #FFFFFF;
}

.intelligence-system p {
    color: rgba(255, 255, 255, .76);
}

.system-map {
    position: relative;
    min-height: 440px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 22px;
    background:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 44px 44px;
    overflow: hidden;
}

.system-map::before {
    position: absolute;
    content: "";
    width: 260px;
    height: 260px;
    left: 50%;
    top: 50%;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.system-core,
.system-node {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #FFFFFF;
}

.system-core {
    left: 50%;
    top: 50%;
    width: 178px;
    height: 178px;
    flex-direction: column;
    border-radius: 34px;
    background: linear-gradient(135deg, var(--primary), #172033);
    box-shadow: 0 28px 80px rgba(0, 0, 0, .35);
    transform: translate(-50%, -50%);
}

.system-core small {
    color: rgba(255, 255, 255, .70);
    text-transform: uppercase;
    letter-spacing: 0;
}

.system-core strong {
    max-width: 130px;
    font-size: 21px;
    line-height: 1.2;
}

.system-node {
    min-width: 118px;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(10px);
    font-weight: 600;
}

.node-1 { left: 8%; top: 18%; }
.node-2 { right: 8%; top: 18%; }
.node-3 { left: 10%; bottom: 18%; }
.node-4 { right: 10%; bottom: 18%; }
.node-5 { left: 50%; top: 8%; transform: translateX(-50%); }
.node-6 { left: 50%; bottom: 8%; transform: translateX(-50%); }

.method-strip,
.use-cases {
    background: var(--light);
}

.method-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 16px;
}

.method-step {
    padding: 22px;
}

.method-step h4 {
    font-size: 18px;
}

.method-step p {
    font-size: 14px;
    line-height: 1.6;
}

.use-case-card i {
    display: inline-flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 15px;
    background: rgba(15, 118, 110, .10);
    color: var(--primary);
    font-size: 20px;
}

.memory-card i {
    display: inline-flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 15px;
    background: rgba(6, 163, 218, .10);
    color: var(--primary);
    font-size: 20px;
}

.outcome-card i {
    display: inline-flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 15px;
    background: rgba(15, 118, 110, .10);
    color: var(--primary);
    font-size: 20px;
}

@media (max-width: 1199.98px) {
    .method-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .method-grid {
        grid-template-columns: 1fr;
    }

    .system-map {
        min-height: 520px;
    }

    .system-node {
        min-width: 104px;
        font-size: 13px;
    }
}

.section-title.section-title-sm::after {
    width: 4px;
    height: 3px;
}

.section-title.text-center::after {
    -webkit-animation: section-title-run-center 5s infinite linear;
    animation: section-title-run-center 5s infinite linear;
}

.section-title.section-title-sm::after {
    -webkit-animation: section-title-run-sm 5s infinite linear;
    animation: section-title-run-sm 5s infinite linear;
}

@-webkit-keyframes section-title-run {
    0% {left: 0; } 50% { left : 145px; } 100% { left: 0; }
}

@-webkit-keyframes section-title-run-center {
    0% { left: 50%; margin-left: -75px; } 50% { left : 50%; margin-left: 45px; } 100% { left: 50%; margin-left: -75px; }
}

@-webkit-keyframes section-title-run-sm {
    0% {left: 0; } 50% { left : 85px; } 100% { left: 0; }
}


/*** Service ***/
.service-item {
    position: relative;
    min-height: 340px;
    padding: 38px 30px;
    transition: .25s ease;
    border: 1px solid var(--line);
    background: #FFFFFF !important;
    box-shadow: 0 12px 40px rgba(15, 23, 42, .06);
}

.service-item .service-icon {
    margin-bottom: 26px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 16px;
    transform: none;
    box-shadow: 0 14px 30px rgba(15, 118, 110, .25);
}

.service-item .service-icon i {
    transform: none;
}

.service-item a.btn {
    position: absolute;
    width: 60px;
    bottom: -48px;
    left: 50%;
    margin-left: -30px;
    opacity: 0;
}

.service-item:hover a.btn {
    bottom: -24px;
    opacity: 1;
}

.service-item:hover {
    transform: translateY(-4px);
}

.service-item:hover {
    border-color: rgba(15, 118, 110, .28);
    box-shadow: 0 22px 55px rgba(15, 23, 42, .10);
}


/*** Testimonial ***/
.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: #DDDDDD;
    border-radius: 2px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--primary);
}

.testimonial-carousel .owl-item.center {
    position: relative;
    z-index: 1;
}

.testimonial-carousel .owl-item .testimonial-item {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: #FFFFFF !important;
    box-shadow: 0 0 30px #DDDDDD;
}


/*** Team ***/
.kairon-builders {
    background:
        linear-gradient(180deg, #FFFFFF, rgba(248, 250, 252, .84)),
        #FFFFFF;
}

.team-intro {
    max-width: 940px;
    margin-bottom: 58px;
    text-align: center;
}

.team-kicker {
    display: inline-flex;
    margin-bottom: 20px;
    padding: 7px 13px;
    border: 1px solid rgba(15, 118, 110, .16);
    border-radius: 999px;
    background: rgba(15, 118, 110, .06);
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.team-intro h1 {
    max-width: 760px;
    margin: 0 auto 24px;
    color: #0B1120;
    font-size: 44px;
    line-height: 1.12;
}

.team-intro p {
    max-width: 860px;
    margin: 0 auto 12px;
    color: #566173;
    font-size: 18px;
    line-height: 1.75;
}

.team-roster {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.builder-card {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 24px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 22px 70px rgba(15, 23, 42, .075);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.builder-card:hover {
    transform: translateY(-6px);
    border-color: rgba(15, 118, 110, .22);
    box-shadow: 0 30px 90px rgba(15, 23, 42, .12);
}

.builder-photo {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #EEF3F7;
}

.builder-photo::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(180deg, rgba(11, 17, 32, 0), rgba(11, 17, 32, .10));
    pointer-events: none;
}

.builder-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.92) contrast(1.02);
    transition: transform .5s ease, filter .5s ease;
}

.builder-card:hover .builder-photo img {
    transform: scale(1.035);
    filter: saturate(1) contrast(1.04);
}

.builder-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 34px;
}

.builder-index {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 18px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, .05);
    color: #64748B;
    font-size: 12px;
    font-weight: 800;
}

.builder-content h3 {
    margin-bottom: 8px;
    color: #0B1120;
    font-size: 23px;
    line-height: 1.22;
}

.builder-role {
    margin-bottom: 20px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.builder-mission {
    min-height: 82px;
    margin-bottom: 26px;
    color: #4B5563;
    font-size: 17px;
    line-height: 1.62;
}

.builder-section {
    margin-top: 4px;
    padding-top: 22px;
    border-top: 1px solid rgba(15, 23, 42, .08);
}

.builder-section h4 {
    margin-bottom: 13px;
    color: #111827;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.builder-chips,
.builder-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.builder-chips span,
.builder-badges span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.builder-chips span {
    border: 1px solid rgba(15, 23, 42, .08);
    background: #F8FAFC;
    color: #475569;
}

.builder-badges span {
    border: 1px solid rgba(15, 118, 110, .14);
    background: rgba(15, 118, 110, .07);
    color: #0F766E;
}

.builder-link {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 28px;
    color: #0B1120;
    font-size: 14px;
    font-weight: 800;
}

.builder-link i {
    transition: transform .2s ease;
}

.builder-link:hover {
    color: var(--primary);
}

.builder-link:hover i {
    transform: translateX(4px);
}

.blog-item .blog-img img  {
    transition: .5s;
}

.blog-item:hover .blog-img img {
    transform: scale(1.15);
}

@media (max-width: 1199.98px) {
    .team-roster {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .team-intro {
        margin-bottom: 38px;
        text-align: left;
    }

    .team-intro h1 {
        font-size: 32px;
    }

    .team-intro p {
        font-size: 16px;
    }

    .team-roster {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .builder-content {
        padding: 26px;
    }

    .builder-mission {
        min-height: auto;
    }
}


/*** Miscellaneous ***/
@media (min-width: 991.98px) {
    .facts {
        position: relative;
        margin-top: -75px;
        z-index: 1;
    }
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.bg-header {
    background: linear-gradient(rgba(11, 17, 32, .82), rgba(15, 118, 110, .55)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.link-animated a {
    transition: .5s;
}

.link-animated a:hover {
    padding-left: 10px;
}

@media (min-width: 767.98px) {
    .footer-about {
        margin-bottom: -75px;
    }
}

.footer-about > div {
    background: linear-gradient(145deg, #07182F 0%, #0A2A38 48%, #0F766E 100%) !important;
    color: #FFFFFF;
}

.footer-about p {
    color: rgba(255, 255, 255, .88);
}

.footer-about .btn-dark {
    border-color: #FFFFFF;
    background: #FFFFFF;
    color: #0B1120;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .18);
}

.footer-about .btn-dark:hover {
    border-color: #E8EEF5;
    background: #E8EEF5;
    color: #0B1120;
}

.footer-legal-copy {
    color: rgba(255, 255, 255, .78);
    font-size: 14px;
    line-height: 1.6;
}

.footer-template-credit {
    color: rgba(255, 255, 255, .36);
    font-size: 11px;
}

.footer-template-credit a {
    color: rgba(255, 255, 255, .42);
    border-bottom: 1px solid rgba(255, 255, 255, .18);
}


/*** Team Profiles ***/
.profile-hero {
    background:
        radial-gradient(circle at 14% 16%, rgba(15, 118, 110, .12), transparent 24%),
        linear-gradient(180deg, #FFFFFF, #F8FAFC);
}

.profile-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
    gap: 42px;
    align-items: center;
}

.profile-eyebrow {
    display: inline-flex;
    margin-bottom: 20px;
    padding: 7px 13px;
    border: 1px solid rgba(15, 118, 110, .16);
    border-radius: 999px;
    background: rgba(15, 118, 110, .06);
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.profile-hero h1 {
    margin-bottom: 18px;
    color: #0B1120;
    font-size: 52px;
    line-height: 1.08;
}

.profile-role {
    margin-bottom: 22px;
    color: var(--primary);
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
}

.profile-lead {
    max-width: 760px;
    color: #4B5563;
    font-size: 19px;
    line-height: 1.75;
}

.profile-photo {
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 28px;
    background: #EEF3F7;
    box-shadow: 0 28px 80px rgba(15, 23, 42, .12);
}

.profile-photo img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
}

.profile-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, .72fr);
    gap: 28px;
}

.profile-panel {
    height: 100%;
    padding: 34px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 22px;
    background: #FFFFFF;
    box-shadow: 0 18px 55px rgba(15, 23, 42, .06);
}

.profile-panel h2 {
    margin-bottom: 18px;
    color: #0B1120;
    font-size: 25px;
}

.profile-panel p {
    color: #566173;
    font-size: 16px;
    line-height: 1.75;
}

.profile-chip-list,
.profile-line-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.profile-chip-list li,
.profile-line-list li {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.profile-chip-list li {
    border: 1px solid rgba(15, 23, 42, .08);
    background: #F8FAFC;
    color: #475569;
}

.profile-line-list li {
    border: 1px solid rgba(15, 118, 110, .14);
    background: rgba(15, 118, 110, .07);
    color: #0F766E;
}

.profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

@media (max-width: 991.98px) {
    .profile-shell,
    .profile-grid {
        grid-template-columns: 1fr;
    }

    .profile-hero h1 {
        font-size: 40px;
    }
}

@media (max-width: 575.98px) {
    .profile-hero h1 {
        font-size: 32px;
    }

    .profile-lead {
        font-size: 17px;
    }

    .profile-panel {
        padding: 26px;
    }

    .profile-photo img {
        min-height: 320px;
    }
}
