
/********** Template CSS **********/
:root{
    --bs-primary: #0767c6;   /* Spark Tech Blue */
}
h1, h2, h3, h4, h5, h6 {
  font-family: Cambria, Georgia, serif !important;
}
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
.bg-primary{
    background-color:#f5f8fa !important;
}
.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.fw-medium {
    font-weight: 500;
}
.container-fluid.bg-primary{
    padding-top:12px;
    padding-bottom:12px;
}
/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/* Partner Logo */
.partner-logo {
    max-width: 100px;
    height: auto;
    display: block;
    margin: 0 auto 15px;
    object-fit: contain;
}

/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

/* Primary Button */
.btn-primary,
.btn-outline-primary:hover {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    color: #fff;
}

/* Secondary Button */
.btn-secondary,
.btn-outline-secondary:hover {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    color: #fff;
}
.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    font-weight: normal;
}

.icon-box-primary,
.icon-box-light {
    position: relative;
    padding: 0 0 10px 10px;
    z-index: 1;
}

.icon-box-primary i,
.icon-box-light i {
    font-size: 60px;
    line-height: 0;
}

.icon-box-primary::before,
.icon-box-light::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 35px;
    left: 0;
    bottom: 0;
    border-radius: 35px;
    transition: .5s;
    z-index: -1;
}

.icon-box-primary::before {
    background: var(--bs-primary);
}

.icon-box-light::before {
    background: var(--bs-light);
}


.topbar-custom {
    position: relative;
    background: var(--bs-primary);
    overflow: hidden;
}


.topbar-custom .container {
    position: relative;
    z-index: 2;
}


/*** Navbar ***/

/*** Navbar ***/

.navbar-brand-custom {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Sticky Navbar */
.sticky-top {
    top: 0;
    transition: .5s;
}

/* Navbar links */
.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    margin-left: 10px;
    padding: 20px 0;
    color: var(--bs-dark);
    font-size: 18px;
    font-weight: 545;
    outline: none;
}
.navbar-nav .nav-link {
  font-family: 'Manrope', sans-serif;

  letter-spacing: 0.4px;
}
.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

/* Dropdown icon */
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}
/* ================= FONT SETUP ================= */
@font-face {
  font-family: 'Human Sans';
  src: url('../fonts/HumanSans-Regular.otf') format('opentype');
  font-weight: 400;
}

@font-face {
  font-family: 'Human Sans';
  src: url('../fonts/HumanSans-Bold.otf') format('opentype');
  font-weight: 700;
}


/* ================= HEADER BRAND ================= */
.brand-title {
    font-size: 30px;
    font-weight: 700;
    white-space: nowrap;
    font-family: 'Human Sans', sans-serif;
    color: #075fe2;
}
.sub-title {
    font-size: 11px;
    letter-spacing: 2px;
    color: #075fe2;   /* same blue OR change to gold */
    font-weight: 500;
}
/* Tablet & Mobile */
@media (max-width: 991.98px) {
    .brand-title {
        font-size: 18px;
        white-space: normal;
        line-height: 1.2;
    }
     .sub-title {
        font-size: 8px;
        letter-spacing: 1px;
    }
}

/* Small Mobile */
@media (max-width: 576px) {
    .brand-title {
        font-size: 14px;
    }
}


/* ================= FOOTER BRAND ================= */
.brand-titlefooter {
    font-family: 'Human Sans', sans-serif !important;
    font-weight: 700;
    font-size: 28px;
    letter-spacing: 1.0px;
    color: #075fe2;
}

/*** Desktop Navbar ***/
@media (min-width: 992px) {

    .sticky-top {
        z-index: 1030;
    }

    .navbar {
        height: 85px;
        padding: 0 20px; /* added spacing */
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease; /* smoother */
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        opacity: 1;
    }

    /* Desktop logo */
    .brand-logo {
        height: 54px; /* slightly bigger */
    }
}

