/* General Reset */
html {
    scroll-behavior: smooth;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: #000;
    background-color: #F8F8F8;
    overflow-x: clip;
}

/* Social Proof Top Bar */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 36px;
    background: #1B3A5C;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    z-index: 99999;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap; overflow: hidden; }

.top-bar.topbar-hidden {
    transform: translateY(-100%) !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-item i {
    color: #B22234;
    font-size: 12px;
}

.top-bar-divider {
    width: 1px;
    height: 14px;
    background: rgba(255,255,255,0.25);
}



/* Entrance Animations */
.animate-left {
    opacity: 0;
    transform: translateX(-120px); /* Larger offset for a more cinematic entry */
    transition: transform 2.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 2.2s ease-out; /* Slower 2.2s duration */
    will-change: transform, opacity;
}

.animate-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* --- Modern Hero Section --- */
.modern-hero {
    position: sticky;
    top: 0;
    z-index: 10;
    height: 100vh;
    min-height: 600px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

/* Main Content Wrapper (hides sticky hero) */
.main-content {
    position: relative;
    z-index: 11; /* Higher than sticky hero */
    width: 100%;
    background-color: #F8F8F8; /* Matches body background */
}

.hero-bg-swiper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.modern-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

.hero-bg-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    /* Clean gradient: dark on left for text, completely transparent on right */
    background: linear-gradient(90deg, rgba(30,30,30,0.95) 0%, rgba(30,30,30,0.85) 40%, rgba(30,30,30,0) 100%);
    z-index: 2;
}

.modern-hero-content {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 0 5% 0 6%;
}

/* Badge styling */
.hero-badge {
    background-color: #1B3A5C;
    color: #fff;
    padding: 8px 18px;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background-color: #fff;
    border-radius: 50%;
}

.modern-hero-title {
    font-family: 'Inter', sans-serif;
    font-size: 52px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.modern-hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #e2e8f0;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 650px;
}

.modern-hero-cta {
    display: flex;
    gap: 16px;
}

.btn-primary-light {
    background-color: #e2e8f0;
    color: #0f172a;
    padding: 16px 32px;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-primary-light:hover {
    background-color: #ffffff;
    transform: translateY(-2px);
}

.btn-secondary-blue {
    background-color: #1B3A5C;
    color: #ffffff;
    padding: 16px 36px;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary-blue:hover {
    background-color: #2a5282;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .hero-bg-overlay {
        background: linear-gradient(180deg, rgba(15,23,42,0.92) 0%, rgba(15,23,42,0.85) 60%, rgba(15,23,42,0.5) 100%);
    }
}

/* Hero Slide Operator */
.hero-slide-operator {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 25;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 5px 16px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.hero-op-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 11px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-op-btn:hover {
    background: #B22234;
    border-color: #B22234;
    transform: scale(1.08);
    color: #ffffff;
}

.hero-op-pagination {
    display: flex;
    align-items: center;
    gap: 10px;
    width: auto !important;
    position: static !important;
}

.hero-op-bullet {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    opacity: 0.55;
    transition: all 0.3s ease;
    background: transparent !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    border-radius: 0 !important;
}

.hero-op-bullet .bullet-index {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.hero-op-bullet .bullet-line {
    width: 18px;
    height: 2.5px;
    background: rgba(255, 255, 255, 0.35);
    border-radius: 4px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-op-bullet.swiper-pagination-bullet-active {
    opacity: 1;
}

.hero-op-bullet.swiper-pagination-bullet-active .bullet-index {
    color: #ffffff;
}

.hero-op-bullet.swiper-pagination-bullet-active .bullet-line {
    width: 30px;
    background: #B22234;
    box-shadow: 0 0 10px rgba(178, 34, 52, 0.7);
}

@media (max-width: 768px) {
    .hero-slide-operator {
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        padding: 4px 12px;
        gap: 8px;
    }
}

.hero-sticky-wrapper {
    position: sticky;
    top: 36px; /* Start below the top bar */
    left: 0;
    width: 100%;
    height: calc(100vh - 36px); /* Subtract top bar height */
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.hero-bg-container {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: top left;
    transform: translateY(100vh);
    transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
    will-change: transform;
}

.hero-bg-img.revealed {
    transform: translateY(0) scale(1);
}


.navbar-slide2 {
    position: fixed;
    top: 42px; /* 36px top bar + 6px small gap */
    left: 50%;
    width: calc(100% - 50px);
    background: rgba(255, 255, 255, 0.95); /* Solid white feel with slight transparency */
    backdrop-filter: blur(10px);
    border-radius: 50px; /* Fully rounded pill shape */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 30px; /* Spacious desktop & tablet navbar height */
    z-index: 9999;
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), top 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.navbar-slide2.revealed {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* When both top-bar and navbar hide together, navbar slides up ~96px (36px bar + 48px nav + 12px gap) */
.navbar-slide2.nav-hidden {
    opacity: 0 !important;
    transform: translateX(-50%) translateY(-96px) !important;
    pointer-events: none !important;
}

/* logo-pill and nav-logo styles moved to split-logo section below */

.navbar-slide2 .nav-logo-symbol {
    height: 36px;
    width: auto;
    object-fit: contain;
    display: block;
}

.navbar-slide2 .nav-logo-text {
    height: 32px;
    width: auto;
    object-fit: contain;
    display: block;
    margin-left: 4px;
    background: transparent;
}

/* Ensure logo-pill aligns children to center for equal vertical spacing */
.logo-pill {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: transparent;
    padding: 0;
    margin: 0;
    text-decoration: none;
    gap: 8px;
}

.navbar-slide2 .nav-right {
    display: flex;
    align-items: center;
    gap: 25px; /* Reduced gap slightly to prevent overlap */
    flex: 1;
    justify-content: center;
    padding-left: 60px;
    padding-right: 230px; /* Space for the absolute button and lang toggle */
    position: relative;
}

.navbar-slide2 .nav-right a {
    text-decoration: none;
    color: #111;
    font-family: 'Inter', sans-serif;
    font-size: 15px; /* Slightly reduced from 16px to prevent wrapping */
    font-weight: 500;
    transition: color 0.3s;
    white-space: nowrap; /* Prevents text from breaking into multiple lines */
}

.navbar-slide2 .nav-right a:hover {
    color: #B22234;
}

.navbar-slide2 .nav-right .btn-solid {
    background: #1B3A5C;
    color: #fff;
    padding: 10px 24px;
    border-radius: 50px;
    transition: background 0.3s, color 0.3s;
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
    flex-shrink: 0;
    position: absolute;
    right: 0;
}

.navbar-slide2 .nav-right .btn-solid:hover {
    background: #B22234; /* Deep red on hover */
    color: #fff;
}

.hero-content.flex-row {
    position: absolute;
    top: 80px; /* Restored original position */
    left: 0; right: 0;
    z-index: 50;
    padding: 0 50px;
    display: flex;
    justify-content: space-between;
    width: 100%;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease 0.7s, transform 0.8s ease 0.7s;
}

.hero-content.flex-row.revealed {
    opacity: 1;
    transform: translateY(0);
}

.slide2-text-left {
    display: flex;
    flex-direction: column;
}

.slide2-small {
    font-family: 'Inter', sans-serif;
    font-size: 36px; /* Reduced from 48px */
    font-weight: 400;
    letter-spacing: 4px;
    color: #000;
    margin-bottom: -10px;
    text-transform: uppercase;
}

.slide2-large {
    font-family: 'Inter', sans-serif;
    font-size: 100px; /* Reduced from 126px */
    font-weight: 400;
    color: #000;
    letter-spacing: -2px;
    line-height: 0.9;
}

.slide2-text-right {
    margin-top: 45px;
    text-align: right;
}

.slide2-text-right p {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 1px;
    line-height: 1.6;
    color: #000;
    text-align: right;
}

/* --- Slide 3 / Pop Up Text --- */
.hero-scroll-text-left {
    position: absolute;
    top: 18%; /* Lowered from 12% */
    left: 80px; /* Moved right from 50px */
    width: 600px;
    z-index: 60;
    opacity: 0;
    transform: translateY(20px);
}

.slide3-desc {
    color: #000;
    font-family: 'Inter', sans-serif;
    font-size: 16px; 
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.5px;
    margin-bottom: 20px; /* Reduced from 40px to pull stats closer */
}

.slide3-stats {
    display: flex;
    gap: 40px;
}

.stat-col {
    color: #1B3A5C; /* Navy blue from logo */
    font-family: 'Inter', sans-serif;
}

.stat-col h3 {
    font-size: 28px;
    font-weight: 400;
    margin: 0;
}

.stat-col p {
    font-size: 10px;
    font-weight: 400;
    margin: 4px 0 0;
    line-height: 1.3;
    text-transform: uppercase;
}

/* Responsive Top Bar & Navbar */
@media (max-width: 1100px) {
    .top-bar {
        display: flex !important;
        gap: 16px;
        padding: 0 16px;
        justify-content: center;
        height: 34px;
        font-size: 11.5px;
        white-space: nowrap; overflow: hidden; }
    .top-bar-item {
        font-size: 11.5px;
        gap: 6px;
    }
    .top-bar-divider {
        display: block !important;
        height: 12px;
    }
    .navbar-slide2 {
        top: 42px !important;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: flex !important;
        height: 30px;
        padding: 0 12px;
        gap: 12px;
        font-size: 11px;
        justify-content: center;
        white-space: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        white-space: nowrap; overflow: hidden; }
    .top-bar::-webkit-scrollbar {
        display: none;
    }
    .top-bar-item {
        font-size: 11px;
        gap: 6px;
        flex-shrink: 0;
    }
    .top-bar-divider {
        display: block !important;
        height: 10px;
        flex-shrink: 0;
    }
    .navbar-slide2 {
        top: 36px !important;
    }
}

@media (max-width: 480px) {
    .top-bar {
        display: flex !important;
        height: 28px;
        padding: 0 10px;
        gap: 10px;
        font-size: 10px;
        justify-content: center;
        white-space: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        white-space: nowrap; overflow: hidden; }
    .top-bar::-webkit-scrollbar {
        display: none;
    }
    .top-bar-item {
        font-size: 10px;
        gap: 5px;
        flex-shrink: 0;
    }
    .top-bar-item i {
        font-size: 10px;
    }
    .top-bar-divider {
        display: block !important;
        height: 10px;
        flex-shrink: 0;
    }
    .navbar-slide2 {
        top: 34px !important;
        padding: 4px 14px !important;
    }
    .navbar-slide2 .logo {
        height: 32px !important;
    }
}

@media (max-width: 1024px) {
    .slide2-large {
        font-size: 80px;
    }
    .hero-scroll-text-left {
        width: 80%;
    }
}

@media (max-width: 768px) {
    .hero-content.flex-row {
        flex-direction: column;
        top: 100px;
    }
    .slide2-text-right {
        text-align: left;
        margin-top: 20px;
    }
    .slide2-text-right p {
        text-align: left;
    }
    .slide2-large {
        font-size: 60px;
    }
    /* Navbar handled by hamburger CSS block below — only fix direction */
    .navbar-slide2 {
        top: 44px; /* keep below top-bar which is still showing at 768px */
    }
    .hero-scroll-text-left {
        top: 50%;
        left: 20px;
        width: 90%;
    }
}

/* Next Slide: Elevating Modern Living */
.elevating-section {
    position: relative;
    z-index: 200;
    width: 100%;
    background-color: #FFFFFF; /* Match image background */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 100px 60px 40px; /* Reduced top/bottom padding */
    text-align: center;
    box-shadow: 0 -20px 40px rgba(0,0,0,0.1);
    margin-top: 0; /* Removed negative overlap */
}

.elevating-content {
    max-width: 900px;
    margin-bottom: 10px; /* Reduced from 40px to pull image up */
    opacity: 0;
    transform: translateY(50px);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.2s ease-out;
}

.elevating-section.revealed-text .elevating-content {
    opacity: 1;
    transform: translateY(0);
}

.elevating-title {
    font-family: 'Inter', sans-serif;
    font-size: 64px;
    font-weight: 300;
    color: #1B3A5C; /* Navy blue from logo */
    margin-bottom: 24px;
    letter-spacing: -2px;
    line-height: 1.1;
    text-transform: uppercase;
}

.accent-green {
    color: #1B3A5C; /* Navy blue from logo */
    font-weight: 400;
}

.elevating-subtext {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: #000000;
    line-height: 1.7;
    max-width: 820px;
    margin: 0 auto;
    opacity: 0.8;
}

.building-reveal-container {
    width: calc(100% + 120px); /* Cancel out the 60px padding on each side */
    margin-left: -60px;
    margin-right: -60px;
    margin-top: 20px; 
    display: flex;
    justify-content: center;
    overflow: hidden;
    background: #FFFFFF;
}

.reveal-building-img {
    width: auto;          /* natural width */
    max-width: 100%;      /* shrink on small screens */
    height: auto;         /* natural height */
    display: block;
    margin-top: 0;
    transform: translateY(160px) scale(0.95);
    opacity: 0;
    will-change: transform, opacity;
    transition: transform 1.6s cubic-bezier(0.1, 1, 0.2, 1) 0.45s, opacity 1.2s ease-out 0.45s;
}

.elevating-section.revealed-img .reveal-building-img {
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* Scroll Point Indicator */
.scroll-down-hint {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0;
    pointer-events: none;
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1) 0.8s; /* Delayed appearance */
    z-index: 20;
}

.elevating-section.revealed-img .scroll-down-hint {
    opacity: 0.6;
    transform: translateX(-50%) translateY(0);
}

.mouse-icon {
    width: 20px;
    height: 32px;
    border: 2px solid #000;
    border-radius: 20px;
    position: relative;
}

.mouse-wheel {
    width: 2px;
    height: 6px;
    background-color: #000;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scrollWheelPulse 1.8s infinite;
}

.scroll-down-hint span {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #000;
    font-weight: 600;
}

@keyframes scrollWheelPulse {
    0% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(12px); opacity: 0; }
}

/* Room Selection Section - Restoring original flow */
.room-selection {
    position: relative;
    z-index: 11; /* Ensure it stays above the sticky header */
    background-color: #FFFFFF; /* Pure White to match elevating section */
    padding: 60px 40px 100px; /* Reduced top padding from 100px to 60px */
}

.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-family: 'Inter', sans-serif;
    font-size: 56px;
    font-weight: 600;
    color: #000;
}

.see-all {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #000;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
}

.room-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.room-card {
    text-align: center;
    opacity: 0;
    will-change: transform, opacity;
    /* Extra-slow, ultra-luxurious 3.2s duration */
    transition: transform 3.2s cubic-bezier(0.1, 1, 0.2, 1), opacity 3.2s ease-out;
    cursor: pointer;
}

/* Deeper stack offsets to make them almost overlap in the center */
.room-card:nth-child(1) { transform: translateX(180%) scale(0.95); z-index: 1; }
.room-card:nth-child(2) { transform: translateX(65%) scale(0.98); z-index: 2; }
.room-card:nth-child(3) { transform: translateX(-65%) scale(0.98); z-index: 2; }
.room-card:nth-child(4) { transform: translateX(-180%) scale(0.95); z-index: 1; }

.room-selection.revealed .room-card {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.card-image {
    position: relative;
    background-color: rgba(0, 0, 0, 0.02); /* Extremely subtle ghost background */
    border: 1px solid rgba(0, 0, 0, 0.08); /* Thinner border-like appearance */
    border-radius: 12px;
    padding: 28px; /* Slightly tighter padding */
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.room-card:hover .card-image {
    transform: translateY(-8px);
}

.card-image img {
    max-width: 100%;
    height: auto;
}

.card-label {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #000;
    opacity: 0.8;
}

/* Active card icon (square with arrow) */
.room-card.active .card-icon {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 32px;
    height: 32px;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px 0 12px 0;
}

/* About Us Section (New Three-Column Design) */
.about-us-section {
    position: relative;
    z-index: 11;
    background-color: #F8F8F8; /* Off-White requested */
    padding: 120px 60px;
    overflow: hidden;
}

.about-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    max-width: 1500px;
    margin: 0 auto;
}

.about-col {
    flex: 1;
}

.about-text-left {
    max-width: 320px;
}

.about-massive-title {
    font-family: 'Inter', sans-serif;
    font-size: 80px; /* Reduced from 110px */
    font-weight: 800;
    line-height: 1.0;
    letter-spacing: -3px; /* Refined for smaller size */
    color: #000;
    margin-bottom: 60px; /* Reduced margin to match font size */
}

.about-subheadline {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #000;
    text-transform: uppercase;
}

.about-desc {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #666;
}

.about-main-img-wrapper {
    flex: 2; /* Larger middle column for the wide image */
    transform: translateY(500px); /* Deep start for clear, slow movement */
    opacity: 0;
    transition: transform 3s cubic-bezier(0.1, 1, 0.2, 1), opacity 3s ease-out;
    will-change: transform, opacity;
}

.about-us-section.revealed .about-main-img-wrapper {
    transform: translateY(0);
    opacity: 1;
}

.about-main-img {
    width: 100%;
    aspect-ratio: 4 / 3; /* Reduced vertical height by approx 1/4 (from square/portrait) */
    height: auto;
    border-radius: 40px;
    object-fit: cover;
    box-shadow: 0 20px 60px rgba(0,0,0,0.05);
}

.about-right {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 380px;
}

.about-secondary-img-wrapper {
    width: 100%;
    transform: translateX(600px); /* Sweeping in from deep beside the viewport */
    opacity: 0;
    transition: transform 2.8s cubic-bezier(0.1, 1, 0.2, 1), opacity 2.5s ease-out;
    will-change: transform, opacity;
}

.about-us-section.revealed .about-secondary-img-wrapper {
    transform: translateX(0);
    opacity: 1;
}

.about-secondary-img {
    width: 100%;
    height: auto;
    border-radius: 40px;
    object-fit: cover;
}

.about-philosophy {
    padding-top: 20px;
}

.philosophy-title {
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #000;
}

.philosophy-desc {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: #666;
}

@media (max-width: 1024px) {
    .room-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .showroom-container {
        flex-direction: column;
        gap: 60px;
        text-align: center;
    }
    .showroom-text {
        max-width: 100%;
    }
    .btn-about-us {
        margin: 40px auto 0;
    }
}

@media (max-width: 768px) {
    .feature-title {
        font-size: 36px;
    }
}
/* Projects Section */
.projects-section {
    position: relative;
    z-index: 11;
    background-color: #fff;
    padding: 100px 40px;
    max-width: 1400px;
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
}

.projects-header {
    text-align: center;
    margin-bottom: 50px;
}

.projects-subtitle {
    font-size: 14px;
    font-weight: 700;
    color: #B22234;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.separator {
    display: inline-block;
    width: 30px;
    height: 2px;
    background-color: #B22234;
}

.projects-title {
    font-family: 'Inter', sans-serif;
    font-size: 48px;
    color: #1B3A5C; /* Navy blue from logo */
    line-height: 1.2;
}

.projects-filters {
    text-align: center;
    margin-bottom: 40px;
}

.filter-tabs {
    list-style: none;
    padding: 0;
    display: inline-flex;
    gap: 30px;
}

.filter-tabs li {
    font-size: 14px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    padding-bottom: 5px;
    position: relative;
    transition: color 0.3s;
}

.filter-tabs li:hover, .filter-tabs li.active {
    color: #B22234;
}

.filter-tabs li.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #B22234;
}

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

.project-block {
    position: relative;
}

.project-block .inner-box {
    background: #f8f8f8;
    transition: transform 0.3s;
}

.project-block .inner-box:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.project-block .image-box {
    position: relative;
    overflow: hidden;
}

.project-block .image-box img {
    width: 100%;
    display: block;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.5s;
}

.project-block .inner-box:hover .image-box img {
    transform: scale(1.1);
}

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

.project-block .inner-box:hover .overlay-box {
    opacity: 1;
}

.overlay-inner .icon-link {
    width: 50px;
    height: 50px;
    background: #B22234;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    text-decoration: none;
    transform: scale(0);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.project-block .inner-box:hover .icon-link {
    transform: scale(1);
}

.lower-content {
    padding: 25px;
    text-align: center;
    background: #fff;
    border: 1px solid #eee;
    border-top: none;
}

.lower-content .category {
    font-size: 12px;
    color: #B22234;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.lower-content h5 {
    font-size: 20px;
    font-weight: 700;
    color: #111;
    margin: 0;
}

.lower-content h5 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.lower-content h5 a:hover {
    color: #B22234;
}

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

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    .filter-tabs {
        flex-direction: column;
        gap: 15px;
    }
}

.projects-more-btn-wrap {
    text-align: center;
    margin-top: 50px;
}

.view-more-projects-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #1B3A5C;
    color: #FFFFFF !important;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 36px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(27, 58, 92, 0.2);
}

.view-more-projects-btn:hover {
    background: #B22234;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(178, 34, 52, 0.35);
    color: #FFFFFF !important;
}

.view-more-projects-btn i {
    transition: transform 0.3s ease;
}

.view-more-projects-btn:hover i {
    transform: translateX(5px);
}

/* ===========================
   Why Work With Us Section
=========================== */
.why-us-section {
    position: relative;
    z-index: 11;
    background: #1B3A5C;
    padding: 100px 60px;
    overflow: hidden;
}

.why-us-section::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(178,34,52,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.why-us-inner {
    display: flex;
    align-items: flex-start;
    gap: 80px;
    max-width: 1300px;
    margin: 0 auto;
    padding-bottom: 0;
}

/* Left Column */
.why-us-left {
    flex: 0 0 340px;
    position: sticky;
    top: 120px;
}

.why-us-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: #B22234;
    text-transform: uppercase;
    margin-bottom: 20px;
    position: relative;
    padding-left: 30px;
}

.why-us-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 2px;
    background: #B22234;
}

.why-us-title {
    font-family: 'Inter', sans-serif;
    font-size: 52px;
    line-height: 1.08;
    color: #FFFFFF;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.why-us-desc {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255,255,255,0.68);
    margin-bottom: 36px;
}

.why-us-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #B22234;
    color: #FFFFFF !important;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 13px 28px;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
    box-shadow: 0 4px 20px rgba(178,34,52,0.35);
    letter-spacing: 0.3px;
}

.why-us-cta:hover {
    background: #fff;
    color: #1B3A5C !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255,255,255,0.15);
}

.why-us-cta i {
    transition: transform 0.3s ease;
}

.why-us-cta:hover i {
    transform: translateX(5px);
}

/* Right Cards Grid */
.why-us-right {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.why-card {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 16px;
    padding: 28px 24px;
    transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
    backdrop-filter: blur(4px);
}

.why-card:hover {
    background: rgba(255,255,255,0.10);
    border-color: rgba(178,34,52,0.5);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}

.why-card-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(178,34,52,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #B22234;
    font-size: 20px;
    transition: all 0.3s ease;
}

.why-card:hover .why-card-icon {
    background: #B22234;
    color: #fff;
    transform: scale(1.08);
}

.why-card-body h4 {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 8px;
    line-height: 1.3;
}

.why-card-body p {
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    line-height: 1.7;
    color: rgba(255,255,255,0.60);
    margin: 0;
}

@media (max-width: 1100px) {
    .why-us-inner {
        flex-direction: column;
        gap: 50px;
    }
    .why-us-left {
        position: static;
        flex: none;
    }
    .why-us-title {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .why-us-section {
        padding: 70px 25px;
    }
    .why-us-right {
        grid-template-columns: 1fr;
    }
    .why-us-title {
        font-size: 36px;
    }
}

/* Testimonial Section */
.testimonial-section {
    position: relative;
    z-index: 11;
    padding: 100px 0;
    background-color: #F8F8F8; /* Off-White requested */
    overflow: hidden;
}

.center {
    text-align: center;
}

.marquee-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 60px;
}

.marquee-row {
    display: flex;
    gap: 40px;
    width: max-content;
}

.left-to-right {
    animation: marquee-left 30s linear infinite;
}

.right-to-left {
    animation: marquee-right 30s linear infinite;
}

@keyframes marquee-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 20px)); }
}

