:root {
    --primary: #0052cc;
    --primary-light: #e8f1ff;
    --dark: #1a1d23;
    --gray-100: #f7f9fc;
    --gray-300: #dbe1eb;
    --gray-600: #6b7280;
}

body {
    font-family: "Poppins", sans-serif;
    color: var(--dark);
    background-color: #ffffff;
    scroll-behavior: smooth;
}

.top-bar {
    background: linear-gradient(90deg, var(--primary), #003da5);
}

.navbar-brand {
    letter-spacing: 0.04em;
    gap: 0.4rem;
}

.navbar-brand .brand-logo-wrapper {
    display: inline-flex;
    align-items: center;
}

.navbar-brand .brand-logo {
    height: 80px;
    width: auto;
}

@media (max-width: 575.98px) {
    .navbar-brand .brand-logo {
        height: 80px;
    }
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--dark);
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary);
}

.hero {
    position: relative;
}

.hero-slide {
    min-height: 70vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7rem 0;
}

.overlay-dark {
    position: relative;
}

.overlay-dark::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.overlay-dark .container {
    position: relative;
    z-index: 1;
}

.section-eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    color: var(--primary);
    background-color: var(--primary-light);
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-weight: 600;
}

.section-title {
    font-weight: 700;
    color: var(--dark);
}

.feature-box {
    padding: 1rem 1.25rem;
    border-radius: 1rem;
    background: var(--gray-100);
    border: 1px solid var(--gray-300);
    text-align: center;
}

.badge.bg-primary-soft {
    background-color: var(--primary-light);
    color: var(--primary);
    font-weight: 600;
}

.project-card img {
    height: 220px;
    object-fit: contain;
}

.project-card .card-body {
    padding: 1.5rem;
}

.project-carousel {
    position: relative;
}

.project-carousel .item {
    padding: 0.75rem;
}

.project-carousel .card {
    border-radius: 1.2rem;
    overflow: hidden;
}

.project-carousel .owl-nav {
    position: absolute;
    top: -70px;
    right: 0;
    display: flex;
    gap: 0.5rem;
}

.project-carousel .owl-nav button {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff !important;
    color: var(--primary) !important;
    box-shadow: 0 12px 25px -18px rgba(12, 32, 88, 0.55);
    border: 1px solid rgba(12, 32, 88, 0.07);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.project-carousel .owl-nav button:hover {
    background: var(--primary) !important;
    color: #fff !important;
}

.project-carousel .owl-nav button span {
    font-size: 1.5rem;
    line-height: 1;
}

.project-carousel .owl-dots {
    margin-top: 1.5rem;
}

.project-carousel .owl-dot span {
    width: 10px;
    height: 10px;
    background: rgba(12, 32, 88, 0.2);
    transition: transform 0.3s ease;
}

.project-carousel .owl-dot.active span {
    background: var(--primary);
    transform: scale(1.2);
}

.contact-section .contact-card {
    padding: 1.2rem 1.5rem;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 1rem;
    text-align: center;
    min-width: 200px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.contact-section .card {
    border-radius: 1.5rem;
}

.footer {
    background: #0b1220;
}

.back-to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 46px;
    height: 46px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 1.5rem 2rem -1.5rem rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1030;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.page-hero {
    position: relative;
    min-height: 340px;
    display: flex;
    align-items: center;
    color: #fff;
    background-size: cover;
    background-position: center;
    padding: 5rem 0;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(10, 14, 24, 0.72);
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.breadcrumb-nav {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
    font-size: 0.85rem;
}

.breadcrumb-nav a {
    color: #fff;
    text-decoration: none;
}

.breadcrumb-nav .separator {
    opacity: 0.5;
}

.page-section-header {
    max-width: 720px;
    margin-bottom: 2.5rem;
}

.page-section-header p {
    color: var(--gray-600);
}

.timeline {
    position: relative;
    padding-left: 1.5rem;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 0.4rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary) 0%, rgba(0, 82, 204, 0.1) 100%);
}

.timeline-item {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 2.5rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -0.1rem;
    top: 0.3rem;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 6px rgba(0, 82, 204, 0.15);
}

.value-card {
    border-radius: 1.25rem;
    padding: 2rem 1.75rem;
    background: #fff;
    box-shadow: 0px 22px 45px -30px rgba(12, 32, 88, 0.35);
    border: 1px solid rgba(12, 32, 88, 0.08);
    height: 100%;
}

.value-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.stat-card {
    padding: 1.5rem;
    border-radius: 1.25rem;
    background: var(--primary);
    color: #fff;
    box-shadow: 0 20px 40px -25px rgba(0, 82, 204, 0.8);
}

.project-filter {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.project-filter .btn {
    border-radius: 999px;
    padding: 0.55rem 1.35rem;
    font-weight: 500;
}

.project-grid .card {
    border: none;
    border-radius: 1.2rem;
    overflow: hidden;
    box-shadow: 0 15px 35px -25px rgba(12, 32, 88, 0.45);
    height: 100%;
}

.project-grid .card-img-top {
    height: 220px;
    object-fit: contain;
}

.project-grid .card-body {
    padding: 1.75rem;
}

.project-grid .meta {
    font-size: 0.85rem;
    color: var(--gray-600);
}

.project-grid .card-footer {
    background: transparent;
    border-top: none;
    padding: 0 1.75rem 1.75rem;
}

.project-grid .card-footer .btn {
    border-radius: 999px;
    font-weight: 500;
}

.project-highlight {
    padding: 3rem;
    border-radius: 1.5rem;
    background: linear-gradient(135deg, rgba(0, 82, 204, 0.1), rgba(0, 82, 204, 0.03));
    border: 1px solid rgba(0, 82, 204, 0.12);
}

.blog-card {
    border: none;
    border-radius: 1.2rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    box-shadow: 0 18px 35px -28px rgba(12, 32, 88, 0.5);
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 45px -30px rgba(12, 32, 88, 0.6);
}

.blog-card img {
    height: 220px;
    object-fit: cover;
}

.blog-card .card-body {
    padding: 1.75rem;
}

.blog-card .post-meta {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--primary);
    font-weight: 600;
}

.blog-card .card-title a {
    text-decoration: none;
    color: inherit;
}

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

.sidebar-card {
    border-radius: 1.2rem;
    border: 1px solid rgba(12, 32, 88, 0.08);
    background: #fff;
    box-shadow: 0 20px 45px -30px rgba(12, 32, 88, 0.4);
    padding: 1.75rem;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-list .badge {
    font-weight: 500;
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
    background: var(--primary-light);
    color: var(--primary);
}

.contact-info-card {
    padding: 2rem;
    border-radius: 1.5rem;
    background: #fff;
    border: 1px solid rgba(12, 32, 88, 0.1);
    box-shadow: 0 18px 40px -28px rgba(12, 32, 88, 0.45);
}

.contact-info-card i {
    color: var(--primary);
    font-size: 1.6rem;
    margin-right: 1rem;
}

.map-wrapper {
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 18px 40px -30px rgba(12, 32, 88, 0.5);
    border: 1px solid rgba(12, 32, 88, 0.1);
}

.map-wrapper iframe {
    width: 100%;
    height: 360px;
    border: 0;
}

.project-summary {
    border-radius: 1.5rem;
    background: #fff;
    box-shadow: 0 25px 60px -40px rgba(12, 32, 88, 0.4);
    border: 1px solid rgba(12, 32, 88, 0.08);
    padding: 2rem;
}

.project-summary h5 {
    font-weight: 600;
}

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

.info-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(12, 32, 88, 0.08);
}

.info-list li:last-child {
    border-bottom: none;
}

.info-list i {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 0.2rem;
}

.spec-card {
    border-radius: 1.25rem;
    border: 1px solid rgba(12, 32, 88, 0.1);
    padding: 1.75rem;
    background: #fff;
    box-shadow: 0 20px 50px -40px rgba(12, 32, 88, 0.45);
    height: 100%;
}

.spec-card h6 {
    font-weight: 600;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.gallery-grid img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 18px 38px -28px rgba(12, 32, 88, 0.5);
}

.project-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.project-gallery-main {
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 25px 60px -45px rgba(12, 32, 88, 0.6);
    position: relative;
}

.project-gallery-main img {
    width: 100%;
    height: 440px;
    object-fit: contain;
}

.project-gallery-main .gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: rgba(10, 14, 24, 0.65);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
    z-index: 2;
}

