/* ==========================================================================
   Fonts (self-hosted, no CDN)
   ========================================================================== */

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../../vendor/fonts/poppins-600.woff2') format('woff2');
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../../vendor/fonts/poppins-700.woff2') format('woff2');
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('../../vendor/fonts/poppins-800.woff2') format('woff2');
}

/* ==========================================================================
   Design tokens
   ========================================================================== */

:root {
    --brand-primary: #0b3d63;
    --brand-primary-dark: #082a45;
    --brand-primary-light: #1a5687;
    --brand-secondary: #ff7a1a;
    --brand-secondary-dark: #e8650a;
    --ink: #0f2438;
    --body-text: #4c5c6c;
    --muted: #86949f;
    --surface-alt: #f4f8fb;
    --surface-dark: #0a2438;
    --border-light: #e7edf2;
    --font-heading: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-body: 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
}

/* ==========================================================================
   Base
   ========================================================================== */

body {
    color: var(--body-text);
    font-family: var(--font-body);
    font-size: 1rem;
    background: #fff;
}

h1, h2, h3, h4, h5, h6,
.navbar-brand span,
.section-heading {
    font-family: var(--font-heading);
    color: var(--ink);
}

a {
    transition: color .15s ease;
}

.bg-alt {
    background: var(--surface-alt);
}

.section-py {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

@media (max-width: 767.98px) {
    .section-py {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

.eyebrow {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--brand-secondary-dark);
    background: rgba(255, 122, 26, .1);
    padding: .35rem .9rem;
    border-radius: 50px;
    margin-bottom: .9rem;
}

.section-heading {
    font-weight: 800;
    font-size: 2.1rem;
    margin-bottom: .75rem;
}

.section-intro {
    color: var(--muted);
    max-width: 640px;
}

.section-head-center {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   Top info bar + Navbar
   ========================================================================== */

.topbar-site {
    background: var(--brand-primary-dark);
    color: rgba(255,255,255,.85);
    font-size: .84rem;
}

.topbar-site a {
    color: rgba(255,255,255,.85);
    text-decoration: none;
}

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

.topbar-site .divider {
    width: 1px;
    height: 14px;
    background: rgba(255,255,255,.25);
    display: inline-block;
}

.topbar-site .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    margin-left: .4rem;
}

.topbar-site .social-links a:hover {
    background: var(--brand-secondary);
}

.site-navbar {
    padding-top: .85rem;
    padding-bottom: .85rem;
    background: #fff !important;
}

.navbar-brand img {
    height: 44px;
}

.navbar-brand span {
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--brand-primary);
    margin-left: .5rem;
}

.site-navbar .nav-link {
    font-weight: 600;
    font-size: .95rem;
    color: var(--ink);
    padding: .5rem 1rem !important;
    position: relative;
}

.site-navbar .nav-link.active,
.site-navbar .nav-link:hover {
    color: var(--brand-secondary-dark);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn-brand {
    background: var(--brand-secondary);
    color: #fff;
    border: none;
    font-weight: 600;
    padding: .7rem 1.6rem;
    border-radius: 50px;
    box-shadow: 0 6px 16px rgba(255, 122, 26, .3);
    transition: all .2s ease;
}

.btn-brand:hover {
    background: var(--brand-secondary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(255, 122, 26, .4);
}

.btn-brand-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,.6);
    font-weight: 600;
    padding: .65rem 1.5rem;
    border-radius: 50px;
    transition: all .2s ease;
}

.btn-brand-outline:hover {
    background: #fff;
    color: var(--brand-primary);
    border-color: #fff;
}

.btn-outline-primary {
    --bs-btn-color: var(--brand-primary);
    --bs-btn-border-color: var(--brand-primary);
    --bs-btn-hover-bg: var(--brand-primary);
    --bs-btn-hover-border-color: var(--brand-primary);
    border-radius: 50px;
    font-weight: 600;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero-slide {
    position: relative;
    height: 85vh;
    min-height: 460px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    border-radius: 0 0 3rem 3rem;
    overflow: hidden;
}

#heroCarousel,
#heroCarousel .carousel-inner,
#heroCarousel .carousel-item {
    border-radius: 0 0 3rem 3rem;
}

@media (max-width: 767.98px) {
    #heroCarousel {
        padding: 0 12px;
        margin-top: 12px;
    }

    #heroCarousel,
    #heroCarousel .carousel-inner,
    #heroCarousel .carousel-item {
        border-radius: 20px;
    }

    .hero-slide {
        height: 230px;
        min-height: 230px;
        border-radius: 20px;
        align-items: flex-start;
        justify-content: center;
        flex-direction: column;
        padding: 1.1rem 1.25rem;
    }

    .hero-slide::before {
        background: linear-gradient(100deg, rgba(8,26,42,.92) 35%, rgba(8,26,42,.55) 65%, rgba(8,26,42,.25));
        border-radius: 20px;
    }

    .hero-slide .container {
        padding: 0;
        max-width: 100%;
    }

    .hero-slide .col-lg-7 {
        max-width: 78%;
    }

    .hero-slide .eyebrow {
        font-size: .6rem;
        padding: .2rem .6rem;
        margin-bottom: .5rem;
    }

    .hero-slide h1 {
        font-size: 1.35rem;
        line-height: 1.2;
        margin-bottom: .35rem;
    }

    .hero-slide p {
        font-size: .8rem;
        margin-bottom: .6rem;
    }

    .hero-slide .btn-brand {
        padding: .4rem 1.1rem;
        font-size: .8rem;
        box-shadow: none;
    }

    #heroCarousel .carousel-indicators {
        margin-bottom: .5rem;
    }
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(8,26,42,.92) 10%, rgba(8,26,42,.55) 55%, rgba(8,26,42,.35));
}

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

