/* ========================================
   Villa Care Collective - Luxury Styles
   Inspired by The Real Estate Fund Design
   ======================================== */

/* Font Imports */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Jost:wght@300;400;500&display=swap');

/* CSS Custom Properties - Matching Reference Design */
:root {
    /* Color Palette - Forest & Stone */
    --c1: #F2F1ED;
    /* Off-white/Cream */
    --c2: #BFA179;
    /* Muted Brass/Gold accent */
    --c3: #141414;
    /* Pure dark */
    --c4: #132620;
    /* Deep Adriatic Pine */
    --c5: #F3EAE1;
    /* Light cream */

    /* Gradients */
    --g1: linear-gradient(180deg, #132620 0%, #000 99.48%);
    --g2: linear-gradient(180deg, #132620 18.75%, #000 99.48%);

    /* Typography Sizes */
    --h1: clamp(48px, 8vw, 128px);
    --h2: clamp(32px, 6vw, 96px);
    --high: clamp(28px, 5vw, 64px);
    --sub: clamp(14px, 1.2vw, 18px);
    --btn: clamp(14px, 1.3vw, 20px);
    --body: clamp(15px, 1.2vw, 18px);

    /* Spacing */
    --p1: clamp(20px, 3vw, 40px);

    /* Easing */
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
}

/* ========================================
   Reset & Base
   ======================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
    background: var(--c4);
    scroll-behavior: smooth;
}

body {
    min-height: 100%;
    width: 100%;
    position: relative;
    color: var(--c1);
    font-size: var(--body);
    font-weight: 300;
    font-family: 'Jost', Arial, Helvetica, sans-serif;
    line-height: 1.5;
    min-width: 320px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body::before {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    content: '';
    height: 56%;
    max-height: 1227px;
    background: var(--g1);
    pointer-events: none;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s linear, background 0.3s linear;
}

a:hover {
    text-decoration: none;
}

ul {
    list-style: none;
}

::selection {
    background-color: #8A7960;
}

/* ========================================
   Typography
   ======================================== */
h1 {
    text-align: center;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: var(--h1);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -0.03em;
    color: var(--c1);
}

h2 {
    text-align: center;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: var(--h2);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--c1);
}

h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(20px, 2vw, 28px);
    font-weight: 500;
    color: var(--c2);
}

.subheading {
    text-align: center;
    font-size: var(--sub);
    line-height: 1.5;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.8;
}

/* ========================================
   Common Components
   ======================================== */
.holder {
    padding: 0 var(--p1);
    max-width: 1400px;
    margin: 0 auto;
}

.button {
    position: relative;
    display: inline-flex;
    padding: 14px 40px;
    color: var(--c2);
    font-size: var(--btn);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: 0.1em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    background: transparent;
    border: 1px solid var(--c2);
    transition: color 0.3s linear, background 0.3s linear;
}

.button:hover {
    color: var(--c4);
    background: var(--c2);
}

/* ========================================
   Loader Animation
   ======================================== */
body.is-loader {
    overflow: hidden;
}

.loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 500;
    background: var(--c4);
}

.loader::before {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 110%;
    content: '';
    background: url('https://images.unsplash.com/photo-1613490493576-7fde63acd811?w=1920&q=80') 50% 50% no-repeat;
    background-size: cover;
    opacity: 0.3;
}

.loader-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, var(--c4) 70%);
    transition: transform 2s ease-in;
}

.loader.animate .loader-bg {
    transform: scale(22);
}

.loader.hide {
    display: none;
}

.loader-box {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 120px;
    width: max(350px, 440px);
    text-align: center;
    font-size: var(--sub);
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: transform 2s ease-in;
}

.loader-key-wrap {
    overflow: hidden;
    margin: 40px 0 0;
}

.loader-key {
    width: 126px;
    height: 40px;
    margin: 0 auto;
    background: linear-gradient(90deg, var(--c2) 0%, var(--c2) 100%);
    clip-path: polygon(0 40%, 60% 40%, 60% 0, 100% 50%, 60% 100%, 60% 60%, 0 60%);
    transition: transform 0.5s cubic-bezier(0.12, 0, 0.39, 0);
}

