/*
Theme Name: MKEast
Theme URI: https://cormackadvertising.com
Author: Cormac Advertising
Author URI: https://cormackadvertising.com
Description: A modern single-page WordPress theme for MK East logistics development by Cormac Advertising
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mkeast
*/

/* ==========================================================================
   CSS Reset & Base Styles
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-feature-settings: 'ss01' on;
    font-family: "roc-grotesk", sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* ==========================================================================
   Typography - Centralized & Standardized
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: "roc-grotesk", sans-serif;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #fff;
}

/* Main Headlines */
h1 {
    font-size: clamp(48px, 6vw, 80px);
    font-family: "roc-grotesk-wide", sans-serif;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -2px;
}

/* Section Headlines */
h2 {
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 400;
    line-height: 1.2;
}

/* Sub-Headlines */
h3 {
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 500;
    line-height: 1.3;
}

/* Card/Component Headlines */
h4 {
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 600;
    line-height: 1.4;
}

/* Paragraphs & Body Text */
p {
    margin-bottom: 20px;
    font-size: clamp(14px, 1.5vw, 18px);
    font-weight: 400;
    line-height: 1.6;
    color: #fff;
}

/* Subheadlines / Lead Text */
.subtitle,
.subheadline {
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 30px;
}

/* Text Highlights */
.text-highlight,
.text-orange {
    color: #FF591F;
}

/* Letter-by-letter fill animation for .text-orange, .text-white, .text-blue */
.text-orange,
.text-white,
.text-blue {
    position: relative;
    display: inline-block;
    color: inherit !important;
}

/* Each letter wrapper with progressive fill effect */
.text-orange .letter,
.text-white .letter,
.text-blue .letter {
    display: inline-block;
    position: relative;
    vertical-align: baseline;
    -webkit-text-stroke: 0px;
    white-space: pre;
}

/* Create the colored overlay that sweeps across */
.text-orange .letter::before,
.text-white .letter::before,
.text-blue .letter::before {
    content: attr(data-letter);
    position: absolute;
    top: -1px;
    left: -1px;
    background: inherit;
    width: 0%;
    overflow: hidden;
    transition: width 0.3s ease-out;
    white-space: nowrap;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    padding: 1px;
    z-index: 2;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    will-change: width;
}

/* Set specific colors for each variant */
.text-orange .letter::before {
    color: #FF591F;
    -webkit-text-fill-color: #FF591F;
}

.text-white .letter::before {
    color: #fff;
    -webkit-text-fill-color: #fff;
}

.text-blue .letter::before {
    color: #007FFF;
    -webkit-text-fill-color: #007FFF;
}

/* Initial state - letters inherit parent h2 color */
.text-orange.fill-animation,
.text-white.fill-animation,
.text-blue.fill-animation {
    color: inherit !important;
}

.text-orange.fill-animation .letter,
.text-white.fill-animation .letter,
.text-blue.fill-animation .letter {
    color: inherit;
}

/* When filling starts, keep base letter visible during animation */
.text-orange.fill-animation .letter.filled,
.text-white.fill-animation .letter.filled,
.text-blue.fill-animation .letter.filled {
    color: inherit;
    transition: color 0.05s ease 0.25s;
}

/* After fill completes, make base letter transparent to avoid outline */
.text-orange.fill-animation .letter.fill-complete,
.text-white.fill-animation .letter.fill-complete,
.text-blue.fill-animation .letter.fill-complete {
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    text-shadow: none !important;
}

/* Filled state - color sweeps from left to right */
.text-orange.fill-animation .letter.filled::before,
.text-white.fill-animation .letter.filled::before,
.text-blue.fill-animation .letter.filled::before {
    width: 100%;
}

.text-white {
    color: #fff;
}

.text-blue {
    color: #007FFF;
}

/* Links */
a {
    color: #FF591F;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #FF7A47;
}

/* ==========================================================================
   Layout & Container
   ========================================================================== */

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 50px;
}

.container-wide {
    max-width: 100%;
    padding: 0;
}

section {
    position: relative;
    padding: 80px 50px;
    overflow: hidden;
}

/* Responsive Container & Section Padding */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    section {
        padding: 80px 30px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    section {
        padding: 80px 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    section {
        padding: 80px 20px;
    }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: #FF5722;
    color: #fff;
    font-weight: 700;
    font-size: 1.125rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
    font-family: "roc-grotesk", sans-serif;
}

.btn:hover {
    background: #E64A19;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 87, 34, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #333;
    border: 2px solid #333;
}

.btn-secondary:hover {
    background: #333;
    color: #fff;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 40px;
    z-index: 1000;
    transition: all 0.3s ease;
    background: transparent;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.5),
                inset 0 -1px 0 rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 20px 40px;
}

@media (max-width: 480px) { .site-header.scrolled { padding: 20px; } }

.header-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    gap: 20px;
}

.header-left {
    justify-self: start;
    padding-left: 0;
}

.header-center {
    justify-self: center;
}

