:root {
  --pink: #f193b2;
  --light-pink: #ffdae9;
  --hot-pink: #fda5be;
  --cream: #fdf5e6;
  --navy: #111a2b;
}

body {
  font-family: "Poppins", "Inter", sans-serif;
  background: #1a1a1a;
  color: var(--navy);
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

/* Navigation */
.nav-bar {
  background: #1a1a1a;
  padding: 1rem 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.logo-img {
  height: 40px; 
  width: auto;
  display: block;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 0.8rem;
  padding: 0;
  margin: 0;
}

.nav-links a {
  text-decoration: none;
  color: #fdf5e6;
  font-weight: 400;
  font-family: 'Poppins', sans-serif;
  padding: 0.4rem 1rem;
  transition: background 0.2s;
}

.nav-links a:hover {
  color: var(--light-pink);
}

/* Existing nav styles remain the same above this */

/* Burger icon (hidden by default) */
.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  align-items: end;
  width: 24px;
  height: 18px;
  cursor: pointer;
}

.burger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #fdf5e6;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Toggle animation */
.burger.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
  background: #f193b2;
}

.burger.active span:nth-child(2) {
  opacity: 0;
  background: #f193b2;
}

.burger.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
  background: #f193b2;
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
  .burger {
    display: flex;
    margin-left: auto;
    color: #1a1a1a;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.5rem;
    width: 200px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: none;
  }

  .nav-links.show {
    display: flex;
    background-color: #1a1a1a;
    border-radius: 8px;

  }

  .nav-links a {
    padding: 0.5rem 0;
    width: 100%;
    background-color: #1a1a1a;
    color: #fdf5e6;
  }
}


/* Hero Section */

.hero {
  max-width: 1200px;
  margin: 0 auto; /* removes outer spacing */
  padding: 0; /* no internal padding */
}

/* Tighten spacing around the title */
.animated-title {
  font-size: 5.5rem;
  font-weight: 300;
  font-family: 'Poppins', sans-serif;
  color: #fdf5e6;
  margin: 0;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.1; 
  padding: 0;
}

.hero-container {
  background: #fdf5e6 no-repeat right bottom;
  background-size: 150px auto; 
  border-radius: 16px;
  padding: 1rem 3.5rem;
  width: 90%;
  max-width: 1200px;
  margin: 0.5rem auto 1.5rem;
  position: relative;
  z-index: -1;
  box-shadow: 0 0 20px rgba(253, 165, 190, 0.45), 0 0 20px rgba(255, 218, 233, 0.3);
}

.hero-image {
  margin-right: 2rem;
  margin-bottom: 1rem;
  position: absolute;
  bottom: 0;
  right: 0;
  width: 140px; /* adjust size */
  opacity: 0.9; /* optional translucent effect */
  pointer-events: none;
}

#typed-word {
  color: #f193b2;
  border-right: 3px solid #f193b2;
  padding-right: 6px;
  animation: blink 0.8s infinite;
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}

.hero-card-title {
  font-size: 2.5rem;
  font-weight: 500;
  margin-bottom: .5rem;
  font-family: 'Poppins', sans-serif;
}

.highlighted-brand {
  font-weight: 500; 
  color: #f193b2; 
}

.hero-card-paragraph {
  font-weight: 400;
  font-family: 'Poppins', sans-serif;
  max-width: 600px;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: rgba(0, 0, 0, 0.75);
}

.btn-primary {
  display: inline-block;
  text-decoration: none;
  background: #333;
  color: white;
  font-weight: 400;
  padding: 0.3rem 1.2rem;
  margin-bottom: 2rem;
  border-radius: 30px;
  transition: background 0.3s;
}

.btn-primary:hover {
  background: var(--pink);
}

