/*
Theme Name: ASID Projects & Management
Theme URI: https://asidpm.com
Description: Professional theme for ASID Projects & Management website
Version: 1.0.0
Author: ASID PM
Author URI: https://asidpm.com
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: asid-pm
Domain Path: /languages
*/

/* GLOBAL STYLES */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* FINAL MOBILE OVERRIDES — placed at file end to ensure precedence */
@media (max-width: 768px) {
  /* Force project/featured grids to stack vertically */
  .projects-grid,
  .projects-carousel,
  .projects-wrapper,
  .recent-projects .projects-grid,
  .tiers-grid {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: visible !important;
    -webkit-overflow-scrolling: auto !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Disable auto-scrolling/carousel animation on small screens */
  .projects-carousel.auto-scroll {
    animation: none !important;
  }

  .project-card,
  .featured-project-card {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    flex: none !important;
    margin: 0 0 1rem 0 !important;
  }

  /* Ensure images and media can't push past container */
  .project-card img,
  .featured-project-card img,
  .project-image img,
  .project-image,
  .project-info {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  /* Safety: ensure no child sets a larger min-width */
  .projects-grid * {
    min-width: 0 !important;
  }
}

@media (max-width: 480px) {
  .projects-grid,
  .projects-carousel,
  .featured-projects-grid {
    display: block !important;
    overflow-x: visible !important;
  }

  .project-card,
  .featured-project-card {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin-bottom: 1rem !important;
  }
}

:root {
  /* ASIDPM Primary Colors */
  --primary-color: #1e3a8a;
  --primary-blue: #1e3a8a;
  --primary-blue-light: #3b82f6;
  --primary-blue-dark: #0f1f4a;

  /* ASIDPM Secondary Colors */
  --secondary-color: #64748b;
  --secondary-gray: #64748b;
  --secondary-gray-light: #94a3b8;
  --secondary-gray-dark: #475569;

  /* ASIDPM Accent Colors */
  --accent-color: #ffc107;
  --accent-orange: #ffc107;
  --accent-green: #10b981;
  --accent-yellow: #ffc107;
  --accent-grey: #757575;
  --accent-red: #ef4444;

  /* Neutral Colors */
  --neutral-light: #f8fafc;
  --neutral-medium: #e2e8f0;
  --light-accent: #94a3b8;
  --text-dark: #1e293b;
  --text-light: #64748b;
  --border-color: #e2e8f0;
  --success-color: #10b981;
  --dark-gray: #1e293b;
  --footer-bg: #1e293b;
  --white: #ffffff;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
}

h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
}

h4 {
  font-size: 1.2rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-color);
}

/* HEADER & NAVIGATION */
.header {
  background-color: var(--white);
  border-bottom: 2px solid var(--neutral-medium);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
}

.logo-section {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.logo-link {
  display: inline-block;
  transition: transform 0.3s ease;
}

.logo-link:hover {
  transform: scale(1.05);
}

.logo {
  height: 70px;
  width: auto;
  display: block;
  max-height: 70px;
  margin: 0;
}

.top-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  font-weight: 500;
  color: var(--text-dark);
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-color);
  border-bottom-color: var(--accent-color);
}

.nav-dropdown {
  position: relative;
}

.dropdown-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
  font-weight: 500;
  color: var(--text-dark);
  font-size: 1rem;
}

.dropdown-btn:hover {
  color: var(--primary-color);
  border-bottom-color: var(--accent-color);
}

.dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--white);
  min-width: 220px;
  border: 1px solid var(--border-color);
  border-top: 3px solid var(--primary-color);
  border-radius: 4px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  margin-top: 0.5rem;
}

.nav-dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-content a {
  display: block;
  padding: 12px 20px;
  color: var(--text-dark);
  font-weight: 500;
  transition: all 0.3s ease;
}

.dropdown-content a:hover {
  background-color: var(--neutral-light);
  color: var(--primary-color);
  padding-left: 25px;
}