.header-right {
    justify-self: end;
    padding-right: 0;
}

.site-logo {
    display: block;
    line-height: 1;
}

.logo-image {
    height: 40px;
    width: auto;
    display: block;
    transition: filter 0.4s ease-in-out;
}

/* Adaptive Logo Color - inverts white portions for visibility */
.logo-image.inverted {
    filter: invert(1) hue-rotate(180deg);
}

.header-location {
    color: #FFF;
    text-align: right;
    font-feature-settings: 'ss01' on;
    font-family: "roc-grotesk", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.site-header.scrolled .header-location {
    color: #333;
}

@media (max-width: 768px) {
    .logo-image {
        height: 32px;
    }

    .header-location {
        font-size: 10px;
        line-height: 1.3;
    }

    .header-inner {
        gap: 10px;
        padding: 0 30px;
    }
}

@media (max-width: 480px) {
    .header-inner {
        padding: 0 2px;
    }

    .header-location {
        font-size: 8px;
    }
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    position: relative;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: #FF591F;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.site-header.scrolled .nav-toggle span {
    background: #FF591F;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
    background: #fff;
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
    background: #fff;
}

/* Off-Canvas Navigation */
.off-canvas-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: 
        linear-gradient(rgba(13, 20, 32, 0.85), rgba(13, 20, 32, 0.15)), /* semi-transparent overlay */
        url('assets/images/ui/nav-background.png') center/cover no-repeat; /* background image */
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}


.off-canvas-nav.active {
    right: 0;
}

.nav-menu {
    list-style: none;
    text-align: center;
}

.nav-menu li {
    margin: 5px 0;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.5s ease;
}

.off-canvas-nav.active .nav-menu li {
    opacity: 1;
    transform: translateX(0);
}

.off-canvas-nav.active .nav-menu li:nth-child(1) { transition-delay: 0.1s; }
.off-canvas-nav.active .nav-menu li:nth-child(2) { transition-delay: 0.2s; }
.off-canvas-nav.active .nav-menu li:nth-child(3) { transition-delay: 0.3s; }
.off-canvas-nav.active .nav-menu li:nth-child(4) { transition-delay: 0.4s; }
.off-canvas-nav.active .nav-menu li:nth-child(5) { transition-delay: 0.5s; }
.off-canvas-nav.active .nav-menu li:nth-child(6) { transition-delay: 0.6s; }
.off-canvas-nav.active .nav-menu li:nth-child(7) { transition-delay: 0.7s; }
.off-canvas-nav.active .nav-menu li:nth-child(8) { transition-delay: 0.8s; }
.off-canvas-nav.active .nav-menu li:nth-child(9) { transition-delay: 0.9s; }
.off-canvas-nav.active .nav-menu li:nth-child(10) { transition-delay: 1.0s; }

.nav-menu a {
    font-size: clamp(1.5rem, 2.2em, 2.2em);
    color: #fff;
    font-weight: 400;
    font-feature-settings: 'ss01' on;
    font-family: "roc-grotesk", sans-serif;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    color: #FF5722;
    transform: translateX(20px);
    display: inline-block;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.hero-background-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 2;
    mix-blend-mode: overlay;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 3;
    max-width: 1600px;
    padding: 0;
}

.hero-title { 
    color: #FFF;
    text-align: center;
    font-feature-settings: 'ss01' on;
    font-family: "roc-grotesk", sans-serif;
    font-size: clamp(60px, 8vw, 125px);
    font-style: normal;
    font-weight: 500;
    line-height: 1.008;
    letter-spacing: -5px;
    margin-bottom: 30px;
}

.hero-subtitle {
    color: #FFF;
    text-align: center;
    font-feature-settings: 'ss01' on;
    font-family: "roc-grotesk", sans-serif;
    font-size: clamp(18px, 2vw, 23px);
    font-style: normal;
    font-weight: 500;
    line-height: 1.26;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-size-text {
    position: absolute;
    bottom: 40px;
    right: 40px;
    color: #FFF;
    text-align: right;
    font-feature-settings: 'ss01' on;
    font-family: "roc-grotesk", sans-serif;
    font-size: clamp(12px, 1.5vw, 20px);
    font-style: normal;
    font-weight: 500;
    line-height: 1.4;
    z-index: 3;
    white-space: nowrap;
}

@media (max-width: 1024px) {
    .hero-size-text {
        white-space: normal;
        max-width: 300px;
    }
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 50px;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 192px;
    height: 38px;
    border-radius: 100px;
    background: #FF591F;
    color: #000;
    font-family: "roc-grotesk", sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-hero:hover {
    background: #FFF;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.btn-hero .btn-icon {
    width: 16px;
    height: 16px;
    transition: filter 0.3s ease;
}

@media (max-width: 768px) {
    .hero-size-text {
        bottom: 20px;
        right: 20px;
        left: 20px;
        text-align: center;
        font-size: 11px;
    }

    .hero-content {
        padding: 0;
    }

    .hero-title {
        letter-spacing: -2px;
    }
}

/* ==========================================================================
   Specification Section
   ========================================================================== */

.specification-section {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 80px 0;
}

.specification-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.spec-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 1;
    transform: scale(1);
}

/* Slow zoom effect animation - triggered on scroll */
.specification-section.in-view .spec-bg-image {
    animation: slowZoom 8s ease-out forwards;
}

@keyframes slowZoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

.specification-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.92) 0%,
        rgba(255, 255, 255, 0.75) 20%,
        rgba(255, 255, 255, 0.4) 40%,
        rgba(255, 255, 255, 0.1) 70%,
        rgba(255, 255, 255, 0) 100%
    );
    z-index: 2;
}

