:root {
--color-main: #1b3c94;
--animation-duration: 0.5s;

}


/* Global */
*,
*::before,
*::after {
padding: 0;
margin: 0;
box-sizing: inherit;
}
html {
scroll-behavior: smooth;
scroll-padding-top: 55px;
box-sizing: border-box;
}
clr {
clear: both;
}

a:hover {
text-decoration: none;
}
a {
color: inherit;
text-decoration: none;
}

a,
span {
display: inline-block;
}

ul {
list-style-type: none;
}
img {
  max-width: 84%;
}


body {
font-family: "Nunito", sans-serif;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: "Montserrat", sans-serif;
}

.text-main {
color: var(--color-main);
}

.bg-dark-section {
background-color: #eee;
}
.bg-dark { 
  --bs-bg-opacity: 1;
  background-color: #3b3e3f !important;
}
.py-5 {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
  background-color: #3b3e3f !important;
}
.fw-bold {
  font-weight: 700 !important;
  color: white;
}
h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", sans-serif;
  color: white;
}
.mb-3 {
  margin-bottom: 1rem !important;
  color: white;
}

.rounded-3 {
  border-radius: var(--bs-border-radius-lg) !important;
  color: white;
}
.text-muted {
  --bs-text-opacity: 1;
  color: white !important;
}
.nav-pills .nav-link {
  color: #222;
  color: white;
}
.py-2 {
  padding-top: .5rem !important;
  padding-bottom: .5rem !important;
  color: white;
}

.nav-pills .nav-link {
    color: white !important;
    text-transform: uppercase;
}
.bg-body-tertiary {
  --bs-bg-opacity: 1;
  background: linear-gradient(90deg, #1f3162, #1e2433,#1f3162)!important;
}
.nav-link {
  display: inline-block;
  padding: 8px 15px;
  font-size: var(--bs-nav-link-font-size);
  font-weight: var(--bs-nav-link-font-weight);
  color: white !important;
  text-decoration: none;
  border: 2px solid transparent; /* Subtle border effect */
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
  background: transparent;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.1); /* Subtle background on hover */
  border-color: rgba(255, 255, 255, 0.3); /* Light border on hover */
}

.nav-link.active {
  border-color: white;
  font-weight: bold;
}

#navbar img {
  width: 50px; /* Adjust as needed */
  height: auto; /* Keeps aspect ratio */
}
.navbar-nav .nav-item {
  margin-right: 8px; /* Adds spacing between links */
}

.text-white { 
  --bs-text-opacity: 1;
  color: rgb(255, 255, 255) !important;
}

.fit-content {
width: fit-content;
}

/* Navbar */
.navbar-nav .nav-link.active {
color: var(--color-main);
font-weight: 700;
}

