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

:root {
  --bg: #1b013c;
  --card: #3d156a;
  --accent: #6C3BA4;
  --highlight: #ff5fcf;
  --text: #fff;
}

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

body {
  background: linear-gradient(135deg, #22034d, #6C3BA4);
  color: var(--text);
  overflow-x: hidden;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(50, 0, 90, 0.4);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.logo {
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--highlight);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--highlight);
}

.contact-btn {
  background: var(--highlight);
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  color: #fff !important;
}

.menu-toggle {
  display: none;
  cursor: pointer;
}

/* HERO */
.hero {
  text-align: center;
  padding: 6rem 2rem;
}

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

.hero p {
  font-size: 1.2rem;
  opacity: 0.85;
  max-width: 600px;
  margin: 0 auto;
}

.btn-primary {
  display: inline-block;
  margin-top: 1.5rem;
  background: var(--highlight);
  padding: 0.8rem 1.8rem;
  border-radius: 12px;
  text-decoration: none;
  color: #fff;
  transition: 0.3s;
}

.btn-primary:hover {
  background: #ff7de0;
  transform: translateY(-2px);
}

/* ABOUT */
.about-section {
  max-width: 1100px;
  margin: 3rem auto;
  padding: 3rem 1.5rem;
}

.about-section h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
}

.about-block {
  display: flex;
  align-items: center;
  margin: 2rem 0;
  gap: 2rem;
  background: rgba(255,255,255,0.05);
  padding: 1.5rem;
  border-radius: 20px;
  transition: 0.3s;
}

.about-block:hover {
  transform: translateY(-4px);
}

.about-icon {
  font-size: 2rem;
  background: var(--card);
  padding: 1rem;
  border-radius: 12px;
}

.about-text h3 {
  color: var(--highlight);
  margin-bottom: 0.5rem;
}

.about-block.reverse {
  flex-direction: row-reverse;
}

/* SERVICES */
.services-section {
  text-align: center;
  padding: 4rem 2rem;
  background: rgba(255,255,255,0.05);
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  background: var(--card);
  border-radius: 20px;
  padding: 2rem;
  width: 280px;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
  transition: 0.3s;
}

.service-card:hover {
  transform: scale(1.05);
}

.service-card img {
  width: 60px;
  margin-bottom: 1rem;
}

/* TESTIMONIALS UPDATED */
.testimonials-section {
  padding: 5rem 2rem;
  text-align: center;
}

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

.testimonial-carousel {
  position: relative;
  width: 100%;
  max-width: 800px;
  height: 240px;
  margin: 0 auto;
  overflow: hidden;
  perspective: 1000px;
}

.testimonial {
  position: absolute;
  top: 0;
  left: 50%;
  width: 60%;
  transform: translateX(-50%) scale(0.8);
  opacity: 0.5;
  background: var(--card);
  border-radius: 20px;
  padding: 2rem;
  transition: all 1s ease;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
}

.testimonial.active {
  transform: translateX(-50%) scale(1);
  opacity: 1;
  z-index: 3;
}

.testimonial.left {
  transform: translateX(-90%) scale(0.75);
  opacity: 0.4;
  z-index: 2;
}

.testimonial.right {
  transform: translateX(-10%) scale(0.75);
  opacity: 0.4;
  z-index: 2;
}

.testimonial p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.testimonial span {
  opacity: 0.8;
  font-size: 0.9rem;
  color: var(--highlight);
}

@media (max-width: 768px) {
  .testimonial {
    width: 80%;
  }
}


/* FOOTER */
footer {
  background: #190032;
  padding: 3rem 1rem;
}

.footer-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
  text-align: left;
}

.footer-col h4 {
  color: var(--highlight);
  margin-bottom: 1rem;
}

.footer-col a, .footer-col p {
  color: #ccc;
  display: block;
  margin-bottom: 0.5rem;
  text-decoration: none;
  transition: 0.3s;
}

.footer-col a:hover {
  color: var(--highlight);
}

.footer-bottom {
  text-align: center;
  font-size: 0.9rem;
  color: #aaa;
  margin-top: 2rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .about-block, .about-block.reverse {
    flex-direction: column;
    text-align: center;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    background: var(--card);
    position: absolute;
    right: 0;
    top: 60px;
    width: 200px;
    border-radius: 10px;
  }
  .menu-toggle {
    display: block;
    font-size: 1.8rem;
  }
  .nav-links.active {
    display: flex;
  }
}

