/**
 * NOVAM - Styles CSS
 * =====================================================
 */

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

body {
  font-family: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #000;
  color: #fff;
  overflow-x: hidden;
  position: relative;
}

/* Animated gradient background */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* =====================================================
   NAVIGATION
   ===================================================== */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #fff, #667eea);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.phone-number {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.3s;
}

.phone-number:hover {
  color: rgba(255, 255, 255, 0.9);
}

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

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  transition: opacity 0.3s;
}

.nav-links a:hover {
  opacity: 0.6;
}

.cta-button {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  padding: 0.7rem 1.5rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  padding-bottom: 400px;
  position: relative;
  overflow: hidden;
}

.hero.finisher-header > canvas {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 0 !important;
}

.hero > *:not(.orb):not(.hero-image):not(canvas):not(.hero-stats):not(.scroll-indicator) {
  position: relative;
  z-index: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 150px;
}

/* Hero Images */
.hero-image {
  position: absolute;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1; /* Increased z-index to ensure visibility */
  border-radius: 12px;
  /* Allow height to adapt to content */
  height: auto;
  max-height: 300px; /* Prevent extremely tall images */
  display: flex; /* Ensure img behaves nicely */
}

.hero-image img {
  width: 100%;
  height: auto; /* Maintain aspect ratio */
  display: block;
  object-fit: contain; /* Ensure full image is visible without cropping */
  filter: brightness(0.8) saturate(1.2);
}

.hero-image-top-left {
  top: 15%;
  left: 5%;
  width: 280px;
  /* Removed fixed height */
}

.hero-image-left {
  top: 50%;
  left: 8%;
  width: 200px;
  /* Removed fixed height */
}

.hero-image-right {
  bottom: 25%;
  right: 5%;
  width: 320px;
  /* Removed fixed height */
}

/* Responsive adjustments for hero images */
@media (max-width: 1200px) {
  .hero-image-top-left {
    width: 220px;
  }
  .hero-image-left {
    width: 160px;
  }
  .hero-image-right {
    width: 260px;
  }
}

@media (max-width: 992px) {
  .hero-image {
    opacity: 0.6;
  }
  .hero-image-top-left {
    width: 180px;
    left: 2%;
  }
  .hero-image-left {
    /* Show it but smaller, or keep hidden if too crowded. User said "TJR QUE 3 IMAGE", implying they want 4. */
    width: 120px;
    left: 2%;
    top: 60%;
    display: block;
  }
  .hero-image-right {
    width: 200px;
    right: 2%;
  }
}

@media (max-width: 768px) {
  .hero-image {
    display: none;
  } /* Hide all floating images on mobile to focus on content */
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
  font-family: "Inter", sans-serif;
}

.hero .subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(255, 255, 255, 0.65);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  font-weight: 300;
  font-family: "Inter", sans-serif;
}

.gradient-text {
  background: linear-gradient(135deg, #fff, #667eea);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 400;
}

/* Floating gradient orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  z-index: -1;
}

.orb1 {
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  top: -250px;
  right: -250px;
}

.orb2 {
  display: none;
}

/* CTA Buttons */
.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

/* Hero Stats - Positioned at bottom */
.hero-stats {
  position: absolute;
  bottom: 80px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5rem;
  z-index: 10;
  padding: 0 2rem;
}

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

.stat-item h2 {
  font-size: 3rem;
  font-weight: 300;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #fff, #667eea);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: "Inter", sans-serif;
}

.stat-item p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  font-weight: 300;
  font-family: "Inter", sans-serif;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  right: 4rem;
  left: auto;
  transform: none;
  animation: bounce 2s infinite;
  z-index: 10;
}

.scroll-indicator::before {
  content: "↓";
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 992px) {
  .scroll-indicator {
    display: none;
  }
  
  /* Réduire le padding-top du hero sur tablette */
  .hero-content {
    padding-top: 120px;
  }
}

@media (max-width: 768px) {
  /* Réduire encore plus le padding-top du hero sur mobile */
  .hero-content {
    padding-top: 100px;
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* =====================================================
   BUTTONS
   ===================================================== */
.button {
  --border_radius: 9999px;
  --transtion: 0.3s ease-in-out;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-origin: center;
  padding: 1rem 2rem;
  background-color: transparent;
  border: none;
  border-radius: var(--border_radius);
  transition: transform var(--transtion);
  text-decoration: none;
}

.button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border-radius: var(--border_radius);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2), inset 0 -1px 1px rgba(0, 0, 0, 0.2), 0px 8px 24px -4px hsla(0 0% 0% / 0.3);
  transition: all var(--transtion);
  z-index: 0;
}