/* Header */
.home {
background-image: linear-gradient(#000a, #000a), url(../images/header-bg.png);
background-size: cover;
}
.home .container {
margin-top: 100px;
}
.description {
max-width: 500px;
color: white;
}
/* Typing effect for heading */
@keyframes typing {
    0% {
      width: 0;
    }
    50% {
      width: 14ch;
    }
    100% {
      width: 14ch;
    }
  }
  
  /* Blinking cursor */
  @keyframes blink {
    50% {
      border-color: transparent;
    }
  }
  

  
  @import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:wght@900&family=Poppins:wght@900&display=swap');

.logo-text {
    font-size: 3rem; /* Adjust size as needed */
    font-weight: 1000; /* Extra bold */
    text-transform: uppercase; /* Makes it all caps like a strong logo */
    letter-spacing: 2px; /* Adds spacing for a professional look */
    
    font-family: 'Poppins', sans-serif; /* Change to Montserrat, Poppins, or Oswald if preferred */
    
    background: linear-gradient(90deg, #1f3162, #1e2433,#1f3162); /* Gradient */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; /* Makes gradient visible */
    
    -webkit-text-stroke: 0.5px #ffffff; /* White outline */
}


  /* Heading animation */
  .home h2 {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid;
    animation: typing 8s steps(50, end) infinite alternate, blink 0.9s step-end infinite;
  }
  


.btn-outline-download {
--bs-btn-color: #fff;
--bs-btn-border-color: #fff;
--bs-btn-hover-color: #000;
--bs-btn-hover-bg: #fff;
--bs-btn-hover-border-color: #fff;
--bs-btn-padding-x: 2.25rem;
--bs-btn-padding-y: 0.625rem;
--bs-btn-border-radius: 100vh;
transition: all var(--animation-duration);
}

.btn-outline-download abbr {
text-decoration: none;
}

/* About  */

.social-icon a:hover {
color: var(--color-main);
border-color: var(--color-main);
}

.about .layer {
box-shadow: 0.1875rem 0.1875rem 0.9375rem 0 rgba(0, 0, 0, 1.1);
}

/* Services */
.services .card-info {
position: relative;
transition: scale var(--animation-duration);
}
.services .card-content .card-title {
position: relative;
}

.card-content .card-title::before {
content: "";
position: absolute;
bottom: -10px;
left: 50%;
width: 50px;
height: 3px;
background-color: var(--color-main);
transform: translateX(-50%);
transition: width var(--animation-duration), scale var(--animation-duration);
}

.card-info:hover .card-title::before {
width: 70px;
}
.card-info:hover {
scale: 1.07;
}

.layer-card {
box-shadow: -0.8125rem 1.1875rem 1.9375rem 0 rgba(0, 0, 0, 0.1);
}

.client {
  background-color: #222;
}

.client .carousel-inner {
  min-height: 250px; /* Ensures all slides maintain the same height */
}

.client .client-img {
  display: block;
  width: 120px;
  height: 120px;
  object-fit: cover;
  margin: 0 auto;
}

.client .testimonial {
  max-width: 600px;
  font-style: italic;
  min-height: 80px; /* Ensures all text blocks take up the same space */
  text-align: center;
}

.client .carousel-indicators [data-bs-target] {
  background-color: var(--color-main);
  height: 6px;
  width: 25px;
  border-radius: 3px;
}

.client .carousel-indicators .active {
  width: 40px;
}
.previous-section {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}


/* portfolio */

.nav-pills .nav-link {
color: #222;
text-transform: uppercase;
}

.nav-pills .nav-link.active {
color: #fff;
background-color: #1f3162;
--bs-nav-pills-border-radius: 100vh;
}

.portfolio .layer {
top: 100%;
left: 0;
transition: top var(--animation-duration);
z-index: 5;
}

.portfolio .inner .layer h3 {
color: rgba(255, 255, 255, 0.6);
}

.portfolio .inner::after {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
opacity: 0;
background-color: rgba(0, 0, 0, 0.8);
transition: opacity var(--animation-duration);
}

.portfolio .inner:hover .layer {
top: 0;
}
.portfolio .inner img {
transition: scale var(--animation-duration);
}
.portfolio .inner:hover img {
scale: 1.07;
}

.portfolio .inner:hover::after {
opacity: 1;
}


.custom-toggler {
  border: none;
  background: transparent;
  outline: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
}

.custom-toggler span {
  display: block;
  width: 30px;
  height: 3px;
  background-color: #333;
  transition: 0.3s ease-in-out;
}

/* Optional: Animate when active */
.navbar-toggler[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.navbar-toggler[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.contact-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.contact-link {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #ffffff;
  text-decoration: none;
  border-radius: 50%;
  position: relative;
  transition: all 0.3s ease-in-out;
}

/* Gradient border effect */
.contact-link::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, #1f3162, #1e2433, #1f3162);
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

/* Hover effect */
.contact-link:hover {
  background: #ffffff;
  color: #1f3162;
  transform: scale(1.1);
}
 
.portfolio-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
}
.name-outline {
  color: #1f3162; /* Change this to your preferred text color */
  text-shadow: 
  -0.3px -0.3px 0 white,  
  0.3px -0.3px 0 white,
 -0.3px  0.3px 0 white,
  0.3px  0.3px 0 white; /* Ultra-thin white outline */
}
.portfolio-image {
  pointer-events: none; /* Disable interactions */
  user-drag: none; /* Disable dragging */
  user-select: none; /* Disable selecting */
}
.navbar img {
  height: 50px; /* Adjust as needed */
  display: block;
}
#preloader {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background-color: #3b3e3f; /* Change background color */
  display: flex;
  justify-content: center;
  align-items: center;
}

.spinner {
  display: flex;
  flex-direction: column; /* Ensure the logo is on top */
  justify-content: center;
  align-items: center;
}

.preloader-logo {
  width: 150px; /* Adjust the size as needed */
  margin-bottom: 20px; /* Space between logo and text */
}

.rotating-logo {
  animation: rotate-logo 2s infinite linear;
}

.please-wait {
  font-size: 1.2rem;
  color: #ffffff; /* Text color */
  animation: fade-in-out 1.5s infinite;
}

@keyframes rotate-logo {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes fade-in-out {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}