:root {
    --clr-primary: #4c59a5;
    --clr-secondary: #FF8A17;
    --clr-ternary: #7BECDF;
    --clr-body: #6C6C6C;
    --clr-white: #fff;
}

/* Preloader Wrapper */
.preloader {
  position: fixed;
  inset: 0;
  background: #0f172a; /* dark navy / change as per brand */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* Hide state */
.preloader.hide {
  opacity: 0;
  visibility: hidden;
}

/* Content */
.preloader-content {
  text-align: center;
  color: #fff;
  font-family: Arial, sans-serif;
}

/* Spinner */
.spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top-color: #38bdf8; /* accent color */
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 15px;
}

/* Loading Text */
.preloader-content p {
  font-size: 16px;
  letter-spacing: 1px;
  opacity: 0.85;
}

/* Spinner Animation */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}


body,
html {
    font-family: "Anek Latin", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-size: 16px;
    color: var(--clr-body);
}

body {
    padding-top: 123px;
    overflow-x: hidden;
}

section{
    padding: 80px 0;
}

.top-header {
    background-color: var(--clr-primary);
    padding: 12px 0;
    text-align: right;
}

.top-hdr-list {
    padding-left: 0;
    margin: 0;
    margin-left: auto;
    list-style: none;
}

.top-hdr-list>li {
    display: inline-block;
    padding: 0 8px;
}

.top-hdr-list>li>a {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    font-size: 0.875rem;
}

.top-hdr-list>li:last-child {
    padding-left: 15px;
    padding-right: 0;
}

.top-hdr-list>li img {
    width: 20px;
    height: 20px;
    object-fit: cover;
}

header {
    background-color: #fff;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, .5);
}

header .navbar-nav>.nav-item {
    padding: 12px 15px;
}

header .navbar-nav>.nav-item>.nav-link {
    font-weight: 600;
    position: relative;
    padding: 0 0 8px;
}

header .navbar-nav>.nav-item>.nav-link.active {
    font-weight: 700;
    color: var(--clr-primary);
}

header .navbar-nav>.nav-item>.nav-link:hover {
    color: var(--clr-primary);
}

header .navbar-nav>.nav-item>.nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 0;
    height: 3px;
    transition: all .3s ease-in-out;
    background-color: var(--clr-primary);
    border-radius: 2px;
}

header .navbar-nav>.nav-item>.nav-link.active:after,
header .navbar-nav>.nav-item>.nav-link:hover:after {
    width: 100%;
}


header .navbar-nav>.nav-item.dropdown{
    position: relative;
    padding-right: 25px;
}

.dropdown::before{
    display: none;
}

.dropdown > a::before{
    content: '\f107';
    font-family: 'FontAwesome';
    margin-left: 5px;
    position: absolute;
    right: -15px;
    top: 45%;
    transform: translateY(-50%);
}

header .navbar-nav>.nav-item.dropdown>.nav-link:after{
    display: none;
}
.dropdown-menu{
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease-in-out;
    background-color: var(--clr-primary);
}

@media (min-width: 992px) {
    .dropdown-menu{
        display: block;
    }
}

.dropdown:hover >.dropdown-menu{
    margin-top: 0;
    opacity: 1;
    visibility: visible;
    padding-top: 0;
}

.dropdown-menu .dropdown-item{
    color: #fff;
    font-weight: 500;
    padding: 10px 20px;
    border-bottom: 1px solid rgba(255,255,255,.3);
    transition: all .3s ease-in-out;
}

.dropdown-menu .dropdown-item:hover, .dropdown-menu .dropdown-item:focus{
    background-color: var(--clr-secondary);
    color: #fff;
}

.section-head{
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--clr-primary);
    margin-bottom: 15px;
}

.section-subhead{
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--clr-primary);
    position: relative;
    display: inline-block;
    padding-left: 55px;
    margin-bottom: 15px;
}

.section-subhead::before {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    top: calc(50% - 1px);
    left: 0;
    max-width: 47px;
    background-color: var(--clr-primary);
    height: 2px;
}

.section-subhead::after {
    content: '';
    display: block;
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: var(--clr-primary);
    top: 50%;
    left: 7px;
    transform: translate(-50%, -50%) rotate(45deg);
}

.section-title{
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--clr-primary);
}

.bg-prime .section-subhead::before,
.bg-prime .section-subhead::after{
    background-color: #fff;
}

.list-split{
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: flex;
    gap: 15px; 
    flex-wrap: wrap;
    padding-bottom: 25px;
    margin-bottom: 25px;
    border-bottom: 1px solid #ccc;
}

.list-split li{
    position: relative;
    padding-left: 25px;
    font-weight: 500;
    flex-basis: 45%;
}

