/* CTA Modal Styles */

#ctaModal {
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

#ctaModal:not(.hidden) {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

#ctaModal.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

#modalOverlay {
    transition: opacity 0.3s ease-in-out;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 40;
}

#ctaModal.hidden #modalOverlay {
    opacity: 0;
}

/* Modal entrance animation */
#ctaModal:not(.hidden) .transform {
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Close button hover effects */
#closeModal {
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

#closeModal:hover {
    transform: scale(1.1);
}

/* Form focus states */
#ctaModal .form-control:focus {
    transform: translateY(-1px);
    transition: transform 0.2s ease-in-out;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #ctaModal .sm\:max-w-2xl {
        max-width: 95vw;
        margin: 1rem;
    }
    
    #ctaModal .p-10 {
        padding: 1.5rem;
    }
}

/* Ensure modal is above other elements */
#ctaModal {
    z-index: 9999;
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden;
}

/* Ensure modal content is properly positioned */
#ctaModal .relative {
    position: relative;
}

/* Fix for Tailwind hidden class compatibility */
#ctaModal.hidden {
    display: flex !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

#ctaModal:not(.hidden) {
    display: flex !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Ensure modal panel is properly positioned */
#ctaModal .relative.z-10 {
    position: relative;
    z-index: 50;
}

/* Ensure proper z-index for modal elements */
#ctaModal {
    z-index: 9999;
}

#ctaModal .iti__country-list {
    z-index: 100001 !important;
    position: absolute !important;
    transform: translateZ(0) !important;
}

#ctaModal .iti__dropdown {
    z-index: 100001 !important;
    position: relative !important;
}

/* Fix label positioning in modal */
#ctaModal .form-floating .iti input:focus ~ label,
#ctaModal .form-floating .iti input:not(:placeholder-shown) ~ label {
    left: 60px !important;
    z-index: 3 !important;
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem) !important;
    color: #959ca9 !important;
}
.cta-section {
    position: relative;
    background-color: #343f52;
    background-image: url('/assets/img/cta_background.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(
        115deg,
        rgba(52, 63, 82, 0.94) 0%,
        rgba(52, 63, 82, 0.82) 50%,
        rgba(52, 63, 82, 0.9) 100%
    );
    pointer-events: none;
}

.cta-section > .container {
    position: relative;
    z-index: 1;
}

.cta-section .card {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.featured-image {
    position: relative;
    max-width: 100%;
}

.featured-image__glow {
    pointer-events: none;
    position: absolute;
    right: -1rem;
    bottom: -1rem;
    z-index: 0;
    width: 85%;
    height: 85%;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, rgba(73, 147, 142, 0.28) 0%, rgba(73, 147, 142, 0.08) 45%, rgba(52, 63, 82, 0.12) 100%);
}

.featured-image__frame {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-radius: 0.75rem;
    box-shadow: 0 1.25rem 3rem rgba(30, 34, 40, 0.14);
    outline: 1px solid rgba(164, 174, 198, 0.22);
    background: #fff;
}

.featured-image__img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 5 / 4;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.featured-image__frame:hover .featured-image__img {
    transform: scale(1.02);
}

.featured-image__overlay {
    pointer-events: none;
    position: absolute;
    inset: 0;
    opacity: 0;
    background: linear-gradient(to top, rgba(52, 63, 82, 0.12) 0%, transparent 55%);
    transition: opacity 0.3s ease;
}

.featured-image__frame:hover .featured-image__overlay {
    opacity: 1;
}

.featured-image--portrait .featured-image__img {
    aspect-ratio: 4 / 5;
}

.featured-image--compact {
    max-width: 220px;
}
.service-card {
    display: flex;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.service-card__inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100%;
    padding: 1.75rem 1.5rem 1.5rem;
    border-radius: 0.75rem;
    background: #ffffff;
    border: 1px solid rgba(164, 174, 198, 0.22);
    box-shadow: 0 0.65rem 2rem rgba(30, 34, 40, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover .service-card__inner,
.service-card:focus-visible .service-card__inner {
    transform: translateY(-0.2rem);
    border-color: rgba(73, 147, 142, 0.35);
    box-shadow: 0 1rem 2.5rem rgba(30, 34, 40, 0.12);
}

.service-card:focus-visible .service-card__inner {
    outline: 2px solid rgba(73, 147, 142, 0.45);
    outline-offset: 2px;
}

.service-card__icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0.45rem;
    margin-bottom: 0.35rem;
    border-radius: 0.65rem;
    background: linear-gradient(145deg, rgba(73, 147, 142, 0.16) 0%, rgba(73, 147, 142, 0.06) 100%);
    border: 1px solid rgba(73, 147, 142, 0.18);
    box-sizing: border-box;
}

.service-card__icon {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.service-card__title {
    margin: 0 0 0.65rem;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    color: #343f52;
}

.service-card__text {
    margin: 0 0 1.25rem;
    flex-grow: 1;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #60697b;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(164, 174, 198, 0.2);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #49938e;
}

.service-card__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: rgba(73, 147, 142, 0.1);
    transition: transform 0.25s ease, background 0.25s ease;
}

.service-card__arrow::before {
    content: '→';
    font-size: 1rem;
    line-height: 1;
}

.service-card:hover .service-card__arrow,
.service-card:focus-visible .service-card__arrow {
    transform: translateX(0.15rem);
    background: rgba(73, 147, 142, 0.18);
}
.video-card-col {
    display: flex;
}

.video-card {
    display: flex;
    width: 100%;
    text-decoration: none;
    color: inherit;
}

.video-card__inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-radius: 0.75rem;
    background: #ffffff;
    border: 1px solid rgba(164, 174, 198, 0.22);
    box-shadow: 0 0.65rem 2rem rgba(30, 34, 40, 0.06);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.video-card:hover .video-card__inner,
.video-card:focus-visible .video-card__inner {
    transform: translateY(-0.25rem);
    border-color: rgba(73, 147, 142, 0.35);
    box-shadow: 0 1.15rem 2.75rem rgba(30, 34, 40, 0.14);
}

.video-card:focus-visible .video-card__inner {
    outline: 2px solid rgba(73, 147, 142, 0.45);
    outline-offset: 2px;
}

.video-card__media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #e8ecf3;
}

