/* =========================================================
   Global
   ========================================================= */

:root {
    --primary-color: #2563eb;
    --secondary-color: #0f172a;
    --accent-color: #06b6d4;
    --background-color: #ffffff;
    --text-color: #334155;
    --heading-font: "Inter", sans-serif;
    --body-font: "Inter", sans-serif;
    --hero-image-top-crop: 0px;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    background: var(--background-color);
    color: var(--text-color);
    font-family: var(--body-font);
}

main {
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--secondary-color);
    font-family: var(--heading-font);
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.text-primary {
    color: var(--primary-color) !important;
}

/* =========================================================
   Header
   ========================================================= */

.site-header {
    position: relative;
    z-index: 1000;
    margin: 0;
    padding: 0;
    border: 0;
    background: #ffffff;
}

    .site-header .navbar {
        height: 84px;
        min-height: 84px;
        padding: 0;
    }

    .site-header .navbar-brand {
        position: relative;
        width: 210px;
        height: 84px;
        display: flex;
        align-items: center;
        justify-content: center;
        /* IMPORTANT */
        overflow: visible;
        padding: 0;
        margin: 0 25px 0 0;
        flex-shrink: 0;
    }

        .site-header .navbar-brand .site-logo {
            width: 205px;
            height: 82px;
            max-width: 205px;
            max-height: 82px;
            object-fit: contain;           
            position: static;
            transform: none;
        }

.site-header .nav-link {
    position: relative;
    padding: 10px 13px !important;
    color: #334155;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

    .site-header .nav-link:hover,
    .site-header .nav-link:focus {
        color: var(--primary-color);
    }

    .site-header .nav-link::after {
        content: "";
        position: absolute;
        right: 13px;
        bottom: 4px;
        left: 13px;
        height: 2px;
        border-radius: 3px;
        background: var(--primary-color);
        transform: scaleX(0);
        transform-origin: center;
        transition: transform 0.25s ease;
    }

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

.site-header .btn {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-right: 18px;
    padding-left: 18px;
    border-radius: 10px;
    font-weight: 600;
}

/* =========================================================
   Professional Home Carousel
   ========================================================= */

.home-slider-section,
.home-slider-section .carousel,
.home-slider-section .carousel-inner,
.home-slider-section .carousel-item {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

.home-slider-section {
    position: relative;
    overflow: hidden;
}

.home-slide {
    position: relative;
    min-height: 680px;
    overflow: hidden;
    background: #071126;
}

.home-slide-background {
    position: absolute;
    top: calc(var(--hero-image-top-crop) * -1);
    right: 0;
    bottom: 0;
    left: 0;
    height: calc(100% + var(--hero-image-top-crop));
    z-index: 0;
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    transform: scale(1);
    transform-origin: center center;
    will-change: transform;
}

.carousel-item.active .home-slide-background {
    animation: home-slider-zoom 7s ease-out both;
}

.home-slide-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient( 90deg, rgba(4, 13, 32, 0.94) 0%, rgba(4, 13, 32, 0.86) 35%, rgba(4, 13, 32, 0.58) 60%, rgba(4, 13, 32, 0.18) 100% );
}

.home-slide-container {
    position: relative;
    z-index: 3;
}

.min-vh-slider,
.home-slide .container,
.home-slide .row {
    min-height: 680px;
}

.home-slide-content {
    max-width: 760px;
    padding: 80px 0 100px;
    color: #ffffff;
    animation: home-content-in 0.8s ease both;
}

.home-slide-badge {
    display: inline-flex;
    align-items: center;
    margin-bottom: 22px;
    padding: 9px 17px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.11);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
}

.home-slide-title {
    max-width: 740px;
    margin: 0 0 24px;
    color: #ffffff;
    font-size: clamp(2.8rem, 4.3vw, 4.8rem);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.035em;
    text-shadow: 0 10px 35px rgba(0, 0, 0, 0.35);
}

.home-slide-description {
    max-width: 630px;
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.12rem;
    line-height: 1.75;
}

.home-slide-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.home-slide-button {
    min-width: 180px;
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 650;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

    .home-slide-button:hover {
        transform: translateY(-3px);
    }

    .home-slide-button.btn-primary:hover {
        box-shadow: 0 12px 30px rgba(37, 99, 235, 0.4);
    }

    .home-slide-button.btn-outline-light {
        border-color: rgba(255, 255, 255, 0.7);
        background: rgba(255, 255, 255, 0.06);
        backdrop-filter: blur(10px);
    }

        .home-slide-button.btn-outline-light:hover {
            border-color: #ffffff;
            background: #ffffff;
            color: #0f172a;
        }

.home-slide-points {
    display: flex;
    flex-wrap: wrap;
    gap: 26px;
    margin-top: 42px;
}

.home-slide-point {
    display: flex;
    align-items: center;
    gap: 9px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.94rem;
    font-weight: 600;
}

    .home-slide-point i {
        width: 34px;
        height: 34px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.08);
        color: #7dd3fc;
    }

