:root {
  --gray-50: rgba(249, 250, 251, 1);
  --gray-100: rgba(243, 244, 246, 1);
  --gray-200: rgba(229, 231, 235, 1);
  --gray-300: rgba(209, 213, 219, 1);
  --gray-400: rgba(156, 163, 175, 1);
  --gray-500: rgba(107, 114, 128, 1);
  --gray-600: rgba(75, 85, 99, 1);
  --gray-700: rgba(55, 65, 81, 1);
  --gray-800: rgba(31, 41, 55, 1);
  --gray-850: rgba(26, 36, 50, 1);
  --gray-900: rgba(17, 24, 39, 1);
  --blue-50: rgba(239, 246, 255, 1);
  --blue-100: rgba(219, 234, 254, 1);
  --blue-200: rgba(191, 219, 254, 1);
  --blue-300: rgba(147, 197, 253, 1);
  --blue-400: rgba(96, 165, 250, 1);
  --blue-500: rgba(59, 130, 246, 1);
  --blue-600: rgba(37, 99, 235, 1);
  --blue-700: rgba(29, 78, 216, 1);
  --blue-800: rgba(30, 64, 175, 1);
  --blue-900: rgba(30, 58, 138, 1);
}

/* Global Styles */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none; */
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: sans-serif;
  background-color: #f0f0f0;
  background-color: var(--gray-700);
  background-color: var(--gray-800);
  color: var(--gray-200);
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}
.grid-center {
  display: grid;
  place-items: center;
}

a {
  color: white;
  text-decoration: none;
}

li {
  list-style: none;
}

.heading {
  color: var(--blue-300);
  font-size: 2rem;
  font-family: "Montserrat", sans-serif;
  text-align: center;
  padding-bottom: 2rem;
}

.para {
  font-size: 1rem;
  font-family: "Open Sans", sans-serif;
  padding-bottom: 1rem;
  padding: 0.75rem;
}

main {
  background-color: var(--gray-800);
}
.max-width-div {
  max-width: 1000px;
  margin: auto;
}
section {
  padding: 0 1.5rem;
  padding-top: 7.5rem;
}

/* Scroll To Top Button */

.scrollTop {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  bottom: 800px;
  right: 2rem;
  width: 3rem;
  height: 3rem;
  background: rgba(128, 128, 128, 0.75);
  border-radius: 50%;
  background-size: 2.25rem;
  background-position: center;
  z-index: 99;
  background-repeat: no-repeat;
  cursor: pointer;
  visibility: hidden;
  opacity: 0;
  transition: 1s;
}
.scrollTop svg {
  width: 2rem;
  height: 2rem;
}
.scrollTop.active {
  visibility: visible;
  opacity: 1;
  bottom: 2.5rem;
}

@media (max-width: 750px) {
  .scrollTop {
    right: 1rem;
  }
}

/* Header */

header {
  background-color: var(--blue-600);
  margin-left: auto;
  margin-right: auto;
  position: sticky;
  top: 0;
  -webkit-box-shadow: 0 8px 20px -6px var(--gray-900);
  -moz-box-shadow: 0 8px 20px -6px var(--gray-900);
  box-shadow: 0 8px 20px -6px var(--gray-900);
}

/* Navbar */

