.at-hero-bg {
    transform: none;
}

.sec-2-home-5__avatar-sm img {
    object-fit: contain;
    filter: none;
}

.at-about-thumb video,
.at-about-subtitle-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.at-service-item .content .text {
    max-width: none;
    font-weight: normal;
    letter-spacing: normal;
    line-height: normal;
}

.at-banner-thumb::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1;
}

.at-banner-thumb>div.position-absolute {
    z-index: 2;
}

.service-img {
    width: 100%;
    height: 85vh;
    object-position: top;
    object-fit: cover;
}

@media (max-width: 992px) {
    .service-img {
        height: 40vh;
    }
}

@media (max-width: 574.98px) {
    .fz-ds-1 {
        font-size: 40px !important;
    }
}

.at-brand-scroll-wrap {
    gap: 15px !important;
}

.at-brand-item {
    flex: 0 0 calc(100% / 6 - (15px * 5) / 6);
    border: 1px solid var(--at-neutral-100);
    border-radius: 12px;
    padding: 10px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.at-brand-scroll .at-brand-item .brand,
.at-brand-static .at-brand-item .brand {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* .at-brand-item .brand-logo-viewport {
    height: 60px !important;
} */

.at-brand-item .brand-logo-slide {
    height: 60px !important;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.at-brand-item .brand-logo-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.at-brand-scroll-wrap>.flex-grow-1 {
    margin-left: 0 !important;
    flex: 0 0 calc(33.333% - 15px);
    border: 1px solid var(--at-neutral-100);
    border-radius: 12px;
    padding: 20px !important;
}

@media (max-width: 1200px) {
    .at-brand-item {
        flex: 0 0 calc(25% - 15px);
    }

    .at-brand-scroll-wrap>.flex-grow-1 {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .at-brand-item {
        flex: 0 0 calc(33.333% - 15px);
    }

    .at-brand-scroll-wrap>.flex-grow-1 {
        flex: 1 0 100%;
    }
}

@media (max-width: 480px) {
    .at-brand-item {
        flex: 0 0 calc(50% - 15px);
    }
}

.logo-dark {
    display: none !important;
}

[data-bs-theme="dark"] .logo-dark {
    display: block !important;
}

[data-bs-theme="dark"] .logo-light {
    display: none !important;
}

[data-bs-theme="dark"] .sec-3-about {
    background-color: #0d0d0d !important;
}

[data-bs-theme="dark"] .testimonial-cart-wrap.style-2,
[data-bs-theme="dark"] .testimonial-cart-wrap.style-2 .rectangular {
    background-color: #1a1a1a !important;
    border-color: #333333 !important;
}

[data-bs-theme="dark"] .testimonial-content-text {
    color: #e0e0e0 !important;
}

[data-bs-theme="dark"] .testimonial-content-author-name,
[data-bs-theme="dark"] .sec-3-about h3.reveal-text {
    color: #ffffff !important;
}

[data-bs-theme="dark"] .testimonial-content-author-position,
[data-bs-theme="dark"] .testimonial-content-author-company {
    color: #a0a0a0 !important;
}

[data-bs-theme="dark"] .swiper-button-wrapper .swiper-btn-prev,
[data-bs-theme="dark"] .swiper-button-wrapper .swiper-btn-next {
    background-color: #333333 !important;
    color: #ffffff !important;
}

/* ═══════════════════════════════════════════════
   GLASSMORPHISM MODAL — Circular Reveal Animation
   ═══════════════════════════════════════════════ */

.imgs-glassmorphism-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;

    display: flex;
    flex-direction: column;

    /* Circular reveal: starts as a tiny circle, expands to fill viewport */
    clip-path: circle(0% at 50% 50%);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    background: rgba(121, 121, 121, 0.8);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);

    border: none;
    box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.3);

    z-index: 100;
    color: white;
    overflow: hidden;

    /* CLOSE transitions: clip-path shrinks first, opacity fades near the end */
    transition:
        clip-path 0.9s cubic-bezier(0.77, 0, 0.175, 1),
        opacity 0.3s ease 0.6s,
        backdrop-filter 0.5s ease,
        visibility 0s linear 0.9s;
}

.imgs-glassmorphism-modal-active {
    clip-path: circle(150% at 50% 50%);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.4);

    /* OPEN transitions: opacity kicks in immediately, clip-path expands */
    transition:
        clip-path 0.9s cubic-bezier(0.77, 0, 0.175, 1),
        opacity 0.3s ease,
        backdrop-filter 0.8s ease-out 0.2s,
        visibility 0s linear 0s;
}

