:root {
  --white_color: #fff;
  --black_color: #000;
  --primary_color: #3a497b;
  --primary_o_color: #0691c4;
  --dark_color: #272b30;
  --white_O_color: #fbfbfc;
  --dark_o_color: #939597;
  --dark_p_color: #202328;
}

.bg_images {
  width: 100vh;
  background-image: url("../assets/wraper.png");
  background-position: center;
  background-size: cover;
  height: 30vh;
  width: 100%;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 75% !important;
  margin: auto;
  box-shadow: 1px 2px 8px 2px #00000099;
  background-color: var(--primary_color);
  border-radius: 18px;
  padding: 12px 30px;
  top: -32px;
  position: relative;
  transition: 0.3s;
}

header.active {
  position: fixed;
  top: 34px;
  left: 0;
  right: 0;
  z-index: 999;
}
header .container .logo {
  display: flex;
  align-items: center;
}

header .container .logo img {
  max-width: 40px;
  object-fit: fill;
}

header .container .logo h2 {
  font-size: 20px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--white_O_color);
}
header .container .links ul {
  display: flex;
  gap: 15px;
}

header .container .links ul li {
  color: var(--white_O_color);
  text-transform: uppercase;
  font-weight: 200;
  font-size: 11px;
  cursor: pointer;
}

header .container .links ul li.active {
  color: var(--primary_o_color);
}

/* header responsive */
.header_responsive {
  display: none;
}
.header_responsive .container {
  width: 75% !important;
  margin: auto;
  box-shadow: 1px 2px 8px 2px #00000099;
  background-color: var(--primary_color);
  border-radius: 18px;
  padding: 12px 30px;
  top: -32px;
  position: relative;
  transition: 0.3s;
}
.header_responsive .container .menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header_responsive.active {
  position: fixed;
  top: 34px;
  left: 0;
  right: 0;
  z-index: 999;
}

.header_responsive .container .logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header_responsive .container .logo img {
  max-width: 40px;
  object-fit: fill;
}

.header_responsive .container .logo h2 {
  font-size: 20px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--white_O_color);
}
.header_responsive .container p i {
  font-size: 28px;
  padding: 4px 10px;
  border-radius: 5px;
  color: var(--black_color);
  border: 2px solid var(--black_color);
  cursor: pointer;
}

.header_responsive .container .links {
  height: 0;
  overflow: hidden;
  padding: 0;
  transition-duration: 0.5s;
}

.header_responsive .container .links.active {
  padding: 10px 0;
  height: 230px;
  transition-duration: 1s;
}
.header_responsive .container .links ul li {
  color: var(--dark_o_color);
  text-transform: uppercase;
  font-size: 11px;
  padding: 8px 0;
  font-weight: 500;
  transition: 0.3s;
  cursor: pointer;
}
.header_responsive .container .links ul li:hover {
  color: var(--primary_o_color);
}
.header_responsive .container .links ul li.active {
  color: var(--primary_o_color);
}

/* section */

.cards .container {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.cards .container .card {
  width: 23%;
  margin: auto;
  cursor: pointer;
  border: 1px solid var(--dark_p_color);
  border-radius: 10px;
  transition: 0.5s;
}
.cards .container .card:hover {
  scale: 1.05;
  text-decoration: 0.5s;
}
.cards .container .card img {
  max-width: 100%;
  max-height: 200px;
  object-fit: fill;
  padding: 10px 15px;
  opacity: 0.4;
  transition: 0.8s;
}

.cards .container .card:hover img {
  opacity: 1;
}
.card .free {
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
  padding: 0 15px;
}
.card .free p {
  color: var(--white_O_color);
  text-transform: capitalize;
  font-size: 16px;
  font-weight: 700;
}
.card .free button {
  padding: 1px 12px;
  background-color: var(--primary_color);
  color: var(--white_O_color);
  font-weight: bold;
  border: none;
  outline: none;
  border-radius: 5px;
  text-transform: capitalize;
}

.card .text {
  text-align: center;
  margin-top: 5px;
  padding: 0 15px;
}

.card .text p {
  font-size: 14px;
  font-weight: 500;
  color: var(--dark_o_color);
}
.card .btn {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
  border: 1px solid var(--dark_p_color);
  padding: 8px 25px;
  background-color: #272b2f;
  cursor: pointer;
}

.card .btn button {
  border: none;
  outline: none;
  background-color: #363739;
  font-size: 10px;
  border-radius: 10px;
  padding: 2px 10px;
  color: var(--white_O_color);
  cursor: pointer;
}

@media (max-width: 950px) {
  header {
    display: none;
  }
  .header_responsive {
    display: block;
  }
  .cards .container .card {
    width: 48%;
  }
  .header_responsive .container {
    width: 70%;
    margin: auto;
  }
}

@media (max-width: 750px) {
  .cards .container .card {
    width: 100%;
  }
  .cards .container .card img {
    width: 100%;
    height: 100%;
    margin: auto;
  }

  .header_responsive .container .logo img {
    max-width: 35px;
  }

  .header_responsive .container .logo h2 {
    font-size: 16px;
  }
  .header_responsive .container {
    width: 95% !important;
    padding: 10px 20px;
    margin: auto;
  }
}
