/* =========================
   GLOBAL
========================= */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #555;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.5px;
}

h1 { font-size: 48px; }
h2 { font-size: 36px; }
h3 { font-size: 24px; }
h4 { font-size: 18px; }

:root {
  --text: #0f172a;
  --muted: #64748b;
  --bg: #ffffff;
  --soft: #f8fafc;
  --accent: #7FB1C5;
}

/* GLOBAL SPACING */
section {
  padding: 100px 0;
}

.container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
}

/* button */

.btn-primary {

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:16px 38px;

    border-radius:50px;

    font-weight:600;

    background:var(--accent); /* light blue */

    color:#ffffff;

    text-decoration:none;

    border:none;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background .25s ease;

}


.btn-primary:hover {

    transform:translateY(-3px);

    background:#1e293b; /* slightly deeper blue */

    box-shadow:
        0 15px 35px rgba(0,0,0,.15);

}

/* =========================
   PAGE HERO (GLOBAL SYSTEM)
========================= */

.page-hero {
    position: relative;

    /* Designed for wide panoramic architectural photography */
    height: clamp(180px, 20vw, 300px);

    margin-top: var(--navbar-height);

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
    color: #fff;

    overflow: hidden;
}


/* =========================
   BACKGROUND IMAGE
========================= */

.page-hero__bg {
    position: absolute;
    inset: 0;

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}


/* =========================
   OVERLAY
========================= */

.page-hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;

    /*
       Keep the sky bright while giving
       the text enough contrast.
    */
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.05),
        rgba(0, 0, 0, 0.22)
    );
}


/* =========================
   CONTENT
========================= */

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

    width: 100%;
    max-width: 900px;

    padding: 0 20px;
}


/* =========================
   HEADING
========================= */

.page-hero__content h1 {
    margin: 0;

    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.1;

    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}


/* =========================
   INTRO TEXT
========================= */

.page-hero__content .page-intro {
    max-width: 65ch;

    margin: 12px auto 0;

    color: rgba(255, 255, 255, 0.9);

    line-height: 1.5;

    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.18);
}


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

@media (max-width: 600px) {

    .page-hero {
        height: clamp(180px, 30vw, 240px);
    }

    .page-hero__content {
        padding: 0 16px;
    }

    .page-hero__content h1 {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

    .page-hero__content .page-intro {
        margin-top: 10px;
    }
}

/* Home section scroll offset */
#home {
    scroll-margin-top: 75px; /* full non-shrunk navbar height: logo 60px + padding 1.2rem */
}
/* =========================
   NAVBAR
========================= */
:root {
    --navbar-height: 80px;
}

.custom-navbar {
    background: #ffffff;
    padding: 1.2rem 0;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03); 
}

.custom-navbar.scrolled {
    padding: 0.6rem 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}

/* Logo */
.navbar-brand .logo {
    height: 60px;
    transition: height 0.3s ease;
}

.custom-navbar.scrolled .logo {
    height: 45px;
}

.logo {
    height: 60px;
    width: auto;
    display: block;
}

/* Nav links */
.navbar-nav .nav-link {
    color: #808291;
    margin-right: 1rem;
    display: inline-block;
    letter-spacing: 2px;
    padding: 5px 0 !important;
    position: relative;
    transition: color 0.3s ease, transform 0.3s ease;
}

.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    left: 0;
    bottom: -4px;
    background-color: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--accent);
    transform: scale(1.05);
}

.navbar-nav .nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.navbar-nav .nav-link.active {
    color: var(--accent);
}

.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

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

.footer-container {

    max-width:1400px;

    margin:0 auto;

    padding:0 24px;

}


.site-footer {

    position:relative;

    background:#2f4648;

    color:#ffffff;

    padding:45px 0 15px;

}


.site-footer a {

    color:#ffffff;

    text-decoration:none;

    transition:color .25s ease;

}

/* ==========================
   FOOTER GRID
========================== */

.footer-grid {

    display:grid;

    grid-template-columns:1fr 1fr 1fr;

    gap:40px;

    align-items:start;

    max-width:1180px;

    margin:0 auto;

    padding:0 24px 50px;

}



/* ==========================
   ABOUT COLUMN
========================== */

.footer-about {

    justify-self:center;

    text-align:center;

    max-width:360px;

}


.footer-logo {
    display: block;
    width: 360px;
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}


.footer-about h3 {

    color:#fff;

    margin:0 0 12px;

    font-size:1.6rem;

    font-weight:600;

}


.footer-about p {

    margin:0;

    line-height:1.7;

    color:#fff;

}



/* ==========================
   COMPANY COLUMN
========================== */

.footer-company {

    justify-self:center;

    text-align:center;

    padding-left:0;

}


.footer-company ul {

    list-style:none;

    padding:0;

    margin:0;

}


.footer-company li {

    margin-bottom:12px;

}


.footer-company a {

    color:#fff;

}


.footer-company a:hover {

    color:var(--accent);

}



/* ==========================
   CONTACT COLUMN
========================== */

.footer-contact {

    justify-self:center;

    text-align:center;

    padding-left:20px;

    max-width: 290px;

}


.footer-contact ul {

    list-style:none;

    padding:0;

    margin:0;

}


.footer-contact p {

    margin:0 0 5px;

    line-height:1.4;

}



/* ==========================
   SOCIAL ICONS
========================== */

.footer-social {

    display:flex;

    justify-content:center;

    gap:14px;

    margin-top:20px;

}


.footer-social a {

    display:flex;

    align-items:center;

    justify-content:center;

    width:42px;

    height:42px;

    border-radius:50%;

    border:1px solid rgba(255,255,255,.15);

    color:#fff;

    font-size:1.1rem;

    transition:all .25s ease;

}


.footer-social a:hover {

    color:#fff;

    background:var(--accent);

    border-color:var(--accent);

    transform:translateY(-2px);

}



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

.footer-bottom {

    border-top:1px solid rgba(255,255,255,.08);

    padding:20px 0;

}


.footer-bottom p {

    margin:0;

    text-align:center;

    color:#8f9aa1;

    font-size:.9rem;

}



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

@media(max-width:900px){


    .footer-grid {

        grid-template-columns:1fr;

        gap:45px;

        text-align:center;

        padding-bottom:40px;

    }


    .footer-about,
    .footer-company,
    .footer-contact {

        justify-self:center;

        text-align:center;

        padding-left:0;

        max-width:100%;

    }


    .footer-about p {

        max-width:360px;

        margin:0 auto;

    }


    .footer-company ul {

        display:flex;

        flex-direction:column;

        align-items:center;

    }


    .footer-social {

        justify-content:center;

    }

}



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

@media(max-width:480px){


    .footer-container {

        padding:0 18px;

    }


    .site-footer {

        padding:40px 0 15px;

    }


    .footer-grid {

        gap:38px;

        padding:0 10px 35px;

    }


    .footer-about h3 {

        font-size:1.4rem;

    }


    .footer-about p {

        font-size:.95rem;

        line-height:1.65;

    }


    .footer-company li {

        margin-bottom:12px;

    }


    .footer-company a {

        display:inline-block;

        padding:4px 0;

    }


    .footer-contact p {

        font-size:.95rem;

    }


    .footer-social a {

        width:40px;

        height:40px;

    }


    .footer-bottom {

        padding:18px 10px;

    }


    .footer-bottom p {

        font-size:.8rem;

        line-height:1.5;

    }

}

@media (max-width: 768px) {
    .footer-logo {
        width: 300px;
    }
}

/* =========================
   SPLIT HERO - HOME
========================= */

.split-hero-contained {
    margin-top: 90px;
    padding: clamp(60px, 8vh, 120px) clamp(20px, 5vw, 60px);
    background: #fff;
}

/* =========================
   WRAPPER
========================= */

