/* style.css */

body {
  color: #ffffff;
  background-color: #ffffff;
  margin: 0; 
  padding: 1%;
  overflow-x: hidden;
}

@font-face{
  font-family: 'Spartan Bold';
  src: url('fonts/league-spartan-master/LeagueSpartan-Bold.otf');
}
@font-face{
  font-family: 'Arabic Montserrat';
  src: url('fonts/Montserrat-Arabic-Light.otf');
}

/* logo */

.brand-name {
  color: #38b6ff;
  font-size: 23px;
  font-family: 'Spartan Bold';
  font-weight: bold;
}

/* navbar */

.navbar-nav .nav-link {
  color: #626262;
  font-size: 23px;
  font-family: 'Arabic Montserrat';
  font-weight: 500;
  margin-right: 20px;
  transition: color 0.3s;
  text-transform: lowercase;
}
.navbar-nav .nav-link:hover {
  color: #38b6ff;
}

/* home */

.under-text{
  color: #2f2f2f;
  font-family: 'Arabic Montserrat';
  font-weight: 500;
  text-transform: uppercase;
  font-size: clamp(1rem, 2.0vw, 2rem);
  z-index: 1;
}
.img-movingparts {
  position: relative;
  top: 0;
  left: 0;
  z-index: 1;
  animation: rise 2s ease-out forwards;
  opacity: 0;
}
@keyframes rise {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* about */

.chalk-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  z-index: 0;
}
.truckvid-container {
  margin-top: -35%;
  position: relative;
  border-radius: 40px;
  overflow: hidden;
}
.rounded-video {
  border-radius: 40px;
  width: 100%;
  height: auto;
  display: block;
}
.truckvid-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  max-width: 90%;
  padding: 1rem;
}
.truckvid-text h1 {
  font-family: 'Spartan Bold';
  font-size: clamp(1.5rem, 4vw, 3rem);
  margin-bottom: 1rem;
}
.truckvid-text p {
  font-family: 'Arabic Montserrat';
  font-size: clamp(1rem, 2vw, 1.5rem);
  line-height: 1.5;
}
#about {
  scroll-margin-top: -325px; 
}

/* services */

/* The flip card container - set the width and height to whatever you want. We have added the border property to demonstrate that the flip itself goes out of*/ 
.flipcard-container {
  background-color: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -50%;
  gap: 5rem;
}
.flip-card {
  background-color: white;
  width: 28%;
  height: auto;
}
/* This container is needed to position the front and back side */
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}
/* Do an horizontal flip when you move the mouse over the flip box container */
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}
/* Position the front and back side */
.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden; /* Safari */
  backface-visibility: hidden;
}
/* Style the front side (fallback if image is missing) */
.flip-card-front {
  background-color: #bbb;
  color: black;
}
/* Style the back side */
.flip-card-back {
  background-color: rgb(49, 91, 133);
  color: white;
  transform: rotateY(180deg);
}
#services {
  scroll-margin-top: -15px;
}


/* reliable */

.reliable-text-wrapper {
  display: flex;
  justify-content: left;
  align-items: center;
  margin-top: -50%;
  gap: 5rem;
}
.reliable-text {
  font-family: 'Arabic Montserrat';
  font-size: clamp(1rem, 2vw, 1.5rem);
  color: #000000;
}
.reliable-cotact-text{
  font-family: 'Arabic Montserrat';
  font-size: clamp(1rem, 2vw, 1.5rem);
  color: #000000;
}

/* contact */

.contact-buttons-container {
  gap: 3rem;
}
.contact-button {
  transition: all 0.3s ease;
}
.contact-buttons-container .btn {
  font-family: 'Arabic Montserrat';
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 0; 
}
#contact{
  scroll-margin-top: 15px;
}

/* footer */

.address-text{
  font-family: 'Arabic Montserrat';
  font-size: clamp(1rem, 2vw, 1.5rem);
  color: #ffffff;
}
.telephone-text{
  font-family: 'Arabic Montserrat';
  font-size: clamp(1rem, 2vw, 1.5rem);
  color: #ffffff;
}

/* general styles */
html {
  scroll-behavior: smooth;
}