.list-split li::before{
    content: '\f05d';
    font-family: 'FontAwesome';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--clr-primary);
    font-size: 1.2rem;
}

.list-split.full-width li{
    flex-basis: 100%;
}

.list-split li::before{
    top: 0;
    transform: translateY(0);
}

.btn-primary, .btn-secondary {
    background-color: var(--clr-primary);
    border-color: var(--clr-primary);
    color: #fff;
    font-weight: 600;
    padding: 10px 25px;
    transition: all .3s ease-in-out;
}

.btn-secondary {
    background-color: var(--clr-secondary);
    border-color: var(--clr-secondary);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--clr-secondary);
    border-color: var(--clr-secondary);
    color: #fff;
}

.btn-primary:after, .btn-secondary:after{
    content: '\f105';
    font-family: 'FontAwesome';
    margin-left: 8px;
    transition: all .3s ease-in-out;
}

.btn-primary:hover:after, .btn-secondary:hover:after{
    margin-left: 12px;
}

.card-icon{
    width: 75px;
    height: auto;
    margin-right: 15px;
    background-color: #f8f9fa;
    padding: 10px;
    border-radius: 15px;
    transition: all .3s ease-in-out;
}

.link-btn{
    text-decoration: none;
    color: var(--clr-primary);
    font-weight: 600;
    position: relative;
    transition: all .3s ease-in-out;
}

.card-title{
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--clr-primary);
}

.link-btn:after{
    content: '\f105';
    font-family: 'FontAwesome';
    margin-left: 8px;
    transition: all .3s ease-in-out;
}

.link-btn.no-icon:after{
    display: none;
}

.link-btn:hover:after{
    margin-left: 12px;
}

.bg-light{
    background-color: #f8f9fa;
    padding: 80px 0;
    position: relative;
}

.bg-light.services-section::after{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: url(../images/shape002.png) no-repeat left bottom;
    bottom: 0;
    left: 0;
    z-index: 0;
}

.bg-light .container{
    position: relative;
    z-index: 1;
}

.services-card{
    transition: all .3s ease-in-out;
    text-decoration: none;
    /* margin-bottom: 25px; */
    opacity: .9;
    height: 100%;
}

.services-card .card-content{
    width: calc(100% - 115px);
}

.services-card:hover{
    box-shadow: 0 4px 15px rgba(0,0,0,.2);
    transform: translateY(-5px);
    border-color: var(--clr-primary);
    opacity: 1;

    .card-icon{
        background-color: var(--clr-primary);
        img{
            filter: brightness(0) invert(1);
        }
    }

    .link-btn::after{
        margin-left: 12px;
    }

}

