@import url('https://fonts.googleapis.com/css2?family=Almarai:wght@300;400;700;800&display=swap');

:root {
  --primary: #4c6ef5;
  --secondary: #3b5bdb;
  --accent1: #ff6b6b;
  --accent2: #40c057;
  --accent3: #fcc419;
  --light: #f8f9fa;
  --dark: #343a40;
  --paragrph: #333;
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-hero: linear-gradient(
    135deg,
    rgba(76, 110, 245, 0.9) 0%,
    rgba(59, 91, 219, 0.9) 100%
  );

  --scratchjr-primary: #fcc419;
  --scratchjr-secondary: #fab005;
}

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

body {
  font-family: 'Almarai', 'Cairo', 'Amiri', 'Segoe UI', Tahoma, Geneva, Verdana,
    sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: var(--paragrph);
  padding: 20px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: visible;
  background: white;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: containerSlideIn 1s ease-out;
}

@keyframes containerSlideIn {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Header Styles */
header {
  background: var(--gradient-primary);
  color: white;
  padding: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="70" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 2;
  position: relative;
  animation: logoSlideIn 1s ease-out 0.3s both;
}

@keyframes logoSlideIn {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.logo-icon {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.logo-text h1 {
  font-size: 2.2rem;
  margin: 0;
  font-weight: 800;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.logo-text p {
  font-size: 1.1rem;
  margin: 5px 0 0 0;
  opacity: 0.9;
  font-weight: 400;
}

nav {
  z-index: 2;
  position: relative;
}

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

nav li {
  animation: navItemSlideIn 0.8s ease-out both;
}

nav li:nth-child(1) {
  animation-delay: 0.1s;
}
nav li:nth-child(2) {
  animation-delay: 0.2s;
}
nav li:nth-child(3) {
  animation-delay: 0.3s;
}
nav li:nth-child(4) {
  animation-delay: 0.4s;
}
nav li:nth-child(5) {
  animation-delay: 0.5s;
}
nav li:nth-child(6) {
  animation-delay: 0.6s;
}

@keyframes navItemSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 25px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  display: block;
}

nav a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

nav a:hover::before {
  left: 100%;
}

nav a:hover,
nav a.active {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
.hero {
  position: relative;
  height: 500px;
  overflow: hidden;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.particle {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: floatParticles 8s linear infinite;
}

@keyframes floatParticles {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}

.hero-content {
  position: relative;
  height: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 40px;
  z-index: 2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-content h2 {
  font-size: 3rem;
  margin-bottom: 25px;
  font-weight: 800;
  animation: heroTitleSlideIn 1.2s ease-out 0.5s both;
}

.hero-content p {
  font-size: 1.3rem;
  max-width: 800px;
  line-height: 1.8;
  font-weight: 400;
  animation: heroTextSlideIn 1.2s ease-out 0.7s both;
}

@keyframes heroTitleSlideIn {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes heroTextSlideIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsiveness */
@media (max-width: 768px) {
  .hero {
    height: 400px;
  }

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

  .hero-content p {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 350px;
  }

  .hero-content h2 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 1rem;
  }
}

/* Main Content */
.content {
  padding: 60px 40px;
}

.section {
  margin-bottom: 80px;
  animation: fadeInUp 0.8s ease-out both;
}

.section:nth-child(1) {
  animation-delay: 0.2s;
}
.section:nth-child(2) {
  animation-delay: 0.4s;
}
.section:nth-child(3) {
  animation-delay: 0.6s;
}
.section:nth-child(4) {
  animation-delay: 0.8s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

h2 {
  color: var(--primary);
  border-bottom: 3px solid var(--primary);
  padding-bottom: 15px;
  margin-bottom: 30px;
  font-size: 2.2rem;
  font-weight: 700;
  position: relative;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -3px;
  right: 0;
  width: 50px;
  height: 3px;
  background: var(--accent1);
  border-radius: 2px;
}

h3 {
  color: var(--secondary);
  margin: 20px 0;
  font-size: 1.5rem;
  font-weight: 700;
}

p {
  margin-bottom: 20px;
  font-size: 1.2rem;
  line-height: 2;
  font-weight: 400;
}

/* Contact Section */
.contact-container {
  display: flex;
  gap: 40px;
  margin: 30px 0;
  flex-wrap: wrap;
}
.contact-info {
  flex: 1;
  min-width: 300px;
}
.contact-form {
  flex: 2;
  min-width: 300px;
}

/* Info Cards */
.info-card {
  background: var(--light);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.info-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 0;
}
.info-icon {
  font-size: 1.5rem;
  color: var(--primary);
}

/* Form Styles */
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}
.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s;
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(121, 80, 242, 0.1);
}
textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* Profile Section */
.profile {
  display: flex;
  gap: 40px;
  margin: 30px 0;
  align-items: center;
  flex-wrap: wrap;
}
.profile-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}
.profile-image img {
  width: 100%;
  max-width: 350px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.profile-content {
  flex: 2;
  min-width: 300px;
}

/* FAQ Section */
.faq {
  margin: 40px 0;
}
.faq-item {
  background: #f8f9fa;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}
.faq-question {
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  font-size: 1.1rem;
}
.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.active .faq-answer {
  padding: 20px;
  max-height: 300px;
}

/* Map */
.map-container {
  border-radius: 10px;
  overflow: hidden;
  height: 300px;
  margin: 30px 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Benefits Section */
.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.benefit-card {
  background: linear-gradient(135deg, #f8f9ff 0%, #e3f2fd 100%);
  border-radius: 20px;
  padding: 35px 25px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(76, 110, 245, 0.1) 0%,
    rgba(255, 107, 107, 0.1) 100%
  );
  opacity: 0;
  transition: opacity 0.4s;
}

.benefit-card:hover::before {
  opacity: 1;
}

.benefit-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 50px rgba(76, 110, 245, 0.3);
}

.benefit-icon {
  font-size: 3.5rem;
  color: var(--primary);
  margin-bottom: 20px;
  transition: all 0.4s;
  position: relative;
  z-index: 2;
}

.benefit-card:hover .benefit-icon {
  transform: scale(1.1) rotate(5deg);
}

.benefit-card:hover .icon1 {
  color: var(--accent1);
}

.benefit-card:hover .icon2 {
  color: var(--accent2);
}

.benefit-card:hover .icon3 {
  color: var(--accent3);
}

.benefit-card:hover .icon4 {
  color: rgb(218, 81, 218);
}

.benefit-card h3,
.benefit-card p {
  position: relative;
  z-index: 2;
}

.path-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--scratchjr-primary) 0%,
    var(--scratchjr-secondary) 100%
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 800;
  color: white;
  margin: 0 auto 20px;
  position: relative;
  z-index: 2;
  transition: all 0.3s;
}

.path-card:hover .path-number {
  transform: scale(1.1) rotate(5deg);
}

/* ContactUs Section */
.contacts-us {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.contact-us-card {
  background: linear-gradient(135deg, #f8f9ff 0%, #e3f2fd 100%);
  border-radius: 20px;
  padding: 35px 25px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.contact-us-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(76, 110, 245, 0.1) 0%,
    rgba(255, 107, 107, 0.1) 100%
  );
  opacity: 0;
  transition: opacity 0.4s;
}

.contact-us-card:hover::before {
  opacity: 1;
}

.contact-us-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 50px rgba(76, 110, 245, 0.3);
}

.contact-us-icon {
  font-size: 3.5rem;
  color: var(--primary);
  margin-bottom: 20px;
  transition: all 0.4s;
  position: relative;
  z-index: 2;
}

.contact-us-card:hover .contact-us-icon {
  transform: scale(1.1) rotate(5deg);
}

.contact-us-card:hover .icon1 {
  color: var(--accent1);
}

.contact-us-card:hover .icon2 {
  color: var(--accent2);
}

.contact-us-card:hover .icon3 {
  color: var(--accent3);
}

.contact-us-card:hover .icon4 {
  color: rgb(218, 81, 218);
}

.contact-us-card h3,
.contact-us-card p {
  position: relative;
  z-index: 2;
}

/* Learning Steps Section */
.learning-steps {
  margin: 50px 0;
}

.step-item {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  gap: 40px;
  animation: fadeInUp 0.8s ease-out both;
  background: linear-gradient(135deg, #f8f9ff 0%, #e3f2fd 100% 100%);
  border-radius: 25px;
  padding: 30px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.step-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(76, 110, 245, 0.1) 0%,
    rgba(255, 107, 107, 0.1) 100%
  );
  opacity: 0;
  transition: opacity 0.4s;
}

.step-item:hover::before {
  opacity: 1;
}

.step-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(76, 110, 245, 0.3);
}

.step-item.reverse {
  flex-direction: row-reverse;
}

.step-content {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 25px;
  position: relative;
  z-index: 2;
}

.step-number {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
  transition: all 0.3s;
  box-shadow: 0 8px 25px rgba(252, 196, 25, 0.3);
}

.step-item:hover .step-number {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 12px 35px rgba(39, 133, 196, 0.4);
}

.step-text h3 {
  color: var(--secondary);
  margin-bottom: 15px;
  font-size: 1.8rem;
  font-weight: 700;
}

.step-text p {
  color: #555;
  line-height: 1.8;
  font-size: 1.1rem;
  margin: 0;
}

.step-image {
  flex: 1;
  position: relative;
  z-index: 2;
}

.step-image img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.step-item:hover .step-image img {
  transform: scale(1.02);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
}

/* Mobile responsiveness for learning steps */
@media (max-width: 768px) {
  .step-item,
  .step-item.reverse {
    flex-direction: column;
    text-align: center;
    gap: 25px;
  }

  .step-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .step-number {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
  }

  .step-text h3 {
    font-size: 1.5rem;
  }
}

/* Platform Cards */
.platforms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin: 50px 0;
}

.platform-card {
  background: white;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}

.platform-card:hover {
  transform: translateY(-15px) rotateX(5deg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}

.platform-header {
  padding: 30px 25px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.platform-header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.scratchjr-header {
  background: linear-gradient(135deg, #fcc419 0%, #fab005 100%);
}

.robotics-header {
  background: linear-gradient(135deg, #20c997 0%, #099268 100%);
}

.scratch-header {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
}

.gdevelop-header {
  background: linear-gradient(135deg, #4c6ef5 0%, #364fc7 100%);
}

.platform-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  transition: transform 0.3s;
}

.platform-card:hover .platform-icon {
  transform: scale(1.2) rotateY(15deg);
}

.card_title {
  color: white;
  font-size: 2rem;
  font-weight: 800;
  margin: 0;
  position: relative;
  z-index: 2;
}

.platform-content {
  padding: 30px;
  background: white;
}

.age-range {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  padding: 20px;
  border-radius: 15px;
  margin: 20px 0;
  text-align: center;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  box-shadow: 0 4px 15px rgba(76, 110, 245, 0.2);
}

.features-list {
  list-style-type: none;
  margin: 25px 0;
}

.features-list li {
  margin-bottom: 15px;
  padding-right: 35px;
  position: relative;
  font-size: 1.1rem;
  transition: all 0.3s;
}

.features-list li:hover {
  transform: translateX(-5px);
  color: var(--primary);
}

.features-list li i {
  position: absolute;
  right: 0;
  top: 8px;
  color: var(--accent2);
  font-size: 1.2rem;
  transition: all 0.3s;
}

.features-list li:hover i {
  transform: scale(1.2);
  color: var(--primary);
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.gallery-item {
  border-radius: 20px;
  overflow: hidden;
  height: 250px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}

.gallery-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 2;
}

.gallery-item:hover::before {
  opacity: 1;
}

.gallery-item:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Buttons */
.buttons {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin: 50px 0;
  flex-wrap: wrap;
}

.btn {
  padding: 18px 40px;
  border: none;
  border-radius: 50px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.6s;
}

.btn:focus {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  box-shadow: 0 8px 25px rgba(76, 110, 245, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 40px rgba(76, 110, 245, 0.4);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--accent2) 0%, #2f9e44 100%);
  color: white;
  box-shadow: 0 8px 25px rgba(64, 192, 87, 0.3);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #2f9e44 0%, var(--accent2) 100%);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 40px rgba(64, 192, 87, 0.4);
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--dark) 0%, #212529 100%);
  color: white;
  padding: 50px 40px 20px;
  position: relative;
  overflow: hidden;
}

.footer-content a {
  color: white;
  text-decoration: none;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--primary),
    var(--accent1),
    var(--accent2),
    var(--accent3)
  );
}

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

.footer-section h3 {
  color: white;
  margin-bottom: 20px;
  font-size: 1.4rem;
  font-weight: 700;
}

.footer-section p,
.footer-section li {
  color: rgba(255, 255, 255, 1);
  line-height: 1.8;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: var(--primary);
}

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

/* Scroll to top button */
.scroll-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s;
  z-index: 1000;
  box-shadow: 0 8px 25px rgba(76, 110, 245, 0.3);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 15px 40px rgba(76, 110, 245, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
  body {
    padding: 10px;
  }

  header {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 20px;
  }

  header .logo .logo-icon {
    visibility: hidden;
    width: 0;
  }
  header .logo {
    text-align: center;
  }

  .buttons {
    text-align: center;
  }

  nav ul {
    justify-content: center;
    gap: 10px;
  }

  nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 25px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
  }

  .hero-content h2 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .content {
    padding: 40px 20px;
  }

  .benefits,
  .platforms,
  .gallery {
    grid-template-columns: 1fr;
  }

  .buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .scroll-top {
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}
