/* =================================
   GLOBAL STYLES
================================= */

:root {
    --site-text: #222222;
    --site-primary: #2563eb;
}

/* Base */
body {
    color: var(--site-text);
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Keyboard Accessibility */
:where(a, button, input, select, textarea):focus-visible {
    outline: 2px solid var(--site-primary);
    outline-offset: 3px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}


/* =================================
   TOP BAR
================================= */

.ast-mobile-header-wrap .ast-above-header-bar,
.ast-above-header-bar .site-above-header-wrap {
    min-height: 40px !important;
}


/* =================================
   HEADER CONTACT
================================= */

.header-contact {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
}

.header-contact a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #fff !important;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.header-contact a:hover {
    color: #fff;
    opacity: 0.8;
}

.header-contact i {
    font-size: 15px;
    line-height: 1;
    flex-shrink: 0;
}

.header-contact-email {
    justify-content: flex-start;
}

.header-contact-phone {
    justify-content: flex-end;
}


/* =================================
   MAIN HEADER
================================= */

.ast-main-header-wrap {
    position: relative;
    z-index: 999;
    transition: box-shadow 0.25s ease;
}

/* Sticky State */
.ast-main-header-wrap.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
    background: #fff;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

/* WordPress Admin Bar Compatibility */
body.admin-bar .ast-main-header-wrap.is-sticky {
    top: 32px;
}

header .custom-logo-link img {
    margin-top: -8px;
    margin-bottom: -8px;
}


/* =================================
   MAIN NAVIGATION
================================= */

.main-header-menu .menu-link,
.main-header-menu>a {
    padding-left: 14px !important;
    padding-right: 14px !important;
}

.ast-builder-menu-1 .menu-item>.menu-link {
    transition: transform 0.4s !important;
}

.ast-builder-menu-1 .menu-item>.menu-link:hover {
    transform: translateY(-5px);
}
.ast-builder-menu-1 .sub-menu .current-menu-item.menu-item>.menu-link,
.ast-builder-menu-1 .sub-menu .menu-item>.menu-link:hover {
transform: translateY(0px);
    background-color: #064237;
    color: #fff;
}

.ast-builder-menu-1 .sub-menu .menu-item>.menu-link:hover {
transform: translateY(0px);
}


/* Hide Last Menu Item on Desktop */
/*.main-header-menu .menu-item:last-child {
    display: none;
}*/


/* =================================
   RESPONSIVE
================================= */

@media (max-width: 1199px) {

    .main-header-menu .menu-link,
    .main-header-menu>a {
        padding-left: 9px !important;
        padding-right: 9px !important;
    }

    header .custom-logo-link img {
        width: 98px;
    }
}

