:root {
  --page-banner-overlay: rgba(12, 17, 13, 0.52);
}

.page-about .blog-hero,
.page-services .blog-hero,
.page-blogs .blog-hero,
.page-gallery .gallery-hero,
.page-contact .contact-hero,
.page-blog-detail .blog-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(280px, 36vw, 420px);
  padding: 72px 0;
  overflow: hidden;
  color: #fff;
}

.page-about .blog-hero {
  background: url("../images/banner/banner-2.png") center/cover no-repeat;
}

.page-services .blog-hero {
  background: url("../images/banner/banner-1.png") center/cover no-repeat;
}

.page-blogs .blog-hero,
.page-blog-detail .blog-hero {
  background: url("../images/banner/banner-2.png") center/cover no-repeat;
}

.page-gallery .gallery-hero {
  background: url("../images/banner/banner-1.png") center/cover no-repeat;
}

.page-contact .contact-hero {
  background:
    linear-gradient(
      115deg,
      rgba(246, 242, 232, 0.95),
      rgba(237, 230, 214, 0.92)
    ),
    url("../images/banner/banner-2.png") center/cover no-repeat;
  color: var(--ink);
}

.page-about .overlay,
.page-services .overlay,
.page-blogs .overlay,
.page-gallery .overlay,
.page-blog-detail .overlay {
  position: absolute;
  inset: 0;
  background: var(--page-banner-overlay);
}

.page-about .blog-hero .container,
.page-services .blog-hero .container,
.page-blogs .blog-hero .container,
.page-gallery .gallery-hero .container,
.page-contact .contact-hero .container,
.page-blog-detail .blog-hero .container {
  position: relative;
  z-index: 1;
}

.page-about .hero-content,
.page-services .hero-content,
.page-blogs .hero-content,
.page-gallery .hero-content,
.page-blog-detail .hero-content {
  max-width: 820px;
  margin: 0 auto;
}

.page-about .hero-badge,
.page-services .hero-badge,
.page-blogs .hero-badge,
.page-gallery .hero-badge,
.page-contact .hero-badge,
.page-blog-detail .hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  padding: 9px 20px;
  border-radius: 999px;
  background: rgba(200, 155, 74, 0.95);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.page-about .blog-hero h1,
.page-services .blog-hero h1,
.page-blogs .blog-hero h1,
.page-gallery .gallery-hero h1,
.page-blog-detail .blog-hero h1 {
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1.08;
  color: #fff;
  margin-bottom: 16px;
}

.page-contact .contact-hero h1 {
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  line-height: 1.08;
  margin-bottom: 16px;
}

.page-contact .contact-hero h1 span {
  color: var(--clay);
}

.page-about .blog-hero p,
.page-services .blog-hero p,
.page-blogs .blog-hero p,
.page-gallery .gallery-hero p,
.page-contact .contact-hero p,
.page-blog-detail .blog-hero p {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.04rem;
  line-height: 1.8;
}

.page-contact .contact-hero p {
  margin: 0;
  color: var(--forest);
}

.page-about .blog-hero nav,
.page-services .blog-hero nav,
.page-blogs .blog-hero nav,
.page-gallery .gallery-hero nav,
.page-blog-detail .blog-hero nav {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.9);
}

.page-about .blog-hero nav a,
.page-services .blog-hero nav a,
.page-blogs .blog-hero nav a,
.page-gallery .gallery-hero nav a,
.page-blog-detail .blog-hero nav a {
  color: #fff;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 999px;
  background: #e8f1ea;
  color: #224434;
  font-size: 0.82rem;
  font-weight: 700;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, #224434, #2f5c46);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
  box-shadow: 0 10px 24px rgba(34, 68, 52, 0.22);
}

.contact-btn:hover {
  background: linear-gradient(135deg, #c89b6d, #d7ad7d);
  color: #fff;
  transform: translateY(-2px);
}

.page-about .about-page {
  padding: 96px 0;
  background: #fff;
}

.page-about .about-page h2,
.page-about .why-section h2,
.page-about .cta-section h2 {
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  line-height: 1.18;
}

.page-about .about-page p,
.page-about .why-card p,
.page-about .cta-section p {
  color: var(--ink-soft);
  line-height: 1.85;
}

.page-about .about-image {
  position: relative;
}

.page-about .about-image img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.12);
}

