:root {
  --pink: #ff85a2;
  --pink-accent: #ff5e78;
  --peach: #ffe6e8;
  --lavender: #f3e5f5;
  --mint: #d9f0f0;
  --white: #fff;
  --gold: #fcd581;
  --dark: #4b2840;
  --dark-gray: #444;
}

/* Reset & base */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, var(--peach) 0%, var(--lavender) 50%, var(--mint) 100%);
  color: var(--dark);
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: var(--dark);
  transition: color 0.3s ease;
}

a:hover,
a:focus-visible {
  color: var(--gold);
  text-shadow: 0 0 8px var(--gold);
  outline: none;
}

h1, h2, h3 {
  margin: 0 0 0.5rem;
}

p {
  margin: 0.25rem 0 1rem;
}

/* Utility classes */
.text-center {
  text-align: center;
}
.mb-1 {
  margin-bottom: 1rem;
}
.mb-2 {
  margin-bottom: 2rem;
}

/* Navbar */
nav {
  position: sticky;
  top: 0;
  background-color: rgba(255, 133, 162, 0.85);
  box-shadow: 0 2px 10px rgba(75, 40, 64, 0.2);
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1rem 0;
  z-index: 1000;
  font-weight: 600;
}

nav a {
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

/* Header */
header {
  position: relative;
  background: linear-gradient(rgba(255, 133, 162, 0.5), rgba(255, 133, 162, 0.5)),
    url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1950&q=80') 
    no-repeat center/cover;
  color: white;
  padding: 6rem 2rem 4rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(255, 133, 162, 0.2);
}

header::before {
  content: "";
  position: absolute;
  top: 30%;
  left: 50%;
  width: 180px;
  height: 10px;
  background: url('https://i.imgur.com/I6AfG2f.png') no-repeat center center;
  background-size: contain;
  opacity: 0.9;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

header h1 {
  font-size: 3rem;
  font-weight: 900;
  text-shadow: 0 0 12px var(--pink);
  margin-bottom: 0.3rem;
}

header p {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* Sections */
.section {
  max-width: 900px;
  margin: 4rem auto 4rem;
  padding: 0 1rem;
  padding-bottom: 3rem;
}

/* Services */
.services {
  display: flex;
  justify-content: space-around;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.card {
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 8px rgba(255, 133, 162, 0.3);
  text-align: center;
  flex: 1 1 260px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  cursor: default;
}

.card:focus-visible,
.card:hover {
  box-shadow: 0 10px 30px rgba(252, 213, 129, 0.6);
  transform: translateY(-10px) scale(1.05);
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  cursor: pointer;
}

.icon {
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
  fill: var(--pink);
}

/* Pricing */
.pricing-table {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.price-card {
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 8px rgba(255, 133, 162, 0.3);
  text-align: center;
  flex: 1 1 220px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  cursor: default;
}

.price-card:focus-visible,
.price-card:hover {
  box-shadow: 0 10px 30px rgba(252, 213, 129, 0.6);
  transform: translateY(-10px) scale(1.05);
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  cursor: pointer;
}

.price {
  font-weight: 700;
  color: var(--pink);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

/* Why Choose */
#whychoose {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(255, 133, 162, 0.3);
  text-align: center;
}

#whychoose h3 {
  color: var(--pink);
  margin-bottom: 1rem;
}

/* --- MODERN COMPACT CONTACT FORM STYLES --- */
.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 1.25rem;
  max-width: 900px;
  margin: 1.5rem auto;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(255, 133, 162, 0.3);
  color: var(--dark);
}

.contact-form label {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
  display: block;
  color: #333;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form input[type="number"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.5rem 0.8rem;
  font-size: 1rem;
  border: 1.5px solid #ccc;
  border-radius: 8px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.06);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  resize: vertical;
  font-family: inherit;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form input[type="number"]:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--pink);
  box-shadow: 0 0 6px var(--pink);
  background-color: #fff;
}

.contact-form textarea {
  min-height: 100px;
  font-size: 1rem;
}

/* textarea and address input span both columns */
.contact-form textarea,
.contact-form #address {
  grid-column: span 2;
}

/* reCAPTCHA block spans 2 columns and centers */
.contact-form .g-recaptcha {
  grid-column: span 2;
  justify-self: center;
}

.contact-form button[type="submit"] {
  grid-column: span 2;
  background-color: var(--pink);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.3rem;
  padding: 1rem 0;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(252, 213, 129, 0.9);
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-family: inherit;
  user-select: none;
}

.contact-form button[type="submit"]:hover,
.contact-form button[type="submit"]:focus {
  background-color: #e0558f;
  transform: scale(1.05);
  outline: none;
}

.contact-form select {
  cursor: pointer;
}

/* Contact info panel styling */
.contact-info-panel {
  flex: 1 1 280px;
  background: var(--white);
  border-radius: 16px;
  padding: 1.5625rem 1.875rem; /* 25px 30px */
  box-shadow: 0 8px 25px rgba(255, 133, 162, 0.2);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--dark);
  max-width: 400px;
}

.contact-info-panel h3 {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--pink);
  margin-bottom: 1rem;
}

