* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

p {
  line-height: 1.5em;
}

h2 {
  font-size: 2em !important;
}

/* ─── Site Header ───────────────────────────────────────────────────────── */
.site-header {
  background-color: #fff;
  padding: 1em 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 100;
}

/* ─── Nav Container ─────────────────────────────────────────────────────── */
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  width: 100%;
  padding: 0 1em;
}

/* Logo */
.logo {
  flex-shrink: 0;
}
.logo img {
  display: block;
  width: 200px;
  height: auto;
}

@media (max-width: 1400px) {
  .logo img {
    width: 140px;
  }
}

/* ─── Main Nav ──────────────────────────────────────────────────────────── */
.main-nav-wrapper {
  flex: 1 1 auto;
  margin: 0 2em;
}
.main-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}
.main-nav li {
  position: relative;
  margin-right: 1.5em;
  list-style: none;
}
.main-nav li:last-child {
  margin-right: 0;
}
.main-nav a {
  display: block;
  padding: 0.5em;
  font-size: 1.1em;
  color: #000;
  text-decoration: none;
  transition: background 0.2s;
}
.main-nav a:hover,
.main-nav a:focus {
  background-color: #f0f0f0;
  border-radius: 4px;
}

/* ─── Submenu ──────────────────────────────────────────────────────────── */
.submenu {
  position: absolute;
  top: calc(100% + 0.2em);
  left: 0;
  min-width: 200px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  padding: 0.5em 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(5px);
  transition: opacity 0.2s, transform 0.2s;
  z-index: 1000;
}
.has-submenu:hover > .submenu,
.has-submenu:focus-within > .submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.submenu li {
  margin: 0;
}
.submenu a {
  padding: 0.6em 1.2em;
  font-size: 1em;
  color: #232323;
  white-space: nowrap;
  transition: background 0.2s;
}
.submenu a:hover,
.submenu a:focus {
  background: #eef7e6;
  color: #69aa44;
}

/* ─── Nav Buttons ──────────────────────────────────────────────────────── */
.nav-buttons {
  display: flex;
  align-items: center;
  gap: 1em;
  flex-shrink: 0;
}
.btn {
  display: inline-block;
  padding: 0.7em 1.5em;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
}
.btn-primary {
  background: #69aa44;
  border: 1px solid #69aa44;
  color: #000;
}
.btn-secondary {
  background: #fff;
  border: 1px solid #69aa44;
  color: #000;
}

.btn {
  display: inline-block;
  padding: 0.75em 1.5em;
  text-decoration: none;
  font-size: 1em;
  border-radius: 4px;
  transition: background-color 0.3s, color 0.3s;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background-color: #69aa44;
  color: #000;
  border: 1px solid #69aa44;
  transition: background-color 0.3s, color 0.3s;
}

.btn-primary:hover {
  background-color: #fff;
}

.btn-secondary {
  background-color: #fff;
  color: #000;
  border: 1px solid #000;
  transition: background-color 0.3s, color 0.3s;
}

