@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&family=Jost:wght@300;400;500;600;700&display=swap');

:root {
    --brand: #2196b8;
    --brand-dark: #1a7fa0;
    --brand-dim: rgba(33, 150, 184, .7);
    --dark: #2c2c2c;
    --body-text: #555555;
    --bg-light: #f5f5f3;
    --bg-blue: #d0e7f9;
    --footer-bg: #1a1a1a;
    --footer-txt: #808080;
    --card-gap: 7.5px;
}

::selection {
    color: var(--bg-light);
    background: var(--brand-dark);
}

::-webkit-scrollbar {
    z-index: 999;
    position: absolute;
    background: transparent;
    width: 6px;
}

::-webkit-scrollbar-thumb {
    background: var(--brand);
    border-radius: 50px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Jost', sans-serif;
    color: var(--dark);
    background: #fff;
    overflow-x: hidden;
    margin: 0;
}

header {
    display: none !important;
}

.sec {
    padding: 80px 0;
}

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

.section-label {
    font-family: 'Jost', sans-serif;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 2.5px;
    color: var(--brand);
    text-transform: uppercase;
}

.section-label-lg {
    font-family: 'Jost', sans-serif;
    font-weight: 500;
    font-size: clamp(15px, 2vw, 24px);
    letter-spacing: 2.5px;
    color: var(--brand);
}

.rule-h {
    display: inline-block;
    width: 40px;
    height: 1px;
    background: var(--brand);
    vertical-align: middle;
    flex-shrink: 0;
}

.rule-v {
    width: 70px;
    height: 2px;
    background: var(--brand);
}

.heading-xl {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: clamp(30px, 4.5vw, 55px);
    line-height: 1.1;
    color: var(--dark);
}

.heading-xl span {
    font-style: italic;
    color: var(--brand);
}

.heading-xxl {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: clamp(38px, 6vw, 80px);
    line-height: 1.05;
    color: var(--dark);
}

.heading-xxl span {
    font-style: italic;
    color: var(--brand);
}

.body-text {
    font-family: 'Jost', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.75;
    color: var(--body-text);
}


.img-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.img-wrap img {
    width: 100%;
    height: auto;
}

.img-wrap .corner-tr {
    position: absolute;
    top: -18px;
    right: -18px;
    width: 80px;
    height: 80px;
    border-top: 6px solid var(--brand);
    border-right: 6px solid var(--brand);
    pointer-events: none;
    z-index: 2;
}

.img-wrap .corner-bl {
    position: absolute;
    bottom: -18px;
    left: -18px;
    width: 80px;
    height: 80px;
    border-bottom: 6px solid var(--brand);
    border-left: 6px solid var(--brand);
    pointer-events: none;
    z-index: 2;
}


.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(60px, 10vw, 105px) clamp(20px, 8vw, 90px);
    overflow: hidden;
    text-align: center;
}

.hero .hero-bg {
    position: absolute;
    inset: 0;
}

.hero .hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(23.6deg,
                rgba(248, 248, 246, .7) 39%,
                rgba(238, 245, 248, .7) 82%,
                rgba(224, 239, 245, .7) 111%);
}

.hero .hero-bg picture source,
.hero .hero-bg picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-position: center;
}

.hero .hero-logo {
    position: relative;
    z-index: 2;
    width: clamp(100px, 14vw, 160px);
    margin-bottom: 36px;
}

.hero .hero-content {
    position: relative;
    z-index: 2;
}

.hero .tagline-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}


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

/* Header: 2-col on desktop, 1-col on mobile */
.services-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: 32px;
    margin-bottom: 44px;
}

.services-head p {
    font-family: 'Jost', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.75;
    color: var(--body-text);
    margin: 0;
}



/* ─── The grid itself ─── */
.services-grid {
    display: grid;
    gap: var(--card-gap);
    grid-template-columns: repeat(3, 1fr);
}

/* Last-row special spans */
.services-grid .span-2 {
    grid-column: span 2;
}

.services-grid .grid-img {
    grid-column: span 1;
}



/* ─── Service card ─── */
.service-card {
    background: #fff;
    padding: 40px 35px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}

/* Sliding-border hover */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--brand);
    transition: height .3s ease;
}

.service-card:hover::before {
    height: 100%;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .08);
}

/* SVG icon circle */
.svc-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(33, 150, 184, .08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    flex-shrink: 0;
    transition: background .25s;
}

.service-card:hover .svc-icon-wrap {
    background: rgba(33, 150, 184, .18);
}

.svc-icon-wrap svg {
    width: 30PX;
    height: 30PX;
    fill: var(--brand);
    display: block;
}

.svc-title {
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: .9px;
    text-transform: uppercase;
    color: var(--dark);
    margin-bottom: 8px;
}

.svc-desc {
    font-family: 'Jost', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.75;
    color: var(--body-text);
    margin: 0;
}