.specification-content {
    position: relative;
    z-index: 3;
    width: 100%;
/*     padding: 80px 50px; */
    padding: 0 50px 80px 50px;
	
}

.specification-top {
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    gap: 60px;
    align-items: start;
    max-width: 1600px;
    margin: 0 auto;
}

.specification-left {
    padding-right: 0;
}

.specification-title {
    color: #1a1a1a;
    font-family: "roc-grotesk", sans-serif;
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 20px;
}

.specification-subtitle {
    color: #333;
    font-family: "roc-grotesk", sans-serif;
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 0;
}

.specification-divider {
    width: 1px;
    height: 100%;
    min-height: 200px;
    background: #fff;
    border: none;
}

.specification-right {
    padding-left: 0;
}

.specification-text {
    color: #333;
    font-family: "roc-grotesk", sans-serif;
    font-size: clamp(14px, 1.5vw, 18px);
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 20px;
}

.specification-text:last-child {
    margin-bottom: 0;
}

.specification-spacer {
    min-height: 50vh;
    height: calc(100vh - 400px);
}

/* Occupiers Section */
.occupiers-section {
    position: relative;
    background: linear-gradient(90deg, #0D0F1C 0%, #4E5C66 100%);
    padding: 80px 50px;
    overflow: visible;
    width: 100%;
    z-index: 10;
}

.occupiers-section {
    --overlay-x: -100%;
}

.occupiers-section::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) translateX(var(--overlay-x));
    width: 100%;
    max-width: 800px;
    height: 100%;
    background-image: url('/wp-content/themes/MKEast/assets/images/specifications/specification-overlay.svg');
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 1;
    pointer-events: none;
    z-index: 1;
    will-change: transform;
}

.occupiers-inner {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    position: relative;
    z-index: 2;
}

.occupiers-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 40px 20px;
}

.occupiers-title {
    color: #fff;
    font-family: "roc-grotesk", sans-serif;
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 400;
    line-height: 1.2;
    margin: 0 0 20px 0;
    text-align: center;
}

.occupiers-title .text-orange {
    color: #FF591F;
}

.occupiers-subtitle {
    color: #fff;
    font-family: "roc-grotesk", sans-serif;
    font-size: clamp(16px, 1.5vw, 20px);
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
    text-align: center;
}

/* Map Pin Bridge Section - Dedicated section between occupiers and aerial */
.map-pin-section {
    position: relative;
    height: 0px;
    width: 100%;
    z-index: 10000;
    pointer-events: none;
    background: transparent;
    padding: 0 !important;
    overflow: visible;
}

/* Map Pin Icon - Always on top */
.map-pin-section .aerial-map-pin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10001;
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    pointer-events: auto;
}

.map-pin-section .aerial-map-pin img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* Aerial Section */
.aerial-section {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    z-index: 5;
}

.aerial-image-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.aerial-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
}

.aerial-text-overlay {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
}

.aerial-headline {
    color: #FFF;
    text-align: center;
    font-feature-settings: 'ss01' on;
    font-family: "roc-grotesk", sans-serif;
    font-size: 23px;
    font-style: normal;
    font-weight: 500;
    line-height: 29px;
    margin: 0;
}

/* Accommodation Section */
.accommodation-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 50px;
}

.accommodation-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    opacity: 1;
    z-index: 1;
}

.accommodation-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 2;
}

.accommodation-content {
    position: relative;
    z-index: 3;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0;
    width: 100%;
}

.accommodation-header {
    text-align: center;
    margin-bottom: 60px;
}

.accommodation-title {
    color: #fff;
    font-family: "roc-grotesk", sans-serif;
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 20px;
}

.accommodation-subtitle {
    color: #fff;
    font-family: "roc-grotesk", sans-serif;
    font-size: clamp(16px, 1.5vw, 20px);
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
}

/* Toggle Switch */
.layout-toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 60px;
}

.toggle-switch {
    position: absolute;
    width: 240px;
    height: 42px;
    background: rgba(255, 255, 255, 0.50);
    border-radius: 100px;
    display: flex;
    z-index: 1;
    align-items: center;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
}

