:root {
    --green-900: #0b2f78;
    --green-800: #12439a;
    --green-700: #1d56b3;
    --green-600: #2a9ed8;
    --leaf: #43a744;
    --lime: #f4a600;
    --cream: #f3f7ff;
    --paper: #ffffff;
    --ink: #13243f;
    --muted: #65728a;
    --border: #dce6f5;
    --shadow: 0 18px 55px rgba(11, 47, 120, .14);
    --radius: 8px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--ink);
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
    background: var(--paper);
}

::selection {
    background: var(--green-600);
    color: #fff;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color .25s ease, background .25s ease, transform .25s ease, border-color .25s ease;
}

a:hover {
    color: var(--green-700);
}

a:focus-visible,
button:focus-visible,
.form-control:focus-visible,
.form-select:focus-visible {
    outline: 3px solid rgba(244, 166, 0, .4);
    outline-offset: 3px;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    max-width: 1200px;
}

.topbar {
    background: var(--green-900);
    color: rgba(255, 255, 255, .86);
    font-size: 14px;
}

.topbar__inner,
.topbar__links,
.topbar__social {
    align-items: center;
    display: flex;
}

.topbar__inner {
    justify-content: space-between;
    min-height: 46px;
}

.topbar__links {
    gap: 24px;
}

.topbar i {
    color: var(--lime);
    margin-right: 7px;
}

.topbar__social {
    gap: 12px;
}

.topbar__social a {
    align-items: center;
    border-left: 1px solid rgba(255, 255, 255, .14);
    display: inline-flex;
    height: 46px;
    justify-content: center;
    width: 34px;
}

.topbar a:hover {
    color: #fff;
}

