:root {
  --gold-web-golden: hsl(50, 95%, 56%);
  --spanish-orange: hsl(24, 100%, 45%);
  --persian-green: hsl(175, 80%, 33%);
  --granite-gray: hsl(0, 0%, 40%);
  --spring-green: hsl(143, 85%, 58%);
  --blue2: #3c84fd;
  --blue: #2f6ed2;  
  --smoky-black: hsl(0, 0%, 7%);
  --discord2: #5460eb;
  --discord: #5865f2;
  --cultured-1: hsl(0, 0%, 98%);
  --cultured-2: hsl(0, 0%, 95%);
  --cultured-3: hsl(0, 0%, 94%);
  --light-gray: hsl(0, 0%, 80%);
  --alice-blue: hsl(206, 89%, 93%);
  --white_50: hsla(0, 0%, 100%, 0.5);
  --white-1: hsl(0, 0%, 100%);
  --white-2: hsl(0, 0%, 99%);
  --black: hsl(0, 0%, 0%);
  --ff-rubik: 'Rubik', sans-serif;
  --fs-1: 3rem;
  --fs-2: 2.7rem;
  --fs-3: 2.2rem;
  --fs-4: 1.8rem;
  --fs-5: 1.6rem;
  --fw-400: 400;
  --fw-500: 500;
  --fw-600: 600;
  --fw-700: 700;
  --fw-900: 900;
  --section-padding: 60px;
  --shadow-1: 0 2px 25px hsla(0, 0%, 0%, 0.1);
  --shadow-2: 0 8px 14px hsla(0, 0%, 0%, 0.1);
  --shadow-3: 0 14px 30px hsla(0, 0%, 0%, 0.05);
  --radius-6: 6px;
  --radius-12: 12px;
  --gradient-1: linear-gradient(to right, var(--discord), var(--discord2));
  --gradient-2: linear-gradient(to right, var(--blue2), var(--blue));
  --gradient-3: linear-gradient(to right, var(--discord), var(--discord2));
  --gradient-4: linear-gradient(to right, var(--blue2), var(--blue));
  --gradient-5: linear-gradient(to right, var(--persian-green), var(--spring-green));
  --gradient-6: linear-gradient(to right, var(--spanish-orange), var(--gold-web-golden));
  --transition-1: 0.25s ease;
  --transition-2: 0.5s ease;
  --cubic-out: cubic-bezier(0.33, 0.85, 0.4, 0.96);
}
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
li { list-style: none; }
a {
  text-decoration: none;
  color: inherit;
}
a,
img,
svg,
span,
button,
strong,
ion-icon { display: block; }
img { height: auto; }
button {
  background: none;
  border: none;
  font: inherit;
}
button { cursor: pointer; }
ion-icon { pointer-events: none; }
html {
  font-family: var(--ff-rubik);
  font-size: 10px;
  scroll-behavior: smooth;
}
 body {
  background-color: #050c18; 
  color: var(--granite-gray); 
  font-size: 1.6rem; 
}
body {
  position: relative;
  background-image: url('../img/Background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
:focus-visible { outline-offset: 4px; }
.container { padding-inline: 15px; }
.section { padding-block: var(--section-padding); }
.w-100 { width: 100%; }
.carousel-item {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden; 
  width: auto; 
  z-index: 4;

  height: 400px;
  padding: 10px; 
  border-radius: 16px; 
  transition: transform 0.3s ease, box-shadow 0.3s ease; 
}
.carousel-item img {
  object-fit: none; 
  width: auto;
  height: 100%;
  border-radius: 16px; 
  transition: transform 0.3s ease; 
}
.h1,
.h2,
.h3 {
  color: var(--white-1);
  font-weight: var(--fw-900);
  line-height: 1.3;
}
.h1 { font-size: var(--fs-1); }
.h2 { font-size: var(--fs-2); }
.h3 {
  font-size: var(--fs-3);
  font-weight: var(--fw-600);
}
.section-text {   color: var(--white);
  line-height: 1.7; }
.btn {
  min-height: 50px;
  color: var(--white-1);
  padding-inline: 25px;
  border-radius: var(--radius-6);
}
.btn-primary { background-image: var(--gradient-1); }
.btn-secondary { background-image: var(--gradient-2); }
.btn-link {
  display: flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition-1);
}
.btn-link:is(:hover, :focus) { letter-spacing: 0.3px; }
.header-logo-img {
  width: 50px;
  height: auto;
}
.header .btn {
  display: none;
}
.header {
  color: var(--white-1);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding-block: 15px;
  z-index: 4;
}
.header.active {
  position: fixed;
  top: -75px;
  box-shadow: var(--shadow-1);
  animation: slide-in 0.5s var(--cubic-out) forwards;
}
@keyframes slide-in {
  0% { transform: translateY(0); }
  100% { transform: translateY(75px); }
}
.header > .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
}
.nav-toggle-btn {
  font-size: 30px;
}
.nav-toggle-btn.active .menu-icon,
.nav-toggle-btn .close-icon {
  display: none;
}
.nav-toggle-btn .menu-icon,
.nav-toggle-btn.active .close-icon {
  display: block;
  color: #fff;
  transition: color 0.3s ease-in-out;
}
.navbar {
  position: absolute;
  top: 90%;
  left: 50%;
  width: calc(100% - 30px);
  transform: translateX(-50%);
  background-image: var(--gradient-1); 
  border-radius: 12px; 
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3); 
  overflow: hidden;
  visibility: hidden;
  max-height: 0;
  transition: max-height 0.35s ease-out, box-shadow 0.3s ease; 
}
.navbar.active {
  visibility: visible;
  max-height: 300px;
  transition-duration: 0.35s ease-out; 
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.navbar-item:not(:last-child) {
  border-block-end: 1px solid rgba(255, 255, 255, 0.2); 
}
.navbar-link {
  color: var(--white-1);
  font-size: var(--fs-4);
  font-weight: var(--fw-500);
  padding: 16px;
  transition: background-color 0.3s, color 0.3s ease; 
  border-radius: 8px; 
}
.navbar-link:is(:hover, :focus) {
  color: #fff; 
  background-color: rgba(255, 255, 255, 0.1);
}
.hero {
  padding-block-start: calc(73px + var(--section-padding));
}
.hero-banner {
  border-radius: 50%;
  aspect-ratio: 1 / 0.8;
}
.hero-banner img {
  border-radius: 50%;
}
.hero-title { margin-block: 30px 15px; }
.hero-form { margin-block: 20px 30px; }
.hero-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}
.hero-item {
  display: flex;
  align-items: center;
  gap: 5px;
}
.about { text-align: center; }
.about .section-text:first-of-type { margin-block: 5px 30px; }
.about-list {
  display: grid;
  gap: 25px;
}
.about-card {
  color: var(--white-1);
  padding: 20px;
  border-radius: var(--radius-12);
}
.about-card-1 { background-image: var(--gradient-3); }
.about-card-2 { background-image: var(--gradient-4); }
.about-card-3 { background-image: var(--gradient-5); }
.about-card-4 { background-image: var(--gradient-6); }
.about-card .card-banner {
  min-width: 150px;
  height: 150px;
  aspect-ratio: 1 / 1;
  background-color: var(--white_50);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-inline: auto;
  transition: var(--transition-2);
}
.about-card:is(:hover, :focus-within) .card-banner { background-color: var(--white-1); }
.about-card .card-title {
  color: var(--white-1);
  margin-block: 20px 10px;
}
.about-card .card-text {
  line-height: 1.8;
  margin-block-end: 15px;
}
.about .btn-link { justify-content: center; }
.about .section-text:last-of-type {
  max-width: 50ch;
  margin-inline: auto;
  margin-block-start: 25px;
}
.about .section-text:last-of-type .btn-link {
  color: var(--blue);
  display: inline-flex;
}
.about .section-text:last-of-type .btn-link:is(:hover, :focus) {
  color: var(--discord);
  letter-spacing: 0;
}
.stats-banner {
  max-width: max-content;
  margin-inline: auto;
  aspect-ratio: 1 / 0.78;
  margin-block-end: 25px;
}
.stats-list {
  display: flex;
  justify-content: space-evenly; 
  gap: 20px;
  padding: 0;
  list-style-type: none; 
}
.stats-list li {
  display: flex; 
  flex-direction: column; 
  align-items: center; 
}
.item-title {
  display: flex;
  flex-direction: column; 
  justify-content: center; 
  align-items: center; 
}
.number {
  font-size: 3rem;
  font-weight: var(--fw-900);
  color: #2f6ed2;
  margin-bottom: 5px; 
}
.app-content { margin-block-end: 25px; }
.app .section-text { margin-block: 5px 10px; }
.app .btn-group {
  display: flex;
  gap: 15px;
}
.app .btn {
  min-height: auto;
  padding: 15px;
}
.app .btn img { margin-block-end: 10px; }
.app .btn .strong {
  margin-block-start: 5px;
  font-weight: var(--fw-600);
}
.app-banner {
  max-width: max-content;
  margin-inline: auto;
  aspect-ratio: 1 / 0.72;
}
.support {
  color: var(--white-1);
}
.support .section-title {
  color: var(--white-1);
}
.support .section-text {
  margin-block: 10px 15px;
}
.support .btn {
  max-width: max-content;
  display: grid;
  place-items: center;
}
.support-box {
  background-color: #090f18;
  border: 3px solid #3c84fd;
  padding: 50px;
  border-radius: 20px;
  margin-top: auto;
  max-width: 600px; 
  margin-left: auto;
  margin-right: auto;
  display: center;
  text-align: center;
}
.support-email {
  display: flex;
  align-items: center;
  margin-top: 10px;
}
.email-icon {
  margin-right: 8px;
  font-size: 20px;
}
.email-text {
  font-size: 16px;
  color: var(--white-1);
}
.support-icons {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}
.support-icon {
  font-size: 24px;
  color: var(--white-1);
  cursor: pointer;
}