.split-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;

    /* 👇 MORE BREATHING ROOM */
    gap: clamp(24px, 3vw, 65px);

    align-items: stretch;
}

/* =========================
   CARD BASE
========================= */

.split-item {
    position: relative;
    flex: 1;
    height: clamp(400px, 55vh, 520px);

    overflow: hidden;
    cursor: pointer;
    border-radius: 12px;

    box-shadow: 0 10px 25px rgba(0,0,0,0.08);

    /* Page-load state */
    opacity: 0;

    transition:
        flex .5s ease,
        box-shadow .4s ease,
        transform .9s cubic-bezier(.22,.61,.36,1),
        opacity .9s ease;
}

/* Initial positions */
.split-item.left {
    transform: translateX(-70px);
}

.split-item.right {
    transform: translateX(70px);
}

/* =========================
   PAGE LOAD REVEAL
========================= */

.split-hero-contained.loaded .split-item {
    opacity: 1;
    transform: translateX(0);
}

.split-hero-contained.loaded .split-item.right {
    transition-delay: .12s;
}

/* =========================
   IMAGE
========================= */

.split-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition: transform 0.8s ease;
}

/* =========================
   HOVER SYSTEM (SIMPLIFIED)
========================= */

/* soften non-hover card */
.split-wrapper:hover .split-item {
    flex: 0.9;
}

/* active card */
.split-wrapper .split-item:hover {
    flex: 1.15;
    box-shadow: 0 25px 60px rgba(0,0,0,0.18);
    z-index: 2;
}

/* image zoom */
.split-item:hover .split-img img {
    transform: scale(1.06);
}

/* =========================
   HEADER LABEL
========================= */

.card-header-label {
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 3;
}

.card-header-label h2 {
    font-size: 1.4rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 500;

    color: var(--accent);

    padding-left: 12px;
    border-left: 2px solid var(--accent);
}

/* BUILD label */
.split-item.right .card-header-label h2 {
    color: #02342a;
    border-left-color: #02342a;
}

/* =========================
   OVERLAY BASE
========================= */

.overlay {
    position: absolute;
    inset: 0;

    background: rgba(0,0,0,0);

    transition: background 0.4s ease;
}

.split-item:hover .overlay {
    background: rgba(0,0,0,0.45);
}

/* =========================
   OVERLAY CONTENT
========================= */

.overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;

    transform: translate(-50%, -45%);
    opacity: 0;

    text-align: center;
    max-width: 60%;

    color: #fff;

    transition: opacity 0.45s ease, transform 0.45s ease;
}

.split-item:hover .overlay-content {
    transform: translate(-50%, -50%);
    opacity: 1;
}

.overlay-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.9);
}

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

@media (max-width: 768px) {

    .split-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .split-item {
        height: 320px;
    }

    .split-wrapper:hover .split-item,
    .split-wrapper .split-item:hover {
        flex: 1;
        transform: none;
    }
}

/* =========================
   LARGE SCREENS
========================= */

@media (min-width: 1400px) {
    .split-wrapper {
        max-width: 1100px;
    }

    .split-item {
        height: 480px;
    }
}

/* =========================
   SERVICES (IMAGE CARDS)
========================= */

.services-section {
    padding: 50px 20px 80px;
    background: #eef5f8;
    position: relative;
}

.services-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at 20% 30%,
        rgba(255,255,255,0.4),
        transparent 60%
    );
    pointer-events: none;
}

/* Header */
.section-header {
    margin-bottom: 70px;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.6rem;
    font-weight: 500;
    color: #111;
}

.section-header h2::after {
    content: "";
    display: block;
    width: 290px;
    height: 2px;
    background: var(--accent);
    margin: 12px auto 0;
}

.section-header p {
    font-family: 'Inter', sans-serif;
    color: #666;
    max-width: 650px;
    margin: 20px auto 0;
    line-height: 1.7;
}

/* Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* Card */
.service-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.45s ease;
    box-shadow: 0 18px 40px rgba(0,0,0,0.1); /* slightly stronger shadow */
    border: 1px solid rgba(0,0,0,0.03);
    border-top: 3px solid var(--accent);
}

.service-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 35px 70px rgba(0,0,0,0.15);
}

.service-card:hover .service-content h3 {
    color: var(--accent);
}

/* Image */
.service-image {
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.08);
}

/* =========================
   SERVICES REVEAL
========================= */

.section-header,
.service-card {
    opacity: 0;
    transform: translateY(35px);
}

.section-header {
    transition:
        opacity .7s ease,
        transform .7s ease;
}

.service-card {
    transition:
        opacity .7s ease,
        transform .7s ease,
        box-shadow .45s ease;
}

.services-section.visible .section-header,
.services-section.visible .service-card {
    opacity: 1;
    transform: translateY(0);
}

.services-section.visible .service-card:nth-child(1) {
    transition-delay: .10s;
}

.services-section.visible .service-card:nth-child(2) {
    transition-delay: .22s;
}

.services-section.visible .service-card:nth-child(3) {
    transition-delay: .34s;
}

.service-image img {
    transform: scale(1.06);
    transition: transform 1s ease;
}

.services-section.visible .service-image img {
    transform: scale(1);
}

.service-card:hover .service-image img {
    transform: scale(1.08);
}

/* Content */
.service-content {
    padding: 30px;
}

.service-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: #111;
}

.service-content h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--accent);
    margin-bottom: 12px;
}

.service-content p {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* =========================
   Clients Section 
========================= */

.clients-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 80px;
    align-items: center;
}

/* =========================
   CLIENTS REVEAL
========================= */

.clients-content {
    opacity: 0;
    transform: translateX(-40px);
    transition:
        opacity .7s ease,
        transform .7s ease;
}

.divider-clients {
    width: 0;
    transition: width .7s ease .25s;
}

.client-logo {
    opacity: 0;
    transform: translateY(25px);
    transition:
        opacity .6s ease,
        transform .6s ease,
        box-shadow .3s ease;
}

.clients-section.visible .clients-content {
    opacity: 1;
    transform: translateX(0);
}

.clients-section.visible .divider-clients {
    width: 120px;
}

.clients-section.visible .client-logo {
    opacity: 1;
    transform: translateY(0);
}

.clients-section.visible .client-logo:nth-child(1) {
    transition-delay: .20s;
}

.clients-section.visible .client-logo:nth-child(2) {
    transition-delay: .30s;
}

.clients-section.visible .client-logo:nth-child(3) {
    transition-delay: .40s;
}

.clients-section.visible .client-logo:nth-child(4) {
    transition-delay: .50s;
}

.clients-section.visible .client-logo:nth-child(5) {
    transition-delay: .60s;
}

.clients-section.visible .client-logo:nth-child(6) {
    transition-delay: .70s;
}

.clients-eyebrow {
    display: block;
    font-size: 0.75rem;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
}

.divider-clients {
    width: 120px;
    height: 2px;
    background: var(--accent);
    margin: 14px 0 28px;
}


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

.client-logo {
    display: flex;
    justify-content: center;
    align-items: center;

    padding: 24px;

    background: #fff;
    border: 1px solid rgba(0,0,0,.06);

    transition: .3s ease;
}

.client-logo img {
    max-width: 140px;
    max-height: 70px;

    filter: grayscale(100%);
    opacity: .65;

    transition: .3s ease;
}

.client-logo:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0,0,0,.08);
}

.client-logo:hover img {
    filter: none;
    opacity: 1;
}

