/* ===========================
   General Reset & Typography
=========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #fff;
}

/* Font override for headings (Poppins) */
h1,
h2,
h3,
h4 {
  font-family: 'Poppins', sans-serif;
}

/* Utility classes */
.small-text {
  font-size: 0.8rem;
}

/* AOS transitions override */
[data-aos] {
  opacity: 0;
  transition-property: transform, opacity;
}

[data-aos].aos-animate {
  opacity: 1;
}

/* ===========================
       Navbar
=========================== */
.navbar {
  position: fixed;
  width: 100%;
  background-color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  z-index: 999;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: #333;
  text-decoration: none;
}

.logo:hover {
  color: #ff4081;
}

.logo-image {
  width: 120px;
  height: auto;
  margin-right: 10px;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 0.3rem;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1000;
}

.mobile-menu-btn span {
  width: 30px;
  height: 3px;
  background-color: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  font-size: 1.1rem;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 0.5rem 0.8rem;
  transition: color 0.3s ease, background-color 0.3s ease;
  border-radius: 4px;
}

.nav-link:hover {
  color: #ffffff;
  background-color: #ff4081;
}

.nav-link.active {
  color: #ffffff;
  font-weight: 700;
  background-color: #ff4081;
}

.navbar.scrolled {
  background-color: #f8f8f8;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }
  .nav-menu {
    position: absolute;
    top: 60px;
    left: 0;
    background-color: #ffffff;
    width: 100%;
    flex-direction: column;
    display: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
  }
  .nav-menu.active {
    display: flex;
  }
  .nav-menu li {
    border-bottom: 1px solid #ddd;
  }
  .nav-menu li a {
    display: block;
    padding: 1.2rem;
    font-size: 1.2rem;
    color: #333;
  }
  .nav-menu li a:hover {
    background-color: #ff4081;
    color: #ffffff;
  }
}

/* ===========================
       Hero Section
=========================== */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url('/about.webp') center/cover;
  background-size: cover;
  background-position: center;
  padding: 0 1rem;
}