/* Responsive */
@media (max-width: 768px) {
  /* Navigation */
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Hero Section */
  .hero {
    text-align: center;
    padding: 1.2rem 1rem;
  }

  .animated-title {
    font-size: 2rem;
    line-height: 1.2;
    font-weight: 300;
    font-family: 'Poppins', sans-serif;
    color: #fdf5e6;
    margin: 0;
    margin-top: 3rem;
    margin-bottom: 1.2rem;
    line-height: 1.1; 
    padding: 0;
    text-align: left;
  }

  .hero-container {
    border-radius: 14px;
    padding: 0.4rem 1rem;
    width: 90%;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 0 20px rgba(253, 165, 190, 0.45), 0 0 20px rgba(255, 218, 233, 0.3);
  }

  .hero-card-title {
    font-size: 1.3rem;
    line-height: 1.3;
    text-align: left;
    font-weight: 400
  }
  /* Highlighted brand styling */
  .highlighted-brand {
    font-weight: 500; /* makes it bold */
    color: #f193b2; /* optional: pink accent to match your theme */
  }

  .hero-card-paragraph {
    font-size: 0.9rem;
    max-width: 100%;
    margin: 0 auto 1rem;
    text-align: left;
  }

  .btn-primary {
    background-color: #fda5be;
    color: #fdf5e6;
    font-size: 0.8rem;
    padding: 0.4rem 1rem;
    margin-bottom: 10px;
    align-self: flex-start;
    margin-left: 0;
  }
}



/* ===========================
   LOGO CAROUSEL
   =========================== */
.logo-carousel {
  background: #1a1a1a;
  overflow: hidden;
  padding: 40px 0 10px 0;
  position: relative;
}

.carousel-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  width: max-content;
  animation: scroll 35s linear infinite;
}

