.comments-area a,
.page-content a {
  text-decoration: underline;
}
.alignright {
  float: right;
  margin-left: 1rem;
}
.alignleft {
  float: left;
  margin-right: 1rem;
}
.aligncenter {
  clear: both;
  display: block;
  margin-inline: auto;
}
.alignwide {
  margin-inline: -80px;
}
.alignfull {
  margin-inline: calc(50% - 50vw);
  max-width: 100vw;
}
.alignfull,
.alignfull img {
  width: 100vw;
}
.wp-caption {
  margin-block-end: 1.25rem;
  max-width: 100%;
}
.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}
.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}
.wp-caption img {
  display: block;
  margin-inline: auto;
}
.wp-caption-text {
  margin: 0;
}
.gallery-caption {
  display: block;
  font-size: 0.8125rem;
  line-height: 1.5;
  margin: 0;
  padding: 0.75rem;
}
.pagination {
  display: flex;
  justify-content: space-between;
  margin: 20px auto;
}
.sticky {
  display: block;
  position: relative;
}
.bypostauthor {
  font-size: inherit;
}
.hide {
  display: none !important;
}
.post-password-form {
  margin: 50px auto;
  max-width: 500px;
}
.post-password-form p {
  align-items: flex-end;
  display: flex;
  width: 100%;
}
.post-password-form [type="submit"] {
  margin-inline-start: 3px;
}
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  overflow: hidden;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  background-color: #eee;
  clip: auto !important;
  clip-path: none;
  color: #333;
  display: block;
  font-size: 1rem;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 12px 24px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}
.post .entry-title a {
  text-decoration: none;
}
.post .wp-post-image {
  max-height: 500px;
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
}
@media (max-width: 991px) {
  .post .wp-post-image {
    max-height: 400px;
  }
}
@media (max-width: 575px) {
  .post .wp-post-image {
    max-height: 300px;
  }
}
#comments .comment-list {
  font-size: 0.9em;
  list-style: none;
  margin: 0;
  padding: 0;
}
#comments .comment,
#comments .pingback {
  position: relative;
}
#comments .comment .comment-body,
#comments .pingback .comment-body {
  border-block-end: 1px solid #ccc;
  display: flex;
  flex-direction: column;
  padding-block-end: 30px;
  padding-block-start: 30px;
  padding-inline-end: 0;
  padding-inline-start: 60px;
}
#comments .comment .avatar,
#comments .pingback .avatar {
  border-radius: 50%;
  left: 0;
  margin-inline-end: 10px;
  position: absolute;
}
body.rtl #comments .comment .avatar,
body.rtl #comments .pingback .avatar,
html[dir="rtl"] #comments .comment .avatar,
html[dir="rtl"] #comments .pingback .avatar {
  left: auto;
  right: 0;
}
#comments .comment-meta {
  display: flex;
  justify-content: space-between;
  margin-block-end: 0.9rem;
}
#comments .comment-metadata,
#comments .reply {
  font-size: 11px;
  line-height: 1;
}
#comments .children {
  list-style: none;
  margin: 0;
  padding-inline-start: 30px;
  position: relative;
}
#comments .children li:last-child {
  padding-block-end: 0;
}
#comments ol.comment-list .children:before {
  content: "↪";
  display: inline-block;
  font-size: 1em;
  font-weight: 400;
  left: 0;
  line-height: 100%;
  position: absolute;
  top: 45px;
  width: auto;
}
body.rtl #comments ol.comment-list .children:before,
html[dir="rtl"] #comments ol.comment-list .children:before {
  content: "↩";
  left: auto;
  right: 0;
}
@media (min-width: 768px) {
  #comments .comment-author,
  #comments .comment-metadata {
    line-height: 1;
  }
}
@media (max-width: 767px) {
  #comments .comment .comment-body {
    padding: 30px 0;
  }
  #comments .children {
    padding-inline-start: 20px;
  }
  #comments .comment .avatar {
    float: left;
    position: inherit;
  }
  body.rtl #comments .comment .avatar,
  html[dir="rtl"] #comments .comment .avatar {
    float: right;
  }
}
.page-header .entry-title,
.site-footer .footer-inner,
.site-footer:not(.dynamic-footer),
.site-header .header-inner,
.site-header:not(.dynamic-header),
body:not([class*="elementor-page-"]) .site-main {
  margin-inline-end: auto;
  margin-inline-start: auto;
  width: 100%;
}
@media (max-width: 575px) {
  .page-header .entry-title,
  .site-footer .footer-inner,
  .site-footer:not(.dynamic-footer),
  .site-header .header-inner,
  .site-header:not(.dynamic-header),
  body:not([class*="elementor-page-"]) .site-main {
    padding-inline-end: 10px;
    padding-inline-start: 10px;
  }
}

.site-header + .elementor {
  min-height: calc(100vh - 320px);
  padding-block-start: 0;
}

/* Services Styles */

/* Single Service Styles */
.service-single .service-featured-image {
  margin: 2rem 0;
  text-align: center;
}