.support-icon:hover {
  color: #3c84fd;
}
.footer-top { background-color: var(--cultured-1); }
.footer-top .container {
  display: grid;
  gap: 25px;
}
.footer .logo { margin-block-end: 25px; }
.footer-img { max-width: max-content; }
.footer-list-title {
  color: var(--black);
  font-size: var(--fs-3);
  font-weight: var(--fw-600);
  margin-block-end: 20px;
}
.footer-list > li:not(:last-child) { margin-block-end: 15px; }
.footer-link {
  position: relative;
  max-width: max-content;
  transition: var(--transition-1);
}
.footer-link::after {
  content: "";
  position: absolute;
  top: 6px;
  left: calc(100% + 10px);
  background-color: var(--blue2);
  width: 20px;
  height: 2px;
  transition: var(--transition-1);
  opacity: 0;
}
.footer-link:is(:hover, :focus) { color: var(--blue2); }
.footer-link:is(:hover, :focus)::after { opacity: 1; }
.footer-item {
  display: flex;
  align-items: baseline;
  gap: 5px;
}
.footer-item .span { color: var(--black); }
.footer-item-link {
  display: inline-block;
  color: var(--granite-gray);
  transition: var(--transition-1);
}
.footer-item-link:is(:hover, :focus) { color: var(--blue2); }
.footer-bottom {
  padding-block: 25px;
  text-align: center;
  line-height: 1.3;
}
.copyright { margin-block-end: 15px; }
.copyright .span {
  display: inline-block;
  font-weight: var(--fw-500);
  background-image: var(--gradient-2);
  -webkit-text-fill-color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
}
.copyright-link {
  display: inline-block;
  font-weight: var(--fw-600);
  background-image: var(--gradient-2);
  -webkit-text-fill-color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
}
.footer-bottom-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 5px 20px;
}
.footer-bottom-link { transition: var(--transition-1); }
.footer-bottom-link:is(:hover, :focus) { color: var(--blue2); }
.backtop-btn {
  position: fixed;
  bottom: 30px; 
  right: 30px;
  background: var(--gradient-2); 
  color: var(--white);
  border: none;
  font-size: 2.5rem; 
  padding: 15px;
  border-radius: 50%;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3); 
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
  transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  cursor: pointer;
  text-align: center;
}