.btn-secondary:hover {
  background-color: #69aa44;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- CONTACT PAGE --- */

.breadcrumb {
  margin: 1em 1em 2em 1em;
  color: #222;
  font-size: 1em;
  padding-left: 1em;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.breadcrumb h1 {
  margin: 0;
  color: #222;
  font-size: 2em;
  font-weight: 700;
}

.breadcrumb p {
  color: #222;
}

.breadcrumb p a {
  color: #222;
}

@media (max-width: 768px) {
  .breadcrumb h1 {
    font-size: 1.5em;
  }

  .breadcrumb p {
    color: #222;
  }

  .breadcrumb p a {
    color: #222;
  }
}

@media (max-width: 400px) {
  .breadcrumb {
    display: flex !important;
    justify-content: center;
  }

  .breadcrumb p {
    display: none;
  }
}

.contact-map {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 2em auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.contact-section {
  max-width: 1200px;
  margin: 0 auto 3em auto;
  text-align: center;
}

.contact-section h2 {
  font-size: 2em;
  margin-bottom: 0.5em;
}

.contact-section p {
  color: #222;
  margin-bottom: 2em;
}

.contact-details-form {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  justify-content: center;
  align-items: flex-start;
  margin-top: 2em;
  text-align: left;
}

.contact-details {
  min-width: 260px;
  flex: 1 1 220px;
}

.contact-details h3 {
  margin: 0.5em 0 0.2em 0;
  font-size: 1em;
  color: #222;
}

.contact-details p,
.contact-details a {
  font-size: 1em;
  color: #222;
  text-decoration: none;
  margin-bottom: 1em;
  display: block;
}

.contact-form {
  flex: 2 1 320px;
  background: #f9f9f9;
  padding: 2em;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1em;
}

.contact-form .form-row {
  display: flex;
  gap: 1em;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8em 1em;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  font-size: 1em;
  background: white;
  resize: none;
}

.contact-form textarea {
  min-height: 120px;
  font-family: inherit;
}

.contact-form button {
  background: #5a8e3a;
  color: #222;
  border: 1px solid #5a8e3a;
  border-radius: 4px;
  padding: 0.8em 0;
  font-size: 1.1em;
  cursor: pointer;
  transition: background 0.3s;
  width: 100%;
}

.contact-form button:hover {
  background: #5a8e3a;
}

/* --- FOOTER --- */

.site-footer {
  background: #232323;
  color: #fff;
  font-size: 1em;
  padding: 0;
}

.footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 1em;
  width: 100%;
}

.footer-cta {
  background: linear-gradient(90deg, #69aa44, #4a7730, #2a441b);
  display: flex;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  padding: 3em 1em 3em 1em;
  margin-top: 2em auto;
  gap: 1.8em;
}

.footer-cta-text h2 {
  font-size: 2em;
  margin: 0 1.5em 0.5em 0;
  font-weight: 700;
  color: #fff;
  max-width: 400px;
  text-align: left;
}

.footer-cta-buttons {
  display: flex;
  align-items: center;
  gap: 1em;
}

.footer-cta-buttons span {
  font-size: 1.1em;
  color: #fff;
  font-weight: 600;
  align-items: center;
}

.footer-main {
  background: #232323;
  padding: 2em 1em;
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 2rem auto;
  gap: 2em;
  justify-content: space-between;
}

.footer-logo {
  flex: 1 1 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-social {
  margin-top: 1em;
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-social a {
  display: inline-block;
  color: #fff;
  font-size: 1.3em;
  text-decoration: none;
  transition: color 0.2s;
  width: 20px;
}

.footer-social a:hover {
  color: #69aa44;
}

.footer-links,
.footer-address,
.footer-partners {
  flex: 1 1 180px;
}

.footer-links ul,
.footer-partners ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li,
.footer-partners ul li {
  margin-bottom: 0.7em;
}

.footer-links a,
.footer-partners a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover,
.footer-partners a:hover {
  color: #69aa44;
}

.footer-address h2,
.footer-links h2,
.footer-partners h2 {
  margin-bottom: 0.6em;
  font-size: 1.1em !important;
  color: #69aa44;
  font-weight: 700;
}

.footer-bottom {
  background: #1a1a1a;
  text-align: center;
  color: #bbb;
  font-size: 0.96em;
  padding: 1em 0;
  border-top: 1px solid #2d2d2d;
}

/* --- REQUEST A QUOTE PAGE --- */

.request-quote-page {
  padding: 0;
  background: #fafafa;
}

.quote-section {
  max-width: 950px;
  margin: 0 auto 3em auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
  padding: 3em 2em 2em 2em;
  text-align: center;
}

.quote-section h1 {
  font-size: 2em;
  margin-bottom: 0.7em;
  font-weight: 700;
}

.quote-subtitle {
  font-size: 1.13em;
  color: #222;
  margin-bottom: 2.3em;
  font-weight: 400;
}

.quote-desc {
  font-size: 1em;
  color: #777;
  margin-bottom: 2em;
  line-height: 1.5;
}

.quote-form {
  width: 100%;
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.quote-form-row {
  display: flex;
  gap: 1.5em;
  justify-content: center;
  align-items: flex-start;
  margin-bottom: 1.5em;
}

.quote-form-col {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.quote-form input,
.quote-form textarea {
  width: 100%;
  padding: 0.9em 1em;
  border: 1px solid #d0d0d0;
  border-radius: 5px;
  font-size: 1em;
  background: #f5f5f5;
  transition: border-color 0.2s;
}

.quote-form input:focus,
.quote-form textarea:focus {
  border-color: #69aa44;
  outline: none;
  background: #fff;
}

.quote-form textarea {
  min-height: 60px;
  resize: vertical;
  font-family: inherit;
}

.quote-form button {
  width: 100%;
  margin-top: 0.5em;
  font-size: 1.1em;
  cursor: pointer;
  border: 1px solid #40792d;
}

@media (max-width: 900px) {
  .quote-form {
    align-items: center;
    justify-content: center;
    width: 50%;
  }
  .quote-form-row {
    width: 100%;
  }
  .quote-form-col {
    width: 100%;
  }
}

@media (max-width: 400px) {
  .quote-form {
    margin: 0;
    width: 100%;
  }

  .quote-form-row {
    align-items: center;
  }

  .quote-form-col {
    width: 100%;
  }
}

@media (max-width: 340px) {
  .nav-container .btn-quote {
    display: none;
  }
}

/* QUOTE PAGE STYLES END HERE */

/* .legal-page {
  background: #fafafa;
  min-height: 100vh;
  padding: 0;
} */

.legal-content {
  max-width: 900px;
  margin: 0 auto 3em auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
  padding: 2.5em 2em 2em 2em;
  text-align: left;
}

.legal-content h1 {
  font-size: 2em;
  margin-bottom: 1.2em;
  font-weight: 700;
}

.legal-content p,
.legal-content li {
  font-size: 1.13em;
  color: #222;
  line-height: 1.7;
}

.legal-content a {
  color: #222;
  text-decoration: underline;
}

.legal-content ol {
  margin-left: 1.2em;
  margin-bottom: 1.6em;
}
.legal-content ol li {
  margin-bottom: 1.1em;
}
.legal-content ol[type="a"] {
  margin-left: 1.6em;
}
.legal-content strong {
  font-weight: 700;
  color: #1a1a1a;
}

/* --- FAQ PAGE --- */
.faq-section {
  max-width: 900px;
  margin: 0 auto 0 auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
  padding: 2.5em 2em 2em 2em;
  text-align: left;
}
.faq-section h1 {
  font-size: 1.6em;
  text-align: left;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 2em;
}
.faq-search-bar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 2em;
}
.faq-search-bar input {
  width: 300px;
  max-width: 100%;
  font-size: 1em;
  padding: 0.7em 1em;
  border-radius: 4px;
  border: 1px solid #d0d0d0;
  background: #f9f9f9;
  transition: border 0.2s;
}
.faq-search-bar input:focus {
  outline: none;
  border: 1.5px solid #69aa44;
  background: #fff;
}
.faq-accordion {
  width: 100%;
}
.faq-item {
  border-bottom: 1px solid #e8e8e8;
  background: #fff;
  transition: background 0.15s;
}
.faq-item.highlight {
  background: #69aa44;
}
.faq-item.highlight .faq-question,
.faq-item.highlight .faq-icon svg path {
  color: #fff !important;
  fill: #fff !important;
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.3em 1.7em 1.3em 0.7em;
  font-size: 1.1em;
  font-weight: 500;
  color: #222;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.7em;
  transition: background 0.18s;
  position: relative;
}
.faq-question:focus {
  outline: 2px solid #69aa44;
}
.faq-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.faq-answer {
  font-size: 1em;
  color: #444;
  background: #f6f6f6;
  padding: 1.1em 2em 1.1em 2.7em;
  display: none;
  animation: faqFadeIn 0.2s;
}
@keyframes faqFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.faq-item.open .faq-answer {
  display: block;
}
.faq-item.open .faq-icon svg {
  transform: rotate(90deg);
}
.faq-item.highlight .faq-question {
  color: #fff !important;
}

/* Blog Styles */
.blog-page {
  background: #fafafa;
  min-height: 100vh;
}

.blog-container {
  display: flex;
  gap: 2.5em;
  max-width: 1200px;
  margin: 0 auto 3em auto;
  padding: 0 1em;
}

.blog-main {
  flex: 2;
  min-width: 0;
}

.blog-main h1 {
  font-size: 2em;
  margin-bottom: 1.3em;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.blog-post {
  display: flex;
  flex-direction: column;
  background: #fff;
  margin-bottom: 2.2em;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.07);
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  display: block;
  border-radius: 12px 12px 0 0;
  object-fit: cover;
  max-height: 350px;
  padding: 10px;
}

.blog-content {
  padding: 2em 2em 1.3em 1rem;
}

.blog-content h2 {
  font-size: 1.32em;
  margin: 0 0 0.8em 0;
}

.blog-content h2 a {
  color: #222;
  text-decoration: none;
  transition: color 0.18s;
}

.blog-content h2 a:hover {
  color: #69aa44;
}

.blog-meta {
  font-size: 0.95em;
  color: #222;
  margin-bottom: 0.9em;
}

.blog-cat {
  background: #eef7e6;
  color: #222;
  border-radius: 2px;
  padding: 0 6px;
  margin-right: 0.35em;
  font-size: 0.92em;
}

.blog-read-more {
  margin-top: 1.2em;
  font-size: 1em;
  padding: 0.7em 2em;
  display: inline-block;
  white-space: normal !important;
  text-align: center;
  width: 100%;
}

.blog-pagination {
  text-align: center;
  margin: 2.2em 0 0 0;
}

.blog-pagination a {
  display: inline-block;
  margin: 0 0.25em;
  color: #222;
  background: #fff;
  border: 1px solid #69aa44;
  border-radius: 3px;
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.16s, color 0.16s;
}

.blog-pagination a.active,
.blog-pagination a:hover {
  background: #69aa44;
  color: #222;
}

/* Sidebar */
.blog-sidebar {
  flex: 1;
  min-width: 260px;
  max-width: 350px;
  background: none;
  display: flex;
  flex-direction: column;
  gap: 2em;
}

.sidebar-block {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
  padding: 1.3em 1.5em 1.3em 1.5em;
  margin-bottom: 1em;
  border: 1px solid #eaeaea;
  transition: box-shadow 0.25s ease;
}

.sidebar-block:hover {
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.blog-search {
  width: 100%;
  padding: 0.7em 1em;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  font-size: 1em;
  background: #f9f9f9;
}

.sidebar-block h3 {
  margin-bottom: 0.9em;
  font-size: 1.15em;
  font-weight: 600;
  color: #1a1a1a;
  letter-spacing: 0.3px;
  position: relative;
}

.sidebar-block h3::after {
  content: "";
  display: block;
  width: 30px;
  height: 3px;
  background: #69aa44;
  margin-top: 0.4em;
  border-radius: 2px;
}

.sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-list li {
  font-size: 1em;
  margin-bottom: 0.7em;
  color: #222;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s;
}

.sidebar-list li a {
  text-decoration: none !important;
  color: #222;
}

.sidebar-list li:hover {
  background: #f6fef3;
  border-radius: 6px;
  padding-left: 6px;
}

.sidebar-count {
  background: #eef7e6;
  color: #222;
  border-radius: 2px;
  font-size: 0.93em;
  padding: 0 7px;
}

.sidebar-latest {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-latest li {
  margin-bottom: 1em;
  transition: all 0.2s;
}

.sidebar-latest li:hover {
  background: #f6fef3;
  border-radius: 6px;
}

.sidebar-latest a {
  font-size: 1em;
  color: #232323;
  text-decoration: none;
  transition: color 0.16s;
}

.sidebar-latest a:hover {
  color: #69aa44;
}

.sidebar-date {
  font-size: 0.85em;
  color: #777;
  margin-top: 0.3em;
  display: block;
}

.sidebar-tags {
  margin-top: 0.5em;
}

.sidebar-tag {
  display: inline-block;
  background: #f1f1f1;
  color: #222;
  border-radius: 3px;
  padding: 0.18em 0.9em;
  font-size: 0.95em;
  margin: 0 0.13em 0.5em 0;
  cursor: pointer;
  font-weight: 500;
  border: 1px solid transparent;
  transition: background 0.14s, color 0.14s, border 0.14s;
}

.sidebar-tag:hover {
  background: #69aa44;
  color: #fff;
  border-color: #5d9b3c;
}

/* Project Gallery Main Styles */
.gallery-section {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto 3em auto;
  text-align: center;
}
.gallery-title {
  margin: 1em 0 2em 0;
  font-size: 2em;
  font-weight: 700;
  letter-spacing: 1.5px;
}
.gallery-filter {
  margin-bottom: 2em;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1em;
}
.gallery-filter-btn {
  background: #fff;
  color: #222;
  border: 1px solid #ddd;
  padding: 0.5em 1.3em;
  border-radius: 4px;
  font-size: 1em;
  cursor: pointer;
  transition: all 0.2s;
}
.gallery-filter-btn.active,
.gallery-filter-btn:hover {
  background: #69aa44;
  color: #222;
  border-color: #69aa44;
}

.gallery__actions {
  width: 828px;
}

/* --- Overlay Text --- */
.gallery-title {
  font-size: 1.13em;
  font-weight: 600;
  margin: 0em;
  background: transparent;
}
.gallery-cat {
  font-size: 0.97em;
  color: #69aa44;
  font-weight: 700;
}

/* --- Cube Portfolio + Custom Gallery Styles --- */

/* Filter Bar */

#project-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1em;
  margin-bottom: 2em;
}
.cbp-filter-item {
  background: #fff;
  color: #222;
  border: 1px solid #ddd;
  padding: 0.5em 1.3em;
  border-radius: 4px;
  font-size: 1em;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 500;
  letter-spacing: 0.04em;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  user-select: none;
}
.cbp-filter-item.active,
.cbp-filter-item:hover {
  background: #69aa44;
  color: #222;
  border-color: #69aa44;
}

/* Grid itself */
.cbp {
  margin: 0 auto;
  width: 100%;
  max-width: 1400px;
  min-height: 500px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-start;
  align-items: stretch;
}

.cbp-wrapper-outer,
.cbp-wrapper {
  width: 1200px !important;
}

.cbp-lightbox {
  width: 400px !important;
}

.cbp-wrapper img {
  max-width: 400px !important;
}

.cbp-item {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  position: relative;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  flex: 1 1 320px;
  min-width: 320px;
  max-width: 1fr;
  min-height: 240px;
  opacity: 1;
  transform: scale(1);
  display: flex;
}
.cbp-item.removing,
.cbp-item.cbp-item-off {
  opacity: 0 !important;
  pointer-events: none;
  transform: scale(0.85);
}
.cbp-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: filter 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Overlay that appears on hover */
.cbp-item figure {
  margin: 0;
  position: relative;
  width: 100%;
  height: 100%;
}
.cbp-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.93);
  color: #222;
  padding: 1.2em 1em 0.7em 1em;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(30px);
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}
.cbp-item:hover figcaption,
.cbp-item:focus-within figcaption {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cbp-item:hover img,
.cbp-item:focus-within img {
  filter: brightness(0.8) blur(0.5px);
}
.cbp-item figcaption h2 {
  font-size: 1.1em !important;
  font-weight: 700;
  margin: 0 0 0.3em 0;
  color: #222;
  background: transparent;
}
.cbp-item figcaption p {
  font-size: 0.97em;
  color: #69aa44;
  font-weight: 600;
  margin: 0;
}

.project-zoom {
  position: absolute;
  top: 1em;
  right: 1em;
  background: #fff;
  color: #000;
  border-radius: 50%;
  font-size: 1.3em;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s;
  z-index: 10;
}
.project-zoom:hover {
  opacity: 1;
  background: #69aa44;
  color: #000;
}

/* --- ABOUT PAGE --- */

.about-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 5em auto;
}

.about-intro h2 {
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 0.4em;
  letter-spacing: 1px;
}
.about-intro h2 span {
  color: #222;
}

.about-intro .lead {
  color: #222;
  font-size: 1.13em;
  margin-bottom: 0;
  font-weight: 400;
}

/* Flex layout for about-intro section */
.about-intro-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2em;
  max-width: 1200px;
  margin: 0 auto 5em auto;
  text-align: left;
  flex-wrap: wrap;
  padding: 0 1.5em;
}

.about-intro-text {
  flex: 1 1 50%;
}

.about-intro-image {
  flex: 1 1 45%;
  display: flex;
  justify-content: center;
  padding: 1rem 0 1rem 1rem;
}

.about-intro-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.about-features {
  margin: 2em 0 2.7em 0;
  display: flex;
  justify-content: space-around;
}

.about-features-grid {
  display: flex;
  background-image: url(../images/abel-patios-dotted-banner.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  gap: 1em;
  padding-left: 1rem;
  padding-right: 1rem;
  max-width: 1200px;
  width: 100%;
  margin: 2.5rem auto;
}

.feature-box {
  padding: 2em 0;
  box-shadow: 0 2px 8px rgba(105, 170, 68, 0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  border: 1px solid rgba(105, 170, 68, 0.14);
  transform: translateY(0);
  transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 260ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 200ms ease,
    background-color 200ms ease;
  will-change: transform, box-shadow;
}

.feature-box:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 12px 28px rgba(105, 170, 68, 0.18),
    0 4px 10px rgba(0, 0, 0, 0.04);
}

.feature-box p {
  padding: 0 20px;
}

@media (prefers-reduced-motion: reduce) {
  .feature-box {
    transition: box-shadow 200ms ease, border-color 200ms ease,
      background-color 200ms ease;
  }
  .feature-box:hover {
    transform: none;
  }
}

.plain-background {
  background-color: #fff;
  padding: 10px;
  border-radius: 20px;
}

.plain-background h2 {
  font-size: 1.2rem !important;
  padding-bottom: 1.2rem;
}

.feature-icon img {
  height: 46px;
  margin-bottom: 1.2em;
}

.feature-box h3 {
  color: #222;
  font-size: 1.13em;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 0.7em;
}

.feature-box p {
  color: #222;
  font-size: 1em;
  line-height: 1.7;
}

/* Unparalleled Craftsmanship */
.about-craft {
  text-align: center;
  margin: 3.5em 0 2em 0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.about-craft h2 {
  font-size: 1.4em;
  font-weight: 700;
  letter-spacing: 1.2px;
  margin-bottom: 0.7em;
  color: #222;
}

.about-why-services {
  margin: 4em 0 3em 0;
}

.why-services-container {
  display: flex;
  background-image: url("/assets/images/section-background1.png");
  gap: 2.5em;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
}

.why-choose-box {
  background: #fff;
  border: 1.5px solid #e2e2e2;
  border-radius: 12px;
  padding: 2em 1.3em 1.8em 1.6em;
  max-width: 340px;
  min-width: 240px;
  flex: 1;
  align-self: flex-start;
  box-shadow: 0 2px 12px 0 rgba(50, 50, 50, 0.08);
  transition: box-shadow 0.23s, border-color 0.23s;
}
.why-choose-box:hover {
  box-shadow: 0 8px 30px 0 rgba(40, 40, 40, 0.17);
  border-color: #b5e2c2;
}
.why-choose-box h3 {
  font-size: 1.18em;
  font-weight: 700;
  color: #222;
  margin-bottom: 0.8em;
  letter-spacing: 1px;
}
.why-choose-box h3 span {
  color: #222;
}
.why-choose-box .see-all-link {
  display: inline-block;
  color: #222;
  margin-top: 1.2em;
  font-size: 1em;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.16s;
}
.why-choose-box .see-all-link:hover {
  color: #40792d;
  text-decoration: underline;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2em;
  flex: 2;
  align-items: stretch;
}

.service-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 16px rgba(44, 44, 44, 0.09);
  padding: 1.3em 1.1em 1.4em 1.1em;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.service-card:hover,
.service-card:focus-within {
  transform: translateY(-7px) scale(1.027);
  box-shadow: 0 14px 38px 0 rgba(33, 33, 33, 0.18),
    0 1.5px 7px rgba(80, 80, 80, 0.09);
  z-index: 1;
}

.service-card img {
  width: 100%;
  border-radius: 7px;
  margin-bottom: 1.1em;
  height: 300px;
  object-fit: cover;
  box-shadow: 0 1.5px 6px rgba(50, 50, 50, 0.08);
  transition: filter 0.14s, box-shadow 0.22s;
}
.service-card:hover img {
  filter: brightness(0.97) contrast(1.04);
  box-shadow: 0 6px 18px rgba(50, 50, 50, 0.13);
}
.service-card h4 {
  margin: 0 0 0.3em 0;
  font-size: 1.22em;
  color: #222;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.service-card p {
  font-size: 1em;
  color: #222;
  margin-bottom: 1em;
}
.service-card .read-more-link {
  color: #222;
  font-weight: 700;
  font-size: 1em;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.15s;
}
.service-card .read-more-link:hover {
  color: #40792d;
  text-decoration: underline;
}

/* Testimonials */
.about-testimonials {
  background: #fff;
  padding: 3em 1em;
  width: 100%;
  box-sizing: border-box;
  max-width: 100%;
}

.wide-section-content .about-testimonials {
  width: 100%;
  max-width: 100%;
}

.about-testimonials h2 {
  font-size: clamp(1.25em, 5vw, 1.75em);
  font-weight: 700;
  margin-bottom: 1em;
  color: #222;
  text-align: center;
  padding: 50px 10px 0;
}

.about-testimonials .testimonial-lead {
  text-align: center;
  color: #222;
  font-size: clamp(0.95em, 3vw, 1.05em);
  margin-bottom: 2em;
  padding: 0 1em;
}

.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5em;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 1em;
  box-sizing: border-box;
  justify-content: center;
}

.testimonial-card {
  background: #f9f9f9;
  border-radius: 7px;
  padding: clamp(1.2em, 4vw, 1.6em);
  box-shadow: 0 2px 8px rgba(60, 60, 60, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1 1 min(280px, calc(100% - 2em));
  max-width: calc(100% - 2em);
  height: 100%;
  max-height: 500px;
  overflow: hidden;
  position: relative;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  will-change: transform, box-shadow;
}

.testimonial-card:hover,
.testimonial-card:focus-within {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.13),
    0 2px 8px rgba(105, 170, 68, 0.09);
  filter: brightness(1.07);
  z-index: 1;
}

.testimonial-quote {
  color: #69aa44;
  font-size: clamp(1.5em, 5vw, 1.8em);
  margin-bottom: 0.5em;
}

.testimonial-card p {
  font-size: clamp(0.9em, 2.5vw, 1em);
  color: #333;
  line-height: 1.5;
  margin-bottom: 1.5em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
}

.testimonial-name {
  font-weight: 700;
  color: #666;
  margin-top: auto;
  font-size: clamp(0.85em, 2.5vw, 0.95em);
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  .testimonial-grid {
    flex-direction: column;
    gap: 1em;
    padding: 0;
  }

  .testimonial-card {
    max-height: none;
    padding: 1.4em;
    flex: 1 1 100%;
    max-width: 100%;
  }

  .testimonial-card p {
    -webkit-line-clamp: 8;
  }

  .about-features-grid {
    display: flex;
    flex-direction: column;
  }

  .about-features {
    margin: 0;
  }
}

@media (max-width: 480px) {
  .about-testimonials {
    padding: 0;
  }

  .testimonial-grid {
    padding: 10px;
  }

  .testimonial-card {
    padding: 1.2em;
  }

  .testimonial-quote {
    font-size: clamp(1.3em, 4vw, 1.5em);
  }

  .testimonial-card p {
    font-size: clamp(0.85em, 2.5vw, 0.95em);
    -webkit-line-clamp: 10;
  }

  .testimonial-name {
    font-size: clamp(0.8em, 2.5vw, 0.9em);
  }
}

/* CTA Section */
.about-cta-section {
  background: linear-gradient(90deg, #69aa44, #4a7730, #2a441b);
  color: #222;
  padding: 2.5em 0;
  text-align: center;
}
.about-cta-content {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2em;
}
.about-cta-content h3 {
  flex: 1 1 300px;
  font-size: 1.5em;
  font-weight: 700;
  margin: 0;
}
.cta-btn {
  background: #fff;
  color: #222;
  border-radius: 4px;
  padding: 0.7em 2.1em;
  font-size: 1.05em;
  font-weight: 700;
  text-decoration: none;
  border: none;
  margin: 0 0.7em;
  transition: background 0.2s, color 0.2s;
  display: inline-block;
}
.cta-btn.secondary {
  background: #40792d;
  color: #fff;
  border: 2px solid #fff;
}
.cta-btn:hover {
  background: #69aa44;
  color: #fff;
}
.cta-or {
  font-size: 1.17em;
  font-weight: 600;
  color: #fff;
  margin: 0 1em;
}

/* Responsive */
@media (max-width: 1000px) {
  .why-services-container {
    flex-direction: column;
    gap: 2.5em;
  }
  .why-choose-box {
    max-width: 100%;
  }
}
@media (max-width: 700px) {
  .services-grid,
  .testimonial-grid,
  .about-cta-content {
    flex-direction: column !important;
    gap: 1.1em !important;
  }
  .about-cta-content {
    gap: 1em;
  }
}

/* Blinds/Services Shared Styles */
.service-hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 420px;
  padding: 2.5em 0 2.5em 0;
  background: #fff;
}

.service-hero-inner {
  display: flex;
  flex-direction: column;
  gap: 1em;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 18px rgba(34, 34, 34, 0.07);
  padding: 2em 2.5em 2em 2.2em;
  max-width: 1050px;
  width: 100%;
  align-items: center;
  margin-bottom: 30px;
}

.service-hero-inner p {
  font-size: 1.1em;
  color: #333;
  margin-bottom: 1.2em;
  line-height: 1.65;
}

.service-top-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.service-top-columns {
  display: flex;
  gap: 30px;
}

.service-image img {
  border-radius: 9px;
  width: 320px;
  max-width: 100%;
  object-fit: cover;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.05);
}

.service-content {
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.service-top-container h2 {
  font-size: 1.5em;
  color: #222;
  font-weight: 700;
  margin-bottom: 0.7em;
}

.service-top-container p {
  font-size: 1.1em;
  color: #333;
  margin-bottom: 1.2em;
  line-height: 1.65;
}

.service-content ul {
  margin-bottom: 1.1em;
  padding-left: 1.2em;
  color: #444;
  font-size: 1.03em;
}

.service-content ul li {
  margin-bottom: 0.45em;
  list-style: disc;
}

.service-content .btn-primary {
  background: #69aa44;
  color: #222;
  font-weight: 700;
  border: none;
  border-radius: 4px;
  padding: 0.7em 1.7em;
  font-size: 1em;
  text-decoration: none;
  transition: background 0.2s;
  margin-top: 1em;
}

.service-content .btn-primary:hover {
  background: #569236;
}

@media (max-width: 900px) {
  .service-hero-inner {
    flex-direction: column;
    gap: 1.8em;
    padding: 1.5em 1em;
    align-items: stretch;
  }

  .service-top-columns {
    flex-direction: column;
  }

  .service-image {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .service-image img {
    width: 50%;
    height: auto;
    object-fit: contain;
  }
}

.landing-page {
  background: #fff;
  padding: 0;
  margin: 0;
}

.hero-section {
  width: 100%;
  aspect-ratio: 2.4 / 1;
  max-height: 800px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 5%;
  z-index: 1;
  pointer-events: none;
  user-select: none;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  background-color: rgba(255, 255, 255, 0.7);
  color: #000; /* ensure dark text */
  text-align: center;
  padding: 2em 1em;
  width: 50%;
  z-index: 3;
  position: relative;
  margin-top: 15%;
  text-shadow: none;
}

.hero-content h1 {
  font-size: 2.4em;
  font-weight: 800;
  letter-spacing: 1.5px;
  margin: 0 0 0.4em 0;
}

.hero-content h2 {
  font-size: 1.2em;
  font-weight: 400;
  margin: 1em 0 2em 0;
  letter-spacing: 1.1px;
  line-height: 1.35;
}

.hero-buttons {
  display: flex;
  gap: 1.2em;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 1500px) {
  .hero-section h1 {
    font-size: 2.5em;
  }

  .hero-section {
    font-size: 0.8em;
  }
}

@media (max-width: 1200px) {
  .hero-section h2 {
    font-size: 1.7em !important;
  }
}

@media (max-width: 900px) {
  .hero-section {
    min-height: 220px;
  }
  .hero-section h2 {
    font-size: 1.5em !important;
  }
}

/* --- TABLET --- */
@media (max-width: 768px) {
  .hero-content {
    width: 82%;
    margin: 0;
    margin-top: 18%;
  }

  .hero-content h1 {
    color: #000;
    font-size: 2em !important;
    letter-spacing: 0.04em;
    margin: 0 0 8px 0;
  }

  .hero-content h2 {
    color: #000;
    font-size: 0.8em;
    margin: 8px 0 14px 0;
    line-height: 1.35;
  }

  /* .hero-buttons .btn-primary {
    display: none;
  } */

  .hero-buttons .btn-secondary {
    border: 1px solid #4f8033;
  }
}

@media (max-width: 600px) {
  .hero-section {
    min-height: 50vh !important;
    aspect-ratio: auto;
  }

  .hero-img {
    object-position: center 8%;
    transform: scale(1.12);
    transform-origin: center 10%;
  }

  .hero-content {
    padding: 12px 10px;
    width: 92%;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    margin-top: 23%;
  }

  .hero-content h1 {
    color: #000;
    font-size: 2em !important;
    letter-spacing: 0.04em;
    margin: 0 0 8px 0;
  }

  .hero-content h2 {
    color: #000;
    font-size: 1.5em !important;
    margin: 8px 0 14px 0;
    line-height: 1.35;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  /* .hero-buttons .btn-primary {
    display: none;
  } */
}

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  border-radius: 4px;
  padding: 0.7em 1.7em;
  font-size: 1em;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.16s, color 0.16s;
  border: none;
  box-sizing: border-box;
  /* always! */
}

/* WHY CHOOSE */
.why-choose {
  background: #fff;
  max-width: 1300px;
  margin: 0 auto;
  padding: 3em 1em 2em 1em;
  text-align: center;
  min-height: 340px;
}

.why-choose h2 {
  color: #222;
  font-weight: 700;
  margin-bottom: 0.6em;
}

.why-lead {
  color: #666;
  font-size: 1.08em;
  max-width: 700px;
  margin: 0 auto 2.5em auto;
}

.why-cards {
  display: flex;
  gap: 2em;
  justify-content: center;
  flex-wrap: wrap;
  min-width: 700px;
  /* Ensures layout doesn't collapse before flex loads */
}

@media (max-width: 800px) {
  .why-cards {
    min-width: 0;
  }

  .why-card {
    min-height: unset;
  }
}

.why-card {
  background: #f7f7f7;
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(34, 34, 34, 0.09);
  flex: 1 1 260px;
  min-width: 220px;
  min-height: 310px;
  padding: 2em 1.3em;
  margin-bottom: 1em;
  transition: box-shadow 0.18s, transform 0.16s;
}

.why-card:hover {
  box-shadow: 0 4px 24px rgba(105, 170, 68, 0.13);
  transform: scale(1.035);
}

.why-icon {
  color: #69aa44;
  font-size: 2.3em;
  margin-bottom: 0.7em;
  line-height: 1em;
  width: 1.3em;
  height: 1.3em;
  display: inline-block;
  vertical-align: middle;
  text-align: center;
}

.why-card h4 {
  color: #222;
  font-size: 1.07em;
  font-weight: 700;
  margin-bottom: 0.5em;
}

/* ABOUT SECTION */
.about-section {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5em 0 1.8em 0;
  text-align: left;
}

@media (max-width: 900px) {
  .about-section {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
  }

  .about-section-text p {
    padding-bottom: 2rem !important;
    text-align: center !important;
  }

  .experience-container {
    display: flex;
    flex-direction: column;
  }

  .about-section-image {
    width: 50%;
  }
}

@media (max-width: 600px) {
  .about-section-text {
    padding: 20px !important;
  }

  .about-section h2 {
    padding: 0 !important;
  }

  .about-section p {
    padding: 0px !important;
  }
}

.about-section-text {
  background-image: url("/assets/images/section-background2.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 0;
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 500px;
}

.about-section img {
  width: 500px;
  height: 500px;
  border-radius: 10px;
}

.about-section-image {
  width: 500px;
  height: 500px;
}

.about-section h2 {
  color: #000;
  font-size: 1.13em;
  font-weight: 700;
  margin-bottom: 0.7em;
  padding: 0 2rem 0 0;
  text-align: center;
}

.about-section p {
  color: #333;
  font-size: 1.09em;
  line-height: 1.65;
  padding: 0 2rem 0 2rem;
}

/* CTA WIDE */
.cta-wide {
  background: linear-gradient(90deg, #69aa44, #4a7730, #2a441b);
  color: #fff;
  text-align: left;
  font-weight: 700;
  padding: 2em 1em 2em 1em;
  margin: 2.5em 0;
}

.cta-wide-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.8em;
}

.cta-wide-content h2 {
  font-size: 2em;
  font-weight: 700;
  margin: 0;
  max-width: 50%;
}

/* FEATURED IMG + WHY BOX */
.featured-image-why {
  max-width: 1200px;
  margin: 2em auto;
  display: flex;
  gap: 2em;
  align-items: stretch;
  flex-wrap: wrap;
}

.featured-image-why h3 {
  text-align: center !important;
  width: 100%;
}

.featured-image-why-content {
  display: flex;
}

.before-after-slider-heading {
  padding-bottom: 1.2rem;
}

.featured-image-left,
.featured-why-box {
  min-width: 280px;
  max-width: 540px;
  flex: 1 1 340px;
  box-sizing: border-box;
}

.featured-image-left {
  aspect-ratio: 16/10;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

.featured-image-left img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
  min-height: 200px;
  display: block;
}

.featured-why-box {
  background: #f7f7f7;
  border-radius: 10px;
  box-shadow: 0 1px 8px rgba(105, 170, 68, 0.05);
  padding: 2.2em 1.7em 1.4em 1.7em;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-why-box h3 {
  font-size: 1.14em;
  color: #222;
  margin-bottom: 0.8em;
  font-weight: 700;
}

.featured-why-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.featured-why-box li {
  margin-bottom: 1.1em;
  font-size: 1em;
  color: #444;
  display: flex;
  align-items: center;
  gap: 0.8em;
}

.featured-why-box li i {
  color: #69aa44;
  font-size: 1.15em;
}

@media (max-width: 1100px) {
  .featured-image-why {
    flex-direction: column;
    gap: 1.5em;
  }

  .featured-image-left,
  .featured-why-box {
    max-width: 100%;
  }

  .featured-image-left {
    aspect-ratio: 16/12;
  }
}

@media (max-width: 768px) {
  .cta-wide-content {
    justify-content: center;
  }
  .cta-wide-content h2 {
    text-align: center;
    font-size: 1.2rem !important;
    max-width: 100%;
  }
  .cta-wide-content .btn-secondary {
    width: 100%;
  }
  .featured-image-why-content {
    flex-direction: column;
    padding: 10px;
  }
  .before-after-slider-wrapper {
    padding: 10px !important;
  }
}

/* home page patio ranges section */
.patio-ranges-section > h2 {
  text-align: center;
  margin: 30px 0;
}

/* Utility */
.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}

/* Desktop submenu */
.has-submenu {
  position: relative;
}

.submenu {
  position: absolute;
  top: 100%; /* changed from calc(100% + 0.2em) */
  left: 0;
  min-width: 200px;
  background: #fff;
  border-radius: 8px;
  border-left: 4px solid #69aa44;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  padding: 0.5em 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s, transform 0.2s;
  z-index: 1001;
}

.has-submenu:hover > .submenu,
.has-submenu:focus-within > .submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Mobile-specific */
@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: block;
  }

  body.no-scroll .nav-toggle {
    display: none; /* or use visibility:hidden if you want to keep its space */
  }

  /* Hamburger */
  .nav-toggle {
    position: absolute;
    top: 0.75em;
    right: 1em;
    background: none;
    border: none;
    font-size: 1.8em;
    cursor: pointer;
    z-index: 210;
    color: #000;
  }

  /* Mobile dropdown container */
  .mobile-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    box-sizing: border-box;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 200;
    display: none;
  }

  .mobile-dropdown.nav-open {
    display: block;
  }

  /* Main-nav vertical */
  .mobile-dropdown .main-nav {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .mobile-dropdown li {
    border-bottom: 1px solid #ececec;
    list-style: none;
  }

  .menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8em 1em;
  }

  .menu-item a {
    color: #000;
    text-decoration: none;
    font-size: 1.1em;
    flex: 1;
  }

  /* Chevron */
  .chevron {
    font-size: 1.2em;
    transition: transform 0.3s;
    padding: 0.5em;
  }

  .has-submenu.active > .menu-item .chevron {
    transform: rotate(180deg);
  }

  /* Submenu accordion */
  .submenu {
    max-height: 300px;
    overflow-y: auto;
    transition: max-height 0.3s ease;
    padding-left: 1.5em;
    background: #f9f9f9;
    margin: 0;
  }

  .has-submenu.active > .submenu {
    max-height: 300px;
  }

  .submenu li a {
    display: block;
    padding: 0.6em 1em;
    font-size: 1em;
    color: #333;
  }

  /* Buttons below */
  .mobile-dropdown .nav-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.8em;
    padding: 0 1em;
    margin-top: 0.5em;
  }
}

/* ──────────────────────────────────────────────── */
/* 1. Prevent wrapping and position arrow for desktop */
.main-nav > li.has-submenu > a {
  white-space: nowrap;
  /* never wrap text+arrow */
  position: relative;
  /* for pseudo-element positioning if you want */
}

/* 2. Insert the arrow */
.main-nav > li.has-submenu > a::after {
  content: "▼";
  /* the arrow */
  display: inline-block;
  margin-left: 0.25em;
  /* space between text and arrow */
  font-size: 0.6em;
  /* scale the arrow down if you like */
  vertical-align: middle;
  /* align with text */
  transition: transform 0.2s ease;
  /* smooth rotation */
  pointer-events: none;
  /* so clicks go to the link */
}

/* 3. Rotate it when the submenu is open (on hover/focus) */
.has-submenu:hover > a::after,
.has-submenu:focus-within > a::after {
  transform: rotate(180deg);
}

/* ──────────────────────────────────────────────── */

.accordion-showcase {
  padding: 2rem 1rem;
  text-align: center;
  position: relative;
}

.accordion-showcase h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #000000;
}

.accordion-content {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2rem;
}

.accordion-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.accordion-item {
  background: #f5f5f5;
  transition: all 0.3s ease;
}

.accordion-item summary {
  padding: 1rem 2.5rem 1rem 1rem; /* Increased right padding to accommodate indicator */
  font-weight: bold;
  color: #1c1c1c;
  cursor: pointer;
  list-style: none;
  background: #fff;
  color: #000;
  border: 1px solid #69aa44;
  transition: background 0.3s ease, transform 0.3s ease;
  position: relative;
  min-height: 20px; /* Ensure minimum height to prevent clipping */
  line-height: 1.2; /* Adjust line height to align text */
}

.accordion-item summary::after {
  content: "+";
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
  width: 20px;
  background: #69aa44;
  color: white;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: transform 0.3s ease, content 0.3s ease, background 0.3s ease;
  padding: 0 0 3px 0;
}

.accordion-item summary::-webkit-details-marker {
  display: none;
}

.accordion-item summary:hover,
.accordion-item summary:focus {
  background: #66a342;
  transform: translateY(-2px);
}

.accordion-item summary:hover::after,
.accordion-item summary:focus::after {
  background: #4a7730;
}

.accordion-item[open] summary {
  background: #4f8033;
  color: #fff;
}

.accordion-item[open] summary::after {
  content: "-";
  transform: translateY(-50%) scale(1.1);
}

.accordion-item p {
  padding: 1rem;
  background: white;
  color: #1c1c1c;
  font-size: 0.95rem;
  line-height: 1.5;
  /* max-height: 0;
  transition: max-height 0.5s ease-in-out, padding 0.5s ease-in-out; */
}

.accordion-item[open] p {
  padding: 1rem;
}

@media (max-width: 768px) {
  .accordion-content {
    flex-direction: column;
    align-items: center;
  }

  .accordion-image-left img {
    max-width: 100%;
  }

  .accordion-item p {
    font-size: 0.9rem;
  }
}

.experience-section {
  padding: 0 0 3rem 0;
  overflow: hidden;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.experience-section h2 {
  font-size: 2.5rem;
  color: #000000;
  margin-bottom: 3rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.experience-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  max-width: 1200px;
}

.experience-cards {
  max-width: 1200px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  z-index: 1;
  padding-bottom: 1rem;
}

.experience-card {
  width: 230px;
  min-height: 180px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid #69aa44;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0.8rem;
  transition: transform 0.6s ease, box-shadow 0.6s ease;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}

.card-icon {
  font-size: 1.5rem;
  color: #69aa44;
  margin-bottom: 1rem;
}

.experience-card h3 {
  font-size: 1rem;
  color: #222;
  margin-bottom: 1rem;
  text-transform: uppercase;
  overflow: hidden;
  max-width: 100%;
}

.experience-card p {
  font-size: 0.75rem;
  color: #1c1c1c;
  text-align: center;
  line-height: 1.3;
  overflow: hidden;
}

.experience-card:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(105, 170, 68, 0.2);
  z-index: 2;
}

.experience-card:hover .card-icon,
.experience-card:hover h3 {
  color: #6e6e6e;
  cursor: default;
}

.experience-cta {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.8rem 2rem;
  background: #69aa44;
  color: #222;
  text-decoration: none;
  border-radius: 25px;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.3s ease;
  position: relative;
  z-index: 2;
}

.experience-cta:hover {
  background: #4a7730;
  transform: scale(1.05);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 0.3;
  }
}

/* ==========================================================================
   AUTO-SCROLLING GALLERY (WITH SIDEBAR SUPPORT)
   ========================================================================== */

.custom-gallery {
  display: flex;
  gap: 1rem;
  overflow-x: scroll;
  scroll-behavior: auto;
  width: 100%;
  padding: 1rem 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}

.custom-gallery.dragging {
  cursor: grabbing;
}

.custom-gallery::-webkit-scrollbar {
  display: none;
}

.custom-gallery__actions {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 1rem;
  margin: 1rem 0 3rem 0;
}

.custom-gallery__actions a {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;

  background: #69aa44;
  color: #fff;
  border: 2px solid #69aa44;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.5s ease;
  text-decoration: none;
}

.custom-gallery__actions a:hover {
  background: #fff;
  color: #1c1c1c;
}

.custom-gallery img {
  flex: 0 0 auto;
  width: 100%;
  max-width: 350px;
  height: 220px;
  object-fit: cover;
  border-radius: 6px;
  transition: transform 0.3s ease;
  user-select: none;
  pointer-events: none;
}

.gallery img:hover {
  transform: scale(1.03);
}

/* ==========================================================================
   LIGHTBOX STYLES
   ========================================================================== */

.gallery-lightbox {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.gallery-lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 3rem;
  color: white;
  cursor: pointer;
  z-index: 10000;
}

/* Sidebar */
.designs-sidebar {
  background: #f5f5f5;
  padding: 1rem;
  border-radius: 4px;
  width: 250px;
  margin: 0 !important;
}

.designs-sidebar h2 {
  margin-bottom: 1rem;
  font-size: 1.75rem !important;
}

.designs-sidebar ul {
  list-style: none;
  padding: 0;
}

.designs-sidebar li {
  line-height: 2em;
  transition: all 0.5s ease;
  border-radius: 4px;
}

.designs-sidebar li a {
  text-decoration: none;
  color: inherit;
  display: block;
  padding: 10px 14px;
}

.designs-sidebar li.active a {
  font-weight: bold;
  background-color: #69aa44;
  color: white;
  border-radius: 4px;
}

.designs-sidebar li:hover {
  background-color: rgba(105, 170, 68, 0.8);
  cursor: pointer;
}

@media (max-width: 768px) {
  .about-section-text p {
    text-align: center;
    padding-bottom: 2rem;
  }

  .experience-section {
    padding: 2rem 1rem;
  }

  .experience-container {
    flex-direction: column !important;
    justify-content: center;
    width: 100% !important;
  }

  .experience-section {
    flex-direction: column !important;
    width: 100% !important;
  }

  .experience-cards {
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center;
    width: 100% !important;
    padding: 10px;
  }

  .experience-cards {
    gap: 0.8rem;
  }

  .card-icon {
    font-size: 1.2rem;
  }

  .experience-card h3 {
    font-size: 0.9rem;
  }

  .experience-card p {
    font-size: 0.7rem;
  }

  .experience-card:hover {
    transform: scale(1.1);
  }
}

@media (max-width: 480px) {
  .experience-card {
    max-width: 100% !important;
  }

  .card-icon {
    font-size: 1rem;
  }
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */

/* Intro Section */
.intro {
  display: flex;
  justify-content: space-between;
  width: 100%;
  gap: 20px;
}

.intro__image img {
  border-radius: 8px;
  max-width: 350px;
  height: 350px;
  margin: 0 0 1rem 0;
}

/* Two-column layout: sidebar + content */
.layout--two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 0;
}

.intro__text {
  margin-bottom: 1rem;
  width: 50%;
}

.intro__text h2 {
  margin-top: 0 !important;
}

.into__text__wide {
  padding: 0 0 2rem 0;
}

.intro.container {
  padding: 0;
}

.carports-container {
  background: #fff;
}

.carport-content .container {
  width: inherit;
}

.carport-content article {
  max-width: 100%;
  margin: 0 auto;
  padding: 1rem;
}

.carport-content h2 {
  margin-bottom: 1rem;
}

.article-wrapper h3 {
  margin: 2rem 0 0.5rem 0;
}

/* =========================================================
   RECENT BLOGS — FLEX-ONLY, FULLY RESPONSIVE, NO OVERFLOW
   (Drop this at the very end of your CSS)
   ========================================================= */

/* ---- 0) Container should NEVER be fixed-width ---- */
.recent-blogs,
.recent-blogs.container {
  /* override any global .container width */
  width: 100% !important;
  max-width: none !important; /* kills 1200px caps from themes */
  padding-left: clamp(12px, 4vw, 24px);
  padding-right: clamp(12px, 4vw, 24px);
  margin-left: auto;
  margin-right: auto;
  overflow-x: hidden; /* safety: no sideways scroll */
  box-sizing: border-box;
}

/* ---- 1) Heading scales nicely ---- */
.recent-blogs__heading,
.recent-blogs h2 {
  text-align: center;
  margin: 0 0 2rem;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  color: #1c1c1c;
}

/* ---- 2) FLEX layout (no grid) ---- */
.recent-blogs__grid {
  display: flex !important; /* force flex, defeat any old grid/flex settings */
  flex-wrap: wrap;
  gap: 1.25rem; /* modern gap; see fallback below */
  width: 100%;
  max-width: none; /* remove any old 1200px cap */
  margin: 0 auto;
  box-sizing: border-box;
}

/* Fallback if some old browser lacks flex-gap */
@supports not (gap: 1rem) {
  .recent-blogs__grid {
    margin: -0.625rem;
  }
  .recent-blogs__grid > * {
    margin: 0.625rem;
  }
}

/* ---- 3) Cards: stack on mobile, 2-up on tablet, 3-up on desktop ---- */
/* Mobile default: full width */
.recent-blogs__grid .blog-card,
.recent-blogs__grid .recent-blogs__card {
  flex: 1 1 100%;
  max-width: 100%;
  min-width: 0; /* prevents content from forcing overflow */
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Tablet (≥600px): two columns */
@media (min-width: 600px) {
  .recent-blogs__grid .blog-card,
  .recent-blogs__grid .recent-blogs__card {
    flex: 1 1 calc(50% - 0.625rem); /* subtract half the gap to keep rows neat */
    max-width: calc(50% - 0.625rem);
  }

  .recent-blogs.container {
    padding: 0 !important;
  }

  .recent-blogs__title {
    padding: 0;
  }

  .blog-meta {
    flex-wrap: wrap;
  }
}

/* Desktop (≥1024px): three columns */
@media (min-width: 1024px) {
  .recent-blogs__grid .blog-card,
  .recent-blogs__grid .recent-blogs__card {
    flex: 1 1 calc(33.333% - 0.833rem); /* subtract a third of the gap */
    max-width: calc(33.333% - 0.833rem);
  }
}

/* Hover polish */
.recent-blogs__grid .blog-card:hover,
.recent-blogs__grid .recent-blogs__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* ---- 4) Media handling (no huge images; no overflow) ---- */
.recent-blogs img {
  max-width: 100%;
  height: auto;
  display: block;
}

.blog-card__image-wrapper,
.recent-blogs__image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; /* consistent, responsive cover */
  overflow: hidden;
  background: #f6f7f8;
}