.button::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, hsla(260 97% 61% / 0.3) 0%, hsla(266, 45%, 74%, 0.25) 50%, hsla(266, 36%, 60%, 0.3) 100%);
  opacity: var(--active, 0);
  border-radius: var(--border_radius);
  transition: opacity var(--transtion);
  z-index: 2;
}

.button:is(:hover, :focus-visible) {
  --active: 1;
  transform: scale(1.05);
}

.button .dots_border {
  --size_border: calc(100% + 2px);
  overflow: hidden;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: var(--size_border);
  height: var(--size_border);
  background-color: transparent;
  border-radius: var(--border_radius);
  z-index: -10;
}

.button .dots_border::before {
  content: "";
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 2rem;
  background: linear-gradient(90deg, rgba(102, 126, 234, 0.6), rgba(118, 75, 162, 0.6), rgba(240, 147, 251, 0.4));
  filter: blur(2px);
  animation: rotate 5s linear infinite;
}

.button .text_button {
  position: relative;
  z-index: 10;
  font-size: 1rem;
  color: white;
  font-weight: 600;
}

@keyframes rotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.btn-primary {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.btn-primary::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;
}

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

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5);
}

.btn-secondary {
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  padding: 1rem 2rem;
  border: none;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s;
  display: inline-block;
}

.btn-secondary::after {
  content: "→";
  margin-left: 0.5rem;
  transition: transform 0.3s;
  display: inline-block;
}

.btn-secondary:hover {
  color: #fff;
  transform: translateX(5px);
}

/* =====================================================
   SECTION TITLES
   ===================================================== */
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  margin-bottom: 1rem;
  text-align: center;
  letter-spacing: -1px;
  font-family: "Inter", sans-serif;
}

.section-subtitle {
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  margin-bottom: 4rem;
  font-size: 1.1rem;
}

.section-label {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

/* =====================================================
   TESTIMONIALS CAROUSEL
   ===================================================== */
.testimonials {
  padding: 5rem 4rem;
  background: linear-gradient(180deg, transparent, rgba(102, 126, 234, 0.02), transparent);
  position: relative;
}

.testimonials-carousel-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 3rem auto 0;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonials-carousel {
  overflow: hidden;
  flex: 1;
}

.testimonials-track {
  display: flex;
  transition: transform 0.5s ease;
  padding: 1rem 0; /* Add padding for shadows */
}

.testimonial-card {
  flex: 0 0 100%;
  max-width: 100%;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2.5rem;
  margin: 0 1rem;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: auto;
  min-height: 300px;
}

@media (min-width: 768px) {
  .testimonial-card {
    flex: 0 0 calc(50% - 2rem);
  }
}

@media (max-width: 767px) {
  .testimonials {
    padding: 3rem 1rem;
    overflow: hidden; /* Prevent horizontal scroll on body */
  }

  .testimonials-carousel-wrapper {
    gap: 1rem;
    margin: 2rem auto 0;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
  }

  .testimonials-carousel {
    width: 100%;
    padding: 0 1rem; /* Add padding to container instead of cards */
    order: 1;
    flex: 0 0 100%;
  }

  .carousel-prev {
    order: 2;
  }

  .carousel-next {
    order: 3;
  }

  .testimonials-track {
    gap: 0; /* Remove gap to ensure perfect 100% alignment */
  }

  .testimonial-card {
    flex: 0 0 100%;
    margin: 0;
    padding: 2rem 1.5rem; /* More vertical padding for better look */
    min-height: auto;
    width: 100%;
    border-radius: 12px; /* Restore rounded corners */
    background: rgba(255, 255, 255, 0.03); /* Slightly lighter for better visibility */
  }

  .carousel-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    z-index: 10; /* Ensure arrows are clickable */
    margin: 0 10px;
  }
}

@media (min-width: 1200px) {
  .testimonial-card {
    flex: 0 0 calc(33.333% - 2rem);
  }
}

.testimonial-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1.5rem;
  left: 2rem;
  font-size: 4rem;
  color: rgba(102, 126, 234, 0.3); /* Blue with opacity */
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-content {
  position: relative;
  z-index: 1;
  margin-bottom: 2rem;
  margin-top: 1.5rem;
}

.testimonial-text {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  font-size: 1rem;
  margin-bottom: 1rem;
  font-style: italic;
}

.see-more-btn {
  background: none;
  border: none;
  color: #667eea;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0;
  transition: color 0.3s;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
}

.author-avatar,
.author-avatar-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.author-avatar {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
}

.author-info h4 {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}

.author-info p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  margin: 0;
}

.company-logo {
  display: none; /* Hide company logo text as it might clutter the card */
}

.see-more-btn:hover {
  color: #a5b4fc;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea, #764ba2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

.author-avatar-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(102, 126, 234, 0.5);
}

