@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
    --primary-blue: #0A2540;
    --accent-gray: #F59E0B;
    --light-gray: #F6F7FB;
    --dark-gray: #0F172A;
    --white: #FFFFFF;
    --transition-speed: 0.3s;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark-gray);
    background-color: var(--light-gray);
    overflow-x: hidden;
}

.text-muted {
    color: rgba(15, 23, 42, 0.72) !important;
}

.text-accent {
    color: var(--accent-gray) !important;
}

.border-accent {
    border-color: var(--accent-gray) !important;
}

.bg-primary-blue {
    background-color: var(--primary-blue) !important;
}

.letter-spacing-1 {
    letter-spacing: 1px;
}

h1, h2, h3, h4, h5, h6, .brand-font {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

h1 { font-size: 1.85rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.2rem; }
h5 { font-size: 1.05rem; }
h6 { font-size: 0.9rem; }

/* Navbar */
.navbar-custom {
    background-color: transparent;
    transition: background-color var(--transition-speed) ease, padding var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    padding: 25px 0;
}

.navbar-custom.scrolled {
    background-color: var(--white);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 15px 0;
}

.navbar-custom .navbar-brand {
    color: var(--white);
    font-weight: 800;
    font-size: 2rem;
    letter-spacing: 1px;
}

.navbar-custom.scrolled .navbar-brand,
.navbar-custom.scrolled .navbar-nav .nav-link,
.navbar-custom.scrolled .navbar-toggler i,
.navbar-custom.scrolled .search-icon {
    color: var(--primary-blue) !important;
}

.search-icon {
    transition: color var(--transition-speed) ease;
}

.btn-nav-cta {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    font-weight: 600;
    padding: 10px 24px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: all var(--transition-speed) ease;
    border-radius: 12px;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
}

.btn-nav-cta:hover {
    background-color: var(--white);
    color: var(--primary-blue);
}

.navbar-custom.scrolled .btn-nav-cta {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.navbar-custom.scrolled .btn-nav-cta:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

.navbar-custom .nav-link {
    color: var(--white);
    font-weight: 600;
    margin-left: 20px;
    position: relative;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

@media (max-width: 991.98px) {
    .navbar-custom {
        background-color: var(--primary-blue);
        padding: 15px 0;
    }
    .navbar-custom .nav-link {
        margin-left: 0;
        padding: 10px 0;
    }
}

.navbar-custom .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-gray);
    transition: width var(--transition-speed) ease;
}

.navbar-custom .nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 780px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

.hero-overlay {
    position: absolute;
    top: 0; bottom: 0; left: 0; right: 0;
    background: linear-gradient(90deg, rgba(10,37,64,0.9) 0%, rgba(10,37,64,0.55) 50%, rgba(10,37,64,0.25) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content-pad {
    padding-top: clamp(110px, 18vh, 200px);
}

.custom-hero-indicators button {
    width: 40px !important;
    height: 3px !important;
    background-color: var(--white) !important;
    opacity: 0.3 !important;
    border: none !important;
    margin-right: 10px !important;
    transition: opacity 0.3s ease, transform 0.3s ease !important;
}
.custom-hero-indicators button.active {
    opacity: 1 !important;
    background-color: var(--accent-gray) !important;
}

.custom-hero-indicators-dark button {
    width: 40px !important;
    height: 3px !important;
    background-color: var(--primary-blue) !important;
    opacity: 0.2 !important;
    border: none !important;
    margin-right: 10px !important;
    transition: opacity 0.3s ease, transform 0.3s ease !important;
}
.custom-hero-indicators-dark button.active {
    opacity: 1 !important;
    background-color: var(--primary-blue) !important;
}

.hero-label {
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    padding-left: 60px;
    position: relative;
    color: var(--white);
}

.hero-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--accent-gray);
}

.hero-title {
    font-size: clamp(1.65rem, 2.5vw + 0.7rem, 2.75rem);
    line-height: 1.2;
    margin-bottom: 25px;
    letter-spacing: -0.04em;
    text-wrap: balance;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 0.55vw + 0.95rem, 1.25rem);
    font-weight: 400;
    margin-bottom: 45px;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 52rem;
    text-wrap: pretty;
}

