/* 
 Theme Name:   di-child
 Theme URI:    
 Description:  
 Author:       
 Author URI:   
 Template:     di-business
 Version:      1.0

 /* == Add your own styles below this line ==
--------------------------------------------*/

h1 {
  font-size: clamp(2rem, 4vw, 2.5rem) !important;
}
h2 {
  font-size: clamp(1.6rem, 3vw, 2rem) !important;
  color: #388e3c;
}
h3 {
  font-size: clamp(1.4rem, 3vw, 1.7rem) !important;
}
p {
  margin-bottom: 0.5rem !important;
}
html {
  overflow-x: hidden !important;
}
@media (min-width: 1200px) {
  .container {
    max-width: 1300px !important;
  }
}
section {
  margin: 30px 0 !important;
}
.heading {
  margin-bottom: 21px;
  font-family: "Arial", sans-serif;
}

.heading h2 {
  color: #333;
  position: relative;
  display: inline-block;
  margin-bottom: 15px;
}

.heading h2::after {
  content: "";
  display: block;
  width: 60px; /* length of the line */
  height: 4px; /* thickness of the line */
  background-color: #4caf50; /* green color */
  border-radius: 2px; /* slight rounding for modern look */
  margin: 11px auto 5px;
}

.heading p {
  color: #555;
  line-height: 1.6;
  margin: 0 auto;
}
.box {
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 12px;
  padding: 19px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  height: 100%;
}
.cust-bg {
  background: #f9fdf9; /* very light green background */
  padding: 30px 11px;
  border-radius: 12px;
  margin: 40px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); /* soft shadow for depth */
}

.cust-bg h2 {
  text-align: center;
  font-size: 2em;
  color: #2e7d32; /* deep green */
  margin-bottom: 20px;
  position: relative;
}

.cust-bg h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: #43a047; /* green accent line */
  margin: 10px auto 0;
  border-radius: 2px;
}

.cust-bg p {
  margin: 0 auto 20px;
  font-size: 1.05em;
  line-height: 1.7;
  color: #444;
}

.cust-bg h3 {
  margin-top: 35px;
  font-size: 1.4em;
  color: #388e3c; /* softer green */
  text-align: left;
}

.cust-bg h3 + p {
  text-align: left;
  color: #555;
}
.full-width-section {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
.img_el {
  padding: 50px 0;
  position: relative;
  margin-top: 17px;
}
.img_el:before {
  content: "";
  background: color-mix(in srgb, #00000091, transparent 10%);
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 17px;
}
.img_el .img_el-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url("/wp-content/themes/di-child/assets/images/kwaam-kit-saang-san.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  border-radius: 17px;
}
.img_el .container {
  position: relative;
  z-index: 3;
}
.img_el .container h2,
.img_el .container p {
  color: white !important;
}
.img_el .container h3 {
  color: #ffffff;
}
.img_el .container h4 {
  color: #ffffff;
}
.content-third {
  padding: 6px !important;
}
.img-section {
  border-radius: 14px;
  overflow: visible;
  margin-bottom: 1.5rem;
  position: relative;
}
.img-section .section-top-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  box-shadow: 0 6px 18px rgba(2, 6, 23, 0.06);
}
.img-section__content {
  background: linear-gradient(180deg, #fff 0, #c7e5cb 100%);
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  padding: 1.25rem 17px;
  margin-top: -6px;
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.04);
}
.img-section__content h2 {
  background: linear-gradient(
    90deg,
    rgba(99, 102, 241, 0.12),
    rgba(16, 185, 129, 0.04)
  );
  color: #0f172a;
  padding: 0.4rem 5px;
  border-radius: 8px;
  margin-bottom: 0.4rem;
  box-shadow: 0 4px 12px rgba(2, 6, 23, 0.03);
}
.img-section__content h3 {
  color: #0b1220;
  font-weight: 600;
}
@media (min-width: 992px) {
  .navbar-expand-lg .navbar-collapse {
    justify-content: center !important;
  }
}
@media (max-width: 992px) {
  .navbarprimary .navbar-header {
    width: 100%;
  }
}
@media (max-width: 992px) {
  .navbarprimary .navbar-toggler {
    padding: 0.3rem 0.5rem;
    font-size: 1rem;
  }
}
@media (max-width: 992px) {
  .navbarprimary .navbar-toggler {
    margin: 5px 10px 5px 0px;
    float: right;
  }
}

.contact-box {
  background: #fff;
  padding: 25px 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  width: 100%;
}

.contact-box__title {
  margin-bottom: 15px;
  color: #333;
  font-size: 22px;
  text-align: center;
}

.contact-box__info {
  text-align: center;
  margin-bottom: 20px;
  font-size: 14px;
  color: #555;
}

.contact-box__group {
  margin-bottom: 15px;
}

.contact-box__label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: #555;
}

.contact-box__input,
.contact-box__textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}

.contact-box__input:focus,
.contact-box__textarea:focus {
  border-color: #00ff44;
  outline: none;
}

.contact-box__textarea {
  resize: none;
  height: 100px;
}

.contact-box__btn {
  width: 100%;
  padding: 12px;
  background: #107730;
  border: none;
  border-radius: 6px;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-box__btn:hover {
  background: #024b2e;
}

.newsletter {
  text-align: right;
}

.newsletter h5 {
  color: #68ac10;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 12px;
  text-align: center;
}

.footer-newsletter-form {
  max-width: 280px;
  margin-left: auto;
}

.newsletter-input-group {
  display: flex;
  background: #fff;
  border: 2px solid #e9ecef;
  border-radius: 25px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.newsletter-input-group:focus-within {
  border-color: #007bff;
  box-shadow: 0 2px 15px rgba(0, 123, 255, 0.2);
}

.newsletter-input-group .form-control {
  border: none;
  background: transparent;
  padding: 10px 15px;
  font-size: 0.9rem;
  outline: none;
  box-shadow: none;
  flex: 1;
}

.newsletter-input-group .form-control:focus {
  box-shadow: none;
  outline: none;
}

.newsletter-input-group .form-control::placeholder {
  color: #999;
  font-size: 0.85rem;
}

.newsletter-submit-btn {
  background: linear-gradient(135deg, #00ff44, #107730);
  border: none;
  padding: 10px 15px;
  color: white;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 45px;
}

.newsletter-submit-btn:hover {
  background: linear-gradient(135deg, #059b2d, #0a461d);
  transform: translateX(-2px);
}

.newsletter-submit-btn i {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.newsletter-submit-btn:hover i {
  transform: translateX(2px);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .newsletter {
    text-align: center;
    margin-top: 20px;
  }

  .footer-newsletter-form {
    margin: 0 auto;
    max-width: 250px;
  }

  .newsletter h5 {
    font-size: 0.9rem;
    margin-bottom: 10px;
  }

  .newsletter-input-group .form-control {
    padding: 8px 12px;
    font-size: 0.85rem;
  }

  .newsletter-submit-btn {
    padding: 8px 12px;
    min-width: 40px;
  }
}

.err {
  min-height: 77vh !important;
}