.carousel-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide img {
  height: 20px;
  margin: 0 40px;
  opacity: 0.8;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Fade edges */
.fade {
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.fade-left {
  left: 0;
  background: linear-gradient(to right, rgba(26, 26, 26, 1) 0%, rgba(26, 26, 26, 0) 100%);
}

.fade-right {
  right: 0;
  background: linear-gradient(to left, rgba(26, 26, 26, 1) 0%, rgba(26, 26, 26, 0) 100%);
}



/* Infinite scroll animation */
@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Tablet */
@media (max-width: 1024px) {
  .logo-carousel {
    padding: 1.5rem 0;
  }

  .carousel-slide {
    gap: 1rem;
  }

  .carousel-slide img {
    width: 20px;
  }

  .fade {
    width: 60px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .logo-carousel {
    padding: 1.4rem 0 0 0;
  }

  .carousel-slide {
    gap: 0.4rem;
  }

  .carousel-slide img {
    width: 20px;
    height: auto;
    opacity: 0.85;
  }

  .fade {
    display: none; 
  }
}

/* Very small screens */
@media (max-width: 480px) {
   .logo-carousel {
    z-index:-2;
   }
  .carousel-slide img {
    width: 18px;
    height: auto;
    opacity: 0.8;
  }

  .carousel-slide {
    gap: 0.3rem;
  }
}


/* ============ TIMELINE SECTION ============ */
.timeline {
  background: #1a1a1a; 
  color: #222;
  padding: 5px 10px;
  position: relative;
  overflow: hidden;
}

/* card container */
.timeline .container {
  background: #1a1a1a;
  border-radius: 16px;
  padding: 10px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline h2 {
  text-align: left;
  font-size: 2.5rem;
  line-height: 1.3;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #fdf5e6;
}

.timeline .subtitle {
  font-weight: 400;
  font-family: 'Poppins', sans-serif;
  text-align: left;
  color: #fdf5e6;
  margin-bottom: 80px;
}

.subtitle-icon {
  width: 28px;    
  height: auto;
  vertical-align: middle;  
  margin-left: 10px;   
}


.timeline-wrapper {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px 20px;
}

/* Mobile */
@media (max-width: 768px) {
  .timeline .container {
  background: #1a1a1a;
  border-radius: 16px;
  padding: 10px 10px;
  margin: 0 auto;
}

  .timeline h2 {
  margin-top: 0.9rem;
  text-align: left;
  font-size: 1.4rem;
  line-height: 1.3;
  font-weight: 500;
  margin-bottom: 0.2rem;
  color: #fdf5e6;
}
.timeline .subtitle {
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  text-transform: uppercase;
  font-size: 0.8rem;
  text-align: left;
  color: #fdf5e6;
  margin-bottom: 10px;
  margin-top: 5px
}
}

/* vertical scroll line */
.timeline-line {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 0;
  background: linear-gradient(to bottom, #f193b2, #ffdae9);
  border-radius: 2px;
  transition: height 1.5s ease;
  z-index: 1;
}

/* timeline items */
.timeline-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin: 100px 0;
  z-index: 2;
}

.timeline-content,
.timeline-image {
  width: 45%;
  z-index: 3;
  opacity: 0.5;
  transform: scale(0.97);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* active state */
.timeline-item.active .timeline-content,
.timeline-item.active .timeline-image {
  opacity: 1;
  transform: scale(1);
}

/* content text */
.timeline-content h3 {
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #fdf5e6;
}

.timeline-content p {
  font-weight: 300;
  font-family: 'Poppins', sans-serif;
  color: #fdf5e6;
  line-height: 1.6;
}

/* image */
.timeline-image img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
  filter: brightness(80%);
  transition: filter 0.5s ease, transform 0.5s ease;
  display: none;
}

.timeline-item.active .timeline-image img {
  filter: brightness(100%);
  transform: scale(1.03);
}

/* circles */
.timeline-circle {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #f193b2;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 400;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  z-index: 10;
  opacity: 1 !important;
  box-shadow:
    0 0 0 3px #ffdae9, /* blends seamlessly into pink card */
    0 0 15px rgba(241, 147, 178, 0.4);
  transition: transform 0.4s ease;
}

.timeline-item.active .timeline-circle {
  transform: translate(-50%, -50%) scale(1.1);
}

/* timeline line gradient (blends into circles) */
.timeline-line {
  background: linear-gradient(
    to bottom,
    rgba(241, 147, 178, 0.9) 0%,
    #f193b2 10%,
    #ffdae9 90%,
    rgba(255, 218, 233, 0.8) 100%
  );
}

/* responsive layout */
@media (max-width: 900px) {
  .timeline-item {
    flex-direction: column;
    text-align: center;
  }

  .timeline-line {
    left: 30px;
    transform: none;
  }

  .timeline-circle {
    left: 30px;
    transform: translateY(-50%);
  }

  .timeline-content,
  .timeline-image {
    width: 100%;
  }

  .timeline-content {
    margin-top: 40px;
  }
}

/* Mobile */
@media (max-width: 768px) {

  .timeline-image {
    display: none;
  }

  /* Stack items vertically */
  .timeline-item {
    flex-direction: column;
    align-items: flex-end; /* aligns text on the right */
    text-align: right;
    margin: 0 0 60px 0;
    position: relative;
  }

  /* Make sure text fits well */
  .timeline-content {
    width: 90%;
    margin-right: 3rem; /* adds space between text and line */
  }

  .timeline-content h3 {
    font-size: 1.1rem;
    text-align: left;
    color: #fdf5e6;
  }

  .timeline-content p {
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: left;
    color: #fdf5e6;
  }

  /* Reduce padding for container */
  .timeline .container {
    padding: 10px 10px;
  }
  
  .timeline-line {
    right: 40px; /* moves the line further right */
    left: auto;
    transform: none;
  }

  /* Align circles perfectly on the line */
  .timeline-circle {
    right: 23px; /* must match the line’s position */
    left: auto;
    transform: translate(50%, -50%) !important; /* centers the line through circle */
    transition: none !important;
  }

  .timeline-item.active .timeline-circle {
    transform: translate(50%, -50%) !important;
  }

  /* Adjust text spacing so it doesn’t overlap */
  .timeline-content {
    width: 85%;
    margin-right: 4.5rem; /* adds gap between text and circles */
    text-align: left;
  }

  /* Hide images on small screens */
  .timeline-image {
    display: none;
  }
}


/* ============ SERVICES SECTION ============ */
.services-section {
  background: #fdf5e6;
  color: #fff;
  padding: 15px 20px;
  display: flex;
  justify-content: center;
}

.services-container {
  background: #111;
  border-radius: 24px;
  padding: 40px 60px;
  max-width: 1100px;
  width: 100%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  margin-top: 1.5rem;
}

/* Header */
.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.services-header h2 {
  font-size: 2.5rem;
  line-height: 1.3;
  font-weight: 500;
  max-width: 700px;
  font-family: 'Poppins', sans-serif;
}

.services-header .highlight {
  color: #fff;
  font-weight: 600;
  text-decoration: underline solid #fda5be 4px;
  text-underline-offset: 6px;
}

.services-icon {
  width: 140px;
  height: auto;
}

/* Accordion */
.accordion {
  border-top: 1px solid #333;
  border-bottom: 1px solid #333;
}

.accordion details {
  border-bottom: 1px solid #333;
  padding: 20px 0;
  font-family: 'Poppins', sans-serif;
}

.accordion summary {
  font-weight: 400;
  font-size: 1.1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion summary::after {
  content: "+";
  font-size: 1.5rem;
  color: #fda5be;
  transition: transform 0.3s ease;
}

.accordion[open] summary::after,
details[open] summary::after {
  transform: rotate(45deg);
}

.accordion p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  margin-top: 12px;
  line-height: 1.6;
  padding-right: 40px;
}

/* Footer Cards */
.services-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 60px;
  padding-top: 40px;
}

.footer-card {
  flex: 1 1 400px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.footer-card h4 {
  font-weight: 500;
  margin-bottom: 8px;
}

.footer-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

/* Contact CTA within Services card */
.services-contact-cta {
  margin-top: 20px;
  padding-top: 10px;
  text-align: center;
}

.services-contact-cta h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 12px;
  display: inline-block;
  position: relative;
}

.highlight-title {
  font-family: 'Poppins', sans-serif;
  font-size: 2.2rem;
  font-weight: 500;
  color: #fff;
  line-height: 1.3;
}

.highlight {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.highlight::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.05em;
  width: 100%;
  height: 0.09em;
  background: #ffb6c1;
  border-radius: 1px;
  z-index: -1;
}

.services-contact-cta p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto 24px;
  line-height: 1.5;
}

/* Button */
.services-contact-cta .cta-btn {
  display: inline-block;
  background: #f193b2;
  color: #111;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  padding: 6px 24px;
  border-radius: 40px;
  text-decoration: none;
  font-size: 1rem;
}

.services-contact-cta .cta-btn:hover {
  background: #ffb6c1;
}

/* Responsive */
@media (max-width: 768px) {

.services-section {
  background: #fdf5e6;
  color: #fff;
  padding: 35px 20px 15px 20px;
  display: flex;
  justify-content: center;
}

.services-container {
  background: #111;
  border-radius: 24px;
  padding: 20px 20px;
  max-width: 1100px;
  width: 100%;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
 }

 .services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.highlight::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.05em;
  width: 100%;
  height: 0.04em;
  background: #ffb6c1;
  border-radius: 1px;
  z-index: -1;
}

.accordion summary {
  font-weight: 400;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}


.services-icon {
  width: 40px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;

}

.highlight-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: #fdf5e6;
  line-height: 1.3;
}

.services-contact-cta h3 {
  font-size: 1.4rem;
}

.services-contact-cta p {
  font-size: 0.85rem;
}


.services-header h2 {
  font-size: 1.2rem;
  margin-top: 10px;
  margin-bottom: 10px;
  line-height: 1.3;

}

.services-contact-cta .cta-btn {
  display: inline-block;
  background: #f193b2;
  color: #111;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  padding: 4px 28px;
  border-radius: 40px;
  text-decoration: none;
  font-size: 0.9rem;
}

.services-footer {
  flex-direction: column;
}

.footer-card {
  flex: 1 1 100%;
}
}



