:root {
    --primary: #0B1F35;      /* Logo navy */
    --primary-light: #1B365D;
    --secondary: #F8FAFC;    /* Light background */
    --white: #FFFFFF;
    --text: #243447;
    --muted: #64748B;
    --border: #E5E7EB;

    --radius: 18px;
    --shadow: 0 12px 32px rgba(11, 31, 53, 0.08);
}

html {
    scroll-behavior: smooth;
}

section {
    scroll-margin-top: 100px;
}

/* ==========================
   CLEAN NAVY NAVIGATION
========================== */

.custom-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;

    width: 100%;
    margin: 0;
    border-radius: 0;

    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);

    border-bottom: 1px solid rgba(11, 31, 53, 0.08);

    padding: 18px 0;
    z-index: 999;

    transition: all 0.3s ease;
}

.site-logo {
    height: 52px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    color: #0b1f35 !important;
    font-size: 1.6rem;
    letter-spacing: 1px;
}

.logo-text span {
    color: #0b1f35;
}

.custom-navbar .nav-link {
    color: #0b1f35 !important;
    margin: 0 14px;
    font-weight: 600;
    position: relative;
    transition: 0.25s ease;
}

.custom-navbar .nav-link:hover {
    color: #173a5c !important;
}

.custom-navbar .nav-link::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 2px;
    height: 2px;
    background: #0b1f35;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.custom-navbar .nav-link:hover::after {
    transform: scaleX(1);
}

.nav-cta,
.btn-warning {
    background: #0b1f35 !important;
    color: #ffffff !important;
    border: 1px solid #0b1f35 !important;
    border-radius: 999px;
    padding: 11px 26px;
    font-weight: 700;
    transition: 0.25s ease;
}

.nav-cta:hover,
.btn-warning:hover {
    background: #ffffff !important;
    color: #0b1f35 !important;
    transform: translateY(-2px);
}

.navbar-toggler {
    filter: none;
    border: none;
}

.navbar-toggler-icon {
    filter: none;
}

@media (max-width: 991px) {
    .custom-navbar {
        padding: 14px 0;
    }

    .navbar-collapse {
        margin-top: 16px;
        padding: 18px;
        background: #ffffff;
        border-radius: 18px;
        box-shadow: 0 18px 40px rgba(11, 31, 53, 0.12);
    }

    .custom-navbar .nav-link {
        margin: 8px 0;
    }
}


/* ==========================
   CLEAN PREMIUM HERO
========================== */

.hero-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: #0b1f35;
}

/* Background image */
.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url("/static/images/hero.png");
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    transform: scale(1.04);
    animation: heroSlowZoom 12s ease-out forwards;
    z-index: 1;
}

/* Overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(11, 31, 53, 0.97) 0%,
            rgba(11, 31, 53, 0.88) 35%,
            rgba(11, 31, 53, 0.45) 70%,
            rgba(11, 31, 53, 0.18) 100%
        );
    z-index: 2;
    pointer-events: none;
}

/* Optional subtle pattern */
.hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 90px 90px;
    opacity: 0.35;
    z-index: 3;
    pointer-events: none;
}

/* Content wrapper */
.hero-container {
    z-index: 5;
    padding-top: 110px;
    padding-bottom: 80px;
}

/* Small label */
.hero-kicker {
    display: inline-block;
    color: rgba(255,255,255,0.78);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.78rem;
    font-weight: 800;
}

/* Big title */
.hero-title {
    color: #ffffff;
    font-size: clamp(3.6rem, 7.5vw, 7.2rem);
    font-weight: 900;
    line-height: 0.92;
    letter-spacing: -4px;
    max-width: 900px;
}

/* Subtitle */
.hero-text {
    color: rgba(255,255,255,0.82);
    font-size: 1.18rem;
    line-height: 1.8;
    max-width: 620px;
}

