/* 
 Theme Name:   cpa-child
 Theme URI:    
 Description:  
 Author:       
 Author URI:   
 Template:     cpa-accountant
 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;
}
h3 {
  font-size: clamp(1.4rem, 3vw, 1.7rem) !important;
}
p {
  margin-bottom: 0.5rem !important;
}
.home .content_area .article_content {
  padding: 10px;
  background: #fff;
  border-bottom: 1px solid #1d4a27;
  border-left: 1px solid #1d4a27;
  border-right: 1px solid #1d4a27;
}

#post_section [class^="col-"] {
  margin-bottom: 15px;
}
.site-footer {
  background: #111;
  color: #ddd;
}

.footer-logo {
  max-width: 160px;
}

.footer-title {
  color: #fff;
  margin-bottom: 15px;
  font-size: 1.25rem;
}

.site-footer a {
  color: #bbb;
  text-decoration: none;
  transition: 0.3s ease;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer ul li {
  margin-bottom: 10px;
}

.site-footer p {
  line-height: 1.7;
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.1);
}

.newsletter-form .form-control {
  min-height: 48px;
  border: none;
  box-shadow: none;
}

.newsletter-form .btn {
  min-height: 48px;
  padding-left: 20px;
  padding-right: 20px;
}

@media (max-width: 767.98px) {
  .site-footer .col-12 {
    text-align: center;
  }

  .footer-logo {
    margin-left: auto;
    margin-right: auto;
    display: block;
  }

  .newsletter-form {
    max-width: 320px;
    margin: 0 auto;
  }
  .input-group > .form-control {
    width: 100% !important;
  }
}

footer img {
  filter: brightness(0) invert(1);
}
.box {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  height: 100%;
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
}

.box:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.box h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #111;
  line-height: 1.3;
}

.box p {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 0;
}
.single-post .article-text img {
  border-radius: 25px;
}
.cust-bg {
  background: #f8f9fb;
  border: 1px solid #e9edf3;
  border-radius: 16px;
  padding: 15px;
  margin: 30px 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.cust-bg h2 {
  font-size: 28px;
  line-height: 1.3;
  font-weight: 700;
  color: #111;
  margin-bottom: 18px;
  margin-top: 30px;
}

.cust-bg h2:first-child {
  margin-top: 0;
}

.cust-bg p {
  font-size: 16px;
  line-height: 1.8;
  color: #4b5563;
  margin-bottom: 16px;
}

.article_content ul,
ol {
  margin: 0 0 1.5em;
  padding: 0;
  padding-left: 1.5rem !important;
  color: #8d8d8d;
}
section {
  padding: 15px 0;
}
.article_content a {
  text-decoration: none;
}
#inner-pages-header .header-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #022c22, #065f46);
  left: 0;
  top: 0;
}
#inner-pages-header h1 {
  color: #ffffff !important;
}
#inner-pages-header .innheader-border {
  border-color: #ffffff !important;
}
#inner-pages-header {
  padding: 2em 0;
}
.contact-section {
  padding: 10px 20px;
}

.contact-container {
  margin: 0 auto;
  background: #fff;
  padding: 15px;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.contact-container h2 {
  margin: 0 0 12px;
  font-size: 32px;
  line-height: 1.2;
  color: #111;
}

.contact-container p {
  margin: 0 0 25px;
  color: #555;
  line-height: 1.7;
}

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

.contact-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #222;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #dcdfe5;
  border-radius: 10px;
  font-size: 15px;
  color: #222;
  background: #fff;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #0f766e;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form button {
  display: inline-block;
  border: none;
  background: #0f766e;
  color: #fff;
  padding: 14px 22px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.contact-form button:hover {
  background: #0b5d57;
  transform: translateY(-1px);
}