@media (max-width: 900px) {

    .clients-section {
        padding: 70px 20px;
    }

    .clients-layout {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .clients-content {
        text-align: center;
        max-width: 650px;
        margin: 0 auto;
    }

    .divider-clients {
        margin: 18px auto 30px;
    }

    .clients-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .client-logo {
        min-height: 110px;
        padding: 26px;
    }

}

@media (max-width: 576px) {

    .clients-section {
        padding: 60px 20px;
    }

    .clients-logos {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin: 0 auto;
        gap: 18px;
    }

    .client-logo {
        padding: 28px;
    }

    .client-logo img {
        max-width: 160px;
        max-height: 80px;
    }

}

/* =========================
   Testimonials Section (Home)
========================= */

.testimonials-section {
    position: relative;
    padding: 120px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* =========================
   Container
========================= */

.testimonial-wrapper {
    width: min(900px, 100%);
    margin: 0 auto;
}

/* =========================
   Header
========================= */

.testimonial-header {
    text-align: left;
    margin: 0;
}

.testimonial-header h2 {
    color: #fff;
}

.testimonial-header p {
    color: rgba(255,255,255,.9);
    max-width: 540px;
    margin: 0;
}

.testimonial-header .section-eyebrow {
    color: #fff;
}

.testimonial-header .divider-home {
    background: #fff;
    margin-left: 0;
    margin-right: 0;
}


/* =========================
   Slider
========================= */

.testimonial-slider {
    position: relative;
    margin-top: 50px;
    min-height: 360px;
}


/* =========================
   Testimonial Card
========================= */

.testimonial-card {

    display: none;

    width: 100%;
    height: 100%;

    align-items: center;
    gap: 48px;

    background: #fff;

    border-radius: 12px;

    padding: 40px 48px;

    box-shadow: 0 18px 45px rgba(0,0,0,.10);

    box-sizing: border-box;

    animation: fade .4s ease;
}


.testimonial-card.active {
    display: flex;
}


/* =========================
   Client
========================= */

.testimonial-client {

    flex: 0 0 240px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding-right: 40px;

    border-right: 1px solid var(--accent);

}


.testimonial-client h4 {

    margin: 0;

    font-family: "Playfair Display", serif;

    font-size: 1.5rem;

    font-weight: 500;

}


.testimonial-client span {

    margin-top: 10px;

    color: var(--accent);

    font-size: .95rem;

    letter-spacing: .05em;

    text-transform: uppercase;

}


/* =========================
   Quote
========================= */

.testimonial-quote {

    flex: 1;

    display: flex;

    flex-direction: column;

    justify-content: center;

}


.testimonial-quote blockquote {

    margin: 0;

    font-size: 1.1rem;

    line-height: 1.9;

}


/* =========================
   Slider Controls
========================= */

.testimonial-dots {

    display: flex;

    justify-content: center;

    gap: 12px;

    margin-top: 30px;

}


.testimonial-dot {

    width: 12px;

    height: 12px;

    border-radius: 50%;

    border: none;

    background: rgba(255,255,255,.45);

    cursor: pointer;

    transition: .3s;

}


.testimonial-dot.active {

    background: #fff;

}


/* =========================
   Animation
========================= */

@keyframes fade {

    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =========================
   Tablet / Mobile
========================= */

@media (max-width: 768px) {


    .testimonials-section {

        padding: 80px 20px;

    }


    .testimonial-wrapper {

        width: 100%;

    }


    .testimonial-header {

        text-align: center;
        margin:0 auto;

    }


    .testimonial-header p {

        margin-left:auto;
        margin-right:auto;

    }

    .testimonial-header .divider-home {
        margin-left:auto;
        margin-right:auto;
    }

    .testimonial-slider {

        margin-top: 40px;

        min-height: 420px;

    }


    .testimonial-card {

        flex-direction: column;

        align-items: center;

        text-align: center;

        gap: 28px;

        padding: 32px 28px;

    }


    .testimonial-client {

        width: 100%;

        flex: none;

        align-items: center;

        text-align: center;

        padding: 0 0 22px;

        border-right: none;

        border-bottom: 1px solid rgba(0,0,0,.08);

    }


    .testimonial-client h4 {

        font-size: 1.35rem;

    }


    .testimonial-client span {

        margin-top: 8px;

        font-size: .85rem;

    }


    .testimonial-quote {

        text-align: center;

    }


    .testimonial-quote blockquote {

        font-size: 1rem;

        line-height: 1.8;

    }


    .testimonial-dot {

        width: 14px;

        height: 14px;

    }

}


/* =========================
   Small Mobile
========================= */

@media (max-width: 480px) {


    .testimonials-section {

        padding: 65px 16px;

    }


    .testimonial-header h2 {

        font-size: 1.8rem;

        line-height: 1.2;

    }


    .testimonial-header p {

        max-width: 310px;

    }


    .testimonial-slider {

        min-height: 500px;

    }


    .testimonial-card {

        padding: 24px 20px;

        border-radius: 10px;

    }


    .testimonial-client {

        padding-bottom: 18px;

    }


    .testimonial-client h4 {

        font-size: 1.2rem;

    }


    .testimonial-client span {

        font-size: .8rem;

    }


    .testimonial-quote blockquote {

        font-size: .95rem;

        line-height: 1.75;

    }


    .testimonial-dots {

        gap: 14px;

    }

}

/*=====================================
CONTACT CTA
======================================*/

.contact-cta-section {

    padding:120px 0;

    position:relative;

    overflow:hidden;

    background:
        linear-gradient(
            135deg,
            #eef5f8 0%,
            #ffffff 100%
        );

}


/* Decorative background */

.contact-cta-section::before {

    content:"";

    position:absolute;

    width:500px;

    height:500px;

    top:-250px;

    right:-150px;

    border-radius:50%;

    background:rgba(255,255,255,.6);

    pointer-events:none;

}



/* =========================
   CTA Card
========================= */


.contact-cta-layout {

    position:relative;

    z-index:1;

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:90px;

    align-items:center;

    padding:75px 80px;

    border-radius:30px;

    background:rgba(255,255,255,.75);

    box-shadow:
        0 25px 70px rgba(20,40,60,.12);

    backdrop-filter:blur(10px);

}



/* =========================
   Left Content
========================= */


.contact-cta-left {

    max-width:520px;

}


.section-eyebrow {

    display:inline-block;

    margin-bottom:20px;

    font-size:.85rem;

    font-weight:700;

    letter-spacing:.16em;

    text-transform:uppercase;

    color:var(--accent);

}



.contact-cta-left h2 {

    margin:0;

    font-size:clamp(2.3rem,4vw,3.5rem);

    line-height:1.12;

    letter-spacing:-.035em;

    color:var(--heading);

}



.divider-home {

    width:325px;

    max-width:100%;

    height:4px;

    margin-top:28px;

    border-radius:20px;

    background:var(--accent);

}



.divider-home-contact {

    width:375px;

    max-width:100%;

    height:4px;

    margin-top:28px;

    border-radius:20px;

    background:#fff;

}



/* =========================
   Right Content
========================= */


.contact-cta-right {

    max-width:520px;

    text-align:center;

}


.contact-cta-right p {

    margin:0 auto 35px;

    max-width:460px;

    font-size:1.15rem;

    line-height:1.85;

    color:var(--muted);

}



/* =========================
   Tablet
========================= */


@media(max-width:768px){


    .contact-cta-section {

        padding:80px 20px;

    }


    .contact-cta-section::before {

        width:300px;

        height:300px;

        top:-150px;

        right:-100px;

    }


    .contact-cta-layout {

        grid-template-columns:1fr;

        gap:45px;

        padding:50px 30px;

        border-radius:22px;

        text-align:center;

    }


    .contact-cta-left {

        max-width:100%;

    }


    .contact-cta-left h2 {

        font-size:2.25rem;

        line-height:1.2;

    }


    .section-eyebrow {

        margin-bottom:16px;

    }


    .divider-home,
    .divider-home-contact {

        margin-left:auto;

        margin-right:auto;

    }


    .contact-cta-right {

        max-width:100%;

    }


    .contact-cta-right p {

        font-size:1.05rem;

        line-height:1.75;

        margin-bottom:30px;

    }

}



/* =========================
   Small Mobile
========================= */


@media(max-width:480px){


    .contact-cta-section {

        padding:60px 16px;

    }


    .contact-cta-layout {

        padding:38px 22px;

        border-radius:18px;

        gap:35px;

    }


    .contact-cta-left h2 {

        font-size:1.85rem;

        letter-spacing:-.025em;

    }


    .section-eyebrow {

        font-size:.75rem;

        letter-spacing:.14em;

    }


    .divider-home,
    .divider-home-contact {

        width:180px;

        height:3px;

        margin-top:22px;

    }


    .contact-cta-right p {

        font-size:.95rem;

        line-height:1.7;

        margin-bottom:25px;

    }


}

/* =========================
   PROJECTS GALLERY (FINAL STABLE ARC STYLE)
========================= */

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

/* ---------- INTRO ---------- */

.projects-intro {

    padding:60px 0 90px;

    background:#fff;

}


.intro-grid {

    display:grid;

    grid-template-columns:1.1fr 1fr 1fr;

    gap:48px;

    align-items:start;

}


/* Left Column */

.intro-left {

    position: relative;

    display: flex;

    flex-direction: column;

    align-items: flex-start;

}


.intro-title {

    position: relative;

    margin: 12px 0 22px;

    line-height: 1.08;

    max-width: 420px;

    z-index: 2;

}

.intro-title::before {

    content: "";

    position: absolute;

    top: -18px;

    left: -22px;

    width: 255px;

    height: 75px;

    background:
        radial-gradient(var(--accent) 1.5px, transparent 1.5px);

    background-size: 20px 20px;

    opacity: .35;

    z-index: -1;

    pointer-events: none;

}


.intro-divider {

    margin-left: -10px;

    margin-top: 25px;

    width:235px;

    height:4px;

    border-radius:999px;

    background:var(--accent);

}


/* Text Columns */

.intro-col {

    line-height:1.85;

}


.intro-col p:first-child {

    margin-top:0;

}


.intro-col p:last-child {

    margin-bottom:0;

}

/* ---------- FILTER ---------- */

.projects-filter {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 60px;
    padding: 12px 20px;
    background: #fff;
    border: 1px solid var(--accent);          /* subtle light border */
    border-radius: 50px;                 /* pill-shaped callout */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.filter-btn {
    background: none;
    border: none;
    color: #808291;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 0;
    position: relative;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
}

/* Underline effect - exactly like navbar */
.filter-btn::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    left: 0;
    bottom: -4px;
    background-color: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

/* Hover Effect - Same as navbar */
.filter-btn:hover {
    color: var(--accent);
    transform: scale(1.05);
}

.filter-btn:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Active state */
.filter-btn.active {
    color: var(--accent);
}

.filter-btn.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* ---------- GRID (FIXED CORE ISSUE) ---------- */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 70px 40px;
    align-items: start;
}

/* ---------- PROJECT ITEM ---------- */

.project-item {
    position: relative;
    display: block;
    width: 100%;

    opacity: 0;
    transform: translateY(40px);

    transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1),
                transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.project-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.project-item.is-hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.project-item:nth-child(even) {
    margin-top: 60px;
}

/* ---------- MEDIA ---------- */

.project-media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #eee;
}

.project-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-item:hover .project-media img {
    transform: scale(1.04);
}

.project-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0.05));
    z-index: 1;
}