.hero-slide h1 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 800;
    line-height: 1.15;
}

.hero-slide p {
    color: rgba(255,255,255,.85);
}

.hero-slide .eyebrow {
    background: rgba(255, 122, 26, .18);
    color: #ffb27a;
}

#heroCarousel .carousel-indicators [data-bs-target] {
    width: 34px;
    height: 4px;
    border-radius: 3px;
    background: rgba(255,255,255,.4);
}

#heroCarousel .carousel-indicators .active {
    background: var(--brand-secondary);
}

#heroCarousel .carousel-control-prev,
#heroCarousel .carousel-control-next {
    width: 4%;
    opacity: 0;
    transition: opacity .2s ease;
}

#heroCarousel:hover .carousel-control-prev,
#heroCarousel:hover .carousel-control-next {
    opacity: .8;
}

/* ==========================================================================
   Icon boxes / Why Choose Us
   ========================================================================== */

.icon-box {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-light));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    box-shadow: 0 10px 22px rgba(11, 61, 99, .25);
    transition: transform .2s ease;
}

.why-choose-item:hover .icon-box {
    transform: translateY(-6px) rotate(-4deg);
}

/* ==========================================================================
   Cards: services / projects
   ========================================================================== */

.card-service, .card-project {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 4px 18px rgba(15, 36, 56, .08);
    transition: transform .25s ease, box-shadow .25s ease;
    overflow: hidden;
    position: relative;
}

.card-service::before, .card-project::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-secondary), var(--brand-primary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
    z-index: 2;
}

.card-service:hover, .card-project:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 36px rgba(15, 36, 56, .16);
}

.card-service:hover::before, .card-project:hover::before {
    transform: scaleX(1);
}

.card-service img, .card-project img {
    height: 220px;
    object-fit: cover;
}

.card-service .card-title, .card-project .card-title {
    font-weight: 700;
    font-size: 1.1rem;
}

/* ==========================================================================
   Industries
   ========================================================================== */

.industry-card {
    text-align: center;
    padding: 1.75rem 1.25rem;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 4px 16px rgba(15, 36, 56, .07);
    height: 100%;
    transition: transform .2s ease, box-shadow .2s ease;
}

.industry-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(15, 36, 56, .14);
}

/* ==========================================================================
   Career banner
   ========================================================================== */

.career-banner {
    background-size: cover;
    background-position: center;
    background-color: var(--brand-primary-dark);
    position: relative;
    padding: 5rem 0;
    color: #fff;
}

.career-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(8,26,42,.92), rgba(8,42,69,.75));
}

.career-banner .container {
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

.testimonial-card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 4px 16px rgba(15, 36, 56, .07);
    position: relative;
}

.testimonial-card .bi-quote {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    font-size: 2.5rem;
    color: var(--surface-alt);
    z-index: 0;
}

.testimonial-card .card-body {
    position: relative;
    z-index: 1;
}

.testimonial-card .text-warning {
    color: var(--brand-secondary) !important;
}

/* ==========================================================================
   Contact CTA
   ========================================================================== */

.cta-band {
    background: linear-gradient(120deg, var(--brand-primary-dark), var(--brand-primary));
    border-radius: 1.25rem;
    position: relative;
    overflow: hidden;
}

.cta-band::after {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    background: rgba(255, 122, 26, .15);
    border-radius: 50%;
    top: -120px;
    right: -80px;
}

/* ==========================================================================
   Stats
   ========================================================================== */

.stat-number {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.5rem;
    color: var(--brand-primary);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer-site {
    background: var(--surface-dark);
    color: #a9bacb;
}

.footer-site h6 {
    color: #fff;
    font-weight: 700;
    letter-spacing: .03em;
}

.footer-site a {
    color: #a9bacb;
    text-decoration: none;
}

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

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

.footer-site .social-links a:hover {
    background: var(--brand-secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
}

/* ==========================================================================
   WhatsApp float
   ========================================================================== */

.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1050;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 6px 18px rgba(37, 211, 102, .45);
    animation: whatsapp-pulse 2.2s infinite;
}

@keyframes whatsapp-pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); }
    70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ==========================================================================
   Gallery
   ========================================================================== */

.gallery-thumb {
    height: 220px;
    width: 100%;
    object-fit: cover;
    border-radius: .75rem;
    transition: transform .3s ease;
}

.gallery-thumb:hover {
    transform: scale(1.03);
}

/* ==========================================================================
   FAQ accordion
   ========================================================================== */

.accordion-item {
    border: none;
    border-radius: .75rem !important;
    overflow: hidden;
    margin-bottom: .75rem;
    box-shadow: 0 2px 10px rgba(15, 36, 56, .06);
}

.accordion-button {
    font-weight: 600;
    color: var(--ink);
}

.accordion-button:not(.collapsed) {
    background: var(--brand-primary);
    color: #fff;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-button::after {
    filter: none;
}

.accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

/* ==========================================================================
   Inner page hero (services/projects/blog show, page headers)
   ========================================================================== */

.page-hero {
    background: linear-gradient(120deg, var(--brand-primary-dark), var(--brand-primary));
    color: #fff;
    padding: 3.5rem 0;
}

.page-hero h1 {
    color: #fff;
    font-weight: 800;
}