@charset "utf-8";
/* ==========================================================================
   Stylemix Barcelona-Inspired Custom Theme Architecture
   ========================================================================== */

:root {
    --primary-blue: #276585;     /* Main Slate Blue extracted from tv.png */
    --brand-red: #ea2e37;        /* Crisp Accent Red extracted from tv.png */
    --dark-navy: #14212b;        /* Dark background color found in premium themes */
    --light-grey: #f7f9fb;       /* Soft workspace gray background */
    --border-color: #e2e8f0;     /* Ultra crisp lines separating elements */
    --text-dark: #222d35;        /* Elite font heading coloration */
    --text-body: #55626d;        /* Muted body text style */
    --white: #ffffff;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Base Optimization resets */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-body);
    background-color: var(--white);
    line-height: 1.7;
}

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

/* Grids config layout */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(480px, 1fr)); gap: 60px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }

/* Global Styling Labels & Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-weight: 700;
}

.section-tag-upper {
    display: block;
    color: var(--brand-red);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
	
}

.section-description {
    white-space: nowrap;
}

/* Top Information Strip Area */
.top-bar {
    background-color: var(--dark-navy);
    color: #cbd5e1;
    font-size: 0.85rem;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.top-bar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-info span {
    margin-right: 25px;
    display: inline-flex;
    align-items: center;
}

.top-info .icon {
    margin-right: 6px;
    color: var(--brand-red);
}

.top-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.top-links a:hover {
    color: var(--brand-red);
}

/* Premium Main Header Navigation Elements */
.site-header {
    background: transparent; /* Transparent over hero at top */
    position: fixed; /* Fixed ensures smooth sticky placement over video/hero */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: none;
    padding: 18px 0;
    transition: padding 0.35s ease, background-color 0.35s ease, backdrop-filter 0.35s ease, box-shadow 0.35s ease;
}

/* Shrunk + Dark Glassmorphic state on scroll (NO WHITE BACKGROUND) */
.site-header.is-scrolled {
    background-color: rgba(11, 15, 25, 0.88); /* Deep dark theme background */
    backdrop-filter: blur(10px); /* Modern blurred glass effect */
    -webkit-backdrop-filter: blur(10px);
    padding: 8px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    display: block;
    height: 52px; /* Original size at top */
    width: auto;
    object-fit: contain;
    transition: height 0.35s ease, transform 0.35s ease;
}

/* Shrink logo when scrolled */
.site-header.is-scrolled .brand-logo {
    height: 34px; /* Shrunk size */
}

.main-nav {
    display: flex;
    align-items: center;
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin-right: 35px;
}

.main-nav ul li {
    margin-left: 35px;
}

.main-nav ul li a {
    text-decoration: none;
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
    transition: var(--transition-smooth);
}

.main-nav ul li a:hover {
    color: var(--primary-blue);
}

/* Small floating side action nav layout button */
.btn-nav-cta {
    background-color: var(--primary-blue);
    color: var(--white);
    text-decoration: none;
    padding: 10px 22px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    border-radius: 3px;
    transition: var(--transition-smooth);
}

.btn-nav-cta:hover {
    background-color: var(--brand-red);
}


/* --- Independent Global Particles Overlay --- */

/* High Editorial Content Hero Frame */
/* --- Re-engineered Parallax Slider Frame --- */
.hero-slider-section {
    position: relative;
    overflow: hidden;
    height: 100vh;
    width: 100%;
    background-color: #14212b; /* Fallback deep slate tone */
}
/* Force container content above the drawing canvas layer */
.hero-slider-section .container {
    position: relative;
    z-index: 3 !important; 
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slider-section .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
    z-index: 1;
}

.hero-slider-section .slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* THE FIX: Standard absolute placement + hardware acceleration hint */
.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Extra height gives buffer room to scroll downwards */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    will-change: transform; /* Triggers GPU rendering */
    transform: translate3d(0, 0, 0); 
}

/* Text layers stay perfectly on top */
.hero-slider-section .container {
   position: relative !important;
    z-index: 5 !important;
    height: 100%;
    display: flex;
    align-items: center;
}


/* --- Hero Slider Video Styles --- */
.hero-video-wrapper {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden;
    z-index: 1;
}

.hero-video-element {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; /* Stretches 100% full screen with no black bars */
    z-index: 1;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Matches the exact dark blue/black fade from your image slides */
    background: linear-gradient(to right, rgba(20, 33, 43, 0.95) 40%, rgba(39, 101, 133, 0.3) 100%);
    z-index: 2;
    pointer-events: none;
}

/* --- Dynamic Text Re-Animation Setup --- */
/* Elements start hidden by default */
.slide h1, .slide p, .slide .hero-cta-group {
    opacity: 0;
    transform: translateY(20px);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
}

/* When active, elements transition up cleanly every single time */
.slide.active h1 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}
.slide.active p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.25s;
}
.slide.active .hero-cta-group {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Pagination Track Indicator UI */
.slider-dots {
    position: absolute;
    bottom: 120px; /* Positioned clean above the floating features section */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.dot.active, .dot:hover {
    background-color: var(--brand-red);
    width: 28px;
    border-radius: 6px;
}

.hero-content {
    max-width: 750px;
}

.hero-content .accent-line {
    width: 50px;
    height: 5px;
    background-color: var(--brand-red);
    margin-bottom: 25px;
}

.hero-subtitle {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 2px;
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 15px;
	max-width: 680px;
}

.hero-content h1 {
    color: var(--white);
    font-size: 3.4rem;
    line-height: 1.15;
    margin-bottom: 25px;
    font-weight: 800;
}

.hero-content p {
    color: #e2e8f0;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 40px;
	max-width: 680px;
}

/* Buttons Engine layout styling */
.btn {
    display: inline-block;
    padding: 15px 35px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 3px;
    transition: var(--transition-smooth);
}

.btn-primary {
    background-color: var(--brand-red);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #bd1a22;
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.4);
    margin-left: 20px;
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--text-dark);
    border-color: var(--white);
}