@keyframes marquee-right {
    0% { transform: translateX(calc(-50% - 20px)); }
    100% { transform: translateX(0); }
}

.review-box {
    font-family: 'Inter', sans-serif;
    background-color: rgba(203, 212, 216, 0.4); /* Reduced opacity for a lighter look */
    padding: 24px 60px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 500;
    color: #000;
    white-space: nowrap;
    border: 1px solid rgba(0,0,0,0.05);
}

/* Inquiry Form Section */
.inquiry-section {
    position: relative;
    z-index: 11;
    padding: 120px 40px;
    background-color: #F8F8F8; /* Off-White requested */
}

.inquiry-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.inquiry-info {
    flex: 1;
}

.inquiry-title {
    font-family: 'Inter', sans-serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    color: #1B3A5C; /* Navy blue from logo */
    margin-bottom: 32px;
}

.inquiry-info p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #1B3A5C; /* Navy blue from logo */
    max-width: 400px;
    line-height: 1.6;
}

.inquiry-form {
    flex: 1.5;
    background: #1B3A5C; /* Navy blue container box */
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(27, 58, 92, 0.2);
}

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

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
    width: 100%;
    padding: 18px 24px;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 15px;
    background: #f0f2f3; /* Reverted to original light grey */
    color: #333;
    transition: border-color 0.3s;
}

