@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Sora:wght@100..800&display=swap");

:root {
  --bg: #f9faff;
  --primary: #4f6dff;
  --primary-soft: #e9edff;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --fs-h1: 3rem;
  --fs-h2: 2.2rem;
  --fs-h3: 1.6rem;
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--bg);
  color: var(--text-main);
  line-height: 1.6;
  font-size: var(--fs-body);
}
/* header */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
  background-color: #64748b;
  text-align: center;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
/* Logo badge */
.logo {
  display: flex;
  align-items: center;
}
.logo-badge {
  display: flex;
  align-items: center;
  position: relative;
  right: 6px;
}
.logo-circles {
  z-index: 0;
  width: 64px;
  height: 64px;
  display: block;
  position: relative;
  left: 48px;
}
.logo-circles .circle-left {
  fill: var(--primary);
  fill-opacity: 0.85;
}
.logo-circles .circle-right {
  fill: var(--primary-soft);
  fill-opacity: 0.85;
}
.logo-badge h1 {
  z-index: 1;
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 1.1rem;
  color: var(--text-main);
}
/* links */
.links {
  display: flex;
  gap: 10px;
}
nav a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  font-size: 1.1rem;
  padding: 20px;
  transition: var(--transition-normal);
}
nav a:hover {
  background-color: #0f172a;
  color: var(--text-muted);
  border-radius: 5px;
}
.account {
  margin: 0 10px;
}
.account a {
  background-color: var(--primary);
  color: var(--primary-soft);
  border-radius: 10px;
  padding: 10px 18px;
  text-decoration: none;
  font-size: var(--fs-small);
  transition: var(--transition-normal);
}
.account a:hover {
  background-color: #3b54cc;
  transform: scale(1.05);
}
.hamburger {
  display: none;
  font-size: var(--fs-h3);
  padding: 20px;
  cursor: pointer;
}
/* hero */
.home {
  background-color: var(--text-muted);
}
.content {
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 100px;
  padding: 20px;
  gap: 10px;
  padding-bottom: 60px;
}
.content h2 {
  font-size: var(--fs-h2);
  margin-bottom: 20px;
  font-family: "Sora", sans-serif;
}
.image img {
  width: 400px;
  height: 400px;
}
/* start-learning */
.signup {
  display: inline-block;
  text-decoration: none;
  padding: 10px 18px;
  background-color: var(--primary);
  color: var(--primary-soft);
  border-radius: 5px;
  transition: var(--transition-normal);
  margin-top: 20px;
}
.signup:hover {
  background-color: #3b54cc;
  transform: scale(1.05);
}
/* waves */
.waves {
  position: relative;
  height: 120px;
  line-height: 0;
  background-color: var(--bg);
  overflow: hidden;
  transform: skewY(-2deg);
  transform-origin: left;
  pointer-events: none;
}
.waves svg {
  position: absolute;
  width: 100%;
  height: 160px;
  top: -15px;
  left: 0;
  box-shadow: var(--shadow);
}
.wave {
  animation: wave 6s ease-in-out infinite;
}
.wave-1 {
  animation-delay: 0s;
}
.wave-2 {
  animation-delay: 1s;
}
.wave-3 {
  animation-delay: 2s;
}
.wave-4 {
  animation-delay: 3s;
}
@keyframes wave {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}
/* services-section */
.services {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 100px;
}
.heading {
  text-align: center;
  margin-bottom: 20px;
}
.heading h2 {
  font-size: var(--fs-h2);
  margin-bottom: 10px;
  font-family: "Sora", sans-serif;
}
/* horizontal-rule */
.horizontal-rule {
  border-top: 3px solid var(--text-main);
  margin: 40px 0 0;
  width: 100%;
}
/* service-descriptions */
.service-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  justify-items: center;
  gap: 40px;
  padding: 40px 0 100px;
}
.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: justify;
  justify-content: start;
  padding: 10px;
}
.service-item h3 {
  font-size: var(--fs-h3);
  margin-bottom: 12px;
  font-family: "Sora", sans-serif;
}
.service-item:hover {
  transform: scale(1.05);
  transition: var(--transition-normal);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.service-container img {
  width: 250px;
  height: 250px;
  margin-bottom: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}
/* footer */
.footer {
  background-color: var(--text-muted);
  padding: 20px 20px 0;
  /* text-align: center; */
  color: var(--text-main);
  font-size: var(--fs-body);
}
.footer h3 {
  text-align: center;
}
.contact {
  padding: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  margin: 0 100px;
}
.fa-brands {
  transition: var(--transition-normal);
  color: #0f172a;
}
.fa-brands a:hover {
  transform: scale(1.3);
}
.credits {
  text-align: center;
  padding: 10px;
  font-size: var(--fs-small);
}
