* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  scroll-behavior:smooth;
}

body {
  background: #a8328971;
  color: #333;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
   background: linear-gradient(135deg, #db005f, #a83289);
  backdrop-filter: blur(10px);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  border-radius: 5px;
}

.navbar .logo {
  color: white;
  font-weight: 700;
  font-size: 10px;
  margin-left:-27px;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 1.2rem;
}

.navbar a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  position: relative;
}

.navbar a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: white;
  transition: width 0.3s ease;
}

.navbar a:hover::after {
  width: 100%;
}

/* Hero */
.hero {
     
    
  min-height: 70vh;
  background: linear-gradient(135deg, #db005f, #a83289);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 2rem;
  position: relative;
  margin-top: -30px;
}

.hero-overlay {
  max-width: 800px;
  animation: fadeUp 1s ease;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.btn {
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn.primary {
  background: white;
  color: #ff4d6d;
}

.btn.glass {
  background: rgba(255,255,255,0.2);
  color: white;
  backdrop-filter: blur(10px);
}

.btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Sections */
.section {
  padding: 4rem 2rem;
  text-align: center;
}

.section h2 {
  margin-bottom: 2rem;
  color: #ff4d6d;
}

.alt {
  background: #ffe6ee;
}

.fade-in {
  animation: fadeUp 0.8s ease both;
}

/* Quotes */
.quotes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.quote-card {
  background: rgb(255, 255, 255);
  backdrop-filter: blur(12px);
  padding: 1.5rem;
  border-radius: 18px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  transition: transform 0.3s ease;
}

.quote-card:hover {
  transform: translateY(-6px);
}

.quote-actions {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
}

.quote-actions button {
  background: #a83289;
  border: none;
  color: white;
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.85rem;
}

/* Card Generator */
.template-grid {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.template {
  width: 50px;
  height: 70px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ff4d6d, #ff9aa2);
  cursor: pointer;
  border: 3px solid transparent;
  transition: transform 0.2s ease, border 0.2s ease;
}

.template:hover {
  transform: scale(1.1);
}

.template.active {
  border: 3px solid #ff4d6d;
}

.card-builder {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.glass-box {
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(12px);
  padding: 1.5rem;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.card-controls {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  max-width: 320px;
  width: 100%;
}

.card-controls input,
.card-controls textarea {
  padding: 0.7rem;
  border-radius: 10px;
  border: 1px solid #ccc;
}

.card-controls button {
  background: #a83289;
  color: white;
  border: none;
  padding: 0.7rem;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.card-controls button:hover {
  background: #ff2f5c;
}

.control-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.emoji-picker {
  display: flex;
  gap: 0.5rem;
  font-size: 1.3rem;
  cursor: pointer;
}

.card-preview {
  width: 280px;
  height: 380px;
  background: linear-gradient(135deg, #ff4d6d, #ff9aa2);
  border-radius: 25px;
  padding: 1.5rem;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.card-preview:hover {
  transform: rotate(-1deg) scale(1.02);
}

/* Send Section */
.send-wrapper {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.send-preview {
  width: 260px;
  height: 340px;
  background: linear-gradient(135deg, #ff758f, #ff7eb3);
  border-radius: 20px;
  padding: 1.3rem;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.send-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  max-width: 300px;
  width: 100%;
}

.send-form input,
.send-form textarea {
  padding: 0.7rem;
  border-radius: 10px;
  border: 1px solid #ccc;
}

.send-form button {
  background: #ff4d6d;
  color: white;
  border: none;
  padding: 0.8rem;
  border-radius: 25px;
  cursor: pointer;
}

/* Tips */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.4rem;
}

.tip-card {
  background: white;
  padding: 1.3rem;
  border-radius: 18px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

/* Single */
.single {
  background: linear-gradient(135deg, #fbc2eb, #a6c1ee);
}

.single-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.4rem;
}

.single-card {
  background: rgba(255,255,255,0.85);
  padding: 1.5rem;
  border-radius: 25px;
  font-weight: 500;
}

/* Footer */
footer {
  background: linear-gradient(135deg, #db005f, #a83289);
  color: white;
  text-align: center;
  padding: 1.2rem;
}

/* Floating Hearts */
#hearts-container span {
  position: fixed;
  bottom: -20px;
  font-size: 20px;
  animation: floatUp 6s linear infinite;
  opacity: 0.7;
  pointer-events: none;
}

@keyframes floatUp {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.7;
  }
  100% {
    transform: translateY(-110vh) scale(1.5);
    opacity: 0;
  }
}

/* Music Toggle */
#musicToggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #a83289;
  color: white;
  border: none;
  padding: 0.8rem;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2000;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 600px) {
  .hero h1 {
    font-size: 2.2rem;
  }
}
.contact-text {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 25px;
  font-size: 1.1rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.contact-card {
   background: linear-gradient(135deg, #db005f, #a83289);
  color: white;
  padding: 20px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,.15);
}

.contact-card small {
  display: block;
  margin-top: 8px;
  font-size: 0.85rem;
  opacity: 0.9;
}

.contact-actions {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