.inquiry-form input::placeholder,
.inquiry-form textarea::placeholder {
    color: #777;
}

.inquiry-form select {
    color: #555;
}

.inquiry-form select option {
    background: #ffffff;
    color: #333;
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
    border-color: #B22234;
    outline: none;
}

.inquiry-form textarea {
    margin-bottom: 40px;
    resize: none;
}

.btn-submit {
    background-color: #B22234;
    color: #fff;
    padding: 20px 48px;
    border-radius: 50px;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.btn-submit:hover {
    background-color: #8B1A2B;
    transform: translateY(-2px);
}

/* Footer Section Container */
.footer-section {
    position: relative;
    z-index: 11;
    /* Soft architectural grey as requested */
    background-color: #F8F8F8; /* Off-White requested */
    padding: 60px 40px; 
    color: #000;
}



/* New Floating Footer Styling */
.main-footer {
    display: block; 
    padding-top: 60px;
}

.footer-card {
    background-color: #1B3A5C; /* Navy blue theme */
    border-top: 4px solid #B22234; /* Deep red top border accent */
    border-radius: 40px;
    padding: 80px 100px;
    box-shadow: 0 40px 100px rgba(27, 58, 92, 0.25);
    max-width: 1500px;
    margin: 0 auto;
    color: #ffffff;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 80px;
    gap: 100px;
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
}

.brand-name {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #ffffff;
}

.brand-vision {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 40px;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-icon {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, background 0.3s, color 0.3s;
}

.social-icon:hover {
    transform: translateY(-3px);
    background: #ffffff; 
    color: #1B3A5C;
}

.footer-nav {
    display: flex;
    gap: 100px;
}

.footer-nav-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-nav-col h4 {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff; /* Crisp white titles */
    letter-spacing: 0.5px;
}

.footer-nav-col a {
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    transition: color 0.2s;
}

.footer-nav-col a:hover {
    color: #ffffff;
}

.footer-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.15);
    margin-bottom: 40px;
}

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