.toggle-pill {
    position: absolute;
    top: 2;
    left: 2px!important;
    width: 118px;
    height: 38px;
    border-radius: 100px;
    background: #FF591F;
    transition: transform 0.3s cubic-bezier(0.04, 0.46, 0.36, 0.99);
    z-index: 1;
}


.toggle-pill:hover {
 
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.toggle-switch.select-right .toggle-pill {
    transform: translateX(118px);
}

.toggle-option {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.toggle-option span {
   color: #FFF;
text-align: center;
font-feature-settings: 'ss01' on;
font-size: 13px;
font-style: normal;
font-weight: 400;
line-height: 18px;
}

.toggle-switch.select-left .toggle-option.left span {
    color: #fff;
}

.toggle-switch.select-left .toggle-option.right span {
    color: #0D0F1C;
}

.toggle-switch.select-right .toggle-option.left span {
    color: #0D0F1C;
}

.toggle-switch.select-right .toggle-option.right span {
    color: #fff;
}

/* Site Plan */
.site-plan-container {
    position: relative;
    margin-top:-100px!important;
    width: 70%;
    max-width: 1600px;
    margin: 0 auto;
    min-height: 400px;
}


@media (max-width: 480px) {
    .site-plan-container {
    
    margin-top:20px!important;
}
}

.site-plan {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 75%;
    height: auto;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    pointer-events: none;
}
@media (max-width: 480px)  {.site-plan {
    padding-top:25px;
    width: 100%!important;
    
}
}

.site-plan.active {
    opacity: 1;
    pointer-events: auto;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

/* Details Section */
.details-section {
    position: relative;
    padding: 80px 50px;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-size: auto, cover;
    background-position: center center, center center;
    background-attachment: scroll, fixed;
    background-repeat: no-repeat, no-repeat;
    opacity: 1;
}

.details-inner {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    gap: 50px;
    align-items: stretch;
    position: relative;
    z-index: 2;
}

.details-divider {
    width: 1px;
    height: 100%;
    background: #fff;
    border: none;
}

.details-left {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
    margin: 20px;
}

.details-right {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 20px;
}

/* Units Table */
.units-table-wrapper {
    display: none;
    width: 100%;
    gap: 40px;
    grid-template-columns: 1fr 1fr;
}

.units-table-wrapper.active {
    display: grid;
    align-items: start;
}

.units-title {
    display: none;
}

.units-data {
    width: 100%;
    border-collapse: collapse;
}

.units-data thead {
    display: none;
}

.units-data tbody tr {
    border-bottom: 1px solid #fff;
}

.units-data tbody tr:last-child {
    border-bottom: none;
}

.units-data tbody td {
    color: #fff;
    font-family: "roc-grotesk", sans-serif;
    font-size: 14px;
    font-weight: 400;
    padding: 4px 8px 2px 8px;
    text-align: left;
}

.units-data tbody td:first-child {
    font-weight: 500;
}

.units-data tbody tr.total-row td {
    font-weight: 700;
    padding-top: 20px;
}

/* Icons */
.details-icons {
    display: none;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 30px;
    width: 100%;
    padding: 0;
    max-width: 100%;
}

.details-icons.active {
    display: grid;
}

.icon-item.animate-on-scroll.animated {
    min-height: 50px!important;
}

@media (max-width:400px) { .esg-icons {
     
    gap: 25px 25px!important;
}
.details-icons {
    
    gap: 25px 25px!important;
}
}




.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    text-align: center;
    min-height: 150px;
}

.detail-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.icon-description {
    color: #fff;
    font-family: "roc-grotesk", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
}

/* ESG Section */
.esg-section {
    position: relative;
    padding: 80px 50px;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 1;
}

.esg-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(225, 225, 225, 0.5);
    z-index: 1;
}

.esg-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.esg-left {
    position: relative;
    z-index: 2;
}

.esg-title {
    color: #0D0F1C;
    font-family: "roc-grotesk", sans-serif;
    font-size: 48px;
    font-weight: 500;
    line-height: 1.2;
    margin: 0 0 20px 0;
}

.esg-subtitle {
    color: #fff;
    font-family: "roc-grotesk", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    margin: 0 0 50px 0;
}

.esg-icons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 30px;
    margin-top: 30px;
}