/*** Mobile Navbar ***/
@media (max-width: 991.98px) {

    .navbar {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    /* Mobile menu background */
    .navbar-collapse {
        background: #ffffff;
        padding: 15px;
        margin-top: 10px;
        border-radius: 6px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    }

    .navbar .navbar-nav {
        margin-top: 10px;
        border-top: 1px solid #EEEEEE;
    }

    .navbar .navbar-nav .nav-link {
        margin: 0;
        padding: 10px 0;
        font-size: 16px;
        border-bottom: 1px solid #f1f1f1;
    }

    .navbar .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }

    /* Mobile logo */
    .brand-logo {
        height: 38px;
    }
}


/*** Header ***/
@media (min-width: 992px) {
    .header-carousel,
    .page-header {
        margin-top: -34px;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    background: rgba(3, 27, 78, .3);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 3.5rem;
    background-color: var(--bs-primary);
    border: 15px solid var(--bs-primary);
}

@media (max-width: 767.98px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}
/*
.page-header {
    background: linear-gradient(rgba(2, 18, 55, 0.75), rgba(2, 18, 55, 0.75)),
                url(../img/principle.webp) center center no-repeat;
    background-size: cover;
    margin-top: 4px;
}
*/
.page-header {
    background: linear-gradient(rgba(2, 18, 55, 0.75), rgba(2, 18, 55, 0.75));
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-top: 4px;
}

/* Different images for each page */
.about-header {
    background-image: linear-gradient(rgba(2, 18, 55, 0.75), rgba(2, 18, 55, 0.75)),
                      url(../img/service.webp);
}

.service-header {
    background-image: linear-gradient(rgba(2, 18, 55, 0.75), rgba(2, 18, 55, 0.75)),
                      url(../img/service1.webp);
}
.principle-header {
    background-image: linear-gradient(rgba(7, 27, 47, 0.75), rgba(2, 18, 55, 0.75)),
                      url(../img/image.png);
}
.careers-header {
    background-image: linear-gradient(rgba(2, 18, 55, 0.75), rgba(2, 18, 55, 0.75)),
                      url(../img/careers.webp);
}
.contact-header {
    background-image: linear-gradient(rgba(2, 18, 55, 0.75), rgba(2, 18, 55, 0.75)),
                      url(../img/contact.webp);
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--bs-white);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--bs-white);
}
.page-title {
    font-size: 45px;
    font-weight: 700;
}

.about-img {
    width: 100%;
    height: 200px;          /* same height for all */
    object-fit: cover;      /* crop nicely */
}
.about-wrapper {
    position: relative;
}
/* Center Blue Box */
.fact-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    background: #C69129; /* blue */
    width: 170px;
    height: 170px;

    z-index: 10;
}
/**partner**/
.partner-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.partner-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.partner-logo {
    max-height: 60px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto 15px;
}
/**partner**/
.container-fluid {
    padding-left: 0;
    padding-right: 0;
}

/*** About ***/
.about-fact {
    width: 220px;
    height: 220px;
    box-shadow: 0 0 30px rgba(0, 0, 0, .1);
}

@media (min-width: 576px) {
    .about-fact.mt-n130 {
        margin-top: -130px;
    }
}

.about-highlight {
    font-weight: 500;
    color: #0d6efd;
    font-size: 15px;
}

.fact-blue{
    background-color: #0767c6;
    box-shadow: 0 10px 25px rgba(7,103,198,0.3);
}

/*** About ***/

.cert-logo{
    max-height: 200px;
    transition:0.3s;
}

.cert-logo:hover{
    transform:scale(1.05);
}


.sales-title{
    font-size: 36px;
    font-weight: 700;
    color: #0c5fa7;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.sales-title::after{
    content: "";
    width: 80px;
    height: 4px;
    background: #eac909;
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    border-radius: 5px;
}

.sales-subtitle{
    color: #6c757d;
    font-size: 16px;
    margin-top: 10px;
}
.mt-5{
margin-top: 3rem !important;
}


/* Project Image Box */
.project-img-box {
    background: #ffffff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
}

/* Uniform Image Styling */
.project-img {
    width: 100%;
    height: 280px;
    object-fit: contain; /* keeps full image without distortion */
    background: #fff; /* same background for all */
    border-radius: 8px;
}

/* Mobile spacing */
@media (max-width: 768px) {
    .project-img {
        height: 220px;
        margin-bottom: 20px;
    }
}