.copyright {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.legal-links {
    display: flex;
    gap: 40px;
}

.legal-links a {
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: color 0.2s;
}

.legal-links a:hover {
    color: #ffffff;
}

@media (max-width: 1024px) {
    .collection-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: auto;
    }
    .coll-tall {
        grid-row: span 1;
    }
    .conversation-content {
        flex-direction: column;
        gap: 60px;
        text-align: center;
    }
    .conversation-desc {
        margin: 0 auto;
    }
    .main-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 80px;
    }
    .footer-grid {
        gap: 60px;
        flex-wrap: wrap;
    }
    .footer-logo {
        position: static;
        font-size: 48px;
    }
}

/* 3D Model Modal Styles */
body.modal-open {
    overflow: hidden; /* Prevent background scrolling */
}

.model-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.model-modal.active {
    opacity: 1;
    visibility: visible;
}

.model-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); /* Dark background */
    backdrop-filter: blur(10px);
}

.model-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: 85vh;
    background: transparent;
    border-radius: 12px;
    z-index: 10000;
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.model-modal.active .model-modal-content {
    transform: scale(1);
}

.model-iframe-container {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    background-color: #111; /* Loading placeholder for iframe */
}

.model-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    transition: transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.model-modal-close:hover {
    transform: scale(1.1) rotate(90deg);
}

@media (max-width: 768px) {
    .model-modal-content {
        width: 95%;
        height: 80vh;
    }
    .model-modal-close {
        top: -40px;
        right: 0px;
    }
}

/* Construction Services Section */
.construction-services {
    background: #F8F8F8;
    padding: 100px 0;
    text-align: center;
    position: relative;
    z-index: 11;
}

.services-main-title {
    font-family: 'Inter', sans-serif;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 50px;
}

.services-split-section {
    display: flex;
    max-width: 1400px;
    margin: 100px auto;
    background: #fff;
    padding: 20px;
    gap: 30px;
}
.services-left-pane {
    width: 30%;
    background: url('assets/services_bg.jpg') center/cover;
    position: relative;
    border-radius: 12px;
    padding: 60px 40px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.services-left-pane::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
    border-radius: 12px;
}
.services-left-pane > * {
    position: relative;
    z-index: 2;
}
.sl-title {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #ffffff; /* White for better visibility against dark background */
    margin-bottom: 20px;
}
.sl-desc {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #ddd;
}
.sl-btn {
    display: inline-block;
    padding: 15px 30px;
    background: #B22234; /* Deep red from logo */
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    border-radius: 30px;
    align-self: flex-start;
    transition: background 0.3s;
}
.sl-btn:hover {
    background: #8B1A2B; /* Darker red on hover */
}
.sl-pointer {
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0; 
    height: 0; 
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 15px solid rgba(0,0,0,0.7); /* Matches overlay color */
    z-index: 3;
}

/* Right pane swiper */
.services-right-pane {
    width: 70%;
    position: relative;
}
.grid-swiper {
    width: 100%;
    height: 600px; /* fixed height to fit 2 rows comfortably */
}
.grid-swiper .swiper-slide {
    height: calc((100% - 30px) / 2); /* 2 rows with 30px space */
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Custom Grid Cards with Hover Reveal */
.custom-grid-card {
    background-color: var(--card-bg, #fcfcfc);
    border: none;
    border-radius: 16px;
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}
.custom-grid-card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}
.custom-grid-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    z-index: 1;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.cgc-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 70%);
    z-index: 2;
    opacity: 0;
    transition: opacity 0.5s ease;
}
.custom-grid-card:hover::before,
.custom-grid-card:hover .cgc-overlay {
    opacity: 1;
    transform: scale(1);
}
.cgc-content {
    position: relative;
    z-index: 3;
    padding: 30px 20px;
    text-align: left;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.cgc-icon {
    width: 40px;
    height: 40px;
    margin-bottom: auto;
}
.cgc-icon svg {
    width: 100%;
    height: 100%;
    fill: #333;
    transition: fill 0.4s ease, filter 0.4s ease;
}
.custom-grid-card:hover .cgc-icon svg {
    fill: #fff;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}
.cgc-title {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #111;
    margin-bottom: 8px;
    transition: color 0.4s ease;
}
.custom-grid-card:hover .cgc-title {
    color: #fff;
}
.cgc-desc {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    line-height: 1.5;
    color: #666;
    margin: 0;
    transition: color 0.4s ease;
}
.custom-grid-card:hover .cgc-desc {
    color: #ddd;
}

@media (max-width: 1024px) {
    .services-split-section {
        flex-direction: column;
    }
    .services-left-pane {
        width: 100%;
        padding: 40px;
    }
    .sl-pointer {
        display: none;
    }
    .services-right-pane {
        width: 100%;
    }
}
@media (max-width: 768px) {
    .grid-swiper .swiper-slide {
        height: auto;
    }
}
/* --- About Us Section --- */
.about-us-section {
    max-width: 1200px;
    margin: 100px auto;
    padding: 0 40px;
    font-family: 'Inter', sans-serif;
    color: #333;
}

.about-intro {
    text-align: center;
    margin-bottom: 80px;
}

.about-intro h2 {
    font-family: 'Inter', sans-serif;
    font-size: 48px;
    color: #000;
    margin-bottom: 20px;
}

.about-intro-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

.about-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    margin-bottom: 120px;
}

.about-row.reverse-row {
    flex-direction: row-reverse;
}

.about-images {
    width: 45%;
    position: relative;
}

.about-images .img-large {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: block;
}

.about-images .img-small {
    position: absolute;
    width: 60%;
    border-radius: 20px;
    border: 12px solid #fff;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    z-index: 2;
}

.img-small-right {
    bottom: -30px;
    right: -40px;
}

.img-small-left {
    bottom: -30px;
    left: -40px;
}

.about-text {
    width: 50%;
}

.about-text h3 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #1B3A5C; /* Navy blue from logo */
}

.about-text p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

.about-bullets {
    list-style: none;
    padding: 0;
}

