/* Previous CSS remains the same until the hero section */

/* Hero Section */
.hero-section {
  background: var(--bg-purple);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 3rem;
  position: relative;
  overflow: hidden;
  padding: 76px 5% 4rem; /* Added top padding to account for nav */
}

/* Background Image - Fixed scaling */
.background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* Changed from fixed height to 100% */
  background: url("../images/v26_1492.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover; /* This ensures the image covers the full container */
  opacity: 1;
  z-index: 1;
}

/* Content styling remains the same until footer */

/* Footer - Fixed scaling */
.footer {
  width: 100%;
  min-height: 166px; /* Changed to min-height */
  position: relative;
  overflow: hidden;
  background: var(--bg-purple);
}

.footer-image {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: url("../images/v38_713.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100% auto; /* Changed to maintain aspect ratio */
  opacity: 1;
}

/* Add these new media queries for better image handling */
@media screen and (max-width: 1024px) {
  .background-image {
    background-position: top center;
  }
  
  .footer-image {
    background-size: cover;
  }
}

@media screen and (max-width: 768px) {
  .hero-section {
    padding-top: 60px;
  }
}

/* Rest of the CSS remains the same */

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

:root {
  --primary-purple: rgb(99, 0, 255);
  --light-purple: rgb(157, 96, 255);
  --bg-purple: rgb(245, 239, 255);
  --white: rgb(255, 255, 255);
}

body {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

/* Main container */
.v26_1478 {
  width: 100%;
  min-height: 100vh;
  background: var(--white);
  position: relative;
}

/* Navigation */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  background: var(--white);
  z-index: 1000;
}

.logo {
  width: 215px;
  height: 44px;
  object-fit: contain;
}

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

.nav-links span {
  color: var(--light-purple);
  font-weight: 600;
  font-size: clamp(1rem, 1.5vw, 1.5rem);
  cursor: pointer;
  transition: color 0.3s ease;
}

/* Hero Section */
.hero-section {
  background: var(--bg-purple);
  padding: 4rem 5%;
  min-height: calc(100vh - 76px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 3rem;
  position: relative;
  overflow: hidden;
}

/* Background Image */
.background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 512px;
  background: url("../images/v26_1492.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  opacity: 1;
  z-index: 1;
}

.hero-text {
  max-width: 1000px;
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 500;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

.hero-title {
  color: var(--primary-purple);
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: bold;
  margin: 2rem 0;
  position: relative;
  z-index: 2;
}

/* CTA Buttons */
.cta-container {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.cta-demand {
  padding: 1rem 2rem;
  border: 2px solid var(--primary-purple);
  border-radius: 14px;
  color: var(--primary-purple);
  font-size: clamp(1rem, 1.5vw, 1.5rem);
  font-weight: 600;
  font-style: italic;
  transition: all 0.3s ease;
}

.cta-collaborate {
  padding: 1rem 2rem;
  background: var(--primary-purple);
  border-radius: 16px;
  color: var(--white);
  font-size: clamp(1rem, 1.5vw, 1.5rem);
  font-weight: bold;
  transition: all 0.3s ease;
}

/* Footer */
.footer {
  width: 100%;
  height: 166px;
  position: relative;
  overflow: hidden;
}

.footer-image {
  width: 100%;
  height: 100%;
  background: url("../images/v38_713.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  opacity: 1;
}

/* Hover Effects */
.cta-demand:hover {
  background: var(--primary-purple);
  color: var(--white);
}

.cta-collaborate:hover {
  transform: scale(1.05);
}

/* Animation classes */
.fade-in {
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Media Queries */
@media screen and (max-width: 1024px) {
  nav {
    padding: 1rem 3%;
  }
  
  .nav-links {
    gap: 1.5rem;
  }
  
  .hero-section {
    padding: 3rem 3%;
  }
}

@media screen and (max-width: 768px) {
  .nav-links {
    display: none; /* Consider adding a hamburger menu for mobile */
  }
  
  .hero-text {
    padding: 0 1rem;
  }
  
  .cta-container {
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 0 1rem;
  }
  
  .cta-demand, 
  .cta-collaborate {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
}

@media screen and (max-width: 480px) {
  .hero-title {
    padding: 0 1rem;
  }
  
  .logo {
    width: 160px;
    height: 33px;
  }
}