/* Buttons */
.hero-btn-primary {
    background: #ffffff;
    color: #0b1f35;
    border: 2px solid #ffffff;
    border-radius: 999px;
    padding: 14px 32px;
    font-weight: 800;
    transition: 0.25s ease;
}

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

.hero-btn-outline {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255,255,255,0.65);
    border-radius: 999px;
    padding: 14px 32px;
    font-weight: 800;
    transition: 0.25s ease;
}

.hero-btn-outline:hover {
    background: #ffffff;
    color: #0b1f35;
    border-color: #ffffff;
    transform: translateY(-3px);
}

/* Stats */
.hero-stats {
    border-top: 1px solid rgba(255,255,255,0.18);
    padding-top: 28px;
    max-width: 700px;
}

.hero-stats div {
    min-width: 150px;
}

.hero-stats strong {
    display: block;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 800;
}

.hero-stats span {
    display: block;
    color: rgba(255,255,255,0.62);
    font-size: 0.88rem;
    margin-top: 4px;
}

/* Scroll button */
.hero-scroll {
    position: absolute;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    z-index: 6;

    width: 46px;
    height: 46px;
    border-radius: 50%;

    display: grid;
    place-items: center;

    color: #ffffff;
    text-decoration: none;

    border: 1px solid rgba(255,255,255,0.45);
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);

    animation: heroBounce 2s infinite;
}

.hero-scroll:hover {
    color: #0b1f35;
    background: #ffffff;
}

/* Animations */
@keyframes heroSlowZoom {
    from {
        transform: scale(1.08);
    }

    to {
        transform: scale(1.02);
    }
}

@keyframes heroBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-8px);
    }

    60% {
        transform: translateX(-50%) translateY(-4px);
    }
}

/* Mobile */
@media (max-width: 991px) {
    .hero-bg {
        background-position: center;
    }

    .hero-overlay {
        background:
            linear-gradient(
                rgba(11, 31, 53, 0.9),
                rgba(11, 31, 53, 0.82)
            );
    }

    .hero-container {
        padding-top: 140px;
    }

    .hero-title {
        font-size: clamp(3.2rem, 14vw, 5.2rem);
        letter-spacing: -3px;
    }

    .hero-text {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 20px !important;
    }
}

@media (max-width: 576px) {
    .hero-btn-primary,
    .hero-btn-outline {
        width: 100%;
        text-align: center;
    }

    .hero-kicker {
        font-size: 0.7rem;
        letter-spacing: 2px;
    }
}

/* ==========================
   ABOUT
========================== */

.about-section {
    background: #ffffff;
    padding: 120px 0;
}

.section-tag {
    display: inline-block;
    padding: 8px 18px;
    background: #eef3f8;
    color: #0b1f35;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.about-heading {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 800;
    color: #0b1f35;
    line-height: 1;
}

.about-text {
    color: #64748b;
    font-size: 1.08rem;
    line-height: 1.9;
}

.stat-card {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 24px;
    text-align: center;
    transition: 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(11, 31, 53, 0.08);
}

.stat-card h3 {
    font-size: 2rem;
    color: #0b1f35;
    margin-bottom: 8px;
}

.stat-card p {
    color: #64748b;
    margin: 0;
}

.image-stack {
    position: relative;
}

.img-main {
    width: 100%;
    border-radius: 24px;
    object-fit: cover;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.floating-card {
    position: absolute;
    bottom: 30px;
    left: -30px;

    background: #0b1f35;
    color: #fff;

    padding: 20px 24px;
    border-radius: 18px;

    font-weight: 600;

    box-shadow: 0 15px 35px rgba(11, 31, 53, 0.2);
}

.floating-card span {
    font-size: 1.3rem;
    margin-right: 8px;
}

@media (max-width: 991px) {
    .floating-card {
        position: static;
        margin-top: 20px;
    }

    .about-heading {
        font-size: 2.6rem;
    }
}



/* ==========================
   SERVICES
========================== */

.services-section {
    background: #f8fafc;
    padding: 120px 0;
}

.services-header {
    max-width: 850px;
    margin: 0 auto 60px;
}

.services-heading {
    font-size: clamp(2.6rem, 5vw, 4.4rem);
    font-weight: 800;
    color: #0b1f35;
    line-height: 1;
}

.services-intro {
    max-width: 680px;
    margin: 24px auto 0;
    color: #64748b;
    font-size: 1.08rem;
    line-height: 1.8;
}

.services-bento {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 22px;
}

.service-tile {
    position: relative;
    min-height: 240px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 26px;
    padding: 32px;
    overflow: hidden;
    transition: 0.35s ease;
}

.service-tile:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 45px rgba(11, 31, 53, 0.1);
    border-color: #0b1f35;
}