.about-bullets li {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-bullets li i {
    color: #799e80; /* A nice muted green matching the image checkmarks */
    font-size: 18px;
}

@media (max-width: 992px) {
    .about-row, .about-row.reverse-row {
        flex-direction: column;
        gap: 60px;
    }
    .about-images, .about-text {
        width: 100%;
    }
    .img-small-right {
        right: 0;
    }
    .img-small-left {
        left: 0;
    }
}

/* --- About Top Row (Breadcrumbs & Team Image) --- */
.about-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 120px;
}

.about-top-text {
    width: 45%;
}

.about-section-label {
    font-size: 14px;
    font-weight: 700;
    color: #B22234;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 20px;
    border: 1.5px solid #B22234;
    padding: 6px 16px;
    border-radius: 20px;
    background: rgba(178, 34, 52, 0.05); /* Matches new red accent */
}

.about-top-text h2 {
    font-size: 52px;
    line-height: 1.1;
    font-weight: 700;
    color: #1B3A5C; /* Navy blue from logo */
    margin-bottom: 30px;
}

.about-top-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

.about-top-image {
    width: 50%;
    position: relative;
}

.about-top-image .img-large {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: block;
}

/* Circular Badge */
.circular-badge {
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 150px;
    height: 150px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 5;
    animation: spin 15s linear infinite;
}

.badge-text-svg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}

.badge-text-svg text {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    fill: #333;
    letter-spacing: 4px;
}

.badge-arrow {
    width: 40px;
    height: 40px;
    background: #B22234;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    /* Counter-rotate so the arrow stays upright while the badge spins */
    animation: counter-spin 15s linear infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}
@keyframes counter-spin {
    100% { transform: rotate(-360deg); }
}

@media (max-width: 992px) {
    .about-top-row {
        flex-direction: column;
    }
    .about-top-text, .about-top-image {
        width: 100%;
    }
    .circular-badge {
        bottom: -20px;
        left: 20px;
    }
}

/* Floating Action Buttons */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 99999;
}

.float-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
}

.float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.float-phone {
    background: #1B3A5C; /* Navy blue */
}

.float-whatsapp {
    background: #25D366; /* WhatsApp Green */
}
/* ================================================
   RESPONSIVE: Hamburger Menu (Mobile Nav)
   DESKTOP: hamburger hidden, mobile-nav-menu hidden
   MOBILE <=768px: hamburger shown, pills nav hidden
================================================ */
.nav-hamburger {
  display: none;
}
.mobile-nav-menu {
  display: none;
}

@media (max-width: 768px) {
  /* Hide existing pill nav links on mobile */
  .navbar-slide2 .nav-right {
    display: none !important;
  }
  /* Show hamburger */
  .nav-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 36px;
    height: 34px;
    padding: 6px 5px;
    background: transparent;
    border: 1.5px solid rgba(0,0,0,0.15);
    border-radius: 6px;
    cursor: pointer;
    z-index: 10001;
    flex-shrink: 0;
  }
  .nav-hamburger span {
    display: block;
    height: 2px;
    background: #1B3A5C;
    border-radius: 2px;
    transition: all 0.3s ease;
    pointer-events: none;
  }
  .nav-hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .nav-hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  /* Mobile full-width nav layout (flush edge-to-edge, no side gaps) */
  .navbar-slide2 {
    justify-content: space-between;
    align-items: center;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    padding: 4px 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    top: 36px !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
  }
  .navbar-slide2.revealed {
    transform: none !important;
  }
  .navbar-slide2.nav-hidden {
    transform: translateY(-96px) !important;
  }
  .navbar-slide2 .nav-logo-symbol {
    height: 32px;
  }
  .navbar-slide2 .nav-logo-text {
    height: 28px;
  }
  /* Mobile dropdown menu - Compact floating card */
  .mobile-nav-menu {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 80px;
    right: 15px;
    left: auto;
    width: 270px;
    max-width: calc(100vw - 30px);
    height: auto;
    background: #ffffff;
    border: 1px solid rgba(27, 58, 92, 0.12);
    border-radius: 20px;
    box-shadow: 0 15px 45px rgba(15, 23, 42, 0.22);
    z-index: 999999;
    padding: 14px 18px;
    gap: 0;
    opacity: 0;
    transform: translateY(-12px) scale(0.95);
    transform-origin: top right;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.3s ease;
    visibility: hidden;
    pointer-events: none;
  }
  .mobile-nav-menu.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    visibility: visible;
    pointer-events: auto;
  }
  .mobile-nav-menu a {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #1B3A5C;
    text-decoration: none;
    padding: 11px 8px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    min-height: auto;
    display: flex;
    align-items: center;
    transition: color 0.2s, padding-left 0.2s;
  }
  .mobile-nav-menu a:hover {
    color: #B22234;
    padding-left: 12px;
  }
  .mobile-nav-menu .mobile-nav-cta {
    margin-top: 10px;
    background: #B22234;
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 50px;
    border-bottom: none;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    min-height: 42px;
  }
  .mobile-nav-menu .mobile-nav-cta:hover {
    padding-left: 20px;
    background: #901b29;
  }
}

@media (max-width: 480px) {
  .navbar-slide2 {
    top: 32px !important;
    padding: 2px 10px !important;
  }
  .floating-actions {
    bottom: 16px !important;
    right: 14px !important;
    gap: 10px !important;
  }
  .float-btn {
    width: 42px !important;
    height: 42px !important;
    font-size: 19px !important;
  }
}

