body {
  font-family: Inter, sans-serif;
  margin: 0;
  background: #111827;
  color: white;
  line-height: 1.6;
}

section {
  padding: 1rem 2rem;
  text-align: center;
}

.hero {
  background: linear-gradient(to bottom right, #111827, #1f2937);
  padding: 0 0 2rem;
  position: relative;
}

.hero-content {
  position: absolute;
  top: 40vh;
  left: 20vw;

}

.hero video {
  width: 100%;
  height: 100%;
  margin: 0 auto
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.cta-buttons a {
  margin: 0.5rem;
}

.btn-primary, .btn-secondary {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
}

.btn-primary {
  background: #7C3AED;
  color: white;
}

.btn-secondary {
  border: 2px solid white;
  color: white;
}

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

.portfolio .card {
  background-size: contain;
}

.portfolio .card p {
  background: #1f2937;
}

.port-item {
  display: flex;
  align-items: center;
  max-width: 100vw;
  margin-block: 80px;
}

.port-item p {
  width: 50%;
  padding-inline: 40px;
}

.port-item div {
  width: 50%;
}

.port-item ul {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.port-item img,
.port-item video {
  max-width: 100%;
  height: 300px;
  border-radius: 8px;
}

.card {
  background: #1f2937;
  padding: 1.5rem;
  border-radius: 12px;
  scroll-snap-align: start;
  flex: 0 0 85%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.card img {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.contact form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

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

.social-links {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.social-links h3 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.social-icons-container {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.social-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.5rem;
  background: #7C3AED;
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
  min-width: 100px;
  text-align: center;
}

.social-icon i {
  font-size: 1.5rem;
}

.social-icon span {
  font-size: 0.9rem;
}

.social-icon:hover {
  background: #6d28d9;
  transform: translateY(-4px);
  box-shadow: 0 6px 12px rgba(124, 58, 237, 0.3);
}

.testimonials {
  background: #1f2937;
}

.testimonials h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card {
  background: #111827;
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid #7C3AED;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.testimonial-text {
  font-size: 1rem;
  font-style: italic;
  margin-bottom: 1rem;
  color: #e5e7eb;
}

.testimonial-author {
  font-weight: bold;
  color: #7C3AED;
  font-size: 0.9rem;
}

footer {
  background: #0f172a;
  padding: 1rem;
}

/* Team section */
.team {
  padding: 4rem 2rem;
}

.team h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.team-member {
  padding: 1.25rem;
  text-align: center;
  background: #1f2937;
  border-radius: 12px;
}

.team-member img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 4px solid rgba(124, 58, 237, 0.12);
}

.team-member h3 {
  margin: 0.25rem 0;
  font-size: 1.1rem;
}

.team-member .role {
  color: #a5b4fc;
  font-size: 0.9rem;
  margin: 0;
}

a {
  text-decoration: none;
  color: #fff;
}

.services {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 16px;
}

.services h2 {
  margin: 0 0 16px;
  font-size: 28px;
}

/* Carousel */
.carousel {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 10px;
}

/* Optional: hide scrollbar */
.carousel::-webkit-scrollbar {
  height: 0;
}

.carousel {
  scrollbar-width: none;
}

.track {
  display: flex;
  gap: 14px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

/* Show more cards on larger screens */
@media (min-width: 700px) {
  .card {
    flex-basis: calc(50% - 7px);
  }
}

@media (min-width: 1000px) {
  .card {
    flex-basis: calc(33.333% - 10px);
  }
}