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

body {
  font-family: Arial, sans-serif;
  background: #0a0a0a;
  color: white;
  line-height: 1.6;
}

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

h1, h2, h3 {
  font-weight: bold;
}

a {
  text-decoration: none;
  color: white;
}

/* ---------------- NAVBAR ---------------- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background: rgba(0,0,0,0.7);
  position: sticky;
  top: 0;
  z-index: 10;
}

.navbar .logo {
  display: flex;
  align-items: center;
  font-size: 20px;
  font-weight: bold;
}

.navbar .logo img {
  width: 40px;
  margin-right: 8px;
}

.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.nav-links a {
  font-weight: bold;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #ff007f;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* ---------------- HERO ---------------- */
.hero {
  height: 90vh;
  background: linear-gradient(120deg, #3a0ca3, #7209b7, #f72585);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.hero h1 {
  font-size: 42px;
}

.hero .btn {
  margin-top: 15px;
  padding: 12px 25px;
  background: #ff007f;
  color: white;
  font-weight: bold;
  border-radius: 25px;
  display: inline-block;
  transition: 0.3s;
}

.hero .btn:hover {
  background: #ff3399;
}
.hero {
  height: 90vh;
  background: linear-gradient(120deg, #3a0ca3, #7209b7, #f72585);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: left;
  padding: 40px;
  gap: 50px;
}

.hero-content {
  max-width: 500px;
}

.hero-gif img {
  width: 280px;
  animation: float 4s ease-in-out infinite;
}

/* Floating animation */
@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }
  .hero-gif img {
    width: 200px;
    margin-top: 20px;
  }
}

/* ---------------- ABOUT ---------------- */
.about {
  padding: 60px 20px;
  background: #111;
  text-align: center;
}

.about-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 20px;
}

.about-grid div {
  background: #1a1a1a;
  padding: 20px;
  border-radius: 12px;
  width: 300px;
}

/* ---------------- SERVICES ---------------- */
.services {
  padding: 60px 20px;
  background: #0f0f0f;
  text-align: center;
}

.service-boxes {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 20px;
}

.service-card {
  background: #1e1e1e;
  padding: 20px;
  border-radius: 15px;
  width: 250px;
  text-align: center;
  transition: transform 0.3s;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card img {
  width: 80px;
  margin-bottom: 15px;
}

/* ---------------- PORTFOLIO ---------------- */
.portfolio {
  padding: 60px 20px;
  background: #111;
  text-align: center;
}

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

.portfolio-item img {
  width: 100%;
  border-radius: 10px;
}

/* ---------------- STATS ---------------- */
.stats {
  background: linear-gradient(90deg, #ff007f, #7209b7);
  padding: 40px 20px;
  text-align: center;
}

.stats-container {
  display: flex;
  justify-content: center;
  gap: 50px;
}

.stats-container div h3 {
  font-size: 36px;
  color: white;
}

.stats-container div p {
  font-size: 18px;
}

/* ---------------- TESTIMONIALS ---------------- */
.testimonials {
  padding: 60px 20px;
  background: #0f0f0f;
  text-align: center;
}

.testimonial-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.testimonial {
  background: #1e1e1e;
  padding: 20px;
  border-radius: 12px;
  width: 300px;
  font-style: italic;
}

/* ---------------- CONTACT ---------------- */
.contact {
  padding: 60px 20px;
  background: #111;
  text-align: center;
}

.contact form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 400px;
  margin: auto;
}

.contact input,
.contact textarea {
  padding: 12px;
  border: none;
  border-radius: 8px;
}

.contact button {
  padding: 12px;
  background: #ff007f;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.contact button:hover {
  background: #ff3399;
}

/* ---------------- FOOTER ---------------- */
footer {
  background: #000;
  padding: 20px;
  text-align: center;
}

.social-icons a {
  margin: 0 10px;
  color: white;
  font-size: 20px;
}


@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0); }
}
/* ---- ANIMATIONS ---- */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease-in-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Fade-in left */
.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 1s ease-in-out;
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

/* Fade-in right */
.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 1s ease-in-out;
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* ---------------- RESPONSIVE ---------------- */
@media(max-width: 768px) {
  .about-grid, .service-boxes, .stats-container, .testimonial-cards {
    flex-direction: column;
    align-items: center;
  }

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