header {
  z-index: 1000;
  background-color: white;
  position: sticky;
  top: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  color: #fdf7f9;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  overflow-x: hidden;
}

/* Navigation */
.navbar-wrapper {
  padding: 0.5rem;
  background-color: #fff;        
}

.home .navbar-wrapper {
  background-color: #f0c6d6;    
}

.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2em;
  background-color: white;
  position: sticky;
  border-radius: 30px;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo {
  position: absolute;
  left: 2em;
  font-weight: bold;
  color: #9f4e69;
  font-size: 1.25rem;
  font-family: "Inter", sans-serif;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2em;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #666674;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  font-family: "Inter", sans-serif;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #f0c6d6;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  position: absolute;
  right: 2em;
  z-index: 1001;
  background: none;
  border: none;
  padding: 0.5rem;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #9f4e69;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section */
.hero {
  background-color: #f0c6d6;
  background-image: url("data:image/svg+xml,%3Csvg width='48' height='32' viewBox='0 0 48 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239f4e69' fill-opacity='0.18'%3E%3Cpath d='M27 32c0-3.314 2.686-6 6-6 5.523 0 10-4.477 10-10S38.523 6 33 6c-3.314 0-6-2.686-6-6h2c0 2.21 1.79 4 4 4 6.627 0 12 5.373 12 12s-5.373 12-12 12c-2.21 0-4 1.79-4 4h-2zm-6 0c0-3.314-2.686-6-6-6-5.523 0-10-4.477-10-10S9.477 6 15 6c3.314 0 6-2.686 6-6h-2c0 2.21-1.79 4-4 4C8.373 4 3 9.373 3 16s5.373 12 12 12c2.21 0 4 1.79 4 4h2z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat;
  padding: 4em 2em;
  text-align: center;
  width: 100%;
  height: 75vh;
}

.hero-content {
  max-width: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
}

.hero h1 {
  font-size: 5rem;
  font-weight: 1000;
  line-height: 1.2;
  color: #fff;
  padding: 2.5rem 1rem; 
  font-family: "Poppins", sans-serif;
  margin-bottom: 0.5rem;
  text-shadow:
    0 0 8px #Fd3db5,
    0 0 15px #db739c,
    0 0 2px rgba(255, 255, 255, 0.3),
    0 0 4px rgba(255, 255, 255, 0.7);
}

.hero p {
  white-space: normal;
  overflow-wrap: break-word;
  word-wrap: break-word;
  border-right: 3px solid #4a1c2b;
  font-size: 2rem; 
  color: #4a281c;     
  font-family: 'Poppins', sans-serif;
  letter-spacing: 2px;
  margin: 0 auto 2rem;
  padding: 1.5rem 1rem; 
  font-weight: 700;
  line-height: 1.6;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 769px) {
  .hero p {
    white-space: pre-line;
  }
}

.hero-button {
  background-color: #822a4d;
  color: #fff;
  padding: 1rem 2.5rem;
  font-weight: bold;
  font-size: 1.25rem; 
  margin: 0 auto 3rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-family: "Fira Code", monospace;
  display: block;
  width: fit-content;
  opacity: 0;
  visibility: hidden;
}

.hero-button.animate__animated {
  opacity: 1;
  visibility: visible;
}

.hero-button:hover {
  background-color: #Fd3db5;
  transform: scale(1.05);
}

/* Animations */
.blinking-cursor::after {
  content: '|';
  display: inline-block;
  margin-left: 4px;
  animation: blink 0.7s steps(1) infinite;
}

.animate__slow { 
  animation-duration: 10s;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* Utility Classes */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5em;
}

footer {
  background-color: #ffffff;
  color: black;
  text-align: center;
  padding: 2rem 1rem;
  margin-top: auto;
  font-family: "Inter", sans-serif;
  width: 100%;
  box-sizing: border-box;
}

footer p {
  margin: 0;
  font-size: 1rem;
  color: black;
  font-weight: 500;
}

.email-text {
  color: #6b2c40;
  font-family: "Inter", sans-serif;
  font-size: 1.1rem;
  margin-top: 2rem;
  text-align: center;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 70%;
    background-color: white;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.3s ease-in-out;
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    gap: 2em;
    z-index: 999;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-links a {
    font-size: 1.2rem;
    padding: 1rem 0;
  }
  
  .navbar {
    padding: 1em 2em;
    justify-content: space-between;
  }
  
  .logo {
    position: static;
  }
  
  .hero {
    padding: 2em 1em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  
  .hero h1 {
    font-size: 2.5rem;
    padding: 1rem 0.5rem;
  }

  .hero p {
    font-size: 1.3rem;
    padding: 1rem;
    letter-spacing: 0.5px;
    width: calc(100% - 2rem);
    max-width: calc(100vw - 3rem);
    border-right: none;
  }

  .hero-button {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 1em;
  }
  
  .hamburger {
    right: 1em;
  }
  
  .nav-links {
    width: 80%;
  }
  
  .hero {
    padding: 1.5em 0.5em;
    height: auto;
    min-height: 60vh;
  }
  
  .hero h1 {
    font-size: 1.8rem;
    padding: 0.5rem;
    line-height: 1.1;
  }
  
  .hero p {
    font-size: 1rem;
    padding: 1rem;
    letter-spacing: 0.5px;
    width: calc(100% - 2rem);
    max-width: calc(100vw - 2.5rem);
    min-height: 2rem;
  }
  
  .hero-button {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .grid {
    grid-template-columns: 1fr;
    gap: 1em;
  }
}