/* Importing fonts */
@import url("https://fonts.googleapis.com/css2?family=Vollkorn:ital,wght@0,400;0,900;1,700&display=swap");

/* Variables */
:root{
   --font-family: "Vollkorn",serif ;
  --normal-font: 400;
  --bold-font: 700;
  --bolder-font: 900;
  --bg-color: rgb(0, 0 ,0);
  --bg-color-2: rgb(128, 128, 128);
  --primary-color: rgb(192, 192, 192);
  --secondary-color: rgb(255, 0, 0);
  --text-color: rgb(255, 255, 255);
  --primary-shadow: rgb(236, 234, 228);
  --secondary-shadow: rgb(161, 122, 105);
  --bottom-margin: 0.5rem;
  --bottom-margin-2: 1rem;
  --line-height: 1.7rem;
  --transition: 0.3s;

}
/* Variables end */


html{
  scroll-behavior: smooth;
}


/* CSS Resets */

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

ul{
   list-style-type: none;
}


a{
   text-decoration: none;
   color: var(--primary-color);
}

a:hover{
   color: var(--secondary-color);
}


body{
    font-family: var(--font-family);
}

nav{
    position: sticky;
    top: 0;
    left: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 3.5rem;
    background-color: var(--bg-color);
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);

}

nav h1{
    color: var(--primary-color);
}

nav a{
    color: var(--primary-color);
    transition : var(--transition);
}

nav a:hover{
     color: var(--secondary-color);
     border-bottom: 2px solid var(--secondary-color);
}

nav ul{
   display: flex;
   gap: 1.9rem;
}

nav ul li{
   font-weight: var(--bold-font);
}

.burger-menu{
    color: var(--primary-color);
    font-size: 2rem;
    border: 0;
    background-color: transparent;
    cursor: pointer;
    display: none;
}

/* slideshow section */
 /* Slideshow container */
.slideshow-container{
    max-width: 1000px;
    position: relative;
    margin: auto;   
}  

 /* Hide the images */
.mySlides{
    display: none;
}

 /* Next and previous buttons */
.prev, .next{
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: var(--primary-color);
    font-weight: var(--bold-font);
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

 /* Position the "next" button to right */
.next{
    right: 0;
    border-radius: 3px 0 0 3px;
}

 /* On hover, black background with a bit see-through */
.prev:hover, .next:hover{
    background-color: rgba(0, 0, 0, 0.8);
}

 /* Caption text */
.text {
    color: var(--text-color);
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center; 
}


 /* Dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: var(--bg-color-dot);
    border-radius: 50%;
    display: inline-block;
    transition: var(--bg-color-dot) 0.6s ease;
}

.active, .dot:hover{
    background-color: var(--bg-color-dot-2);
}
 /* Fading animation */
.fade{
    animation-name: fade;
    animation-duration: 1.5s;
}
 
@keyframes fade{
     from{opacity: .4}
     to{opacity: 1}      
}


/* About us section */

.about-us{
   display: flex;
   align-items: center;
   justify-content: center;
   gap: 2.5rem;
   max-width: 68.75rem;
   margin: auto;
}

.bio{
   width: 25rem;
   padding: 0.625rem;
   border-radius: 6px;
   box-shadow: 0px 2px 15px 2px var(--primary-shadow);
}

.bio h2{
   margin-bottom: var(--bottom-margin);
}

.bio p{
   line-height: var(--line-height);
   padding: 0.3rem 0;
}

 /* More about company */

.more-about{
   background-color: var(--bg-color-2);
   padding: 1rem 6rem;

}

.more-about h2{
   margin-bottom: var(--bottom-margin);
   text-align: center;
}

.more-about p{
   line-height: var(--line-height);
   padding: 0.4rem;
}

.more-about h3 {
   text-align: center;
}

/* Services section */

.services{
   max-width: 68.75rem;
   margin: auto;
   text-align: center;
   margin-top: 2.5rem;
}

.services-header{
   margin-bottom: 1rem;
}

.services-wrapper img{
   padding: 1.25rem;
}

.icon{
   width: 11.875rem;
   height: 11.25rem;
}

/* Icons */

.icon-card{
   background-color: #fff;
   border-radius: 11px;
   box-shadow: 0 3px 10px var(--secondary-shadow);
   padding: 20px;
   margin: 10px;
}

/* Hover situation */

/* Socials */


/* Footer */

footer{
   background-color: var(--bg-color);
   padding: 1.25rem;
   text-align: center;
   margin: 2rem 0 0;  
}

/* Scroll to top button */



/* End of Scroll to top button */

@media screen and (max-width: 720px){
/* changes reflects on screen with a width of 720px and below*/

nav {
  padding: auto;
}

nav ul {
  position: fixed;
  background-color: var(--bg-color);
  flex-direction: column;
  top: 50px;
  left: 10%;
  width: 80%;
  text-align: center;
  transform: translateX(120%);
  transition: transform 0.5s ease-in;
}

nav ul li {
  margin: 8px;
}

.burger-menu {
  display: block;
}

nav ul.show {
  transform: translateX(0);
}

.about-us {
  margin-top: 8rem;
  flex-direction: column;
  gap: 0;
}

.bio {
  margin-top: -7rem;
  width: 20.5rem;
}

}
@media screen and (max-width: 420px){
   .hero img{
     height: 37.5rem;
     width: 23rem;
}

   .bio{
     width: 18.3rem;
}

   .client-container{
      width: 17.875rem;
}
   .contact-form-container{
      max-width: 17.75rem;
  }
}