/* Main CSS for Perth Bond Cleaner - Upgraded Version */
:root {
  --primary-green: #28a745;
  --dark-green: #218838;
  --light-green: #d4edda;
  --accent-green: #20c997;
  --text-dark: #2c3e50;
  --text-light: #6c757d;
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --dark-bg: #2c3e50;
}

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

body {
  font-family: "Roboto", sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 650;
  line-height: 1.2;
}

/* Top Alert */
.top-alert {
  font-size: 0.9rem;
  font-weight: 500;
}

/* Navigation */
.navbar {
  background: var(--white);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.navbar.sticky-top {
  position: sticky;
  top: 0;
  z-index: 1020;
}

.logo-icon {
  width: 40px;
  height: 40px;
}

.logo-main {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-green);
  display: block;
}

.logo-tagline {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 400;
}

.nav-link {
  font-weight: 500;
  color: var(--text-dark) !important;
  padding: 0.5rem 1rem !important;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-green) !important;
}

.nav-link.active::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 3px;
  background: var(--primary-green);
  border-radius: 2px;
}

.price-badge {
  background: linear-gradient(
    135deg,
    var(--primary-green),
    var(--accent-green)
  );
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.2);
}

/* ===============================
           NAVBAR LOGO – DESKTOP
        =============================== */
.navbar-brand {
  display: flex;
  align-items: center;
  padding: 0;
}

.navbar-logo {
  height: 80px; /* 👈 MAIN CONTROL */
  width: auto;
  max-width: 260px;
  object-fit: contain;
}

/* Desktop only */
@media (min-width: 992px) {
  .navbar {
    min-height: 90px;
  }

  .navbar-logo {
    height: 80px; /* Bigger logo on desktop */
  }
}

/* Hero Section */
.hero-trust {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  color: #fff;
  font-size: 1.3rem;
}

.hero-trust span {
  white-space: nowrap;
}

/* Mobile only */
@media (max-width: 768px) {
  .hero-trust {
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
  }

  .hero-trust span {
    margin-bottom: 0;
  }
}

/* Mobile CTA Buttons */
@media (max-width: 768px) {
  .hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .hero-buttons .btn {
    width: 85%;
    max-width: 320px;
  }
}

.hero-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 5rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.hero-tag .badge {
  padding: 0.6rem 1.2rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 600px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.feature-item i {
  font-size: 1.2rem;
}

.hero-cta .btn {
  padding: 0.8rem 1.5rem;
  font-weight: 600;
  border-radius: 8px;
  min-width: 180px;
  transition: all 0.3s ease;
}

.hero-cta .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Price Card */
.price-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(40, 167, 69, 0.1);
  position: relative;
  overflow: hidden;
}

.price-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-green), var(--accent-green));
}

.price-header {
  margin-bottom: 2rem;
}

.price-title {
  color: var(--text-light);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.price-amount {
  font-size: 4rem;
  font-weight: 800;
  color: var(--primary-green);
  line-height: 1;
  margin: 0.5rem 0;
}

.price-amount .currency {
  font-size: 2rem;
  vertical-align: super;
}

.price-desc {
  color: var(--text-light);
  font-weight: 500;
}

.price-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.price-list li {
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.price-list i {
  font-size: 1.1rem;
}

/* Why Choose Us */
.why-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.why-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-green);
}

.why-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(
    135deg,
    var(--primary-green),
    var(--accent-green)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 1.8rem;
}

.why-card h4 {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

/* Services */
.service-main-card {
  background: linear-gradient(
    135deg,
    var(--primary-green),
    var(--accent-green)
  );
  color: white;
  padding: 2rem;
  border-radius: 15px;
  height: 100%;
  box-shadow: 0 15px 30px rgba(40, 167, 69, 0.2);
}

.service-header h4 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.service-header h5 {
  font-size: 1.1rem;
  opacity: 0.9;
  font-weight: 400;
}

.service-price {
  margin: 1.5rem 0;
  padding: 1rem 0;
  border-top: 2px dashed rgba(255, 255, 255, 0.3);
  border-bottom: 2px dashed rgba(255, 255, 255, 0.3);
}

.service-price .price {
  font-size: 3rem;
  font-weight: 800;
  display: block;
}

.service-price .price-desc {
  font-size: 1rem;
  opacity: 0.9;
}

.service-features ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.service-features li {
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.service-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 10px;
  border: 1px solid #e9ecef;
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-green);
}

.service-icon {
  width: 50px;
  height: 50px;
  background: var(--light-green);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--primary-green);
  font-size: 1.5rem;
}

.service-card h5 {
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.service-price-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--light-green);
  color: var(--primary-green);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
}

/* How It Works */
.step-card {
  text-align: center;
  padding: 1.5rem;
  position: relative;
  transition: all 0.3s ease;
  border-radius: 12px;
}

.step-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(
    135deg,
    var(--primary-green),
    var(--accent-green)
  );
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1rem;
  box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
  transition: all 0.3s ease;
}

.step-card h5 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.step-card:hover {
  transform: translateY(-10px);
  background: #ffffff;
  box-shadow: 0 15px 35px rgba(40, 167, 69, 0.15);
}

