/* Home Page Specific Styles */

.section-padding {
    padding: 100px 0;
    background: white;
}

.px-5vw {
    padding-left: 5vw !important;
    padding-right: 5vw !important;
}

#carouselExampleControls img {
    max-height: 648px;
    object-fit: cover;
    object-position: top;
}
.latest-articles h2 {
    font-weight: 300 !important;
}

.article-desc {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 500px;
}

.article-sidebar .sidebar-title {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #001f2e;
}

.btn-filter {
    background: transparent;
    border: 1px solid #ddd;
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 0.9rem;
    color: #333;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    width: fit-content;
    min-width: 140px;
}

.btn-filter.active,
.btn-filter:hover {
    background: #001f2e;
    color: #fff;
    border-color: #001f2e;
}

/* Article Card Styles */
.article-card {
    padding: 0 10px;
}

.article-img-wrapper {
    overflow: hidden;
    position: relative;
    aspect-ratio: 4 / 3;
}

.article-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-img-wrapper img {
    transform: scale(1.05);
}

.article-meta {
    font-size: 0.75rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-meta .sep {
    margin: 0 5px;
}

.article-title {
    font-size: 1.1vw;
    line-height: 1.5;
    font-weight: 300;
    font-family: 'Manrope', sans-serif;
    letter-spacing: .02em;
}

.article-title a {
    color: #333333;
    transition: color 0.3s ease;
}

.article-title a:hover {
    color: var(--primary);
}

/* Owl Carousel Customization */
.article-slider .owl-nav {
    display: none;
}

.article-slider .owl-dots {
    margin-top: 30px !important;
    text-align: left;
}

.article-slider .owl-dot span {
    width: 8px !important;
    height: 8px !important;
    background: #ddd !important;
}

.article-slider .owl-dot.active span {
    background: #001f2e !important;
    width: 20px !important;
}

/* Legacy Clients Carousel */
.legacy-clients-section {
    padding: 90px 0;
}

.legacy-clients-title {
    margin-top: 14px;
    font-size: clamp(1.6rem, 1.1rem + 1vw, 2.3rem);
    letter-spacing: 0.08em;
    color: #001f2e;
    font-weight: 300;
}

.legacy-logo-carousel {
    padding: 16px 20px;
}

.legacy-logo-carousel .owl-stage-outer {
    padding: 8px 0;
}

.legacy-logo-carousel .owl-stage {
    display: flex;
    align-items: center;
}

.legacy-logo-carousel .owl-item {
    display: flex;
    align-items: center;
}

.legacy-logo-item {
    min-height: 118px;
    
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    
    border: 0;
    box-shadow: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    background: white;
    box-shadow: 0 0px 4px #f1f1f1;
    width: 280px;
}

.legacy-logo-item:hover {
    transform: translateY(-2px);
}

.legacy-logo-image {
    width: auto;
    max-width: 100%;
    max-height: 86px;
    height: auto;
    object-fit: contain;
    filter: none;
    opacity: 1;
    transition: transform 0.35s ease;
}

.legacy-logo-item:hover .legacy-logo-image {
    transform: scale(1.02);
}

.legacy-logo-image-1 {
    max-height: 92px;
}

.legacy-logo-image-2 {
    max-height: 92px;
}

.legacy-logo-image-3 {
    max-height: 82px;
}

.legacy-logo-image-4 {
    max-width: 170px;
    max-height: 90px;
}

.legacy-logo-image-5 {
    max-width: 250px;
    max-height: 74px;
}

.legacy-logo-image-6 {
    max-width: 255px;
    max-height: 72px;
}

.legacy-logo-carousel .owl-dots,
.legacy-logo-carousel .owl-nav {
    display: none;
}

@media (max-width: 767px) {
    .legacy-logo-carousel {
        padding: 12px 10px;
    }

    .legacy-logo-item {
        min-height: 96px;
        padding: 14px 16px;
    }

    .legacy-logo-image {
        max-height: 62px;
    }

    .legacy-logo-image-5,
    .legacy-logo-image-6 {
        max-width: 180px;
        max-height: 56px;
    }
}

/* Video Hero Styles */
.video-hero-v2 {
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: #000;
    overflow: hidden;
    /* Total interaction lockout */
    pointer-events: none !important;
}

.volume-btn {
    /* Only the volume button remains interactive */
    pointer-events: auto !important;
    z-index: 1000 !important;
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-background {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
    /* Hidden initially */
    transition: opacity 1s ease-in-out;
    /* Smooth fade in */
}

@media (min-aspect-ratio: 16/9) {
    .video-background {
        height: 56.25vw;
    }
}

@media (max-aspect-ratio: 16/9) {
    .video-background {
        width: 177.78vh;
    }
}

.video-background iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
    max-width: 900px;
}

.hero-content h1 {
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.hero-content p {
    font-weight: 300;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* Volume Button Styles */
.volume-btn {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.volume-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.volume-btn.active {
    background: rgba(197, 160, 89, 0.8);
    /* Gold accent from theme */
    border-color: #c5a059;
}

.volume-btn i {
    font-size: 1.2rem;
}

/* Ensure video background fills the container correctly with API div */
#hero-video-player {
    width: 100%;
    height: 100%;
}

/* Video Click Blocker */
.video-click-blocker {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    background: rgba(0, 0, 0, 0);
    pointer-events: auto !important;
}

/* Aggressive crop and interaction lockout */
#hero-video-player,
.video-background iframe {
    width: 100% !important;
    height: 100% !important;
    pointer-events: none !important;
    /* No mouse interaction possible */
}

.volume-btn {
    z-index: 1000 !important;
}

/* Brand Mantra Section Final - Dark Luxe */
.brand-mantra-final {
    position: relative;
    background-color: #0a0a0a;
    padding: 150px 0;
    overflow: hidden;
}

.mantra-bg-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.8;
    /* Increased visibility */
    background-attachment: fixed;
    /* Added parallax for more impact */
}

.mantra-overlay-deep {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(10, 10, 10, 0.5) 0%, rgba(10, 10, 10, 0.9) 100%);
    z-index: 1;
}

.mantra-frame-container {
    position: relative;
    z-index: 2;
}

.mantra-frame {
    border: 1px solid rgba(197, 160, 89, 0.3);
    padding: 80px 40px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
}

.mantra-label {
    text-transform: uppercase;
    letter-spacing: 6px;
    font-size: 0.75rem;
    color: #c5a059;
    font-weight: 600;
}

.mantra-title {
    font-family: 'The Seasons', serif;
    font-size: 4rem;
    color: #ffffff;
    line-height: 1.1;
    letter-spacing: 1px;
}

.mantra-title i {
    font-weight: 300;
}

.mantra-gold {
    color: #c5a059;
    font-family: 'The Seasons', serif;
    font-style: italic;
}

.mantra-divider-gold {
    width: 60px;
    height: 1px;
    background: #c5a059;
    margin: 0 auto;
}

.value-item {
    padding: 30px 20px;
    text-align: center;
}

.val-num {
    display: block;
    font-family: 'The Seasons', serif;
    font-size: clamp(3.2rem, 2.4rem + 3vw, 5rem);
    line-height: 1;
    color: #c5a059;
    margin-bottom: 20px;
    font-style: italic;
}

.val-num::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    margin: 18px auto 0;
    background: rgba(197, 160, 89, 0.5);
}