.service-large {
    grid-row: span 2;
    background: linear-gradient(145deg, #0b1f35, #173a5c);
    color: white;
}

.service-large p,
.service-dark p {
    color: rgba(255,255,255,.78);
}

.service-dark {
    background: #0b1f35;
    color: white;
}

.service-number {
    display: inline-block;
    margin-bottom: 26px;
    color: #173a5c;
    font-weight: 800;
    letter-spacing: 2px;
}

.service-large .service-number,
.service-dark .service-number {
    color: rgba(255,255,255,.75);
}

.service-tile h3,
.service-tile h4 {
    color: inherit;
    font-weight: 800;
    margin-bottom: 14px;
}

.service-tile p {
    color: #64748b;
    margin: 0;
    line-height: 1.7;
}

.service-tile::after {
    content: "";
    position: absolute;
    width: 140px;
    height: 140px;
    right: -50px;
    bottom: -50px;
    border-radius: 50%;
    background: rgba(11, 31, 53, 0.05);
}

.service-large::after,
.service-dark::after {
    background: rgba(255,255,255,.08);
}

@media (max-width: 992px) {
    .services-bento {
        grid-template-columns: 1fr;
    }

    .service-large {
        grid-row: auto;
    }
}

/* ==========================
   PROJECTS
========================== */

.projects-section {

    background: white;

    padding: 140px 0;

}

.projects-header {

    max-width: 760px;

    margin: auto auto 70px;

}

.projects-title {

    font-size: clamp(3rem,6vw,5rem);

    font-weight: 800;

    color: #0B1F35;

}

.projects-subtitle {

    color: #64748B;

    margin-top: 20px;

    font-size: 1.1rem;

}

/* featured */

.featured-project {

    position: relative;

    overflow: hidden;

    border-radius: 30px;

    margin-bottom: 35px;

    cursor: pointer;

}

.featured-project img {

    width: 100%;

    height: 650px;

    object-fit: cover;

    transition: .6s;

}

.featured-project:hover img {

    transform: scale(1.05);

}

.featured-overlay {

    position: absolute;

    inset: 0;

    display: flex;

    flex-direction: column;

    justify-content: flex-end;

    padding: 50px;

    background:

        linear-gradient(

            transparent,

            rgba(11,31,53,.82)

        );

}

.featured-overlay span {

    color: white;

    opacity: .8;

    text-transform: uppercase;

}

.featured-overlay h2 {

    color: white;

    font-size: 3rem;

    font-weight: 800;

}

.featured-overlay p {

    max-width: 550px;

    color: rgba(255,255,255,.8);

}

/* gallery */

.project-grid {

    display: grid;

    grid-template-columns: repeat(3,1fr);

    gap: 25px;

}

.project-card {

    overflow: hidden;

    border-radius: 24px;

    position: relative;

    cursor: pointer;

}

.project-card img {

    width: 100%;

    height: 360px;

    object-fit: cover;

    transition: .5s;

}

.project-card:hover img {

    transform: scale(1.08);

}

.project-info {

    position: absolute;

    left: 0;

    right: 0;

    bottom: 0;

    padding: 25px;

    background:

        linear-gradient(

            transparent,

            rgba(11,31,53,.85)

        );

}

.project-info small {

    color: rgba(255,255,255,.7);

}

.project-info h4 {

    color: white;

    margin-top: 5px;

}

@media(max-width:992px){

.project-grid{

grid-template-columns:1fr;

}

.featured-project img{

height:450px;

}

}






/* ==========================
   CLICKABLE PROJECTS
========================== */

.featured-project-link,
.project-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.featured-project-link:hover,
.project-card-link:hover {
    color: inherit;
}

.project-link-text,
.project-info span {
    color: #ffffff;
    font-weight: 800;
    margin-top: 12px;
    display: inline-block;
}


/* ==========================
   PROJECT DETAIL PAGE
========================== */

.project-detail-page {
    background: #ffffff;
}

/* Header section */
.project-detail-header {
    padding: 170px 0 70px;
    background: #f8fafc;
}

.project-back-link {
    display: inline-block;
    margin-bottom: 32px;
    color: #0b1f35;
    text-decoration: none;
    font-weight: 800;
}

.project-back-link:hover {
    color: #173a5c;
}

.project-category {
    display: block;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.78rem;
    font-weight: 900;
    color: #64748b;
    margin-bottom: 18px;
}

.project-detail-header h1 {
    color: #0b1f35;
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -3px;
    max-width: 950px;
    margin-bottom: 20px;
}

.project-location {
    color: #64748b;
    font-size: 1.15rem;
    margin-bottom: 45px;
}

/* Smaller image below title */
.project-main-image-wrap {
    max-width: 1050px;
    margin-top: 45px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(11, 31, 53, 0.15);
}

.project-main-image {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
}

/* Body */
.project-detail-body {
    padding: 90px 0;
}

.project-detail-body h2 {
    color: #0b1f35;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 28px;
}

.project-description,
.project-description p {
    color: #64748b;
    font-size: 1.1rem;
    line-height: 1.9;
}

/* Details card */
.project-summary-card {
    background: #f8fafc;
    border: 1px solid #e5eaf0;
    border-radius: 26px;
    padding: 32px;
    position: sticky;
    top: 120px;
}

.project-summary-card h4 {
    color: #0b1f35;
    font-weight: 900;
    margin-bottom: 24px;
}

.project-summary-card div {
    border-top: 1px solid #e5eaf0;
    padding: 18px 0;
}

.project-summary-card strong {
    display: block;
    color: #0b1f35;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-summary-card span {
    color: #64748b;
}

.project-contact-btn {
    background: #0b1f35;
    color: white;
    border-radius: 999px;
    padding: 14px 26px;
    font-weight: 800;
    width: 100%;
    margin-top: 20px;
}

.project-contact-btn:hover {
    background: #173a5c;
    color: white;
}

/* Mobile */
@media (max-width: 768px) {
    .project-detail-header {
        padding: 140px 0 50px;
    }

    .project-detail-header h1 {
        letter-spacing: -2px;
    }

    .project-main-image {
        height: 330px;
    }

    .project-detail-body {
        padding: 65px 0;
    }

    .project-summary-card {
        position: static;
    }
}


/*///// Contact //////*/



.contact-section {
    background: #0b1f35;
    color: white;
    padding: 120px 0;
}

.contact-section h2 {
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    font-weight: 900;
    margin: 24px 0;
}

.contact-section p {
    color: rgba(255,255,255,.78);
    line-height: 1.8;
}

.contact-card {
    background: white;
    border-radius: 28px;
    padding: 36px;
    box-shadow: 0 25px 60px rgba(0,0,0,.25);
}

.contact-card .form-control {
    border-radius: 14px;
    padding: 14px 16px;
    border: 1px solid #e5eaf0;
}

.contact-card .form-control:focus {
    border-color: #0b1f35;
    box-shadow: none;
}

.contact-btn {
    background: #0b1f35;
    color: white;
    border-radius: 999px;
    padding: 14px 32px;
    font-weight: 800;
}

.contact-btn:hover {
    background: #173a5c;
    color: white;
}