:root {
  --primary-color: #1E3A8A;
  --secondary-color: #4F46E5;
  --accent-color: #10B981;
  --light-color: #F3F4F6;
  --dark-color: #1F2937;
  --text-color: #374151;
  --background-color: #FFFFFF;
  --section-bg: #F9FAFB;
  --border-color: #E5E7EB;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.7;
  font-size: 16px;
}

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

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--accent-color);
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: #0EA271;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(16, 185, 129, 0.2);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
}

.btn-outline:hover {
  background-color: var(--accent-color);
  color: white;
}

section {
  padding: 100px 0;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  text-align: center;
  position: relative;
  font-weight: 700;
}

.section-title::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 4px;
  background-color: var(--accent-color);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.section-subtitle {
  text-align: center;
  color: var(--text-color);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 50px;
}

/* Header */
header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
}

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

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

.logo img {
  height: 45px;
  margin-right: 10px;
}

.logo-text {
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--primary-color);
}

.logo-text span {
  color: var(--secondary-color);
}

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

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

nav ul li {
  margin-left: 30px;
}

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

nav ul li a:hover {
  color: var(--primary-color);
}

nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  left: 0;
  bottom: -4px;
  transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
  background: linear-gradient(rgba(30, 58, 138, 0.8), rgba(79, 70, 229, 0.8)), url('https://images.pexels.com/photos/3184291/pexels-photo-3184291.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260') no-repeat center center/cover;
  height: 100vh;
  display: flex;
  align-items: center;
  color: white;
  text-align: center;
  padding-top: 80px;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
}

.hero h1 span {
  color: var(--accent-color);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Services Section */
.services {
  background-color: var(--section-bg);
}

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

.service-card {
  background-color: white;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  background-color: var(--light-color);
  border-radius: 50%;
  color: var(--primary-color);
  font-size: 1.8rem;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--dark-color);
}

.service-card p {
  color: var(--text-color);
  margin-bottom: 20px;
}

/* About Section */
.about {
  background-color: white;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-image {
  flex: 1;
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-image::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border: 4px solid var(--accent-color);
  border-radius: 8px;
  top: 20px;
  left: 20px;
  z-index: -1;
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

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

.about-features {
  margin-top: 30px;
}

.feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.feature-icon {
  width: 40px;
  height: 40px;
  background-color: var(--light-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  color: var(--accent-color);
}

/* Games Section */
.games {
  background-color: var(--section-bg);
}

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

.game-card {
  background-color: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

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

.game-card h3 {
  font-size: 1.3rem;
  color: var(--dark-color);
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border-color);
}

.game-card p {
  margin-bottom: 20px;
  color: var(--text-color);
}

.game-card a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
  display: inline-block;
  margin-top: 10px;
}

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

/* Testimonials */
.testimonials {
  background-color: white;
}

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

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

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 5rem;
  color: var(--accent-color);
  opacity: 0.2;
  font-family: serif;
}

.testimonial-text {
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 15px;
  object-fit: cover;
}

.author-info h4 {
  font-size: 1.1rem;
  color: var(--dark-color);
}

.author-info p {
  font-size: 0.9rem;
  color: var(--text-color);
}

/* Contact */
.contact {
  background-color: var(--section-bg);
}

.contact-wrapper {
  display: flex;
  gap: 30px;
  margin-top: 50px;
}

.contact-info {
  flex: 1;
  background-color: var(--primary-color);
  padding: 40px;
  border-radius: 8px;
  color: white;
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 30px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.contact-icon {
  margin-right: 15px;
  font-size: 1.3rem;
  color: var(--accent-color);
}

.contact-text h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.contact-form {
  flex: 1;
  background-color: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 2px rgba(30, 58, 138, 0.1);
}

.form-group textarea {
  height: 150px;
  resize: vertical;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 80px 0 20px;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo img {
  height: 40px;
  margin-right: 10px;
}

.footer-about p {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-heading {
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 3px;
  background-color: var(--accent-color);
  bottom: 0;
  left: 0;
}

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
}

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

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

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: var(--accent-color);
  transform: translateY(-3px);
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* Media Queries */
@media (max-width: 992px) {
  .section-title {
    font-size: 2.2rem;
  }
  
  .hero h1 {
    font-size: 2.8rem;
  }
  
  .about-content {
    flex-direction: column;
  }
  
  .about-image {
    margin-bottom: 30px;
  }
  
  .contact-wrapper {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  
  nav {
    position: fixed;
    top: 75px;
    left: 0;
    width: 100%;
    background-color: white;
    height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }
  
  nav.active {
    height: auto;
    padding: 20px 0;
  }
  
  nav ul {
    flex-direction: column;
    width: 100%;
  }
  
  nav ul li {
    margin: 0;
    text-align: center;
    margin-bottom: 15px;
  }
  
  .hero h1 {
    font-size: 2.3rem;
  }
  
  .hero-btns {
    flex-direction: column;
    gap: 10px;
  }
  
  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  section {
    padding: 60px 0;
  }
  
  .hero {
    height: auto;
    padding: 100px 0;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
}