.value-item p {

    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.sec-3-gradient {
    background-image: linear-gradient(to bottom, #ffffff 0%, rgba(255, 255, 255, 0.7) 40%, rgba(255, 255, 255, 0) 100%);
    width: 100%;
    height: 100px;
    max-height: 100px;
    position: absolute;
    inset: 0% auto auto 0%;
    z-index: 2;
    pointer-events: none;
}

@media (max-width: 991px) {
    .mantra-title {
        font-size: 2.5rem;
    }

    .mantra-frame {
        padding: 40px 20px;
    }
}

/* Editorial Intro Section */
.editorial-intro {
    background: #ffffff;
    padding-bottom: 40px;
}

.sub-label {
    font-family: 'Manrope', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 3px;
    color: var(--primary);
    font-weight: 700;
}

.intro-description p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
}

.lead-text {
    font-family: 'The Seasons', serif;
    font-size: 1.3rem !important;
    color: #1a1a1a !important;
    line-height: 1.6;
}

.showcase-img-wrapper {
    overflow: hidden;
    
    position: relative;
}

.showcase-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 991px) {
    .showcase-img-wrapper {
        height: 400px;
        margin-bottom: 20px;
    }

    .px-5vw {
        padding-left: 5vw;
        padding-right: 5vw;
    }
}