.page-about .experience-box {
  position: absolute;
  right: -18px;
  bottom: 26px;
  width: 180px;
  padding: 24px;
  border-radius: 20px;
  background: #224434;
  color: #fff;
  text-align: center;
  box-shadow: 0 18px 34px rgba(34, 68, 52, 0.34);
}

.page-about .experience-box h2 {
  color: #fff;
  font-size: 2.4rem;
  margin-bottom: 4px;
}

.page-about .about-list li {
  margin-bottom: 14px;
  color: var(--ink-soft);
  font-weight: 600;
}

.page-about .about-list li i {
  margin-right: 8px;
  color: #2f8f53;
}

.page-about .why-section {
  padding: 96px 0;
  background: #f8f7f2;
}

.page-about .why-card {
  height: 100%;
  padding: 34px 28px;
  border-radius: 22px;
  background: #fff;
  text-align: center;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.page-about .why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.12);
}

.page-about .why-card i {
  width: 74px;
  height: 74px;
  margin-bottom: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #224434;
  color: #fff;
  font-size: 1.8rem;
}

.page-about .why-card h4 {
  margin-bottom: 12px;
  font-size: 1.4rem;
}

.page-about .counter-section {
  padding: 76px 0;
  background: #224434;
}

.page-about .counter-box {
  padding: 26px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.page-about .counter-box i {
  margin-bottom: 14px;
  font-size: 1.8rem;
  color: var(--gold);
}

.page-about .counter-box h2 {
  color: #fff;
  font-size: 2.3rem;
  margin-bottom: 6px;
}

.page-about .counter-box p {
  color: rgba(255, 255, 255, 0.8);
}

.page-about .cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f7f2e7, #efe5d3);
}

.page-services .services-page {
  padding: 96px 0;
  background: #f8f7f2;
}

.page-services .service-card {
  height: 100%;
  border: none;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}

.page-services .service-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.page-services .service-content {
  padding: 26px 24px 28px;
  text-align: center;
}

.page-services .service-content > i {
  width: 70px;
  height: 70px;
  margin-bottom: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #224434;
  color: #fff;
  font-size: 1.7rem;
}

.page-services .service-content h4 {
  margin-bottom: 12px;
  font-size: 1.4rem;
}

.page-services .service-content p {
  margin-bottom: 20px;
  color: var(--ink-soft);
  line-height: 1.8;
}

.page-blogs .blogs {
  padding: 96px 0;
  background: #f8f7f2;
}

.page-blogs .blog-card {
  height: 100%;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.page-blogs .blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.12);
}

.page-blogs .blog-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.page-blogs .blog-content {
  padding: 24px;
}

.page-blogs .blog-content .date {
  margin-bottom: 12px;
  color: #7d7d7d;
  font-size: 0.88rem;
}

.page-blogs .blog-content h4 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.page-blogs .blog-content p {
  color: var(--ink-soft);
  line-height: 1.75;
}

.page-blogs .blog-content a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: #224434;
  font-weight: 700;
}

.page-gallery .gallery-section {
  padding: 96px 0;
  background: #f8f9fa;
}

.page-gallery .gallery-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.page-gallery .gallery-filter .btn {
  min-width: 120px;
  border-radius: 999px;
  padding: 11px 20px;
  font-weight: 600;
}

.page-gallery .gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.page-gallery .gallery-item img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.page-gallery .gallery-item:hover img {
  transform: scale(1.06);
}

.page-gallery .gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(34, 68, 52, 0.72);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.page-gallery .gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.page-gallery .gallery-overlay h4 {
  color: #fff;
  font-size: 1.35rem;
}

.page-contact .contact-section {
  padding: 96px 0;
  background: #faf9f4;
}

.page-contact .contact-wrapper {
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
}

.page-contact .contact-info {
  height: 100%;
  padding: 42px 32px;
  background: linear-gradient(135deg, #224434, #355f49);
  color: #fff;
}

.page-contact .contact-info h3 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 12px;
}

.page-contact .contact-info p {
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

.page-contact .info-box {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.page-contact .info-box .icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(200, 155, 74, 0.95);
}

.page-contact .info-box i {
  color: #fff;
  font-size: 1.1rem;
}

.page-contact .info-box span,
.page-contact .info-box small {
  color: rgba(255, 255, 255, 0.76);
}

.page-contact .info-box h6 {
  margin: 2px 0 4px;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
}

.page-contact .contact-form {
  height: 100%;
  padding: 36px 34px;
  background: #fff;
  box-shadow: none;
  border-radius: 0;
}

.page-contact .contact-form h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 10px;
}

