/* ==========================================================================
   Custom Styles
   ========================================================================== */

/* Page titles are now removed via WordPress hooks in functions.php */
a:hover {
    transition: all .4s ease-in;
}


.ast-hfb-header .site-header {
    margin: 0 !important;
    padding-left: 5%;
    padding-right: 5%;
    border-bottom: 1px solid #ebebeb;
}

body.ast-hfb-header:not(.home) .main-header-bar {
    background: transparent !important;
}

body.ast-hfb-header:not(.home) .site-header {
    background-color: #f0f5fa;
}

.ast-primary-header-bar {
    border: 0;
}

.header-phone {
    font-size: 15px;
    line-height: 1.2;
    font-weight: 500;
    color: #000;
}
.header-phone a {
    font-size: 20px;
    font-weight: 700;
    display: block;
    margin-top: 8px;
    color: #ff3131;
}

.uagb-tabs__wrap .uagb-tabs__body-wrap {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.wp-block-uagb-tabs {
    justify-content: stretch !important;

}

.uagb-tabs__wrap .uagb-tabs__panel {
    justify-content: flex-start !important;
    background-color: #1800ad;
}

.uagb-tabs__wrap .uagb-tabs__body-container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/*Testimonial Slider*/

.uagb-slick-carousel .slick-list,
.uagb-slick-carousel .slick-track {
    display: flex !important;
}
.uagb-slick-carousel .uagb-testimonial__wrap {
    padding: 10px;
}

.uagb-slick-carousel .slick-slide > div,
.uagb-slick-carousel .uagb-testimonial__wrap,
.uagb-slick-carousel .slick-slide .uagb-tm__content {
    height: 100%;
}

.uagb-slick-carousel .slick-slide .uagb-tm__content {
    border: 1px solid #ebebeb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.uagb-slick-carousel .uagb-tm__desc {
    max-height: 200px;
    overflow: hidden;
    overflow-y: auto;
    margin-bottom: 0 !important
}

.uagb-slick-carousel .uagb-tm__text-wrap {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
}

.uagb-slick-carousel .uagb-testimonial-details {
    display: block;
}

.uagb-slick-carousel .uagb-tm__author-name {
    padding-bottom: 20px;
    background-image: url(../images/5star-rating.png);
    background-repeat: no-repeat;
    background-position: left bottom;
    margin-bottom: 15px;
}

/*Contact Form*/
/* Form wrapper */
.wpcf7-form {
  max-width: 600px;
  margin: 0 auto;
  font-family: inherit;
}

.wpcf7 .wpcf7-form-control-wrap {
    margin-top: 10px;
}

/* Labels */
.wpcf7-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
}

/* Inputs & Textarea */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Focus state */
.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
  border-color: #3b82f6; /* Astra blue */
  box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
  outline: none;
}

/* Submit button */
.wpcf7-form input[type="submit"] {
  background: #1800ad;
  color: #fff;
  border: none;
  padding: 12px 28px;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.wpcf7-form input[type="submit"]:hover {
  background: #ff3131;
}

/* Error messages */
.wpcf7-not-valid-tip {
  color: #e11d48;
  font-size: 13px;
  margin-top: 4px;
}

.wpcf7-response-output {
  margin-top: 16px;
  padding: 12px;
  border-radius: 4px;
  font-size: 14px;
}

/* Success message */
.wpcf7-mail-sent-ok {
  border: 1px solid #22c55e;
  background: #ecfdf5;
  color: #166534;
}

/* Error message */
.wpcf7-validation-errors,
.wpcf7-acceptance-missing {
  border: 1px solid #e11d48;
  background: #fef2f2;
  color: #991b1b;
}

/*Sidebar*/

.ast-separate-container .ast-article-post,
.ast-separate-container .ast-article-single {
    padding: 0 1em 1em;
}

.sidebar-main .widget {
    background-color: #f0f5fa;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    padding: 25px 30px 20px !important;
    border-radius: 8px;
}

/* Recent Posts Widget */
.widget_recent_entries {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.sidebar-main .widget .widget-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid #f0f0f0;
  color: #333;
}

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

.widget_recent_entries ul li {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed #e5e5e5;
}

.widget_recent_entries ul li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.widget_recent_entries ul li a {
    color: #2563eb;
    text-decoration: none;
    font-size: 16px;
    line-height: 1.4;
    transition: color 0.2s ease;
    font-weight: bold;
}

.widget_recent_entries ul li a:hover {
  color: #1d4ed8; /* darker blue on hover */
  text-decoration: underline;
}

/*Footer */

.site-footer .ast-builder-footer-grid-columns {
    max-width: 1310px !important;
    padding-left: 15px;
    padding-right: 15px;
}

.site-footer .site-footer-section-2,
.site-footer .site-footer-section-3 {
    padding-left: 50px;
}

.site-footer .widget-title {
    margin-bottom: 10px;
    font-size: 26px;
}

.site-footer .widget ul {}
.site-footer .widget ul li {

}
.site-footer .widget ul li:not(:last-child) {
    margin-bottom: 10px;
}

.site-footer .widget ul li a {
    display: block;
    font-size: 16px;
    font-weight: 600;
}

.footer-nap-item {
    position: relative;
    padding-left: 30px;
    font-size: 15px;
    font-weight: 700;
}

.footer-nap-thumb {
    position: absolute;
    left: 0;
    top: 2px;
}


/* ==========================================================================
   Responsive Styles
   ========================================================================== */


@media (max-width: 1440px) {

    .ast-hfb-header .site-header {
        padding-left: 0;
        padding-right: 0;
    }

}

@media (max-width: 768px) {

}


