:root {
  --primary-color: #4f46e5;
  --secondary-color: #10b981;
  --background-color: #f9fafb;
  --card-bg-color: #ffffff;
  --text-heading: #111827;
  --text-body: #374151;
  --border-radius: 16px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  --shadow-hover: 0 15px 40px rgba(79, 70, 229, 0.15);
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--background-color);
  color: var(--text-body);
  line-height: 1.8;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 40px 20px;
}

section {
  padding: 30px 0;
  margin: 30px 0;
  position: relative;
}

main>section:first-child {
  margin-top: 0;
}

main>section:last-child {
  margin-bottom: 0;
}

.section-bg {
  background-color: #f3f4f6;
}

h1,
h2,
h3 {
  color: var(--text-heading);
  font-weight: 800;
}

h1 {
  font-size: 3.2rem;
  margin-bottom: 20px;
}

h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 5px;
  background: linear-gradient(90deg,
      var(--primary-color),
      var(--secondary-color));
  border-radius: 3px;
  margin: 15px auto 0;
}

p {
  font-size: 1.1rem;
}

.hero {
  padding: 60px 0;
  background-color: #f3f4f6;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 70%;
  height: 100%;
  background: linear-gradient(135deg,
      var(--primary-color),
      var(--secondary-color));
  clip-path: ellipse(80% 80% at 100% 50%);
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  background: rgba(255, 255, 255, 0.7);
  padding: 30px;
  border-radius: var(--border-radius);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

.hero-content h1 {
  color: var(--text-heading);
}

.hero-content p.lead {
  font-size: 1.25rem;
  color: var(--text-body);
  margin-bottom: 30px;
  max-width: 500px;
}

.hero-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image img {
  width: 100%;
  max-width: 350px;
  border-radius: 50%;
  border: 8px solid white;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: center;
}

.card {
  background: var(--card-bg-color);
  padding: 35px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  font-size: 1.1rem;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  transition: transform 0.3s ease;
}

.feature-list li:hover {
  transform: translateX(-5px);
}

.feature-list i {
  background: linear-gradient(135deg,
      var(--primary-color),
      var(--secondary-color));
  color: white;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  margin-left: 15px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.feature-list li:hover i {
  transform: scale(1.1);
}

.class-cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.class-card {
  background: var(--card-bg-color);
  text-align: center;
  padding: 40px 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  transition: all 0.3s ease-in-out;
  flex-basis: 22%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.class-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-color);
}

.class-card .icon {
  font-size: 3rem;
  margin-bottom: 20px;
  background: -webkit-linear-gradient(135deg,
      var(--primary-color),
      var(--secondary-color));
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.card-button {
  display: inline-block;
  margin-top: 20px;
  padding: 8px 20px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.card-button:hover {
  background-color: var(--secondary-color);
  transform: scale(1.05);
}

.animations {
  animation: floatAnimation 3s ease-in-out infinite;
}

.pulsing-image {
  animation: pulseAnimation 4s ease-in-out infinite;
}

@keyframes floatAnimation {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes pulseAnimation {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.03);
  }

  100% {
    transform: scale(1);
  }
}

.qa-container {
  max-width: 800px;
  margin: 0 auto;
}

.qa-item {
  background: var(--card-bg-color);
  margin-bottom: 15px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.qa-question {
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-heading);
  transition: background-color 0.3s ease;
}

.qa-question:hover {
  background-color: #f9fafb;
}

.qa-question .icon {
  transition: transform 0.3s ease;
  font-size: 1.2rem;
  color: var(--primary-color);
}

.qa-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.qa-answer p {
  padding: 0 25px 20px;
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.9;
}

.qa-answer a {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
}

.qa-answer a:hover {
  text-decoration: underline;
}

.qa-item.active .qa-question .icon {
  transform: rotate(180deg);
}

.qa-item.active .qa-answer {
  max-height: 200px;
}

.swiper-container {
  width: auto;
  padding-bottom: 60px;
  margin: 0 40px;
  overflow: hidden;
}

.swiper-slide {
  height: 600px;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: 0.3s;
}

.swiper-slide-active img {
  transform: scale(1.05);
}

.swiper-pagination {
  bottom: 20px !important;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
}

.swiper-pagination-bullet {
  width: 50px;
  height: 6px;
  border-radius: 0;
  background-color: rgba(0, 0, 0, 0.2);
  opacity: 1;
  transition: background-color 0.3s ease;
  margin: 0 !important;
}

.swiper-pagination-bullet:first-child {
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
}

.swiper-pagination-bullet:last-child {
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
}

.swiper-pagination-bullet-active {
  background: linear-gradient(90deg,
      var(--primary-color),
      var(--secondary-color));
}

.cta-section {
  background-color: var(--primary-color);
  color: white;
  border-radius: var(--border-radius);
  padding: 60px 40px;
  text-align: center;
}

.cta-section h2,
.cta-section p {
  color: white;
}

.cta-section h2::after {
  background: white;
}

.contact-info {
  margin: 25px 0;
  font-size: 1.15rem;
}

.contact-info p {
  margin-bottom: 10px;
}

.contact-info a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.cta-button {
  display: inline-block;
  background-color: var(--secondary-color);
  color: white;
  padding: 16px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
}

.cta-button:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5);
}

@media (max-width: 992px) {
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .hero-image {
    grid-row: 1;
    margin-bottom: 30px;
  }

  h1 {
    font-size: 2.8rem;
    text-align: center;
  }

  .hero-content {
    text-align: center;
  }

  .hero-content p.lead {
    margin-right: auto;
    margin-left: auto;
  }

  .class-card {
    flex-basis: 45%;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.4rem;
  }

  h2 {
    font-size: 2rem;
  }

  p,
  .feature-list li {
    font-size: 1rem;
  }

  .container {
    padding: 30px 15px;
  }

  .card,
  .cta-section {
    padding: 30px;
  }

  .swiper-container {
    margin: 0 10px;
  }

  .swiper-slide {
    height: 250px;
  }

  .class-card {
    flex-basis: 100%;
  }

  .hero::before {
    clip-path: ellipse(120% 80% at 100% 50%);
  }
}