/* ---------- TEXT OVERLAY ---------- */

.project-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    color: #fff;
    z-index: 2;
    transition: transform 0.4s ease;
}

.project-item:nth-child(even) .project-overlay {
    align-items: flex-end;
    text-align: right;
}

.project-item:nth-child(odd) .project-overlay {
    align-items: flex-start;
    text-align: left;
}

.project-index {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    opacity: 0.85;
    margin-bottom: 6px;
}

.project-title {
    font-size: 1.6rem;              /* was 16px → cleaner and smaller */
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
}

.project-title a {
    text-decoration: none;
    color: inherit;
}

.project-line {
    width: 28px;
    height: 1px;
    background: #fff;
    opacity: 0.75;
}

.project-item:hover .project-overlay {
    transform: translateY(-5px);
}

/* RESPONSIVE FOR INDEX */
@media (max-width: 1024px) {
    .intro-grid {
        grid-template-columns: 1fr;
    }
    .projects-grid {
        grid-template-columns: 1fr;
    }
    .project-item:nth-child(even) {
        margin-top: 0;
    }
    .project-overlay {
        align-items: flex-start !important;
        text-align: left !important;
    }
}

@media (max-width: 600px) {
    .projects-grid {
        gap: 50px;
    }
    .project-title {
        font-size: 18px;
    }
    .projects-filter {
        flex-wrap: wrap;
        gap: 16px;
    }
}

/* =========================
   PROJECT DETAIL PAGE - ArcPrime Light Style
========================= */

/* HERO - Full width with overlay */
.project-hero {
    position: relative;
    height: 82vh;
    min-height: 620px;
    overflow: hidden;
}

.project-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.25), rgba(0,0,0,0.5));
    display: flex;
    align-items: flex-end;
    padding-bottom: 90px;
}

.project-hero-overlay .container {
    position: relative;
    z-index: 2;
    color: #fff;
}

.project-title {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.08;
    margin: 0 0 10px 0;
}

.project-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 0;
}

/* MAIN DETAIL SECTION */
.project-detail {
    padding: 110px 0 100px;
    background: #fff;
}

.project-detail-meta .meta-box {
    position: sticky;
    top: 130px;
}

.meta-item {
    margin-bottom: 34px;
    padding-bottom: 30px;
    border-bottom: 1px solid #f0f0f0;
}

.meta-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.meta-label {
    display: block;
    font-size: 0.83rem;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 7px;
}

.meta-value {
    font-size: 1.18rem;
    color: #1f1f1f;
    font-weight: 500;
}

/* CONTENT AREA */
.project-body {
    font-size: 1.06rem;
    line-height: 1.88;
    color: #444;
}

.project-body p {
    margin-bottom: 1.9em;
}

/* GALLERY */
.project-gallery {
    background: #fff;
    padding-top: 0px;
}

.gallery-heading {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 55px;
    color: #222;
}

.project-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 28px;
}

.gallery-item.large {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    transition: transform 0.45s ease;
}

.gallery-item:hover img {
    transform: scale(1.035);
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .project-hero {
        height: 68vh;
    }
    .project-title {
        font-size: 2.9rem;
    }
    .project-gallery-grid {
        grid-template-columns: 1fr;
    }
    .gallery-item.large {
        grid-column: span 1;
    }
}

/* =========================
   PROJECT DETAIL
========================= */
/* =========================
   PROJECT SHOWCASE
========================= */

.project-showcase {
    padding: 140px 0 50px;
    background: #fff;
}


/* =========================
   PROJECT MAIN IMAGE
========================= */

.project-main-image {
    width: 900px;
    max-width: 100%;
    height: 650px;
    margin: 0 auto;
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
}

.project-main-image img {
    display: block;
    width: 100%;
    height: 100%;

    object-fit: contain;

    border-radius: 8px;

    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.12);
}


/* =========================
   IMAGE NAVIGATION
========================= */

.nav-arrow {
    position: absolute;
    top: 50%;

    transform: translateY(-50%);

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 50%;

    background: rgba(0, 0, 0, 0.45);
    color: #fff;

    font-size: 24px;

    cursor: pointer;

    transition: background .25s ease,
                transform .25s ease;
}


.nav-arrow:hover {
    background: rgba(0, 0, 0, 0.75);
}


.nav-arrow.prev {
    left: 15px;
}


.nav-arrow.next {
    right: 15px;
}


/* =========================
   PROJECT DETAIL
========================= */

.project-detail {
    padding: 20px 0 100px;
}

/* =========================
   PROJECT BACK BUTTON
========================= */