/* Barcelona Overlay Card Modules */
.floating-features {
    margin-top: -100px;
    position: relative;
    z-index: 10;
    margin-bottom: 80px;
}

.feature-box {
    background: var(--white);
    padding: 40px 35px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.07);
    border-radius: 4px;
    border-bottom: 4px solid var(--border-color);
    transition: var(--transition-smooth);
}

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

.feature-box.border-red { border-bottom-color: var(--brand-red); }
.feature-box.border-blue { border-bottom-color: var(--primary-blue); }
.feature-box.border-dark { border-bottom-color: var(--dark-navy); }

.fb-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-box h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.feature-box p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Slider Navigation Arrows */

.hero-slider-section {
    position: relative;
}

.slider-wrapper {
    position: relative;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;

    width: 48px;
    height: 48px;

    border: 1px solid rgba(255,255,255,0.6);
    border-radius: 50%;

    background: rgba(20,33,43,0.6);
    color: #ffffff;

    font-size: 26px;
    cursor: pointer;

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

    padding: 0;
}

.slider-prev {
    left: 25px;
}

.slider-next {
    right: 25px;
}

.slider-arrow:hover {
    background: rgba(20,33,43,0.9);
}



/* ==========================================================================
   Who We Are - Premium Dark Header Merge Styles
   ========================================================================== */

