/* Colors */
:root {
  --primary-bgcolor-1: #F5F7FA;
  --primary-bgcolor-2: #FFFFFF;
  --primary-text-color: #4CAF4F;
  --black: #263238;
  --dark-gray: #18191f;
  --mid-gray: #4d4d4d;
  --light-gray: #717171;
  --text-color: #2c3e50;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body{
  background-color:var(--black);
}

h1,
h2,
h3,
h4 {
  color: var(--mid-gray);
  margin-bottom: 1rem;
}

h2{
  font-size: 3.6rem;
}

h4{
  font-size: 2rem;
}

p {
  color: var(--light-gray);
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

span{
  color: var(--primary-text-color);
}

header {
  width: 100%;
  background-color: var(--primary-bgcolor-1);
}

/* Nav-Bar Container */

.sticky-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 2rem 5rem;
  position: fixed;
  top: 0;
  background-color: var(--primary-bgcolor-1);
  z-index: 1000;
}

.nav-links {
  width: 100%;
  list-style: none;
  font-size: 1.6rem;
  display: flex;
  justify-content: center;
  gap: 5rem;
}

.nav-links a {
  color: var(--dark-gray);
  text-decoration: none;
}

.nav-links a:hover {
  text-decoration: underline;
  text-decoration-color: var(--primary-text-color);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.menu-bar {
  font-size: 2rem;
  fill: var(--dark-gray);
  display: none;
  transition: all 0.3s ease-in-out;
  padding: 2px;
}

.menu-bar img:hover {
  transform: scale(1.04);
}

.login-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  flex-shrink: 0;
}

.primary-btn {
  background-color: var(--primary-text-color);
}

.btn-1 {
  background-color: transparent;
  color: var(--primary-text-color);
}

.btn-2 {
  color: white;
}

.btn-1,
.btn-2 {
  padding: 1rem 2rem;
  font-size: 1.4rem;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.btn-1:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0.5px 2px 8px var(--primary-text-color, 0.5);
  color: white;
  background-color: var(--primary-text-color);
  transition: 0.3s ease-in-out;
}

.btn-2:hover {
  transform: translateY(-2px) scale(1.02);
  background-color: var(--primary-bgcolor-2);
  color: var(--primary-text-color);
  transition: 0.3s ease-in-out;
  box-shadow: 0 2px 8px var(--primary-text-color, 0.5);
}

/* Hero-Section */

.section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--primary-bgcolor-1);
}

.container-row {
  width: 90%;
  height: 90vh;
  padding-top: 8rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5rem;
  margin: 0 2rem;
}

.hero-text {
  width: 60%;
  padding-top: 2rem;
}

.hero-text h1 {
  font-size: 6.4rem;
  margin: 1.5rem 0;
}