.hero-carousel {
    border-radius: 18px;
    overflow: hidden;
    background-color: var(--white);
    border: 1px solid rgba(15, 23, 42, 0.1);
}

.hero-carousel-media {
    height: clamp(190px, 22vw, 235px);
}

.hero-carousel-img {
    object-fit: cover;
}

.hero-card-kicker {
    font-size: 0.78rem;
    color: var(--accent-gray);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 800;
    white-space: nowrap;
}

.hero-card-title {
    font-size: clamp(1.1rem, 0.7vw + 0.9rem, 1.35rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.hero-card-text {
    font-size: 0.98rem;
    line-height: 1.65;
}

.hero-card-link {
    color: var(--primary-blue);
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-decoration: none;
    white-space: nowrap;
}

.hero-card-link:hover {
    color: var(--primary-blue);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.hero-carousel-controls {
    background-color: var(--white);
}

.carousel-indicators.custom-hero-indicators-dark.position-static {
    gap: 6px;
}

.hero-carousel-control {
    color: var(--primary-blue);
    background: transparent;
}

.hero-carousel-control i {
    font-size: 1.1rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 1.5rem;
    z-index: 2;
    text-decoration: none;
    animation: bounce 2s infinite;
}

.scroll-indicator:hover {
    color: var(--white);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-20px) translateX(-50%); }
    60% { transform: translateY(-10px) translateX(-50%); }
}

.animate-fade {
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.9s; }


.btn-primary-custom {
    background-color: var(--accent-gray);
    color: var(--white);
    font-weight: 600;
    padding: 16px 40px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition-speed) ease;
    border: none;
    display: inline-block;
    text-align: center;
    animation: fadeInUp 1s ease 0.4s both;
    white-space: nowrap;
}

.btn-primary-custom:hover {
    background-color: var(--white);
    color: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.btn-outline-custom {
    border: 2px solid var(--white);
    color: var(--white);
    font-weight: 600;
    padding: 14px 40px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition-speed) ease;
    background: transparent;
    display: inline-block;
    text-align: center;
    animation: fadeInUp 1s ease 0.6s both;
    white-space: nowrap;
}

.btn-outline-custom:hover {
    background-color: var(--white);
    color: var(--primary-blue);
    transform: translateY(-3px);
}

.btn-outline-dark-custom {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    font-weight: 600;
    padding: 14px 40px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition-speed) ease;
    background: transparent;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
}

.btn-outline-dark-custom:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

/* Sections */
.section-padding {
    padding: clamp(96px, 10vw, 140px) 0;
}

.section-title {
    font-size: clamp(1.35rem, 1.5vw + 0.7rem, 2rem);
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 1.2;
    text-wrap: balance;
}

.section-subtitle {
    font-size: clamp(1.05rem, 0.55vw + 0.95rem, 1.2rem);
    color: rgba(15, 23, 42, 0.8);
    margin-bottom: 60px;
    line-height: 1.6;
    max-width: 800px;
    text-wrap: pretty;
}

/* Cards */
.card-custom {
    border: none;
    border-radius: 18px;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    height: 100%;
}

.card-custom:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

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