/* Seamlessly match your dark navy header banner background */
.about-section.dark-merged {
    background-color: #14212b !important; /* Matches your core dark navy */
    padding: 100px 4% 120px 4% !important; /* Added slightly deeper breathing room at the base */
    width: 100% !important;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

/* Subtle background illumination behind the image to add premium depth */
.about-section.dark-merged::before {
    content: "";
    position: absolute;
    top: -10%;
    left: -10%;
    width: 50%;
    height: 80%;
    background: radial-gradient(circle, rgba(45, 107, 145, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

/* Row wrapper for side-by-side alignment */
.about-section.dark-merged .container.grid-2,
.about-section.dark-merged .grid-2 {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 70px !important; /* Slightly larger gap to let the columns breathe against the dark canvas */
    max-width: 1400px !important;
    margin: 0 auto !important;
    width: 100% !important;
    position: relative;
    z-index: 2;
}

/* Left Image Box Spatial Allocation */
.dark-merged .about-image-wrapper {
    position: relative !important;
    width: 45% !important;
    min-width: 320px !important;
    flex-shrink: 0 !important;
    display: block !important;
}

.dark-merged .about-image-wrapper img {
    width: 100% !important;
    height: auto !important;
    border-radius: 12px !important;
    display: block !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3) !important; /* Darker, softer shadow for deep backgrounds */
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Premium Contrast Experience Badge */
.experience-badge-dark {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background-color: #1a2d3a; /* Dark glass-style card */
    padding: 22px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    border-left: 5px solid #b5945b; /* Gold accent line */
    max-width: 170px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.experience-badge-dark .exp-years-dark {
    font-size: 2.2rem;
    font-weight: 800;
    color: #b5945b; /* Gold typography pop */
    line-height: 1;
}

.experience-badge-dark .exp-text-dark {
    font-size: 0.8rem;
    font-weight: 600;
    color: #a0aec0; /* Balanced silver/grey text */
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Right Content Column Layout */
.dark-merged .about-text {
    width: 50% !important;
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    text-align: left !important;
}

.section-tag-upper-dark {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ea2e37; /* Vibrant brand red */
    font-weight: 700;
    margin-bottom: 12px;
    display: block;
}

.dark-merged .light-heading {
    font-size: 2.8rem !important;
    color: #ffffff !important; /* Crisp high-contrast white */
    margin: 0 0 20px 0 !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

.lead-text-dark {
    font-size: 1.2rem !important;
    color: #4ba3db !important; /* Lighter, electric slate blue for brilliant readability on dark color palettes */
    font-weight: 500 !important;
    margin-bottom: 15px !important;
    line-height: 1.5 !important;
}

.about-intro-p-dark {
    font-size: 1rem !important;
    color: #a0aec0 !important; /* Muted silver text */
    margin-bottom: 40px !important;
    line-height: 1.6 !important;
}

/* Icon Stack Row Elements */
.dark-merged .about-pillars-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 30px !important;
    width: 100% !important;
}

.dark-merged .about-pillar-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 22px !important;
    width: 100% !important;
}

/* Dark Ring Containers */
.pillar-icon-box-dark {
    width: 54px !important;
    height: 54px !important;
    min-width: 54px !important;
    background-color: rgba(255, 255, 255, 0.03) !important; /* Sophisticated translucent ring */
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: all 0.3s ease;
}

.dark-merged .about-pillar-item:hover .pillar-icon-box-dark {
    background-color: rgba(181, 148, 91, 0.1) !important; /* Subtle gold hover glow */
    border-color: #b5945b !important;
}

.dark-merged .light-subheading {
    font-size: 1.2rem !important;
    color: #ffffff !important;
    margin: 0 0 6px 0 !important;
    font-weight: 600 !important;
}

.dark-merged .muted-text {
    font-size: 0.95rem !important;
    color: #a0aec0 !important; /* Soft legible gray text */
    line-height: 1.6 !important;
    margin: 0 !important;
}

/* Mobile Structural Adaptive Collapse */



/* Metrics Dashboard Strip Section */
.metrics-section {
    background-color: var(--primary-blue);
    padding: 60px 0;
    color: var(--white);
}

.metric-card {
    text-align: center;
    padding: 15px;
    border-right: 1px solid rgba(255,255,255,0.15);
}

.metric-card:last-child {
    border-right: none;
}

.counter-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 5px;
}

.counter-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #e2e8f0;
}

/* Strategic Portfolio System / Cards Configuration */
.initiatives-section.barcelona-2x2 {
    width: 100% !important;
    max-width: 100% !important;
    padding: 80px 4% !important; /* Elegant breathing room on the edges instead of trapping it */
    box-sizing: border-box;
}
.section-header-left {
    max-width: 700px;
    margin-bottom: 60px;
}

.section-header-left h2 {
    font-size: 2.4rem;
    margin-bottom: 15px;
}

.modern-cards-container {
    align-items: stretch;
}


/* ==========================================================================
   Fixed Side-by-Side Grid Layout
   ========================================================================== */

/* The main container holding your columns */
/* 2. THE BIG FIX: Clear out any narrow width restrictions from the grid row */
.barcelona-grid-2x2 {
    display: block !important; 
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
}

/* 3. Force the column wrapper to spread completely from edge to edge */
.barcelona-grid-2x2 .grid-column {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important; /* Equal proportions side-by-side */
    gap: 40px !important; /* Slightly wider premium spacing for full screens */
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 60px;
}

/* Make sure the section heading takes up the full width above the cards */
.barcelona-grid-2x2 .grid-column .group-heading {
    grid-column: span 2 !important; 
    width: 100% !important;
    margin-bottom: 25px;
}

/* Individual Card Base Styling */
.barcelona-card {
    background-color: var(--white);
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    width: 100%; /* Ensures card fills its half of the grid */
}

/* Image Holder (320px Height Fix) */
.barcelona-grid-2x2 .card-img-holder {
    height: 320px !important;
    width: 100%;
    position: relative;
    overflow: visible !important; /* Keeps the badge visible */
    background-color: var(--dark-navy);
}

.card-social-badge {
    position: absolute;
    bottom: -15px;      /* Hangs down past the bottom edge */
    right: 25px;       /* Hangs out past the right edge */
    background-color: #e32b36; 
    color: #ffffff;    
    padding: 10px 24px; 
    gap: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
    z-index: 10;
}



/* Individual Link Elements */
.social-icon-link {
    color: #ffffff;           /* Clean white icon color */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Hover effects for individual social icons */
.social-icon-link:hover {
    transform: scale(1.2);    /* Individual icon springs up on hover */
    opacity: 0.85;            /* Slight indicator of clickability */
}

.social-icon-link svg {
    display: block;
}


.barcelona-grid-2x2 .card-img-holder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
	border-radius: 8px;
}

/* Floating Red Badge */
.card-date-badge {
    position: absolute;
    bottom: -15px;
    left: 25px;
    background-color: var(--brand-red);
    color: var(--white);
    padding: 6px 16px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 2px;
    z-index: 10 !important; /* Keeps it in front */
    pointer-events: none;
}

/* Card Text Content Area */
.card-content {
    padding: 40px 25px 30px 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.card-content p {
    font-size: 0.95rem;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Responsive: Turn back into a vertical stack on mobile screens */


.accent-arrow-link {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    transition: var(--transition-smooth);
}

.accent-arrow-link:hover {
    color: var(--brand-red);
    padding-left: 6px;
}

/* Consultation Intake Blocks */
.contact-section {
    background-color: var(--dark-navy);
    padding: 100px 0;
}

.contact-text-panel {
    padding-right: 20px;
}

/* --- Beautiful Card Upgrades --- */
.office-location-card {
    background: rgba(255, 255, 255, 0.03); /* Subtle glass transparency */
    border: 1px solid rgba(255, 255, 255, 0.08); /* Clean modern border */
    padding: 24px;
    border-radius: 12px;
    backdrop-filter: blur(10px); /* Smooth frost blur */
    -webkit-backdrop-filter: blur(10px);
    width: 100%;
    max-width: 360px;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

/* Subtle accent highlight on hover */
.office-location-card:hover {
    border-color: rgba(0, 122, 255, 0.3);
    transform: translateY(-2px);
}

.office-location-card p strong {
    color: #f1f5f9;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Flex layout to stack emails cleanly */
.email-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

/* Flex layout to align icon and link side-by-side */
.email-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.email-icon {
    color: #007AFF; /* Matches your corporate blue accent */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.85;
    transition: transform 0.2s ease, color 0.2s ease;
}

.email-item a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease, transform 0.2s ease;
}

/* Premium interactions on hover */
.email-item:hover a {
    color: #ffffff;
    transform: translateX(3px); /* Gentle interactive nudge */
}

.email-item:hover .email-icon {
    color: #007AFF;
    transform: scale(1.1);
}

.barcelona-form {
    background-color: var(--white);
    padding: 45px;
    border-radius: 4px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.barcelona-form h3 {
    font-size: 1.6rem;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--light-grey);
    padding-bottom: 15px;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e2e8f0;
    border-radius: 3px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    background-color: #f8fafc;
    transition: var(--transition-smooth);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    background-color: var(--white);
}

.btn-form-submit {
    width: 100%;
    background-color: var(--brand-red);
    color: var(--white);
    border: none;
    padding: 16px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border-radius: 3px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-form-submit:hover {
    background-color: var(--primary-blue);
}

/* Premium Corporate Footer Design blocks */
.site-footer {
    background-color: #0d161d;
    color: #94a3b8;
    padding: 70px 0 0 0;
    border-top: 4px solid var(--brand-red);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    padding-bottom: 50px;
}

.footer-logo-brightness {
    filter: brightness(0.95);
}

.footer-links-column h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--brand-red);
}

.footer-links-column ul {
    list-style: none;
}

.footer-links-column ul li {
    margin-bottom: 12px;
}

.footer-links-column ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition-smooth);
    font-size: 0.95rem;
}

.footer-links-column ul li a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-bottom-bar {
    background-color: #080e12;
    padding: 25px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.85rem;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Responsive Adaptive View Rules */


/* ==========================================================================
   2x2 Initiatives Grid (Reworked Layout)
   ========================================================================== */

.initiatives-section.barcelona-2x2 {
    background-color: var(--white); /* Reworked to match clean example */
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
}

.barcelona-grid-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Force two equal columns */
    gap: 40px; /* Space between Columns 1 and 2 */
}

.barcelona-2x2 .grid-column {
    display: flex;
    flex-direction: column;
    gap: 30px; /* Space between stacked cards */
}

/* Red underline accent for headings (like GMCV button in example) */
.barcelona-2x2 .group-heading {
    color: var(--text-dark);
    font-size: 1.6rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--brand-red); /* The accent line */
    display: inline-block;
}

/* Card image constraints within new grid */
.barcelona-2x2 .card-img-holder {
    height: 180px;
}

/* Card layout internal rework for stacked flow */
.barcelona-2x2 .barcelona-card {
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

/* Responsive collapse for tablets and mobile */


/* ==========================================================================
   Fresh Portfolio Architecture Styles (4 Boxes in a Row)
   ========================================================================== */

.ventures-media-section {
    background-color: #fcfdfd;
    background-image: radial-gradient(rgba(45, 107, 145, 0.03) 1px, transparent 0); /* Subtle texture hint */
    background-size: 24px 24px;
    padding: 100px 4%;
    width: 100%;
    box-sizing: border-box;
    font-family: var(--font-body, 'Inter', sans-serif);
}

.ventures-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

/* Header Section Style Matching Target Image */
.section-badge-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge-header .badge-line-text {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #b5945b; /* Elegant gold tone from asset sample */
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.section-badge-header .badge-line-text::before,
.section-badge-header .badge-line-text::after {
    content: "";
    display: inline-block;
    width: 15px;
    height: 1px;
    background-color: #b5945b;
}

.section-badge-header h2 {
    font-size: 2.4rem;
    color: #14212b; /* Deep core navy */
    margin: 15px 0 0 0;
    font-weight: 700;
}

/* 4 Items Aligned Side-by-Side */
.ventures-four-row {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 25px !important;
    width: 100%;
}

/* Individual Card Blocks */
.venture-card-box {
    background-color: #ffffff;
    border-radius: 16px; /* Elegant roundness matching the image */
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(20, 33, 43, 0.02);
    border-bottom: 3px solid rgba(181, 148, 91, 0.2); /* Soft golden bottom accent line */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
}

/* Floating Interactive Icon Inner Ring */
.venture-icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: #f4f7f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: #2d6b91; /* Slate blue icon */
    font-size: 1.4rem;
    transition: all 0.4s ease;
    border: 1px solid rgba(45, 107, 145, 0.1);
}

.venture-card-box h3 {
    font-size: 1.3rem;
    color: #14212b;
    margin: 0 0 15px 0;
    font-weight: 600;
}

.venture-card-box p {
    font-size: 0.95rem;
    color: #5a6a85;
    line-height: 1.6;
    margin: 0 0 30px 0;
    flex-grow: 1;
}

.venture-readmore {
    font-size: 0.9rem;
    font-weight: 700;
    color: #14212b;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.venture-readmore .arrow {
    transition: transform 0.3s ease;
}

/* Interactive States: Smoothly shifts style to active corporate blue theme when hovered */
.venture-card-box:hover, 
.venture-card-box.active-highlight {
    background-color: #2d6b91; /* Replaces card surface with corporate brand blue */
    border-bottom-color: #ea2e37; /* Pops the custom brand red line at base */
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(45, 107, 145, 0.2);
}

.venture-card-box:hover h3, .venture-card-box.active-highlight h3,
.venture-card-box:hover p, .venture-card-box.active-highlight p,
.venture-card-box:hover .venture-readmore, .venture-card-box.active-highlight .venture-readmore {
    color: #ffffff; /* Text color turns white when the container changes color */
}

.venture-card-box:hover .venture-icon-wrapper,
.venture-card-box.active-highlight .venture-icon-wrapper {
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-color: transparent;
}

.venture-card-box:hover .venture-readmore .arrow {
    transform: translateX(5px);
}

/* Responsive Structural Collapse */




/* ==========================================================================
   Image Mask Circle Framework for Ventures Grid
   ========================================================================== */

/* Replace or override your previous .venture-icon-wrapper rule with this */
.venture-img-holder {
    width: 64px !important;
    height: 64px !important;
    min-width: 64px !important;
    background-color: #ffff;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 25px;
    border: 1px solid rgba(45, 107, 145, 0.1);
    overflow: hidden !important; /* Perfect circle containment */
    padding: 12px; /* Controls emblem spacing inside the circle border */
    box-sizing: border-box;
    transition: all 0.4s ease;
}

/* Image containment rules to avoid stretching */
.venture-img-holder img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important; /* Forces logos/icons to scale perfectly inside */
    display: block !important;
}

/* Interactive Glow: Adjust translucent ring style when hovered */
.venture-card-box:hover .venture-img-holder,
.venture-card-box.active-highlight .venture-img-holder {
    background-color: rgba(255, 255, 255, 0.15) !important;
    border-color: transparent !important;
}

/* ==========================================================================
   Thought Leadership - High Contrast Light Background Styles
   ========================================================================== */

.lead-text-description-light {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #5a6a85; /* Professional slate grey */
    margin-bottom: 25px;
}

.coverage-title-light {
    font-size: 1.2rem;
    font-weight: 700;
    color: #14212b; /* Deep corporate dark navy/black */
    margin: 0 0 20px 0;
}

/* Structural clean up for list element containers */
ul.thought-indent-list-light {
    list-style: none !important;
    list-style-type: none !important;
    padding: 0 !important;
    margin: 20px 0 30px 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
}

/* Flex layout structure to keep text columns completely separate from ticks */
ul.thought-indent-list-light li {
    display: flex !important;
    align-items: flex-start !important;
    background: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

ul.thought-indent-list-light li::before {
    content: "" !important;
    display: none !important;
}

/* Sharp colored checkmark settings */
ul.thought-indent-list-light .tick-icon-light {
    color: #b5945b; /* Gold accent color */
    font-weight: 900;
    font-size: 1.1rem;
    line-height: 1.5;
    width: 28px !important; /* Fixed pillar box for the check symbol */
    min-width: 28px !important;
    flex-shrink: 0 !important;
    user-select: none;
    display: inline-block;
}

/* Text alignment block to force multi-line folds leftward */
ul.thought-indent-list-light .tick-text-block-light {
    font-size: 1rem;
    color: #5a6a85; /* Readable dark grey secondary text */
    line-height: 1.5;
    flex-grow: 1;
    text-align: left !important;
}

/* CRITICAL CONTRAST FIX: Explicit dark text overrides for bold words */
ul.thought-indent-list-light .tick-text-block-light strong {
    color: #14212b !important; /* Hard dark navy paint to eliminate ghosting */
    font-weight: 700 !important;
}

.thought-footer-text-light {
    font-size: 1rem;
    color: #5a6a85;
    line-height: 1.6;
    margin-top: 25px;
}

/* --- Full Width Auto-Scrolling Gallery --- */
.gallery-section-full {
    width: 100%;
    overflow: hidden;
    background-color: var(--bg);
    padding: 60px 0;
}

.gallery-container {
    width: 100%;
    overflow-x: auto;
    display: flex;
}

/* Custom Webkit scrollbar hidden for cleaner auto-pilot visual look */
.gallery-container::-webkit-scrollbar {
    display: none;
}

#galleryTrack {
    display: flex;
    width: max-content;
    gap: 20px;
    /* Uses the standard forward animation path */
    animation: scrollRightToLeft 30s linear infinite; 
}

#galleryTrack:hover {
    animation-play-state: paused;
}

@keyframes scrollRightToLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* Moves leftward */
    }
}