.blog-card__image,
.recent-blogs__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

/* Subtle zoom on hover (desktop-ish only) */
@media (hover: hover) and (pointer: fine) {
  .recent-blogs__grid .blog-card:hover .blog-card__image,
  .recent-blogs__grid .recent-blogs__card:hover .recent-blogs__image {
    transform: scale(1.04);
  }
}

/* ---- 5) Content + text wrapping ---- */
.blog-card__content,
.recent-blogs__content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card__title,
.recent-blogs__title {
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem);
  margin: 0 0 0.5rem;
  color: #69aa44;
  line-height: 1.25;
  overflow-wrap: anywhere;
  padding: 0;
}

.blog-card__title a,
.recent-blogs__title a,
.recent-blogs__title-link {
  color: inherit;
  text-decoration: none;
}

.blog-card__excerpt,
.recent-blogs__excerpt {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.5;
  margin: 0 0 1rem;
  flex: 1;
}

.blog-card__read-more,
.recent-blogs__read-more {
  align-self: flex-start;
  color: #69aa44;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease;
}
.blog-card__read-more:hover,
.recent-blogs__read-more:hover {
  transform: translateX(2px);
}

/* ---- 6) A11y focus ring ---- */
.recent-blogs a:focus-visible {
  outline: 2px solid #4f46e5;
  outline-offset: 3px;
  border-radius: 6px;
}

