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

body, html {
  height: 100%;
  font-family: Arial, Helvetica, sans-serif; /* ✅ clean & simple */
  font-style: normal;  /* ✅ removes any italic */
  font-weight: normal; /* ✅ removes unwanted bold */
  -webkit-font-smoothing: antialiased; /* ✅ smooth text */
  -moz-osx-font-smoothing: grayscale;
  overflow-y: auto;
  background: #ffe4ec;
  color: #a259c6;
}

canvas#hearts {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.main-content {
  z-index: 2;
  position: relative; /* ✅ no longer absolute */
  margin-top: 120px;   /* ✅ pushes it below the navbar */
  width: 100%;
  text-align: center;
  padding: 20px;
}

.glow {
  font-size: 3em;
  color: #ff69b4;
  text-shadow: 0 0 5px #fff, 0 0 15px #ff69b4, 0 0 30px #ff69b4;
  margin-bottom: 30px;
  transition: transform 0.25s ease, text-shadow 0.25s ease;
  display: inline-block;
}

/* 🌸 Soft hover effect */
.glow:hover {
  transform: scale(1.08); /* only slightly pops out */
  text-shadow: 0 0 8px #fff, 0 0 25px #ff8ecf, 0 0 45px #ffc1e3;
  color: #ff7fc3;
}


/* Special Note Box Styling */
.special-note {
  max-width: 700px;
  margin: 30px auto;
  padding: 25px;
  background: rgba(255, 240, 245, 0.85); /* soft pink background */
  border: 2px solid #ffb6c1;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(255, 182, 193, 0.3);
  font-family: 'Poppins', sans-serif;
  line-height: 1.8;
  color: #444;
  position: relative;
}

/* Cute glowing border effect */
.special-note::before {
  content: "💖";
  position: absolute;
  top: -15px;
  left: 15px;
  font-size: 25px;
  animation: floatEmoji 3s infinite ease-in-out;
}

@keyframes floatEmoji {
  0% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
  100% { transform: translateY(0); }
}

.note-title {
  text-align: center;
  font-size: 1.8em;
  color: #d63384;
  margin-bottom: 15px;
  text-shadow: 0 1px 3px rgba(255, 105, 180, 0.4);
}

.note-content p {
  margin-bottom: 15px;
  font-size: 1.05em;
}

/* Styling for the Quran Ayah */
.note-content blockquote {
  background: #fff0f5;
  border-left: 4px solid #ff69b4;
  padding: 15px 20px;
  font-style: italic;
  color: #333;
  border-radius: 10px;
  margin: 20px 0;
}

/* Signature at the end */
.signature {
  text-align: right;
  font-weight: bold;
  color: #d63384;
}


.typewriter {
  font-size: 1.3em;
  max-width: 600px;
  margin: 0 auto 30px;
  min-height: 80px;
}

/* ✅ Mobile-Only Adjustments */
@media (max-width: 768px) {
   
  .main-content {
   position: relative;
 margin: 120px auto 0; /* ✅ centers horizontally & keeps below navbar */  
   left: auto;
    top: auto;
    transform: none;
    width: 90%;
    padding: 10px;
        text-align: center; 

  }

  .glow {
    font-size: 2em;
  }
}

/* ✅ NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 800px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 10px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 20px rgba(255, 105, 180, 0.3);
  z-index: 100;
}

.nav-logo {
  font-size: 1.5em;
  font-weight: bold;
  color: #FF64B8; /* Pink matches button */
  text-shadow: 0 0 5px rgba(208, 120, 183, 0.841);
}

.nav-logo a {
  color: inherit;
  text-decoration: none;
}

.nav-logo a:hover {
  color: #E11B8D; /* Deeper pink */
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links li a {
  color: #FF66CC;
  font-weight: 500;
  text-decoration: none;
  font-size: 1.1em;
  transition: all 0.3s ease;
}

.nav-links li a:hover {
  color: #EC3AAA; /* Deeper pink */
}

/* for password modal and notes page modal */
/* 🌸 Modal Background */
.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #ffdde1, #ee9ca7);
  display: flex; justify-content: center; align-items: center;
  z-index: 9999;
  overflow: hidden;
}

/* 🌸 Floating PNGs */
.bg-floating {
  position: absolute;
  width: 70px;       /* all images small & cute */
  opacity: 0.7;
  animation: floaty 10s ease-in-out infinite;
}

/* 🌸 Animation */
@keyframes floaty {
  0%   { transform: translateY(0px) rotate(0deg); }
  50%  { transform: translateY(-25px) rotate(6deg); }
  100% { transform: translateY(0px) rotate(-6deg); }
}

/* 🌸 Modal Box */
.modal-content {
  background: rgba(255, 255, 255, 0.5); /* 50% transparent */
  padding: 30px;
  border-radius: 25px;
  text-align: center;
  max-width: 350px;
  z-index: 10;
  box-shadow: 0 0 20px rgba(255,105,180,0.4);
  animation: pop 0.5s ease;
}
@keyframes pop {
  from { transform: scale(0.7); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* 🌸 Input & Button */
.modal-content input {
  padding: 10px;
  border: 2px solid pink;
  border-radius: 10px;
  width: 80%;
  margin: 10px 0;
  font-size: 1rem;
  text-align: center;
}
.modal-content h2,
.modal-content p,
.error {
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.8); /* Added for text readability */
}
.heart-btn {
  background: #ff6b81;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
}
.heart-btn:hover {
  background: #ff3b69;
  transform: scale(1.1);
}
.error {
  color: red;
  font-size: 0.9rem;
  display: none;
  margin-top: 10px;
}





/* language button */


.lang-btn {
  display: block;
  margin: 10px auto 20px;
  background: #d63384;
  color: white;
  padding: 8px 15px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1em;
  transition: background 0.3s ease;
}

.lang-btn:hover {
  background: #b82d6f;
}