/* Field photo tile */
.grid-img {
    background-image: url(images/garden.webp);
    width: 100%;
    height: 100%;
    min-height: 220px;
    background-position: center;
    background-size: cover;
    border-left: 5px solid rgba(33, 150, 184, .8);
}


.commitment .commit-img {
    width: 100%;
    height: 370px;
    object-fit: cover;
    display: block;
}



.engagement-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.engagement-card .num {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 40px;
    line-height: 1;
    color: var(--brand);
    opacity: .35;
    min-width: 24px;
    padding-top: 2px;
}

.engagement-card .ec-title {
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: .9px;
    text-transform: uppercase;
    color: var(--dark);
    margin-bottom: 6px;
}

.engagement-card .ec-desc {
    font-family: 'Jost', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.75;
    color: var(--body-text);
    margin: 0;
}


.member {
    background: var(--bg-blue);
}

.member-heading {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: clamp(30px, 4.5vw, 55px);
    line-height: 1.1;
    color: var(--dark);
}

.member-heading span {
    font-style: italic;
    color: var(--brand);
}

.member p {
    font-family:'Jost',sans-serif;
    font-weight:400;
    font-size:16px;
    line-height:1.75;
    color:#1a1a1a;
    margin-bottom: 0;
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-icon-wrap {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(33, 150, 184, .15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon-wrap svg {
    width: 26px;
    height: 26px;
    fill: var(--brand);
    display: block;
}

.contact-text {
    font-family: 'Jost', sans-serif;
    font-weight: 500;
    font-size: 17px;
    letter-spacing: .6px;
    color: var(--dark);
    text-decoration: none;
}

.contact-text a {
    color: inherit;
    text-decoration: none;
    transition: color .2s;
}

.contact-text a:hover {
    color: var(--brand);
}

.social-btn {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: rgba(33, 150, 184, .12);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background .2s, transform .2s;
}

.social-btn:hover {
    background: var(--brand);
    transform: translateY(-2px);
}

.social-btn svg {
    width: 30px;
    height: 30px;
    fill: var(--brand);
    display: block;
    transition: fill .2s;
}

.social-btn:hover svg {
    fill: #fff;
}

.logos-col {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.logos-col .mj-logo {
    display: block;
    width: clamp(150px, 18vw, 220px);
    object-fit: contain;
}

.logos-col .db-logo {
    display: block;
    width: clamp(85px, 11vw, 130px);
    object-fit: contain;
}


.footer {
    background: var(--footer-bg);
    color: var(--footer-txt);
    font-family: 'Jost', sans-serif;
    font-weight: 500;
    font-size: 15px;
    padding: 26px clamp(20px, 6vw, 90px);
    text-align: center;
}


.fade-up {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .65s ease, transform .65s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ─── Layout helpers (replacing Bootstrap) ─── */

.container {
    width: 100%;
    max-width: 1320px;
    margin-inline: auto;
    padding-inline: clamp(20px, 5vw, 80px);
}

/* Two-column split used by who / commitment sections */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

/* Member section three-column */
.member-row {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr;
    align-items: center;
    gap: 40px;
}

/* Inline label row (section label + rule) */
.label-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

/* Services header row */
.services-header-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: 32px;
    margin-bottom: 44px;
}

.services-header-row p {
    font-family: 'Jost', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.75;
    color: var(--body-text);
    margin: 0;
}

/* Contact column flex stack */
.contact-col {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.socials-row {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    margin-top: 28px;
}

/* Mobile-only image block inside the text column */
.img-inline-mobile {
    display: none;
    justify-content: center;
    margin-bottom: 40px;
}

/* Spacing helpers */
.mb-3 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 24px; }
.mb-5 { margin-bottom: 48px; }


/* ------------ Responsive -------------- */

@media (max-width: 1023px) {

    .d-lg-show {
        display: none;
    }

    .two-col {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .member-row {
        grid-template-columns: 1fr 1fr;
        row-gap: 40px;
    }

    /* logos span both columns, sit first */
    .member-row .logos-col {
        grid-column: 1 / -1;
        order: -1;
    }

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

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

    .commitment .commit-img {
        height: auto;
    }

    .grid-img {
        display: none;
    }

    .services-header-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .img-inline-mobile {
        display: flex;
    }

    .services-grid .span-2 {
        grid-column: span 1;
    }

}

@media (max-width: 767px) {

    .img-wrap .corner-tr,
    .img-wrap .corner-bl {
        width: 52px;
        height: 52px;
    }

    .services-head {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .img-wrap {
        width: 85%;
    }

    .hero {
        min-height: 95vh;
    }

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

    .member-row {
        grid-template-columns: 1fr;
    }

    .member-row .logos-col {
        grid-column: 1;
        order: -1;
    }

}

@media (max-width: 575px) {

    .engagement-card {
        gap: 14px;
    }

    .engagement-card .num {
        font-size: 34px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

}

@media (min-width: 1024px) {

    .d-lg-none {
        display: none;
    }

    .d-lg-show {
        display: block;
    }

}