.esg-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.esg-right {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.esg-text-content {
    color: #fff;
}

.esg-intro {
    color: #fff;
    font-family: "roc-grotesk", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    margin: 0 0 30px 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.stoford-logo {
    height: 20px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
    margin-left: 5px;
}

.esg-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.esg-columns p {
    color: #fff;
    font-family: "roc-grotesk", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
}

.esg-image-container {
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
}

.esg-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}

/* Responsive */
@media (max-width: 1200px) {
    .details-icons {
        grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
        gap: 35px 25px;
        padding: 0 15px;
    }

    .icon-item {
        min-height: 130px;
    }

    .detail-icon {
        width: 48px;
        height: 48px;
    }

    .icon-description {
        font-size: 13px;
        line-height: 1.4;
    }
}

@media (max-width: 1024px) {
    .accommodation-section {
        padding: 80px 30px;
    }

    .accommodation-content {
        padding: 0;
    }

    .details-section {
        padding: 80px 30px;
    }

    .details-inner {
        padding: 0;
        gap: 30px;
        grid-template-columns: 1fr 1px 1fr;
    }

    .details-icons {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 30px 20px;
        padding: 0;
    }

    .icon-item {
        min-height: 120px;
    }

    .detail-icon {
        width: 45px;
        height: 45px;
    }

    .icon-description {
        font-size: 13px;
        line-height: 1.4;
    }
}

@media (max-width: 900px) {
    .details-icons {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px 15px;
        padding: 0;
    }

    .icon-item {
        min-height: 130px;
    }

    .detail-icon {
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 768px) {
    .accommodation-section {
        padding: 80px 20px;
    }

    .accommodation-content {
        padding: 0;
    }

    .accommodation-header {
        margin-bottom: 40px;
    }

    .layout-toggle-container {
        margin-bottom: 40px;
        padding-top: 20px;
    }

    .toggle-switch {
        width: 240px;
        height: 48px;
    }

    .toggle-pill {
        width: 118px;
        height: 44px;
    }

    .toggle-switch.select-right .toggle-pill {
        transform: translateX(118px);
    }

    .toggle-option span {
        font-size: 14px;
    }

    .details-section {
        padding: 80px 20px;
    }

    .details-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0;
    }

    .details-left {
        padding-right: 0;
        border-right: none;
        padding-bottom: 30px;
        border-bottom: 1px solid #fff;
    }

    .details-right {
        padding-left: 0;
    }

    .units-table-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .units-data tbody td {
        font-size: 12px;
        padding: 10px 6px;
    }

    .details-icons {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px 20px;
    }

    .icon-item {
        min-height: 160px;
        padding: 0;
    }

    .detail-icon {
        width: 40px;
        height: 40px;
    }

    .icon-description {
        font-size: 12px;
        line-height: 1.4;
    }

    /* ESG Section Responsive */
    .esg-inner {
        padding: 0;
        gap: 60px;
    }

    .esg-title {
        font-size: 42px;
    }

    .esg-icons {
        grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
        gap: 35px 25px;
    }

    .esg-icon {
        width: 48px;
        height: 48px;
    }

    .esg-intro {
        font-size: 16px;
    }

    .esg-columns p {
        font-size: 13px;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .map-pin-section {
        height: 0px;
    }

    .map-pin-section .aerial-map-pin {
        width: 35px;
        height: 35px;
    }

    .map-pin-section .aerial-map-pin img {
        width: 18px;
        height: 18px;
    }

    .aerial-image-wrapper {
        height: 70vh;
        min-height: 500px;
    }

    .aerial-text-overlay {
        top: 60px;
    }

    .aerial-headline {
        font-size: 20px;
        line-height: 26px;
        padding: 0;
    }
}

@media (max-width: 768px) {
    .map-pin-section {
        height: 0px;
    }

    .map-pin-section .aerial-map-pin {
        width: 30px;
        height: 30px;
    }

    .map-pin-section .aerial-map-pin img {
        width: 15px;
        height: 15px;
    }

    .aerial-image-wrapper {
        height: 60vh;
        min-height: 400px;
    }

    .aerial-text-overlay {
        top: 40px;
    }

    .aerial-headline {
        font-size: 18px;
        line-height: 24px;
    }
}

@media (max-width: 1024px) {
    .specification-section {
        padding: 80px 30px 0 0;
    }

    .specification-content {
/*         padding: 80px 30px; */
        padding:0 30px 80px 30px;
		
    }

    .specification-top {
        gap: 40px;
    }

    .specification-spacer {
        min-height: 40vh;
    }

    .occupiers-section {
        padding: 80px 30px;
    }

    .occupiers-inner {
        padding: 0;
        gap: 60px;
        grid-template-columns: 1fr 2fr;
    }

    .occupiers-section::before {
        width: 60%;
    }
}

@media (max-width: 768px) {
    .specification-section {
        padding: 1px 20px 0 0;
    }

    .specification-content {
        padding: 80px 20px;
    }

    .specification-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .specification-divider {
        display: none;
    }

    .specification-left,
    .specification-right {
        padding: 0;
    }

    .specification-spacer {
        min-height: 30vh;
    }

    .occupiers-section {
        padding: 80px 20px;
        overflow: hidden;
    }

    .occupiers-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0;
    }

    .occupiers-section::before {
        width: 70%;
        max-width: 400px;
    }

    .occupiers-content {
        padding: 40px 20px;
    }

    /* ESG Section Tablet */
    .esg-section {
        padding: 80px 20px;
    }

    .esg-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0;
    }

    .details-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .details-divider {
        display: none;
    }

    .esg-title {
        font-size: 36px;
    }

    .esg-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .esg-icons {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 20px;
    }

    .esg-icon {
        width: 42px;
        height: 42px;
    }

    .esg-columns {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .esg-intro {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .stoford-logo {
        height: 18px;
    }

    .esg-image-container {
        border-radius: 12px;
    }

    .esg-image {
        border-radius: 12px;
    }
}

@media (max-width: 480px) {
    .occupiers-section {
        padding: 80px 20px;
    }

    .occupiers-inner {
        padding: 0;
        gap: 30px;
    }

    .occupiers-section::before {
        width: 80%;
    }

    .occupiers-content {
        padding: 30px 20px;
    }

    .occupiers-title {
        font-size: clamp(26px, 5vw, 48px);
    }

    .occupiers-subtitle {
        font-size: clamp(14px, 1.5vw, 18px);
    }

    /* ESG Section Mobile */
    .esg-section {
        padding: 80px 20px;
    }

    .esg-inner {
        padding: 0;
        gap: 30px;
    }

    .esg-title {
        font-size: 28px;
    }

    .esg-subtitle {
        font-size: 14px;
        margin-bottom: 25px;
    }

    .esg-icons {
        gap: 25px 15px;
    }

    .esg-icon {
        width: 38px;
        height: 38px;
    }

    .esg-intro {
        font-size: 14px;
        flex-direction: column;
        align-items: flex-start;
    }

    .stoford-logo {
        height: 16px;
        margin-left: 0;
    }

    .esg-columns p {
        font-size: 12px;
    }

    .esg-image-container {
        border-radius: 10px;
    }

    .esg-image {
        border-radius: 10px;
    }
}

/* ==========================================================================
   Grid Layouts
   ========================================================================== */

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

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

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Card Components
   ========================================================================== */

.feature-card {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.feature-card h3 {
    color: #FF5722;
    margin-bottom: 15px;
}

.stat-card {
    text-align: center;
    padding: 30px;
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: #FF5722;
    font-family: "roc-grotesk-wide", sans-serif;
    display: block;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: #666;
}

/* ==========================================================================
   Section Backgrounds
   ========================================================================== */

.bg-light {
    background: #f8f9fa;
}

.bg-dark {
    background: #1a1a1a;
    color: #fff;
}

.bg-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.bg-orange-gradient {
    background: linear-gradient(135deg, #FF5722 0%, #FF9800 100%);
    color: #fff;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: #0D1420;
    color: #fff;
    padding: 0;
    width: 100%;
    border-top: 1px solid #37404b;
}

.footer-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 80px 50px 40px;
    
}

/* Footer Top Section - Split Layout */
.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 100px;
    margin-bottom: 60px;
}

/* Left Section: Logo & Email Signup */
.footer-left {
    display: flex;
    flex-direction: column;
    gap: 30px;
    flex: 0 0 auto;
    max-width: 500px;
}

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

.footer-signup-text {
    color: #fff;
    font-family: "roc-grotesk", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
}

/* Email Form */
.footer-email-form {
    width: 100%;
    max-width: 500px;
}

.email-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.email-input-wrapper input {
    flex: 1;
    padding: 18px 70px 18px 24px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    font-family: "roc-grotesk", sans-serif;
    font-size: 16px;
    color: #fff;
    transition: all 0.3s ease;
}

.email-input-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.email-input-wrapper input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.email-submit-btn {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #00A3FF;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.email-submit-btn:hover {
    background: #0088DD;
    transform: translateY(-50%) scale(1.05);
}

.email-submit-btn img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.form-message {
    color: #fff;
    font-family: "roc-grotesk", sans-serif;
    font-size: 14px;
    margin-top: 10px;
}

/* Right Section: Partners & Contacts - 4 Row Layout */
.footer-right {
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: flex-start;
    flex: 0 0 auto;
    margin-left: auto;
}

/* Row 1: A development by */
.footer-row-1 {
    display: flex;
    align-items: center;
}

.footer-dev-label {
    color: rgba(255, 255, 255, 0.8);
    font-family: "roc-grotesk", sans-serif;
    font-size: 14px;
    font-weight: 400;
    margin: 0;
}

/* Row 2: Berkeley & Stoford logos */
.footer-row-2 {
    display: flex;
    gap: 128px;
    align-items: center;
}

.logo-berkeley {
    height: 40px;
    width: auto;
    display: block;
}

.logo-stoford {
    height: 23px;
    width: auto;
    display: block;
}

/* Row 3: CBRE logo + Alex Schofield */
.footer-row-3 {
    display: flex;
    align-items: flex-start;
    gap: 107px;
    padding-right: 24px;
    padding: 20px 0;
}

.footer-cbre-logo {
    display: flex;
    align-items: flex-start;
}

.footer-cbre-logo img {
    height: 35px;
    width: auto;
    display: block;
}

/* Row 4: Olivia Newport + Roger Martin */
.footer-row-4 {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

/* Contact Cards */
.footer-contact-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
    min-width: 200px;
}

.contact-name {
    color: #fff;
    font-family: "roc-grotesk", sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.5px;
    margin: 0 0 4px 0;
    text-transform: uppercase;
}

.contact-email,
.contact-phone {
    color: rgba(255, 255, 255, 0.8);
    font-family: "roc-grotesk", sans-serif;
    font-size: 13px;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
}

.contact-email:hover,
.contact-phone:hover {
    color: #FF591F;
}

/* Orange Divider */
.footer-divider {
    width: 100%;
    height: 2px;
    background: #FF591F;
    margin: 0 0 30px 0;
}

/* Bottom Copyright Section */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    border: none;
}

.footer-copyright,
.footer-design {
    color: rgba(255, 255, 255, 0.6);
    font-family: "roc-grotesk", sans-serif;
    font-size: 13px;
    font-weight: 400;
    margin: 0;
}

.footer-design a {
    color: #FF591F;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-design a:hover {
    color: #FF7A47;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-container {
        padding: 80px 30px 40px;
    }

    .footer-top {
        gap: 60px;
    }

    .footer-row-3,
    .footer-row-4 {
        gap: 35px;
    }
}