.service-single .service-featured-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.service-single .service-content {
  margin: 2rem 0;
  font-size: 1.1rem;
  line-height: 1.7;
}

.service-single .service-price {
  margin: 2rem 0;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 8px;
  text-align: center;
}

.service-single .service-price h3 {
  margin: 0 0 1rem 0;
  color: #333;
}

.service-single .service-price .price-value {
  font-size: 2rem;
  font-weight: bold;
  color: #0073aa;
  margin: 0;
}

.service-short-description {
  margin: 2rem 0;
  padding: 1.5rem;
  background: #fff;
  border-left: 4px solid #0073aa;
}

.service-short-description h3 {
  margin: 0 0 1rem 0;
  color: #333;
}

.service-features {
  margin: 2rem 0;
}

.service-features h3 {
  margin: 0 0 1.5rem 0;
  color: #333;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-item {
  margin: 0 0 1.5rem 0;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #0073aa;
}

.feature-item h4 {
  margin: 0 0 0.75rem 0;
  color: #333;
  font-size: 1.2rem;
}

.feature-item p {
  margin: 0;
  color: #666;
  line-height: 1.6;
}

.service-portfolio {
  margin: 2rem 0;
}

.service-portfolio h3 {
  margin: 0 0 1.5rem 0;
  color: #333;
}

.portfolio-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.portfolio-item {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.portfolio-item:hover {
  transform: scale(1.02);
}

.portfolio-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-info {
    padding: 1rem;
  }

  .service-title {
    font-size: 1.3rem;
  }

  .portfolio-gallery {
    grid-template-columns: 1fr;
  }

  .service-single .service-price .price-value {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .service-card {
    margin: 0 1rem;
  }

  .service-info {
    padding: 0.75rem;
  }

  .service-title {
    font-size: 1.2rem;
  }

  .feature-item,
  .service-short-description,
  .service-single .service-price {
    padding: 1rem;
  }
}

/* Footer Styles - inspired by constructremodel.com design */
.site-footer-custom {
  background-color: #000000;
  width: 100%;
}

.footer-container {
  max-width: 1350px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-spacer {
  height: 1px;
  background-color: #fff;
  width: 100%;
  opacity: 0.2;
}

.footer-copyright-wrapper {
  padding-top: 1rem;
  padding-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.footer-copyright {
  color: #fff;
  font-size: 12px;
  font-weight: 300;
  color: #f8f6ef;
}

/* Footer Logo Styles */
.footer-top {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.footer-logo a {
  display: inline-block;
  text-decoration: none;
}

.footer-logo img,
.footer-custom-logo {
  height: auto;
  max-width: 100%;
  display: block;
  max-height: 60px;
  width: auto;
}

.footer-logo .site-title {
  margin: 0;
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1.2;
}

.footer-logo .footer-title-link {
  color: white;
  text-decoration: none;
}

.footer-logo .footer-title-link:hover .site-title {
  color: #ccc;
  transition: color 0.3s ease;
}

.footer-logo .footer-logo-link {
  display: inline-block;
  line-height: 0;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-social a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
  background-color: #2d343e;
  padding: 0.5rem 1rem;
  border-radius: 10%;
}

.footer-social a:hover {
  background-color: #fff;
  color: #000;
}

.wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.wpcf7-form .wpcf7-submit {
  background-color: #212c3e;
  color: #ffffff;
  font-size: 17px;
  font-weight: 600;
  text-transform: uppercase;
  font-style: normal;
  text-decoration: none;
  line-height: 1.5em;
  letter-spacing: 0;
  border-radius: 0 0 0 0;
  padding: 20px 120px;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}
.wpcf7-form .wpcf7-submit:hover {
  gap: 1.2rem;
}
.wpcf7-form .cf7-row {
  display: flex;
  width: 100%;
  gap: 20px;
  justify-content: space-between;
}
.wpcf7-form .cf7-row p {
  width: 100%;
}
.wpcf7-form .cf7-row.content-center {
  justify-content: center;
  text-align: center;
}
.wpcf7-form .cf7-row.cols-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.wpcf7-form .wpcf7-text,
.wpcf7-form .wpcf7-textarea {
  background-color: #ffffff;
  border-color: #b3adad;
  border-width: 0 0 2px 0;
  border-radius: 0 0 0 0;
  font-size: 17px;
  font-weight: 300;
  text-transform: none;
  font-style: normal;
  text-decoration: none;
  line-height: 1.5em;
  letter-spacing: 0.5px;
  width: 100%;
}
.wpcf7-form .wpcf7-text::placeholder,
.wpcf7-form .wpcf7-textarea::placeholder {
  font-size: 17px;
  font-weight: 300;
}
.wpcf7-form .wpcf7-text:focus,
.wpcf7-form .wpcf7-textarea:focus {
  outline: none;
}

@media (max-width: 768px) {
  .wpcf7-form .cf7-row.cols-2 {
    grid-template-columns: 1fr;
  }
  .footer-copyright-wrapper {
    justify-content: center;
    padding: 1rem;
    text-align: center;
  }
  .footer-top {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .footer-logo {
    justify-content: center;
  }
}
