* {
  box-sizing: border-box;
  scroll-behavior: smooth;
  transition: all 0.3s ease;
}

/* BODY */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #fefcfb, #f8e1ba);
  color: #333;
}

/* NAVBAR */
.top-nav {
  background-color: #a7b3ce;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo {
  font-family: 'Dancing Script', cursive;
  font-size: 1.8rem;
  color: #a0522d;
  font-weight: bold;
}

.nav-links a {
  text-decoration: none;
  color: #444;
  margin: 0 1rem;
  font-weight: 500;
}

.nav-links a:hover {
  color: #a0522d;
  text-shadow: 0 0 10px #f4c542;
}

.nav-links .active {
  color: #a0522d;
  border-bottom: 2px solid #a0522d;
  padding-bottom: 3px;
}

/* HERO SECTION */
.hero {
  text-align: center;
  padding: 4rem 1rem 2rem;
  background: linear-gradient(135deg, #fff6e5, #fde2d0);
  animation: fadeIn 1s ease-in;
}

.hero-text h1 {
  font-family: 'Dancing Script', cursive;
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
  color: #a0522d;
}

.hero-text p {
  font-size: 1.1rem;
  color: #555;
}

.highlight {
  color: #d2691e;
}

/* CARD CONTAINER */
.card {
  background: #fff;
  border-radius: 15px;
  padding: 2rem;
  margin: 2rem auto;
  max-width: 900px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  animation: fadeIn 1s ease-in;
}

/* ANIMATIONS */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ABOUT SECTION */
.about-content {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.profile-pic {
  width: 180px;
  border-radius: 50%;
  box-shadow: 0 3px 15px rgba(0,0,0,0.15);
}

/* GALLERY */
.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.gallery img {
  width: 260px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.4s ease;
}

.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.gallery figcaption {
  text-align: center;
  font-size: 0.95rem;
  color: #555;
  margin-top: 0.5rem;
}

/* HOBBY GRID */
.hobby-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.2rem;
  margin-top: 1rem;
}

.hobby-card {
  background: #fffdf5;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.hobby-card:hover {
  transform: translateY(-5px);
  background: #fff8e6;
}

.hobby-card h3 a {
  text-decoration: none;
  color: #a0522d;
}

.hobby-card h3 a:hover {
  text-shadow: 0 0 8px #f4c542;
}

/* CONTACT FORM */
form {
  display: flex;
  flex-direction: column;
}

form label {
  font-weight: 600;
  margin-top: 0.5rem;
}

form input, form textarea {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  margin-top: 5px;
}

form textarea {
  resize: vertical;
}

button {
  background: #f4c542;
  border: none;
  padding: 0.7rem 1.2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  color: #222;
  align-self: flex-start;
  margin-top: 1rem;
}

button:hover {
  background: #dba53c;
  color: white;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* MAP CONTAINER */
.map-container iframe {
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  margin-top: 1rem;
}

/* FOOTER */
footer {
  text-align: center;
  background: #fff3cd;
  padding: 1rem;
  font-weight: 500;
  margin-top: 2rem;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

/* LINKS */
a {
  color: #a0522d;
}

a:hover {
  color: #d2691e;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .profile-pic {
    width: 150px;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hobby-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .top-nav {
    flex-direction: column;
    gap: 0.5rem;
  }

  .logo {
    font-size: 1.5rem;
  }

  .nav-links a {
    margin: 0.3rem;
  }
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #fefbf6, #f7efe5); /* soft pastel background */
  color: #333;
}

.top-nav {
  background-color: #dcd6f7; /* soft lavender */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
}

.logo {
  font-family: 'Dancing Script', cursive;
  font-size: 1.8rem;
  color: #c06c84; /* soft rose-mauve */
  font-weight: bold;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  margin: 0 1rem;
  font-weight: 500;
}

.nav-links a:hover {
  color: #c06c84;
  text-shadow: 0 0 10px rgba(192, 108, 132, 0.2);
}

.nav-links .active {
  color: #c06c84;
  border-bottom: 2px solid #c06c84;
  padding-bottom: 3px;
}



  /*hero section*/
.hero {
  text-align: center;
  padding: 4rem 1rem 2rem;
  background: linear-gradient(135deg, #fef5f5, #fbe4d8);
}

.hero-text h1 {
  font-family: 'Dancing Script', cursive;
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
  color: #bf7e90;
}

.highlight {
  color: #d2691e; /* warm burnt orange */
}

button {
  background: #f4a261;
  color: white;
  border: none;
  padding: 0.7rem 1.2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover {
  background: #e76f51;
}


/* ======================= */
/* 💖 ABOUT ME SECTION 💖 */
/* ======================= */

.about-section {
  background: linear-gradient(145deg, #fffaf6, #fefcfb);
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  padding: 3rem;
  margin: 3rem auto;
  max-width: 950px;
  text-align: center;
  animation: fadeIn 1s ease-in-out;
}

.about-section h2 {
  font-family: 'Dancing Script', cursive;
  color: #c06c84;
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.about-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.5rem;
}

.profile-pic {
  width: 240px;
  height: 280px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border: 5px solid #dcd6f7;
  transition: all 0.4s ease;
  animation: float 4s ease-in-out infinite;
}

.profile-pic:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(192, 108, 132, 0.4);
  border-color: #c06c84;
}

/* Floating animation for your photo */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.about-text {
  max-width: 500px;
  text-align: left;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #444;
}

.about-text strong {
  color: #d2691e;
  font-weight: 600;
}

/* Subtle sparkle animation for ✨ emoji */
@keyframes sparkle {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
  100% { transform: scale(1); opacity: 1; }
}

.sparkle {
  display: inline-block;
  animation: sparkle 2s infinite ease-in-out;
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .about-text {
    text-align: center;
    font-size: 1rem;
  }

  .profile-pic {
    width: 180px;
    height: 210px;
  }
}



/* 🌆 LOCATION GALLERY STYLING */
.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.gallery-item {
  background: #fff;
  border-radius: 15px;
  padding: 1rem;
  text-align: center;
  width: 280px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 25px rgba(192, 108, 132, 0.25);
}

.gallery-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease;
}

.gallery-item img:hover {
  transform: scale(1.05);
}

.gallery-item p {
  margin-top: 0.8rem;
  font-size: 1.05rem;
  color: #444;
  font-weight: 500;
}

/* make it responsive */
@media (max-width: 768px) {
  .gallery-item {
    width: 90%;
  }

  .gallery-grid {
    gap: 1.5rem;
  }
}






/* 🌸 CLICKABLE HOBBY CARDS */
.hobby-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.hobby-card {
  background: #fffdf5;
  border-radius: 15px;
  padding: 1.5rem;
  text-align: center;
  text-decoration: none;
  color: #333;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: block;
}

.hobby-card:hover {
  transform: translateY(-6px);
  background: #fff8ea;
  box-shadow: 0 6px 25px rgba(192, 108, 132, 0.25);
}

.hobby-card h3 {
  color: #a0522d;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.hobby-card p {
  font-size: 1rem;
  color: #555;
}


.gallery figure {
  text-align: center;
}

.gallery figcaption {
  margin-top: 0.5rem;
  font-family: 'Dancing Script', cursive;
  font-size: 1.3rem;
  color: #5a3e2b;
  font-weight: 600;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

/* Gallery Images */
.gallery figure {
  text-align: center;
}

.gallery img {
  width: 500px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.4s ease;
}

.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.gallery figcaption {
  margin-top: 0.5rem;
  font-family: 'Dancing Script', cursive;
  font-size: 1.3rem;
  color: #482812;
  font-weight: 600;
}

/* ======================= */  
/* 🎵 MUSIC & READING SECTIONS */

/* music */
.music-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  padding: 40px;
}

.music-photo {
  width: 250px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.music-photo:hover {
  transform: scale(1.05);
}

.music-text {
  max-width: 600px;
}


/*reading*/
.reading-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  background-color: #fffdf7;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  margin: 2rem auto;
  max-width: 1000px;
}

.reading-photo {
  width: 150px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.reading-photo:hover {
  transform: scale(1.05);
}

.reading-text {
  max-width: 600px;
  font-size: 1.05rem;
}


/*puzzle section*/

.puzzle-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  background-color: #fff8ee;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  margin: 2rem auto;
  max-width: 1000px;
}

.puzzle-photo {
  width: 300px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.puzzle-photo:hover {
  transform: scale(1.05);
}

.puzzle-text {
  max-width: 600px;
  font-size: 1.05rem;
}


/*movies section*/

.media-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  background-color: #fffdf7;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  margin: 2rem auto;
  max-width: 1000px;
}

.media-photo {
  width: 300px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.media-photo:hover {
  transform: scale(1.05);
}

.media-text {
  max-width: 600px;
  font-size: 1.05rem;
}




/* me time */

/* General Styling */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(to bottom, #fff9f9, #fff5e6);
  color: #333;
  line-height: 1.6;
}

a {
  color: #ca5a92;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Navigation */
.top-nav {
  background-color: #e4d4f4;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Dancing Script', cursive;
}

.logo {
  font-size: 24px;
  font-weight: 600;
  color: #c76c9d;
}

.nav-links a {
  margin-left: 20px;
  font-weight: 600;
  color: #444;
  position: relative;
}

.nav-links a.active {
  color: #c76c9d;
  border-bottom: 2px solid #c76c9d;
}

/* Hero Section */
.hero {
  background: linear-gradient(to right, #fff0f6, #ffe5e5);
  text-align: center;
  padding: 60px 20px 30px;
}

.hero-text h1 {
  font-size: 2.5rem;
  font-family: 'Dancing Script', cursive;
  color: #b34b8c;
}

.hero-text p {
  font-size: 1.2rem;
  color: #666;
  margin-top: 10px;
}

/* Optional Image */
.image-section {
  text-align: center;
  margin-top: 20px;
}

.hero-img {
  width: 150px;
  max-width: 250px;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Card Section */
.card {
  max-width: 800px;
  background: #fff;
  margin: 40px auto;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  animation: fadeIn 1s ease-in;
}

.card h2 {
  color: #c76c9d;
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.card p {
  font-size: 1rem;
  color: #444;
  margin-bottom: 1rem;
}

/* Footer */
footer {
  background: #fff4cc;
  text-align: center;
  padding: 15px 0;
  font-size: 0.95rem;
  color: #555;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}









.education-section .edu-content {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.edu-text {
  flex: 1;
  min-width: 250px;
}

.edu-image {
  flex: 1;
  min-width: 250px;
  text-align: center;
}

.edu-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}




footer {
  background-color: #e6d6f5;
  color: #4b2e83;
}

footer {
  border-top: 2px solid #e2b9e4;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.05);
}

















/* ===================== */
/* SKILLS PAGE STYLING   */
/* ===================== */

body.skills-page {
  background: linear-gradient(to bottom right, #fff8fb, #f5edff);
  font-family: 'Poppins', sans-serif;
  color: #333;
}

/* Hero Section */
.hero {
  background: linear-gradient(to right, #fde2e4, #fad2e1);
  padding: 4rem 1rem;
  text-align: center;
}

.hero-text h1 {
  font-family: 'Dancing Script', cursive;
  color: #8c5ba1;
  font-size: 2.5rem;
}

.hero-text p {
  color: #555;
  font-style: italic;
  font-size: 1.1rem;
}

/* Skills Intro */
.skills-intro {
  text-align: center;
  font-style: italic;
  color: #6b4b8a;
  margin: 2rem auto;
  width: 70%;
}

/* Skill Cards */
.skills-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
}

.skill-card {
  background: linear-gradient(135deg, #fce3f0, #f3e8ff);
  border-radius: 20px;
  padding: 2rem;
  width: 290px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.skill-card img {
  width: 60px;
  margin-bottom: 10px;
}

.skill-card h3 {
  color: #8c5ba1;
  margin-bottom: 10px;
}

.skill-card p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.4rem;
}

/* Progress Bars */
.progress {
  margin: 1rem 0;
  text-align: left;
}

.progress p {
  font-size: 0.9rem;
  color: #6b4b8a;
  margin-bottom: 5px;
}

.bar {
  height: 10px;
  background-color: #f3e1f5;
  border-radius: 10px;
  overflow: hidden;
}

.bar span {
  display: block;
  height: 100%;
  background: linear-gradient(to right, #b07bf5, #f6b2e1);
  border-radius: 10px;
}

/* Quote Section */
.skills-quote {
  text-align: center;
  font-family: 'Dancing Script', cursive;
  font-size: 1.2rem;
  color: #8c5ba1;
  margin: 2rem 0;
}

/* Footer */
footer {
  text-align: center;
  padding: 1.5rem;
  background: linear-gradient(to right, #e8d4f4, #f9e9ef);
  color: #4b2e83;
  font-size: 0.9rem;
  border-top: 2px solid #d6b3e6;
}

/* Animation */
.fade-in {
  opacity: 0;
  animation: fadeInUp 1s ease-in-out forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}




















/* ========================= */
/*     HOBBIES PAGE STYLE    */
/* ========================= */

body.hobbies-page {
  background: linear-gradient(to bottom right, #fff6f9, #f4e6ff);
  font-family: 'Poppins', sans-serif;
  position: relative;
  overflow-x: hidden;
}

/* Hero Section */
.hobby-hero {
  text-align: center;
  padding: 4rem 1rem;
  background: linear-gradient(to right, #fad0c4, #ffd1ff);
  border-radius: 0 0 40px 40px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  color: #4b2e83;
}

.hobby-hero h1 {
  font-family: 'Dancing Script', cursive;
  font-size: 2.8rem;
  color: #7c3b8a;
}

.hobby-hero p {
  font-style: italic;
  color: #5a4b5f;
  margin-top: 0.5rem;
}

/* Floating Shapes */
.floating-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.shape {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  opacity: 0.15;
  animation: float 8s infinite ease-in-out alternate;
}

.shape1 {
  background: #f8bbd0;
  top: 20%;
  left: 10%;
}

.shape2 {
  background: #d1c4e9;
  top: 60%;
  right: 15%;
}

.shape3 {
  background: #b39ddb;
  bottom: 10%;
  left: 30%;
}

@keyframes float {
  from { transform: translateY(0); }
  to { transform: translateY(-40px); }
}

/* Hobbies Grid */
.hobbies-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 3rem 2rem;
  z-index: 1;
  position: relative;
}

.hobby-card {
  background: white;
  border-radius: 20px;
  padding: 1.8rem;
  width: 280px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
  position: relative;
}

.hobby-card:hover {
  transform: translateY(-10px) scale(1.05);
  background: linear-gradient(to top left, #fde2e4, #e0c3fc);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.hobby-card h3 {
  color: #8a3dc0;
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
}

.hobby-card p {
  font-size: 0.95rem;
  color: #555;
}

/* Closing Quote */
.hobby-end {
  text-align: center;
  font-family: 'Dancing Script', cursive;
  font-size: 1.4rem;
  margin: 3rem 0 2rem;
  color: #8c5ba1;
}

/* Footer */
footer {
  text-align: center;
  padding: 1.5rem;
  background: linear-gradient(to right, #e8d4f4, #f9e9ef);
  color: #4b2e83;
  font-size: 0.9rem;
  border-top: 2px solid #d6b3e6;
}

/* Animation Fade In */
.fade-in {
  opacity: 0;
  animation: fadeInUp 1.2s ease-in-out forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}








/* ===================== */
/*     MODAL STYLING     */
/* ===================== */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(75, 46, 131, 0.4);
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.4s ease;
}

.modal-content {
  background: white;
  border-radius: 20px;
  width: 90%;
  max-width: 500px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  animation: slideUp 0.4s ease;
}

.modal-content h2 {
  color: #8c5ba1;
  font-family: 'Dancing Script', cursive;
  margin-bottom: 1rem;
}

.modal-content p {
  color: #444;
  font-size: 0.95rem;
  line-height: 1.6rem;
}

/* Correct close button positioning inside modal box */
.modal-content {
  position: relative; /* ensures .close is positioned inside this box */
  background: white;
  border-radius: 20px;
  width: 90%;
  max-width: 500px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  animation: slideUp 0.4s ease;
}

/* The close icon */
.close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 1.6rem;
  color: #8c5ba1;
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease;
}

.close:hover {
  transform: scale(1.2);
  color: #e78f23; /* warm hover tone */
}


/* Animations */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}







/* 🌸 Favourite Books Section */
.favorite-books {
  background: #fffdfd;
  border-radius: 20px;
  padding: 25px;
  margin-top: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.favorite-books:hover {
  transform: scale(1.01);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.favorite-books h3 {
  color: #b84d9a;
  font-family: 'Dancing Script', cursive;
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.favorite-books p {
  color: #444;
  margin-bottom: 10px;
}

.favorite-books ul {
  list-style: none;
  padding: 0;
}

.favorite-books li {
  margin: 8px 0;
  font-size: 1rem;
}

.favorite-books a {
  color: #3a3a3a;
  text-decoration: none;
  transition: color 0.3s, text-shadow 0.3s;
}

.favorite-books a:hover {
  color: #b86bff;
  text-shadow: 0 0 5px rgba(184, 107, 255, 0.6);
  text-decoration: underline;
}