@media (max-width: 768px) {
    .footer-container {
        padding: 80px 20px 40px;
    }

    .footer-top {
        flex-direction: column;
        gap: 50px;
    }

    .footer-left {
        max-width: 100%;
    }

    .footer-right {
        width: 100%;
        margin-left: 0;
    }

    .footer-row-2 {
        gap: 30px;
    }

    .footer-row-3 {
        flex-direction: column;
        gap: 20px;
    }

    .footer-row-4 {
        flex-direction: column;
        gap: 25px;
    }

    .footer-contact-card {
        min-width: auto;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .footer-container {
        padding: 80px 20px 40px;
    }

    .footer-logo img {
        height: 50px;
    }

    .footer-row-2 {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .logo-berkeley {
        height: 35px;
    }

    .logo-stoford {
        height: 35px;
    }

    .footer-cbre-logo img {
        height: 30px;
    }

    .email-input-wrapper input {
        padding: 16px 65px 16px 20px;
        font-size: 14px;
    }

    .email-submit-btn {
        width: 42px;
        height: 42px;
    }

    .contact-name {
        font-size: 13px;
    }

    .contact-email,
    .contact-phone {
        font-size: 12px;
    }
}

/* ==========================================================================
   Utilities
   ========================================================================== */

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

.text-white {
    color: #fff;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mt-40 {
    margin-top: 40px;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 1024px) {
    .site-header {
        padding: 20px 30px;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 15px 20px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav-menu a {
        font-size: 1.8rem;
    }
}

/* ==========================================================================
   Animations
   ========================================================================== */

/* Fade In Up Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delay for multiple elements */
.animate-on-scroll:nth-child(1) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(2) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.3s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.4s; }
.animate-on-scroll:nth-child(5) { transition-delay: 0.5s; }
.animate-on-scroll:nth-child(6) { transition-delay: 0.6s; }
.animate-on-scroll:nth-child(7) { transition-delay: 0.7s; }
.animate-on-scroll:nth-child(8) { transition-delay: 0.8s; }

/* Legacy support */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

/* ==========================================================================
   Location Section
   ========================================================================== */

/* Location Details Section */
.location-details-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.location-details-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 15, 28, 0.85);
    z-index: 1;
}

