/* Start Global Variables */
:root {
  /* Primary */
  --aqua: hsl(183, 58%, 50%);
  --dark-aqua: rgba(54, 172, 201, 0.513);
  --light-aqua: hsl(183, 58%, 50%);
  /* Netural */
  --very-dark-cyan: hsl(192, 100%, 9%);
  --very-pale-blue: hsl(207, 100%, 98%);
  /* Transition */
  --main-transition: 0.3s;
  /* Padding */
  --padding-top: 80px;
  --padding-bottom: 50px;
}
/* End Global Variables */
/* Start Global Rules */
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-size: 18px;
  font-family: "Open Sans", sans-serif;
  font-family: "Poppins", sans-serif;
  background-color: black;
}
a {
  text-decoration: none;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
::-webkit-scrollbar {
  width: 20px;
}
::-webkit-scrollbar-track {
  background-color: white;
}
::-webkit-scrollbar-thumb {
  background-color: var(--aqua);
}
::-webkit-scrollbar-thumb:hover {
  background-color: var(--dark-aqua);
}
.container {
  padding-left: 15px;
  padding-right: 15px;
  margin-right: auto;
  margin-left: auto;
}
/* Small Screens */
@media (min-width: 768px) {
  .container {
    width: 750px;
  }
}
/* Medium Screens */
@media (min-width: 992px) {
  .container {
    width: 970px;
  }
}
/* Large Screens */
@media (min-width: 1200px) {
  .container {
    width: 1170px;
  }
}
/* End Global Rules */
/* Start Components */
.special-heading {
  font-size: 100px;
  color: #f6b149;
  letter-spacing: -3px;
  font-weight: 800;
  margin-top: -50px;
  text-align: center;
}
.special-heading + p {
  color: #df982e;
  text-align: center;
  font-size: 20px;
  margin-top: -20px;
  position: relative;
  font-weight: bolder;
  letter-spacing: 3px;
  padding-bottom: 20px;
}
@media (max-width: 767px) {
  .special-heading {
    font-size: 40px;
    letter-spacing: 3px;
  }
  .special-heading + p {
    font-size: 15px;
    margin-top: -5px;
  }
}
.top-curve {
  position: relative;
  bottom: -6px;
  width: 100%;
}
.bottom-curve {
  position: relative;
  bottom: 6px;
  width: 100%;
}
.info h3 {
  font-size: 35px;
  font-weight: 900;
  margin-bottom: 25px;
  color: white;
}
.info p {
  line-height: 1.6;
  color: #777;
}
.image img {
  max-width: 100%;
  margin-top: 6px;
}
@media (max-width: 767px) {
  .info {
    text-align: center;
  }
  .info p {
    font-size: 16px;
  }
  .info h3 {
    font-size: 27px;
  }
}

/* End Components */
/* ------------------------------ Start Header -------------------------------- */
header {
  --main-height: 72px;
  position: relative;
  left: 0;
  z-index: 2;
  width: 100%;
  background-color: var(--very-pale-blue);
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
}
header .container::before {
  content: "";
  position: absolute;
  height: 1px;
  bottom: 0;
  width: calc(100% - 30px);
  left: 15px;
  background-color: var(--aqua);
  z-index: 2;
}
@media (max-width: 1200px) {
  header .container {
    justify-content: center;
  }
}
header .container .logo h1 {
  filter: drop-shadow(0px 4px 6px black);
  letter-spacing: 10px;
  overflow: hidden;
  white-space: nowrap;
  border-right: 1px solid var(--very-dark-cyan);
  animation: control-width 2s 0.5s steps(9) both;
}
@keyframes control-width {
  from {
    width: 0;
  }
  to {
    width: 311px;
  }
}
@media (max-width: 767px) {
  header .container .logo {
    width: 100%;
    height: 50px;
    text-align: center;
  }
  header .container .logo h1 {
    margin: 10px auto;
  }
}

header .main-nav {
  display: flex;
  align-items: center;
}
@media (max-width: 767px) {
  header .main-nav {
    margin: auto;
  }
}
header .main-nav a.active {
  color: var(--dark-aqua);
  background-color: var(--very-pale-blue);
}
header .main-nav > li > a {
  height: var(--main-height);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 10px;
  color: black;
  position: relative;
  overflow: hidden;
  transition: var(--main-transition);
  font-size: 15px;
}
@media (max-width: 991px) {
  header .main-nav > li > a {
    height: 50px;
    padding: 5px;
    font-size: 16px;
    margin-top: 8px;
  }
}
@media (max-width: 767px) {
  header .main-nav > li > a {
    font-size: 10px;
    display: flex;
    flex-direction: column;
  }
  header .main-nav > li:first-child {
    display: none;
  }
}

header .main-nav > li > a:hover {
  background-color: var(--very-pale-blue);
  color: var(--dark-aqua);
}
header .main-nav > li > a::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 4px;
  background-color: rgb(18 126 153);
  left: -100%;
  top: 0;
  transition: var(--main-transition);
}
header .main-nav > li > a:hover::before {
  left: 0;
}