.cta-link {
  background-color: var(--primary-color);
  color: var(--white) !important;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.cta-link:hover {
  background-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

/* SOCIAL MEDIA LINKS */
.social-links {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-left: auto;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--primary-color);
  transition: all 0.3s ease;
  border-radius: 50%;
  background-color: transparent;
  text-decoration: none;
}

.social-icon:hover {
  color: var(--accent-color);
  background-color: rgba(26, 71, 42, 0.1);
  transform: translateY(-3px);
}

.social-icon svg {
  width: 20px;
  height: 20px;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(255, 193, 7, 0.3);
}

.btn-secondary {
  background-color: var(--accent-color);
  color: var(--white);
  border: 2px solid var(--accent-color);
}

.btn-secondary:hover {
  background-color: var(--light-accent);
  border-color: var(--light-accent);
}

.btn-full {
  width: 100%;
  display: block;
}

/* HERO SECTION */
.hero {
  background:
    linear-gradient(
      135deg,
      rgba(26, 71, 42, 0.85) 0%,
      rgba(82, 183, 136, 0.85) 100%
    ),
    url("images/multi-unit-hero.jpg") center/cover no-repeat;
  background-attachment: fixed;
  color: var(--white);
  padding: 100px 20px;
  text-align: center;
}

.hero-content {
  max-width: 1000px;
  margin: 0 auto;
}

.hero h1 {
  color: var(--white);
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-align: center;
  display: block;
  justify-content: center;
  width: 100%;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
}

.hero .highlight {
  color: var(--light-accent);
  font-weight: 700;
  background: transparent;
  padding: 0;
  border-radius: 0;
  font-size: inherit;
  display: block;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.95);
}

.hero-quote {
  font-size: 1.1rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  max-width: 700px;
  line-height: 1.8;
  border-left: 4px solid var(--light-accent);
  padding-left: 1.5rem;
}

.hero-ctas {
  display: flex;
  gap: 1.5rem;
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
  flex-wrap: wrap;
}

/* SERVICES SECTION */
.services-intro {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  background-color: var(--white);
}

.services-intro h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background-color: var(--neutral-light);
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  border-left-color: var(--accent-color);
}

.service-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.service-card p {
  flex: 1;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.learn-more {
  color: var(--primary-color);
  font-weight: 600;
  display: inline-block;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
}

.learn-more:hover {
  color: var(--accent-color);
}

/* CERTIFIED SECTION */
.certified-section {
  background-color: var(--neutral-light);
  padding: 80px 20px;
}

.certified-section h2 {
  text-align: center;
}

.certifications-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 1rem;
  margin: 3rem auto;
  max-width: 1200px;
}

.cert-item {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--white);
  padding: 1rem 1.25rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  min-height: 120px;
  flex: 1 1 220px;
  max-width: 320px;
}

.cert-item img {
  max-width: 100%;
  max-height: 100px;
  width: auto;
  object-fit: contain;
}

.compliance-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.compliance-item {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
}

.compliance-item h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

/* WEALTH SECTION */
.wealth-section {
  background:
    linear-gradient(
      135deg,
      rgba(26, 71, 42, 0.88) 0%,
      rgba(64, 145, 108, 0.88) 100%
    ),
    url("images/multi-unit-hero.jpg") center/cover;
  padding: 80px 20px;
}

.wealth-content {
  max-width: 1000px;
  margin: 0 auto;
}

.wealth-content h2 {
  margin-bottom: 1.5rem;
  text-align: center;
  color: var(--white);
}

.wealth-content p {
  font-size: 1.1rem;
  color: var(--white);
  text-align: center;
  margin-bottom: 2rem;
}

.wealth-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.pillar {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  border-top: 3px solid var(--primary-color);
  transition: all 0.3s ease;
}

.pillar:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.pillar h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* ASSESSMENT SECTION */
.assessment-section {
  padding: 20px 20px;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.8) 0%,
      rgba(255, 255, 255, 0.8) 100%
    ),
    url("images/multi-unit-hero.jpg") left/cover;
  background-color: var(--white);
}

.assessment-section h2 {
  text-align: center;
}

.assessment-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.assessment-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.step {
  background-color: var(--neutral-light);
  padding: 0.75rem;
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
  display: flex;
  gap: 0.75rem;
}

.step-number {
  background-color: var(--primary-color);
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.step h4 {
  margin-top: 0;
  color: var(--primary-color);
}

.assessment-form {
  background-color: var(--neutral-light);
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.assessment-form h3 {
  margin-bottom: 0.75rem;
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: 700;
}

.form-group {
  margin-bottom: 0.75rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.1);
}

.form-checkbox {
  display: flex;
  gap: 0.75rem;
  margin: 1.5rem 0;
  align-items: flex-start;
}

.form-checkbox input[type="checkbox"] {
  width: auto;
  margin-top: 4px;
  cursor: pointer;
}

.form-checkbox label {
  cursor: pointer;
  color: var(--text-dark);
}

.form-disclaimer {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 1rem;
}

/* MULTI-STEP FORM STYLES */
.form-steps-indicator {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--neutral-light);
}

.form-step-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.form-step-indicator.active {
  opacity: 1;
  color: var(--primary-color);
}

.form-step-indicator .step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--neutral-light);
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.form-step-indicator.active .step-number {
  background-color: var(--primary-color);
  color: var(--white);
}