.contact-info-panel p {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  max-width: 100%;
}

.contact-info-panel a {
  color: var(--pink);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info-panel a:hover,
.contact-info-panel a:focus-visible {
  color: var(--gold);
  text-shadow: 0 0 8px var(--gold);
  outline: none;
}

/* Calculator banner */
.calculator-banner {
  background: linear-gradient(to right, var(--peach), #ffccd5);
  padding: 2rem 1.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  margin: 2rem auto;
  max-width: 700px;
  text-align: center;
  font-family: sans-serif;
}

.calculator-content h3 {
  font-size: 1.75rem;
  color: var(--pink-accent);
  margin-bottom: 1rem;
}

.calculator-content p {
  color: var(--dark-gray);
  font-size: 1rem;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.cta-button {
  display: inline-block;
  margin-top: 1rem;
  background-color: var(--pink-accent);
  color: white;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.cta-button:hover,
.cta-button:focus-visible {
  background-color: #e14d66;
  outline: none;
}

/* Footer */
footer {
  text-align: center;
  padding: 1.5rem 0;
  font-size: 0.9rem;
  color: var(--dark);
  background-color: var(--peach);
  margin-top: 3rem;
}

/* Discount Pop-Up */
#discount-popup {
  display: none;
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: var(--pink);
  color: white;
  padding: 1.5rem 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(255, 133, 162, 0.8);
  max-width: 300px;
  z-index: 1500;
  text-align: center;
  font-weight: 700;
}

#discount-popup button {
  margin-top: 1rem;
  background: var(--gold);
  color: var(--dark);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 700;
  transition: background 0.3s ease;
}

#discount-popup button:hover {
  background: #c9a43c;
}

/* Carousel */
#carousel-section {
  max-width: 900px;
  margin: 4rem auto;
  padding: 0 1rem;
}

#carousel-container {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(255, 133, 162, 0.3);
}

.carousel-wrapper {
  position: relative;
}

.carousel-slide {
  display: flex;
  transition: transform 0.6s ease-in-out;
  will-change: transform;
}

.carousel-slide img {
  width: 100%;
  border-radius: 16px;
  pointer-events: none;
  user-select: none;
}

.carousel-buttons {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
  transform: translateY(-50%);
  pointer-events: none;
}

.carousel-buttons button {
  background: var(--white);
  border: none;
  border-radius: 50%;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--pink);
  pointer-events: auto;
  box-shadow: 0 2px 8px rgba(255, 133, 162, 0.5);
  transition: background 0.3s ease;
}

.carousel-buttons button:hover,
.carousel-buttons button:focus-visible {
  background: var(--gold);
  outline: none;
  color: var(--dark);
}

/* About Section */
.about {
  display: flex;
  gap: 3rem;
  align-items: center;
  margin-top: 4rem;
  flex-wrap: wrap;
  justify-content: center;
}

.about-img {
  max-width: 280px;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(255, 133, 162, 0.5);
  flex-shrink: 0;
}

.about-text {
  flex: 1 1 400px;
  line-height: 1.6;
}

.about-text p {
  font-size: 1.1rem;
  margin: 0;
}

/* Remove hover effect for no-hover */
.no-hover:hover {
  box-shadow: none !important;
  transform: none !important;
  cursor: default !important;
}

/* Responsive */
@media (max-width: 800px) {
  .contact-content-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .contact-form, 
  .contact-info-panel {
    flex: unset;
    width: 100%;
    max-width: 500px;
  }
}

@media (max-width: 700px) {
  .services {
    flex-direction: column;
    align-items: center;
  }
  .services .card {
    margin-bottom: 1.5rem;
  }
  .about {
    flex-direction: column;
    text-align: center;
  }
  .about-text {
    max-width: 100%;
  }
  nav {
    font-size: 1rem;
    gap: 1rem;
  }
  header h1 {
    font-size: 2.2rem;
  }
  header p {
    font-size: 1.1rem;
  }
  .pricing-table {
    flex-direction: column;
    align-items: center;
  }
  .price-card {
    max-width: 280px;
    margin-bottom: 1.5rem;
  }

}


/* Form message banner */
.form-message-banner {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: linear-gradient(90deg, #4caf50, #81c784); /* green gradient */
  color: white;
  font-weight: 700;
  padding: 1rem 2rem;
  border-radius: 30px;
  box-shadow: 0 8px 20px rgba(76, 175, 80, 0.6);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  pointer-events: none;
  user-select: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
  z-index: 2000;
  max-width: 90vw;
  text-align: center;
}

.form-message-banner.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.form-message-banner.error {
  background: linear-gradient(90deg, #f44336, #e57373); /* red gradient */
  box-shadow: 0 8px 20px rgba(244, 67, 54, 0.6);
}


/* Optional dark mode support */
@media (prefers-color-scheme: dark) {
  body {
    background: linear-gradient(135deg, #33222a 0%, #422d3a 50%, #37554f 100%);
    color: #eee;
  }
  nav {
    background-color: rgba(255, 133, 162, 0.6);
  }
  /* Adjust other colors accordingly if you want */
}