.page-contact .contact-form form {
  margin-top: 24px;
}

.page-contact .form-group {
  margin-bottom: 22px;
}

.page-contact .form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--ink-soft);
}

.page-contact .form-control,
.page-contact .form-select {
  border: 1px solid rgba(31, 36, 32, 0.14);
  border-radius: 16px;
  padding: 14px 16px;
  min-height: 54px;
  background: #fbfaf6;
  box-shadow: none;
}

.page-contact textarea.form-control {
  min-height: 148px;
  resize: vertical;
}

.page-contact .form-control:focus,
.page-contact .form-select:focus {
  border-color: var(--clay);
  box-shadow: 0 0 0 4px rgba(181, 86, 58, 0.12);
}

.page-contact .submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #224434, #2f5c46);
  color: #fff;
  font-weight: 700;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
  box-shadow: 0 10px 24px rgba(34, 68, 52, 0.18);
}

.page-contact .submit-btn:hover {
  background: linear-gradient(135deg, #c89b6d, #d7ad7d);
  transform: translateY(-2px);
}

.page-contact .contact-inline-note {
  margin-top: 12px;
  min-height: 1.3em;
  color: var(--forest);
  font-weight: 600;
}

.page-contact .map-section iframe {
  display: block;
}

.page-blog-detail .blog-article {
  padding: 96px 0;
  background: #faf8f2;
}

.page-blog-detail .article-shell {
  max-width: 860px;
  margin: 0 auto;
  padding: 36px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.08);
}

.page-blog-detail .article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-bottom: 20px;
  color: #777;
  font-size: 0.9rem;
}

.page-blog-detail .article-shell h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 3vw, 2.7rem);
}

.page-blog-detail .article-shell p {
  color: var(--ink-soft);
  line-height: 1.9;
  margin-bottom: 16px;
}

.page-blog-detail .article-shell img {
  width: 100%;
  margin: 24px 0 28px;
  border-radius: 22px;
  object-fit: cover;
}

.page-blog-detail .article-checks {
  padding-left: 18px;
  margin: 24px 0;
}

.page-blog-detail .article-checks li {
  margin-bottom: 10px;
  color: var(--ink-soft);
}

@media (max-width: 991px) {
  .page-about .experience-box {
    right: 18px;
  }

  .page-contact .contact-info,
  .page-contact .contact-form {
    padding: 30px 24px;
  }

  .page-gallery .gallery-item img {
    height: 280px;
  }
}

@media (max-width: 767px) {
  .page-about .blog-hero,
  .page-services .blog-hero,
  .page-blogs .blog-hero,
  .page-gallery .gallery-hero,
  .page-contact .contact-hero,
  .page-blog-detail .blog-hero {
    min-height: 260px;
    padding: 56px 0;
  }

  .page-contact .contact-hero .row {
    min-height: auto;
  }

  .page-about .experience-box {
    position: relative;
    right: auto;
    bottom: auto;
    margin: -28px 0 0 auto;
  }

  .page-gallery .gallery-filter .btn {
    min-width: 0;
    width: calc(50% - 6px);
  }

  .page-gallery .gallery-item img {
    height: 230px;
  }

  .page-blog-detail .article-shell {
    padding: 26px 20px;
  }
}

@media (max-width: 575px) {
  .page-about .blog-hero h1,
  .page-services .blog-hero h1,
  .page-blogs .blog-hero h1,
  .page-gallery .gallery-hero h1,
  .page-contact .contact-hero h1,
  .page-blog-detail .blog-hero h1 {
    font-size: 2rem;
  }

  .page-about .about-page,
  .page-about .why-section,
  .page-about .counter-section,
  .page-about .cta-section,
  .page-services .services-page,
  .page-blogs .blogs,
  .page-gallery .gallery-section,
  .page-contact .contact-section,
  .page-blog-detail .blog-article {
    padding: 72px 0;
  }

  .page-gallery .gallery-filter .btn {
    width: 100%;
  }
}
/* =========================================
   Tablet
========================================= */