/* ── Staggered content entrance ── */
.imgs-glassmorphism-modal .container-modal {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(6px);
    /* CLOSE: content hides quickly before the circle shrinks */
    transition:
        opacity 0.3s ease,
        transform 0.3s ease,
        filter 0.3s ease;
}

.imgs-glassmorphism-modal-active .container-modal {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0px);
    /* OPEN: content enters with delay after circle reveals */
    transition:
        opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1) 0.45s,
        transform 0.6s cubic-bezier(0.25, 1, 0.5, 1) 0.45s,
        filter 0.6s ease 0.45s;
}

/* ── Close button entrance ── */
.imgs-glassmorphism-modal #close-glassmorphism-modal {
    opacity: 0;
    transform: scale(0) rotate(-180deg);
    /* CLOSE: button hides quickly */
    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.imgs-glassmorphism-modal-active #close-glassmorphism-modal {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    /* OPEN: button spins in with delay */
    transition:
        opacity 0.5s ease 0.6s,
        transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s;
}

.imgs-glassmorphism-modal-active #close-glassmorphism-modal:hover {
    transform: scale(1) rotate(360deg);
    transition: transform 0.5s ease-in-out;
}

/* ── Modal Layout: Sticky Header + Scrollable Body ── */
.modal-glass-header {
    flex-shrink: 0;
    padding: 30px 0;
    z-index: 2;
}

.modal-glass-body {
    flex: 1;
    overflow-y: auto;
    padding: 30px 0 60px;
    z-index: 1;
}

/* Custom scrollbar for the modal body */
.modal-glass-body::-webkit-scrollbar {
    width: 6px;
}

.modal-glass-body::-webkit-scrollbar-track {
    background: transparent;
}

.modal-glass-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.modal-glass-body::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.4);
}

.main-image {
    cursor: pointer;
}

.main-image .img-cover {
    object-fit: cover;
    object-position: top;
    height: 60vh;
    transition: all ease-in-out 0.5s;
}

.main-image:hover .img-cover {
    transform: scale(1.1);
}


.mg-portfolio-thumb img {
    /* max-height: 85vh; */
    height: auto;
    object-fit: contain;
    object-position: top;
}

/* ══════════════════════════════════════════
   Contact Form 7 — Theme Integration
   ══════════════════════════════════════════ */

/* Remove CF7's default wrapper padding */
.cf7-styled-form .wpcf7 {
    margin: 0;
    padding: 0;
}

.cf7-styled-form .wpcf7 form {
    margin: 0;
    padding: 0;
}

/* Make CF7 inputs inherit theme styles */
.cf7-styled-form .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.cf7-styled-form .wpcf7-form-control {
    width: 100%;
}

/* CF7 submit button styling */
.cf7-styled-form .wpcf7-submit {
    cursor: pointer;
    width: auto;
}

/* Validation error messages */
.cf7-styled-form .wpcf7-not-valid-tip {
    color: #e74c3c;
    font-size: 13px;
    margin-top: 6px;
    display: block;
}

/* Success / error response output */
.cf7-styled-form .wpcf7-response-output {
    margin: 20px 0 0;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
}

.cf7-styled-form .wpcf7-mail-sent-ok {
    border-color: #27ae60;
    color: #27ae60;
}

.cf7-styled-form .wpcf7-validation-errors,
.cf7-styled-form .wpcf7-acceptance-missing {
    border-color: #e74c3c;
    color: #e74c3c;
}

.cf7-styled-form .wpcf7-spinner {
    margin: 0 12px;
}

/* ===== Equipment Card Image Hover Swap ===== */
.product-card__thumb.has-hover-swap {
    position: relative;
}

.product-card__thumb.has-hover-swap .product-card__img--primary,
.product-card__thumb.has-hover-swap .product-card__img--hover {
    transition: opacity 0.4s ease;
}

.product-card__thumb.has-hover-swap .product-card__img--hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
}

.product-card__thumb.has-hover-swap:hover .product-card__img--primary {
    opacity: 0;
}

.product-card__thumb.has-hover-swap:hover .product-card__img--hover {
    opacity: 1;
}

/* Hide magic cursor on touch devices and mobile screens */
@media (hover: none) and (pointer: coarse),
(max-width: 1024px) {

    #magic-cursor,
    #ball,
    .cursor-black-bg {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
}

@media only screen and (min-width: 576px) and (max-width: 767px),
(max-width: 574.98px) {
    .hamburger-sticky-menu {
        font-size: 17px;
    }
}

.a-underline{
    transition: all ease-in-out 0.3s;
}
.a-underline:hover{
    text-decoration: underline;
}

.at-hero-social a
 {
    padding: 6px;
}

.back-to-top-wrapper {
    right: 20px;
}