.form-step-indicator .step-label {
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

.form-step {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-navigation {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-top: 2rem;
}

.form-navigation .btn {
  flex: 1;
}

.form-navigation .btn-secondary {
  background-color: var(--neutral-light);
  color: var(--text-dark);
  border: none;
}

.form-navigation .btn-secondary:hover {
  background-color: var(--text-light);
}

@media (max-width: 768px) {
  .assessment-wrapper {
    grid-template-columns: 1fr;
  }

  .form-steps-indicator {
    gap: 1rem;
  }

  .form-step-indicator .step-number {
    width: 35px;
    height: 35px;
    font-size: 0.95rem;
  }

  .form-step-indicator .step-label {
    font-size: 0.8rem;
  }
}

/* TESTIMONIALS SECTION */
.testimonials-section {
  background-color: var(--neutral-light);
  padding: 80px 20px;
}

.testimonials-section h2 {
  text-align: center;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.testimonial {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid var(--accent-color);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.stars {
  color: #ffc107;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.testimonial p {
  margin-bottom: 0.5rem;
  font-style: italic;
  color: var(--text-dark);
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-color);
  font-style: normal;
  margin-top: 1rem;
}

/* WHY ASID SECTION */
.why-asid {
  padding: 80px 20px;
  background-color: var(--white);
}

.why-asid h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.advantage {
  background: linear-gradient(
    135deg,
    rgba(26, 71, 42, 0.05) 0%,
    rgba(64, 145, 108, 0.05) 100%
  );
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
  transition: all 0.3s ease;
}

.advantage:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.advantage h4 {
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.advantage p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* FINAL CTA SECTION */
.final-cta {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: var(--white);
  padding: 60px 20px;
  text-align: center;
}

.final-cta h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.final-cta p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* FOOTER */
.footer {
  background:
    linear-gradient(
      135deg,
      rgba(26, 71, 42, 0.95) 0%,
      rgba(26, 71, 42, 0.95) 100%
    ),
    url("images/multi-unit-hero.jpg") center/cover;
  background-attachment: fixed;
  color: var(--white);
  padding: 1.5rem 20px 0.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.footer-section h4 {
  color: var(--light-accent);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}

.contact-info {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  line-height: 1.5;
}

.contact-info a {
  color: var(--light-accent);
}

.contact-info a:hover {
  color: var(--white);
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 0.4rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--light-accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 0.75rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  max-width: 1200px;
  margin: 0 auto;
  font-size: 0.85rem;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 1rem;
    height: auto;
    padding: 1rem 20px;
  }

  .top-nav {
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
  }

  .hero h1 {
    font-size: 2rem;
  }

  /* Mobile: disable fixed backgrounds to avoid repaint/overflow issues */
  .hero,
  .footer,
  .service-hero {
    background-attachment: scroll !important;
    background-position: center !important;
  }

  /* Ensure certification tiles stack without causing horizontal scroll */
  .cert-item {
    max-width: 100% !important;
    flex: 1 1 100%;
  }

  h2 {
    font-size: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .wealth-pillars {
    grid-template-columns: 1fr;
  }

  .assessment-wrapper {
    grid-template-columns: 1fr;
  }

  .step {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* SERVICE PAGE STYLES */
.service-hero {
  background: linear-gradient(
    135deg,
    var(--primary-blue) 0%,
    var(--primary-blue-light) 100%
  );
  background-attachment: fixed;
  color: var(--white);
  padding: 60px 20px;
  text-align: center;
}

.service-hero h1 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.service-overview {
  padding: 80px 20px;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.8) 0%,
      rgba(255, 255, 255, 0.8) 100%
    ),
    url("images/multi-unit-hero.jpg") right/cover;
  background-color: var(--white);
}

.overview-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
}

.overview-content h2 {
  margin-top: 0;
}

.overview-content h3 {
  color: var(--primary-color);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.service-list {
  list-style: none;
  padding-left: 0;
}

.service-list li {
  padding: 0.75rem 0 0.75rem 1.5rem;
  position: relative;
  color: var(--text-dark);
  font-size: 1rem;
}

.service-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: 700;
}

.overview-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.stat-box {
  background-color: var(--neutral-light);
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
  text-align: center;
}

.stat-box h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-value {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0;
}

.stat-detail {
  font-size: 0.85rem;
  color: var(--text-light);
}

.service-process {
  background-color: var(--neutral-light);
  padding: 80px 20px;
}

.service-process h2 {
  text-align: center;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin-top: 3rem;
  margin-left: auto;
  margin-right: auto;
}

.process-step {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 8px;
  border-top: 4px solid var(--primary-color);
  position: relative;
}

.process-step h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.process-step p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.step-duration {
  display: block;
  background-color: var(--neutral-light);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
}

.service-why {
  padding: 80px 20px;
  background-color: var(--white);
}

.service-why h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.why-item {
  background: linear-gradient(
    135deg,
    rgba(26, 71, 42, 0.05) 0%,
    rgba(64, 145, 108, 0.05) 100%
  );
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
}

.why-item h4 {
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.why-item p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

.recent-projects {
  background-color: var(--neutral-light);
  padding: 80px 20px;
}

.recent-projects h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.projects-grid {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  padding: 1rem 0;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.project-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid var(--accent-color);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  min-width: 320px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.project-card h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.project-card p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

.service-cta {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: var(--white);
  padding: 20px 20px 60px 20px;
  text-align: center;
}

.service-cta h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.service-cta p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.market-insight {
  background-color: var(--neutral-light);
  padding: 80px 20px;
  text-align: center;
}

.market-insight h2 {
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.market-insight p {
  font-size: 1.05rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-dark);
}

/* CONTACT PAGE STYLES */
.contact-section {
  padding: 80px 20px;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.8) 0%,
      rgba(255, 255, 255, 0.8) 100%
    ),
    url("images/AdobeStock_563140258.jpeg") center/cover;
  background-color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
  margin-top: 3rem;
}

.contact-info-box {
  background-color: var(--neutral-light);
  padding: 2.5rem;
  border-radius: 8px;
}

.contact-info-box h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.contact-detail {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.contact-detail:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.contact-detail label {
  display: block;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.contact-detail p {
  margin-bottom: 0;
  font-size: 1.05rem;
}

.contact-detail a {
  color: var(--accent-color);
  font-weight: 600;
  text-decoration: none;
}

.contact-detail a:hover {
  text-decoration: underline;
}

.contact-hours {
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  margin-top: 1.5rem;
}

.contact-hours h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.contact-hours p {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.contact-form {
  background-color: var(--neutral-light);
  padding: 2.5rem;
  border-radius: 8px;
}

/* HABU REPORT TIERS */
.report-tiers {
  background-color: var(--neutral-light);
  padding: 80px 20px;
}

.report-tiers h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.tiers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tier-card {
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: 8px;
  border-top: 4px solid var(--accent-color);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.tier-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.tier-free {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border-top: 4px solid var(--light-accent);
  border-left: 4px solid var(--accent-color);
  border-right: 4px solid var(--accent-color);
}

.tier-free:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 24px rgba(82, 183, 136, 0.2);
}

.tier-featured {
  border-top-color: var(--primary-color);
}

.tier-card h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.tier-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-color);
  margin: 0.5rem 0 1rem;
}

.tier-description {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.tier-card h4 {
  color: var(--primary-color);
  margin: 1.5rem 0 1rem;
  font-size: 1rem;
}

.tier-list {
  list-style: none;
  margin-bottom: 2rem;
  flex: 1;
}

.tier-list li {
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative;
  font-size: 0.95rem;
}

.tier-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: 700;
}

.ideal-clients {
  padding: 80px 20px;
  background-color: var(--white);
}

.ideal-clients h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.client-item {
  background: linear-gradient(
    135deg,
    rgba(26, 71, 42, 0.05) 0%,
    rgba(64, 145, 108, 0.05) 100%
  );
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
}

.client-item h4 {
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.client-item p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* CONTACT PAGE SPECIFIC */
.why-contact {
  background-color: var(--neutral-light);
  padding: 80px 20px;
  text-align: center;
}

.why-contact h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.why-contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.why-contact-item {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
}

.why-contact-item h4 {
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.why-contact-item p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

.next-steps {
  padding: 80px 20px;
  background-color: var(--white);
}

.next-steps h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.steps-timeline {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
}

.timeline-item {
  background: linear-gradient(
    135deg,
    rgba(26, 71, 42, 0.05) 0%,
    rgba(64, 145, 108, 0.05) 100%
  );
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  text-align: center;
  flex: 1;
  min-width: 200px;
  max-width: 220px;
}

.timeline-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.timeline-item h4 {
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.timeline-item p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.timeline-arrow {
  font-size: 2rem;
  color: var(--accent-color);
  font-weight: 700;
}

/* FEATURED PROJECTS SECTION */
.featured-projects {
  padding: 80px 0;
  background:
    linear-gradient(
      135deg,
      rgba(242, 245, 242, 0.92) 0%,
      rgba(242, 245, 242, 0.92) 100%
    ),
    url("images/multi-unit-hero.jpg") center/cover;
  background-color: var(--neutral-light);
}

.featured-projects h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 3rem;
  font-size: 1.1rem;
}

.featured-projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.featured-project-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.featured-project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.featured-project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.featured-project-card h3 {
  padding: 1.5rem 1.5rem 0.5rem;
  margin-bottom: 0.5rem;
}

.project-type {
  color: var(--accent-color);
  font-weight: 600;
  padding: 0 1.5rem;
  font-size: 0.9rem;
}

.featured-project-card p {
  padding: 0 1.5rem;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.featured-project-card .btn {
  display: inline-block;
  margin: 1rem 1.5rem;
}

.projects-view-all {
  text-align: center;
}

/* PROJECTS PAGE STYLES */

.projects-showcase {
  padding: 3rem 0;
}

/* Carousel Title */
.carousel-title {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
  text-align: left;
  margin: 0 0 2rem 0;
}

/* Carousel Container with Side Controls */
.carousel-container {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  position: relative;
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  background: var(--white);
  color: var(--primary-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 0;
  flex-shrink: 0;
  z-index: 10;
}

.carousel-btn:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.carousel-btn:active {
  transform: scale(0.95);
}

/* Carousel Wrapper */
.carousel-wrapper {
  position: relative;
  overflow: hidden;
  flex: 1;
  min-width: 0;
  border-radius: 8px;
}

/* Carousel Container */
.projects-carousel {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.projects-carousel.auto-scroll {
  animation: autoScroll 30s linear infinite;
}

@keyframes autoScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-100% / 2 - 2rem / 2));
  }
}

/* Projects Grid (now carousel) */
.projects-grid {
  display: flex;
  gap: 2rem;
  min-width: 100%;
}

.project-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  flex: 0 0 calc(100% - 1.5rem);
  min-width: calc(100% - 1.5rem);
  max-width: calc(100% - 1.5rem);
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-image {
  width: 100%;
  height: 300px;
  background: var(--accent-color);
}

.project-info {
  padding: 1rem 1.25rem;
}

.project-info h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.project-type {
  color: var(--accent-color);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.project-location {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.project-description {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.project-details {
  background: var(--neutral-light);
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.detail {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.detail strong {
  color: var(--primary-color);
}

.project-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.highlight {
  background: var(--accent-color);
  color: var(--white);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.btn-small {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* LEGAL PAGES */
.legal-hero {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}

.legal-hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.legal-hero p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.1rem;
}

.last-updated {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin-top: 1rem;
}

.legal-content {
  padding: 60px 0;
}

.legal-article {
  margin-bottom: 3rem;
  line-height: 1.8;
}

.legal-article h2 {
  margin: 2rem 0 1rem;
  color: var(--primary-color);
  border-bottom: 3px solid var(--light-accent);
  padding-bottom: 0.5rem;
}

.legal-article h3 {
  margin: 1.5rem 0 1rem;
  color: var(--secondary-color);
  font-size: 1.2rem;
}

.legal-article ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-article li {
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.legal-article p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

.legal-article a {
  color: var(--accent-color);
  font-weight: 500;
}

.legal-links {
  text-align: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 2px solid var(--border-color);
}

.legal-links a {
  margin: 0 0.5rem;
}

@media (max-width: 1024px) {
  .steps-timeline {
    flex-direction: column;
  }

  .timeline-arrow {
    transform: rotate(90deg);
  }

  .featured-projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects-grid {
    display: flex;
  }

  .project-card {
    flex: 0 0 calc(50% - 1rem);
    min-width: calc(50% - 1rem);
  }

  .carousel-container {
    gap: 1rem;
  }

  .carousel-btn {
    width: 44px;
    height: 44px;
  }

  .carousel-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .overview-grid {
    grid-template-columns: 1fr;
  }

  .service-hero h1 {
    font-size: 2rem;
  }

  .tier-featured {
    transform: scale(1);
  }

  .featured-projects-grid {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    display: flex;
  }

  .project-card {
    flex: 0 0 calc(100% - 0rem);
    min-width: calc(100% - 0rem);
  }

  .carousel-container {
    flex-direction: column;
    gap: 1rem;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    align-self: center;
  }

  .carousel-title {
    font-size: 1.25rem;
  }

  .carousel-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .carousel-header h2 {
    width: 100%;
  }

  .carousel-controls {
    width: 100%;
    justify-content: flex-end;
  }

  .legal-hero {
    padding: 40px 0;
  }

  .legal-hero h1 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.75rem;
  }

  .hero-ctas {
    gap: 1rem;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  /* ABOUT PAGE STYLES */
  .about-section {
    padding: 80px 20px;
    margin-bottom: 3rem;
    background:
      linear-gradient(
        135deg,
        rgba(76, 175, 80, 0.15) 0%,
        rgba(129, 199, 132, 0.15) 100%
      ),
      url("images/multi-unit-hero.jpg") left/cover;
    background-color: var(--white);
  }

  .about-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.9;
    text-align: justify;
  }

  .about-content h2 {
    margin-bottom: 2.5rem;
    color: var(--primary-color);
    text-align: center;
  }

  .about-content p {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 2rem;
  }

  .philosophy-section {
    padding: 80px 20px;
    margin-bottom: 3rem;
    background:
      linear-gradient(
        135deg,
        rgba(76, 175, 80, 0.12) 0%,
        rgba(156, 204, 101, 0.12) 100%
      ),
      url("images/multi-unit-hero.jpg") center/cover;
    background-color: var(--neutral-light);
  }

  .philosophy-section h2 {
    text-align: center;
    margin-bottom: 1rem;
  }

  .philosophy-content {
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: justify;
    line-height: 1.9;
  }

  .philosophy-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
  }

  .pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
  }

  .pillar-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--accent-color);
  }

  .pillar-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
  }

  .pillar-card p {
    color: var(--text-light);
    line-height: 1.8;
  }

  .team-section {
    padding: 80px 20px;
    margin-bottom: 3rem;
    background:
      linear-gradient(
        135deg,
        rgba(76, 175, 80, 0.1) 0%,
        rgba(139, 195, 74, 0.1) 100%
      ),
      url("images/AdobeStock_362183460.jpeg") right/cover;
    background-color: var(--white);
  }

  .team-section h2 {
    text-align: center;
    margin-bottom: 1rem;
  }

  .team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
  }

  .team-member {
    background: var(--neutral-light);
    padding: 2rem;
    border-radius: 8px;
    border-top: 3px solid var(--accent-color);
  }

  .member-role {
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1rem;
  }

  .team-member h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
  }

  .member-credentials {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    text-align: left;
  }

  .member-bio {
    color: var(--text-light);
    line-height: 1.8;
    text-align: justify;
  }

  .why-choose-section {
    padding: 80px 20px;
    margin-bottom: 3rem;
    background:
      linear-gradient(
        135deg,
        rgba(76, 175, 80, 0.12) 0%,
        rgba(102, 187, 106, 0.12) 100%
      ),
      url("images/multi-unit-hero.jpg") center/cover;
    background-color: var(--neutral-light);
  }

  .why-choose-section h2 {
    text-align: center;
    margin-bottom: 1rem;
  }

  .comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
  }

  .feature-box {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  }

  .feature-box h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
  }

  .feature-box p {
    text-align: justify;
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.2rem;
  }

  .feature-box p {
    color: var(--text-light);
    line-height: 1.8;
  }

  .stats-section {
    padding: 80px 20px;
    margin-bottom: 3rem;
    background:
      linear-gradient(
        135deg,
        rgba(76, 175, 80, 0.85),
        rgba(129, 199, 132, 0.85)
      ),
      url("images/AdobeStock_537193297.jpeg") left/cover;
    color: var(--white);
  }

  .stats-section h2 {
    color: var(--white);
    text-align: center;
  }

  .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
  }

  .stat-block {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
  }

  .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--light-accent);
    display: block;
    margin-bottom: 1rem;
  }

  .stat-block p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.05rem;
  }

  .service-areas-section {
    padding: 80px 20px;
    margin-bottom: 3rem;
    background:
      linear-gradient(
        135deg,
        rgba(76, 175, 80, 0.08) 0%,
        rgba(139, 195, 74, 0.08) 100%
      ),
      url("images/AdobeStock_533000465.jpeg") center/cover;
    background-color: var(--white);
  }

  .service-areas-section h2 {
    text-align: center;
    margin-bottom: 1rem;
  }

  .areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
  }

  .area-item {
    background: var(--neutral-light);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--light-accent);
  }

  .area-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
  }

  .area-item p {
    color: var(--text-light);
    line-height: 1.8;
  }

  h2 {
    font-size: 1.5rem;
  }

  .header-container {
    padding: 0.75rem 20px;
  }

  .logo {
    height: 70px;
    max-height: 70px;
    width: auto;
    display: block;
    margin-top: 16px;
  }

  .featured-projects-grid {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }
}
/* ANIMATIONS & TRANSITIONS */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