@media (max-width: 1023px) {
    .ast-header-button-1[data-section*="section-hb-button-"] .ast-builder-button-wrap .ast-custom-button {
        padding-top: 12px;
        padding-bottom: 12px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .ast-header-break-point .main-navigation ul .menu-item .menu-link {
        padding: 3px 20px !important;
    }

    .ast-builder-menu-mobile .main-navigation .menu-item.menu-item-has-children>.ast-menu-toggle {
        top: 3px !important;
        right: calc(0px - -4px) !important;
        background: transparent !important;
    }

}

@media (max-width: 923px) {
    .ast-builder-button-wrap.ast-builder-button-size- {
        margin-right: -20px;
    }
}


@media (max-width: 782px) {

    body.admin-bar .ast-main-header-wrap.is-sticky {
        top: 46px;
    }
}


@media (min-width: 920px) and (max-width: 950px) {
    .ast-builder-grid-row {
        grid-template-columns: auto auto !important;
        column-gap: 4px !important;
    }
}

@media (max-width: 767px) {

    .header-contact a {
        font-size: 14px;
        gap: 7px;
    }

    .header-contact i {
        font-size: 15px;
    }

    /* Show Last Menu Item on Mobile */
    .main-header-menu .menu-item:last-child {
        display: block;
    }
}

/* Header End */



/* Footer start */

/* =================================
   CAAPS FOOTER
================================= */

.caaps-footer {
    --footer-muted: rgba(255, 255, 255, 0.65);
    padding: 65px 0px 20px;
    color: #fff;
}

.caaps-footer *,
.caaps-footer *::before,
.caaps-footer *::after {
    box-sizing: border-box;
}

/* Main Footer Layout */

.caaps-footer-main {
    display: grid;
    grid-template-columns: 1.15fr 0.9fr 1fr;
    column-gap: 60px;
    padding: 0 25px 38px;
}

/* Logo */

.caaps-footer-brand {
    display: flex;
    align-items: flex-start;
    padding-top: 20px;
}

.caaps-footer-brand a {
    display: inline-block;
    color: #fff;
}

.caaps-footer-brand img {
    display: block;
    width: 205px;
    max-width: 100%;
    height: auto;
}

/* Section Headings */

.ast-builder-html-element .caaps-footer h3 {
    color: #fff;
    font-size: 21px;
    font-weight: 500;
    line-height: 1.4;
    margin: 0 0 17px;
    position: relative;
}


.ast-builder-html-element .caaps-footer-line {
    display: block;
    width: 50px;
    height: 2px;
    background: var(--footer-muted);
    margin-bottom: 15px;
}

/* Footer Lists */

.ast-builder-html-element .caaps-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ast-builder-html-element .caaps-footer li {
    padding: 0;
    margin: 0;
}

/* Navigation Links */

.ast-builder-html-element .caaps-footer-links li {
    margin-bottom: 10px;
}

.ast-builder-html-element .caaps-footer a {
    color: var(--footer-text);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.ast-builder-html-element .caaps-footer-links a {
    display: inline-block;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
}

.ast-builder-html-element .caaps-footer a:hover {
    color: var(--footer-text);
    opacity: 0.7;
}

/* Contact Information */

.ast-builder-html-element .caaps-footer-contact li {
    margin-bottom: 21px;
}

.ast-builder-html-element .caaps-footer-contact li:last-child {
    margin-bottom: 0;
}

.ast-builder-html-element .caaps-footer-contact a {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.7;
}

.ast-builder-html-element .caaps-footer-contact i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    min-width: 25px;
    font-size: 22px;
    line-height: 1;
}

.ast-builder-html-element .caaps-footer-contact li:nth-child(3) i,
.ast-builder-html-element .caaps-footer-contact li:nth-child(4) i,
.ast-builder-html-element .caaps-footer-contact li:nth-child(5) i {
    font-size: 27px;
}

/* Footer Bottom */

.ast-builder-html-element .caaps-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    border-top: 1px solid var(--footer-muted);
    padding-top: 36px;
}

.ast-builder-html-element .caaps-footer-copyright {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
}

.ast-builder-html-element .caaps-footer-legal {
    display: flex;
    align-items: center;
    gap: 30px;
}

.ast-builder-html-element .caaps-footer-legal a {
    font-size: 15px;
    font-weight: 500;
}


/* =================================
   TABLET RESPONSIVE
================================= */

@media (max-width: 1024px) {

    .caaps-footer {
        padding: 55px 25px 35px;
    }

    .caaps-footer-main {
        grid-template-columns: 0.8fr 0.8fr 1.2fr;
        column-gap: 30px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .caaps-footer-brand img {
        width: 170px;
    }

    .caaps-footer-contact a {
        font-size: 14px;
        gap: 10px;
    }

    .caaps-footer-contact i {
        width: 23px;
        min-width: 23px;
        font-size: 22px;
    }
}


/* =================================
   MOBILE RESPONSIVE
================================= */

@media (max-width: 767px) {

    .caaps-footer {
        padding: 45px 22px 25px;
    }

    .caaps-footer-main {
        display: grid;
        grid-template-columns: 1fr;
        column-gap: 60px;
        padding: 0 0 40px 0;
    }

    .caaps-footer-brand {
        grid-column: 1;
        padding-top: 0;
        text-align: center;
        display: flex;
        justify-content: center;
        margin-bottom: 55px;
        margin-top: 55px;
    }

    .ast-builder-html-element .caaps-footer-contact li {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .caaps-footer-brand img {
        width: 165px;
    }

    .caaps-footer h3 {
        font-size: 19px;
    }

    .ast-builder-html-element .caaps-footer-line {
        margin: auto;
    }

    .caaps-footer-links a {
        font-size: 14px;
    }

    .caaps-footer-contact {
        grid-column: 1 / -1;
        margin-top: 65px;
    }

    .caaps-footer-contact li {
        margin-bottom: 16px;
    }

    .caaps-footer-contact a {
        font-size: 14px;
        gap: 12px;
    }

    .caaps-footer-contact i {
        width: 24px;
        min-width: 24px;
        font-size: 22px;
    }

    .caaps-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        padding-top: 25px;
    }

    .caaps-footer-copyright {
        font-size: 13px;
    }

    .caaps-footer-legal {
        gap: 25px;
    }

    .caaps-footer-legal a {
        font-size: 14px;
    }
}


/* Small Mobile */

@media (max-width: 380px) {

    .caaps-footer-main {
        grid-template-columns: 1fr;
    }

    .caaps-footer-brand,
    .caaps-footer-contact {
        grid-column: auto;
    }
}

/* End */



/* =========================================
   CAAPS TESTIMONIAL SLIDER
========================================= */

.caaps-testimonial-slider {
    position: relative;
    width: 100%;
    padding: 0 0px 45px;
    box-sizing: border-box;
}

.caaps-testimonial-slider *,
.caaps-testimonial-slider *::before,
.caaps-testimonial-slider *::after {
    box-sizing: border-box;
}

/* Viewport */

.caaps-testimonial-viewport {
    width: 100%;
    overflow: hidden;
}

/* Track */

.caaps-testimonial-track {
    display: flex;
    gap: 10px;
    transition: transform 0.45s ease;
    will-change: transform;
}

/* Slides */

.caaps-testimonial-slide {
    flex: 0 0 calc((100% - 20px) / 3);
    min-width: 0;
}

/* Testimonial Card */

.caaps-testimonial-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 470px;
    height: 100%;
    padding: 28px 25px;
    background: #bfd0d0;
    border-radius: 5px;
    text-align: center;
}