.step-card:hover .step-number {
  transform: scale(1.1) rotate(5deg);
}

/* What's Included */
.included-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 15px;
  height: 100%;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.included-card:hover {
  border-color: var(--primary-green);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.included-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--light-green);
}

.included-header i {
  font-size: 2rem;
  color: var(--primary-green);
}

.included-header h4 {
  margin: 0;
  flex-grow: 1;
}

.included-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.included-list li {
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.included-list i {
  color: var(--primary-green);
}

/* Testimonials */
.testimonial-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid #e9ecef;
  height: 100%;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.testimonial-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.rating {
  color: #ffc107;
}

.testimonial-header .date {
  color: var(--text-light);
  font-size: 0.9rem;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 1rem;
  border-left: 3px solid var(--primary-green);
}

.testimonial-author {
  display: flex;
  flex-direction: column;
}

.testimonial-author strong {
  color: var(--text-dark);
}

.testimonial-author .location {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Final CTA */
.final-cta {
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(30%, -30%);
}

.cta-title {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.cta-subtitle {
  font-size: 1.5rem;
  opacity: 0.9;
  margin-bottom: 1rem;
}

.cta-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.cta-features span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cta-buttons .btn {
  padding: 0.8rem 1rem;
  font-weight: 600;
  border-radius: 10px;
}

/* Footer */
.footer {
  background: var(--dark-bg);
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

.footer-logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.footer-tagline {
  color: #bdc3c7;
  font-size: 0.9rem;
}

.footer h5 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #bdc3c7;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-green);
  padding-left: 5px;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.footer-contact i {
  color: var(--primary-green);
  margin-top: 0.3rem;
  font-size: 1.2rem;
  width: 20px;
}

.footer-contact a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: var(--primary-green);
}

.whatsapp-cta .btn {
  border-radius: 10px;
  font-weight: 600;
  padding: 0.8rem 1rem;
}
/* Social Icons in Footer */
.social-links .social-icon {
  display: inline-block;
  width: 44px;
  height: 44px;
  line-height: 44px;
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  text-decoration: none;
  margin: 0 4px;
}

/* Facebook Hover - Official Blue */
.social-links a[href*="facebook.com"]:hover {
  background: #1877F2 !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(24, 119, 242, 0.4);
}

/* Instagram Hover - Official Bright Pink */
.social-links a[href*="instagram.com"]:hover {
  background: #E4405F !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(228, 64, 95, 0.4);
}

.social-links small {
  font-weight: 500;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

/* Trust Badges */
.trust-badges img {
  margin-right: 10px;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.trust-badges img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* Section Titles */
.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-green), var(--accent-green));
  border-radius: 2px;
}

.section-subtitle {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 3rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.8rem;
  }

  .price-amount {
    font-size: 3.5rem;
  }

  .section-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-cta .btn {
    width: 100%;
    margin-bottom: 1rem;
  }

  .price-card {
    margin-top: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .navbar-collapse {
    background: var(--white);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }

  .cta-features {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .price-amount {
    font-size: 3rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .footer-contact li {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Button Animations */
.btn-success {
  background: linear-gradient(
    135deg,
    var(--primary-green),
    var(--accent-green)
  );
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-success:hover {
  background: linear-gradient(135deg, var(--dark-green), var(--primary-green));
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

.btn-outline-success {
  border-width: 2px;
  font-weight: 600;
}

.btn-outline-success:hover {
  background: var(--primary-green);
  border-color: var(--primary-green);
  transform: translateY(-2px);
}

/* Loading Animation for Forms */
.loading {
  position: relative;
  pointer-events: none;
}

.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
/* SERVICES DROPDOWN */

@media (min-width: 992px) {
  .nav-item.dropdown {
    position: relative;
  }

  .nav-item.dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    border: none;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    padding: 0;
    min-width: 220px;
    overflow: hidden;
    background: #fff;
  }

  .nav-item.dropdown:hover .dropdown-menu {
    display: block;
  }

  .dropdown-item {
    padding: 5px 20px 5px 20px;
  }

  .dropdown-item:hover {
    background: #28a745 !important;
    color: #fff !important;
  }
}
/* MOBILE DROPDOWN */
@media (max-width: 991px) {
  .dropdown-menu {
    display: none;
    position: static !important;
    transform: none !important;
    border: none !important;
    box-shadow: none !important;
    padding-left: 20px !important;
    background: transparent !important;
    margin-top: 0 !important;
  }

  .dropdown-item {
    padding: 4px 0 !important;
    color: var(--text-dark) !important;
  }

  .dropdown-item:hover {
    background: transparent !important;
    color: var(--primary-green) !important;
  }

  /* Prevent sticky mobile hover/focus states */
  .nav-link:hover,
  .nav-link:focus,
  .nav-link:focus-visible {
    color: var(--text-dark) !important;
  }

  /* Active menu item */
  .nav-link.active {
    color: var(--primary-green) !important;
    font-weight: 600;
  }

  .nav-link.dropdown-toggle.show {
    color: var(--primary-green) !important;
  }

  /* Remove underline on mobile */
  .nav-link.active::before {
    display: none;
  }
}