.project-back {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 30px;

    color: #555;

    text-decoration: none;

    font-size: .9rem;

    transition:
        color .25s ease,
        transform .25s ease;
}

.project-back:hover {
    color: var(--accent);

    transform: translateX(-4px);
}

.project-detail .container {
    max-width: 1200px;
}

.project-detail-wrap {
    display: grid;

    grid-template-columns: minmax(0, 2fr) 320px;

    gap: 80px;

    align-items: start;
}


/* LEFT CONTENT */

.project-heading-group {
    display: inline-flex;

    flex-direction: column;

    align-items: stretch;
}


.project-heading {
    margin: 0;

    font-size: clamp(2rem, 4vw, 3rem);

    line-height: 1.1;
}


.divider-project-detail {
    width: 100%;

    height: 3px;

    margin: 24px 0 40px;

    border-radius: 999px;

    background: var(--accent);
}


.project-body {
    max-width: 680px;

    line-height: 1.8;

    color: #444;
}


/* RIGHT META */

.project-detail-right {
    padding-top: 30px;
    padding-left: 75px;
}

.project-detail-left {
    padding-left: 80px;
}

.meta-row {
    padding-bottom: 24px;

    margin-bottom: 24px;

    border-bottom: 1px solid #ededed;
}


.meta-row:last-child {
    border-bottom: none;
}


.meta-label {
    display: block;

    margin-bottom: 6px;

    font-size: .75rem;

    font-weight: 700;

    letter-spacing: .12em;

    text-transform: uppercase;

    color: var(--accent);
}


.meta-value {
    display: block;

    color: #555;

    font-size: 1rem;
}


/* =========================
   PROJECT THUMBNAILS
========================= */

.project-thumbnails {
    padding: 20px 0 120px;
}


.thumbnail-row {
    display: flex;

    justify-content: center;

    gap: 12px;

    overflow-x: auto;

    padding: 10px 0;

    scroll-padding: 20px;
}


.thumbnail-img {
    flex: 0 0 auto;

    width: 140px;
    height: 90px;

    object-fit: cover;

    border-radius: 6px;

    cursor: pointer;

    opacity: .7;

    transition:
        opacity .25s ease,
        transform .25s ease,
        border .25s ease;
}


.thumbnail-img:hover {
    opacity: 1;

    transform: scale(1.04);
}


.thumbnail-img.active {
    opacity: 1;

    border: 2px solid var(--accent);
}


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

@media (max-width: 900px) {

    /* =========================
       HERO
    ========================= */

    .project-showcase {
        padding: 80px 0 40px;
    }

    .project-main-image {
        width: 100%;
        max-width: 100%;
        height: 600px;
    }

    .project-main-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }


    /* =========================
       DETAIL
    ========================= */

    .project-detail {
        padding: 50px 0 70px;
    }

    .project-detail .container {
        padding: 0 24px;
    }

    .project-detail-wrap {
        grid-template-columns: 1fr;
        gap: 45px;
        padding: 0;
    }


    /* =========================
       LEFT CONTENT
    ========================= */

    .project-detail-left {
        text-align: center;
        padding-left: 0;
    }

    .project-heading-group {
        width: 100%;
        align-items: center;
    }

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

    .divider-project-detail {
        margin-left: auto;
        margin-right: auto;
    }

    .project-body {
        max-width: 680px;
        margin: 0 auto;
        text-align: left;
    }


    /* =========================
       META
    ========================= */

    .project-detail-right {
        padding-top: 0;
        padding-left: 0;
        width: 100%;
        text-align: center;
    }

    .meta-row {
        width: 100%;
        text-align: center;
    }

    .meta-label,
    .meta-value {
        display: block;
        text-align: center;
    }


    /* =========================
       THUMBNAILS
    ========================= */

    .thumbnail-row {
        justify-content: flex-start;
    }
}


/* =========================
   SMALL PHONES
========================= */

@media (max-width: 600px) {

    /* =========================
       HERO
    ========================= */

    .project-showcase {
        padding: 70px 0 30px;
    }

    .project-main-image {
        width: 100%;
        height: 450px;
    }

    .project-main-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .nav-arrow {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }


    /* =========================
       TITLE
    ========================= */

    .project-heading {
        font-size: 2rem;
        line-height: 1.15;
    }

    .divider-project-detail {
        margin-top: 20px;
    }


    /* =========================
       BODY
    ========================= */

    .project-body {
        font-size: .95rem;
        line-height: 1.7;
    }


    /* =========================
       META
    ========================= */

    .meta-row {
        padding-bottom: 18px;
        margin-bottom: 18px;
    }


    /* =========================
       GALLERY
    ========================= */

    .thumbnail-img {
        width: 110px;
        height: 75px;
    }
}

/* =========================
   ABOUT
========================= */

.hero-content {
    position: relative;
    inset: 0;
    z-index: 3;

    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    color: white;
    text-align: center;
    padding: 0 20px;
}

/*About Section*/
.about-section {
    padding-top: 60px;
}

.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.about-image {
    position: relative;
    display: inline-block;
    isolation: isolate;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

.about-image img {
    position: relative;
    width: 100%;
    height: auto;
    z-index: 2;
    display: block;
    object-fit: cover;
    margin: 0 auto;
    border-radius: 10px; 
}

.about-image::before {
    content: "";
    position: absolute;

    top: -14px;
    left: -14px;

    width: 100%;
    height: 100%;

    background-color: rgba(127,177,197,0.18); /* 👈 filled */

    z-index: 0;
}

.about-image::after {
    content: "";
    position: absolute;

    top: 14px;
    left: 14px;

    width: 100%;
    height: 100%;

    border: 2px solid rgba(127,177,197,0.7);

    z-index: 1;
}

.about-eyebrow {
    display: block;
    font-size: 0.75rem;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
}

.about-text .rich-text {
    margin-top: 0;
    line-height: 1.7;
    color: #555;
}

/* =========================
   ABOUT — MOBILE READABILITY
========================= */

@media (max-width: 900px) {

    .about-section {
        padding-top: 40px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .about-split {
        grid-template-columns: 1fr;
        gap: 35px;
        align-items: start;
    }

    .about-image {
        width: 88%;
        max-width: 380px;
        margin: 0 auto;
    }

    .about-image::before {
        top: -10px;
        left: -10px;
    }

    .about-image::after {
        top: 10px;
        left: 10px;
    }

    .about-text {
        width: 100%;
        max-width: 650px;
        margin: 0 auto;
    }

    .about-eyebrow {
        font-size: 0.7rem;
        letter-spacing: 1.8px;
        margin-bottom: 10px;
    }

    .about-text h1,
    .about-text h2 {
        font-size: clamp(1.9rem, 8vw, 2.5rem);
        line-height: 1.1;
        margin-bottom: 18px;
    }

    .about-text .rich-text {
        font-size: 1rem;
        line-height: 1.7;
        color: #555;
    }

    .about-text .rich-text p {
        margin-bottom: 1.15rem;
    }
}


/* =========================
   SMALL PHONES
========================= */

@media (max-width: 480px) {

    .about-section {
        padding-top: 30px;
        padding-left: 18px;
        padding-right: 18px;
    }

    .about-split {
        gap: 28px;
    }

    .about-image {
        width: 92%;
    }

    .about-text h1,
    .about-text h2 {
        font-size: 2rem;
        line-height: 1.12;
        margin-bottom: 16px;
    }

    .about-eyebrow {
        font-size: 0.68rem;
        letter-spacing: 1.5px;
    }

    .about-text .rich-text {
        font-size: 0.98rem;
        line-height: 1.75;
    }
}

/* =========================
   TEAM SECTION
========================= */
.team-section {
  background: var(--soft);
}

.section-title {
  text-align: left;
  font-size: 2.5rem;
  margin-bottom: 60px;
}

/* =========================
   GRID
========================= */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  align-items: start;
}

/* =========================
   CARD
========================= */
.team-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.3s ease;
}