@media (max-width: 768px) {
  .elevating-section {
    padding: 60px 24px 40px;
  }
  .elevating-title {
    font-size: 36px;
    letter-spacing: -1px;
  }
  .building-reveal-container {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}
@media (max-width: 480px) {
  .elevating-title {
    font-size: 28px;
    letter-spacing: -0.5px;
  }
  .elevating-subtext {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .about-us-section {
    padding: 60px 24px;
    margin: 0 auto;
  }
  .about-images .img-small {
    display: none; /* hide overlapping floating small images on mobile */
  }
  .about-images .img-large {
    margin-bottom: 0;
  }
  .about-top-text h2 {
    font-size: 36px;
  }
  .about-text h3 {
    font-size: 28px;
  }
}
@media (max-width: 480px) {
  .about-top-text h2 {
    font-size: 28px;
  }
  .about-text h3 {
    font-size: 24px;
  }
}

/* --- Hero Section Mobile & Tablet Fit (Zero Scroll Required) --- */
@media (max-width: 1024px) {
  .modern-hero {
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
  }
  .modern-hero-content {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-46%) !important;
    margin-top: 0 !important;
    padding: 0 40px !important;
    max-width: 720px !important;
    box-sizing: border-box !important;
  }
  .modern-hero-title {
    font-size: 38px !important;
    line-height: 1.15 !important;
    margin-bottom: 16px !important;
  }
  .modern-hero-subtitle {
    font-size: 15px !important;
    line-height: 1.5 !important;
    margin-bottom: 22px !important;
    max-width: 600px !important;
  }
  .modern-hero-cta {
    display: flex !important;
    flex-direction: row !important;
    gap: 14px !important;
  }
  .modern-hero-cta .btn-primary-light,
  .modern-hero-cta .btn-secondary-blue {
    padding: 13px 26px !important;
    font-size: 14px !important;
    width: auto !important;
  }
}

@media (max-width: 768px) {
  .modern-hero {
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    max-height: 100dvh;
    overflow: hidden;
    display: flex;
    align-items: center;
  }
  .modern-hero-content {
    position: absolute !important;
    top: 52% !important;
    transform: translateY(-50%) !important;
    margin-top: 0 !important;
    padding: 0 24px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .hero-badge {
    font-size: 11px !important;
    padding: 6px 14px !important;
    margin-bottom: 12px !important;
    display: inline-flex !important;
  }
  .modern-hero-title {
    font-size: 28px !important;
    line-height: 1.16 !important;
    letter-spacing: -0.5px !important;
    margin-bottom: 12px !important;
    font-weight: 800 !important;
  }
  .modern-hero-subtitle {
    font-size: 13.5px !important;
    line-height: 1.45 !important;
    color: #e2e8f0 !important;
    margin-bottom: 18px !important;
    max-width: 100% !important;
  }
  .modern-hero-cta {
    display: flex !important;
    flex-direction: row !important;
    gap: 10px !important;
    width: 100% !important;
    margin-bottom: 0 !important;
  }
  .modern-hero-cta .btn-primary-light,
  .modern-hero-cta .btn-secondary-blue {
    flex: 1 1 0 !important;
    width: auto !important;
    padding: 12px 14px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-align: center !important;
    justify-content: center !important;
    border-radius: 30px !important;
    white-space: nowrap !important;
  }
  .hero-slide-operator {
    bottom: 16px !important;
    padding: 4px 12px !important;
    transform: translateX(-50%) scale(0.85) !important;
  }
}

@media (max-width: 480px) {
  .modern-hero-content {
    top: 53% !important;
    padding: 0 16px !important;
  }
  .hero-badge {
    font-size: 10px !important;
    padding: 5px 12px !important;
    margin-bottom: 10px !important;
  }
  .modern-hero-title {
    font-size: 23px !important;
    line-height: 1.15 !important;
    margin-bottom: 8px !important;
  }
  .modern-hero-subtitle {
    font-size: 12px !important;
    line-height: 1.4 !important;
    margin-bottom: 16px !important;
  }
  .modern-hero-cta {
    gap: 8px !important;
  }
  .modern-hero-cta .btn-primary-light,
  .modern-hero-cta .btn-secondary-blue {
    padding: 10px 10px !important;
    font-size: 12px !important;
    border-radius: 25px !important;
  }
  .hero-slide-operator {
    bottom: 10px !important;
    transform: translateX(-50%) scale(0.8) !important;
  }
}

@media (max-width: 360px) {
  .modern-hero-title {
    font-size: 20px !important;
  }
  .modern-hero-subtitle {
    font-size: 11px !important;
  }
  .modern-hero-cta .btn-primary-light,
  .modern-hero-cta .btn-secondary-blue {
    font-size: 11px !important;
    padding: 9px 8px !important;
  }
}

@media (max-width: 992px) {
  .inquiry-container {
    flex-direction: column;
    gap: 50px;
  }
  .inquiry-info, .inquiry-form {
    flex: none;
    width: 100%;
  }
}
@media (max-width: 768px) {
  .inquiry-section {
    padding: 60px 24px;
  }
  .inquiry-form {
    padding: 36px 24px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .inquiry-title {
    font-size: 36px;
  }
  .btn-submit {
    width: 100%;
    padding: 18px;
    min-height: 56px;
  }
}
@media (max-width: 480px) {
  .inquiry-title {
    font-size: 28px;
  }
}

/* ================================================
   RESPONSIVE: Footer for Tablet (max-width: 1024px)
   ================================================ */
@media (max-width: 1024px) {
  .footer-section {
    padding: 0 !important;
    background-color: #1B3A5C !important;
  }
  .main-footer {
    padding-top: 0 !important;
  }
  .footer-card {
    background-color: #1B3A5C !important;
    border-radius: 0 !important;
    border-top: 4px solid #B22234 !important;
    padding: 50px 32px 36px !important;
    box-shadow: none !important;
    max-width: 100% !important;
  }
  .footer-top {
    flex-direction: column !important;
    gap: 36px !important;
    margin-bottom: 36px !important;
  }
  .footer-brand {
    max-width: 100% !important;
  }
  .footer-nav {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
    width: 100% !important;
  }
  .footer-bottom {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }
}

/* ================================================
   RESPONSIVE: Footer for Mobile (max-width: 768px)
   ================================================ */
@media (max-width: 768px) {
  .footer-section {
    padding: 0 !important;
    background-color: #1B3A5C !important;
  }
  .footer-card {
    padding: 36px 20px 28px !important;
    border-radius: 0 !important;
    border-top: 4px solid #B22234 !important;
  }
  .footer-top {
    flex-direction: column !important;
    gap: 28px !important;
    margin-bottom: 28px !important;
  }
  .footer-brand {
    max-width: 100% !important;
  }
  .footer-logo img {
    height: 36px !important;
  }
  .brand-vision {
    font-size: 13.5px !important;
    line-height: 1.65 !important;
    color: rgba(255, 255, 255, 0.75) !important;
    margin-bottom: 18px !important;
  }
  .social-links {
    gap: 12px !important;
    margin-bottom: 0 !important;
  }
  .social-icon {
    width: 38px !important;
    height: 38px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
  }
  /* Footer nav: 2 columns on mobile */
  .footer-nav {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 24px 16px !important;
    width: 100% !important;
  }
  /* Contact column takes full width */
  .footer-nav-col:last-child {
    grid-column: 1 / -1 !important;
    border-top: 1px solid rgba(255,255,255,0.1) !important;
    padding-top: 20px !important;
    margin-top: 4px !important;
  }
  .footer-nav-col {
    gap: 8px !important;
  }
  .footer-nav-col h4 {
    font-family: 'Inter', sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    color: #B22234 !important;
    margin-bottom: 8px !important;
  }
  .footer-nav-col a {
    font-size: 13.5px !important;
    padding: 4px 0 !important;
    color: rgba(255, 255, 255, 0.85) !important;
    display: block !important;
  }
  .footer-nav-col p {
    font-size: 13px !important;
    line-height: 1.6 !important;
    padding: 2px 0 !important;
  }
  .footer-divider {
    height: 1px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    margin: 20px 0 16px !important;
  }
  .footer-bottom {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 12px !important;
  }
  .legal-links {
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    font-size: 12px !important;
  }
  .copyright {
    font-size: 12px !important;
    color: rgba(255, 255, 255, 0.5) !important;
    text-align: center !important;
  }
}

@media (max-width: 480px) {
  .footer-card {
    padding: 28px 16px 22px !important;
  }
  /* Single column nav on very small phones */
  .footer-nav {
    grid-template-columns: 1fr !important;
  }
  .footer-nav-col:last-child {
    grid-column: 1 !important;
  }
  .brand-vision {
    font-size: 13px !important;
  }
}

@media (max-width: 480px) {
  .projects-title {
    font-size: 32px;
  }
  .projects-section {
    padding: 60px 20px;
  }
  .filter-tabs {
    align-items: flex-start;
  }
  .filter-tabs li {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .why-us-section {
    padding: 50px 20px;
  }
  .why-us-title {
    font-size: 32px;
  }
  .why-card {
    padding: 20px 16px;
  }
}

/* ================================================
   RESPONSIVE: Home Page Services Section (All 6 Grids on Tablet & Mobile)
   ================================================ */
@media (max-width: 1024px) {
  .services-split-section {
    flex-direction: column;
    max-width: 100%;
    margin: 80px 24px;
    padding: 24px;
    gap: 30px;
  }
  .services-left-pane {
    width: 100%;
    padding: 40px 30px;
  }
  .services-right-pane {
    width: 100%;
  }
  .services-right-pane .grid-swiper {
    height: auto !important;
    overflow: visible !important;
  }
  .services-right-pane .grid-swiper .swiper-wrapper {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
    transform: none !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  .services-right-pane .grid-swiper .swiper-slide {
    position: relative !important;
    overflow: hidden !important;
    height: auto !important;
    min-height: 220px !important;
    width: 100% !important;
    margin: 0 !important;
    transform: none !important;
    box-sizing: border-box !important;
  }
  .custom-grid-card:hover::before,
  .custom-grid-card:active::before,
  .custom-grid-card:focus::before,
  .custom-grid-card:hover .cgc-overlay,
  .custom-grid-card:active .cgc-overlay,
  .custom-grid-card:focus .cgc-overlay {
    opacity: 1 !important;
    transform: scale(1) !important;
  }
  .custom-grid-card:hover .cgc-title,
  .custom-grid-card:active .cgc-title,
  .custom-grid-card:focus .cgc-title {
    color: #ffffff !important;
  }
  .custom-grid-card:hover .cgc-desc,
  .custom-grid-card:active .cgc-desc,
  .custom-grid-card:focus .cgc-desc {
    color: #dddddd !important;
  }
  .custom-grid-card:hover .cgc-icon svg,
  .custom-grid-card:active .cgc-icon svg,
  .custom-grid-card:focus .cgc-icon svg {
    fill: #ffffff !important;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5)) !important;
  }
}

@media (max-width: 640px) {
  .services-split-section {
    margin: 60px 16px;
    padding: 16px;
    gap: 20px;
  }
  .services-left-pane {
    padding: 30px 20px;
  }
  .sl-title {
    font-size: 26px !important;
  }
  .sl-desc {
    font-size: 14px !important;
    margin-bottom: 25px;
  }
  .services-right-pane .grid-swiper .swiper-wrapper {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .services-right-pane .grid-swiper .swiper-slide {
    min-height: 190px !important;
  }
}

/* ================================================
   RESPONSIVE: Top Social Proof Bar (Single Row Strictly)
   ================================================ */
@media (max-width: 1024px) {
  .top-bar {
    height: 34px !important;
    gap: 16px !important;
    font-size: 11px !important;
    padding: 0 16px !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    overflow: hidden !important;
      white-space: nowrap; overflow: hidden; }
}

@media (max-width: 768px) {
  .top-bar {
    left: 0 !important;
    width: 100% !important;
    height: 32px !important;
    padding: 0 10px !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
      white-space: nowrap; overflow: hidden; }
  /* Hide non-contact items on tablet/mobile so only the number/contact shows in 1 clean row */
  .top-bar-divider.hide-on-mobile { display: none !important; }
  .top-bar-item:last-child {
    font-size: 11px !important;
    white-space: nowrap !important;
    letter-spacing: -0.2px !important;
  }
  
  /* Navbar Mobile Layout (Flush Edge-to-Edge, Zero Side Gaps, -2px Mobile Height) */
  .navbar-slide2 {
    top: 32px !important; /* Flush under 32px top bar */
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    transform: none !important;
    padding: 4px 16px !important; /* -2px height for mobile */
    min-height: auto !important;
    box-sizing: border-box !important;
    border-radius: 0 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }
  .navbar-slide2.revealed {
    transform: none !important;
  }
  .navbar-slide2.nav-hidden {
    transform: translateY(-96px) !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  }
  .navbar-slide2 .nav-logo-symbol {
    height: 26px !important;
  }
  .navbar-slide2 .nav-logo-text {
    height: 24px !important;
  }
  
  /* Hero section sticky offset adjustment for 32px top bar height */
  .hero-sticky-wrapper {
    top: 32px !important;
    height: calc(100vh - 32px) !important;
  }
}

/* ================================================
   RESPONSIVE: Testimonial Section ("What Our Clients Say")
   ================================================ */
@media (max-width: 1024px) {
  .testimonial-section {
    padding: 50px 0 !important;
  }
  .testimonial-section .section-title {
    font-size: 26px !important;
    margin-bottom: 0 !important;
  }
  .marquee-wrapper {
    margin-top: 30px !important;
    gap: 16px !important;
  }
  .marquee-row {
    gap: 16px !important;
  }
  .review-box {
    padding: 10px 24px !important;
    font-size: 13px !important;
    border-radius: 30px !important;
  }
}

@media (max-width: 768px) {
  .testimonial-section {
    padding: 35px 0 !important;
  }
  .testimonial-section .section-title {
    font-size: 22px !important;
  }
  .marquee-wrapper {
    margin-top: 20px !important;
    gap: 12px !important;
  }
  .marquee-row {
    gap: 12px !important;
  }
  .review-box {
    padding: 8px 16px !important;
    font-size: 11.5px !important;
    border-radius: 20px !important;
    border: 1px solid rgba(0,0,0,0.08) !important;
  }
}

/* Google Translate specific styling to hide widget and maintain layout */
.goog-te-banner-frame.skiptranslate, .goog-te-gadget-icon, #goog-translate-element { display: none !important; }
body { top: 0px !important; }
#goog-gt-tt { display: none !important; }
.goog-tooltip { display: none !important; }
.goog-tooltip:hover { display: none !important; }
.goog-text-highlight { background-color: transparent !important; border: none !important; box-shadow: none !important; }

/* Keep document LTR structural direction to prevent layout breaking */
html.translated-rtl {
    direction: ltr !important;
}

/* Force Arabic text to be right-aligned but keep blocks where they are */
html.translated-rtl p, html.translated-rtl h1, html.translated-rtl h2, html.translated-rtl h3, html.translated-rtl h4, html.translated-rtl h5, html.translated-rtl h6, html.translated-rtl li, html.translated-rtl span, html.translated-rtl div {
    font-family: 'Inter', sans-serif !important;
}

/* Responsive language toggle visibility */
@media (min-width: 1101px) {
    .mobile-lang-item {
        display: none !important;
    }
}
@media (max-width: 1100px) {
    .nav-actions .lang-toggle {
        display: none !important;
    }
}
@media (max-width: 1100px) { .hide-on-mobile { display: none !important; } }




/* Service Subpage Specific CSS */
.svc-hero {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    margin-top: 110px;           /* offset for fixed top-bar + navbar so hero starts after navbar */
    padding: 60px 0;
}
@media (max-width: 1024px) {
    .svc-hero {
        margin-top: 100px;
        min-height: 70vh;
    }
}
@media (max-width: 768px) {
    .svc-hero {
        margin-top: 92px;
        min-height: 65vh;
        padding: 40px 0;
    }
}
@media (max-width: 480px) {
    .svc-hero {
        margin-top: 86px;
        min-height: 60vh;
        padding: 30px 0;
    }
}
.svc-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(27,58,92,0.82) 0%, rgba(0,0,0,0.55) 100%);
    z-index: 1;
}
.svc-hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 860px;
    padding: 0 24px;
}
.svc-hero-content h1 {
    color: #ffffff !important;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.svc-hero-content p {
    color: rgba(255,255,255,0.92) !important;
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    margin-bottom: 28px;
}
.svc-breadcrumb {
    color: rgba(255,255,255,0.75) !important;
    font-size: 0.875rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.svc-breadcrumb a {
    color: rgba(255,255,255,0.75) !important;
    text-decoration: none;
}
.svc-breadcrumb a:hover { color: #fff !important; }

.svc-hero-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 8px;
}
.svc-hero-btns .btn-primary {
    background: #B22234;
    color: #fff;
    padding: 16px 36px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    display: inline-block;
    box-shadow: 0 4px 18px rgba(178,34,52,0.35);
}
.svc-hero-btns .btn-primary:hover {
    background: #8b1a27;
    transform: translateY(-2px);
}
.svc-hero-btns .btn-secondary {
    background: transparent;
    color: #fff;
    padding: 15px 36px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid rgba(255,255,255,0.7);
    display: inline-block;
    transition: border-color 0.3s, background 0.3s;
}
.svc-hero-btns .btn-secondary:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.1);
}

.svc-overview {
    display: flex;
    gap: 50px;
    padding: 80px 5%;
    max-width: 1300px;
    margin: 0 auto;
    align-items: center;
    background: #fff;
    font-family: 'Inter', sans-serif;
}
.svc-overview-left {
    flex: 1;
}
.svc-overview-left h2 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    line-height: 1.25;
    color: #1B3A5C;
    margin-bottom: 20px;
}
.svc-overview-left p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.65;
    margin-bottom: 14px;
}
.svc-overview-list {
    list-style: none;
    padding: 0;
    margin-top: 22px;
}
.svc-overview-list li {
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.svc-overview-list li i {
    color: #B22234;
}
.svc-overview-right {
    flex: 1;
}
.svc-overview-img-container {
    position: relative;
}
.svc-overview-img-container img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}
.svc-overview-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: #1B3A5C;
    color: #fff;
    padding: 20px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(27, 58, 92, 0.3);
}
.svc-overview-badge span {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
}
.svc-overview-badge small {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.svc-expertise-grid {
    background: #1B3A5C;
    padding: 80px 5%;
}
.svc-expertise-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.svc-expertise-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 40px 30px;
    border-radius: 12px;
    color: #fff;
    transition: 0.3s;
    font-family: 'Inter', sans-serif;
}
.svc-expertise-card:hover {
    background: rgba(255,255,255,0.1);
    border-color: #B22234;
    transform: translateY(-5px);
}
.svc-expertise-card i {
    font-size: 2.5rem;
    color: #B22234;
    margin-bottom: 20px;
}
.svc-expertise-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 15px;
}
.svc-expertise-card p {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.6;
}

