/** @format */

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

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background-color: #222;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background-color: #444;
  border-radius: 10px;
  transition: background-color 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #666;
}

html {
  scroll-behavior: smooth;
}

a {
  cursor: pointer;
  transition: all 0.3s ease;
}

a:hover {
  color: #8a2be2;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #000;
  color: #fff;
  line-height: 1.6;
  font-weight: 300;
  overflow-x: hidden;
  overflow-y: auto;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 15px 20px;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  width: 100%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.navbar .logo {
  font-size: 28px;
  font-weight: 700;
  color: #8a2be2;
  text-transform: uppercase;
  transition: transform 0.3s ease;
}

.navbar .logo:hover {
  transform: scale(1.1);
}

.navbar .logo img {
  width: 150px;
  height: auto;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin-left: auto;
}

.navbar ul li a {
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.3s ease, transform 0.3s ease;
  position: relative;
}

.navbar ul li a:hover {
  color: #8a2be2;
  transform: scale(1.1);
}

.navbar ul li a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #ffffff;
  transition: width 0.3s ease;
}

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

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 129px;
  padding: 50px 20px;
  height: calc(100vh - 120px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("images/GoatedDevNew.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: blur(0px);
  opacity: 0.3;
  z-index: -1;
  transition: filter 2s ease-in;
}

.hero.visible::before {
  filter: blur(7px);
}

.hero-text-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 2s ease-in;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0;
}

.hero-text h2 {
  font-size: 50px;
  color: #fff;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero-text p {
  font-size: 18px;
  color: #ccc;
  margin: 0 auto 30px;
  max-width: 700px;
  text-align: center;
}

.hero-text-container h2 {
  font-size: 60px;
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: 800;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-text-container p {
  font-size: 24px;
  color: #f0f0f0;
  margin: 0 auto 30px;
  max-width: 800px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.cta-btn {
  padding: 14px 35px;
  background: linear-gradient(45deg, #5a5a5a, #2e2e2e);
  color: white;
  font-weight: 600;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(54, 54, 54, 0.3);
  margin-top: 30px;
}

.cta-btn:hover {
  color: rgb(116, 116, 116);
  background: linear-gradient(45deg, #333333, #222222);
  transform: scale(1.05);
}

.section {
  position: relative;
  padding: 80px 20px;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 5px solid transparent;

  z-index: -1;
  transition: opacity 0.7s ease-out;
}

.section.visible::before {
  opacity: 1;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

.section h2 {
  font-size: 36px;
  color: #fff;
  margin-bottom: 30px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.section.visible {
  animation: fadeInUp 0.8s forwards;
}

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

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

.services-grid,
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  text-align: center;
  justify-items: center;
  align-items: start;
  padding: 20px;
  height: auto;
}

.service-item,
.team-member {
  background: linear-gradient(135deg, #222, #111);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  list-style: none;
}

.service-item:hover,
.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.15);
}

.service-item h3,
.team-member h3 {
  font-size: 24px;
  color: #fff;
  margin-bottom: 12px;
}

.service-item p,
.team-member p {
  font-size: 16px;
  color: #ccc;
}

.team-member img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  margin-bottom: 20px;
  object-fit: cover;
  border: 3px solid #c0c0c0;
  transition: transform 0.3s ease;
}

.team-member:hover img {
  transform: scale(1.1);
}

.footer {
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 30px;
  margin-top: 40px;
  box-shadow: 0 -4px 10px rgba(255, 255, 255, 0.1);
}

.footer p {
  font-size: 16px;
  opacity: 0.8;
}

@media (max-width: 1024px) {
  .navbar ul {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .hero {
    padding: 100px 20px;
  }

  .hero-text h2 {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .hero-text h2 {
    font-size: 28px;
    margin-bottom: 15px;
  }
  .hero-text-container h2 {
    font-size: 32px;
    margin-bottom: 15px;
  }
  .container {
    text-align: center;
  }

  .hero-text p {
    font-size: 16px;
    margin: 0 auto 20px;
  }

  .service-item {
    padding: 15px;
  }
}

@media (max-width: 500px) {
  .hero-text h2 {
    font-size: 24px;
  }

  .hero-text p {
    font-size: 14px;
  }

  .hero {
    padding: 80px 10px;
  }

  .cta-btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  .footer p {
    font-size: 14px;
  }


.fade-in {
  opacity: 0;
}

.fade-in.visible {
  opacity: 1;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
