/* ==========================================================================
   KhemaraDev – site overrides
   Keeps the original look while using an SEO-friendly heading structure
   (one <h1> per page) and styles the footer and promotional notice.
   ========================================================================== */

/* Inner-page title is now an <h1> – match the theme's original <h2> styling */
.page-title-area .title-item h1 {
  font-size: 65px;
  color: #fff;
  margin-bottom: 5px;
}

/* Home slider: only the first slide uses <h1>; the others use <h2 class="banner-heading"> */
.banner-content .banner-heading {
  color: #fff;
  font-size: 55px;
  margin-bottom: 20px;
}

/* Intro text blocks */
.page-intro {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.page-intro p {
  margin-bottom: 15px;
}

/* Promotional notice (replaces the deprecated <marquee>) */
.promo-notice {
  background-color: #fdf0f5;
  border-left: 4px solid #d81157;
  color: #302c51;
  font-weight: 600;
  padding: 15px 20px;
  border-radius: 6px;
  margin-bottom: 0;
}

.promo-notice i {
  color: #d81157;
  margin-right: 8px;
}

/* Domain extensions list */
.domain-tlds {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 0;
  margin: 20px 0 0;
}

.domain-tlds li {
  list-style-type: none;
  background-color: #fff;
  border: 1px solid #e5e5ef;
  border-radius: 20px;
  padding: 6px 18px;
  font-weight: 600;
  color: #302c51;
}

/* FAQ */
.faq-item {
  margin-bottom: 25px;
}

.faq-item h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

/* Footer */
.footer-area .footer-item p,
.footer-area .footer-item a {
  color: #fff;
}

.footer-area .footer-item .footer-links ul,
.footer-area .footer-item .footer-contact ul {
  padding-left: 0;
  margin-bottom: 0;
}

.footer-area .footer-logo img {
  max-height: 60px;
  margin-bottom: 20px;
}

@media only screen and (max-width: 767px) {
  .page-title-area .title-item h1 {
    font-size: 35px;
  }
  .banner-content .banner-heading {
    font-size: 28px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .page-title-area .title-item h1 {
    font-size: 45px;
  }
  .banner-content .banner-heading {
    font-size: 45px;
  }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .banner-content .banner-heading {
    font-size: 45px;
  }
}

/* Extended footer: keeps the Phnom Penh skyline and continues its colour below */
.footer-area.footer-rich {
  background-image: url('../img/footer_bg.png'), linear-gradient(to bottom, transparent 228px, #2e4c69 228px);
  background-repeat: repeat-x, no-repeat;
  background-position: top left, top left;
  background-size: auto, 100% 100%;
  padding-top: 230px;
}

.footer-area.footer-rich .footer-item h3 {
  font-size: 20px;
  margin-bottom: 20px;
}

.footer-area.footer-rich .copyright-area {
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* Home service cards: equal height in each row */
.feature-area.two .row > [class*="col-"] {
  display: flex;
}

.feature-area.two .feature-item {
  width: 100%;
}

.feature-item h2 {
  margin-bottom: 10px;
  font-size: 22px;
}

.feature-item h2 a {
  color: #fff;
}

.feature-item h2 a:hover {
  letter-spacing: 1px;
}

.section-title h2 a {
  color: inherit;
}

.section-title h2 a:hover {
  color: #d81157;
}

.pt-30 {
  padding-top: 30px;
}

/* In-page anchors (e.g. our_services.php#web-development) clear the sticky navbar */
[id] {
  scroll-margin-top: 110px;
}

/* Section headings promoted from <h3> to <h2 class="h3"> for a correct outline */
.rules-area .rules-item h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

.testimonial-area .testimonial-content h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

/* Home: second row of service cards uses different colours from the first row */
.feature-item.four {
  background-color: #d81157;
}

.feature-item.five {
  background-color: #1a73b8;
}

.feature-item.six {
  background-color: #7b3fa0;
}

/* Privacy Policy sub-sections on the Terms page */
.rules-area .rules-item .policy-subtitle {
  font-size: 18px;
  margin: 20px 0 10px;
}

.rules-area .rules-item ul.policy-list {
  margin-bottom: 20px;
}

.rules-area .rules-item ul.policy-list li {
  display: block;
}