.svc-process {
    background: #f9f9f9;
    padding: 80px 5%;
}
.svc-process-container {
    max-width: 1200px;
    margin: 0 auto;
}
.svc-process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}
.svc-process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    height: 3px;
    background: #ddd;
    z-index: 0;
}
.svc-process-step {
    position: relative;
    z-index: 1;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.svc-process-icon {
    width: 80px;
    height: 80px;
    background: #fff;
    border: 3px solid #B22234;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(178,34,52,0.15);
}
.svc-process-step h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    color: #1B3A5C;
}

.svc-cta {
    background: linear-gradient(135deg, #1B3A5C 0%, #0d2240 100%);
    padding: 80px 24px;
    text-align: center;
    color: #fff;
}
.svc-cta h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
}
.svc-cta p {
    color: rgba(255,255,255,0.85);
    font-size: 1.125rem;
    margin-bottom: 36px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}
.svc-cta .btn-cta {
    display: inline-block;
    background: #B22234;
    color: #fff;
    padding: 18px 48px;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 24px rgba(178,34,52,0.4);
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
    letter-spacing: 0.3px;
}
.svc-cta .btn-cta:hover {
    background: #8b1a27;
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(178,34,52,0.5);
}

/* Responsive Overrides */
@media (max-width: 992px) {
    .svc-overview {
        flex-direction: column;
    }
    .svc-expertise-container {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .svc-hero { min-height: 60vh; }
    .svc-hero-btns { flex-direction: column; align-items: center; }
    .svc-hero-btns .btn-primary, .svc-hero-btns .btn-secondary { width: 100%; max-width: 280px; text-align: center; }
    
    .svc-hero-content h1 {
        font-size: 1.85rem;
    }
    .svc-overview-left h2 {
        font-size: 1.85rem;
        line-height: 1.25;
        margin-bottom: 16px;
    }
    .svc-overview-left p,
    .svc-overview-list li {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    .svc-process-steps {
        flex-direction: column;
        gap: 30px;
    }
    .svc-process-steps::before {
        display: none;
    }
    .svc-cta h2 {
        font-size: 1.6rem;
    }
}
@media (max-width: 480px) {
    .svc-hero-content h1 {
        font-size: 1.55rem;
    }
    .svc-overview-left h2 {
        font-size: 1.65rem;
        line-height: 1.25;
    }
    .svc-overview-left p,
    .svc-overview-list li {
        font-size: 0.875rem;
        line-height: 1.55;
    }
    .svc-expertise-container {
        grid-template-columns: 1fr;
    }
    .svc-cta h2 {
        font-size: 1.4rem;
    }
}


/* Global Headings Formatting */
h1, h2, h3, h4, h5, h6, .section-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}


/* Balanced heading wrapping - prevents orphan words on single lines */
h1, h2, h3, h4, h5, h6 {
    text-wrap: balance;
}

/* Projects Page Grid */
.projects-grid-page {
    padding: 80px 5%;
    background: #f8f9fa;
}
.proj-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}
.proj-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}
.proj-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}
.proj-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #1B3A5C;
    color: #fff;
    padding: 6px 15px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    z-index: 10;
    text-transform: uppercase;
}
.proj-img-wrap {
    width: 100%;
    height: 250px;
    overflow: hidden;
    cursor: pointer;
}
.proj-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.proj-card:hover .proj-img-wrap img {
    transform: scale(1.08);
}
.proj-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.proj-type {
    color: #B22234;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
    text-transform: uppercase;
}
.proj-content h3 {
    font-size: 22px;
    color: #1B3A5C;
    margin-bottom: 15px;
    font-weight: 800;
}
.proj-loc {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.proj-content p {
    color: #555;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}
.proj-btn {
    background: transparent;
    border: 2px solid #1B3A5C;
    color: #1B3A5C;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}
.proj-btn:hover {
    background: #1B3A5C;
    color: #fff;
}


/* Lightbox Corrected Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}
.lb-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.lb-img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.lb-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.3s;
}
.lb-close:hover {
    color: #B22234;
}
.lb-prev, .lb-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    z-index: 10000;
    opacity: 0.7;
    transition: opacity 0.3s, color 0.3s;
    padding: 20px;
}
.lb-prev:hover, .lb-next:hover {
    opacity: 1;
    color: #B22234;
}
.lb-prev { left: -60px; }
.lb-next { right: -60px; }
.lb-counter {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 16px;
    letter-spacing: 2px;
}

@media (max-width: 768px) {
    .lb-prev { left: 10px; }
    .lb-next { right: 10px; }
}

/* Highlights Section */
.highlights-section {
    padding: 80px 5%;
}
.highlight-row {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto 80px;
}
.highlight-row.reverse {
    flex-direction: row-reverse;
}
.hl-img img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}
.hl-text .subtitle {
    color: #B22234;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}
.hl-text h3 {
    font-size: 32px;
    color: #1B3A5C;
    margin-bottom: 20px;
}
.hl-text p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
    font-size: 16px;
}
.hl-specs {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.hl-specs li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1B3A5C;
    font-weight: 600;
    font-size: 14px;
}
.hl-specs i {
    color: #B22234;
    font-size: 18px;
}

@media (max-width: 900px) {
    .highlight-row, .highlight-row.reverse {
        flex-direction: column;
        gap: 30px;
    }
    .hl-specs {
        grid-template-columns: 1fr;
    }
}

/* Timeline Process */
.process-section {
    padding: 100px 5%;
    background: #fff;
}
.timeline-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.timeline-item {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    position: relative;
    border-top: 4px solid #1B3A5C;
    transition: transform 0.3s ease;
}
.timeline-item:hover {
    transform: translateY(-5px);
    border-top-color: #B22234;
}
.timeline-step-num {
    font-size: 40px;
    font-weight: 800;
    color: rgba(27,58,92,0.1);
    position: absolute;
    top: 20px;
    right: 20px;
}
.timeline-content h4 {
    font-size: 20px;
    color: #1B3A5C;
    margin-bottom: 15px;
    margin-top: 10px;
}
.timeline-content p {
    color: #666;
    line-height: 1.5;
    font-size: 15px;
}

@media (max-width: 900px) {
    .timeline-container {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 500px) {
    .timeline-container {
        grid-template-columns: 1fr;
    }
}

/* CTA Dark Banner */
.cta-dark-banner {
    background: #1B3A5C;
    color: white;
    text-align: center;
    padding: 80px 5%;
}
.cta-dark-banner h2 {
    font-size: 36px;
    margin-bottom: 20px;
}
.cta-dark-banner p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.6;
}
.cta-dark-banner .btn-cta {
    display: inline-block;
    background: #B22234;
    color: white;
    padding: 15px 35px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 6px;
    transition: background 0.3s;
}
.cta-dark-banner .btn-cta:hover {
    background: #8b1827;
}

/* Fix for section headers lacking the .section-title class */
.section-header h2 {
    font-size: 48px;
    color: #000000;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
}
@media (max-width: 768px) {
    .section-header h2 {
        font-size: 36px;
    }
}

/* Mobile fix for section headers */
@media (max-width: 900px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

/* Mobile and Tablet Heading Size Reduction for Projects Page */
@media (max-width: 900px) {
    .section-header h2 {
        font-size: 30px !important;
    }
    .hl-text h3 {
        font-size: 26px !important;
    }
    .cta-dark-banner h2 {
        font-size: 28px !important;
    }
    .proj-content h3 {
        font-size: 20px !important;
    }
}

@media (max-width: 500px) {
    .section-header h2 {
        font-size: 26px !important;
    }
    .hl-text h3 {
        font-size: 22px !important;
    }
    .cta-dark-banner h2 {
        font-size: 24px !important;
    }
    .proj-content h3 {
        font-size: 18px !important;
    }
}

/* Hide Google Translate Top Banner */
.skiptranslate { display: none !important; }
body { top: 0px !important; }

/* Arabic Top Bar Scaling */
html.translated-rtl .top-bar { gap: 10px !important; }
html.translated-rtl .top-bar-item, html.translated-rtl .top-bar-item font, html.translated-rtl .top-bar-item a, html.translated-rtl .top-bar-item a font { font-size: 11px !important; letter-spacing: -0.2px !important; }
@media (max-width: 1024px) {
    html.translated-rtl .top-bar { gap: 6px !important; padding: 0 10px !important; }
    html.translated-rtl .top-bar-item, html.translated-rtl .top-bar-item font, html.translated-rtl .top-bar-item a, html.translated-rtl .top-bar-item a font { font-size: 9px !important; }
}


/* Footer Fixes */
.footer-logo { background-color: #ffffff; padding: 12px 18px; border-radius: 8px; display: inline-flex !important; }
.footer-nav-col a { white-space: nowrap; }


/* Force Contact Us rows */
.footer-nav-col p { white-space: nowrap; }
.footer-nav { gap: 60px; justify-content: flex-end; }


.mobile-nav-menu { visibility: hidden; pointer-events: none; }


@media (max-width: 768px) {
    .projects-grid-page {
        padding: 40px 2px !important;
    }
    .proj-grid-container {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}


/* Google Translate Overrides */
body {
    top: 0 !important;
}
.skiptranslate iframe {
    display: none !important;
}
#goog-gt-tt {
    display: none !important;
}
.goog-te-combo {
    display: none !important;
}