.card-img-wrapper img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.image-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(10, 37, 64, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.image-overlay i {
    color: var(--white);
    font-size: 2rem;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.card-custom:hover .image-overlay {
    opacity: 1;
}

.card-custom:hover .image-overlay i {
    transform: translateY(0);
}

.card-custom .card-body {
    padding: 40px 30px;
}

.card-custom .card-title {
    font-size: 1.25rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-weight: 700;
}

.card-custom .card-text {
    color: #666;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.read-more {
    color: var(--accent-gray);
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.read-more i {
    margin-left: 8px;
    transition: margin-left 0.2s ease;
}

.read-more:hover {
    color: var(--primary-blue);
}

.read-more:hover i {
    margin-left: 12px;
}

/* Overlapping Features */
.features-overlap {
    margin-top: -120px;
    position: relative;
    z-index: 10;
}

@media (max-width: 991px) {
    .features-overlap {
        margin-top: 0;
        padding-top: 60px;
    }
}

/* Featured Projects */
.project-card-custom {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
}

.project-img-wrapper {
    position: relative;
    height: 480px;
    background: #000;
}

.project-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.project-overlay-custom {
    position: absolute;
    bottom: 0; left: 0; right: 0; top: 0;
    background: linear-gradient(to top, rgba(10,37,64,0.95) 0%, rgba(10,37,64,0.1) 60%, rgba(0,0,0,0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    transition: background 0.4s ease;
}

.project-location {
    font-size: 0.85rem;
    color: var(--accent-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 15px;
    display: block;
    white-space: nowrap;
}

.project-title {
    color: var(--white);
    font-size: 1.55rem;
    margin-bottom: 0;
    transition: transform 0.4s ease;
}

.project-desc {
    color: rgba(255,255,255,0.85);
    font-size: 1rem;
    line-height: 1.6;
    margin-top: 15px;
    margin-bottom: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    max-height: 0;
    overflow: hidden;
}

.project-card-custom:hover img {
    transform: scale(1.08);
    opacity: 0.8;
}

.project-card-custom:hover .project-desc {
    opacity: 1;
    transform: translateY(0);
    max-height: 150px;
}

.project-card-custom:hover .project-title {
    transform: translateY(-5px);
}

/* Markets Intro Section */
.markets-intro-section {
    position: relative;
    background: url('https://images.unsplash.com/photo-1574320397557-41444d47c45c?auto=format&fit=crop&w=1920&q=80') center center/cover fixed no-repeat;
    color: var(--white);
    padding: 160px 0;
}

.markets-intro-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(10, 37, 64, 0.85);
    z-index: 1;
}

.z-index-2 {
    z-index: 2;
}

/* Markets Grid */
.market-item {
    position: relative;
    overflow: hidden;
    height: 400px;
    display: block;
}

.market-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.market-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0; top: 0;
    background: linear-gradient(to top, rgba(10,37,64,0.95) 0%, rgba(10,37,64,0.4) 50%, rgba(0,0,0,0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    color: var(--white);
    transition: background 0.4s ease;
}

.market-item:hover img {
    transform: scale(1.08);
}

.market-item:hover .market-overlay {
    background: rgba(10,37,64,0.8);
    justify-content: center;
    align-items: center;
    text-align: center;
}

.market-title {
    font-size: 1.55rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.market-item:hover .market-title {
    transform: translateY(-10px);
    transition: transform 0.4s ease;
}

/* Approach & Services */
.bg-light-gray {
    background-color: var(--light-gray);
}
.bg-white {
    background-color: var(--white);
}

.service-icon {
    font-size: 3rem;
    color: var(--accent-gray);
    margin-bottom: 25px;
    display: inline-block;
}

/* Footer */
.footer {
    background-color: #061626;
    color: var(--white);
    padding: 100px 0 40px;
}

.footer-logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 2.2rem;
    color: var(--white);
    text-decoration: none;
    margin-bottom: 25px;
    display: inline-block;
}

.footer-logo:hover {
    color: var(--white);
}

.footer-text {
    color: rgba(255,255,255,0.65);
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 80px;
    padding-top: 40px;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

/* Custom Scrollbar for Horizontal Scroll */
.custom-scrollbar::-webkit-scrollbar {
    height: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: var(--light-gray);
    border-radius: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 4px;
}
.custom-scrollbar {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-blue) var(--light-gray);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* Logo Slider - Premium Infinite Scroll */
.logo-slider {
    overflow: hidden;
    padding: 30px 0;
    background: #ffffff;
    white-space: nowrap;
    position: relative;
}

/* Edge Fade Effect */
.logo-slider::before,
.logo-slider::after {
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    content: "";
    z-index: 5;
}

.logo-slider::before {
    left: 0;
    background: linear-gradient(to right, #ffffff, rgba(255, 255, 255, 0));
}

.logo-slider::after {
    right: 0;
    background: linear-gradient(to left, #ffffff, rgba(255, 255, 255, 0));
}

.logo-track {
    display: flex;
    width: max-content;
    animation: scroll 40s linear infinite;
}

.logo-slider:hover .logo-track {
    animation-play-state: paused;
}

.logo-track img {
    max-width: none;
    height: 80px;
    width: 180px;
    object-fit: contain;
    margin: 0 20px;
    background: white;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.logo-track img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}


@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .logo-track img {
        height: 65px;
        width: 110px;
        margin: 0 20px;
    }
    .logo-slider::before,
    .logo-slider::after {
        width: 100px;
    }
}