.hero-text p {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

.hero-text span {
  color: var(--primary-text-color);
}

.hero-image,
.hero-image img {
  width: auto;
  text-align: right;
  object-fit: cover;
  object-position: center;
}

.hero-image {
  margin-top: 2rem;
}

.dots {
  margin-top: 3rem;
  margin-bottom: 1rem;
}

/* Clients-section */

.section-1 {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap:2rem;
  justify-content: center;
  align-items: center;
  background-color: var(--primary-bgcolor-2);
}

.column-container {
  width: 90%;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.column-container h1 {
  font-size: 3.6rem;
  text-align: center;
  margin: 1rem 0 0.7rem 0;
}

.column-container p {
  text-align: center;
}

.fortune-500 {
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.grid{
  margin-top:2rem
}

.grid p{
  font-size: 1.4rem;
}

.grid-container{
  display: grid;
  width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(22rem, 30rem));
  gap: 2rem;
  justify-content: space-around;
  align-items: center;
}

.grid-item{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.grid-container h2{
  font-size: 2.8rem;
}

.section-row{
  width: 100%;
  display: flex;
  justify-content: center;  
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.section-image img{
  width: 100%;
  object-fit: cover;
  object-position: center;
}

.section-image{
  text-align: center;
  margin-right: 12rem;
}

.section-text{
  width: 100%;
  max-width: 60rem;
  margin-left: 12rem;
}

/* Stats */

.gray-container{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--primary-bgcolor-1);
  padding: 3rem 0;
}

.stats{
  width: 90%;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 5rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.hero-stats{
  width: auto;
}

h3{
  font-size: 2.8rem;
  margin-bottom: 0;
}

.stat-item{
  display: flex;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.stat-text p,.stat-text h3{
  text-align: left;
}

.icon{
  fill: #4CAF4F;
  width: 4rem;
}

.grid-2{
  display: grid;
  grid-template-columns: repeat(2, minmax(22rem, 30rem));
  gap: 2rem;
  justify-content: space-around;
  align-items: center;
}

/* Feature */

.customers{
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.meet-customers{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  cursor: pointer;
}

.meet-customers h4{
  text-align: center;
  margin-bottom: 0;
}

.customers .fortune-500 {
  width: fit-content;
}

.feature-img{
  margin:0;
  max-width: 350rem;
}
  
.text-2{
  max-width: 90rem;
}

/* Products */

.product{
  margin-bottom: 4rem;
}

.card-details{
  background-color: #F5F7FA;
  text-align: center;
  width: 25rem;
}

.product-card:hover {
  transform: translateY(-2px) scale(1.02);
  transition: all 0.3s ease-in-out;

}

.card-details:hover{
  transform: translateY(-6px) scale(1.02);
  transition: all 0.2s ease-in-out;
}


.grid-p p{
  width: 40%;
  
}

.grid {

}

.product-card{
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.card-img {
  max-width:30rem ;
}

.card-img img{
  width: 100%;
  object-fit: cover;
}

.card-details{
  position:absolute;
  top: 70%;
  z-index: 1;
  padding: 1rem 1rem;
  border-radius: 10px;
}

.card-details p{
  width: 100%;
  font-size: 1.4rem;
}

.card-details a{
  font-size: 1.4rem;
}

.grid-container-2{
  display: grid;
  width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
  gap: 7rem;
  justify-content: space-around;
  align-items: center;
}

/* Faq */

.faq h1{
  color: var(--black);
}

/* Footer */

footer{
  background-color: var(--black);
  width:100%;
  flex-wrap: wrap;
  display: flex;
  justify-content: space-around;
  align-items: center;
  color: var(--primary-bgcolor-1);
  padding: 3rem 4rem;
  margin-bottom:5rem ;
}

.footer-container{
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  align-items: flex-start;
}

footer p, footer h4{
  color: var(--primary-bgcolor-1);
}

.logo-section-1{
  display: flex;
  flex-direction: column;
}

.logo-section-1 h4{
  font-size: 1.8rem;
}

.logo-section-1 img, .logo-section-1 p{
  color: var(--primary-bgcolor-1);
  padding-bottom: 1.5rem;
}

.logo-section-1 p .logo-section-2 p{
  padding-top:2rem ;
  font-size: 1.2rem;
}

.social-icons{
  width: 100%;
  display: flex;
  justify-content: space-around;
}

.social-icons img{
  width: 2.5rem;
  cursor: pointer;
}

.inputs{
  background-color: rgba(255, 255, 255, 0.084);
  display: flex;
  gap:0.3rem;
  text-align: center;
  padding: 1rem 3rem;
  border-radius: 5px;
}

.inputs input{
  background-color: transparent;
  border: none;
  
  padding: rem 2rem;
  color: var(--primary-bgcolor-1);
}

input::placeholder{
  color: var(--primary-bgcolor-1);
}

input:focus{
  outline: none;
  border: none;
}

.inputs img{
  cursor: pointer;

}

.inputs img{
  width: 2rem;
}
.inputs button{
  background-color: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
}
.inputs img:hover{
  transform: scale(1.1);
  transition: all 0.3s ease-in-out; 
}

/* Bottom menu */

.bottom-menu{
   position: fixed;       
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--primary-text-color);
  color: #fff;
  padding: 1.2rem 0;
  z-index: 1000;
  border-radius: 50px;
  margin-bottom: 0.5rem;
  display: none;
}

.bottom-menu-container{
  width:100%;
   display: flex;
  justify-content: space-around; 
  align-items: center;
  transition: 0.3s linear;
}

.bottom-menu-container img:hover{
  transform: scale(1.02) translateY(2px) translateX(-2px);
  transition: 0.3s linear;
}



/* Media Quaries */

@media (max-width: 768px) {

  h1{
    font-size: 2.4rem;
  }

  p{
    text-align: justify;
  }

  .sticky-container {
    padding: 2rem 2rem;
  }

  /* Hero-section */

  .container-row {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-top: 5rem;
  }

  .hero-text {
    width: 100%;
    padding-top: 2rem;
  }

  .hero-text h1 {
    font-size: 4.8rem;
    margin: 1.5rem 0;
  }

  .hero-text p {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
  }

  .hero-text span {
    color: var(--primary-text-color);
  }

  .hero-image,
  .hero-image img {
    width: 25rem;
    object-fit: cover;
    object-position: center;
  }

  /* Client section */

  .fortune-500{
    gap:2rem
  }

  .fortune-500 img{
    width: 3rem;
  }

  /* Stats */

  .grid-2{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(22rem, 30rem));
    gap: 0rem;
    justify-content: space-around;
    align-items: center;
  }

  /* Products */

  .grid-p p{
    width: 90%;
  }

  /* Footer */

  .footer-container{
    width: 80%;
    display: flex;
    flex-direction: column;
    gap:2rem;
  }

  /* Bottom menu-bar */
  .bottom-menu{
    display: block;
  }
}

/* Laptops */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }

  .login-btns {
    display: none;
  }

  .menu-bar {
    display: block;
  }

  .container-row {
    height: auto;
  }

  .section-image{
    margin: 0;
  }

  .section-text{
    margin: 0;
    max-width: 90%;
  }
}