/* Modern Responsive Benefit Cards */
.benefits-grid {
  width: 100%;
  margin: 3rem auto;
  padding: 0 1rem;
  display: flex;
  flex-direction: row;
  gap: 2rem;
}

.benefits-title {
  font-size: 2rem;
  text-align: center;
  color: #1c1c1c;
  margin-bottom: 2rem;
}

.benefit-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
  font-size: 2.5rem;
  color: #69aa44;
  margin-bottom: 1rem;
}

.benefit-card__title {
  font-size: 1.25rem;
  font-weight: bold;
  color: #1c1c1c;
  margin-bottom: 0.75rem;
}

.benefit-card__text {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
}

.carport-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 0 1rem;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tab-btn {
  background: #f0f0f0;
  border: none;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.3s ease, color 0.3s ease;
  color: #1c1c1c;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: wrap;
}

.tab-btn:hover {
  background: #e0e0e0;
}

.tab-btn.active {
  background: #69aa44;
  color: #fff;
}

.tab-content {
  display: none;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  gap: 2rem;
  animation: fadeIn 0.4s ease;
  flex-wrap: wrap;
  align-items: flex-start;
}

.tab-content.active {
  display: flex;
  flex-direction: row;
}

.tab-content img {
  max-width: 500px;
  height: 500px;
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-title {
  text-align: center;
  margin: 0 0 3rem 0 !important;
}

.tab-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #1c1c1c;
  padding: 0 1rem;
}