/*** Service ***/
.container-service {
    position: relative;
}

.container-service::before {
    position: absolute;
    content: '';
    background: var(--bs-light);
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    clip-path: polygon(0 0, 100% 0, 100% 30%, 0 70%);
    z-index: -1;
}

.service-item {
    position: relative;
    height: 100%;
    padding: 45px 30px;
    background: var(--bs-white);
    box-shadow: 0 0 45px rgba(0, 0, 0, .05);
}

.service-item::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    left: 0;
    bottom: 0;
    transition: .5s;
    background: var(--bs-primary);
}

.service-item:hover::before {
    height: 100%;
    top: 0;
}

.service-item * {
    position: relative;
    transition: .5s;
    z-index: 1;
}

.service-item:hover h5,
.service-item:hover p {
    color: var(--bs-white);
}

.service-item:hover .icon-box-primary::before {
    background: var(--bs-dark);
}

.service-item:hover .icon-box-primary i {
    color: var(--bs-white) !important;
}



/*** Manufacturer ***/
.manufacturer-box {
    background: #ffffff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.manufacturer-box:hover {
    transform: translateY(-5px);
}

.product-img {
    height: 300px;
    object-fit: contain;
    max-width: 100%;
}

.carousel-item h5 {
    font-weight: 600;
}


/***scrol style***/

.ticker-wrapper {
    width: 100%;
    background:#0a52be;
    overflow: hidden;
    padding: 43px 0;
    position: relative;
}

/* Container */
.ticker-container {
    overflow: hidden;
    position: relative;
    z-index: 1; /* lower than arrows */
}

.ticker-content {
    display: flex;
    align-items: center;
    gap: 100px;
    animation: scrollLeft 22s linear infinite;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Item */
.ticker-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    min-width: 320px;
}

/* 🔥 IMAGE FIX (IMPORTANT) */
.ticker-item img {
    width: 300px;
    height: 190px;
    object-fit: contain;   /* 🔥 FIXED */
    background: #fff;      /* 🔥 clean background */
    padding: 10px;
    border-radius: 12px;
    transition: 0.3s;
}

/* Text */
.ticker-item p {
    margin-top: 12px;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
}

/* Hover */
.ticker-item:hover img {
    transform: scale(1.05);
}

/* Animation */
@keyframes scrollLeft {
    0% { margin-left: 0; }
    100% { margin-left: -50%; }
}
/* Pause */
.ticker-container:hover .ticker-content {
    animation-play-state: paused;
}

/* 🔥 ARROWS (better UI) */
.ticker-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: #fff;
    padding: 12px 16px;
    background: rgba(0,0,0,0.6);
    border-radius: 50%;
    z-index: 9999;   /* 🔥 VERY IMPORTANT */
    cursor: pointer;
}


.ticker-btn.left { left: 15px; }
.ticker-btn.right { right: 15px; }



/* ===============================
   MOBILE VIEW OPTIMIZATION
   =============================== */
@media (max-width: 768px) {

    /* 🔹 Wrapper (fix wide white space) */
    .ticker-wrapper {
        max-width: 95%;
        margin: 10px auto;
        padding: 0;
    }

    /* 🔹 Blue section (increase height) */
    .ticker-container {
        height: 200px;
        border-radius: 12px;
        overflow: hidden;
        display: flex;
        align-items: center;
    }

    /* 🔹 Content scroll */
    .ticker-content {
        display: flex;
        gap: 8px;
        animation: scrollMobile 45s linear infinite;
    }

    /* 🔹 Each item */
    .ticker-item {
        width: 110px;
        min-width: 110px;
        height: 120px;
        margin: 0 5px;
        text-align: center;
    }

    /* 🔹 Images */
    .ticker-item img {
        width: 100%;
        height: 75px;
        object-fit: contain;
        border-radius: 8px;
    }

    /* 🔹 Text */
    .ticker-item p {
        font-size: 12px;
        margin-top: 4px;
    }

    /* 🔹 Arrow buttons (smaller) */
    .ticker-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
        opacity: 0.9;
    }

    .ticker-btn.left {
        left: 5px;
    }

    .ticker-btn.right {
        right: 5px;
    }
}