.video-card__thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.video-card:hover .video-card__thumb,
.video-card:focus-visible .video-card__thumb {
    transform: scale(1.05);
}

.video-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(30, 34, 40, 0.08) 0%,
        rgba(30, 34, 40, 0.22) 55%,
        rgba(30, 34, 40, 0.55) 100%
    );
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.video-card:hover .video-card__overlay,
.video-card:focus-visible .video-card__overlay {
    opacity: 0.92;
}

.video-card__play {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    margin: -1.75rem 0 0 -1.75rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 0.35rem 1.25rem rgba(30, 34, 40, 0.22);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.video-card__play::before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    margin-left: 0.2rem;
    border-style: solid;
    border-width: 0.55rem 0 0.55rem 0.95rem;
    border-color: transparent transparent transparent #e62117;
}

.video-card:hover .video-card__play,
.video-card:focus-visible .video-card__play {
    transform: scale(1.08);
    box-shadow: 0 0.5rem 1.5rem rgba(30, 34, 40, 0.28);
}

.video-card__badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.32rem 0.6rem;
    border-radius: 0.35rem;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #ffffff;
    background: rgba(230, 33, 23, 0.92);
    line-height: 1;
}

.video-card__badge .uil {
    font-size: 0.95rem;
    line-height: 1;
}

.video-card__body {
    padding: 1rem 1.15rem 1.15rem;
}

.video-card__title {
    margin: 0 0 0.35rem;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    color: #343f52;
    transition: color 0.2s ease;
}

.video-card:hover .video-card__title,
.video-card:focus-visible .video-card__title {
    color: #49938e;
}

.video-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #60697b;
    transition: color 0.2s ease, gap 0.2s ease;
}

.video-card__cta::after {
    content: "";
    width: 0.45rem;
    height: 0.45rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    transition: transform 0.2s ease;
}

.video-card:hover .video-card__cta,
.video-card:focus-visible .video-card__cta {
    color: #49938e;
    gap: 0.5rem;
}

.video-card:hover .video-card__cta::after,
.video-card:focus-visible .video-card__cta::after {
    transform: rotate(-45deg) translate(1px, 1px);
}

@media (max-width: 767.98px) {
    .video-card__play {
        width: 3rem;
        height: 3rem;
        margin: -1.5rem 0 0 -1.5rem;
    }

    .video-card__play::before {
        border-width: 0.45rem 0 0.45rem 0.8rem;
    }
}
/* Equal-height testimonial cards (swiper + grid) */

.testimonial-swiper .swiper-wrapper {
    align-items: stretch;
}

.testimonial-swiper .swiper-slide {
    display: flex;
    height: auto;
    box-sizing: border-box;
}

.testimonial-swiper .item-inner {
    display: flex;
    flex: 1 1 auto;
    width: 100%;
}

.testimonial-grid .item {
    display: flex;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
}

.testimonial-card .card-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.testimonial-card blockquote {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}

.testimonial-card blockquote > p {
    flex: 1 1 auto;
    margin-bottom: 1.25rem;
}

.testimonial-card blockquote > .flex.items-center,
.testimonial-card blockquote > div.flex {
    margin-top: auto;
    flex-shrink: 0;
}
.iti {
    position: relative;
    display: inline-block;
    width: 100%;
}

.iti * {
    box-sizing: border-box;
    -moz-box-sizing: border-box
}

.iti input,.iti input[type=text],.iti input[type=tel] {
    position: relative;
    z-index: 0;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-right: 36px;
    margin-right: 0
}

.iti__flag-container {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    padding: 1px
}

/* Validation states for intlTelInput */
.iti input.is-valid {
    border-color: #28a745 !important;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25) !important;
}

.iti input.is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

/* Focus states */
.iti input:focus.is-valid {
    border-color: #28a745 !important;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25) !important;
}

.iti input:focus.is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

/* Error message styling */
.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #dc3545;
}

.invalid-feedback.show {
    display: block;
}

/* Valid feedback styling */
.valid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #28a745;
}

.valid-feedback.show {
    display: block;
}

/* Country dropdown styling */
.iti__country-list {
    z-index: 1050 !important;
    max-height: 200px;
    overflow-y: auto;
}

.iti__country {
    padding: 8px 12px;
    cursor: pointer;
}

.iti__country:hover {
    background-color: #f8f9fa;
}

.iti__country.iti__highlight {
    background-color: #007bff;
    color: white;
}

/* Flag container styling */
.iti__flag-container {
    z-index: 1;
}

.iti__selected-flag {
    padding: 0 8px;
    cursor: pointer;
}

.iti__selected-flag:hover {
    background-color: #f8f9fa;
}

/* Submit button states - keeping for potential future use */
.btn:disabled,
.btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Form validation states */
.form-control.is-valid {
    border-color: #28a745 !important;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25) !important;
}

.form-control.is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

.form-control:focus.is-valid {
    border-color: #28a745 !important;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25) !important;
}

.form-control:focus.is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

.iti__country:hover .iti__country-name,
.iti__country:active .iti__country-name
{
    color: #000000 !important;
}

.iti__dropdown-content {
    background-color: #ffffff !important;
    min-height: 230px!important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .iti__country-list {
        max-height: 150px;
    }
}