/* Commitment Hierarchy Styles */
.editorial-intro h2.display-4 {
    font-size: 1.2rem;
    letter-spacing: 5px;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
}

.commitment-subheading {
    font-family: 'The Seasons', serif;
    font-size: 3rem;
    line-height: 1.2;
    color: #1a1a1a;
}

@media (max-width: 991px) {
    .commitment-subheading {
        font-size: 2rem;
    }
}

/* Latest Articles V2 Styles */
.article-card-v2 {
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.article-card-link {
    text-decoration: none;
    color: inherit;
}

.article-title span {
    font-size: 18px;
    color: #1a1a1a;
    line-height: 1.3;
    transition: color 0.3s ease;
    display: inline-block;
}

.article-card-v2:hover .article-title span {
    color: var(--primary);
}

.article-img-box {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 2px;
}

.article-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.article-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.read-more-btn {
    color: #fff;
    font-family: 'Manrope', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1px solid #fff;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.article-card-v2:hover .article-img-box img {
    transform: scale(1.1);
}

.article-card-v2:hover .article-overlay {
    opacity: 1;
}

.article-meta {
    font-family: 'Manrope', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 700;
}

.article-meta .date {
    margin-left: 15px;
    color: #999;
}

.article-title a {

    font-size: 18px;
    color: #1a1a1a;
    text-decoration: none;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.article-title a:hover {
    color: var(--primary);
}

/* GSAP Reveal States */
.gs-reveal-up,
.gs-reveal-stagger {
    opacity: 0;
    transform: translateY(30px);
}

/* Property Showcase Section */
.property-showcase {
    background: #ffffff;
    position: relative;
    padding-bottom: 60px;
    padding-top: 90px;
}

.header-divider-gold {
    width: 60px;
    height: 1px;
    background: var(--primary);
}

/* Split Showcase Grid Layout */
.showcase-main-grid {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    width: 100%;
}

.image-column-wrap {
    width: 60%;
    height: 100vh;
    position: sticky;
    top: 0;
    overflow: hidden;
}

.image-stage {
    position: relative;
    width: 100%;
    height: 100%;
    background: #fff;
}

.text-column-wrap {
    width: 40%;
    padding: 0 4vw;
}

.text-content-inner {
    padding-top: 20vh;
    padding-bottom: 60vh;
}

/* Property Text Item Styles */
.property-text-item {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.6s ease;
    cursor: pointer;
    margin-bottom: 5vh;
}

.prop-tag {
    font-family: 'Manrope', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: #3b7b99;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.property-text-item h3 {
    font-family: 'The Seasons', serif;
    font-size: 3.2rem;
    color: #b5b5b5;
    transition: all 0.6s ease;
    margin-bottom: 25px;
    line-height: 1.1;
}

.property-text-item.is-active h3 {
    color: #1a1a1a;
    font-size: 3.5rem;
}

.prop-body {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.property-text-item.is-active .prop-body {
    max-height: 400px;
    opacity: 1;
}

.prop-body p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 25px;
    max-width: 90%;
}

.learn-more-link {
    font-family: 'The Seasons', serif;
    font-size: 1rem;
    color: #1a1a1a;
    text-decoration: none;
    border-bottom: 1px solid #1a1a1a;
    padding-bottom: 3px;
    transition: all 0.3s ease;
}

/* Image Reveal Logic */
.property-img-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translateY(100%);
    transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 1;
    overflow: hidden;
}

.property-img-wrap.is-active {
    transform: translateY(0);
    z-index: 2;
}

.property-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1024px) {
    .image-column-wrap {
        width: 50%;
    }

    .text-column-wrap {
        width: 50%;
    }
}

