body {
  font-family: "Lato", sans-serif;
}

section {
  padding: 40px 0;
}

h2 {
  font-weight: 700;
  margin-bottom: 50px;
  text-align: center;
}

.lato-thin {
  font-family: "Lato", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.lato-light {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.lato-regular {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.lato-bold {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.lato-black {
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.lato-thin-italic {
  font-family: "Lato", sans-serif;
  font-weight: 100;
  font-style: italic;
}

.lato-light-italic {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.lato-regular-italic {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.lato-bold-italic {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-style: italic;
}

.lato-black-italic {
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-style: italic;
}


/* Navbar */
.navbar {
  padding: 15px 30px;
  padding-top: 0;
  padding-right: 0;
}

.navbar-brand {
  font-weight: bold;
  color: #f1c40f !important;
  padding: 10px 15px;
  border-radius: 25px;
  border: 1px #F00;
}

.navbar-brand .img-logo {
  width: auto;
  height: 80px;
}

.slick-slide img {
    display: block;
    object-fit: contain;
    width: 100%;
    max-width: 100%;
    max-height: 100%;
}

.menu-bg {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  border-bottom-left-radius: 40px;
  padding: 8px 25px;
}

.align-itm {
  align-items: start !important;
}

.nav-link {
  color: #fff !important;
  font-weight: 600;
  text-transform: uppercase;
  margin: 0 12px;
}

.navbar-toggler {
  border: none;
  color: #fff;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.custom-toggler {
  font-size: 22px;
  color: #f1c40f;
  cursor: pointer;
}

/* Offcanvas */
.offcanvas {
  background: #0c1e41;
  color: white;
}

.offcanvas a {
  color: #f1c40f;
  font-size: 22px;
  margin: 10px 0px;
  display: block;
  text-decoration: none;
  padding: 20px 20px;
}

.offcanvas:hover a {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
}

.offcanvas a:hover {
  background: rgba(255, 255, 255, 0.2);
}

.hero {
  /*background: #344d79 url('video/banner.mp4') no-repeat center center/cover;*/
  color: #fff;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: end;
  justify-content: center;
  text-align: center;
  padding: 0 15px;
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; 
  z-index: -1; 
}

.hero-content {
  padding-bottom: 10%;
}

.hero h1 {
  font-size: 5rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.hero p {
  font-size: 2rem;

}

/* Responsive */
@media(max-width: 991px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero {
    /*background: #344d79 url('images/bg-home.jpg') no-repeat center top/cover;*/
    /*height: auto;*/
  }
}

@media(max-width: 575px) {
  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 12px;
  }
}

/* Carousel 3D */
.carousel3d {
  perspective: 1000px;
  height: 320px;
  position: relative;
}

.carousel3d .item {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-style: preserve-3d;
  transition: transform 1s;
  transform: translate(-50%, -50%) rotateY(var(--r, 0deg)) translateZ(420px);
}

.carousel3d img {
  width: 280px;
  border-radius: 12px;
}

.carousel3d {
  position: relative;
  perspective: 1500px;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
}

.carousel3d .item {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-style: preserve-3d;
  transition: transform 1s, z-index 1s;
}

.carousel-card {
  width: clamp(220px, 25vw, 300px);
  border-radius: 15px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
}

.carousel-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.carousel-card .caption {
  padding: 12px;
  font-size: clamp(14px, 2vw, 18px);
  font-weight: bold;
  color: #0c1e41;
}

/* --- Responsive Tweaks --- */
@media (max-width: 992px) {
  .carousel3d {
    height: 420px;
  }

  .carousel-card img {
    height: 160px;
  }
}

@media (max-width: 768px) {
  .carousel3d {
    height: auto;
    flex-wrap: wrap;
    perspective: none;
    gap: 20px;
    justify-content: center;
  }

  .carousel3d .item {
    position: relative;
    top: auto;
    left: auto;
    transform: none !important;
    flex: 1 1 calc(50% - 20px);
    max-width: 260px;
  }

  .carousel-card {
    width: 100%;
  }

  .carousel-card img {
    height: 150px;
  }

  .blue-bg h2 {
    font-size: 35px !important;
  }

  section {
    padding: 30px 0;
  }
  .blue-bg p
    {
    font-size: 16px !important;
    font-weight: 300;
    }

.contact .left-info {
    padding-left:6% !important;
    }
.navbar {
  padding: 15px 30px;
  padding-top: 0;
  padding-right: 0;
  padding-left: 0;
  padding-bottom: 0;
  background:rgba(255,255,255, 0.3) !important;
}

.navbar-brand .img-logo {
  width: auto;
  height: 60px;
}
.align-itm {
  align-items: center !important;
}

}

@media (max-width: 480px) {
  .carousel3d .item {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .carousel-card img {
    height: 140px;
  }
}


/* Why */
.why {
  background: #0c1e41 url('https://via.placeholder.com/1600x600') no-repeat center/cover;
  color: #fff;
  text-align: center;
  padding: 100px 20px;
}


/* Clients */
.clients {
  background: #f9f9f9;
}

.client-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 10px 0;
}

/* The lists will be duplicated and moved with transform */
.client-slider ul {
  list-style: none;
  padding: 0;
  margin: 0 50px;
  display: inline-flex;
  /* one long row */
  align-items: center;
  gap: 40px;
  /* space between logos */
  will-change: transform;
}

.client-slider li {
  flex: 0 0 auto;
  min-width: 150px;
   text-align: -webkit-center;
}

.client-slider img {
  height: 60px;
  width: auto;
  display: block;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: opacity .2s ease, filter .2s ease, transform .2s ease;
}

.client-slider img:hover {
  filter: none;
  opacity: 1;
  transform: scale(1.06);
}

/* The clone sits on top; JS will translate both together */
.client-slider .clone {
  position: absolute;
  top: 0;
  left: 0;
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .client-slider ul {
    transition: none !important;
  }
}


/* Testimonial Carousel Base */

.testimonial-item {
  transition: transform 0.7s ease, opacity 0.7s ease;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}



/* Flip from right (Next) */
.flip-in-right {
  animation: flipInRight 0.60s ease forwards;
}

@keyframes flipInRight {
  0% {
    transform: rotateY(90deg);
    opacity: 0;
  }

  100% {
    transform: rotateY(0);
    opacity: 1;
  }
}

/* Flip from left (Prev) */
.flip-in-left {
  animation: flipInLeft 0.7s ease forwards;
}

@keyframes flipInLeft {
  0% {
    transform: rotateY(-90deg);
    opacity: 0;
  }

  100% {
    transform: rotateY(0);
    opacity: 1;
  }
}


/* Section background */
#testimonials {
  background-color: #1d2b56;
  /* Dark background */
  color: #fff;
  padding: 80px 0;
  text-align: center;
}


/* Slick carousel items */
.testimonial-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  position: relative;
  margin: 0 10px;
  min-height: 320px;
}

/* Stars */
.testimonial-item .stars {
  color: #ffb400;
  margin-bottom: 10px;
  font-size: 2rem;
}

/* Paragraph */
.testimonial-item p {
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: 15px;
}

/* Read more link */
.testimonial-item .read-more {
  font-size: 0.8rem;
  color: #888;
  display: block;
  margin-bottom: 15px;
  text-decoration: underline;
}

/* Avatar */
.testimonial-item .avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-block;
  margin-bottom: 5px;
}

/* Name and role */
.testimonial-item h5 {
  margin: 5px 0 2px 0;
  font-size: 1.8rem;
}

.testimonial-item span {
  font-size: 1rem;
  color: #aaa;
  display: block;
}

/* Company logo */
.testimonial-item img.company-logo {
  margin-top: 10px;
  width: 70px;
  opacity: 0.7;
}

/* Slick arrows customization */
.slick-prev:before,
.slick-next:before {
  color: #fff;
}

/* Responsive adjustments */
@media(max-width: 768px) {
  .testimonial-item {
    min-height: 280px;
  }
  .slick-dots {
    display: none !important;
  }
  .testimonial-item {
    min-height: auto;
  }
  .slick-next {
    right: 0;
  }
  .slick-next, .slick-prev{
   display: none !important;
  }
}

.slick-prev {
  left: -43px !important;
}

.slick-next:before,
.slick-prev:before {
  font-size: 40px !important;
  opacity: .1 !important;
}

.slick-dots {
  bottom: -45px !important;
}


/* Contact */
.contact {
  background: #0c1e41 url('') no-repeat center/cover;
  padding: 80px 0px 80px 20px;
  color: #fff;
}

.contact form {
  margin: auto;
  border-radius: 30px;
}

.contact .left-info {
  padding-left: 16%
}

footer {
  background: #0c1e41;
  color: #fff;
  text-align: center;
  padding: 20px;
}

.form-bg {
  background-color: rgba(0, 0, 0, 0.2);
  border-top-left-radius: 40px;
  border-bottom-left-radius: 40px;
  border-top-right-radius: 40px;
  border-bottom-right-radius: 40px;
  padding-left: 35px;
  padding-right: 35px;
  padding-top: 35px;
  padding-bottom: 35px;
}

/* Input Styles */
.custom-input {
  border: none;
  /* light gray border */
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  /* rounded corners */
  padding: 12px 15px;
  /* spacing inside input */
  font-size: 16px;
  /* font size */
  transition: 0.3s all;
  background-color: rgba(255, 255, 255, 0.3);
  /* subtle input background */
}

.custom-input:focus {
  border-color: #007bff;
  /* blue border on focus */
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
  outline: none;
  background-color: #fff;
}

/* Button Styles */
.custom-btn {
  background-color: #007bff;
  /* primary blue */
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  padding: 12px 0;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  /* rounded corners */
  border: none;
  transition: 0.3s all;
}

.custom-btn:hover {
  background-color: #0056b3;
}

/* Left side spacing */
.left-info h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
}

.left-info p {
  font-size: 16px;
 
}

.contact-info p {
  font-size: 15px;
  margin-bottom: 8px;
}

/* Responsive tweaks */
@media (max-width: 991px) {
  .left-info {
    text-align: center;
  }
}

/* Responsive */
@media(max-width:1199px) {
  .hero h1 {
    font-size: 5rem;
  }

  .hero p {
    font-size: 1.4rem;
  }
}

@media(max-width:991px) {
  .menu-bg {
    display: none;
  }

  /* hide rounded bg in tablet/mobile */
  .hero h1 {
    font-size: 3.5rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .iso-grid {
    height: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    perspective: none;
    transform: none;
  }

  .iso-item {
    position: relative;
    width: 100%;
    height: 150px;
    transform: none !important;
  }

  .carousel3d,
  .testimonial-carousel {
    /*height: 250px;*/
  }

  .carousel3d img,
  .testimonial-item {
    width: 200px;
  }
}

@media(max-width:575px) {
  .hero {
    padding: 80px 15px;
  }

  .hero h1 {
    font-size: 50px;
    margin-bottom: 225px;
  }

  .hero p {
    font-size: 12px;
  }

  .testimonial-item {
    width: 90%;
  }
}

.hero-scroll {
  font-size: 34px;
  font-weight: bold;
  text-transform: uppercase;
  border-top: 1px dashed #fff;
  /* dashed border with gaps */
  background: #040c24;
  color: #fff;
  padding: 8px 0;
  width: 100%;
  overflow: hidden;
  /* hide overflowing text */
  white-space: nowrap;
  position: relative;
}

.scroll-text {
  display: inline-block;
  padding-left: 100%;
  /* start outside the left */
  animation: scroll-left 35s linear infinite;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

.blue-bg {
  background: linear-gradient(to bottom, #1a2a6c, #2c3e90, #22356d, #1c2754);
  text-align: center;
  color: #fff;
}

.blue-bg h3 {
  font-size: 22px;
  text-transform: uppercase;
}

.blue-bg h2 {
  font-size: 55px;
  text-transform: uppercase;
  color: #e2ba46;
  font-weight: 900;
  margin-bottom: 10px;
  margin-top: 20px;
}

.blue-bg p {
  font-size: 22px;
  font-weight: 300;
}

.blue-bg-gradient {
  background: linear-gradient(to top, rgba(26, 42, 108, 0.95) 0%, rgba(44, 62, 144, 0.8) 40%, rgba(44, 62, 144, 0.3) 70%, transparent 100%);
  position: absolute;
  bottom: -5%;
  left: 0;
  right: 0;
  width: 100%;
  padding: 0;
  height: 250px;
  z-index: 99;
}

.blue-bg-gradient1 {
  background: linear-gradient(to bottom, rgba(26, 42, 108, 0.95) 0%, rgba(44, 62, 144, 0.8) 40%, rgba(44, 62, 144, 0.3) 70%, transparent 100%);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  padding: 0;
  height: 100px;
  z-index: 99;
}

/* Helps touch to scroll page vertically while we swipe horizontally inside the carousel */
#offerCarousel {
  touch-action: pan-y;
}

.carousel3d .item {
  will-change: transform;
}

.carousel3d .item {
  transform-style: preserve-3d;
  transition: transform 1s, opacity 0.6s;
  /*  transform: translate(-50%,-50%) rotateY(var(--r,0deg)) translateZ(600px);*/
}

.carousel-card {
  text-align: center;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.carousel-card img {
  display: block;
  /*  width: 260px;*/
  height: 180px;
  object-fit: cover;
}

.carousel-card .caption {
  background: #0c1e41;
  color: #f1c40f;
  font-weight: 600;
  font-size: 16px;
  padding: 8px;
  margin: 0;
  text-transform: uppercase;
}

@media (max-width: 768px) {

  /* Mobile/Tablet flat layout */
  .carousel-flat .item {
    margin: 10px 0;
  }
}


/* Small Banner */
.inner-banner {
  position: relative;
  /*background: url("images/inner-bg.jpg") top/cover no-repeat;*/
  padding: 100px 20px;
  text-align: center;
  color: #fff;
}

.inner-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(12, 30, 65, 0.75);
  /* dark overlay */
}

.inner-banner .content {
  position: relative;
  z-index: 1;
}

.inner-banner h1 {
  font-size: 3rem;
  font-weight: 700;
}

.inner-banner p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 10px auto 0;
  opacity: 0.9;
}

/* Page Content */
.page-section {
  padding: 80px 0;
  /*background: #13254f;*/
}

.page-section h2 {
  color: #ffd700;
  /* highlight */
  font-weight: 700;
  margin-bottom: 20px;
}

.page-section p {
  color: #ddd;
  line-height: 1.7;
}


/* Portfolio */

/* --- Portfolio Text Fix --- */
.iso-item {
  position: relative;
  overflow: hidden;
}

.iso-item img {
  width: 100%;
  display: block;
}

/* Show text overlay at the bottom */
.iso-item .iso-text {
  position: absolute;
  bottom: 0;
  margin: auto;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  padding: 12px 16px;
  text-align: left;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

/* On hover, reveal text */
.iso-item:hover .iso-text {
  opacity: 1;
  transform: translateY(0);
}

.iso-item .iso-text h5 {
  font-size: 1rem;
  margin: 0 0 6px;
  font-weight: 600;
}

.iso-item .iso-text p {
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.4;
}

#portfolio {
  position: relative;
  padding: 50px 0;
  overflow: hidden;
}

.iso-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  gap: 22px;
  padding: 20px 0;
}

.iso-item {
  position: relative;
  width: clamp(220px, 28vw, 260px);
  /* responsive width */
  height: clamp(360px, 45vw, 460px);
  /* responsive height */
  background: transparent;
  border-radius: 22px;
  overflow: hidden;
  transform: rotateX(30deg) rotateZ(15deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s;
  flex: 0 0 auto;
}

.iso-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.1));
  transition: opacity 0.4s ease;
  border-radius: 22px;
  z-index: 1;
}

.iso-item:hover {
  transform: rotateX(0deg) rotateZ(0deg) scale(1.2);
  z-index: 10;
}

.iso-item:hover::after {
  opacity: 0;
}

.iso-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 0;
}