/* ------------------------------ End Header -------------------------------- */
/* ------------------------------ Start Landing -------------------------------- */
.landing {
  position: relative;
  background: var(--very-pale-blue);
}
.landing .container {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  gap: 50px;
  justify-content: space-between;
  align-items: center;
  text-align: center;
}
@media (max-width: 991px) {
  .landing .container {
    flex-direction: column;
    justify-content: space-evenly;
    gap: 10px;
  }
}
.landing h2 {
  font-size: 1.5em;
  font-weight: 900;
  margin: 25px 0;
}
.landing p {
  line-height: 1.5;
  color: #777;
  margin-bottom: 30px;
}
.landing a {
  color: white;
  background-color: var(--very-dark-cyan);
  padding: 20px 50px;
  font-size: 15px;
  border-radius: 30px;
  margin-bottom: 50px;
  transition: var(--main-transition);
  border: 1px solid var(--dark-aqua);
}
.landing a:hover {
  background-color: var(--very-pale-blue);
  color: var(--dark-aqua);
}
.landing .main-img {
  width: 500px;
  position: relative;
  animation: up-to-down 5s infinite linear;
}
@keyframes up-to-down {
  0%,
  100% {
    top: 0;
  }
  50% {
    top: -50px;
  }
}
.landing .number {
  display: flex;
}
@media (max-width: 991px) {
  .landing h2 {
    font-size: 1.5em;
  }
  .landing p {
    width: 100%;
  }
  .landing .main-img {
    max-width: 100%;
  }
}
.landing .go-down {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 30px;
  padding: 5px;
  border: none;
  color: var(--aqua);
  background-color: transparent;
  transition: var(--main-transition);
}
.landing .go-down i {
  animation: bouncing 1.5s infinite;
}
@keyframes bouncing {
  0%,
  10%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40%,
  60% {
    transform: translateY(-15px);
  }
}
/* ------------------------------ End Landing ---------------------------------- */
/* ------------------------------ Start Statistics -------------------------------- */
.stat {
  padding-top: var(--padding-top);
  padding-bottom: var(--padding-bottom);
}
.stat .container {
  display: flex;
  justify-content: space-evenly;
  padding-top: 40px;
}
.stat .container img {
  width: 32px;
}
.stat .container span {
  display: block;
  font-size: 50px;
  font-weight: bold;
  margin: 10px 0;
  color: wheat;
}
.stat .container p {
  color: #777;
  font-size: 15px;
  text-align: center;
}
@media (max-width: 767px) {
  .stat .container {
    flex-direction: column;
    align-items: center;
  }
  .stat .container article:first-child {
    margin-bottom: 50px;
  }
}
/* ------------------------------ End Statistics -------------------------------- */
/* ------------------------------ Start Grow -------------------------------- */
.grow {
  padding-top: var(--padding-top);
  padding-bottom: var(--padding-bottom);
  background-color: var(--very-pale-blue);
  position: relative;
}
.grow .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 100px;
}
.grow .container h3 {
  color: black;
}
.grow .container article .info:last-child {
  margin-top: 20px;
}
@media (max-width: 767px) {
  .grow .container {
    flex-direction: column-reverse;
  }
}
/* ------------------------------ End Grow -------------------------------------- */
/* ------------------------------ Start conversations --------------------------- */
.conversations {
  padding-top: var(--padding-top);
  padding-bottom: var(--padding-bottom);
}
.conversations .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 100px;
}
@media (max-width: 767px) {
  .conversations .container {
    flex-direction: column;
  }
}

/* ------------------------------ End conversations ------------------------------ */
/* ------------------------------ Start Gallery ------------------------------ */
.gallery {
  padding-top: var(--padding-top);
  padding-bottom: var(--padding-bottom);
  position: relative;
  min-height: 60vh;
  background-color: var(--very-pale-blue);
}
.gallery .container .shuffle {
  display: flex;
  justify-content: center;
  padding: 20px;
}
.gallery .container .shuffle li  {
  padding: 10px;
  color: var(--light-aqua);
  cursor: pointer;
  display: initial;
}
.gallery .container .shuffle li.active  {
  color: white;
  background-color: var(--dark-aqua);
  border-radius: 6px;
}
.gallery .imgs-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 60px;
}
.gallery .imgs-container .box {
  position: relative;
  overflow: hidden;
}
.gallery .imgs-container .box:hover figcaption {
  bottom: 0;
}
.gallery .imgs-container .box:hover img {
  transform: rotate(3deg) scale(1.1);
}