.tab-content p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 1rem;
  padding: 0 1rem;
}

.carport-types {
  margin: 1rem auto;
  padding: 2rem 1rem;
  max-width: 1200px;
  box-sizing: border-box;
}

.tab-text-content {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  background-image: url("/assets/images/section-background2.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-bottom: 1rem;
  height: 500px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .tab-content {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .tab-content img {
    max-width: 100%;
    height: auto;
  }

  .tab-text-content {
    padding: 0;
    background-position: top;
  }

  .benefits-cards {
    flex-direction: column !important;
  }
}

@media (max-width: 480px) {
  .tab-btn {
    width: 100%;
    justify-content: center;
    font-size: 0.95rem;
  }

  .carport-tabs {
    gap: 0.5rem;
  }

  .tab-content h3,
  .tab-content p {
    padding: 0;
  }
}

/* Consideration Section */
.carport-considerations {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 1rem;
}

.consideration-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* Center cards */
  gap: 2rem;
  margin-bottom: 3rem;
}

.consideration-item {
  background: #f9f9f9;
  width: 100%;
  max-width: 360px;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.consideration-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
}

.consideration-item i {
  font-size: 2rem;
  color: #69aa44;
  margin-bottom: 0.75rem;
}

.consideration-item h3 {
  font-size: 1.25rem;
  color: #1c1c1c;
  margin-bottom: 0.5rem;
}

.consideration-item p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

/* CTA Section */
.contact-cta {
  background: #69aa44;
  color: #fff;
  padding: 3rem 1rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.contact-cta h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-cta p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cta-btn {
  display: inline-block;
  margin-top: 1rem;
  background: #fff;
  color: #69aa44;
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.cta-btn:hover {
  background: #e4f2d9;
}

.contact-cta {
  background: #69aa44;
  color: #fff;
  padding: 3rem 1rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.contact-cta h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-cta p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cta-btn {
  display: inline-block;
  margin-top: 1rem;
  background: #fff;
  color: #69aa44;
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.cta-btn:hover {
  background: #e4f2d9;
}

/* ==========================================================================
   RESPONSIVE ADJUSTMENTS
   ========================================================================== */
@media (min-width: 768px) {
  /* Flex layout for sidebar on right */
  .layout--two-col {
    display: flex;
  }

  .content {
    order: 1;
    flex: 3;
  }

  .designs-sidebar {
    order: 1;
    flex: 1;
    margin-left: 2rem;
  }

  /* Testimonials side-by-side */
  .testimonials {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Make sure entire section is constrained */
.patio-ranges-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
  box-sizing: border-box;
}

/* Keep Cube Portfolio centered and responsive */
.cbp {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  box-sizing: border-box;
}

/* Fully override Cube's wrapper behavior */
.cbp-wrapper,
.cbp-wrapper-outer {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  box-sizing: border-box;
}

/* Responsive item sizing - 3 columns */
.cbp-item {
  flex: 0 1 calc(33.333% - 16px);
  max-width: calc(33.333% - 16px);
  box-sizing: border-box;
  position: relative !important;
  left: auto !important;
  top: auto !important;
  width: auto !important;
}

/* Images in each item */
.cbp-item img {
  width: 100% !important;
  height: 250px !important;
  object-fit: cover;
  display: block;
  border-radius: 6px;
}

/* Responsive breakpoints */
@media (max-width: 1024px) {
  .cbp-item {
    flex: 0 1 calc(50% - 16px);
    max-width: calc(50% - 16px);
  }
}

@media (max-width: 600px) {
  .cbp-item {
    flex: 0 1 100%;
    max-width: 100%;
  }
}

/* Optional: remove all inline style clutter from cubeportfolio */
.cbp-item[style] {
  width: auto !important;
  left: auto !important;
  top: auto !important;
  position: relative !important;
}

/* Patio design pages styles */
.content h2 {
  margin: 1rem 0 1rem 0;
}

.wide-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fff;
  max-width: 100%;
}

.wide-section-content {
  width: 1200px;
  display: flex;
  flex-direction: column;
}

.wide-section-content h2 {
  margin: 1rem 0 0.5rem 0;
}

.wide-section-content p {
  margin: 0.5rem 0;
}

/* Commercial Carports Benefits section */

.benefits-section {
  padding: 2rem;
  width: 100%;
  margin: auto;
}

.benefits-section .benefits-title {
  text-align: center;
  color: #000;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.benefits-cards {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 1.5rem;
}

.benefit-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  max-width: 350px;
  flex: 1 1 300px;
  text-align: center;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.benefit-card i {
  font-size: 2rem;
  color: #69aa44;
  margin-bottom: 0.75rem;
}

.benefit-card h2 {
  font-size: 1.25rem;
  color: #000;
  margin-bottom: 1rem;
}

.benefit-card p {
  color: #333;
  font-size: 1rem;
}

.patio-types {
  padding: 2rem 0;
  max-width: 1200px;
  margin: auto;
}

.section-title {
  text-align: center;
  color: #000;
  margin-bottom: 1rem;
}

.patio-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.patio-badges span {
  background-color: #69aa44;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 30px;
  font-weight: bold;
  font-size: 0.95rem;
  transition: background-color 0.3s ease;
}

.patio-badges span:hover {
  background-color: #4e8c2f;
}

.patio-cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, 1fr);
}

.patio-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-align: center;
}

.patio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.patio-card i {
  font-size: 2rem;
  color: #69aa44;
  margin-bottom: 0.75rem;
}

.patio-card h2 {
  font-size: 1rem !important;
  color: #000;
  margin-bottom: 1rem;
}

.patio-card p {
  color: #333;
  font-size: 1rem;
}

.install-process-section {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 1rem;
}

.install-buttons {
  flex: 1 1 300px;
  max-width: 300px;
}

.install-buttons h2 {
  font-size: 1.5rem;
  color: #000;
  margin-bottom: 0.5rem;
}

.install-buttons p {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #444;
}

.install-buttons button {
  display: block;
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 0.5rem;
  background-color: #69aa44;
  color: white;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.install-buttons button:hover,
.install-buttons button.active {
  background-color: #4e8c2f;
}

.install-text {
  flex: 2 1 600px;
  background-image: url("/assets/images/section-background2.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.install-text h2 {
  font-size: 1.5rem;
  color: #000;
  margin-bottom: 1rem;
}

.install-text p {
  font-size: 1rem;
  color: #333;
}

@media (max-width: 963px) {
  .install-buttons,
  .install-text {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .install-process-section {
    flex-direction: column;
  }

  .install-buttons,
  .install-text {
    max-width: 100%;
  }

  .benefits-cards {
    align-items: center;
  }

  .content li {
    list-style-type: none;
  }
}

/* Modern Responsive Benefit Cards */
.benefits-grid {
  width: 100%;
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 1rem;

  /* Make it actually a grid and responsive */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.benefits-title {
  font-size: 2rem;
  text-align: center;
  color: #1c1c1c;
  margin-bottom: 2rem;
}

.benefit-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
  font-size: 2.5rem;
  color: #69aa44;
  margin-bottom: 1rem;
}

.benefit-card__title {
  font-size: 1.25rem;
  font-weight: bold;
  color: #1c1c1c;
  margin-bottom: 0.75rem;
}

.benefit-card__text {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
}

/* Optional: tweak for small screens */
@media (max-width: 600px) {
  .benefits-title {
    font-size: 1.6rem;
  }

  .benefit-card {
    padding: 1.5rem 1.25rem;
  }

  .benefit-card__title {
    font-size: 1.15rem;
  }

  .benefit-card__text {
    font-size: 0.95rem;
  }
}

/* Your existing media query can stay as-is */
@media (max-width: 768px) {
  .install-process-section {
    flex-direction: column;
  }

  .install-buttons,
  .install-text {
    max-width: 100%;
  }

  .benefits-cards {
    align-items: center;
  }

  .content li {
    list-style-type: none;
  }
}

/* ------------------------------------------------------- */

/* Reset some basic elements */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  font-family: "Segoe UI", Roboto, sans-serif;
  background-color: #f8f9fa;
  color: #333;
  height: 100%;
  width: 100%;
}

/* Container system */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header styles */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  padding: 1rem 0;
}

.logo {
  font-weight: 700;
  font-size: 1.5rem;
  color: #2b2b2b;
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.nav a {
  text-decoration: none;
  color: #444;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav a:hover {
  color: #3a7e45;
}

/* Error content */
.error-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 5rem 1rem;
  text-align: center;
}

.error-content {
  max-width: 600px;
}

.error-code {
  font-size: 10rem;
  font-weight: 900;
  color: #000000;
  margin-bottom: 0.5rem;
}

.error-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #2c2c2c;
}

.error-message {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 2rem;
}

/* THANK YOU PAGE STYLING */
.thankyou-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 5rem 1rem;
  text-align: center;
}

.thankyou-content {
  max-width: 600px;
}

.thankyou-title {
  font-size: 2rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #2c2c2c;
}

.thankyou-message {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Optional: keep links readable on muted text */
.thankyou-message a {
  text-decoration: underline;
}

/* END OF THANK YOU PAGE STYLES */

/* Custom Patios Styles */

.two-column-text {
  display: flex;
  flex-direction: row;
}

.right-text-column,
.left-text-column {
  display: flex;
  flex-direction: column;
  text-align: left;
  max-width: 1200px;
  width: 100%;
}

.right-text-column > h2,
.left-text-column > h2 {
  font-size: 1.5rem !important;
  margin: 0 0 2rem;
}

.right-text-column {
  padding: 1rem;
  width: 50%;
}

.left-text-column {
  padding: 1rem;
  width: 50%;
}

.left-column {
  padding: 0;
}

.left-column p {
  margin-bottom: 2rem;
}

.right-column {
  padding: 1rem;
}

@media (max-width: 600px) {
  .right-column {
    padding: 0;
  }
}

/* Flat Roof Patio Styles */
/* ==========================================================================
 * Flat Roof Patio – Responsive Benefits
 * - Flexbox with wrap + gap (modern browsers)
 * - Fluid columns via flex-basis; no hard fixed widths
 * - Stacks to 1 column on narrow screens automatically
 * - Keeps your visual styling, removes brittle fixed width/height
 * ========================================================================== */

/* 1) Section container (unchanged behavior, minor niceties) */
.flat-roof-patio-benefits {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  width: 100%;
  text-align: center !important;
  margin-bottom: 2rem;
  box-sizing: border-box; /* protect against overflow from padding */
}

/* 2) Wrapper uses flex-wrap + gap so cards wrap naturally */
.flat-roof-benefit-wrapper {
  /* Layout */
  display: flex;
  flex-wrap: wrap; /* ✨ allow wrapping */
  gap: 15px; /* your existing spacing */
  width: 100%;
  justify-content: center; /* center rows; change to 'flex-start' if preferred */
  box-sizing: border-box;
  min-width: 0; /* prevent child overflow from forcing scroll */
}

/* 3) Card: make it flexible instead of fixed 390px/480px */
.flat-roof-benefit-card {
  /* Visuals (kept) */
  background: #fff;
  border: 1.5px solid #e2e2e2;
  border-radius: 12px;
  padding: 2em 1.3em 1.8em 1.6em;
  box-shadow: 0 2px 12px 0 rgba(50, 50, 50, 0.08);
  transition: box-shadow 0.23s, border-color 0.23s;

  /* ✨ Responsive sizing */
  /* - flex: 1 1 320px -> try to be ~320px wide, but shrink/grow as needed */
  /* - clamp keeps the width in a sensible range while allowing multiple cols */
  flex: 1 1 clamp(260px, 30%, 360px);
  max-width: 100%;
  min-width: 0; /* critical to avoid horizontal scroll with long content */

  /* Height: use min-height so content can grow on small screens */
  min-height: 420px; /* adjust as you like */
  /* remove fixed height to allow natural wrapping:
     (we're replacing your fixed height: 480px) */
}

.flat-roof-benefit-card:hover {
  box-shadow: 0 8px 30px 0 rgba(40, 40, 40, 0.17);
  border-color: #b5e2c2;
  cursor: default;
}

/* Typography (kept) */
.flat-roof-benefit-card h2 {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #69aa44;
}

/* 4) Touch devices: neutralize hover lift if you add transforms later */
@media (hover: none) {
  .flat-roof-benefit-card:hover {
    box-shadow: 0 2px 12px 0 rgba(50, 50, 50, 0.08);
    border-color: #e2e2e2;
  }
}

/* 5) Tighten padding a hair on very small phones */
@media (max-width: 380px) {
  .flat-roof-benefit-card {
    padding: 1.5em 1em 1.4em 1.2em;
    min-height: 380px;
  }
}

/* Get in touch cta styles */
.get-in-touch-cta {
  padding: 2rem;
  background: linear-gradient(90deg, #69aa44, #4a7730, #2a441b);
  color: #fff;
  width: 100%;
}

.get-in-touch-cta a {
  padding: 1rem 2rem;
  background: #fff;
  border-radius: 10px;
  color: #000;
  margin: 2rem 0;
}

.cta-btn-wrapper {
  margin: 40px 0;
}

.custom-patios-container {
  background-color: #fff;
}

.combination-patios-container {
  background-color: #fff;
}

.flat-roof-patios-container {
  background-color: #fff;
}

.about-page-container {
  background-color: #fff;
}

.about-gallery-container {
  width: 1200px !important;
  padding: 20px;
}

.about-page-gallery-container {
  width: 100%;
  display: flex;
  justify-content: center;
}

.about-testimonials-container {
  width: 100% !important;
}

.home-testimonials-container {
  width: 100% !important;
  display: flex;
  justify-content: center;
}

.about-testimonials {
  width: 1200px !important;
}

.about-page-testimonials-container {
  width: 100%;
  display: flex;
  justify-content: center;
}

.service-page-container {
  background-color: #fff;
}

.dome-patios-container {
  background-color: #fff;
}

.gable-patios-container {
  background-color: #fff;
}

.louvre-roofs-container {
  background-color: #fff;
}
.open-roof-patios-container {
  background-color: #fff;
}

.pergola-container {
  background-color: #fff;
}

.skillion-patio-container {
  background-color: #fff;
}

.commercial-patios-container {
  background-color: #fff;
}
/* Hidden gallery items */
.hidden-item {
  display: none;
}

/* Hide the nav-buttons on medium screens (≤1240px) */
@media (max-width: 1240px) and (min-width: 769px) {
  .nav-buttons {
    display: none !important;
  }
}

@media (max-width: 1280px) {
  .main-nav {
    font-size: 0.9em;
    text-wrap: nowrap;
  }
}

@media (max-width: 900px) {
  .main-nav {
    font-size: 0.8em;
    text-wrap: nowrap;
  }

  .logo img {
    width: 140px;
  }
}

@media (max-width: 810px) {
  .logo img {
    width: 110px;
  }
}

@media (max-width: 768px) {
  .logo img {
    width: 160px;
  }
}

@media (max-width: 390px) {
  .logo img {
    width: 140px;
  }
}

/* ─── Tablet & Mobile (≤ 768px) ────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    align-items: stretch;
  }

  .logo {
    margin-bottom: 1em;
  }

  .main-nav-wrapper {
    margin: 0;
  }

  .nav-buttons {
    display: flex;
  }

  .main-nav {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .main-nav li {
    margin: 0.2em 0;
    list-style: none;
    width: 100% !important;
  }
  .main-nav li a {
    font-size: 1.05em;
    padding: 0.6em 1em;
  }
  .mobile-dropdown {
    width: 50%;
    height: 100vh;
  }
  .mobile-dropdown .main-only {
    width: 50% !important;
  }

  /* Submenus become Accordion‐style */
  .submenu {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    border-radius: 0 0 8px 8px;
    background: #f9f9f9;
    padding: 0;
  }
  .submenu li a {
    padding: 0.6em 1.5em;
  }
  /* Only show submenu when parent has .active */
  .has-submenu:hover > .submenu,
  .has-submenu:focus-within > .submenu {
    /* disable hover on mobile */
    opacity: 0;
    pointer-events: none;
  }
  .has-submenu.active > .submenu {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-buttons {
    flex-direction: column;
    width: 100%;
    gap: 0.5em;
    margin-top: 1em;
  }
  .nav-buttons .btn {
    width: 100%;
    text-align: center;
  }

  .intro__text {
    padding: 0;
  }

  .container .content {
    padding: 1rem 1rem;
  }

  .wide-section-content {
    padding: 0 1rem;
    width: 100%;
  }

  .two-column-text {
    flex-direction: column;
  }

  .right-text-column {
    width: 100%;
  }

  .left-text-column {
    width: 100%;
  }
}

@media (max-width: 1000px) {
  .intro.container {
    flex-direction: column-reverse;
    width: 100%;
  }

  .intro__text {
    width: 100%;
  }

  .intro__image {
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

@media (max-width: 900px) {
  .contact-section p {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .contact-details-form {
    flex-direction: column;
    gap: 1.5em;
  }

  .contact-form {
    padding: 1.5em 1em;
  }

  .experience-section {
    width: 100%;
    padding: 0;
  }

  .experience-container {
    width: 100%;
  }

  .contact-details-form p,
  h3 {
    padding-left: 1rem;
  }

  .experience-cards {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .experience-card {
    width: 350px;
  }

  .about-section img {
    width: 300px !important;
    height: 300px !important;
  }

  .footer-cta {
    flex-direction: column;
    align-items: center;
  }
  .footer-cta h2 {
    text-align: center;
    margin: 0;
  }
  .footer-columns {
    flex-direction: column;
    gap: 2em;
    width: 200px;
    align-items: left;
  }
  .footer-logo {
    /* align-items: center; */
  }
  .footer-main {
    padding: 1.5em 1em;
    align-items: center;
  }
  .footer-links,
  .footer-address,
  .footer-partners {
    flex: 1 1 100px;
  }
}

@media (max-width: 600px) {
  .footer {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .footer-links,
  .footer-address,
  .footer-partners {
    flex: 1 1 80px;
  }
  .footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .footer-columns {
    flex-direction: column;
    align-items: left;
  }
  .footer-cta {
    flex-direction: column;
    padding: 2em 0.5em;
  }

  .footer-cta-text h2 {
    font-size: 1.1em !important;
    margin: 0 0 1em 0;
  }

  .footer-cta-buttons {
    flex-direction: column;
    gap: 0.8em;
    width: 100%;
    align-items: stretch;
  }

  .footer-cta-buttons span {
    display: none;
  }

  .footer-cta-buttons .btn {
    width: 100%;
    font-size: 1em;
    padding: 0.8em 0;
    min-width: 0;
    box-sizing: border-box;
  }

  .footer-cta-buttons span {
    order: 2;
    padding: 0.1em 0;
    font-size: 1em;
    font-weight: 400;
  }
}

/* Responsive design */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 0 1em;
  }

  .logo {
    padding-left: 0;
    margin-bottom: 1em;
  }

  .main-nav-wrapper {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .main-nav {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .main-nav li {
    margin: 0.5em 0;
  }

  .submenu {
    position: static;
    width: 100%;
    background-color: #e0e0e0;
  }

  .main-nav .has-submenu:hover .submenu {
    display: none;
  }

  .main-nav .has-submenu.active .submenu {
    display: block;
  }

  .nav-buttons {
    flex-direction: column;
    width: 100%;
    gap: 0.5em;
    margin-top: 1em;
    padding-right: 0;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 900px) {
  .quote-section {
    padding: 2em 0.5em 1.5em 0.5em;
  }
  .quote-form-row {
    flex-direction: column;
    gap: 1em;
  }
}

@media (max-width: 900px) {
  .legal-content {
    padding: 1.5em 0.7em 1em 0.7em;
  }
}

@media (max-width: 900px) {
  .faq-section {
    padding: 1.5em 0.5em 1em 0.5em;
  }
}

@media (max-width: 390px) {
  .intro__image img {
    max-width: 100%;
    height: auto;
    margin: 0 auto; /* ensures centering */
    display: block; /* removes inline-gap weirdness */
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .blog-container {
    flex-direction: column;
    gap: 2em;
    padding: 0;
  }

  .blog-sidebar {
    margin-top: 0;
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .blog-content {
    padding: 1.1em 0.7em 1em 0.7em;
  }

  .sidebar-block {
    padding: 1em;
  }
}

/* Responsive grid columns */
@media (max-width: 1200px) {
  .cbp-item,
  .cbp-item figure,
  .cbp-item img {
    min-width: 260px;
    min-height: 180px;
    height: 180px;
  }
}

@media (max-width: 900px) {
  .hero-section {
    aspect-ratio: 1.5 / 1;
    min-height: 200px;
  }
}
@media (max-width: 900px) {
  .cbp {
    gap: 10px;
  }
  .cbp-item,
  .cbp-item figure,
  .cbp-item img {
    min-width: 180px;
    min-height: 120px;
    height: 120px;
  }
}
@media (max-width: 600px) {
  .cbp {
    gap: 6px;
  }
  .cbp-item,
  .cbp-item figure,
  .cbp-item img {
    min-width: 120px;
    min-height: 90px;
    height: 90px;
  }
}

@media (max-width: 1000px) {
  .why-services-container {
    flex-direction: column;
    gap: 2em;
  }
  .why-choose-box {
    max-width: 100%;
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.1em;
  }
}

@media (max-width: 600px) {
  .why-services-container {
    padding: 0 1em;
  }
  .services-grid {
    gap: 0.85em;
  }
}

/* NEW GALLERY COMPONENT STYLES */

/* ==========================================================================
   Square Grid Gallery
   - Every tile is a perfect square (aspect-ratio: 1 / 1)
   - Responsive grid, modern hover, accessible focus
   - Lightbox with close + arrows + overlay click + ESC
   ========================================================================== */

:root {
  --sq-gap: 16px;
  --sq-radius: 16px;
  --sq-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
  --sq-shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.18);
  --sq-chip-bg: #f2f3f5;
  --sq-chip-tx: #111827;
  --sq-chip-active-bg: #111827;
  --sq-chip-active-tx: #fff;
}

/* ---------- Filters ---------- */
.sq-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 20px;
}
.sq-chip {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  background: var(--sq-chip-bg);
  color: var(--sq-chip-tx);
  font: 500 14px/1.2 system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  transition: transform 0.15s ease, background-color 0.2s ease, color 0.2s ease,
    box-shadow 0.2s ease;
}
.sq-chip:hover {
  transform: translateY(-1px);
}
.sq-chip:focus-visible {
  outline: 2px solid #4f46e5;
  outline-offset: 2px;
}
.sq-chip.is-active {
  background: var(--sq-chip-active-bg);
  color: var(--sq-chip-active-tx);
  box-shadow: 0 6px 18px rgba(17, 24, 39, 0.25);
}

/* ---------- Grid (square tiles) ---------- */
.sq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--sq-gap);
}
@media (min-width: 520px) {
  .sq-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
}
@media (min-width: 900px) {
  .sq-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  }
}

/* Ensure filtered items truly disappear even if a theme overrides [hidden] */
.sq-item[hidden] {
  display: none !important;
}

.sq-figure {
  margin: 0;
}
.sq-box {
  position: relative;
  border-radius: var(--sq-radius);
  overflow: hidden;
  aspect-ratio: 1/1; /* perfect square tile */
  background: #0b0c0e;
  box-shadow: var(--sq-shadow);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.sq-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s ease;
}
.sq-cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 14px 14px 16px;
  color: #fff;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.55),
    rgba(0, 0, 0, 0) 60%
  );
  transform: translateY(16%);
  opacity: 0.98;
  transition: transform 0.28s ease, opacity 0.28s ease;
}
.sq-title {
  margin: 0 0 6px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.2px;
}
.sq-meta {
  margin: 0;
  font-size: 13px;
  opacity: 0.9;
}

.sq-more-wrap {
  flex-direction: column;
}

/* glossy streak */
.sq-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 20%,
    rgba(255, 255, 255, 0.18) 30%,
    transparent 46%
  );
  transform: translateX(-120%);
  transition: transform 0.8s ease;
  pointer-events: none;
}

/* Hover/focus effects (motion-safe) */
@media (prefers-reduced-motion: no-preference) {
  .sq-link:hover .sq-img,
  .sq-link:focus .sq-img {
    transform: scale(1.06);
    filter: saturate(1.05) contrast(1.02);
  }
  .sq-link:hover .sq-cap,
  .sq-link:focus .sq-cap {
    transform: translateY(0%);
    opacity: 1;
  }
  .sq-link:hover .sq-box,
  .sq-link:focus .sq-box {
    box-shadow: var(--sq-shadow-hover);
  }
  .sq-link:hover .sq-shine,
  .sq-link:focus .sq-shine {
    transform: translateX(120%);
  }
}
.sq-link {
  text-decoration: none;
  outline: none;
}
.sq-link:focus-visible .sq-box {
  box-shadow: var(--sq-shadow-hover);
}

/* ---------- Lightbox (single consolidated block) ---------- */
.sq-lightbox[hidden] {
  display: none !important;
}
.sq-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000; /* high to sit above sticky headers/plugins */
  display: grid;
  place-items: center;
  padding: 24px;
}
.sq-lbx-bg {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 0;
}
.sq-lbx-img {
  position: relative;
  z-index: 1;
  max-width: min(96vw, 1400px);
  max-height: 76vh;
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
.sq-lbx-caption {
  position: relative;
  z-index: 1;
  margin-top: 10px;
  color: #fff;
  opacity: 0.9;
  text-align: center;
  font: 500 15px/1.4 system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
}

/* Buttons: layered above image/caption, protected from theme overrides */
.sq-lbx-btn {
  position: absolute;
  z-index: 2;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 0.2s ease, transform 0.2s ease;
  user-select: none;
}
.sq-lbx-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}
.sq-lbx-btn:focus-visible {
  outline: 2px solid #4f46e5;
  outline-offset: 3px;
}

/* Close button (top-right), safe-area aware */
.sq-lbx-close {
  top: max(16px, env(safe-area-inset-top));
  right: max(16px, env(safe-area-inset-right));
  font-size: 28px;
  line-height: 1;
}

/* Prev/Next arrows centered vertically; safe-area aware horizontally */
.sq-lbx-prev,
.sq-lbx-next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
}
.sq-lbx-prev {
  left: max(16px, env(safe-area-inset-left));
}
.sq-lbx-next {
  right: max(16px, env(safe-area-inset-right));
}