.location-details-overlay {
    position: relative;
    z-index: 2;
    padding: 80px 50px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.location-details-inner {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0;
}

.location-header {
    text-align: center;
    margin-bottom: 60px;
}

.location-title {
    font-size: 4rem;
    font-weight: 300;
    margin-bottom: 20px;
    color: #fff;
    letter-spacing: -0.02em;
}

.location-subtitle {
    font-size: 1.125rem;
    color: #fff;
    line-height: 1.6;
    font-weight: 300;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Left Column */
.location-left {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.location-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.location-text p {
    color: #fff;
    font-size: 1.125rem;
    line-height: 1.8;
    font-weight: 300;
}

.location-map-image {
    width: 100%;
}

.location-map-image img {
    width: 100%;
    height: auto;
}

/* Right Column - Tables Grid */
.location-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.location-table-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.location-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

/* Location Map Section */
.location-map-section {
    width: 100%;
    height: 800px;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.location-map-section iframe {
    width: 100%;
    height: 800px;
    display: block;
    margin: 0;
    padding: 0;
    border: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .location-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .location-right {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 1024px) {
    .location-details-overlay {
        padding: 80px 30px;
    }
}

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

    .location-right {
        grid-template-columns: 1fr;
    }

    .location-details-overlay {
        padding: 80px 20px;
    }
}

/* ==========================================================================
   Demographics Section
   ========================================================================== */

.demographics-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 50px;
    overflow: hidden;
}

/* Background Image Container */
.demographics-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Background Image with Zoom Effect */
.demographics-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 1;
    transform: scale(1);
}

/* Zoom Animation when section comes into view */
.demographics-section.in-view .demographics-bg-image {
    animation: slowZoom 8s ease-out forwards;
}

.demographics-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0;
    position: relative;
    z-index: 1;
}

.demographics-left {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.demographics-header {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.demographics-title {
    font-size: 4rem;
    font-weight: 300;
    color: #fff;
    letter-spacing: -0.02em;
    margin: 0;
}

.text-blue {
    color: #007FFF;
}

.demographics-subtitle {
    font-size: 1.125rem;
    color: #fff;
    line-height: 1.6;
    font-weight: 300;
    margin: 0;
}

.demographics-text {
    color: #fff;
}

.demographics-text p {
    font-size: 1.125rem;
    line-height: 1.8;
    font-weight: 300;
    margin: 0;
}

/* Stats Grid */
.demographics-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 20px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    text-align: center;
}

.stat-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.stat-counter {
    display: flex;
    align-items: baseline;
    gap: 2px;
    justify-content: center;
}

.stat-number {
    color: #FFF;
    text-align: center;
    font-family: "Roc Grotesk", sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 19px;
}

.stat-percentage {
    color: #FFF;
    text-align: center;
    font-family: "Roc Grotesk", sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 19px;
}

.stat-currency {
    color: #FFF;
    text-align: center;
    font-family: "Roc Grotesk", sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 19px;
}

.stat-label {
    color: #FFF;
    text-align: center;
    font-family: "Roc Grotesk", sans-serif;
    font-size: 1em;
    font-style: normal;
    font-weight: 400;
    line-height: 1.4;
    margin: 0;
    max-width: 250px;
}

.demographics-right {
    /* Empty column to show background */
}

/* Responsive */
@media (max-width: 1024px) {
    .demographics-section {
        padding: 80px 30px;
    }

    .demographics-inner {
        grid-template-columns: 1fr;
        padding: 0;
    }

    .demographics-right {
        display: none;
    }

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

@media (max-width: 768px) {
    .demographics-section {
        padding: 500px 20px 40px 20px;
    }

    /* Use mobile background image */
    .demographics-bg-image {
        content: url('assets/images/demographics/demographics-background-mobile.jpg');
    }

    .demographics-title {
        font-size: 2.5rem;
    }

    .demographics-inner {
        padding: 0;
    }

    .demographics-stats {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .stat-number,
    .stat-percentage,
    .stat-currency {
        font-size: 2.5rem;
    }
}

/* ==========================================================================
   Development Section
   ========================================================================== */

.development-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 50px;
}

.development-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    opacity: 1;
    z-index: 1;
}

.development-content {
    position: relative;
    z-index: 3;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0;
    width: 100%;
}

.development-header {
    text-align: center;
    margin-bottom: 30px;
}

.development-title {
    color: #fff;
    font-family: "roc-grotesk", sans-serif;
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 20px;
}

.development-subtitle {
    color: #fff;
    font-family: "roc-grotesk", sans-serif;
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
}

.development-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.development-description p {
    color: #fff;
    font-family: "roc-grotesk", sans-serif;
    font-size: clamp(14px, 1.5vw, 18px);
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
}

/* Development Icons Grid - 2 rows x 4 columns */
.development-icons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 60px 40px;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

.development-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    text-align: center;
}

.development-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    flex-shrink: 0;
}