.backtop-btn:hover {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4); 
}

.backtop-btn.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(-10px);
}

.backtop-btn ion-icon {
  font-size: 2.5rem;
  color: var(--white-1);
  pointer-events: none; 
}

.backtop-btn:focus {
  outline: none;
  box-shadow: 0 0 8px 3px rgba(0, 0, 0, 0.2);
}


@media (min-width: 480px) {
  .header .btn {
    display: block;
    margin-inline-start: auto;
    min-height: 40px;
    padding-inline: 15px;
  }
}

@media (min-width: 575px) {
  .container { 
    max-width: 540px;
    margin-inline: auto;
  }
  .hero-form { position: relative; }
  .hero-form .btn {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
  }
  .about-list,
  .stats-list,
  .footer-top .container { grid-template-columns: 1fr 1fr; }
  .about-card { min-height: 100%; }
}

@media (min-width: 992px) {
  :root {
    --fs-2: 4rem;
    --fs-3: 2.9rem;
    --section-padding: 100px;
  }
  .container { max-width: 960px; }
  :is(.about) .section-text {
    max-width: 55ch;
    margin-inline: auto;
  }
  .nav-toggle-btn { display: none; }
  .navbar,
  .navbar.active { all: unset; }
  .navbar-list {
    display: flex;
    gap: 5px;
  }
  .navbar-item:not(:last-child) { border-block-end: none; }
  .navbar-link { --fs-4: 2rem; }
  .header .btn {
    margin-inline-start: 0;
    min-height: 50px;
    padding-inline: 40px;
  }
  .hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
  }
  .hero-title { margin-block-start: 0; }
  .stats .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: flex-start;
  }
  .stats-banner { margin-block-end: 0; }
  .stats-list { grid-template-columns: 1fr; }
  .stats-item:nth-child(even) { margin-inline-start: auto; }
  .stats-item .item-title { font-size: 4.5rem; }
  .stats-text { font-size: 2.2rem; }
  .support .container {
    display: grid;
    grid-template-columns: 1fr 0.5fr;
    justify-items: self-end;
    align-items: center;
  }
  .footer .container { grid-template-columns: 1fr 0.8fr 0.8fr 1fr; }
  .footer-list-title { margin-block-end: 30px; }
  .footer-list > li:not(:last-child) { margin-block-end: 25px;}
  .footer-bottom { padding-block: 30px; }
  .footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .copyright { margin-block-end: 0; }

}

@media (min-width: 1200px) {
  :root {
    --fs-1: 6rem;
    --fs-2: 5rem;

  }
  .container { max-width: 1140px; }
  .about-card {
    display: flex;
    align-items: center;
    gap: 30px;
    text-align: left;
  }
  .about-card .card-title { margin-block-start: 0; }
  .about .btn-link { justify-content: flex-start; }
}