.line {
    overflow: hidden;
}

.line-inner {
    transition: transform 0.5s cubic-bezier(0.12, 0, 0.39, 0);
}

.loader.animate .line-inner,
.loader.animate .loader-key {
    transform: translateY(100%);
}

/* ========================================
   Wrapper
   ======================================== */
#wrapper {
    position: relative;
    padding: 110px 0 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ========================================
   Header / Navigation
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 300;
    padding: 36px 0 0;
    transition: all 0.4s ease-out;
}

.header::before {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    content: '';
    height: 200px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.50) 12.29%, rgba(0, 0, 0, 0.00) 77.62%);
    pointer-events: none;
}

.header-block {
    position: relative;
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-logo {
    position: absolute;
    z-index: 20;
    left: 50%;
    transform: translateX(-50%);
}

.header-logo a {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(16px, 1.5vw, 22px);
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--c2);
}

.header-nav {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 4px 0 0;
}

.header-nav-list {
    display: flex;
    gap: 36px;
}

.header-nav-list:first-child {
    margin-right: auto;
}

.header-nav-list:last-child {
    margin-left: auto;
}

.header-nav li {
    font-size: clamp(12px, 1vw, 16px);
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.header-nav a {
    position: relative;
    color: var(--c1);
}

.header-nav a::before {
    position: absolute;
    content: "";
    left: 0;
    bottom: -3px;
    display: block;
    width: 100%;
    height: 1px;
    background: var(--c1);
    transition: 1.1s var(--ease-out-expo);
    transform: scaleX(0);
    transform-origin: left;
}

.header-nav a:hover::before {
    transform: scaleX(1);
}

.header-nav a.current {
    color: var(--c2);
}

.header-nav a.current::before {
    display: none;
}

/* Language Switcher */
.lang-switch {
    display: flex;
    align-items: center;
    margin-left: 30px;
    font-family: 'Jost', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--c2);
}

.lang-switch a {
    color: var(--c2);
    text-decoration: none;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.lang-switch a.active,
.lang-switch a:hover {
    opacity: 1;
}

.lang-switch .sep {
    margin: 0 8px;
    opacity: 0.3;
}

@media only screen and (max-width: 1024px) {
    .lang-switch {
        margin: 20px 0 0 0;
        justify-content: center;
    }
}

/* Mobile Nav Icon */
.mob-nav-icon {
    position: absolute;
    top: 10px;
    right: 0px;
    z-index: 250;
    padding: 0 0 8px;
    display: none;
}

.mob-nav-block {
    position: relative;
    display: block;
    width: 32px;
    height: 1px;
    margin: 8px 0 0;
    background: var(--c1);
    transition: all 0.3s linear;
}

.mob-nav-block::after {
    content: "";
    position: absolute;
    top: -8px;
    left: 0;
    width: 19px;
    height: 1px;
    background: var(--c1);
    transition: all 0.3s linear;
}

.mob-nav-block::before {
    content: "";
    position: absolute;
    top: 8px;
    right: 0;
    width: 19px;
    height: 1px;
    background: var(--c1);
    transition: all 0.3s linear;
}

/* ========================================
   Banner / Hero Section
   ======================================== */
.banner {
    margin-top: -110px;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.banner-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-slider::before {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    content: '';
    background: rgba(0, 0, 0, 0.35);
    pointer-events: none;
}

.banner-main {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-block {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px);
    transition: transform 0.8s cubic-bezier(0.46, 0.03, 0.52, 0.96), opacity 0.5s ease;
    max-width: 1600px;
    /* Increased from 1040px */
    width: 95%;
    margin: 0 auto;
}

.banner-block.vis {
    opacity: 1;
    visibility: visible;
    transform: translateY(0%);
}

.banner-content {
    background: #1a2f28;
    padding: 100px 80px;
    /* Increased from 60px 50px */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* Center items horizontally */
    text-align: center;
    /* Ensure text is centered */
    width: auto;
    /* Allow sizing based on content/max-width */
    max-width: 800px;
    /* Constrain width */
    aspect-ratio: auto;
    /* Remove aspect ratio constraint */
}

.banner-label {
    font-size: 16px;
    /* Increased from 11px */
    font-weight: 400;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--c2);
    margin-bottom: 40px;
    opacity: 0.7;
}

.banner-h1 {
    text-align: center;
    margin-bottom: 35px;
    font-size: clamp(30px, 4vw, 56px);
    /* Reduced by ~14px (approx 10pt) */
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--c2);
    line-height: 1.2;
}