.home-slider-section .carousel-control-prev,
.home-slider-section .carousel-control-next {
    width: 80px;
    opacity: 1;
}

.slider-arrow {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.36);
    color: #ffffff;
    font-size: 1.25rem;
    backdrop-filter: blur(12px);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

    .slider-arrow:hover {
        transform: scale(1.08);
        background: var(--primary-color);
    }

.home-slider-section .carousel-indicators {
    bottom: 26px;
    z-index: 5;
    margin-bottom: 0;
}

    .home-slider-section .carousel-indicators button {
        width: 30px;
        height: 4px;
        margin: 0 5px;
        border: 0;
        border-radius: 10px;
        background-color: rgba(255, 255, 255, 0.55);
        transition: width 0.25s ease;
    }

        .home-slider-section .carousel-indicators button.active {
            width: 58px;
            background-color: #ffffff;
        }

.carousel-fade .carousel-item {
    transition: opacity 0.8s ease-in-out;
}

@keyframes home-slider-zoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.07);
    }
}

@keyframes home-content-in {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   General Content
   ========================================================= */

.hero-section {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(20, 184, 166, 0.08));
}

.hero-card {
    background: var(--secondary-color);
    color: #ffffff;
}

    .hero-card h3 {
        color: #ffffff;
    }

.section-label {
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.content-card {
    background: #ffffff;
    border: 1px solid #e8edf3;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .content-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 18px 40px rgba(15, 23, 42, 0.09);
    }

.product-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.placeholder-box {
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
}

.page-banner {
    background: var(--secondary-color);
    color: #ffffff;
}

    .page-banner h1 {
        color: #ffffff;
    }

.site-footer {
    background: var(--secondary-color);
    color: #ffffff;
}

.service-large-icon {
    color: var(--primary-color);
    font-size: 10rem;
}

.form-control,
.form-select {
    min-height: 46px;
    border-radius: 10px;
}

/* =========================================================
   Tablet
   ========================================================= */

@media (max-width: 991.98px) {
    :root {
        --hero-image-top-crop: 100px;
    }

    .site-header .navbar {
        min-height: 74px;
    }

    .site-logo {
        height: 48px;
    }

    .site-header .navbar-collapse {
        margin-top: 12px;
        padding: 16px;
        border-radius: 14px;
        background: #ffffff;
        box-shadow: 0 16px 35px rgba(15, 23, 42, 0.12);
    }

    .home-slide,
    .min-vh-slider,
    .home-slide .container,
    .home-slide .row {
        min-height: 620px;
    }

    .home-slide-overlay {
        background: rgba(4, 13, 32, 0.78);
    }

    .home-slide-content {
        max-width: 680px;
        margin: auto;
        padding: 75px 30px 95px;
        text-align: center;
    }

    .home-slide-title,
    .home-slide-description {
        margin-right: auto;
        margin-left: auto;
    }

    .home-slide-actions,
    .home-slide-points {
        justify-content: center;
    }

    .home-slider-section .carousel-control-prev,
    .home-slider-section .carousel-control-next {
        display: none;
    }
}

/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 575.98px) {
    :root {
        --hero-image-top-crop: 60px;
    }

    .site-logo {
        height: 43px;
    }

    .home-slide,
    .min-vh-slider,
    .home-slide .container,
    .home-slide .row {
        min-height: 590px;
    }

    .home-slide-content {
        padding: 65px 18px 90px;
    }

    .home-slide-title {
        font-size: 2.45rem;
        line-height: 1.08;
    }

    .home-slide-description {
        font-size: 1rem;
        line-height: 1.65;
    }

    .home-slide-actions {
        width: 100%;
    }

    .home-slide-button {
        width: 100%;
    }

    .home-slide-points {
        gap: 14px;
    }

    .home-slide-point {
        width: 100%;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .carousel-item.active .home-slide-background,
    .home-slide-content {
        animation: none;
    }
}

.navbar-brand {
    display: flex;
    align-items: center;
    height: auto;
    margin: 0;
    padding: 0;
}



/* Tablet */
@media (max-width: 991.98px) {

    .site-header .navbar {
        height: auto;
        min-height: 74px;
    }

    .site-header .navbar-brand {
        width: 180px;
        height: 74px;
    }

        .site-header .navbar-brand .site-logo {
            width: 190px;
            height: 110px;
            transform: translate(-50%, -50%) scale(1.35);
        }
}

/* Mobile */
@media (max-width: 575.98px) {

    .site-header .navbar-brand {
        width: 145px;
        height: 68px;
    }

        .site-header .navbar-brand .site-logo {
            width: 155px;
            height: 95px;
            transform: translate(-50%, -50%) scale(1.30);
        }
}
/* =========================================================
   HOME PAGE - ABOUT COMPANY
   ========================================================= */

.about-section {
    position: relative;
    overflow: hidden;
    background: radial-gradient( circle at 5% 10%, rgba(37, 99, 235, 0.08), transparent 28% ), linear-gradient( 180deg, #ffffff 0%, #f8fbff 100% );
}

    .about-section::after {
        content: "";
        position: absolute;
        right: -180px;
        bottom: -180px;
        width: 420px;
        height: 420px;
        border-radius: 50%;
        background: rgba(37, 99, 235, 0.04);
        pointer-events: none;
    }

    .about-section .container {
        position: relative;
        z-index: 2;
        max-width: 1320px;
    }


/* Visual */

.about-home-visual {
    position: relative;
    padding: 18px 18px 34px 0;
}

    .about-home-visual::before {
        content: "";
        position: absolute;
        top: -12px;
        left: 34px;
        width: calc(100% - 10px);
        height: calc(100% - 40px);
        border-radius: 28px;
        background: linear-gradient( 135deg, rgba(37, 99, 235, 0.13), rgba(6, 182, 212, 0.05) );
    }

.about-home-image {
    position: relative;
    z-index: 2;
    overflow: hidden;
    height: 500px;
    border-radius: 26px;
    background: #e2e8f0;
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.16);
}

    .about-home-image img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        object-position: 66% center;
        transition: transform 0.6s ease;
    }

    .about-home-image:hover img {
        transform: scale(1.025);
    }