/* Footer */
.footer {
  font-family: 'Poppins', sans-serif;
  background: #fdf5e6;
  color: #2b2b2b;
  padding: 40px 20px 5px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand h2 {
  font-weight: 300;
  font-size: 1.8rem;
  color: #f193b2;
}

.footer-brand h2 span {
  font-weight: 300;
  color: #2b2b2b;
}

.footer-brand p {
  font-weight: 300;
  margin-top: 12px;
  font-size: 0.95rem;
  color: #f193b2;
  line-height: 1.6;
}

.footer-links h4,
.footer-newsletter h4 {
  font-weight: 400;
  font-size: 1rem;
  margin-bottom: 15px;
  color: #f193b2;
}


.footer-links ul {
  font-size: 0.8rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  font-weight: 300;
  color: #333;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links ul li a:hover {
  color: #f193b2;
}

.footer-newsletter p {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 10px;
}

.newsletter-form {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
}

.newsletter-form input {
  flex: 1;
  padding: 10px 15px;
  border-radius: 25px;
  border: 1px solid #f193b2;
  outline: none;
  font-size: 0.9rem;
}

.newsletter-form button {
  background: #f193b2;
  color: #fff;
  border: none;
  border-radius: 25px;
  padding: 10px 20px;
  cursor: pointer;
  font-weight: 400;
  transition: background 0.3s ease;
}

.newsletter-form button:hover {
  background: #fda5be;
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  font-size: 0.85rem;
  color: #666;
}

/* Responsive */
@media (max-width: 768px) {
  .footer {
    padding: 20px 20px 30px;
  }

.footer-brand h2 {
  font-weight: 300;
  font-size: 1.8rem;
  color: #f193b2;
  margin-top: 10px;
  margin-bottom: 10px;

}

.footer-brand h2 span {
  font-weight: 300;
  color: #2b2b2b;
}

.footer-links h4,
.footer-newsletter h4 {
  font-weight: 400;
  font-size: 1rem;
  margin-bottom: 5px;
  margin-top: 5px;
  color: #f193b2;
}

.footer-brand p {
  font-weight: 300;
  margin-top: 12px;
  font-size: 0.95rem;
  color: #f193b2;
  line-height: 1.6;
}

  .footer-links-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links {
  flex: 1 1 45%; /* each takes roughly half width */
}

.footer-bottom {
  text-align: center;
  margin-top: 5px;
  padding-top: 5px;
  font-size: 0.85rem;
  color: #666;
}

.newsletter-form button {
  font-family: 'Poppins', sans-serif;
  background: #f193b2;
  font-weight: 400;
  padding: 4px 24px;
  
}
}

/* Backdrop */
.modal-backdrop{
  position: fixed; inset: 0; display: none;
  background: rgba(0,0,0,.6);
  z-index: 9999;
}

.modal-backdrop[aria-hidden="false"] { 
  display: grid; 
  place-items: center; 
}

/* Modal panel */
.modal {
  width: min(720px, 92vw);
  max-height: 80vh; overflow: auto;
  background: var(--cream);
  color: #2b2b2b;
  border-radius: 16px;
  padding: 1.25rem 1.25rem 1rem;
}

.modal h2 { 
  margin: 0 0 .5rem; 
  font-family: Poppins, system-ui, sans-serif; 
}

.modal h3 { 
  margin: 1rem 0 .25rem; 
  font-size: 1.05rem; 
  color: var(--pink); 
}

.modal p, .modal li { 
  line-height: 1.6; 
  font-size: .95rem; 
}

.modal a { 
  color: #333; 
  text-decoration: underline; 
}

.modal-close {
  position: sticky; 
  top: 0; 
  margin-left: auto; 
  float: right;
  border: none; 
  background: transparent; 
  cursor: pointer;
  font-size: 1.6rem; 
  line-height: 1; 
  padding: .25rem .5rem; 
  border-radius: 10px;
  color: #f193b2;
}

.modal-close:hover{ background: var(--light-pink); color: #111; 
}


@media (prefers-reduced-motion: no-preference){
  .modal{ animation: pop .18s ease-out; 
  }
  @keyframes pop{ from{ transform: scale(.98); opacity:.8 } to{ transform: none; opacity:1 } 
}

}

@media (max-width: 480px){
  .modal{ 
    padding: 1rem; border-radius: 14px;
    margin: 0 5px;
  }

.modal {
  width: min(720px, 82vw);
  max-height: 80vh; overflow: auto;
  background: var(--cream);
  color: #2b2b2b;
  border-radius: 16px;
  padding: 1.25rem 1.25rem 1rem;
  box-shadow:0 0 25px rgba(253,165,190,.45),0 0 60px rgba(255,218,233,.25);
}
}