.author-info h4 {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.author-info p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

.company-logo {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 2px;
}

/* Carousel Arrows */
.carousel-arrow {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.carousel-arrow:hover {
  background: rgba(102, 126, 234, 0.2);
  border-color: rgba(102, 126, 234, 0.5);
  transform: scale(1.1);
}

/* Carousel Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.carousel-dot.active {
  background: #667eea;
  transform: scale(1.2);
}

.carousel-dot:hover {
  background: rgba(102, 126, 234, 0.5);
}

/* =====================================================
   FEATURES / SERVICES
   ===================================================== */
.features {
  padding: 8rem 4rem;
  max-width: 1600px;
  margin: 0 auto;
}

.services-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.services-left,
.services-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.services-right .section-title {
  font-size: 5rem;
  font-weight: 700;
  margin: 0.5rem 0 2rem 0;
  letter-spacing: -2px;
  text-align: left;
}

.services-description {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  font-size: 0.95rem;
  font-weight: 300;
  margin: 1rem 0 0 0;
}

.feature-card {
  background: rgba(20, 20, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 2rem;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  cursor: pointer;
}

/* Removed hover image effects */

.feature-card:hover {
  border-color: rgba(102, 126, 234, 0.3);
  transform: translateY(-5px);
}

.feature-card:hover h3 {
  color: #fff;
}

.feature-card:hover p {
  color: rgba(255, 255, 255, 0.95);
}

.feature-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
  border: 1px solid rgba(102, 126, 234, 0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin: 0;
  font-weight: 400;
  font-family: "Inter", sans-serif;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.feature-card p {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  font-size: 0.95rem;
  font-weight: 300;
  font-family: "Inter", sans-serif;
  margin: 0;
}

.feature-card .feature-extra {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.feature-card.expanded .feature-extra {
  max-height: 500px;
}

.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s;
  margin-top: 0.5rem;
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 0;
}

.feature-link::after {
  content: "///";
  color: rgba(102, 126, 234, 0.6);
  transition: all 0.3s;
}

.feature-card:hover .feature-link {
  color: rgba(255, 255, 255, 0.9);
}

.feature-card.expanded .feature-link::after {
  content: "\\\\\\";
}

/* =====================================================
   SHOWCASE / WHY CHOOSE US
   ===================================================== */
.showcase {
  padding: 10rem 4rem;
  position: relative;
  overflow: hidden;
}

.showcase-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.showcase-content h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 2rem;
  line-height: 1.2;
  letter-spacing: -2px;
}

.showcase-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.feature-list {
  list-style: none;
  margin: 2rem 0;
}

.feature-list li {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s;
  cursor: pointer;
  font-size: 1.15rem;
}

.feature-list li:hover {
  padding-left: 1rem;
  border-color: rgba(102, 126, 234, 0.5);
  color: rgba(255, 255, 255, 1);
}

.feature-list li.active {
  padding-left: 1rem;
  border-color: rgba(102, 126, 234, 0.8);
  color: #fff;
}

.feature-list li::before {
  content: "→";
  color: #667eea;
  font-size: 1.5rem;
  font-weight: bold;
}

.showcase-image {
  width: 100%;
  height: 500px;
  background-size: cover;
  background-position: center;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  transition: all 0.5s ease;
}

/* =====================================================
   PROCESS / STACKING CARDS
   ===================================================== */
.stacking-section {
  padding: 8rem 4rem 20rem 4rem;
  position: relative;
  overflow: hidden;
}

.stacking-section .section-title {
  text-align: center;
  margin-bottom: 1rem;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -2px;
}

.stacking-section-intro {
  max-width: 700px;
  margin: 0 auto 4rem;
  text-align: center;
}

.stacking-section-intro p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-top: 1rem;
}

.cards-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.process-card {
  position: relative;
  width: 100%;
  min-height: 400px;
  background: rgba(20, 20, 20, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 3rem;
  margin-bottom: 40vh;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transform-origin: center top;
}

.process-card:last-child {
  margin-bottom: 0;
}

.process-card:nth-child(1) {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(20, 20, 20, 0.9));
}
.process-card:nth-child(2) {
  background: linear-gradient(135deg, rgba(118, 75, 162, 0.1), rgba(20, 20, 20, 0.9));
}
.process-card:nth-child(3) {
  background: linear-gradient(135deg, rgba(240, 147, 251, 0.1), rgba(20, 20, 20, 0.9));
}
.process-card:nth-child(4) {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(20, 20, 20, 0.9));
}
.process-card:nth-child(5) {
  background: linear-gradient(135deg, rgba(118, 75, 162, 0.15), rgba(20, 20, 20, 0.9));
}

.process-number {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
  border: 2px solid rgba(102, 126, 234, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: white;
  font-family: "Inter", sans-serif;
  margin-bottom: 1rem;
}

.process-card h3 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -1px;
  font-family: "Inter", sans-serif;
  color: rgba(255, 255, 255, 0.95);
}

.process-card p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-weight: 300;
}