.hero-content {
  text-align: center;
  color: #fff;
  max-width: 700px;
  padding: 0 1rem;
  animation: fadeInUp 1s ease-in-out;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1.2rem;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.cta-button {
  padding: 0.9rem 1.7rem;
  font-size: 1.5rem;
  font-weight: 900;
  background-color: #ff4081;
  color: #fff;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #ff6fa0;
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .cta-button {
    font-size: 1.2rem;
    padding: 0.7rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content p {
    font-size: 0.9rem;
  }
  .cta-button {
    font-size: 1rem;
    padding: 0.6rem 1.2rem;
  }
}

/* ===========================
       About Section
=========================== */
.about {
  padding: 4rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.about-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-content {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.about-description {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555;
}

.about-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.feature {
  flex: 1;
  min-width: 230px;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #fff;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
}

.feature i {
  font-size: 1.6rem;
  color: #ff4081;
}

.feature-info h3 {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
  color: #333;
}

.feature-info p {
  font-size: 0.95rem;
  color: #666;
}

.about-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.about-badges .badge {
  display: flex;
  align-items: center;
  background: #fff;
  border: 2px solid #ff4081;
  border-radius: 50px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  color: #ff4081;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.about-badges .badge i {
  margin-right: 0.5rem;
  font-size: 1.2rem;
}

.about-badges .badge:hover {
  transform: scale(1.05);
  background-color: #ff4081;
  color: #fff;
}

.about-image {
  flex: 1;
  min-width: 300px;
}

.about-image img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* ===========================
       Services Section
=========================== */
.services {
  padding: 4rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.services h2 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  color: #333;
}

.services-intro {
  max-width: 700px;
  margin: 0.5rem auto 2rem auto;
  font-size: 1.1rem;
  color: #555;
}

.services-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.service-card {
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.service-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.service-content {
  padding: 1.5rem;
  text-align: left;
}

.service-icon {
  font-size: 2rem;
  color: #ff4081;
  margin-bottom: 0.5rem;
}

.service-brief {
  margin-bottom: 1rem;
  color: #555;
}

.service-features {
  margin-bottom: 1rem;
}

.service-features li {
  margin-left: 1rem;
  padding-left: 0.5rem;
  color: #333;
  font-size: 0.95rem;
  list-style-type: none;
}

.service-features i {
  color: #28a745;
  margin-right: 0.5rem;
}

.service-details h4 {
  margin-top: 1.2rem;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  color: #ff4081;
}

.service-details ul li {
  margin-left: 1rem;
  color: #555;
  font-size: 0.95rem;
  list-style-type: none;
}

.service-details i {
  color: #28a745;
  margin-right: 0.5rem;
}

/* ===========================
       Testimonials Section
=========================== */
.testimonials {
  background-color: #f9f9f9;
  padding: 4rem 1rem;
}

.testimonials-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.testimonials h2 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  color: #333;
}

.testimonials-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.testimonial-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.testimonial-content {
  position: relative;
}

.quote-icon {
  font-size: 2rem;
  color: #ff4081;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
  color: #555;
  font-style: italic;
}

.testimonial-rating {
  color: #f5c518;
  font-size: 1.2rem;
  margin: 10px 0;
}

.testimonial-rating i {
  margin-right: 3px;
}

.author-info {
  text-align: center;
}

.author-info h4 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
  color: #333;
}

.author-info p {
  font-size: 0.9rem;
  color: #777;
}

/* ===========================
       Contact Section
=========================== */
.contact {
  padding: 4rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.contact-container h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: #333;
}

.contact-intro {
  max-width: 700px;
  margin: 0.5rem auto 2rem auto;
  font-size: 1.05rem;
  color: #555;
}

.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.contact-info {
  flex: 1;
  min-width: 280px;
  display: grid;
  gap: 1.5rem;
  text-align: left;
}

.contact-card {
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.contact-card i {
  font-size: 1.6rem;
  color: #ff4081;
  margin-bottom: 0.5rem;
}

.contact-form-wrapper {
  flex: 1;
  min-width: 300px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  position: relative;
  margin-bottom: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  outline: none;
  border-radius: 4px;
  resize: none;
  font-size: 0.95rem;
}

.form-group label {
  position: absolute;
  top: -0.75rem;
  left: 0.75rem;
  background-color: #fff;
  padding: 0 0.3rem;
  font-size: 0.85rem;
  color: #666;
}

.submit-btn {
  padding: 0.8rem 1.2rem;
  background-color: #ff4081;
  border: none;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 25px;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background-color: #ff6fa0;
}

/* ===========================
       Footer
=========================== */
.footer {
  background-color: #333;
  color: #fff;
  padding: 3rem 1rem 1rem 1rem;
  margin-top: 2rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  margin-bottom: 2rem;
}

.footer-section {
  text-align: left;
}

.footer-logo h3 {
  font-size: 1.7rem;
  margin-bottom: 1rem;
  font-family: 'Poppins', sans-serif;
}

.company-description {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.social-links a {
  display: inline-block;
  margin-right: 0.5rem;
  color: #fff;
  font-size: 1.2rem;
}

.social-links a:hover {
  color: #ff4081;
}

.footer-section h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-family: 'Poppins', sans-serif;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  text-decoration: none;
  color: #ccc;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: #fff;
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.contact-info i {
  color: #ff4081;
}

.newsletter-section {
  text-align: center;
  margin-bottom: 2rem;
}

.newsletter-section h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-family: 'Poppins', sans-serif;
}

.newsletter-section p {
  color: #ccc;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.newsletter-form {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.newsletter-form input[type='email'] {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 25px;
  outline: none;
  min-width: 250px;
  font-size: 0.9rem;
}

.newsletter-form button {
  padding: 0.5rem 1rem;
  background-color: #ff4081;
  color: #fff;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
  background-color: #ff6fa0;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1rem;
}

.footer-bottom-links a {
  margin-right: 1rem;
  color: #ccc;
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-bottom-links a:hover {
  color: #ff4081;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

/* ===========================
   Confirmation Message Styles
=========================== */
.confirmation-message {
  text-align: center;
  padding: 30px 20px;
  background: #f4faff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin: 20px auto;
  max-width: 600px;
}

.confirmation-message h3 {
  color: #28a745;
  font-size: 1.8em;
  margin-bottom: 15px;
}

.confirmation-message p {
  color: #555;
  font-size: 1.2em;
  margin-bottom: 15px;
}

.confirmation-message .highlight-link {
  color: #007bff;
  font-weight: bold;
  text-decoration: none;
}

.confirmation-message .highlight-link:hover {
  text-decoration: underline;
}

/* ===========================
   Confetti Animation Styles
=========================== */
.confetti {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 999;
  overflow: hidden;
}

.confetto {
  position: absolute;
  width: 10px;
  height: 10px;
  background: #f9c74f;
  opacity: 0.8;
  transform: rotate(45deg);
  animation: fall linear forwards;
}

.confetto:nth-child(2n) {
  background: #90be6d;
}

.confetto:nth-child(3n) {
  background: #f94144;
}

@keyframes fall {
  0% {
    transform: translateY(-100px) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) rotate(360deg);
    opacity: 0;
  }
}

/* ===========================
   Estimate Section Styles
=========================== */
.estimate-section {
  padding: 3rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.estimate-section.hidden {
  display: none;
}

.estimate-container {
  max-width: 800px;
  margin: 0 auto;
  background: #fdfdfd;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.estimate-container h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  text-align: center;
  color: #333;
  font-weight: bold;
}

.estimate-intro {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 2rem;
  text-align: center;
}

.estimate-intro .small-text {
  font-size: 0.9rem;
  color: #777;
}

.estimate-full-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-row label {
  font-size: 1rem;
  color: #333;
  font-weight: 600;
}

.form-row input,
.form-row textarea {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  background-color: #fff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: #ff4081;
  box-shadow: 0 0 5px rgba(255, 64, 129, 0.3);
  outline: none;
}

.multi-col-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.multi-col-row .col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.radio-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.radio-list label {
  font-size: 0.95rem;
  color: #333;
}

.estimate-full-form h3 {
  margin-top: 2rem;
  font-size: 1.5rem;
  color: #333;
  text-align: left;
  font-weight: bold;
}

.property-details-intro {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1.5rem;
}

.slider-row {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.slider-row label {
  font-size: 1.1rem;
  color: #333;
  font-weight: 500;
}

.slider-container {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.slider-icon {
  width: 32px;
  height: auto;
  filter: brightness(0.8);
}

input[type='range'] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: #ddd;
  border-radius: 3px;
  outline: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  background: #ff4081;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
}

input[type='range']::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background: #ff4081;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
}

input[type='range']:hover {
  background-color: #ffdddd;
}

.range-label {
  font-size: 1rem;
  color: #555;
}

.slider-hint {
  font-size: 0.9rem;
  color: #888;
  margin-top: -8px;
}

.estimate-submit-btn {
  padding: 1rem 1.5rem;
  background-color: #ff4081;
  color: #fff;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  border-radius: 30px;
  border: none;
  margin-top: 2rem;
  align-self: flex-start;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.estimate-submit-btn:hover {
  background-color: #ff6fa0;
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .multi-col-row {
    flex-direction: column;
    gap: 1rem;
  }
  .slider-container {
    flex-direction: column;
    align-items: flex-start;
  }
  .estimate-container {
    padding: 1.5rem;
  }
  .estimate-container h2 {
    font-size: 1.8rem;
  }
  .estimate-intro {
    font-size: 0.95rem;
  }
}

/* ===========================
   Cookie Policy Popup
=========================== */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  z-index: 1000;
  display: none;
  max-width: 300px;
}

.cookie-popup-content {
  text-align: center;
}

.cookie-popup h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #333;
}

.cookie-popup p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 1rem;
}

.cookie-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.cookie-btn {
  padding: 0.8rem 1.2rem;
  background-color: #ff4081;
  border: none;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 25px;
  transition: background-color 0.3s ease;
}

.cookie-btn:hover {
  background-color: #ff6fa0;
}

.hidden {
  display: none;
}

@media (max-width: 480px) {
  .cookie-popup {
    right: 10px;
    left: 10px;
    bottom: 20px;
    max-width: none;
  }
}