.bg-prime{
    background: linear-gradient(135deg, #000 0%, var(--clr-primary) 100%);
    color: #fff;
    padding: 80px 0;
}


.counter-wrap {
    text-align: center;
    margin-bottom: 40px;
    border: 1px solid #ccc;
    padding: 35px 0;
}

.counter-wrap .counter{
    font-size: 3.5rem;
    color: inherit;
    font-weight: 700;
}

.counter-wrap .counter-title{
    font-size: 1.5rem;
    font-weight: 300;
}

.counter{
    position: relative;
    margin-bottom: 15px;
}

.counter:after{
    content:'';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin:0 auto;
    width: 30px;
    height: 3px;
    background-color: var(--clr-secondary);
}

.globe{
    animation: rotateGlobe 20s linear infinite;
    width: 250px;
}

@keyframes rotateGlobe {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Testimonial slider css starts*/

    .tech-swiper {
      width: 100%;
      box-sizing: border-box;
      padding: 30px 0 50px;
    }

    .tech-swiper .swiper-wrapper {
      align-items: stretch;
    }

    .tech-slide {
      display: flex;
      flex-direction: column;
      gap: 20px;
      align-items: stretch;
      height: auto;
      box-sizing: border-box;
      padding: 4px;
      transition: transform 300ms ease;
    }

    .tech-card {
      flex: 1 1 0;
      background: #ffffff;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0 18px;
      border: 1px solid rgba(10, 20, 40, 0.04);
        transition: transform 180ms ease, border-color 180ms ease;
    }

    .tech-card img {    
        max-width: 100%;
        max-height: max-content;
      object-fit: contain;
      display: block;
    }

    .tech-card:hover {
      transform: translateY(-4px);
        border: 1px solid #4b4a83;
    }

    .tech-swiper-nav {
      display:flex;
      gap:10px;
      justify-content:center;
      margin-top:18px;
    }
    .nav-button {
      background:#fff;
      border:1px solid rgba(0,0,0,0.06);
      width:40px;
      height:40px;
      border-radius:8px;
      display:inline-grid;
      place-items:center;
      cursor:pointer;
      box-shadow: 0 6px 14px rgba(18, 24, 40, 0.06);
    }

    @media (max-width: 1100px) {
      .tech-section-title { font-size: 28px; }
      .tech-card img { max-width: 100%; }
    }
    @media (max-width: 720px) {
        .tech-swiper{
            padding: 0 0 40px;
        }

      .tech-slide { height:auto; gap:12px; } 
    }

    /* Testimonial slider css ends */

.testimonails-card{
    border: 1px solid #ccc;
    padding: 25px;
    border-radius: 12px;
    background-color: #fff;
    transition: all .3s ease-in-out;
}

.hm-testimonials-slider{
    padding-bottom: 50px;
}

.hm-testimonials-slider .testimonails-card{
    position: relative;
}

.hm-testimonials-slider .testimonails-card:hover{
    box-shadow: 0 4px 15px rgba(0,0,0,.2);
    border-color: var(--clr-secondary);
}

.hm-testimonials-slider .testimonails-card::after{
    content: '\f10e';
    font-family: 'FontAwesome';
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 3rem;
    color: var(--clr-secondary);
    opacity: .5;
}

.services-swiper{
    padding: 30px 0;
}

.hm-testimonials-slider + .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet,
.services-swiper .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet,
.tech-swiper + .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{
    background-color: var(--clr-primary);
    opacity: .5;
    width: 8px;
    height: 8px;
    transition: all .3s ease-in-out;
}

.hm-testimonials-slider + .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet-active,
.services-swiper .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet-active,
.tech-swiper + .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet-active{
    opacity: 1;
}

.heroSwiper {
  width: 100%;
  height: 550px;
  position: relative;
}

.heroSwiper .swiper-slide{
    position: relative;
}

.heroSwiper .swiper-slide::after{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, rgb(11, 0, 81) 0%, rgba(75, 74, 131, 0) 80%);
    z-index: 1;
}

.heroSwiper .swiper-pagination-bullet{
    background-color: #fff;
    opacity: .7;
    width: 12px;
    height: 12px;
    transition: all .3s ease-in-out;
}

.heroSwiper .swiper-button-prev,
.heroSwiper .swiper-button-next{
    color: #fff;
    z-index: 99;
}

.heroSwiper .swiper-pagination-bullet-active{
    opacity: 1;
    background-color: var(--clr-secondary);
}

.heroSwiper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top right;
}

/* Caption base styling */
.heroSwiper .caption {
  position: absolute;
  padding: 25px;
  top: 30%;
    transform: translateY(-30%);
  left: 60px;
  color: #fff;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
  width: 50%;
  z-index: 9;
}

.caption h2 {
  font-size: 48px;
  margin: 0;
  font-weight: 700;
  line-height: 1.2;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease 0.2s;
}

.caption p {
  font-size: 20px;
  margin-top: 10px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease 0.4s;
}

/* Animation triggers: slide-active */
.swiper-slide-active .caption {
  opacity: 1;
  transform: translateY(0px);
}

.swiper-slide-active .caption h2 {
  opacity: 1;
  transform: translateY(0px);
}

.swiper-slide-active .caption p {
  opacity: 1;
  transform: translateY(0px);
}

/* Optional: Fade effect smoother */
.swiper-slide {
  transition: transform 1s ease;
}


.footer{
    background: linear-gradient(135deg, #000 0%, var(--clr-primary) 100%);
    color: #fff;
    padding: 40px 0;
    border-top: #ff8a17 12px solid;
}

.ftr-list{
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.ftr-list li{
    margin-bottom: 12px;
}
.ftr-list li a{
    text-decoration: none;
    color: #fff;
    transition: all .3s ease-in-out;
}

.ftr-list li a:hover{
    color: var(--clr-secondary);
}

.ftr-list li.ftr-heading{
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ff8a17;
}

.ftr-social{
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: flex;
    gap: 15px;
}

.ftr-social li a{
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: #fff;
    color: var(--clr-primary);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    transition: all .3s ease-in-out;
}

.ftr-social li a:hover{
    background-color: #ff8a17;
    color: #fff;
}



.inner-banner{
    max-height: 580px;
    position: relative;
    padding: 0;
}

.inner-banner img{
    object-fit: cover;
    object-position: center;
    width: 1920px;
    max-height: 420px;
}

.inner-banner .container{
    position: absolute;
    top: 100px;
    left: 0;
    right: 0;
    color: #fff;
}

.page-heading{
    color: #fff;
    font-size: 2rem;
    font-weight: 600;
}

.breadcrumb{
    background-color: rgba(255, 255, 255, .2);
    display: inline-block;
    padding: 8px 25px;
    border-radius: 25px;
    margin-bottom: 40px;
}

.breadcrumb-list{
    padding-left: 0;
    margin-bottom: 0;
}

.breadcrumb-list> li{
    list-style: none;
    display: inline-block;
    color: #fff;
}

.breadcrumb-list> li:not(:last-child){
    padding-right: 20px;
    margin-right: 10px;
    position: relative;
}

.breadcrumb-list> li:not(:last-child):after{
    content: "/";
    position: absolute;
    top: 0;
    right: 0;
}

.breadcrumb-list > li a{
    text-decoration: none;
    color: #fff;
}

.list-abt{
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.list-abt li{
    position: relative;
    font-weight: 500;
    margin-bottom: 12px;
    display: flex;
}

.list-abt li img{
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin-right: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 5px;
}

.list-abt .title{
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--clr-primary);
}


.abt-parallax{
    background: url(../images/abt-parallax.jpg) no-repeat top center;
    background-attachment: fixed;
    background-size: cover;
    padding: 80px 0;
    position: relative;
}

.abt-parallax::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .8);
    z-index: 0;
}