/* ===============================
   MOBILE SCROLL SPEED (FASTER)
   =============================== */
@keyframes scrollMobile {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/*** Contact ***/
@media (min-width: 992px) {
    .contact-info::after {
        position: absolute;
        content: "";
        width: 0px;
        height: 100%;
        top: 0;
        left: 50%;
        border-left: 1px dashed rgba(255, 255, 255, .2);
    }
}

@media (max-width: 991.98px) {
    .contact-info::after {
        position: absolute;
        content: "";
        width: 100%;
        height: 0px;
        top: 50%;
        left: 0;
        border-top: 1px dashed rgba(255, 255, 255, .2);
    }
}

/*** Footer (Compact Version) ***/
.footer {
    background: linear-gradient(#C69129,#C69129), url(../img/footer.png) center center no-repeat;
    background-size: contain;

    padding-top: 15px;   /* reduced */
    padding-bottom: 8px; /* reduced */
    line-height: 1.4;    /* tighter text */
}

/* Reduce default spacing */
.footer p {
    margin-bottom: 5px;
    font-size: 13px;
}

/* Reduce heading size */
.footer h4 {
    font-size: 16px;
    margin-bottom: 10px;
}

/* Vertical divider stays same */
@media (min-width: 992px) {
    .footer::after {
        position: absolute;
        content: "";
        width: 0px;
        height: 100%;
        top: 0;
        left: 50%;
        border-left: 1px dashed rgb(255, 255, 255);
    }
}

/* Compact links */
.footer .btn.btn-link {
    display: block;
    margin-bottom: 3px;
    padding: 0;
    text-align: left;
    color: #ffffff; /* FIXED contrast */
    font-weight: 400;
    font-size: 13px;
    text-transform: capitalize;
    transition: .3s;
}

/* Arrow icon spacing fix */
.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    color: rgb(255, 255, 255);
    margin-right: 6px;
}

/* Hover */
.footer .btn.btn-link:hover {
    color: var(--bs-primary);
    letter-spacing: 0.5px;
    box-shadow: none;
}

/* Copyright compact */
.copyright {
    border-top: 1px dashed rgb(255, 246, 246);
    margin-top: 10px;
    padding-top: 6px;
    font-size: 13px;
}

/* Links inside copyright */
.copyright a {
    color: var(--bs-white);
}

.copyright a:hover {
    color: var(--bs-primary);
}


/* LinkedIn button compact */
.footer .btn-lg-square {
    width: 32px;
    height: 32px;
    font-size: 13px;
    padding: 0;
}



/* Flex container for company + certificate */
.footer-company-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
}

/* Keep text compact */
.footer-company-text p {
    margin-bottom: 5px;
    font-size: 13px;
}

/* Certificate on side */
.footer-cert-side {
    display: flex;
    align-items: center;
}

/* Certificate size */
.footer-cert-logo {
    max-height: 85px;
    width: auto;
}

/* ================= MOBILE VIEW ================= */
@media (max-width: 768px) {

    /* Stack company + certificate */
    .footer-company-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    /* Center certificate for better look */
    .footer-cert-side {
        width: 100%;
        justify-content: flex-start;
    }

    .footer-cert-logo {
        max-height: 60px;
    }

    /* Reduce text size slightly */
    .footer p {
        font-size: 12px;
        margin-bottom: 4px;
    }

    /* Headings */
    .footer h4 {
        font-size: 14px;
        margin-bottom: 8px;
    }

    /* Links tighter */
    .footer .btn.btn-link {
        font-size: 12px;
        margin-bottom: 2px;
    }

    /* Reduce spacing between columns */
    .footer .row {
        row-gap: 10px;
    }

    /* Remove vertical divider in mobile */
    .footer::after {
        display: none;
    }

    /* Center everything for clean look */
    .footer .col-lg-6,
    .footer .col-sm-6 {
        text-align: left;
    }

    /* LinkedIn button slightly smaller */
    .footer .btn-lg-square {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    /* Copyright */
    .copyright {
        font-size: 12px;
        margin-top: 8px;
        padding-top: 5px;
    }
}