.banner-est {
    font-size: 16px;
    /* Increased from 12px */
    letter-spacing: 0.35em;
    color: var(--c2);
    margin-bottom: 60px;
}

.banner-content .subheading {
    text-align: center;
    max-width: 450px;
    /* Increased width for larger text */
    font-size: 14px;
    /* Increased from 10px */
    letter-spacing: 0.15em;
    line-height: 1.8;
    color: var(--c2);
    opacity: 0.6;
}

.banner-image {
    width: 50%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

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

/* ========================================
   Main Content Wrapper
   ======================================== */
.main-wrap {
    padding: 120px 0 0;
}

/* ========================================
   About Section
   ======================================== */
.about-team {
    max-width: 1000px;
    margin: 0 auto 120px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
}

.about-team-col {
    width: 45%;
    margin: 0 0 60px;
}

.about-team-col:last-child {
    width: 100%;
    margin: 60px auto 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-team-col:last-child .about-team-text {
    max-width: 700px;
}

.about-team-col.img-float {
    height: 500px;
    min-height: 300px;
    width: 45%;
}

.about-team-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-team-text {
    width: 100%;
    margin: 0 0 36px;
    opacity: 0.8;
    line-height: 1.7;
}

.about-team-col h2 {
    width: 100%;
    position: relative;
    z-index: 10;
    margin: 0 0 16px;
    text-align: left;
    word-break: break-word;
}

.about-team-col .subheading {
    text-align: left;
}

/* Key Decoration */
.key-wrap {
    overflow: hidden;
    margin: 0 0 40px;
}

.key {
    display: block;
    width: 82px;
    height: 27px;
    background: linear-gradient(90deg, var(--c2) 0%, var(--c2) 100%);
    clip-path: polygon(0 40%, 60% 40%, 60% 0, 100% 50%, 60% 100%, 60% 60%, 0 60%);
}

/* Text Reveal Animation */
.reveal {
    padding: 1px 0;
}

.text-wrap {
    overflow: hidden;
    padding: 15px 0;
    margin: -15px 0;
}

.text-inner {
    transition: transform 0.8s cubic-bezier(0.46, 0.03, 0.52, 0.96);
    transform: translateY(calc(100% + 20px));
}

.reveal.animate .text-inner {
    transform: translateY(0%);
}

.reveal .key {
    transition: transform 0.8s cubic-bezier(0.46, 0.03, 0.52, 0.96);
    transform: translateY(calc(100% + 20px));
}

.reveal.animate .key {
    transform: translateY(0%);
}

/* Image Float Animation */
.img-float {
    overflow: hidden;
}

.img-float img {
    height: 120%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.46, 0.03, 0.52, 0.96);
}

/* ========================================
   Slogan / Manifesto
   ======================================== */
.slogan {
    width: 100%;
    margin: 0 auto 120px;
    position: relative;
    padding: 0 20px;
    /* added some padding for mobile */
}

.slogan-text {
    text-align: center;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: var(--high);
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.slogan-line {
    position: relative;
    white-space: nowrap;
    color: rgba(242, 241, 237, 0.15);
    display: inline-block;
    /* changed from block to inline-block to allow centering while maintaining width */
    margin: 0 auto;
}

.slogan-line.highlight {
    color: rgba(191, 161, 121, 0.15);
}

.slogan-cover {
    position: absolute;
    left: 0;
    top: 0;
    color: var(--c1);
    overflow: hidden;
    width: 0%;
    transition: width 1.5s var(--ease-out-expo);
}

.slogan-line.highlight .slogan-cover {
    color: var(--c2);
}

.slogan-text.active .slogan-cover {
    width: 100%;
}

/* ========================================
   Info / Services Section
   ======================================== */
.info {
    position: relative;
}

.info-bg {
    position: absolute;
    top: 0;
    right: -40px;
    width: 50%;
    max-width: 600px;
    height: 700px;
    min-height: 400px;
}

.info-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.info-top {
    position: relative;
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: left;
    padding-left: 40px;
}

.info-top h2 {
    margin: 0 0 16px;
    text-align: left;
}

.info-top .subheading {
    text-align: left;
}

.info-content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.info-block {
    position: relative;
    max-width: 100%;
    margin: 0 0 80px;
    padding-left: 40px;
}

.info-text {
    max-width: 600px;
    margin: 0 0 40px;
    opacity: 0.8;
    line-height: 1.7;
}

/* Line Dash Animation */
.line-wrap {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 1px;
}

.line-dash {
    width: 1px;
    height: 0%;
    background: var(--c1);
    transition: height 1.5s cubic-bezier(0.46, 0.03, 0.52, 0.96);
}

.line-dash.animate {
    height: 100%;
}

/* Link Flash Effect */
.link-flash {
    position: relative;
    font-size: clamp(20px, 2vw, 24px);
    /* Increased size ~100% */
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--c2);
}

.link-flash::before,
.link-flash::after {
    position: absolute;
    content: "";
    left: 0;
    bottom: -3px;
    display: block;
    width: 100%;
    height: 1px;
    background: var(--c2);
    transition: 1.1s var(--ease-out-expo);
}

.link-flash::before {
    transform: scaleX(0);
    transform-origin: left;
}

.link-flash::after {
    transform-origin: right;
    transition-delay: 0.25s;
}

.link-flash:hover::before {
    transform: scaleX(1);
    transition-delay: 0.25s;
}

.link-flash:hover::after {
    transform: scaleX(0);
    transition-delay: 0s;
}

/* ========================================
   Services Grid
   ======================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 0 0 120px;
    padding-left: 40px;
    /* Align with line */
    max-width: 100%;
}