.development-icon-title {
    color: #fff;
    font-family: "roc-grotesk", sans-serif;
    font-size: clamp(16px, 1.5vw, 20px);
    font-weight: 500;
    line-height: 1.3;
    margin: 0;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.development-icon-text {
    color: #fff;
    font-family: "roc-grotesk", sans-serif;
    font-size: clamp(13px, 1.2vw, 16px);
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
    opacity: 0.9;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive */
@media (max-width: 1200px) {
    .development-icons {
        gap: 50px 30px;
    }

    .development-icon {
        width: 55px;
        height: 55px;
    }
}

@media (max-width: 1024px) {
    .development-section {
        padding: 80px 30px;
    }

    .development-content {
        padding: 0;
    }

    .development-description {
        margin-bottom: 60px;
    }

    .development-icons {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 1fr);
        gap: 40px 30px;
    }

    .development-icon {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 768px) {
    .development-section {
        padding: 80px 20px;
    }

    .development-content {
        padding: 0;
    }

    .development-header {
        margin-bottom: 25px;
    }

    .development-description {
        margin-bottom: 50px;
    }

    .development-icons {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px 25px;
    }

    .development-icon {
        width: 45px;
        height: 45px;
    }

    .development-icon-title {
        min-height: 45px;
    }

    .development-icon-text {
        min-height: 45px;
    }
}

@media (max-width: 480px) {
    .development-section {
        padding: 80px 20px;
    }

    .development-content {
        padding: 0;
    }

    .development-icons {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 20px;
    }

    .development-icon-item {
        gap: 15px;
    }

    .development-icon {
        width: 50px;
        height: 50px;
    }

    .development-icon-title {
        min-height: auto;
    }

    .development-icon-text {
        min-height: auto;
    }
}
