:root {
    --primary: #0866c6;
    --primary-dark: #064887;
    --navy: #09294b;
    --light-blue: #edf6ff;
    --text: #152c46;
    --muted: #64748b;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: #fff;
}

a {
    text-decoration: none;
}

/* NAVBAR */

.navbar {
    background: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 15px rgba(0,0,0,.05);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--navy);
}

.brand-icon {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.brand-name {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.1;
}

.brand-name span {
    color: var(--primary);
}

.brand-tagline {
    display: block;
    color: var(--muted);
    font-size: 12px;
    letter-spacing: .5px;
    margin-top: 5px;
}

.navbar-nav .nav-link {
    color: var(--navy);
    font-size: 14px;
    font-weight: 600;
    padding: 14px 16px !important;
}

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

.btn-primary-custom {
    background: var(--primary);
    color: #fff;
    padding: 13px 23px;
    border-radius: 35px;
    border: 0;
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: .3s;
}

.btn-primary-custom:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
}

/* HERO */

.hero {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(90deg,
        rgba(239,247,255,1) 0%,
        rgba(239,247,255,.97) 40%,
        rgba(239,247,255,.25) 100%),
        url('../images/engineer-plant.jpg')
        center/cover no-repeat;
    padding: 75px 0 65px;
}

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

.hero h1 {
    color: var(--navy);
    font-size: clamp(34px, 4vw, 56px);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -1.8px;
    margin-bottom: 22px;
}

.hero h1 span {
    color: var(--primary);
}

.hero-description {
    max-width: 590px;
    font-size: 17px;
    line-height: 1.8;
    color: #263d58;
    margin-bottom: 30px;
}

.hero-label {
    display: inline-block;
    padding: 8px 14px;
    background: #dceeff;
    border-radius: 30px;
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .5px;
    margin-bottom: 20px;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 650px;
    margin: 35px 0;
}

.hero-feature {
    text-align: center;
    padding: 0 12px;
    border-right: 1px solid #b7cce2;
}

.hero-feature:first-child {
    padding-left: 0;
}

.hero-feature:last-child {
    border-right: 0;
}

.hero-feature i {
    display: block;
    font-size: 28px;
    color: var(--navy);
    margin-bottom: 10px;
}

.hero-feature span {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.6;
    display: block;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn-outline-custom {
    padding: 12px 22px;
    border: 1px solid #b6c9dd;
    color: var(--navy);
    border-radius: 35px;
    font-weight: 600;
    font-size: 14px;
    background: white;
}

.btn-outline-custom:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* TRUST BAR */

.trust-bar {
    background: var(--navy);
    color: white;
    padding: 19px 0;
}

.trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
}

.trust-item i {
    font-size: 23px;
    color: #71baff;
}

/* SECTION COMMON */

.section {
    padding: 75px 0;
}

.section-heading {
    text-align: center;
    margin-bottom: 40px;
}

.section-heading h2 {
    color: var(--navy);
    font-size: clamp(27px, 3vw, 38px);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.section-heading p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
    max-width: 700px;
    margin: auto;
}

.section-label {
    display: inline-block;
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

/* SERVICE CARDS */

.service-card {
    height: 100%;
    padding: 30px 22px;
    border: 1px solid #dce7f2;
    border-radius: 12px;
    background: #fff;
    text-align: center;
    transition: .3s;
}

.service-card:hover {
    border-color: #8bc5ff;
    box-shadow: 0 12px 30px rgba(8,102,198,.10);
    transform: translateY(-5px);
}

.service-icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 20px;
    background: #eaf4ff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    font-size: 31px;
}

.service-card h3 {
    color: var(--navy);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 18px;
}

.card-link {
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
}

/* ABOUT */

.about-section {
    background: #f5f9fd;
}

.about-image {
    min-height: 370px;
    height: 100%;
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(4,35,67,.05), rgba(4,35,67,.35)),
        url('../images/about-team.jpg')
        center/cover no-repeat;
    position: relative;
    overflow: hidden;
}

