:root {
  --primary-color: #2b5876;
  --secondary-color: #4e4376;
  --accent-color: #ffd700;
  --text-color: #333;
  --light-text: #fff;
  --background: #f8f9fa;
  --section-bg: #ffffff;
  --shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

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

body {
  font-family: 'Roboto', 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  color: var(--light-text);
  padding: 20px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 40px;
}

.logo h1 {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--light-text);
  font-size: 1.5rem;
  cursor: pointer;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav a {
  color: var(--light-text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

nav a:hover {
  color: var(--accent-color);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: width 0.3s;
}

nav a:hover::after {
  width: 100%;
}

.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
              url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="600" viewBox="0 0 1200 600"><rect width="1200" height="600" fill="%232b5876"/><path d="M0,300 Q300,200 600,300 T1200,300" stroke="%234e4376" stroke-width="10" fill="none"/></svg>') center/cover;
  color: var(--light-text);
  text-align: center;
  padding: 150px 0 100px;
  margin-top: 70px;
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 30px;
}

.btn {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--text-color);
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

section {
  padding: 80px 0;
}

section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

section h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.subtitle {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 50px;
  color: var(--secondary-color);
}

.divider {
  height: 4px;
  width: 60px;
  background-color: var(--accent-color);
  margin: 0 auto 40px;
}

.services {
  background-color: var(--section-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

.service-icon {
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  padding: 25px;
  text-align: center;
}

.service-icon svg {
  height: 60px;
  width: 60px;
  fill: var(--light-text);
}

.service-content {
  padding: 25px;
}

.service-content h3 {
  margin-bottom: 15px;
  color: var(--primary-color);
}

.about {
  background-color: var(--background);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-img {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-img svg {
  width: 100%;
  height: auto;
  display: block;
}

.about-content p {
  margin-bottom: 20px;
}

.features {
  background-color: var(--section-bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-item {
  text-align: center;
  padding: 30px;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: var(--shadow);
  transition: all 0.3s;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  margin-bottom: 20px;
  color: var(--primary-color);
  font-size: 2.5rem;
}

.testimonials {
  background-color: var(--background);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial-card::before {
  content: """;
  font-size: 5rem;
  position: absolute;
  top: -20px;
  left: 20px;
  color: rgba(0, 0, 0, 0.05);
  font-family: serif;
}

.testimonial-text {
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-color);
}

.training-courses {
  background-color: var(--section-bg);
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.course-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.course-img {
  height: 200px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
}

.course-content {
  padding: 25px;
}

.course-content h3 {
  margin-bottom: 10px;
  color: var(--primary-color);
}

.course-content .price {
  color: var(--accent-color);
  font-weight: 600;
  margin-top: 15px;
  font-size: 1.2rem;
}

.games-module {
  background-color: var(--background);
  padding: 60px 0;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}

.game-card {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: all 0.3s;
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.game-card h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.game-card p {
  margin-bottom: 15px;
  font-size: 0.95rem;
  color: #666;
}

.game-card a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.game-card a:hover {
  color: var(--secondary-color);
}

.news-items {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.news-item {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.news-source {
  color: var(--secondary-color);
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}

.cta {
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  color: var(--light-text);
  text-align: center;
}

.cta h2 {
  color: var(--light-text);
  margin-bottom: 20px;
}

.cta p {
  max-width: 800px;
  margin: 0 auto 30px;
}

footer {
  background-color: #222;
  color: #fff;
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer-col h3 {
  color: var(--accent-color);
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--accent-color);
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: all 0.3s;
}

.social-links a:hover {
  background-color: var(--accent-color);
  color: #222;
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  color: #999;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 15px;
}

.footer-logo img {
  height: 30px;
}

.footer-logo h2 {
  color: var(--light-text);
  font-size: 1.2rem;
  margin: 0;
}

@media screen and (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .logo h1 {
    font-size: 1.5rem;
  }

  .nav-toggle {
    display: block;
  }

  nav ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    width: 100%;
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
  }

  nav.active ul {
    max-height: 300px;
  }

  nav li {
    width: 100%;
  }

  nav a {
    display: block;
    padding: 15px 20px;
  }

  .hero h2 {
    font-size: 2.2rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 576px) {
  section {
    padding: 60px 0;
  }

  section h2 {
    font-size: 2rem;
  }

  .hero {
    padding: 130px 0 80px;
  }
}