/* Tiny screens: move arrows to bottom if center is cramped */
@media (max-width: 420px) {
  .sq-lbx-prev,
  .sq-lbx-next {
    top: auto;
    bottom: 16px;
    transform: none;
  }
}

/* ==========================================================================
   Responsive Sidebar (Patio Categories)
   - Mobile-first: full-width w/ collapsible list
   - Desktop (≥768px): fixed-width vertical sidebar
   - Focus/hover states for a11y, large tap targets
   ========================================================================== */

:root {
  --ds-bg: #f5f5f5;
  --ds-accent: #69aa44;
  --ds-accent-opaque: rgba(105, 170, 68, 0.12);
  --ds-text: #222;
  --ds-radius: 8px;
  --ds-pad: 1rem;
}

/* Base wrapper */
.designs-sidebar {
  background: var(--ds-bg);
  color: var(--ds-text);
  border-radius: var(--ds-radius);
  padding: var(--ds-pad);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Title (desktop), hidden on mobile (we use the button title) */
.designs-sidebar__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  font-weight: 700;
  display: none; /* shown on desktop breakpoint */
}

/* Mobile toggle button */
.designs-sidebar__toggle {
  /* hidden on desktop via media query */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  background: transparent;
  border: 1px solid #ddd;
  border-radius: var(--ds-radius);
  padding: 0.75rem 1rem;
  font: inherit;
  cursor: pointer;
}