.about-badge {
    position: absolute;
    left: 20px;
    bottom: 20px;
    background: white;
    border-radius: 12px;
    padding: 20px 25px;
    box-shadow: 0 5px 25px rgba(0,0,0,.1);
}

.about-badge strong {
    display: block;
    color: var(--primary);
    font-size: 27px;
}

.about-badge span {
    color: var(--muted);
    font-size: 12px;
}

.about-content h2 {
    color: var(--navy);
    font-size: 34px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 20px;
}

.about-content p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.about-list li {
    margin-bottom: 14px;
    font-size: 14px;
    font-weight: 600;
}

.about-list i {
    color: #159957;
    margin-right: 10px;
}

/* INDUSTRIES */

.industry-card {
    padding: 28px 15px;
    border-radius: 12px;
    border: 1px solid #e0e9f3;
    text-align: center;
    height: 100%;
    transition: .3s;
}

.industry-card:hover {
    background: var(--light-blue);
    border-color: #9ecfff;
}

.industry-card i {
    font-size: 34px;
    color: var(--primary);
    margin-bottom: 15px;
    display: block;
}

.industry-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
    margin: 0;
}

/* CTA */

.cta-section {
    padding: 60px 0;
    background: linear-gradient(120deg, #063866, #0875d1);
    color: white;
}

.cta-section h2 {
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 15px;
}

.cta-section p {
    color: #d5e9ff;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 0;
}

.btn-white {
    background: white;
    color: var(--primary-dark);
    padding: 14px 25px;
    border-radius: 35px;
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
}

.btn-white:hover {
    background: #e8f3ff;
    color: var(--navy);
}

/* FOOTER */

footer {
    background: #061b32;
    color: #c6d5e5;
    padding: 55px 0 0;
}

.footer-brand {
    color: white;
    font-size: 25px;
    font-weight: 800;
    margin-bottom: 15px;
}

.footer-brand span {
    color: #51a9ff;
}

.footer-description {
    font-size: 13px;
    line-height: 1.9;
    max-width: 350px;
    color: #a9bed2;
}

.footer-title {
    color: white;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 22px;
}

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

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

.footer-links a {
    font-size: 13px;
    color: #b5c7d9;
}

.footer-links a:hover {
    color: #63b5ff;
}

.footer-contact {
    font-size: 13px;
    line-height: 2;
    overflow-wrap: anywhere;
}

.footer-contact i {
    color: #63b5ff;
    margin-right: 8px;
}

.footer-bottom {
    margin-top: 35px;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,.12);
    font-size: 12px;
    color: #91a8bf;
}

/* MOBILE */

@media (max-width: 991px) {

    .navbar-brand {
        gap: 8px;
    }

    .brand-icon {
        width: 48px;
        height: 48px;
        font-size: 23px;
    }

    .brand-name {
        font-size: 24px;
    }

    .hero {
        padding: 60px 0;
        background:
            linear-gradient(90deg,
            rgba(239,247,255,.98),
            rgba(239,247,255,.87)),
            url('../images/engineer-plant.jpg')
            center/cover no-repeat;
    }

    .hero-content {
        max-width: 700px;
    }

    .navbar-nav {
        padding-top: 15px;
    }

    .navbar-nav .nav-link {
        padding: 10px 0 !important;
    }

    .navbar-contact {
        margin: 10px 0;
    }

    .about-content {
        margin-top: 30px;
    }

    .section {
        padding: 55px 0;
    }
}