.gallery .imgs-container .box img {
  width: 300px;
  height: 200px;
  transition: var(--main-transition);
}
@media (max-width: 767px) {
  .gallery .imgs-container .box img {
    max-width: 100%;
  }
}
.gallery .imgs-container .box figcaption {
  position: absolute;
  left: 0;
  padding: 20px;
  background-color: white;
  bottom: -100%;
  width: 100%;
  transition: 0.3s;
}
.gallery .imgs-container .box figcaption h4 {
  font-weight: normal;
  margin-bottom: 10px;
  color: var(--aqua);
}
.gallery .imgs-container .box figcaption p {
  color: var(--dark-aqua);
}
.gallery .more {
  text-transform: uppercase;
  background-color: var(--dark-aqua);
  color: white;
  padding: 15px 20px;
  display: block;
  width: fit-content;
  margin: 30px auto;
  text-decoration: none;
  border-radius: 6px;
}
.gallery .more:hover {
  background-color: var(--aqua);
}
@media (max-width: 767px) {
  .gallery .more {
    margin: 10px auto;
  }
}
/* ------------------------------ End Gallery ------------------------------ */
/* ------------------------------ Start Users ------------------------------ */
.opinion {
  padding-top: var(--padding-top);
  padding-bottom: var(--padding-bottom);
  position: relative;
}
.opinion .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 100px;
}

.opinion .container .form {
  flex-basis: 50%;
}
@media (max-width: 991px) {
  .opinion .container {
    flex-direction: column-reverse;
  }
  .opinion .container .form {
    width: 100%;
  }
}
.opinion .container form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.opinion .container form input {
  outline: none;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--aqua);
  caret-color: var(--aqua);
  background-color: #333;
}
.opinion form input[type="submit"] {
  color: white;
  background-color: var(--aqua);
  font-size: 17px;
  cursor: pointer;
  width: fit-content;
  margin-left: auto;
}
.opinion form input[type="submit"]:hover {
  background-color: var(--dark-aqua);
}
.opinion form textarea {
  height: 200px;
  border-radius: 10px;
  padding: 10px;
  resize: none;
  border: 1px solid;
  caret-color: var(--aqua);
  background-color: #333;
  border: 1px solid var(--aqua);
}
.opinion form textarea:focus {
  outline: none;
}
.opinion form input::placeholder,
.opinion form textarea::placeholder {
  opacity: 0.5;
}
.opinion form input:focus::placeholder,
.opinion form textarea:focus::placeholder {
  transition: 0.5s opacity;
}
.opinion form input:focus::placeholder,
.opinion form textarea:focus::placeholder {
  opacity: 0;
}
/* ------------------------------ End Users ------------------------------ */
/* ------------------------------ Strat Footer ------------------------------ */
footer {
  padding-top: var(--padding-top);
  padding-bottom: var(--padding-bottom);
  background-color: var(--very-dark-cyan);
}
footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
}
@media (max-width: 991px) {
  footer .container {
    flex-direction: column;
    text-align: center;
  }
}
footer .text {
  flex-basis: 35%;
}
footer .text .logo {
  filter: drop-shadow(0px 4px 6px white);
  letter-spacing: 10px;
}
footer .text p {
  margin: 20px 0 30px;
  line-height: 1.5;
  opacity: 0.7;
}

footer .text .social {
  margin-top: 50px;
  text-align: center;
}
@media (max-width: 991px) {
  footer .text .social {
    margin: 0 0 30px;
  }
}
footer .text .social a {
  color: white;
  margin-right: 15px;
  font-size: 22px;
  transition: var(--main-transition);
}
footer .text .social a:hover {
  color: var(--dark-aqua);
}
footer .address .line {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  color: #b9b9b9;
}
footer .address .line i {
  margin-right: 10px;
  font-size: 25px;
  color: var(--aqua);
}
footer .address .line .info {
  line-height: 1.7;
  flex: 1;
}
footer .footer-gallery {
  display: flex;
  flex-wrap: wrap;
  flex-basis: 25%;
  justify-content: center;
}
footer .footer-gallery img {
  width: 78px;
  border: 3px solid white;
  margin: 2px;
  height: 78px;
}
/* ------------------------------ End Footer ------------------------------ */