/* Mobile: stack cleanly */
@media (max-width: 768px) {
  .iso-grid {
    flex-direction: column;
    align-items: center;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
    gap:8px !important;
  }

  .iso-item {
    transform: rotateX(0) rotateZ(0);
    /* remove tilt for readability */
    width: 90%;
    height: auto;
    aspect-ratio: 3/4;
    /* keeps card ratio */
  }
  .iso-item .iso-text {
  opacity: initial;
      transform: none;
  }
}


/* Responsive: switch to normal grid layout on mobile */
@media (max-width: 991px) {
  .iso-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    perspective: none;
    transform: none;
  }

  .iso-item {
    transform: none !important;
    width: 100%;
    height: 250px;
  }
}


/* Services */
.services-section {
  padding: 80px 0;
}

.services-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1a2a5a;
}

.services-section p.sub-title {
  color: #666;
  margin-bottom: 50px;
}

.service-card {
  /*background: #fff;*/
  border: 1.5px solid #d3defc;
  border-radius: 12px;
  padding: 30px 20px;
  height: 100%;
  transition: all 0.3s ease;
  text-align: center;
}

.service-card:hover {
  box-shadow: 0px 8px 18px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
  border-color: #334a91;
}

.service-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 1.5px solid #d3defc;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
  color: #334a91;
  background: #f1f5ff;
}

.service-card h5 {
  font-weight: 600;
  margin-bottom: 12px;
  color: #e2ba46;
}

.service-card p {
  font-size: 0.95rem;
  color: #fff;
}

/* --- Video switch for mobile --- */
.desktop-video {
  display: block;
}

.mobile-video {
  display: none;
}

/* Show mobile video below 768px (tablets and phones) */
@media (max-width: 768px) {
  .desktop-video {
    display: none;
  }

  .mobile-video {
    display: block;
  }
}
.floating_btns{
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index:999;
}
.floating_btns a {
    color: #293b84;
    background: #F6DF88;
    width: 50px;
    height: 50px;
    margin: 10px 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    text-align: center;
    font-size: 20px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}
.floating_btns a:hover{
    scale:1.1;
    transition: all 1s ease;
}
.social_wrap.social_footer a {
    display: inline-block;
    width: var(--icon-size, 36px);
    height: var(--icon-size, 36px);
    line-height: var(--icon-size, 36px);
    background-color: var(--theme-color2);
    color: var(--theme-color3);
    font-size: 14px;
    text-align: center;
    margin-right: 5px;
    border-radius: 0;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
    border-radius: 7px;
}