/* Testimonial Text */

.caaps-testimonial-text {
    width: 100%;
    color: #222;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.caaps-testimonial-text p {
    margin: 0 0 10px;
}

.caaps-testimonial-text p:last-child {
    margin-bottom: 0;
}

/* Author */

.caaps-testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin-top: auto;
    padding-top: 30px;
}

.caaps-testimonial-author img {
    display: block;
    width: 65px;
    height: 65px;
    object-fit: cover;
    border-radius: 50%;
}

.caaps-testimonial-name {
    color: #4c4c4c;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
}

/* Navigation Arrows */

.caaps-testimonial-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 45px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent !important;
    color: #fff !important;
    font-size: 38px;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    transition: opacity 0.2s ease;
    box-shadow: none !important;
}

.caaps-testimonial-arrow:hover {
    color: #70b2bb !important;
    opacity: 0.8;
}

.caaps-testimonial-arrow:disabled {
    opacity: 0.35;
    cursor: default;
}

.caaps-testimonial-prev {
    left: 0;
}

.caaps-testimonial-next {
    right: 0;
}

/* Pagination Dots */

.caaps-testimonial-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
}

.caaps-testimonial-dot {
    display: block;
    width: 7px;
    min-width: 7px;
    height: 7px;
    min-height: 7px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 50% !important;
    background: #466f74cf !important;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    padding: 0 !important;
}

.caaps-testimonial-dot.active {
    background: #075663 !important;
    transform: scale(1.15);
}

.caaps-testimonial-dot:hover {
    background: #075663;
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 1024px) {

    .caaps-testimonial-slide {
        flex-basis: calc((100% - 10px) / 2);
    }

    .caaps-testimonial-card {
        min-height: 430px;
        padding: 25px 20px;
    }

}


/* =========================================
   TESTIMONIAL DRAG & SWIPE
========================================= */

.caaps-testimonial-viewport {
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
}

.caaps-testimonial-viewport.is-dragging {
    cursor: grabbing;
}

.caaps-testimonial-viewport.is-dragging .caaps-testimonial-track {
    transition: none !important;
}

.caaps-testimonial-slide {
    user-select: none;
    -webkit-user-select: none;
}

.caaps-testimonial-slide img {
    -webkit-user-drag: none;
    pointer-events: none;
}

/* Keep cloned slides consistent */
.caaps-testimonial-slide {
    flex-shrink: 0;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .caaps-testimonial-slider {
        padding: 0 0px 40px;
    }

    .caaps-testimonial-slide {
        flex-basis: 100%;
    }

    .caaps-testimonial-card {
        min-height: 380px;
        padding: 25px 20px;
    }

    .caaps-testimonial-text {
        font-size: 14px;
    }

    .caaps-testimonial-name {
        font-size: 15px;
    }

    .caaps-testimonial-arrow {
        width: 25px;
        font-size: 32px;
    }

    .caaps-testimonial-dots {
        gap: 10px;
        margin-top: 15px;
    }

}