/* PDAFM custom styles */
.pdafm-quote-popup .modal-content {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1rem 3rem rgba(9, 30, 62, 0.35);
}

.pdafm-quote-popup .modal-header {
    background: linear-gradient(135deg, #091e3e 0%, #06a3da 100%);
    color: #fff;
    border: none;
    padding: 1.5rem 1.75rem;
}

.pdafm-quote-popup .modal-header .btn-close {
    filter: invert(1);
}

.pdafm-quote-popup .modal-body {
    padding: 1.75rem;
}

.pdafm-quote-popup .lead {
    color: #555;
    font-size: 1rem;
}

.pdafm-alert {
    border-radius: 8px;
}

.testimonial-item .testimonial-quote-icon {
    width: 48px;
    height: 48px;
    background: var(--primary, #06a3da);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.testimonial-item .pt-4 {
    font-style: italic;
    line-height: 1.7;
}

.feedback-page-center {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.feedback-intro {
    max-width: 720px;
    margin: 0 auto 2rem;
    text-align: center;
    line-height: 1.75;
    color: #555;
}

.feedback-intro h2 {
    font-size: 1.25rem;
    color: #091e3e;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.feedback-success-card {
    background: #e8f7ed;
    border: 1px solid #48af4b;
    border-radius: 8px;
    padding: 1.5rem 2rem;
    margin: 0 auto 2rem;
    max-width: 720px;
    text-align: center;
    line-height: 1.75;
}

.feedback-form-box {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 2rem;
    text-align: left;
    margin: 0 auto;
}

.pdafm-recaptcha-wrap {
    background: #fff;
    border-radius: 6px;
    padding: 8px 12px;
    display: inline-block;
    min-height: 78px;
}

.pdafm-recaptcha-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    background: transparent; /* let parent control background */
}

.g-recaptcha-pdafm,
.g-recaptcha {
    display: inline-block !important;
    min-height: 72px !important;
    width: 100% !important;
}

.g-recaptcha iframe {
    transform: none !important;
    visibility: visible !important;
}

.service-quote-row {
    align-items: stretch;
}

.service-quote-row .col-lg-4,
.service-quote-row .col-md-6 {
    display: flex;
    align-items: stretch;
    justify-content: center;
}

.service-quote-row .col-lg-4 > img,
.service-quote-row .col-md-6 > img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    max-height: 360px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

@media (max-width: 991px) {
    .service-quote-row .col-lg-4 > img,
    .service-quote-row .col-md-6 > img {
        min-height: 220px;
        max-height: none;
        margin-bottom: 1rem;
    }
}

.feedback-form-box label {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.feedback-form-box input[type="text"],
.feedback-form-box input[type="email"],
.feedback-form-box textarea {
    width: 100%;
    max-width: 480px;
    padding: 0.5rem 0.75rem;
    border: 1px solid #dee2e6;
    border-radius: 4px;
}

.feedback-form-box textarea {
    min-height: 120px;
}

.feedback-rating-group label {
    font-weight: normal;
    display: inline-block;
    margin-right: 1rem;
}

.hero-static {
    position: relative;
    overflow: hidden;
}

.hero-static img {
    min-height: 400px;
    object-fit: cover;
    display: block;
}

.hero-static .carousel-caption {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

@media (max-width: 768px) {
    .hero-static img {
        min-height: 280px;
    }
}