.team-card:hover {
  transform: translateY(-6px);
}

/* =========================
   HEADER (NAME)
========================= */
.team-header {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.team-header h3 {
  margin: 0;
  font-size: 1.1rem;
  letter-spacing: 1px;
  font-weight: 500;
}

/* =========================
   BODY (ROLE + IMAGE)
========================= */
.team-body {
  display: flex;
  align-items: stretch;
}

/* =========================
   ROLE (LEFT VERTICAL)
========================= */
.team-role-vertical {
  width: 70px;

  display: flex;
  align-items: center;
  justify-content: center;

  writing-mode: vertical-rl;
  transform: rotate(180deg);

  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);

  border-right: 1px solid rgba(0,0,0,0.06);
}

/* =========================
   IMAGE
========================= */
.team-image {
  position: relative;
  flex: 1;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.team-card:hover .team-image img {
  transform: scale(1.05);
}

.team-image-wrap {
  position: relative;
  flex: 1;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.team-bio {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  background: rgba(0, 0, 0, 0.75);
  color: #fff;

  transform: translateY(100%);
  transition: transform 0.4s ease, opacity 0.4s ease;

  padding: 80px 20px 30px 10px;

  z-index: 2;
}

.team-bio-inner {
  font-size: 0.9rem;
  line-height: 1.5;
  opacity: 0.95;
  margin-top: 20px;
}

.team-card:hover .team-bio {
  transform: translateY(0%);
  opacity: 1;
}

.team-media {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.team-bio-panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  height: 100%;
  background: rgba(18, 30, 40, 0.9);
  backdrop-filter: blur(6px);
  color: #fff;

  transform: translateY(100%);
  transition: transform 0.45s ease;

  display: flex;
}

.team-card:hover .team-bio-panel {
  transform: translateY(0);
}

.team-bio-content {
  padding: 24px;
  overflow-y: auto;

  height: 100%;
  box-sizing: border-box;
}

.team-bio-content::-webkit-scrollbar {
  width: 4px;
}

.team-bio-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {

  .team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
  }

  .team-body {
    flex-direction: column;
  }

  .team-role-vertical {
    writing-mode: horizontal-tb;
    transform: none;
    width: 100%;
    border-right: none;
    border-top: 1px solid rgba(0,0,0,0.06);
    padding: 10px;
  }

  .team-bio {
    position: relative;
    transform: none;
    background: #111;
  }

  .team-card:hover .team-bio {
    transform: none;
  }
}

/* =========================
   Blog Index Layout
========================= */

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


/* =========================
   PAGE LAYOUT
========================= */

.blog-index-wrapper {
    padding: 4rem 0;
}


.blog-index-layout {

    display:grid;

    grid-template-columns:minmax(0,2fr) 320px;

    gap:3rem;

    max-width:1200px;

    margin:0 auto;

    padding:0 2rem;

}


.blog-index-main {

    display:flex;

    flex-direction:column;

    gap:2.5rem;

    width:100%;

    max-width:700px;

}



/* =========================
   BLOG CARD
========================= */


.blog-card {

    display:flex;

    flex-direction:column;

    background:#fff;

    border:1px solid #eee;

    border-radius:12px;

    overflow:hidden;

    transition:.25s ease;

}


.blog-card:hover {

    transform:translateY(-4px);

    box-shadow:0 12px 30px rgba(0,0,0,.08);

}



/* =========================
   IMAGE
========================= */


.blog-card a {

    display:block;

}


.blog-card-image {

    height:360px;

    overflow:hidden;

}


.blog-card-img {

    width:100%;

    height:100%;

    object-fit:cover;

    display:block;

}



/* =========================
   CONTENT
========================= */


.blog-card-content {

    padding:1.25rem 1.5rem;

}


.blog-category {

    display:inline-block;

    font-size:.75rem;

    text-transform:uppercase;

    letter-spacing:.08em;

    color:var(--accent);

    background:#f5f5f5;

    border:1px solid var(--accent);

    padding:.35rem .75rem;

    border-radius:999px;

    margin-bottom:.75rem;

}


.blog-card-content h2 {

    font-size:1.25rem;

    margin:.5rem 0;

    line-height:1.3;

}


.blog-card-content h2 a {

    color:#111;

    text-decoration:none;

}


.blog-excerpt {

    color:#666;

    line-height:1.6;

    font-size:1rem;

    display:-webkit-box;

    -webkit-line-clamp:3;

    line-clamp:3;

    -webkit-box-orient:vertical;

    overflow:hidden;

}


.blog-read-more {

    color:var(--accent);

}



/* =========================
   SIDEBAR
========================= */


.blog-sidebar {

    position:sticky;

    top:2rem;

    align-self:start;

}


.sidebar-card {

    background:#fff;

    border:1px solid #eee;

    border-radius:12px;

    padding:1.5rem;

    margin-bottom:2rem;

    box-shadow:0 10px 25px rgba(0,0,0,.04);

}

/* =========================
   Recent Posts Sidebar
========================= */

.recent-post-link {

    display:block;

    padding:12px 0;

    border-bottom:1px solid #f0f0f0;

    color:#333;

    line-height:1.45;

    transition:.25s ease;

}


.recent-post-link:last-child {

    border-bottom:none;

}


.recent-post-link:hover {

    color:var(--accent);

}

/* =========================
   Archives Sidebar
========================= */

.archive-link {

    display:block;

    padding:12px 0;

    border-bottom:1px solid #f0f0f0;

    color:#333;

    line-height:1.45;

    transition:.25s ease;

}


.archive-link:last-child {

    border-bottom:none;

}


.archive-link:hover {

    color:var(--accent);

}

.blog-sidebar .sidebar-link,
.blog-sidebar .sidebar-link:visited {

    color:var(--muted);

    text-decoration:none;

}


.blog-sidebar .sidebar-link:hover {

    color:var(--accent);

}

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


@media(max-width:900px){


    .blog-index-layout {

        grid-template-columns:1fr;

        gap:2.5rem;

    }


    .blog-index-main {

        max-width:100%;

    }


    .blog-sidebar {

        position:static;

    }

}



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


@media(max-width:600px){


    .blog-index-wrapper {

        padding:2.5rem 0;

    }


    .blog-index-layout {

        padding:0 16px;

        gap:2rem;

    }


    .blog-index-main {

        gap:1.5rem;

    }


    /* Card tightening */

    .blog-card {

        border-radius:10px;

    }


    .blog-card-image {

        height:210px;

    }


    .blog-card-content {

        padding:1rem 1.1rem 1.25rem;

    }


    .blog-category {

        font-size:.7rem;

        padding:.3rem .65rem;

        margin-bottom:.6rem;

    }


    .blog-card-content h2 {

        font-size:1.1rem;

        line-height:1.35;

        margin:.4rem 0 .6rem;

    }


    .blog-excerpt {

        font-size:.92rem;

        line-height:1.55;

        -webkit-line-clamp:2;

        line-clamp:2;

    }


}



/* =========================
   SMALL PHONES
========================= */


@media(max-width:400px){


    .blog-index-layout {

        padding:0 14px;

    }


    .blog-card-image {

        height:180px;

    }


    .blog-card-content {

        padding:.9rem 1rem 1.1rem;

    }


    .blog-card-content h2 {

        font-size:1rem;

    }


    .blog-excerpt {

        font-size:.88rem;

    }

}


/* =========================================================
   BLOG PAGE LAYOUT
========================================================= */

/* =========================================================
   BLOG POST
   Reader-focused editorial layout
========================================================= */

.blog-post {
    max-width: 1080px;
    margin: 0 auto;
    margin-top: var(--navbar-height);
    padding: 5rem 1.5rem 7rem;
}


/* =========================================================
   BACK LINK
========================================================= */

.blog-post__back {
    margin-bottom: 2.5rem;
}

.blog-post__back a {
    display: inline-flex;
    align-items: center;
    gap: .4rem;

    color: var(--accent);
    text-decoration: none;
    font-weight: 600;

    transition: color .25s ease, transform .25s ease;
}

.blog-post__back a:hover {
    color: var(--heading);
    transform: translateX(-4px);
}


/* =========================================================
   ARTICLE HEADER
========================================================= */

.blog-post__category {
    display: inline-flex;
    align-items: center;

    padding: .45rem .9rem;
    border-radius: 999px;

    background: #f4f4f5;
    color: #344054;

    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;

    margin-bottom: 1.25rem;
}

.blog-post__title {
    max-width: 950px;

    margin: 0 0 1.25rem;

    font-size: clamp(2.5rem, 6vw, 4.75rem);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -.04em;

    color: #101828;
}

.blog-post__excerpt {
    max-width: 720px;

    margin: 0 0 1rem;

    font-size: 1.25rem;
    line-height: 1.65;

    color: #475467;
}

.blog-post__meta {
    display: flex;
    align-items: center;

    margin-top: 1rem;
    margin-bottom: 3rem;

    font-size: .9rem;
    color: #667085;
}


/* =========================================================
   FEATURED IMAGE
========================================================= */

.blog-post__featured-image {
    max-width: 920px;
    margin: 0 auto 2rem;
    overflow: hidden;
    border-radius: 1rem;
}

.blog-post__featured-image img {
    display: block;
    width: 100%;
    height: auto;
}


/* =========================================================
   MAIN READING COLUMN
========================================================= */

/*
   The article shell is wide enough for the hero image,
   while the actual text stays at a comfortable reading width.
*/

.blog-post__body {
    max-width: 720px;
    margin: 0 auto;

    color: #344054;
}


/* =========================================================
   CONTENT BLOCK RHYTHM
========================================================= */

.blog-post__body > * + * {
    margin-top: 1rem;
}


/* =========================================================
   HEADINGS
========================================================= */

.blog-heading {
    color: #101828;
    font-weight: 700;
    letter-spacing: -.025em;
    line-height: 1.2;
}

h2.blog-heading {
    margin-top: 4rem;
    margin-bottom: 1rem;

    font-size: clamp(1.8rem, 3vw, 2.5rem);
}

h3.blog-heading {
    margin-top: 3rem;
    margin-bottom: .85rem;

    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
}

h4.blog-heading {
    margin-top: 2.5rem;
    margin-bottom: .75rem;

    font-size: 1.25rem;
}


/* =========================================================
   PARAGRAPHS / RICH TEXT
========================================================= */

.blog-paragraph {
    font-size: 1.1rem;
    line-height: 1.85;

    color: #344054;
}

.blog-paragraph p {
    margin: 0 0 1.5rem;
}

.blog-paragraph p:last-child {
    margin-bottom: 0;
}

.blog-paragraph strong {
    color: #101828;
    font-weight: 700;
}

.blog-paragraph em {
    font-style: italic;
}


/* =========================================================
   LINKS
========================================================= */

.blog-paragraph a {
    color: #28677a;

    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;

    transition: color .2s ease;
}

.blog-paragraph a:hover {
    color: var(--accent);
}


/* =========================================================
   LISTS
========================================================= */

.blog-paragraph ul,
.blog-paragraph ol {
    margin: 1.5rem 0 2rem;
    padding-left: 1.5rem;
}

.blog-paragraph li {
    margin-bottom: .7rem;
    padding-left: .35rem;

    line-height: 1.7;
}

.blog-paragraph li:last-child {
    margin-bottom: 0;
}


/* =========================================================
   INLINE IMAGES
========================================================= */

.blog-image {
    width: 100%;
    max-width: 720px;

    margin: 3.5rem auto;
}

.blog-image img {
    display: block;

    width: 100%;
    height: auto;

    border-radius: 1rem;
}

.blog-image__caption {
    margin-top: .85rem;

    font-size: .9rem;
    line-height: 1.5;
    text-align: center;

    color: #667085;
}


/* =========================================================
   QUOTES
========================================================= */

.blog-quote {
    margin: 3.5rem 0;
    padding: 1.5rem 2rem;

    border-left: 4px solid var(--accent);
    border-radius: 0 .75rem .75rem 0;

    background: #f8fafc;
}

.blog-quote__text {
    margin-bottom: 1rem;

    font-size: 1.35rem;
    line-height: 1.6;

    color: #101828;
    font-style: italic;
}

.blog-quote__text::before {
    content: "“";
    font-size: 1.3em;
    line-height: 0;
    vertical-align: -.1em;
}

.blog-quote__text::after {
    content: "”";
    font-size: 1.3em;
    line-height: 0;
    vertical-align: -.1em;
}

.blog-quote__attribution {
    font-size: .9rem;
    color: #667085;
}


/* =========================================================
   VIDEO EMBEDS
========================================================= */

.blog-video {
    margin: 3.5rem 0;
}

.blog-video__embed iframe {
    display: block;

    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;

    border: 0;
    border-radius: 1rem;
}

.blog-video__caption {
    margin-top: .85rem;

    font-size: .9rem;
    line-height: 1.5;
    text-align: center;

    color: #667085;
}


/* =========================================================
   CODE
========================================================= */

.blog-post__body pre {
    overflow-x: auto;

    margin: 3rem 0;
    padding: 1.5rem;

    background: #101828;
    color: #f8fafc;

    border-radius: 1rem;
}

.blog-post__body code {
    font-family: monospace;
    font-size: .95em;
}


/* =========================================================
   TABLES
========================================================= */

.blog-post__body table {
    width: 100%;

    margin: 3rem 0;

    border-collapse: collapse;

    font-size: .95rem;
}

.blog-post__body th,
.blog-post__body td {
    padding: .85rem 1rem;

    border: 1px solid #eaecf0;

    text-align: left;
}

.blog-post__body th {
    background: #f8fafc;
    color: #101828;
    font-weight: 700;
}


/* =========================================================
   TAGS
========================================================= */

.blog-post__tags {
    max-width: 720px;

    display: flex;
    flex-wrap: wrap;
    gap: .6rem;

    margin: 5rem auto 0;
    padding-top: 1.5rem;

    border-top: 1px solid #eaecf0;
}

.blog-post__tag {
    display: inline-flex;
    align-items: center;

    padding: .45rem .8rem;

    border-radius: 999px;

    background: #f4f4f5;
    color: #344054;

    font-size: .85rem;
    font-weight: 500;
}


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

@media (max-width: 768px) {

    .blog-post {
        padding: 3rem 1.25rem 5rem;
    }

    .blog-post__back {
        margin-bottom: 2rem;
    }

    .blog-post__title {
        font-size: clamp(2.25rem, 11vw, 3.5rem);
        line-height: 1.08;
    }

    .blog-post__excerpt {
        font-size: 1.1rem;
        line-height: 1.65;
    }

    .blog-post__meta {
        margin-bottom: 2.5rem;
    }

    .blog-post__featured-image {
        margin: 0 0 2rem;
        border-radius: .75rem;
    }

    .blog-paragraph {
        font-size: 1.05rem;
        line-height: 1.8;
    }

    h2.blog-heading {
        margin-top: 3rem;
    }

    h3.blog-heading {
        margin-top: 2.5rem;
    }

    .blog-image,
    .blog-video {
        margin-top: 3rem;
        margin-bottom: 3rem;
    }

    .blog-quote {
        margin: 3rem 0;
        padding: 1.25rem;
    }

    .blog-quote__text {
        font-size: 1.2rem;
    }

    .blog-post__body table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .blog-post__tags {
        margin-top: 4rem;
    }
}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 400px) {

    .blog-post {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .blog-post__title {
        font-size: 2.2rem;
    }

    .blog-post__excerpt {
        font-size: 1rem;
    }

    .blog-paragraph {
        font-size: 1rem;
        line-height: 1.75;
    }
}


/* =========================
   Contact Layout
========================= */

/*About Section*/
.contact-section {
    padding-top: 60px;
}

.contact-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.contact-eyebrow {
    display: block;
    font-size: 0.75rem;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
}

.contact-text .rich-text {
    margin-top: 0;
    line-height: 1.7;
    color: #555;
}

.contact-block {
    display: flex;
    gap: 16px;
    align-items: flex-start;

    padding-bottom: 20px;
    /*border-bottom: 1px solid rgba(0,0,0,0.06);*/
}

.contact-block:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-info {
    padding-left: 60px;
    padding-top: 30px;
}

/* ICON WRAPPER */
.contact-icon {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(127,177,197,0.10);
    border: 1px solid rgba(127,177,197,0.25);
    border-radius: 10px;

    flex-shrink: 0;
}

/* HEROICON SVG */
.contact-svg-icon {
    width: 18px;
    height: 18px;
    color: var(--accent);
}

/* TEXT */
.contact-details {
    display: flex;
    flex-direction: column;
}

.contact-details p {
    margin: 0;
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
}

/* LINKS */
.contact-details a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-details a:hover {
    color: var(--accent);
}

.contact-form {
    background: var(--accent);
    padding: 80px 0 100px;
}

.contact-section-header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-section-header h2 {
    color: #fff;
    margin-bottom: 12px;
}

.contact-section-header p {
    color: rgba(255,255,255,.9);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.contact-form-wrapper {
    max-width: 760px;
    margin: 0 auto;

    background: #fff;

    border-radius: 14px;
    padding: 45px;

    box-shadow: 0 20px 60px rgba(0,0,0,.15);
}

.contact__form {
    display: flex;
    flex-direction: column;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.form-field {
    margin-bottom: 20px;
}

.contact__form input,
.contact__form select,
.contact__form textarea {

    width: 100%;

    padding: 15px 18px;

    border: 1px solid #d8dde5;
    border-radius: 8px;

    font-family: inherit;
    font-size: .95rem;

    color: #374151;
    background: #fff;

    transition:
        border-color .25s ease,
        box-shadow .25s ease;

    appearance: none;
}

.contact__form input::placeholder,
.contact__form textarea::placeholder {
    color: #9ca3af;
}

.contact__form input:focus,
.contact__form select:focus,
.contact__form textarea:focus {

    outline: none;

    border-color: var(--accent);

    box-shadow:
        0 0 0 4px rgba(127,177,197,.18);
}

.contact__form textarea {
    resize: vertical;
    min-height: 180px;
}

.turnstile-wrapper {
    margin: 10px 0 30px;
}

.contact-submit {

    width: 100%;

    padding: 16px;

    border: none;
    border-radius: 8px;

    background: #1e293b;

    color: #fff;

    font-size: .95rem;
    letter-spacing: 2px;
    text-transform: uppercase;

    cursor: pointer;

    transition: .25s ease;
}

.contact-submit:hover {

    background: #111827;

    transform: translateY(-2px);
}

.honeypot {
    position: absolute;
    left: -9999px;
    overflow: hidden;
    width: 1px;
    height: 1px;
}

@media (max-width:768px){

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

    .contact-form-wrapper{
        padding:30px;
    }

}

.map-section {
    padding: 100px 0;
    background: #fff;
}

/* wrapper */
.map-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

/* header */
.map-header {
    text-align: center;
    margin-bottom: 40px;
}

.map-eyebrow {
    display: block;
    font-size: 0.75rem;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
}

.map-header h2 {
    margin: 0;
    color: #111;
}

.divider-contact {
    width: 120px;
    height: 2px;
    background: var(--accent);
    margin: 14px auto 0;
}

/* map frame container */
.map-frame {
    position: relative;

    border-radius: 16px;
    overflow: hidden;

    box-shadow: 0 25px 60px rgba(0,0,0,0.12);
    border: 1px solid rgba(0,0,0,0.06);

    transform: translateZ(0); /* fixes blur on some browsers */
}

/* iframe */
.map-frame iframe {
    width: 100%;
    height: 500px;
    border: 0;

    display: block;

    filter: grayscale(0.1); /* subtle architectural tone */
    transition: transform 0.6s ease;
}

/* subtle hover interaction */
.map-frame:hover iframe {
    transform: scale(1.02);
}

/* mobile */
@media (max-width: 768px) {
    .map-frame iframe {
        height: 380px;
    }
}

/* =========================
   SITE MESSAGES
========================= */

.site-messages {
    position: fixed;
    top: 90px;
    right: 30px;
    z-index: 9999;
}

.site-alert {
    max-width: 720px;
    min-width: 320px;
    margin: 0 auto 20px;

    padding: 16px 24px;

    border-radius: 8px;

    text-align: center;

    font-size: 0.95rem;
    line-height: 1.5;

    opacity: 1;

    animation: siteMessageFade 5s ease forwards;
}


/* Success */
.site-alert.success {
    background: #f0f7f3;
    color: #245c3b;
    border: 1px solid rgba(36,92,59,.15);
}


/* Error */
.site-alert.error,
.site-alert.danger {
    background: #faf0f0;
    color: #8b2c2c;
    border: 1px solid rgba(139,44,44,.15);
}


/* Info / Warning */
.site-alert.info,
.site-alert.warning {
    background: #f5f8fa;
    color: #334155;
    border: 1px solid rgba(51,65,85,.15);
}


@keyframes siteMessageFade {

    0% {
        opacity: 0;
        transform: translateY(-10px);
    }

    10% {
        opacity: 1;
        transform: translateY(0);
    }

    75% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(-10px);
        visibility: hidden;
    }

}

/* =========================
   FOOTER
========================= */
footer {
    background: #111;
    color: #aaa;
    padding: 60px 0;
    text-align: center;
}

footer h5 {
    color: #fff;
}

/* =========================
   Tricks
========================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   PATTERN UTILITY
========================= */
.pattern-bg {
  position: relative;
  overflow: hidden;
}

.pattern-bg::before {
  content: "";
  position: absolute;
  inset: 0;

  background-image:
  radial-gradient(rgba(127,177,197,0.08), rgba(0,0,0,0.02) 25px, rgba(0,0,0,0.15) 26px, transparent 26px),
  radial-gradient(transparent 25px, rgba(127,177,197,0.35) 25px, rgba(127,177,197,0.35) 26px, transparent 26px),
  radial-gradient(transparent 50px, rgba(127,177,197,0.2) 50px, rgba(127,177,197,0.2) 51px, transparent 51px),
  radial-gradient(rgba(127,177,197,0.4), rgba(127,177,197,0) 50px),
  radial-gradient(transparent 25px, rgba(127,177,197,0.3) 25px, rgba(127,177,197,0.3) 26px, transparent 26px);

  background-size: 200px 200px;
  background-position: -75px -45px, 0 0, 20px 50px, 25px 55px, 50px 125px;

  opacity: 0.5; /* 👈 subtle for cards */
  pointer-events: none;
  z-index: 0;
}

/* ensure content sits above pattern */
.pattern-bg > * {
  position: relative;
  z-index: 1;
}

/* dividers*/
.divider {
    width: 200px;
    height: 2px;
    background: var(--accent);
    margin: 10px 0 18px;
}

.divider-contact {
    width: 360px;
    height: 2px;
    background: var(--accent);
    margin: 10px 0 18px;
}

.divider-about {
    width: 330px;
    height: 2px;
    background: var(--accent);
    margin: 10px 0 18px;
}

/* icons */
.icon {
    width: 20px;
    height: 20px;
    stroke-width: 1.5;
    color: var(--accent);
}

.icon--sm {
    width: 18px;
    height: 18px;
}