.service-card {
    padding: 40px 30px;
    border: 1px solid rgba(242, 241, 237, 0.2);
    background: transparent;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.service-card:hover {
    border-color: var(--c2);
    transform: translateY(-4px);
}

.service-title {
    margin-bottom: 12px;
}

.service-subtitle {
    font-size: clamp(14px, 1vw, 16px);
    color: rgba(242, 241, 237, 0.7);
    line-height: 1.6;
}

/* ========================================
   Invest Info Section
   ======================================== */
.invest-info {
    max-width: 100%;
    margin: 0 auto 120px;
    padding-left: 40px;
    /* Align with line */
}

.invest-info-top {
    max-width: 800px;
    margin: 0 0 60px;
    text-align: left;
}

.invest-info-top h2 {
    margin: 0 0 16px;
    text-align: left;
}

.invest-info-top .subheading {
    text-align: left;
}

.invest-info-block {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.invest-info-img {
    width: 50%;
    height: 400px;
    min-height: 240px;
}

.invest-info-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.invest-info-content {
    width: 50%;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.invest-info-text {
    max-width: 600px;
    margin: 0 0 40px;
    opacity: 0.8;
    line-height: 1.7;
}

/* ========================================
   Join / Contact Section
   ======================================== */
.join {
    padding: 120px 0;
}

.join h2 {
    margin: 0 0 35px;
}

.join-form {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.join-form .key-wrap {
    margin: 0 0 60px;
}

.join-form .key {
    margin: 0 auto;
}

.input-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.input-item {
    width: calc(50% - 20px);
    margin: 0 0 40px;
}

.input-item input {
    display: block;
    width: 100%;
    height: 40px;
    padding: 0 0 15px;
    margin: 0;
    font-family: 'Jost', Arial, sans-serif;
    font-size: clamp(14px, 1vw, 16px);
    font-weight: 400;
    color: var(--c1);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: transparent;
    border: none;
    border-bottom: 0.5px solid var(--c1);
    outline: none;
    transition: border-color 0.3s ease;
}

.input-item input:focus {
    border-bottom-color: var(--c2);
}

.input-item input::placeholder {
    color: rgba(242, 241, 237, 0.3);
}

.input-item select {
    display: block;
    width: 100%;
    height: 40px;
    padding: 0 0 15px;
    margin: 0;
    font-family: 'Jost', Arial, sans-serif;
    font-size: clamp(14px, 1vw, 16px);
    font-weight: 400;
    color: rgba(242, 241, 237, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: transparent;
    border: none;
    border-bottom: 0.5px solid var(--c1);
    border-radius: 0;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: border-color 0.3s ease;
}

.input-item select:focus {
    border-bottom-color: var(--c2);
}

.input-item select option {
    background: var(--c4);
    color: var(--c1);
}

.form-button {
    text-align: center;
    margin-top: 20px;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    margin: auto 0 0;
    padding: 0 0 35px;
    font-weight: 400;
}

.footer-top {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 75px 0 25px;
}

.footer-logo {
    position: absolute;
    left: 0;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(14px, 1.2vw, 18px);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--c2);
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 40px;
    width: 100%;
    max-width: 600px;
}

.footer-nav li {
    font-size: clamp(12px, 1vw, 16px);
    line-height: 1.5;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer-nav a {
    position: relative;
    color: var(--c1);
}

.footer-nav a::before {
    position: absolute;
    content: "";
    left: 0;
    bottom: -3px;
    display: block;
    width: 100%;
    height: 1px;
    background: var(--c1);
    transition: 1.1s var(--ease-out-expo);
    transform: scaleX(0);
    transform-origin: left;
}

.footer-nav a:hover::before {
    transform: scaleX(1);
}

.footer-text {
    margin: 0 0 24px;
    color: var(--c1);
    font-size: clamp(12px, 0.9vw, 14px);
    line-height: 1.5;
    letter-spacing: 0.05em;
    opacity: 0.5;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.footer-text p {
    margin: 0 0 16px;
}

.footer-text p:last-child {
    margin: 0;
}

.footer-bottom {
    display: flex;
    justify-content: center;
}

.footer-copy {
    color: var(--c1);
    font-size: clamp(12px, 0.9vw, 14px);
    line-height: 1.5;
    opacity: 0.5;
    text-align: center;
}

.privacy {
    margin-top: 10px;
}

.privacy a {
    margin: 0 15px;
    color: var(--c1);
}

.privacy a:hover {
    color: var(--c2);
}

.mob-hidden {
    display: none;
}

.mob-hide {
    display: inline;
}

/* ========================================
   Responsive Design
   ======================================== */
/* ========================================
   Responsive Design
   ======================================== */
@media screen and (max-width: 1024px) {
    .banner-block {
        max-width: 95%;
        width: 100%;
        margin-top: 60px;
    }

    .banner-h1 {
        font-size: clamp(30px, 4vw, 50px);
    }

    .about-team {
        max-width: 90%;
    }
}

@media screen and (max-width: 768px) {

    /* Header */
    .header-nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #132620;
        /* Dark green bg */
        z-index: 99;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease, visibility 0.4s ease;
    }

    .header-nav.active {
        display: flex;
        opacity: 1;
        visibility: visible;
    }

    .mob-nav-icon {
        display: block;
        position: relative;
        z-index: 100;
        width: 30px;
        height: 20px;
        cursor: pointer;
    }

    .mob-nav-block {
        position: absolute;
        top: 50%;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: var(--c2);
        /* Gold color */
        transform: translateY(-50%);
        transition: background-color 0.3s ease;
    }

    .mob-nav-icon::before,
    .mob-nav-icon::after {
        content: '';
        position: absolute;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: var(--c2);
        transition: transform 0.3s ease;
    }

    .mob-nav-icon::before {
        top: 0;
    }

    .mob-nav-icon::after {
        bottom: 0;
    }

    .mob-nav-icon.active .mob-nav-block {
        background-color: transparent;
    }

    .mob-nav-icon.active::before {
        transform: translateY(9px) rotate(45deg);
    }

    .mob-nav-icon.active::after {
        transform: translateY(-9px) rotate(-45deg);
    }

    .header-logo {
        position: relative;
        left: 0;
        transform: none;
        z-index: 100;
        /* Keep logo above menu overlay */
    }

    /* Language Switcher */
    .lang-switch {
        display: flex;
        align-items: center;
        margin-left: 30px;
        font-family: 'Jost', sans-serif;
        font-size: 14px;
        font-weight: 500;
        letter-spacing: 1px;
        color: var(--c4);
    }

    .lang-switch a {
        color: var(--c4);
        text-decoration: none;
        opacity: 0.5;
        transition: all 0.3s ease;
    }

    .lang-switch a.active,
    .lang-switch a:hover {
        opacity: 1;
    }

    .lang-switch .sep {
        margin: 0 8px;
        opacity: 0.3;
    }

    /* Hero Section */
    .banner {
        height: auto;
        min-height: 100vh;
        padding-bottom: 60px;
    }

    .banner-block {
        flex-direction: column-reverse;
        /* Image on top, text below */
        max-width: 100%;
        width: 100%;
        margin-top: 80px;
    }

    .banner-content {
        width: 100%;
        padding: 40px 20px;
        /* Increased padding */
        aspect-ratio: auto;
        box-sizing: border-box;
        /* Ensure padding doesn't overflow width */
    }

    .banner-image {
        width: 100%;
        aspect-ratio: 16/9;
        min-height: 250px;
    }

    .banner-h1 {
        font-size: clamp(32px, 8vw, 48px);
        /* Slightly larger for mobile readability */
        margin-bottom: 24px;
        word-wrap: break-word;
        /* Prevent long words breaking layout */
        line-height: 1.1;
    }

    /* About Section */
    .about-team {
        flex-direction: column;
        margin-bottom: 80px;
        align-items: center;
        /* Center flex items */
    }

    .about-team-col {
        width: 100%;
        margin: 0 0 50px;
        /* Standard margin bottom */
        text-align: center;
        /* Center text */
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Reset specific margins from desktop styles without !important if possible, 
       but here we use !important to override the specificity of :last-child if needed, 
       or we can rely on order. Let's try to be specific. */
    .about-team-col:last-child {
        margin: 0 0 50px;
        /* Override desktop margin */
        width: 100%;
    }

    .about-team-col.img-float {
        height: 350px;
        width: 100%;
        margin-bottom: 50px;
    }

    .about-team-col h2 {
        width: 100%;
        font-size: 32px;
        text-align: center;
        /* Explicitly center heading */
    }

    .about-team-text {
        text-align: center;
        /* Center body text */
        margin: 0 auto 30px;
        /* Center block if it has width */
        font-size: 16px;
        /* Readable body text */
        padding: 0 20px;
    }

    /* Service Pillars */
    .info-top {
        padding: 0 20px;
        margin-bottom: 40px;
        text-align: center;
    }

    .info-top h2,
    .info-top .subheading {
        text-align: center;
        width: 100%;
        word-wrap: break-word;
    }

    .info-block {
        padding: 0 20px;
        margin-bottom: 60px;
        text-align: center;
    }

    .info-text {
        margin: 0 auto 40px;
        font-size: 15px;
        /* Slightly smaller for mobile readability */
        line-height: 1.6;
    }

    .link-flash {
        font-size: 16px;
        /* Reduced from 18px for better fit */
    }

    /* Slogan Mobile Optimization */
    .slogan-text {
        font-size: 24px;
        /* Smaller font for mobile */
        padding: 0 20px;
    }

    .slogan-line {
        white-space: normal;
        /* Allow text to wrap */
        display: block;
        /* Stack lines vertically */
        margin: 0 auto 8px auto;
        /* Center element horizontally and keep bottom spacing */
    }

    /* Disable cover animation on mobile, use fade-in instead */
    .slogan-cover {
        display: none;
    }

    .slogan-text .slogan-line {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.8s ease, transform 0.8s ease, color 0.8s ease;
    }

    .slogan-text.active .slogan-line {
        opacity: 1;
        transform: translateY(0);
        color: var(--c1);
        /* Turn white/bright */
    }

    .slogan-text.active .slogan-line.highlight {
        color: var(--c2);
        /* Turn gold */
    }

    /* Re-apply color highlight logic without cover */
    .slogan-line.highlight {
        color: rgba(191, 161, 121, 0.15);
        /* Keep dim gold initially */
    }

    /* Services Grid */
    .services-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
        gap: 20px;
    }

    .service-card {
        padding: 30px 20px;
    }

    /* Stewardship Section */
    .invest-info {
        padding: 0 20px;
    }

    .invest-info-top {
        margin-bottom: 40px;
        text-align: center;
    }

    .invest-info-top h2,
    .invest-info-top .subheading {
        text-align: center;
    }


    .invest-info-block {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }

    .invest-info-img {
        width: 100%;
        height: 300px;
    }

    .invest-info-content {
        width: 100%;
        align-items: center;
        text-align: center;
    }

    /* Footer */
    .footer-top {
        flex-direction: column;
        gap: 30px;
        padding: 50px 0 30px;
    }

    .footer-nav {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .join {
        padding: 80px 0;
    }

    .join-form .key-wrap {
        margin: 0 0 40px;
    }

    .input-box {
        gap: 20px;
    }

    .input-item {
        width: 100%;
        margin: 0;
    }

    .form-button {
        margin-top: 40px;
    }

    /* Header */
    .header-nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #132620;
        /* Dark green bg */
        z-index: 99;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease, visibility 0.4s ease;
    }

    .header-nav.active {
        display: flex;
        opacity: 1;
        visibility: visible;
    }

    .header-nav-list {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        text-align: center;
        width: 100%;
        /* Ensure full width for centering */
    }

    /* Reset desktop margins */
    .header-nav-list:first-child,
    .header-nav-list:last-child {
        margin: 0;
    }

    .mob-nav-icon {
        display: block;
        z-index: 1500;
        /* Ensure above everything */
        width: 30px;
        height: 20px;
        cursor: pointer;
        /* Positioned absolute in header-block context or relative if flex order used */
        order: 1;
    }

    .mob-nav-block,
    .mob-nav-icon::before,
    .mob-nav-icon::after {
        background-color: var(--c2);
        /* Gold */
    }

    .mob-nav-icon.active .mob-nav-block {
        background-color: transparent;
    }

    .mob-nav-icon.active::before {
        transform: translateY(9px) rotate(45deg);
    }

    .mob-nav-icon.active::after {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* Language Switcher - Mobile Position */
    .lang-switch {
        order: 3;
        margin: 0;
        position: relative;
        z-index: 100;
        color: var(--c2) !important;
        /* Force Gold Color */
    }

    .lang-switch a {
        color: var(--c2) !important;
        /* Force Gold Color */
    }

    .header-block {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 20px;
    }

    .header-logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        z-index: 100;
        text-align: center;
        width: auto;
        margin: 0;
        /* Ensure it doesn't block clicks if width is too wide */
        pointer-events: none;
        /* Let clicks pass through transparent parts */
    }

    .header-logo a {
        pointer-events: auto;
        /* Re-enable clicks on link */
    }
}

@media screen and (max-width: 480px) {
    .banner-content {
        padding: 40px 20px;
    }

    .loader-box {
        width: 90%;
        bottom: 80px;
    }

    .service-card {
        padding: 30px 20px;
    }

    .about-team-col h2 {
        font-size: 28px;
    }
}