@keyframes glow {
  0%,
  100% {
    box-shadow: 0 0 5px rgba(82, 183, 136, 0.3);
  }
  50% {
    box-shadow: 0 0 15px rgba(82, 183, 136, 0.6);
  }
}

/* Service Card Hover Effects */
.service-card {
  transition: all 0.3s ease;
  animation: fadeInUp 0.6s ease-out forwards;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(255, 193, 7, 0.15);
}

/* Button Hover Effects */
.btn {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(255, 193, 7, 0.2);
}

/* Nav Link Hover */
.nav-link {
  position: relative;
  transition: color 0.3s ease;
}

.nav-link:after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: linear-gradient(90deg, #40916c, #52b788);
  transition: width 0.3s ease;
}

.nav-link:hover:after {
  width: 100%;
}

/* Hero Section Animation */
.hero h1 {
  animation: fadeInLeft 0.8s ease-out;
}

.hero-subtitle {
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-quote {
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Section Fade In */
.services-intro {
  animation: fadeInUp 0.6s ease-out;
}

.services-intro h2 {
  animation: fadeInLeft 0.6s ease-out;
}

.section-subtitle {
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

/* SCROLL REVEAL ANIMATIONS */
/* Initial state for scroll-triggered elements */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.scroll-reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}

.scroll-reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.scroll-reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}

.scroll-reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered reveal for multiple elements */
.scroll-reveal.stagger {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}

.scroll-reveal.stagger:nth-child(1) {
  transition-delay: 0s;
}

.scroll-reveal.stagger:nth-child(2) {
  transition-delay: 0.1s;
}

.scroll-reveal.stagger:nth-child(3) {
  transition-delay: 0.2s;
}

.scroll-reveal.stagger:nth-child(4) {
  transition-delay: 0.3s;
}

.scroll-reveal.stagger:nth-child(5) {
  transition-delay: 0.4s;
}

.scroll-reveal.stagger:nth-child(6) {
  transition-delay: 0.5s;
}

.scroll-reveal.stagger.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Text fade-in for headings and paragraphs */
.scroll-reveal-text {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}

.scroll-reveal-text.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Fade in from sides for images and content blocks */
.scroll-reveal-fade {
  opacity: 0;
  transition: opacity 0.8s ease-out;
}

.scroll-reveal-fade.revealed {
  opacity: 1;
}

/* Input Focus Effect */
input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(82, 183, 136, 0.1);
  transition: all 0.3s ease;
}