.designs-sidebar__toggle:focus-visible {
  outline: 3px solid var(--ds-accent);
  outline-offset: 2px;
}

.designs-sidebar__toggle-text {
  font-weight: 700;
  font-size: 1rem;
}

.designs-sidebar__chevron {
  transition: transform 0.25s ease;
}

/* List */
.designs-sidebar__list {
  list-style: none;
  margin: 0;
  padding: 0;
  /* collapsed by default on mobile; overridden by .is-open or desktop media query */
  display: none;
}

.designs-sidebar__item {
  border-radius: calc(var(--ds-radius) - 4px);
}

.designs-sidebar__link {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 0.75rem 0.9rem; /* ≥44px tap target w/ line-height */
  border-radius: inherit;
  line-height: 1.3;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.05s ease;
}

.designs-sidebar__link:hover {
  background: var(--ds-accent-opaque);
}

.designs-sidebar__link:focus-visible {
  outline: 3px solid var(--ds-accent);
  outline-offset: 2px;
  background: var(--ds-accent-opaque);
}

.designs-sidebar__item.is-active .designs-sidebar__link {
  font-weight: 700;
  background: var(--ds-accent);
  color: #fff;
}

/* When expanded on mobile, show the list and rotate chevron */
.designs-sidebar.is-open .designs-sidebar__list {
  display: block;
  margin-top: 0.75rem;
}
.designs-sidebar.is-open .designs-sidebar__chevron {
  transform: rotate(180deg);
}