.abt-parallax .container{
    z-index: 2;
    position: relative;
}

.card-parallax{
    color: #fff;
    text-align: center;
    padding: 15px 30px;
}

.card-parallax .card-title{
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #fff;
}

.card-parallax .card-pic {
    background-color: var(--clr-primary);
    width: 65px;
    height: 65px;
    border-radius: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    padding: 10px;

    img{
        filter: brightness(0) invert(1);
    }
}

.cert-list >div{
    margin-bottom: 20px;
}

.cert-list .cert-title{
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--clr-primary);
}

.cert-list img{
    width: 100px;
    height: auto;
}

.vision-container{
    position: relative;
}

.vision-container img{
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,.2);
}

.vision-container .vision-caption{
    position: absolute;
    color: #fff;
    padding: 15px 25px;
    border-radius: 8px;
    top: 20px;
    left: 20px;
    max-width: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,.2);
}

.form-control{
    border-radius: 0;
    padding: 12px 15px;
    border: 0;
    background-color: transparent;
    border-bottom: 1px solid #ccc;
    font-size: 1rem;
    transition: all .3s ease-in-out;
}


.contact-card{
    background-color: #fff;
    box-shadow: 0px 10px 50px 0px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-top: -150px;
    z-index: 9;
    position: relative;
}

.contact-card .map-container{
    display: flex;
    height: 100%;
}

.contact-card .map-container iframe{
    width: 100%;
    height: 100%;
}

.contact-list{
    padding-left: 0;
    list-style: none;
}

.contact-list > li{
    margin-bottom: 24px;
}

.contact-title{
    font-weight: 600;
    font-size: 17px;
    color: #232323;
}


.text-primary{
    color: var(--clr-primary) !important;
}

.services-card{
    position: relative;
    overflow: hidden;
}

.card-num {
    font-size: 3rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.2);
    z-index: -1;
}

.no-border{
    border: none !important;
}

.ceo-name{
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--clr-primary);
}

.ceo-designation{
    font-size: 1rem;
    font-weight: 400;
    color: #666;
    margin-bottom: 15px;
}

.navbar-toggler{
    border: none;
}


@media (max-width: 992px) {
    body {
        padding-top: 160px;
    }
    .heroSwiper {
        height: 400px;
    }
    .heroSwiper .caption {
        top: 30px;
        width: calc(100% - 40px);
        left: 20px;
        padding: 15px;
    }

    .btn{
        font-size: .9rem;
    }

    .heroSwiper .caption h2 {
        font-size: 28px;
    }
    .heroSwiper .caption p {
        font-size: 16px;
    }

    .heroSwiper .swiper-button-prev, .heroSwiper .swiper-button-next{
        display: none;
    }

    .section-head{
        font-size: 1.75rem;
    }
    
    section, .bg-light{
        padding: 40px 0;
    }

    .inner-banner img{
        width: 100%;
        height: 300px;
        object-position: center center;
    }

    .inner-banner .container{
        top: 30px;
    }

    .breadcrumb{
        margin-bottom: 20px;
    }

    .page-heading{
        font-size: 1.5rem;
    }

    .vision-container .vision-caption{
        position: static;
        max-width: 100%;
        color: inherit;
    }

    .vision-container .vision-caption .text-white{
        color: inherit !important;
    }
}

@media (max-width: 576px) {
    .top-hdr-list:first-child{
        display: none;
    }
    body{
        padding-top: 135px;
    }
}