.about-home-placeholder {
    position: relative;
    z-index: 2;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 26px;
    background: #e2e8f0;
    color: #94a3b8;
    font-size: 5rem;
}


/* Experience badge */

.about-home-badge {
    position: absolute;
    right: -12px;
    bottom: 0;
    z-index: 5;
    max-width: 330px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 17px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 17px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.14);
    backdrop-filter: blur(14px);
}

.about-home-badge-value {
    min-width: 66px;
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 850;
    line-height: 1;
}

.about-home-badge strong,
.about-home-badge span {
    display: block;
}

.about-home-badge strong {
    color: #0f172a;
    font-size: 0.92rem;
}

.about-home-badge span {
    margin-top: 3px;
    color: #64748b;
    font-size: 0.76rem;
    line-height: 1.45;
}


/* Content */

.about-home-title {
    max-width: 760px;
    margin: 0 0 16px;
    color: #0f172a;
    font-size: clamp(2.5rem, 3.6vw, 3.8rem);
    font-weight: 850;
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.about-home-subtitle {
    max-width: 720px;
    margin-bottom: 20px;
    color: #334155;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.55;
}

.about-home-description {
    max-width: 740px;
    color: #64748b;
    font-size: 1.04rem;
    line-height: 1.8;
}

    .about-home-description p {
        margin-bottom: 1rem;
    }

        .about-home-description p:last-child {
            margin-bottom: 0;
        }


/* Feature points */

.about-home-points {
    display: grid;
    gap: 13px;
    margin-top: 30px;
}

.about-home-point {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 15px 16px;
    border: 1px solid #e5ebf3;
    border-radius: 14px;
    background: rgba(255,255,255,.85);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

    .about-home-point:hover {
        transform: translateX(5px);
        border-color: rgba(37, 99, 235, 0.28);
        box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
    }

.about-home-point-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: rgba(37, 99, 235, 0.10);
    color: var(--primary-color);
    font-size: 1.2rem;
}

.about-home-point strong,
.about-home-point span {
    display: block;
}

.about-home-point strong {
    margin-bottom: 3px;
    color: #0f172a;
    font-size: 0.94rem;
}

.about-home-point span {
    color: #64748b;
    font-size: 0.82rem;
    line-height: 1.55;
}


/* Buttons */

.about-home-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    margin-top: 30px;
}

    .about-home-actions .btn {
        min-height: 52px;
        padding: 13px 22px;
        border-radius: 11px;
    }

.about-home-text-link {
    display: inline-flex;
    align-items: center;
    color: #334155;
    font-weight: 700;
}

    .about-home-text-link:hover {
        color: var(--primary-color);
    }


/* Responsive */

@media (max-width: 991.98px) {

    .about-home-visual {
        max-width: 720px;
        margin: 0 auto 35px;
        padding-right: 0;
    }

    .about-home-image,
    .about-home-placeholder {
        height: 470px;
    }

    .about-home-badge {
        right: 20px;
    }

    .about-home-title,
    .about-home-subtitle,
    .about-home-description {
        max-width: none;
    }
}

@media (max-width: 575.98px) {

    .about-home-visual {
        padding: 0;
    }

        .about-home-visual::before {
            display: none;
        }

    .about-home-image,
    .about-home-placeholder {
        height: 340px;
        border-radius: 20px;
    }

    .about-home-badge {
        position: relative;
        right: auto;
        bottom: auto;
        max-width: none;
        margin-top: 15px;
    }

    .about-home-title {
        font-size: 2.35rem;
    }

    .about-home-subtitle {
        font-size: 1.08rem;
    }

    .about-home-actions {
        display: grid;
        gap: 15px;
    }

        .about-home-actions .btn {
            width: 100%;
        }
}


.section-space {
    padding: 100px 0;
}

@media (max-width: 991.98px) {
    .section-space {
        padding: 80px 0;
    }
}

@media (max-width: 575.98px) {
    .section-space {
        padding: 65px 0;
    }
}