@media (max-width: 991px) {

    .image-column-wrap,
    .text-column-wrap {
        width: 100%;
        height: auto;
        position: relative;
    }

    .image-column-wrap {
        height: 60vh;
    }

    .property-text-item {
        min-height: auto;
        padding: 50px 20px;
    }

    .property-text-item h3 {
        font-size: 2.2rem;
    }

    .property-text-item.is-active h3 {
        font-size: 2.4rem;
    }
}


/* Static Property List Design */
.property-static-img {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 4px;
}

.property-static-img img {
    width: 100%;
    height: auto;
    display: block;
}

.prop-logo-overlay {
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 5;
}

.property-static-list {
    display: flex;
    flex-direction: column;
}

.tag-label {
    font-family: 'Manrope', sans-serif;
    font-size: 0.8rem;
    color: #3b7b99;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.prop-list-item {
    margin-bottom: 20px;
}

.prop-list-item h3 {
    font-family: 'The Seasons', serif;
    font-size: 34px;
    color: #b5b5b5;
    /* Muted grey for inactive items */
    margin: 0;
    cursor: pointer;
    transition: color 0.3s ease;
}

.prop-list-item.active h3 {
    color: #1a1a1a;
    /* Black for active item */

}

.prop-desc {
    margin-top: 15px;
}

.prop-desc p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

.btn-more {
    font-family: 'The Seasons', serif;
    color: #1a1a1a;
    text-decoration: none;
    border-bottom: 1px solid #1a1a1a;
    padding-bottom: 2px;
    font-size: 1rem;
}

@media (max-width: 991px) {
    .prop-list-item h3 {
        font-size: 2.2rem;
    }

    .prop-list-item.active h3 {
        font-size: 2.4rem;
    }
}

/* Property Showcase - Screenshot Parity Design */
.property-list-section {
    position: relative;
    overflow: hidden;
}

.property-sticky-stage {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 20px 0;
    /* Vertical breathing room */
}

.image-reveal-stack {
    position: relative;
    width: 100%;
    height: 100%;
    /* Take full height of sticky stage */
    overflow: hidden;
}

.image-slider-inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    gap: 20px;
    /* Requested gap */
    transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.reveal-img {
    flex: 0 0 100%;
    /* Keep images full height of container */
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

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

.reveal-logo {
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 5;
}

/* Right Side: Static List Design */
.property-static-list {
    padding-left: 2vw;
}

.tag-label {
    font-family: 'Manrope', sans-serif;
    font-size: 0.85rem;
    color: #3b7b99;
    letter-spacing: 1px;
    font-weight: 600;
    text-transform: uppercase;
    display: block;
    margin-bottom: 30px;
}

.prop-list-item {
    margin-bottom: 25px;
    transition: all 0.5s ease;
}

.prop-list-item h3 {
    font-family: 'The Seasons', serif;
    font-size: 34px;
    color: #b5b5b5;
    margin: 0;
    line-height: 1.1;
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    transform: translateY(10px);
    /* Small starting offset */
    opacity: 0.5;
}

.prop-list-item.active h3 {
    color: #1a1a1a;
    transform: translateY(0);
    opacity: 1;
}

.prop-desc {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    /* More pronounced offset for description */
    transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.prop-list-item.active .prop-desc {
    opacity: 1;
    margin-top: 12px;
    margin-bottom: 0;
    max-height: max-content;
    transform: translateY(0);
}

.prop-desc p {
    font-size: 1.2vw;
    line-height: 1.7;
    color: #555;
    max-width: 90%;
}

.btn-more {
    font-family: 'The Seasons', serif;
    color: #1a1a1a;
    text-decoration: none;
    border-bottom: 1px solid #1a1a1a;
    padding-bottom: 2px;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

@media (max-width: 991px) {
    .property-sticky-stage {
        height: auto;
        position: relative;
    }

    .prop-list-item h3 {
        font-size: 2.2rem;
    }

    .prop-list-item.active h3 {
        font-size: 2.4rem;
    }

    .image-reveal-stack {
        height: 50vh;
    }
    #carouselExampleControls img {
    height: 400px;
    max-height: unset;
    object-position: center;
    object-fit: cover;
}
#carouselExampleControls .carousel-inner .carousel-item:nth-child(3) img {
    object-position: right;
}

}