/* CTA Button Pulse */
.btn-primary {
  animation: none;
}

.btn-primary:hover {
  animation: glow 1.5s ease-in-out infinite;
}

/* HABU™ Disclaimer Styling */
.habu-disclaimer {
  background: var(--neutral-light);
  border-left: 4px solid var(--primary-blue);
  padding: 2rem;
  margin: 2rem 0;
  border-radius: 6px;
  font-size: 0.9rem;
  line-height: 1.7;
}

.habu-disclaimer p {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.habu-disclaimer p:last-child {
  margin-bottom: 0;
}

.habu-disclaimer strong {
  color: var(--primary-blue);
  font-weight: 600;
}

/* Smooth Page Transitions */
html {
  scroll-behavior: smooth;
}

/* Garden Suites – Terminology Section */
.terminology {
  background: var(--bg-secondary);
  padding: 3rem 0;
}

.terminology h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.terminology p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-secondary);
}

/* HABU Context Section */
.habu-context {
  padding: 4rem 0;
  background: var(--bg-secondary);
}

.habu-context h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.habu-context p {
  max-width: 800px;
  margin: 0.5rem auto;
  text-align: center;
}

/* Legal Disclaimer */
.legal-disclaimer {
  padding: 2.5rem 0;
  font-size: 0.9rem;
  background: var(--bg-secondary);
  color: var(--text-secondary);
}

