/* Css Variables */

:root{
    /* colors */
    --primary-color:#16a34a;
    --title-color:  #16a34a;
    --secondary-text-color:#48c5a7;
    --primary-button-color: #31ae90;
    --text-color: hsl(0,0%,50%);
    --body-color: hsl(0,0%,100%);
    --container-color: hsl(0,0%,93%);
    --border-color: hsl(0,0%,87%);
    --text-white: #fff;
    --table-color: #e6f7f8;
    --table-border-color: #32d7e0;
    --table-header: #00b2bd;
    --text-black:#0B0B0B;
  
    /* font and typography */
    
    --body-font:  'DM Sans', sans-serif;
    --second-font: 'Poppins', sans-serif;
    --location-font: 'Juana It', serif;
  
    --big-font-size: 56px;
    --h1-font-size: 45px;
    --h2-font-size: 32px;
    --h3-font-size: 24px;
    --navbar-font-size: 20px;
    --large-font-size: 18px;
    --normal-font-size: 16px;
    --small-font-size: 15px;
    --smaller-font-size: 14px;
    --tiny-font-size: 12px;
  
    /* Font weight */
    --weight-400 : 400;
    --weight-500 : 500;
    --weight-600 : 600;
    --weight-700 : 700;
    --weight-800 : 800;
  }
  
  /* Base */
  *{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  body {
    font-family: var(--body-font);
    /* background: var(--primary-color); */
  }

.Main-section{
  background-repeat: no-repeat;
  background-size: cover;
  height: 800px;
  z-index: 2;
}

.header{
    border-radius: 50px;
}

.header .title, .header .menu-item{
    font-size: var(--navbar-font-size);
    font-weight: var(--weight-600);
    color: var(--title-color);
}

.header .contact-button{
    font-size: var(--navbar-font-size);
    background-color: var(--title-color);
    color: var(--body-color);
    border-radius: 50px;
}

/* .banner{
    border-bottom: 1px solid #ddd;
} */

.buttons{
    font-size: var(--navbar-font-size);
}


.header.scrolled {
    background-color: white;
    color: var(--text-black);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header.scrolled .mobile-view-nav-menu svg {
  fill: black; /* Changes the SVG fill color to black */
  color: black; /* Also changes the stroke color if needed */
}

.header.scrolled .contact-button:hover{
  border: 1px solid var(--secondary-text-color);
  background-color: white;
  color:var(--secondary-text-color);
}

/* Banner Tile */
.wrap
{
  margin:50px auto 0 auto;
  width:100%;
  display:flex;
  align-items:space-around;
  max-width:1200px;
}
.tile
{
  width:650px;
  height:380px;
  /* margin-left:10px; */
  border-radius: 8px;
  background-color:#ffffff;
  display:inline-block;
  background-size:cover;
  position:relative;
  cursor:pointer;
  transition: all 0.4s ease-out;
  box-shadow: 0px 35px 77px -17px rgba(0,0,0,0.44);
  overflow:hidden;
  color:#c9ffac;
  font-family:'Roboto';
  
}
.tile video
{
  height:100%;
  width:100%;
  position:absolute;
  top:0;
  left:0;
  z-index:0;
  transition: all 0.4s ease-out;
}
.tile .text
{
/*   z-index:99; */
  position:absolute;
  padding:30px;
  height:calc(100% - 60px);
}
.tile h1
{
 text-align: center;
 font-size: 10vh;
  font-weight:300;
  margin:0;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}
.tile h2
{
  font-weight:100;
  margin:20px 0 0 0;
  font-style:italic;
   transform: translateX(200px);
}
.tile p
{
  font-weight:300;
  margin:20px 0 0 0;
  line-height: 25px;
/*   opacity:0; */
  transform: translateX(-200px);
  transition-delay: 0.2s;
}
.animate-text
{
  color: black;
  opacity:0;
  transition: all 0.6s ease-in-out;
}

.tile:hover
{
  
  /*   background-color:#99aeff; */
box-shadow: 0px 35px 77px -17px rgba(0,0,0,0.64);
  transform:scale(1.05);
}
.tile:hover video
{
  opacity: 0.2;
}
.tile:hover .animate-text
{
  color: #0B0B0B;
  transform:translateX(0);
  opacity:1;
}
.dots
{
  position:absolute;
  bottom:20px;
  right:30px;
  margin: 0 auto;
  width:30px;
  height:30px;
  color:currentColor;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:space-around;
  
}

.dots span
{
    width: 5px;
    height:5px;
    background-color: currentColor;
    border-radius: 50%;
    display:block;
  opacity:0;
  transition: transform 0.4s ease-out, opacity 0.5s ease;
  transform: translateY(30px);
 
}

.tile:hover span
{
  opacity:1;
  transform:translateY(0px);
}

.dots span:nth-child(1)
{
   transition-delay: 0.05s;
}
.dots span:nth-child(2)
{
   transition-delay: 0.1s;
}
.dots span:nth-child(3)
{
   transition-delay: 0.15s;
}


/* @media (max-width: 1000px) {
  .wrap {
   flex-direction: column;
    width:400px;
  }
} */
.container-banner{
  padding-top: 50px;
}
.container-banner h1, p{
  padding-top: 0px!important;
  color: #0B0B0B;
  text-align: center;
}
  /* navbar section */
.brand-name h1{
    font-weight: 100;
    letter-spacing: 10px;
}

.desktop-menu-items a:hover{
    display: inline-block;
    padding: 5px 20px;
    border-radius: 30px;
    background-color: var(--third-color);
}

#active{
    padding: 5px 20px;
    border-radius: 30px;
    background-color: var(--third-color);
    color:white;
}

.desktop-menuItems-contactButton{
    background-color: var(--primary-button-color);
    padding: 5px 30px;
}

/* Banner Section */
.banner-section-info{
    font-family: 'Sora', sans-serif;
}

.banner-section-info .banner-header h1{
    line-height: 1.3em;
    outline: none;
}

.banner-shadow{
  box-shadow: 0px 20px 50px rgba(0, 0, 0, 0.5);
  border-radius: 10px;
}

.hover-shadow:hover{
  box-shadow: 0px 10px 50px rgba(97, 96, 96, 0.5);
}

.banner-shadow-dashboard{
  /* box-shadow: 0px 5px 70px rgba(196, 194, 194, 0.5); */
  border-radius: 10px;
}

.logo{
  white-space: nowrap;
  position: relative;
}

.logo::before{
  position: absolute;
  top:0;
  left:0;
  width:250px;
  height: 100%;
  background: linear-gradient(to left, rgba(255,255,255,0), white);
  content:"";
  z-index: 2;
}

.logo::after{
  position: absolute;
  top:0;
  right:0;
  width:250px;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0), white);
  content:"";
  z-index: 2;
}