@media (max-width: 991px) {
  .about-page .row,
  .contact-section .row {
    row-gap: 40px;
  }

  .service-card {
    margin-bottom: 30px;
  }

  .gallery-item {
    margin-bottom: 25px;
  }

  .counter-box {
    margin-bottom: 20px;
  }

  .why-card {
    margin-bottom: 25px;
  }
}

/* =========================================
   Mobile
========================================= */

@media (max-width: 767px) {
  .blog-hero,
  .gallery-hero,
  .contact-hero {
    min-height: 250px;
    padding: 60px 0;
  }

  .hero-content {
    padding: 0 15px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 15px;
    line-height: 1.7;
  }

  .service-content {
    padding: 20px;
  }

  .service-content h4 {
    font-size: 22px;
  }

  .service-content p {
    font-size: 15px;
  }

  .gallery-item img {
    height: 240px;
  }

  .contact-info,
  .contact-form {
    padding: 25px 20px;
  }

  .experience-box {
    width: 160px;
    padding: 18px;
  }
}

/* =========================================
   Small Mobile
========================================= */

@media (max-width: 575px) {
  .blog-hero h1,
  .gallery-hero h1,
  .contact-hero h1 {
    font-size: 32px;
  }

  .blog-hero p,
  .gallery-hero p,
  .contact-hero p {
    font-size: 14px;
  }

  .gallery-item img {
    height: 210px;
  }

  .service-card img {
    height: 220px;
  }

  .contact-btn,
  .submit-btn {
    width: 100%;
  }
}

/* ---------- Final page-level mobile polish ---------- */
@media (max-width: 991px) {
  .page-about .about-page,
  .page-about .why-section,
  .page-about .counter-section,
  .page-about .cta-section,
  .page-services .services-page,
  .page-blogs .blogs,
  .page-gallery .gallery-section,
  .page-contact .contact-section,
  .page-blog-detail .blog-article {
    padding: 78px 0;
  }

  .page-services .service-card,
  .page-blogs .blog-card,
  .page-gallery .gallery-item,
  .page-blog-detail .article-shell,
  .page-contact .contact-wrapper {
    border-radius: 20px;
  }

  .page-services .service-card img,
  .page-blogs .blog-card img {
    height: 220px;
  }
}

@media (max-width: 767px) {
  .page-about .blog-hero,
  .page-services .blog-hero,
  .page-blogs .blog-hero,
  .page-gallery .gallery-hero,
  .page-contact .contact-hero,
  .page-blog-detail .blog-hero {
    min-height: 240px;
    padding: 48px 0;
  }

  .page-about .hero-content,
  .page-services .hero-content,
  .page-blogs .hero-content,
  .page-gallery .hero-content,
  .page-contact .contact-hero .container,
  .page-blog-detail .hero-content {
    padding-inline: 6px;
  }

  .page-about .blog-hero p,
  .page-services .blog-hero p,
  .page-blogs .blog-hero p,
  .page-gallery .gallery-hero p,
  .page-contact .contact-hero p,
  .page-blog-detail .blog-hero p {
    font-size: 0.96rem;
    line-height: 1.72;
  }

  .page-contact .contact-wrapper {
    overflow: hidden;
  }

  .page-contact .contact-info,
  .page-contact .contact-form {
    padding: 24px 18px;
  }

  .page-contact .info-box {
    gap: 12px;
  }

  .page-contact .submit-btn,
  .contact-btn {
    width: 100%;
  }

  .page-gallery .gallery-item img {
    height: 220px;
  }

  .page-blog-detail .article-shell {
    padding: 24px 18px;
  }
}

@media (max-width: 575px) {
  .page-about .about-page,
  .page-about .why-section,
  .page-about .counter-section,
  .page-about .cta-section,
  .page-services .services-page,
  .page-blogs .blogs,
  .page-gallery .gallery-section,
  .page-contact .contact-section,
  .page-blog-detail .blog-article {
    padding: 66px 0;
  }

  .page-services .service-content,
  .page-blogs .blog-content {
    padding: 20px 18px 22px;
  }

  .page-services .service-content h4,
  .page-blogs .blog-content h4 {
    font-size: 1.2rem;
  }

  .page-services .service-content p,
  .page-blogs .blog-content p {
    font-size: 0.94rem;
    line-height: 1.7;
  }

  .page-gallery .gallery-item img {
    height: 200px;
  }
}