/* Hero Note */
.hero-note {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  opacity: 0.9;
}

/* Multi-Unit Conversions Page */

.service-hero {
  background:
    linear-gradient(rgba(15, 31, 74, 0.75), rgba(15, 31, 74, 0.75)),
    url("images/multi-unit-hero.jpg") center / cover no-repeat;
  color: var(--white);
  padding: 6rem 0;
  text-align: center;
}

.service-overview,
.service-process,
.service-why,
.market-insight,
.service-cta {
  padding: 5rem 0;
}

/* MOBILE FIXES: prevent horizontal overflow and force stacking of project/carousel cards */
@media (max-width: 768px) {
  .projects-grid,
  .projects-carousel,
  .projects-wrapper,
  .recent-projects .projects-grid,
  .tiers-grid {
    display: block !important;
    overflow-x: visible !important;
    -webkit-overflow-scrolling: auto;
    gap: 1rem;
    padding: 0 !important;
  }

  .project-card {
    flex: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .projects-grid .project-card,
  .projects-carousel .project-card {
    min-width: 0 !important;
  }

  .carousel-wrapper {
    overflow: hidden !important;
  }
}

@media (max-width: 480px) {
  .projects-grid,
  .projects-carousel,
  .projects-wrapper {
    display: block !important;
    overflow-x: visible !important;
  }

  .project-card {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
}

/* === Mobile overrides appended 2026-01-17 === */
@media (max-width: 768px) {
  .projects-grid,
  .projects-carousel,
  .project-card,
  .services-grid,
  .recent-projects,
  .featured-projects {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .hero {
    background-attachment: scroll !important;
  }
  html,
  body {
    /* Allow horizontal scrolling inside specific containers (carousels) */
    overflow-x: visible !important;
  }
  img {
    max-width: 100% !important;
    height: auto !important;
  }
}

/* --- Enable horizontal swipe/scroll on mobile carousels --- */
@media (max-width: 768px) {
  .projects-grid,
  .projects-carousel,
  .projects-wrapper,
  .recent-projects .projects-grid,
  .featured-projects-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 1rem !important;
    padding: 0.5rem 0 !important;
    scroll-snap-type: x mandatory !important;
    box-sizing: border-box !important;
  }

  .projects-grid .project-card,
  .projects-carousel .project-card,
  .projects-wrapper .project-card,
  .featured-projects-grid .featured-project-card {
    flex: 0 0 auto !important;
    min-width: 260px !important;
    max-width: 92vw !important;
    scroll-snap-align: start !important;
    box-sizing: border-box !important;
  }

  /* Make sure any inner elements don't force extra width */
  .projects-grid *,
  .projects-carousel * {
    min-width: 0 !important;
  }
}

@media (max-width: 480px) {
  .hero h1,
  .hero .subtitle {
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: anywhere !important;
  }
  .certifications,
  .cert-tile {
    display: block !important;
    width: 100% !important;
  }
}
/* === Dropdown background fix (services menu) added 2026-01-18 === */
/* Force a solid background, remove accidental transparency, and ensure it's above the banner */
.dropdown-content {
  /* Fixed dropdown: rendered above page content to avoid banner bleed-through */
  position: fixed !important;
  top: calc(var(--header-height, 90px) + 6px) !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  background-color: #ffffff !important;
  background-clip: padding-box !important;
  min-width: 220px !important;
  max-width: 90vw !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22) !important;
  border: 1px solid var(--border-color) !important;
  border-top: 3px solid var(--primary-color) !important;
  border-radius: 6px !important;
  z-index: 999999 !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  mix-blend-mode: normal !important;
  isolation: isolate !important;
  will-change: transform, top !important;
  padding: 4px 0 !important;
}

.nav-dropdown:hover .dropdown-content {
  transform: translateX(-50%) !important;
  visibility: visible !important;
  opacity: 1 !important;
}
/* When a floating dropdown is open, block pointer events to background content */
body.dropdown-open > *:not(.dropdown-content):not(.dropdown-overlay) {
  pointer-events: none !important;
  touch-action: none !important;
}

/* ensure overlay class has consistent defaults in CSS too */
.dropdown-overlay {
  position: fixed !important;
  inset: 0 !important;
  background: transparent !important;
  z-index: 999998 !important;
}
/* === Additional mobile scroll fixes added 2026-01-18 === */
@media (max-width: 768px) {
  /* Ensure html/body allow vertical scrolling and smooth touch scrolling */
  html,
  body {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    height: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  /* Target sections reported as unscrollable and ensure they don't cap height */
  .about-section,
  .about-content,
  .habu-context,
  .report-tiers,
  .tiers-grid,
  .recent-projects,
  .featured-projects,
  .projects-wrapper,
  .projects-grid {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-y !important;
    box-sizing: border-box !important;
  }

  /* Collapse multi-column grids that can cause horizontal overflow */
  .tiers-grid,
  .why-contact-grid,
  .overview-grid,
  .clients-grid {
    grid-template-columns: 1fr !important;
    display: grid !important;
    gap: 1rem !important;
  }

  .tiers-grid .tier-card,
  .projects-grid .project-card,
  .projects-carousel .project-card {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Defensive text wrapping for long content in about/habu areas */
  .about-content,
  .habu-context,
  .about-content p,
  .habu-context p {
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    hyphens: auto !important;
  }

  /* HABU assessment / header logo fix */
  .header .logo,
  .logo {
    height: 56px !important;
    max-height: 56px !important;
    width: auto !important;
    margin: 0 !important;
    display: block !important;
    object-fit: contain !important;
  }
}