@media (max-width: 575px) {

    .brand-name {
        font-size: 21px;
    }

    .brand-tagline {
        font-size: 10px;
    }

    .hero {
        padding: 45px 0;
    }

    .hero h1 {
        font-size: 34px;
        letter-spacing: -1px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-features {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 25px;
        margin: 30px 0;
    }

    .hero-feature {
        padding: 0 8px;
    }

    .hero-feature:nth-child(2) {
        border-right: 0;
    }

    .hero-feature span {
        font-size: 12px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons a {
        text-align: center;
    }

    .trust-item {
        justify-content: flex-start;
        padding: 10px 20px;
    }

    .section-heading {
        margin-bottom: 28px;
    }

    .about-image {
        min-height: 270px;
    }

    .about-content h2 {
        font-size: 28px;
    }

    .cta-section .text-lg-end {
        text-align: left !important;
        margin-top: 25px;
    }

    .footer-column {
        margin-bottom: 30px;
    }

    .footer-bottom {
        text-align: center;
    }
}

/* PAGE BANNER (inner pages) */

.page-hero {
    background:
        linear-gradient(120deg, rgba(6,56,102,.90), rgba(8,117,209,.85)),
        var(--page-hero-img, none) center/cover no-repeat;
    color: #fff;
    padding: 70px 0 60px;
    text-align: center;
}

.page-hero .section-label {
    color: #9fd0ff;
}

.page-hero h1 {
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 15px;
}

.page-hero p {
    color: #d5e9ff;
    font-size: 16px;
    line-height: 1.8;
    max-width: 680px;
    margin: auto;
}

.breadcrumb-light {
    --bs-breadcrumb-divider-color: #9fd0ff;
    --bs-breadcrumb-item-active-color: #fff;
    justify-content: center;
    margin-bottom: 0;
}

.breadcrumb-light .breadcrumb-item a {
    color: #d5e9ff;
}

/* DETAIL CARDS (services / industries pages) */

.detail-card {
    height: 100%;
    padding: 32px 28px;
    border: 1px solid #dce7f2;
    border-radius: 14px;
    background: #fff;
    transition: .3s;
}

.detail-card:hover {
    border-color: #8bc5ff;
    box-shadow: 0 12px 30px rgba(8,102,198,.10);
}

.detail-card .service-icon {
    margin: 0 0 20px;
}

.detail-card h3 {
    color: var(--navy);
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 12px;
}

.detail-card p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.85;
    margin-bottom: 15px;
}

.detail-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
}

.detail-card ul li {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
}

.detail-card ul li i {
    color: #159957;
    margin-right: 9px;
}

/* CONTACT PAGE */

.contact-info-card {
    height: 100%;
    text-align: center;
    padding: 32px 22px;
    border: 1px solid #dce7f2;
    border-radius: 14px;
    background: #fff;
    transition: .3s;
}

.contact-info-card:hover {
    border-color: #8bc5ff;
    box-shadow: 0 12px 30px rgba(8,102,198,.10);
    transform: translateY(-4px);
}

.contact-info-card .service-icon {
    margin: 0 auto 18px;
}

.contact-info-card h3 {
    color: var(--navy);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-info-card p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 0;
    overflow-wrap: anywhere;
}

.contact-form-box {
    background: #f5f9fd;
    border: 1px solid #dce7f2;
    border-radius: 16px;
    padding: 35px 30px;
}

.contact-form-box h2 {
    color: var(--navy);
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 8px;
}

.contact-form-box > p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 25px;
}

.contact-form-box .form-control,
.contact-form-box .form-select {
    border-radius: 10px;
    border-color: #cddceb;
    padding: 12px 15px;
    font-size: 14px;
}

.contact-form-box .form-control:focus,
.contact-form-box .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 .2rem rgba(8,102,198,.12);
}

@media (max-width: 575px) {
    .page-hero {
        padding: 50px 0 45px;
    }

    .contact-form-box {
        padding: 28px 20px;
    }
}

/* CARD IMAGES */

.detail-card.has-image,
.contact-info-card.has-image {
    padding: 0;
    overflow: hidden;
}

.detail-card.has-image .card-img,
.contact-info-card.has-image .card-img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

.detail-card.has-image .card-body {
    padding: 28px 26px;
}

.detail-card.has-image.text-center .card-body {
    text-align: center;
}

.contact-info-card.has-image .card-body {
    padding: 28px 22px;
    text-align: center;
}

.about-split-image {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    border-radius: 18px;
}

.contact-side-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 22px;
}

@media (max-width: 575px) {
    .detail-card.has-image .card-img,
    .contact-info-card.has-image .card-img {
        height: 160px;
    }
}