.logo:hover .clients{
  animation-play-state: paused;
}

.clients{
  display: inline-block;
  animation: loopscroll 35s linear infinite;
}

.clients img{
  display: inline-block;
  height: 100px;
  /* width: 200px; */
  margin: 0 40px !important;
}

@keyframes loopscroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

/* ABOUT US PAGE STYLES */
#header_bg::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-color: rgba(5, 5, 5, 0.4);
  z-index: 3;
}

#header_bg video {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  object-position: top;
}


#header_bg h1 {
  font-family: fantasy;
  float: right;
  color: white
}

.material-symbols-outlined {
  font-size: 40px !important;
}

#why_us #why_cards {
  outline: 1px solid black;
  border: 1px solid black;
  outline-offset: 2px;
}

#our_team .cards .card {
  width: 100%;
  height: 400px;
  /* background-image: url('https://placehold.co/400'); */
  display: flex;
  align-items: end;
  padding: 15px;
}

#our_team .cards .card .caption {
  height: 100px;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.303);
  box-shadow: 0 0 5px 5px rgba(0, 0, 0, 0.301);
  padding: 20px;
  text-align: center;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: height 200ms ease, background-color 600ms ease;
}

#our_team .cards .card:hover .caption {
  height: 100%;
  background-color: white;
}

.ad_banner {
  background-color: #ffffff; /* PLACEHOLDER IMAGE */
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact_bg {
  height: 50vh;
  background-image: url('../images/contact_us_banner.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: end;
  font-family: fantasy;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


/* OUR SERVICES PAGE STYLES */
.our_services_banner {
  width: 100%;
  height: 400px;
  background-image: url('../images/contact_us_banner.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top;
}

.iso h1 {
  font-family: fantasy;
  color: white;
}
/* Responsive Design for Mobile and Tablet */

@media (max-width: 1024px) {
  /* Tablet View */
  /* .wrap {
      flex-direction: column;
      align-items: center;
      width: 90%;
      margin: auto;
  }
  .tile {
      width: 90%;
      height: auto;
      margin: 10px 0;
  }
  .tile video {
      width: 100%;
      height: auto;
      border-radius: 8px;
  } */
  .header {
      flex-direction: column;
      align-items: center;
  }
  .header .menu-item {
      font-size: var(--normal-font-size);
  }
  .container-banner h1 {
      font-size: var(--h2-font-size);
  }
  .container-banner p {
      font-size: var(--normal-font-size);
  }
  .container {
      max-width: 100%;
      padding: 0 20px;
  }
  .flex-col.md\:flex-row {
      flex-direction: column;
      align-items: center;
  }
  .contact-button {
      text-align: center;
      width: 100%;
  }
  #carousel-wrapper {
      width: 100%;
      overflow-x: scroll;
  }
  #blog1-container {
      flex-wrap: nowrap;
      overflow-x: auto;
  }
}

@media (max-width: 768px) {
  /* Mobile View */
  .wrap {
      flex-direction: column;
      align-items: center;
      width: 100%;
      padding: 0px 10px 10px 10px;
      margin-top: 30px;
  }
  .tile {
      width: 100%;
      height: 200px;
  }
  .tile video {
      width: 100%;
      height: 200px;
      left:0;
      border-radius: 8px;
      object-fit: cover; 
  }
  .tile h1 {
      font-size: var(--h3-font-size);
  }
  .header {
      flex-direction: column;
      padding: 10px;
  }
  .header .title, .header .menu-item {
      font-size: var(--small-font-size);
  }
  .container-banner h1 {
      font-size: var(--h3-font-size);
  }
  .container-banner p {
      font-size: var(--small-font-size);
  }
  .contact-button {
      padding: 8px 12px;
      font-size: var(--small-font-size);
      width: 100%;
  }
  .clients img {
      height: 60px;
  }
  .container {
      padding: 0 10px;
  }
  .flex-col.md\:flex-row {
      flex-direction: column;
      align-items: center;
      text-align: center;
  }
  #carousel-wrapper {
      width: 100%;
      overflow-x: scroll;
  }
  #blog1-container {
      flex-wrap: nowrap;
      overflow-x: auto;
  }
}