.process-price {
  margin-top: 1rem !important;
  font-size: 1.2rem !important;
  font-weight: 600 !important;
  background: linear-gradient(135deg, #fff, #667eea);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =====================================================
   JOIN SECTION
   ===================================================== */
.join-section {
  padding: 8rem 4rem;
  background: linear-gradient(180deg, transparent, rgba(102, 126, 234, 0.03), transparent);
}

.join-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.join-header {
  margin-bottom: 3rem;
}

.join-description {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.student-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.student-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2.5rem 2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  text-decoration: none;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.student-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.student-card.coordinator:hover {
  border-color: rgba(102, 126, 234, 0.6);
}

.student-card.collaborator:hover {
  border-color: rgba(118, 75, 162, 0.6);
}

.student-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.coordinator .student-icon {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(102, 126, 234, 0.1));
  border: 2px solid rgba(102, 126, 234, 0.4);
  color: #667eea;
}

.collaborator .student-icon {
  background: linear-gradient(135deg, rgba(118, 75, 162, 0.2), rgba(118, 75, 162, 0.1));
  border: 2px solid rgba(118, 75, 162, 0.4);
  color: #764ba2;
}

.student-info h4 {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.student-info p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.student-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  transition: all 0.3s;
}

.coordinator .student-cta {
  color: #667eea;
  background: rgba(102, 126, 234, 0.1);
  border: 1px solid rgba(102, 126, 234, 0.3);
}

.collaborator .student-cta {
  color: #764ba2;
  background: rgba(118, 75, 162, 0.1);
  border: 1px solid rgba(118, 75, 162, 0.3);
}

.student-card:hover .student-cta {
  transform: translateX(5px);
}

/* =====================================================
   CONTACT SECTION
   ===================================================== */
.cta-section {
  padding: 6rem 4rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
  margin: 4rem 2rem;
  border-radius: 30px;
}

.contact-container {
  max-width: 600px;
  margin: 0 auto;
}

.contact-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  font-weight: 700;
}

.contact-header p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  color: #fff;
  font-size: 1rem;
  font-family: "Inter", sans-serif;
  transition: all 0.3s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(102, 126, 234, 0.5);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 30px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form .btn-primary {
  margin: 0.5rem auto 0;
}

/* Alert Messages */
.alert {
  padding: 1rem 1.5rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.alert-success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

.alert-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

/* =====================================================
   FOOTER
   ===================================================== */
footer {
  padding: 3rem 4rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .features {
    padding: 6rem 3rem;
  }

  .services-layout {
    gap: 3rem;
  }

  .services-right .section-title {
    font-size: 3.5rem;
  }

  .showcase-container {
    gap: 4rem;
  }

  .stacking-section {
    padding: 6rem 3rem;
  }

  .process-card {
    padding: 2.5rem;
    min-height: 350px;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 1.5rem 2rem;
  }

  .nav-links {
    display: none;
  }

  .phone-number {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
    z-index: 1001;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 1000;
  }

  .nav-links.mobile-active {
    display: flex;
  }

  .nav-links a {
    font-size: 1.5rem;
  }

  .hero-image {
    display: none;
  }

  .features,
  .showcase,
  .testimonials {
    padding: 4rem 1.5rem;
  }

  .cta-section {
    padding: 4rem 1.5rem;
    margin: 2rem 1rem;
  }

  .services-layout {
    grid-template-columns: 1fr;
  }

  .services-right {
    order: -1;
  }

  .services-right .section-title {
    font-size: 3rem;
    text-align: center;
  }

  .showcase-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .showcase-image {
    height: 300px;
  }

  .stacking-section {
    padding: 4rem 1.5rem;
  }

  .process-card {
    min-height: auto;
    padding: 2rem;
    margin-bottom: 2rem !important;
  }

  .process-card h3 {
    font-size: 1.5rem;
  }

  .process-number {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .hero-stats {
    bottom: 40px;
    gap: 2rem;
    flex-wrap: wrap;
  }

  .stat-item h2 {
    font-size: 2rem;
  }

  .stat-item p {
    font-size: 0.8rem;
  }

  .join-section {
    padding: 4rem 1.5rem;
  }

  .student-cards {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .carousel-arrow {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .testimonial-card {
    padding: 2rem 1.5rem;
    margin: 0 0.5rem;
  }

  footer {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero .subtitle {
    font-size: 0.95rem;
  }

  .button {
    padding: 0.8rem 1.5rem;
  }

  .button .text_button {
    font-size: 0.9rem;
  }

  .btn-primary {
    padding: 0.9rem 1.5rem;
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .testimonial-text {
    font-size: 1rem;
  }
}