.gallery-item {
    flex: 0 0 420px;
    height: 280px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Darkened overlay revealing zoom icon and title text combo */
.gallery-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 11, 16, 0.75);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
    text-align: center;
}

.zoom-icon {
    color: var(--accent);
    background: rgba(255, 255, 255, 0.1);
    padding: 12px;
    border-radius: 50px;
    margin-bottom: 12px;
    transform: translateY(15px);
    transition: transform 0.3s ease, background 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-hover-overlay h4 {
    color: var(--text-white);
    font-size: 1.1rem;
    transform: translateY(15px);
    transition: transform 0.3s ease 0.05s;
}

/* Hover Interactive Action States */
.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item:hover .gallery-hover-overlay {
    opacity: 1;
}

.gallery-item:hover .zoom-icon,
.gallery-item:hover .gallery-hover-overlay h4 {
    transform: translateY(0);
}

.zoom-icon:hover {
    background: var(--accent);
    color: white;
}

/* --- Lightbox System Styling --- */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 5, 8, 0.95);
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox img {
    max-width: 85%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox.active img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    transition: color 0.2s;
}

.lightbox-close:hover {
    color: var(--accent);
}

/* Compact Scaling targets */


/* --- Video Section Wrapper --- */
.video-section {
    padding: 80px 0 50px;
    background-color: #0b0f19; /* Deep dark executive background */
    color: #ffffff;
    width: 100%;
}

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

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