nav {
  background-color: var(--blue-600);
  color: var(--blue-100);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

nav .logo {
  font-size: 1.5rem;
  font-family: "Quicksand", sans-serif;
  letter-spacing: 3px;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
nav .logo .burger {
  cursor: pointer;
  width: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 7.5px;
  display: none;
}

nav .navigation {
  display: flex;
  justify-content: center;
  align-items: center;
}

nav .navigation li a {
  padding: 1rem;
  color: white;
}

nav .navigation li a:hover {
  color: yellow;
}
/* Hero Section */

.hero-section {
  background-color: var(--gray-800);
  padding: 3rem 1rem;
}
.hero-section .max-width-div {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  padding: 2rem;
}
.hero-section .heading-div {
  margin: auto;
}
.hero-section .heading-div .main-heading {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: "Quicksand", sans-serif;
  color: var(--blue-500);
  letter-spacing: 3px;
}
.hero-section .container {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
}
.hero-section .container .hero-content {
  display: flex;
}
.hero-section .img-div {
  margin: auto;
  width: fit-content;
  height: fit-content;
  border-radius: 10px;
  box-shadow: 4px 4px 20px 5px var(--gray-700);
}
.hero-section .img-div img {
  width: 18rem;
  border-radius: 10px;
}
.hero-section .info-div {
  padding: 1rem;
  margin-left: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}
.hero-section .info-div p {
  font-size: 1.125rem;
}
.hero-section .btn-div {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 1rem;
  flex-wrap: wrap;
}
.hero-section .btn-div .btn {
  background-color: transparent;
  border: 3px solid var(--blue-300);
  padding: 0.5rem 1.5rem;
  margin: 1rem 1rem 1rem 0;
  color: var(--blue-300);
  font-size: 1rem;
  cursor: pointer;
  border-radius: 5px;
}
/* About Section*/

.about {
  background-color: var(--gray-850);
}
.about .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.about img {
  width: 30rem;
  border-radius: 10px;
  box-shadow: 4px 4px 20px 5px var(--gray-700);
  margin: 1rem;
}
.about .info-div {
  margin-bottom: 2rem;
}

/* Services Section*/

.services {
  background-color: var(--gray-800);
}
.services .container-services-img-div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.services .container-services-img-div .services-card {
  background-color: var(--blue-500);
  margin-bottom: 2rem;
  border-radius: 10px;
  margin: 1rem;
  padding: 0.5rem;
  box-shadow: 4px 4px 20px 5px var(--gray-900);
  max-width: 90%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.services .container-services-img-div .services-card p {
  text-align: center;
  padding: 0.5rem 0;
}
.services .container-services-img-div .services-card img {
  height: 300px;
  border-radius: 10px;
  box-shadow: 4px 4px 20px 5px var(--gray-900);
  margin: 1rem;
  max-width: 90%;
}
.services .info-div {
  padding: 1.5rem 1rem;
}

/* FAQs Section*/

.faqs {
  background-color: var(--gray-850);
  padding-bottom: 5rem;
  padding-left: 1rem;
  padding-right: 1rem;
}
.container-faq-qn {
  background-color: var(--blue-500);
  margin: 1rem 0;
  border-radius: 10px;
  cursor: pointer;
}
.faq-heading,
.faq-body {
  border-radius: 10px;
  font-size: 1rem;
  font-family: "Open Sans", sans-serif;
  padding-bottom: 1rem;
  padding: 1rem;
}
.faq-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-heading .btn-down-arrow {
  background-color: var(--blue-600);
  border-radius: 50%;
  padding: 1rem;
  width: 0.5rem;
  height: 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.faq-heading .btn-down-arrow::before {
  content: "▼";
}
.faq-body {
  background-color: var(--blue-600);
  border-radius: 0 0 10px 10px;
  display: none;
}
.faq-body.visible {
  display: block;
}

/* Contact Section*/

.contact {
  background-color: var(--gray-800);
  padding-top: 6rem;
  padding-bottom: 5rem;
}
.contact .heading {
  padding-bottom: 1.5rem;
}
.contact-form {
  background-color: rgba(255, 255, 255, 0.1);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 50%;
  max-width: 650px;
  padding: 1rem 2rem;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow: -6px -6px 20px rgba(0, 0, 0, 0.1), 6px 6px 20px rgba(0, 0, 0, 1);
}

input[type="text"],
input[type="email"],
textarea {
  outline: none;
}

input {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: sans-serif;
  width: 100%;
  margin: 0.75rem auto;
  padding: 0.75rem;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: -6px -6px 20px rgba(0, 0, 0, 0.1), 6px 6px 20px rgba(0, 0, 0, 1);
  font-size: 1.25rem;
}
textarea {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: sans-serif;
  resize: none;
  width: 100%;
  margin: 0.75rem auto;
  padding: 0.75rem;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: -6px -6px 20px rgba(0, 0, 0, 0.1), 6px 6px 20px rgba(0, 0, 0, 1);
  font-size: 1.25rem;
}
::placeholder {
  color: rgba(187, 187, 187, 0.75);
  opacity: 1;
}
.submit {
  width: 10rem;
  text-align: center;
  padding: 0.5rem 1.5rem;
  font-size: 150%;
  cursor: pointer;
  background-color: #222;
  color: #fff;
  border: 2px solid #555;
  box-shadow: 4px 4px 10px #000;
  box-shadow: -6px -6px 20px rgba(0, 0, 0, 0.1), 6px 6px 20px rgba(0, 0, 0, 1);
  transition: 0.3s;
}
.contact-form,
input,
textarea,
.submit {
  border: 2px solid rgb(136, 136, 136, 0.5);
  border: 2px solid var(--blue-300);
}
.submit:hover {
  color: var(--blue-200);
  border: 2px solid var(--blue-200);
}

@media (max-width: 750px) {
  .contact-title {
    margin-top: 4rem;
  }
}
@media (max-width: 800px) {
  .contact-form {
    width: 90%;
  }
  input,
  textarea {
    font-size: 100%;
  }
}

/* Footer */

footer {
  background-color: var(--blue-600);
  color: white;
  margin-left: auto;
  margin-right: auto;
  padding: 1rem;
  padding-top: 3rem;
}
footer ul {
  display: flex;
  justify-content: center;
  align-items: center;
}
footer ul li {
  padding: 0.5rem 1rem;
}
footer ul li a {
  font-size: 2.5rem;
}
footer p {
  text-align: center;
}

/* Resposiveness */

/* mobile and tablets */

@media (max-width: 800px) {
  section {
    padding: 0 1rem;
    padding-top: 7rem;
  }
  nav {
    flex-direction: column;
  }
  nav .logo .burger {
    display: flex;
  }
  nav .navigation {
    display: none;
    flex-direction: column;
    background-color: var(--blue-700);
    width: 100%;
  }
  nav .navigation.visible {
    display: block;
  }
  nav .navigation li a {
    border-bottom: 1px solid var(--blue-900);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  .hero-section {
    padding: 0;
  }
  .hero-section .info-div {
    padding: 0.5rem;
    margin: 0;
  }
  .hero-section .max-width-div {
    margin-top: 0;
    padding-top: 0;
  }
  .hero-section .heading-div .main-heading {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    padding: 1rem 0;
    padding-bottom: 2rem;
  }
  .hero-section .container {
    flex-direction: column-reverse;
  }
  .hero-section .container .hero-content {
    flex-direction: column;
  }
  .hero-section .img-div {
    margin: auto;
    border-radius: 10px;
    box-shadow: 4px 4px 20px 5px var(--gray-700);
  }
  .hero-section .img-div img {
    width: 50vw;
    border-radius: 10px;
  }
  .hero-section .info-div p {
    font-size: 1rem;
  }
  .hero-section .btn-div .btn {
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
  }
  .about img {
    width: 90%;
  }
}

/* mobile landscape mode */

@media (max-height: 500px) {
  section {
    padding: 0 1rem;
    padding-top: 7rem;
  }
  nav {
    flex-direction: column;
  }
  nav .logo .burger {
    display: flex;
  }
  nav .navigation {
    display: none;
    flex-direction: column;
    background-color: var(--blue-700);
    width: 100%;
  }
  nav .navigation.visible {
    display: block;
  }
  nav .navigation li a {
    border-bottom: 1px solid var(--blue-900);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  .hero-section {
    padding: 0;
  }
  .hero-section .info-div {
    padding: 0.5rem;
    margin: 0;
  }
  .hero-section .max-width-div {
    margin-top: 0;
  }
  .hero-section .heading-div .main-heading {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    padding: 1rem 0;
    padding-bottom: 2rem;
  }
  .hero-section .container {
    flex-direction: column-reverse;
  }
  .hero-section .container .hero-content {
    flex-direction: column;
  }
  .hero-section .img-div {
    margin: auto;
    border-radius: 10px;
    box-shadow: 4px 4px 20px 5px var(--gray-700);
  }
  .hero-section .img-div img {
    width: 15rem;
    height: 10rem;
    border-radius: 10px;
  }
  .hero-section .info-div p {
    font-size: 1rem;
  }
  .hero-section .btn-div .btn {
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
  }
  .about img {
    width: 90%;
  }
}