.project-gallery-main .gallery-nav:hover {
    background: rgba(0, 82, 204, 0.8);
}

.project-gallery-main .gallery-nav.prev {
    left: 1rem;
}

.project-gallery-main .gallery-nav.next {
    right: 1rem;
}

.project-gallery-main .gallery-nav i {
    font-size: 1.25rem;
}

.project-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 0.75rem;
}

.project-gallery-thumb {
    border: none;
    padding: 0;
    border-radius: 0.9rem;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    outline: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-gallery-thumb img {
    width: 100%;
    height: 90px;
    object-fit: cover;
}

.project-gallery-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 82, 204, 0.35);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-gallery-thumb.active::after {
    opacity: 1;
}

.project-gallery-thumb.active {
    box-shadow: 0 18px 35px -25px rgba(0, 82, 204, 0.55);
    transform: translateY(-4px);
}

.project-detail-content h2 {
    font-size: clamp(2rem, 3vw, 2.5rem);
}

.project-detail-content .text-muted {
    color: var(--gray-600) !important;
}

.quote-card {
    border-radius: 1.25rem;
    background: linear-gradient(135deg, rgba(0, 82, 204, 0.12), rgba(12, 32, 88, 0.1));
    border: 1px solid rgba(0, 82, 204, 0.15);
    padding: 2.5rem;
    color: var(--dark);
    box-shadow: 0 22px 55px -40px rgba(12, 32, 88, 0.55);
}

.quote-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.process-steps {
    display: grid;
    gap: 1.5rem;
}

.process-step {
    border-radius: 1.25rem;
    border: 1px solid rgba(12, 32, 88, 0.08);
    background: #fff;
    padding: 1.75rem;
    box-shadow: 0 20px 40px -35px rgba(12, 32, 88, 0.5);
}

.process-step h6 {
    font-weight: 600;
}

.cta-banner {
    border-radius: 1.5rem;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(0, 82, 204, 0.2), rgba(12, 32, 88, 0.4));
    color: #fff;
    box-shadow: 0 28px 80px -50px rgba(12, 32, 88, 0.7);
}

.cta-banner p {
    opacity: 0.85;
}

@media (max-width: 767.98px) {
    .hero-slide {
        min-height: 60vh;
        padding: 5rem 1rem;
    }

    .project-card img {
        height: 180px;
    }

    .project-gallery-main img {
        height: 320px;
    }

    .project-gallery-main .gallery-nav.prev {
        left: 0.75rem;
    }

    .project-gallery-main .gallery-nav.next {
        right: 0.75rem;
    }

    .project-carousel .owl-nav {
        position: static;
        justify-content: center;
        margin-top: 0.5rem;
    }
}

@media (max-width: 575.98px) {
    .contact-section .contact-card {
        min-width: unset;
    }

    .project-gallery-main img {
        height: 260px;
    }

    .project-gallery-main .gallery-nav {
        width: 36px;
        height: 36px;
    }
}