.video-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 10px 0 15px;
    letter-spacing: -0.5px;
}

.video-subtitle {
    color: #cbd5e1;
    max-width: 650px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.6;
}

/* --- Autoplay Video Container (16:9 for standalone sections) --- */
.video-autoplay-container {
    position: relative;
    width: 100%;
    max-width: 1200px; /* Full-width desktop optimization */
    margin: 0 auto;
    aspect-ratio: 16/9; /* Widescreen crop factor */
    background-color: #000000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Forces the server-hosted video element to occupy the frame cleanly */
.server-video-element {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- Mobile Breakpoints --- */


/*new gallery css starts here*/

/* --- Master Container --- */
.ltr-gallery-section {
    width: 100%;
    padding: 30px 0;
    background-color: #0b0f19;
    overflow: hidden;
}

.ltr-gallery-viewport {
    width: 100%;
    overflow: hidden;
    position: relative;
}

/* --- The Seamless Animation Track --- */
.ltr-gallery-track {
    display: flex;
    width: max-content;
    gap: 20px;
    /* Clean, linear infinite scroll left-to-right */
    animation: smoothScrollLTR 25s linear infinite;
}

/* Pause scroll cleanly on mouse hover */
.ltr-gallery-track:hover {
    animation-play-state: paused;
}

/* --- Container Groups --- */
.ltr-gallery-group {
    display: flex;
    gap: 20px;
    flex-shrink: 0;
}

/* --- Individual Cards --- */
.ltr-gallery-item {
    position: relative;
    width: 300px;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    flex-shrink: 0;
}

.ltr-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

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

/* --- Hover Zoom & Overlay --- */
.ltr-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 15, 25, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ltr-gallery-item:hover .ltr-hover-overlay {
    opacity: 1;
}

.ltr-zoom-icon {
    color: #ffffff;
    background-color: #e32b36;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* --- PERFECT LEFT-TO-RIGHT INFINITE LOOP MATH --- */
@keyframes smoothScrollLTR {
    0% {
        /* Starts shifted left exactly by one full group width (-50% of parent track) */
        transform: translate3d(-50%, 0, 0);
    }
    100% {
        /* Slides rightward perfectly back to the starting item origin */
        transform: translate3d(0, 0, 0);
    }
}

/*gallery end */


/*new gallery start*/

/* --- RTL Master Container --- */
.rtl-gallery-section {
    width: 100%;
    padding: 15px 0 30px; /* Snug top-padding so it stacks tightly below the LTR gallery */
    background-color: #0b0f19;
    overflow: hidden;
	margin-bottom: 60px !important;
}

.rtl-gallery-viewport {
    width: 100%;
    overflow: hidden;
    position: relative;
}

/* --- The Seamless Right-to-Left Animation Track --- */
.rtl-gallery-track {
    display: flex;
    width: max-content;
    gap: 20px;
    /* Clean, linear infinite scroll moving right-to-left */
    animation: smoothScrollRTL 25s linear infinite;
}

/* Pause scroll cleanly on mouse hover */
.rtl-gallery-track:hover {
    animation-play-state: paused;
}

/* --- Container Groups --- */
.rtl-gallery-group {
    display: flex;
    gap: 20px;
    flex-shrink: 0;
}

/* --- Individual Cards --- */
.rtl-gallery-item {
    position: relative;
    width: 300px;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    flex-shrink: 0;
}

.rtl-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

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

/* --- Hover Zoom & Overlay --- */
.rtl-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 15, 25, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.rtl-gallery-item:hover .rtl-hover-overlay {
    opacity: 1;
}

.rtl-zoom-icon {
    color: #ffffff;
    background-color: #e32b36;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* --- PERFECT RIGHT-TO-LEFT INFINITE LOOP MATH --- */
@keyframes smoothScrollRTL {
    0% {
        /* Starts normally at standard origin alignment */
        transform: translate3d(0, 0, 0);
    }
    100% {
        /* Slides leftward exactly by one full group width (-50% of parent track) */
        transform: translate3d(-50%, 0, 0);
    }
}

/* ==========================================================================
   CONSOLIDATED RESPONSIVE SYSTEM
   All responsive rules are maintained here.
   Desktop/base styles remain above; duplicate media queries have been removed.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Large Tablets / Smaller Desktops: <= 1200px
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {

    .container {
        max-width: 100%;
        padding-left: 22px;
        padding-right: 22px;
    }

    .ventures-container {
        max-width: 100%;
    }

    .ventures-four-row {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 30px !important;
    }

    .hero-content {
        max-width: 720px;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .main-nav ul {
        margin-right: 20px;
    }

    .main-nav ul li {
        margin-left: 22px;
    }

    .barcelona-grid-2x2 .grid-column {
        gap: 30px !important;
    }

    .footer-grid {
        gap: 40px;
    }
}


/* --------------------------------------------------------------------------
   Tablets: <= 992px
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {

    /* Global layout */
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .grid-2,
    .grid-3,
    .grid-4,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Header */
    .main-nav {
        display: none;
    }

    .brand-logo {
        height: 46px;
    }

    .site-header.is-scrolled .brand-logo {
        height: 32px;
    }

    /* Hero */
    .hero-content {
        max-width: 700px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
        max-width: 680px;
    }

    .slider-dots {
        bottom: 80px;
    }

    /* Floating features */
    .floating-features {
        margin-top: -40px;
    }

    /* Metrics */
    .metric-card {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.15);
        padding-bottom: 25px;
    }

    .metric-card:last-child {
        border-bottom: none;
    }

    /* About section */
    .about-section.dark-merged {
        padding: 80px 5% 100px !important;
    }

    .about-section.dark-merged .container.grid-2,
    .about-section.dark-merged .grid-2 {
        flex-direction: column !important;
        gap: 60px !important;
    }

    .dark-merged .about-image-wrapper,
    .dark-merged .about-text {
        width: 100% !important;
        min-width: 0 !important;
    }

    .dark-merged .about-image-wrapper {
        max-width: 760px;
        margin: 0 auto;
    }

    .experience-badge-dark {
        left: 15px;
        bottom: -15px;
    }

    .dark-merged .light-heading {
        font-size: 2.5rem !important;
    }

    /* Initiatives / cards */
    .barcelona-grid-2x2 {
        grid-template-columns: 1fr;
    }

    .barcelona-grid-2x2 .grid-column {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        margin-bottom: 45px;
    }

    .barcelona-grid-2x2 .grid-column .group-heading {
        grid-column: span 1 !important;
    }

    /* Forms */
    .form-row-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .barcelona-form {
        padding: 40px 30px;
    }

    /* Portfolio */
    .initiatives-section.barcelona-2x2 {
        padding: 80px 4% !important;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}


/* --------------------------------------------------------------------------
   Mobile Landscape / Tablets: <= 768px
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {

    /* Global */
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    /* Top information bar */
    .top-bar {
        padding: 8px 0;
        font-size: 0.75rem;
    }

    .top-bar-flex {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    .top-info span {
        margin-right: 12px;
    }

    /* Header */
    .site-header {
        padding: 12px 0;
    }

    .site-header.is-scrolled {
        padding: 7px 0;
    }

    .brand-logo {
        height: 50px;
        max-width: 95%;
    }

    .site-header.is-scrolled .brand-logo {
        height: 30px;
    }

    /* Hero */
    .hero-slider-section {
        height: 100vh;
        min-height: 620px;
        height: 100svh;
    }

    .hero-slider-section .container {
        align-items: center;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
        padding: 0 42px 35px 0;
    }

    .hero-content h1 {
        font-size: 2.15rem;
        line-height: 1.15;
        margin-bottom: 18px;
    }

    .hero-content p {
        font-size: 1rem;
        line-height: 1.55;
        margin-bottom: 25px;
        max-width: 100%;
    }

    .hero-subtitle {
        font-size: 0.8rem;
        max-width: 100%;
    }

    .hero-cta-group {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
    }

    .btn {
        padding: 13px 25px;
    }

    .btn-secondary {
        margin-left: 0;
    }

    /* Hero navigation 
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 21px;
    }*/

    .slider-prev {
        left: 10px;
    }

    .slider-next {
        right: 10px;
    }

    .slider-dots {
        bottom: 55px;
        gap: 9px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    .dot.active,
    .dot:hover {
        width: 24px;
    }

    /* Section typography */
    .section-header-left {
        max-width: 100%;
        margin-bottom: 40px;
    }

    .section-header-left h2 {
        font-size: 2rem;
    }

    .section-description {
        white-space: normal;
    }

    /* About */
    .about-section.dark-merged {
        padding: 70px 20px 90px !important;
    }

    .about-section.dark-merged .container.grid-2,
    .about-section.dark-merged .grid-2 {
        gap: 45px !important;
    }

    .dark-merged .about-image-wrapper {
        width: 100% !important;
    }

    .dark-merged .light-heading {
        font-size: 2.1rem !important;
    }

    .lead-text-dark {
        font-size: 1.05rem !important;
    }

    .about-intro-p-dark {
        margin-bottom: 30px !important;
    }

    .dark-merged .about-pillars-grid {
        gap: 24px !important;
    }

    .dark-merged .about-pillar-item {
        gap: 16px !important;
    }

    .experience-badge-dark {
        padding: 18px;
        max-width: 150px;
        left: 10px;
        bottom: -12px;
    }

    .experience-badge-dark .exp-years-dark {
        font-size: 1.8rem;
    }

    /* Metrics */
    .metrics-section {
        padding: 45px 0;
    }

    .counter-num {
        font-size: 2.5rem;
    }

    /* Initiatives */
.initiatives-section.barcelona-2x2 {
    padding: 65px 20px !important;
}

.barcelona-grid-2x2 .grid-column {
    gap: 25px !important;
    margin-bottom: 40px;
}

.barcelona-grid-2x2 .card-img-holder {
    height: 260px !important;
}

.card-content {
    padding: 35px 22px 45px;
}

.card-social-badge {
    right: 10px;
    bottom: -13px;
    padding: 7px 12px;
}

.card-date-badge {
    left: 10px;
    bottom: -13px;
    font-size: 0.65rem;
}

    /* Ventures portfolio */
    .ventures-media-section {
        padding: 70px 20px;
    }

    .section-badge-header {
        margin-bottom: 40px;
    }

    .section-badge-header h2 {
        font-size: 2rem;
    }

    .ventures-four-row {
        grid-template-columns: 1fr !important;
        gap: 22px !important;
    }

    .venture-card-box {
        padding: 32px 25px;
    }

    /* Thought leadership */
    .lead-text-description-light,
    .thought-footer-text-light {
        font-size: 0.95rem;
    }

    .coverage-title-light {
        font-size: 1.1rem;
    }

    /* Galleries */
    .gallery-section-full {
        padding: 45px 0;
    }

    .gallery-item {
        flex: 0 0 310px;
        height: 210px;
    }

    .ltr-gallery-section {
        padding: 25px 0;
    }

    .ltr-gallery-item,
    .rtl-gallery-item {
        width: 260px;
        height: 175px;
    }

    .rtl-gallery-section {
        padding: 12px 0 25px;
        margin-bottom: 40px !important;
    }

    /* Video */
    .video-section {
        padding: 55px 0 35px;
    }

    .video-title {
        font-size: 1.8rem;
    }

    .video-subtitle {
        font-size: 0.95rem;
        padding: 0 10px;
    }

    .video-autoplay-container {
        border-radius: 8px;
    }

    /* Contact */
    .contact-section {
        padding: 70px 0;
    }

    .contact-text-panel {
        padding-right: 0;
    }

    .office-location-card {
        max-width: 100%;
    }

    .barcelona-form {
        padding: 35px 25px;
    }

    /* Footer */
    .site-footer {
        padding-top: 55px;
    }

    .footer-grid {
        padding-bottom: 40px;
    }

    .footer-bottom-flex {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}


/* --------------------------------------------------------------------------
   Small Mobile Phones: <= 576px
   -------------------------------------------------------------------------- */
@media (max-width: 576px) {

    /* Global */
    .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    body {
        overflow-x: hidden;
    }

    /* Header */
    .top-bar {
        display: none;
    }

    .site-header {
        padding: 10px 0;
    }

    .site-header.is-scrolled {
        padding: 6px 0;
    }

    .brand-logo {
    height: 50px;
    max-width: 80%;
}

    .site-header.is-scrolled .brand-logo {
        height: 28px;
    }

    /* Hero */
    .hero-slider-section {
        min-height: 560px;
    }

    .hero-content {
        padding-right: 35px;
        padding-bottom: 30px;
    }

    .hero-content h1 {
        font-size: 1.75rem;
        line-height: 1.18;
        margin-bottom: 15px;
    }

    .hero-content p {
        font-size: 0.92rem;
        line-height: 1.5;
        margin-bottom: 20px;
    }

    .hero-subtitle {
        font-size: 0.72rem;
        letter-spacing: 1.5px;
        margin-bottom: 10px;
    }

    /*.slider-arrow {
        width: 36px;
        height: 36px;
        font-size: 19px;
    }*/

    .slider-prev {
        left: 7px;
    }

    .slider-next {
        right: 7px;
    }

    .slider-dots {
        bottom: 35px;
        gap: 7px;
    }

    .dot {
        width: 8px;
        height: 8px;
    }

    .dot.active,
    .dot:hover {
        width: 20px;
    }

    /* Buttons */
    .hero-cta-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn {
        width: auto;
        padding: 12px 20px;
    }

    /* Section headings */
    .section-tag-upper,
    .section-tag-upper-dark {
        font-size: 0.75rem;
        letter-spacing: 1.5px;
    }

    .section-header-left h2,
    .section-badge-header h2 {
        font-size: 1.7rem;
    }

    /* About */
    .about-section.dark-merged {
        padding: 60px 14px 75px !important;
    }

    .dark-merged .light-heading {
        font-size: 1.8rem !important;
    }

    .lead-text-dark {
        font-size: 1rem !important;
    }

    .about-intro-p-dark,
    .dark-merged .muted-text {
        font-size: 0.9rem !important;
    }

    .pillar-icon-box-dark {
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
    }

    .dark-merged .light-subheading {
        font-size: 1.05rem !important;
    }

    .experience-badge-dark {
        padding: 14px;
        max-width: 135px;
        left: 5px;
        bottom: -10px;
    }

    .experience-badge-dark .exp-years-dark {
        font-size: 1.55rem;
    }

    .experience-badge-dark .exp-text-dark {
        font-size: 0.7rem;
    }

    /* Metrics */
    .metrics-section {
        padding: 35px 0;
    }

    .metric-card {
        padding: 10px 5px 20px;
    }

    .counter-num {
        font-size: 2.1rem;
    }

    .counter-label {
        font-size: 0.75rem;
    }

    /* Initiatives */
.initiatives-section.barcelona-2x2 {
    padding: 55px 14px !important;
}

.barcelona-grid-2x2 .card-img-holder {
    height: 210px !important;
    margin-bottom: 75px !important;
    position: relative;
    overflow: visible !important;
}

.barcelona-2x2 .group-heading {
    font-size: 1.35rem;
}


.card-content {
    padding: 30px 18px 45px;
}

.card-content h3 {
    font-size: 1.15rem;
}

.card-content p {
    font-size: 0.9rem;
}

.card-date-badge {
    position: absolute !important;
    left: 8px !important;
    bottom: -28px !important;

    padding: 7px 10px !important;
    font-size: 0.62rem !important;

    max-width: calc(100% - 16px) !important;
    white-space: nowrap;
}


/* Social icons - Second row, RIGHT */
.card-social-badge {
    position: absolute !important;
    right: 8px !important;
    bottom: 170px !important;

    padding: 7px 12px !important;
    gap: 5px !important;

    z-index: 20 !important;
}
.card-img-holder {
    overflow: visible !important;
}

    /* Ventures */
    .ventures-media-section {
        padding: 55px 14px;
    }

    .section-badge-header {
        margin-bottom: 32px;
    }

    .section-badge-header h2 {
        margin-top: 10px;
    }

    .venture-card-box {
        padding: 28px 20px;
        border-radius: 12px;
    }

    .venture-card-box h3 {
        font-size: 1.15rem;
    }

    .venture-card-box p {
        font-size: 0.9rem;
    }

    .venture-img-holder {
        width: 58px !important;
        height: 58px !important;
        min-width: 58px !important;
        padding: 10px;
        margin-bottom: 20px;
    }

    /* Thought leadership */
    .lead-text-description-light,
    .thought-footer-text-light,
    ul.thought-indent-list-light .tick-text-block-light {
        font-size: 0.9rem;
    }

    ul.thought-indent-list-light {
        gap: 12px !important;
    }

    ul.thought-indent-list-light .tick-icon-light {
        width: 24px !important;
        min-width: 24px !important;
    }

    /* Galleries */
    .gallery-section-full {
        padding: 35px 0;
    }

    .gallery-item {
        flex-basis: 260px;
        height: 175px;
    }

    #galleryTrack {
        gap: 14px;
    }

    .ltr-gallery-section {
        padding: 20px 0;
    }

    .ltr-gallery-track,
    .rtl-gallery-track,
    .ltr-gallery-group,
    .rtl-gallery-group {
        gap: 14px;
    }

    .ltr-gallery-item,
    .rtl-gallery-item {
        width: 230px;
        height: 155px;
        border-radius: 8px;
    }

    .rtl-gallery-section {
        padding: 10px 0 20px;
        margin-bottom: 30px !important;
    }

    /* Video */
    .video-section {
        padding: 45px 0 25px;
    }

    .video-header {
        margin-bottom: 28px;
    }

    .video-title {
        font-size: 1.55rem;
    }

    .video-subtitle {
        font-size: 0.88rem;
    }

    .video-autoplay-container {
        border-radius: 6px;
    }

    /* Contact / forms */
    .contact-section {
        padding: 55px 0;
    }

    .barcelona-form {
        padding: 28px 18px;
    }

    .barcelona-form h3 {
        font-size: 1.35rem;
        margin-bottom: 22px;
    }

    .form-field input,
    .form-field select,
    .form-field textarea {
        padding: 12px 14px;
        font-size: 0.9rem;
    }

    /* Footer */
    .site-footer {
        padding-top: 45px;
    }

    .footer-bottom-bar {
        padding: 20px 0;
        font-size: 0.78rem;
    }
}


/* --------------------------------------------------------------------------
   Touch Devices / Accessibility
   -------------------------------------------------------------------------- */
@media (hover: none) and (pointer: coarse) {

    .venture-card-box:hover {
        transform: none;
    }

    .feature-box:hover {
        transform: none;
    }

    .slider-arrow:hover {
        background: rgba(20,33,43,0.6);
        border-color: rgba(255,255,255,0.6);
    }

    .gallery-item:hover img,
    .ltr-gallery-item:hover img,
    .rtl-gallery-item:hover img {
        transform: none;
    }

    .gallery-hover-overlay,
    .ltr-hover-overlay,
    .rtl-hover-overlay {
        display: none;
    }
}


/* --------------------------------------------------------------------------
   Reduced Motion Accessibility
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* ==========================================================
   CONTACT FORM SUCCESS POPUP
   ========================================================== */

.thank-you-popup {
    position: fixed;
    inset: 0;
    background: rgba(10, 15, 20, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

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

    padding: 20px;
    z-index: 99999;
}

.thank-you-popup.active {
    display: flex;
}

.thank-you-box {
    position: relative;

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

    background: #ffffff;
    border-radius: 12px;

    padding: 45px 35px 35px;

    text-align: center;

    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.3);

    animation: thankYouPopupIn 0.35s ease;
}

@keyframes thankYouPopupIn {

    from {
        opacity: 0;
        transform: translateY(25px) scale(0.96);
    }

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

}

.thank-you-close {
    position: absolute;

    top: 12px;
    right: 15px;

    width: 35px;
    height: 35px;

    border: none;
    background: transparent;

    color: #64748b;

    font-size: 28px;
    line-height: 1;

    cursor: pointer;
}

.thank-you-close:hover {
    color: var(--brand-red);
}

.thank-you-icon {
    width: 65px;
    height: 65px;

    margin: 0 auto 20px;

    border-radius: 50%;

    background: var(--brand-red);
    color: #ffffff;

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

    font-size: 32px;
    font-weight: 700;
}

.thank-you-box h3 {
    margin-bottom: 12px;

    font-family: var(--font-heading);
    font-size: 1.7rem;

    color: var(--text-dark);
}

.thank-you-box p {
    margin: 0 auto 25px;

    max-width: 380px;

    color: var(--text-body);
    font-size: 1rem;
    line-height: 1.6;
}

.thank-you-button {
    border: none;

    background: var(--brand-red);
    color: #ffffff;

    padding: 12px 30px;

    border-radius: 3px;

    font-family: var(--font-heading);
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 1px;

    cursor: pointer;

    transition: var(--transition-smooth);
}

.thank-you-button:hover {
    background: var(--primary-blue);
    transform: translateY(-2px);
}


/* Form processing state */

.btn-form-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}


/* Mobile */

@media (max-width: 576px) {

    .thank-you-box {
        padding: 40px 22px 28px;
    }

    .thank-you-box h3 {
        font-size: 1.5rem;
    }

    .thank-you-box p {
        font-size: 0.92rem;
    }

}

/* Hide slider arrows on mobile */
@media (max-width: 768px) {
    .slider-arrow {
        display: none !important;
    }
}