.site-header {
    background: #fff;
    box-shadow: 0 10px 35px rgba(11, 47, 120, .08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header.is-scrolled {
    box-shadow: 0 14px 35px rgba(11, 47, 120, .14);
}

.navbar {
    min-height: 86px;
    padding: 0;
}

.navbar-brand,
.footer-brand {
    align-items: center;
    display: inline-flex;
    gap: 12px;
    font-weight: 800;
    letter-spacing: 0;
}

.brand-logo {
    flex: 0 0 auto;
    line-height: 0;
    padding: 8px 0;
}

.brand-logo__image {
    aspect-ratio: 1 / 1;
    display: block;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    width: clamp(58px, 7vw, 74px);
}

.nav-link {
    color: var(--ink);
    font-weight: 700;
    margin: 0 6px;
    padding: 32px 12px !important;
    position: relative;
}

.nav-link::after {
    background: var(--lime);
    bottom: 23px;
    content: "";
    height: 3px;
    left: 12px;
    position: absolute;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
    width: calc(100% - 24px);
}

.nav-link:hover,
.nav-link.active {
    color: var(--green-700);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.dropdown-menu {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.dropdown-item {
    color: var(--ink);
    font-weight: 700;
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item.active {
    background: var(--cream);
    color: var(--green-700);
}

.navbar-toggler {
    border: 0;
    display: none;
    height: 42px;
    padding: 0;
    width: 42px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler span {
    background: var(--green-900);
    display: block;
    height: 2px;
    margin: 7px auto;
    transition: transform .25s ease, opacity .25s ease;
    width: 26px;
}

.navbar-toggler.is-open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.navbar-toggler.is-open span:nth-child(2) {
    opacity: 0;
}

.navbar-toggler.is-open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.btn {
    border-radius: var(--radius);
    font-weight: 800;
    padding: 14px 24px;
}

.btn i {
    margin-right: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--green-700), var(--green-600));
    border-color: var(--green-700);
    box-shadow: 0 12px 28px rgba(29, 86, 179, .22);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--green-900), var(--green-700));
    border-color: var(--green-900);
    transform: translateY(-2px);
}

.btn-outline-light:hover,
.btn-light:hover {
    color: var(--green-900);
    transform: translateY(-2px);
}

.btn-light {
    background: #fff;
    border-color: #fff;
    color: var(--green-900);
}

.btn-light:hover {
    background: var(--lime);
    border-color: var(--lime);
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, .75);
    color: #fff;
}

.btn-outline-light:hover {
    background: #fff;
    border-color: #fff;
}

.hero {
    min-height: 720px;
    position: relative;
}

.hero-slide {
    align-items: center;
    background-position: center;
    background-size: cover;
    display: flex;
    min-height: 720px;
    position: relative;
}

.hero-slide::before {
    background: linear-gradient(90deg, rgba(11, 47, 120, .9), rgba(18, 67, 154, .64) 48%, rgba(42, 158, 216, .2));
    content: "";
    inset: 0;
    position: absolute;
}

.hero-content {
    color: #fff;
    max-width: 690px;
    position: relative;
    z-index: 2;
}

.eyebrow {
    color: var(--green-600);
    display: inline-flex;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.hero .eyebrow {
    color: var(--lime);
}

.hero h1,
.page-hero h1 {
    font-size: clamp(44px, 7vw, 86px);
    font-weight: 900;
    line-height: 1.04;
    margin-bottom: 24px;
}

.hero p {
    color: rgba(255, 255, 255, .85);
    font-size: 20px;
    margin-bottom: 34px;
    max-width: 610px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-badge {
    align-items: center;
    background: var(--paper);
    border-radius: var(--radius);
    bottom: 46px;
    box-shadow: var(--shadow);
    color: var(--green-900);
    display: flex;
    gap: 14px;
    padding: 20px 24px;
    position: absolute;
    right: max(24px, calc((100vw - 1200px) / 2));
    z-index: 4;
}

.hero-badge i {
    color: var(--green-600);
    font-size: 32px;
}

.carousel-control-prev,
.carousel-control-next {
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
    height: 54px;
    opacity: 1;
    top: 50%;
    width: 54px;
}

.carousel-control-prev {
    left: 26px;
}

.carousel-control-next {
    right: 26px;
}

.section-pad {
    padding: 110px 0;
}

.section-soft {
    background: var(--cream);
}

.section-title {
    margin-bottom: 48px;
}

.section-title h2 {
    color: var(--green-900);
    font-size: clamp(34px, 5vw, 54px);
    font-weight: 900;
    line-height: 1.12;
    margin: 0;
}

.section-title p {
    color: var(--muted);
    margin: 16px 0 0;
    max-width: 620px;
}

.service-card,
.feature-card,
.project-card,
.testimonial-card,
.contact-card,
.value-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 10px 35px rgba(11, 47, 120, .06);
    height: 100%;
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.service-card:hover,
.feature-card:hover,
.project-card:hover,
.testimonial-card:hover,
.value-card:hover {
    border-color: rgba(42, 158, 216, .48);
    box-shadow: var(--shadow);
    transform: translateY(-8px);
}

.service-card:hover .service-icon,
.feature-card:hover .feature-icon,
.value-card:hover .feature-icon {
    background: var(--green-700);
    color: #fff;
}

.service-card {
    overflow: hidden;
}

.service-card__image,
.project-card__image,
.gallery-tile {
    background-position: center;
    background-size: cover;
}

.service-card__image {
    aspect-ratio: 4 / 3;
}

.service-card__body,
.feature-card,
.testimonial-card,
.value-card {
    padding: 30px;
}

.service-icon,
.feature-icon {
    align-items: center;
    background: linear-gradient(135deg, #eaf3ff, #f3fbff);
    border-radius: 50%;
    color: var(--green-700);
    display: inline-flex;
    font-size: 30px;
    height: 70px;
    justify-content: center;
    margin-bottom: 18px;
    width: 70px;
}

.service-card h3,
.feature-card h3,
.project-card h3,
.testimonial-card h3,
.value-card h3 {
    color: var(--green-900);
    font-size: 22px;
    font-weight: 900;
}

.read-link {
    color: var(--green-700);
    display: inline-flex;
    font-weight: 900;
    gap: 8px;
    margin-top: 12px;
}

.read-link:hover {
    color: var(--green-600);
    gap: 13px;
}

.about-image-stack {
    min-height: 580px;
    position: relative;
}

.about-image-main,
.about-image-small {
    background-position: center;
    background-size: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: absolute;
}

.about-image-main {
    height: 84%;
    left: 0;
    top: 0;
    width: 78%;
}

.about-image-small {
    border: 10px solid #fff;
    bottom: 0;
    height: 44%;
    right: 0;
    width: 48%;
}

.experience-box {
    align-items: center;
    background: linear-gradient(135deg, var(--green-700), var(--green-600));
    border-radius: var(--radius);
    bottom: 46px;
    color: #fff;
    display: flex;
    gap: 12px;
    left: 30px;
    padding: 24px;
    position: absolute;
    z-index: 3;
}

.experience-box strong {
    display: block;
    font-size: 42px;
    line-height: 1;
}

.check-list {
    list-style: none;
    margin: 24px 0 32px;
    padding: 0;
}

.check-list li {
    align-items: center;
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.check-list i {
    color: var(--leaf);
}

.counter-band {
    background: var(--green-900);
    color: #fff;
    padding: 72px 0;
}

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

.counter-item strong {
    color: var(--lime);
    display: block;
    font-size: clamp(42px, 5vw, 62px);
    font-weight: 900;
    line-height: 1;
}

.counter-item span {
    color: rgba(255, 255, 255, .78);
    font-weight: 800;
}

.project-card {
    overflow: hidden;
    position: relative;
}

.project-card__image {
    aspect-ratio: 4 / 3;
    transition: transform .4s ease;
}

.project-card:hover .project-card__image {
    transform: scale(1.07);
}

.project-card__overlay {
    background: linear-gradient(0deg, rgba(11, 47, 120, .95), rgba(42, 158, 216, .1));
    bottom: 0;
    color: #fff;
    left: 0;
    padding: 72px 28px 28px;
    position: absolute;
    right: 0;
}

.project-card__overlay span {
    color: var(--lime);
    font-weight: 900;
    text-transform: uppercase;
}

.why {
    background: linear-gradient(90deg, rgba(11, 47, 120, .96), rgba(18, 67, 154, .84)), url("https://images.unsplash.com/photo-1459156212016-c812468e2115?auto=format&fit=crop&w=1600&q=80") center/cover;
    color: #fff;
}

.why .section-title h2,
.why .feature-card h3 {
    color: #fff;
}

.why .section-title p,
.why .feature-card p {
    color: rgba(255, 255, 255, .76);
}

.why .feature-card {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .15);
    backdrop-filter: blur(8px);
}

.testimonial-card {
    position: relative;
}

.testimonial-card::before {
    color: rgba(42, 158, 216, .22);
    content: "\F6B0";
    font-family: "bootstrap-icons";
    font-size: 58px;
    position: absolute;
    right: 26px;
    top: 20px;
}

.testimonial-card p {
    color: var(--muted);
    margin-bottom: 24px;
}

.client {
    align-items: center;
    display: flex;
    gap: 14px;
}

.client img {
    border-radius: 50%;
    height: 58px;
    object-fit: cover;
    width: 58px;
}

.client strong {
    color: var(--green-900);
    display: block;
}

.cta-band {
    background: linear-gradient(135deg, var(--green-700), var(--green-600));
    color: #fff;
    overflow: hidden;
    padding: 88px 0;
    position: relative;
}

.cta-band::after {
    border: 42px solid rgba(255, 255, 255, .16);
    border-radius: 50%;
    content: "";
    height: 230px;
    position: absolute;
    right: -52px;
    top: -62px;
    width: 230px;
}

.cta-band h2 {
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 900;
    line-height: 1.12;
}

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

.page-hero::before {
    background: linear-gradient(90deg, rgba(11, 47, 120, .84), rgba(18, 67, 154, .62));
    content: "";
    inset: 0;
    position: absolute;
}

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

.breadcrumb-lite {
    color: rgba(255, 255, 255, .82);
    font-weight: 800;
}

.process-step {
    align-items: flex-start;
    display: flex;
    gap: 20px;
    margin-bottom: 26px;
}

.process-step span {
    align-items: center;
    background: linear-gradient(135deg, var(--green-700), var(--green-600));
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    flex: 0 0 52px;
    font-weight: 900;
    height: 52px;
    justify-content: center;
}

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

.gallery-tile {
    aspect-ratio: 1 / 1;
    border-radius: var(--radius);
    min-height: 210px;
    overflow: hidden;
    position: relative;
}

.gallery-tile:nth-child(3n + 1) {
    grid-row: span 2;
}

.gallery-tile::after {
    align-items: center;
    background: rgba(11, 47, 120, .68);
    color: #fff;
    content: "\F64D";
    display: flex;
    font-family: "bootstrap-icons";
    font-size: 34px;
    inset: 0;
    justify-content: center;
    opacity: 0;
    position: absolute;
    transition: opacity .25s ease;
}

.gallery-tile:hover::after {
    opacity: 1;
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 36px;
}

.filter-btn {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--green-900);
    font-weight: 900;
    padding: 10px 20px;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--green-700);
    border-color: var(--green-700);
    color: #fff;
}

.contact-card {
    padding: 34px;
}

.contact-card h3 {
    color: var(--green-900);
    font-weight: 900;
    margin-bottom: 20px;
}

.form-control,
.form-select {
    background-color: #fff;
    border-color: var(--border);
    border-radius: var(--radius);
    color: var(--ink);
    min-height: 56px;
    padding: 14px 16px;
}

.form-control::placeholder {
    color: #8a96aa;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--green-600);
    box-shadow: 0 0 0 .25rem rgba(42, 158, 216, .18);
}

textarea.form-control {
    min-height: 150px;
}

.map-placeholder {
    align-items: center;
    background: linear-gradient(135deg, #eaf3ff, #fff);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    min-height: 360px;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.map-placeholder::before {
    background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 34px 34px;
    content: "";
    inset: 0;
    opacity: .8;
    position: absolute;
}

.map-pin {
    align-items: center;
    background: linear-gradient(135deg, var(--green-700), var(--green-600));
    border-radius: 50%;
    box-shadow: 0 10px 28px rgba(11, 47, 120, .28);
    color: #fff;
    display: flex;
    font-size: 34px;
    height: 88px;
    justify-content: center;
    position: relative;
    width: 88px;
    z-index: 2;
}

.admin-panel,
.admin-card,
.admin-table,
.dashboard-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 10px 35px rgba(11, 47, 120, .06);
    color: var(--ink);
}

.admin-sidebar,
.admin-header {
    background: var(--green-900);
    color: #fff;
}

.admin-sidebar a,
.admin-nav a {
    color: rgba(255, 255, 255, .82);
}

.admin-sidebar a:hover,
.admin-sidebar a.active,
.admin-nav a:hover,
.admin-nav a.active {
    color: var(--lime);
}

.badge,
.status-pill {
    background: var(--cream);
    color: var(--green-700);
}

.footer-cta {
    background: var(--cream);
    padding-top: 80px;
}

.footer-cta__wrap {
    align-items: center;
    background: linear-gradient(135deg, var(--green-700), var(--green-900));
    border-radius: var(--radius);
    color: #fff;
    display: flex;
    justify-content: space-between;
    padding: 44px;
    transform: translateY(70px);
}

.footer-cta__wrap .eyebrow {
    color: var(--lime);
}

.footer-cta__wrap h2 {
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 900;
    margin: 0;
}

.site-footer {
    background: var(--green-900);
    color: rgba(255, 255, 255, .75);
    padding: 150px 0 28px;
}

.site-footer h3 {
    color: #fff;
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 22px;
}

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

.site-footer li {
    margin-bottom: 12px;
}

.site-footer a:hover {
    color: var(--lime);
}

.footer-brand {
    color: #fff;
    font-size: 25px;
    margin-bottom: 20px;
}

.brand-logo--footer {
    padding: 0;
}

.brand-logo--footer .brand-logo__image {
    background: #fff;
    border-radius: 50%;
    width: clamp(82px, 9vw, 108px);
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 26px;
}

.footer-social a {
    align-items: center;
    background: rgba(255, 255, 255, .1);
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.footer-social a:hover {
    background: var(--green-600);
    color: #fff;
    transform: translateY(-2px);
}

.footer-contact i {
    color: var(--lime);
    margin-right: 8px;
}

.footer-bottom {
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, .1);
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin-top: 52px;
    padding-top: 26px;
}

.scroll-top {
    align-items: center;
    background: var(--lime);
    border: 0;
    border-radius: 50%;
    bottom: 22px;
    box-shadow: var(--shadow);
    color: var(--green-900);
    display: flex;
    height: 48px;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    right: 22px;
    transform: translateY(10px);
    transition: opacity .25s ease, transform .25s ease;
    width: 48px;
    z-index: 1100;
}

.scroll-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 991.98px) {
    .navbar {
        min-height: 72px;
    }

    .navbar-toggler {
        display: block;
    }

    .navbar-collapse {
        background: #fff;
        border-top: 1px solid var(--border);
        box-shadow: 0 20px 35px rgba(11, 47, 120, .1);
        left: 0;
        padding: 10px 20px 24px;
        position: absolute;
        right: 0;
        top: 72px;
    }

    .nav-link {
        margin: 0;
        padding: 13px 0 !important;
    }

    .nav-link::after {
        bottom: 8px;
        left: 0;
        width: 44px;
    }

    .header-quote {
        margin-top: 12px;
        width: 100%;
    }

    .hero,
    .hero-slide {
        min-height: 640px;
    }

    .hero-badge,
    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }

    .section-pad {
        padding: 78px 0;
    }

    .about-image-stack {
        margin-bottom: 42px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-cta__wrap,
    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 575.98px) {
    .brand-logo__image {
        width: 54px;
    }

    .hero,
    .hero-slide {
        min-height: 590px;
    }

    .hero p {
        font-size: 17px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .section-title {
        margin-bottom: 34px;
    }

    .about-image-stack {
        min-height: 430px;
    }

    .experience-box {
        bottom: 20px;
        left: 18px;
        padding: 18px;
    }

    .experience-box strong {
        font-size: 34px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-tile:nth-child(3n + 1) {
        grid-row: span 1;
    }

    .footer-cta__wrap {
        padding: 30px;
    }
}
