/* ------------------------------
  Google Web Font
---------------------------------*/
@import url("https://fonts.googleapis.com/css2?family=Heebo:wght@100;200;300;400;500;600;700;800;900&family=Raleway:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

body {
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-family: 'Raleway', sans-serif;
  background: #ffffff;
  color: #5a5a5a;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Heebo', sans-serif;
  margin: 0;
  padding: 0;
  color: #2a2a2a;
}

h1 { font-size: 58px; line-height: 65px; font-weight: 600; margin-bottom: 20px; }
h2 { font-size: 42px; font-weight: 600; line-height: 50px; margin-bottom: 20px; }
h3 { font-size: 24px; }
h4 { font-size: 22px; }
h5 { font-size: 20px; font-weight: 600; line-height: 22px; font-family: 'Roboto', sans-serif; }
h6 { font-size: 18px; }

a {
  text-decoration: none;
  color: #464646;
}

a:hover { color: #1976D2; }

p {
  margin: 5px 0 15px;
  line-height: 28px;
  letter-spacing: 0.5px;
}

ul { padding: 0; margin: 0; }
ul li { list-style: none; }

img {
  width: 100%;
}

/* ------------------------------
  Loader
---------------------------------*/
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background-color: #2d3e50;
}

.loader .loading {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.loader .loading .aloader {
  background: #2d3e50;
  color: #1976D2;
}

/* ------------------------------
  Buttons
---------------------------------*/
.button, .button2 {
  padding: 12px 30px;
  background: #1976D2;
  color: #ffffff;
  font-size: 13px;
  letter-spacing: 1px;
  border-radius: 1px;
  border: 0;
  font-weight: 600;
  transition: 0.2s;
}

.button:hover { background: #101010; color: #2d3e50; }
.button2 {
  padding: 20px 30px;
  font-size: 18px;
  border-radius: 6px;
}

.button2:hover { background: #ffffff; color: #2d3e50; }

/* ------------------------------
  Navbar
---------------------------------*/
.navbar {
  top: 0;
  background: #2d3e50;
  padding: 10px 0;
  position: fixed;
  width: 100%;
  z-index: 99;
  text-align: center;
}

.navbar .navbar-brand {
  text-align: left;
  width: 20%;
}

.navbar .navbar-brand img { height: 160px; width: auto; }
.navbar .navbar-toggler i { font-size: 32px; color: #ffffff; }
.navbar .navbar-collapse { position: relative; width: 60%; text-align: center; left: -10px; }

.navbar .navbar-nav li {
  padding: 0 10px;
  font-size: 18px;
}

.navbar .navbar-nav li a {
  color: #ffffff;
  font-weight: 500;
}

.navbar .navbar-nav li a:hover { color: #1976D2; }

.navbar .button-navbar {
  width: 20%;
  float: right;
  text-align: right;
}

.navbar .button-navbar li {
  display: inline-block;
  margin-left: 15px;
}

.navbar-fixed {
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0), 0 1px 5px rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0);
}

.navbar .navbar-toggler:focus {
  outline: none;
  box-shadow: none; 
}

.intro {
  position: relative;
  margin-top: 92px;
  padding: 150px 0;
  color: #eee;
  overflow: hidden;
  height: auto;
}

.intro .video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

#intro-video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the video covers the screen */
}

.intro .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Adds dark overlay */
  z-index: 1;
}

.intro h1 {
  color: #ffffff;
  font-size: 65px;
  margin-top: 22px;
}

.intro p {
  font-weight: 600;
  font-size: 20px;
}

.intro .button {
  margin-top: 20px;
}

/* Media query for mobile devices */
@media (max-width: 768px) {
  .intro {
    padding: 100px 0;  
  }

  #intro-video {
    object-fit: cover;
  }

  .intro h1 {
    font-size: 40px;  
  }

  .intro p {
    font-weight: 600; 
  }

  .video-background {
    background-image: url('img/fallback-image.jpg'); /* Fallback image for mobile */
    background-size: cover;
    background-position: center;
    height: 100%;
    width: 100%;
  }

  #intro-video {
    display: block; /* Show the video element on mobile */
  }
}


@media (max-width: 480px) {
  .intro h1 {
    font-size: 55px;  
    margin-top: 48px;
  }
}


/* ------------------------------
  Title Stripe
---------------------------------*/
.the-title {
  font-size: 14px;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #2d3e50;
}

.the-title span {
  height: 1px;
  width: 40px;
  background: #2a2a2a;
  display: inline-block;
  bottom: 5px;
  position: relative;
  margin-right: 12px;
}

/* ------------------------------
  About
---------------------------------*/
.about { padding: 120px 0; }

.about ul li {
  padding: 5px 0;
  font-weight: 500;
  color: #2a2a2a;
}

.about ul li i { color: #1976D2; margin-right: 10px; }

/* ------------------------------
  Achievement
---------------------------------*/
.achievement {
  text-align: center;
}

.achievement i { color: #1976D2; font-size: 60px; }

.achievement h2 {
  margin: 10px 0;
}

.achievement .content {
  padding: 50px 0 35px;
  background: #f3f6f9;
}

/* ------------------------------
  Services
---------------------------------*/
.services {
  padding: 120px 0 80px;
}

.services h2 { margin-bottom: 20px; }

.services .content-left { margin-right: 60px; }

.services .content-right {
  margin-right: 30px;
  margin-left: 30px;
}

.services .content {
  margin: 40px 0;
}

.services .content img { height: 60px; width: auto; }

.services .content h5 { margin: 20px 0; }

/* ------------------------------
  Clients
---------------------------------*/
.clients {
  padding: 60px 30px;
  background: #f3f6f9;
}

.clients img {
  padding: 0 30px;
  opacity: 0.4;
}

@media (max-width: 767px) {
  .clients { display: none; }
}

/* ------------------------------
  Contact
---------------------------------*/
.contact {
  padding-top: 100px;
  padding-bottom: 30px;
  font-size: 16px;
  font-weight: 500;
}

.contact h5 { margin-bottom: 15px; }

/* ------------------------------
  Footer
---------------------------------*/
footer .row {
  border-top: 1px solid #eef3f7;
  padding: 30px 0;
}

footer ul {
  text-align: right;
}

footer ul li {
  display: inline-block;
}

footer ul li i {
  font-size: 20px;
  margin-left: 10px;
}

footer ul li i:hover { color: #1976D2; }

/* ------------------------------
  Responsive
---------------------------------*/
@media (max-width: 991px) {
  .navbar .button-navbar { display: none; }
  .clients img { padding: 0 15px; }
  .about .col-md-7 { width: 100%; }
  .about .content { padding-top: 0; }
  .testimonial .content-image { width: 100%; }
  .testimonial .swiper { width: 100%; float: none; }
  .testimonial .content { padding: 0; }
  .col-contact { width: 100%; }
}

@media (max-width: 767px) {
  .intro .content-image {
    text-align: right;
    margin-right: 44px;
    margin-top: 60px;
  }

  .clients {
    padding-left: 0;
    padding-right: 0;
  }

  .clients img { padding: 0 5px; }

  .services .content-left,
  .services .content-right {
    margin-right: 0;
    margin-left: 0;
  }

  .contact span { margin-bottom: 20px; display: block; }
}

@media (max-width: 575px) {
  .container { padding: 0 25px; }

  h1 { font-size: 48px; line-height: 53px; }

  .clients img { padding: 0 80px; margin: 20px 0; }

  h2 { font-size: 36px; line-height: 45px; }

  footer { text-align: center; }

  footer ul { text-align: center; margin-bottom: 12px; }

  footer .reverse { flex-direction: column-reverse !important; }
}