/* ===========================
   Desktop (≥768px)
   =========================== */
@media (min-width: 768px) {
  .designs-sidebar {
    width: 280px; /* classic sidebar width */
    max-width: 100%;
    position: sticky; /* optional: makes sidebar stick while scrolling */
    top: 1rem;
  }

  .designs-sidebar__toggle {
    display: none; /* hide the button on desktop */
  }

  .designs-sidebar__title {
    display: block; /* show the H2 on desktop */
  }

  .designs-sidebar__list {
    display: block; /* always visible on desktop */
  }
}

/* ===========================
   Very small screens (≤360px)
   Improve density by reducing paddings slightly
   =========================== */
@media (max-width: 360px) {
  .designs-sidebar__link {
    padding: 0.65rem 0.75rem;
  }
}

.form-disclaimer {
  display: flex;
  justify-content: center;
}

.form-disclaimer p {
  font-style: italic;
  font-size: 0.8rem;
  color: #232323;
}

.quote-form .btn-primary:hover {
  border: 1px solid #5a8e3a;
  background-color: #fff;
}

.contact-form .btn-primary:hover {
  border: 1px solid #5a8e3a;
  background-color: #fff;
}

.nav-buttons .btn-primary:hover {
  border: 1px solid #5a8e3a;
  background-color: #fff;
}

.nav-buttons .btn-secondary {
  border: 1px solid #5a8e3a;
  background-color: #fff;
}

.nav-buttons .btn-secondary:hover {
  border: 1px solid #5a8e3a;
  background-color: #5a8e3a;
}

.home-text-banner {
  text-align: center;
  background: linear-gradient(90deg, #5a8e3a, #1b2b12);
  color: #fff;
  height: auto;
  width: 100%;
  margin: 0px;
  padding: 20px 0;
}

@media (max-width: 600px) {
  .home-text-banner {
    font-size: 0.8rem;
  }
}

/* ===========================
   Request a Quote – FAQ Cards
   - Responsive grid
   - Brand-accent hover + focus
   - Accessible focus styles
   =========================== */

.faq-wrap {
  max-width: 1100px;
  margin-inline: auto;
  padding: clamp(16px, 3vw, 28px);
}

/* Utility for the off-screen H2 */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.faq-intro {
  margin-bottom: clamp(12px, 1.8vw, 20px);
  color: #475569; /* slate-600 */
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(14px, 2.2vw, 24px);
}

.faq-card {
  background: #ffffff;
  border: 1px solid rgba(30, 75, 122, 0.15); /* #1E4B7A @15% */
  border-radius: 16px;
  padding: clamp(16px, 2.2vw, 20px);
  box-shadow: 0 8px 24px rgba(2, 6, 23, 0.08);
  position: relative;
  isolation: isolate; /* keeps overlay inside card */
  transition: transform 0.28s ease, box-shadow 0.28s ease,
    border-color 0.28s ease;
  outline: none;
}

/* subtle brand glow on hover/focus */
.faq-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(30, 75, 122, 0.1), transparent 40%);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.faq-card:hover,
.faq-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(2, 6, 23, 0.16);
  border-color: #1e4b7a;
}

.faq-card:hover::after,
.faq-card:focus-visible::after {
  opacity: 0.5;
}

/* Typography */
.faq-card h3 {
  margin: 0 0 0.35rem 0;
  font-size: clamp(1.05rem, 1.2vw + 0.8rem, 1.25rem);
  color: #0f172a; /* slate-900 */
  line-height: 1.25;
  padding: 0;
}

.faq-card p {
  margin: 0 0 0.75rem 0;
  color: #475569; /* slate-600 */
  line-height: 1.6;
}

.faq-card .source {
  display: inline-block;
  margin-top: 0.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1e4b7a; /* brand */
}

/* Keyboard accessibility */
.faq-card[tabindex="0"]:focus-visible {
  outline: 3px solid rgba(30, 75, 122, 0.35);
  outline-offset: 2px;
}

/* Motion reduction */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

  /* --- SQUARE GALLERY LAYOUT --- */

  .sq-lbx-img{
    max-width: 100% !important;
  }