/* Nexillo Animations - CSP-compliant, no inline styles required */

/* 1. LOGO FIX - Base CSS sets .image-10 opacity:0, JS shows it */
/* Default state handled by JS scroll classes (image-10--visible / image-10--hidden) */

/* FAQ TOGGLE STATES (replaces inline styles for CSP compliance) */
.toggle-answer--hidden {
    opacity: 0;
    display: none;
    height: 0px;
}

.toggle-answer--visible {
    opacity: 1;
    display: block;
    height: auto;
}

.vertical-plus-line--closed {
    -webkit-transform: translate3d(0, 0, 0) scale3d(1, 1, 1) rotateX(0) rotateY(0) rotateZ(90deg) skew(0, 0);
    -moz-transform: translate3d(0, 0, 0) scale3d(1, 1, 1) rotateX(0) rotateY(0) rotateZ(90deg) skew(0, 0);
    -ms-transform: translate3d(0, 0, 0) scale3d(1, 1, 1) rotateX(0) rotateY(0) rotateZ(90deg) skew(0, 0);
    transform: translate3d(0, 0, 0) scale3d(1, 1, 1) rotateX(0) rotateY(0) rotateZ(90deg) skew(0, 0);
}

.vertical-plus-line--open {
    -webkit-transform: translate3d(0, 0, 0) scale3d(1, 1, 1) rotateX(0) rotateY(0) rotateZ(0deg) skew(0, 0);
    -moz-transform: translate3d(0, 0, 0) scale3d(1, 1, 1) rotateX(0) rotateY(0) rotateZ(0deg) skew(0, 0);
    -ms-transform: translate3d(0, 0, 0) scale3d(1, 1, 1) rotateX(0) rotateY(0) rotateZ(0deg) skew(0, 0);
    transform: translate3d(0, 0, 0) scale3d(1, 1, 1) rotateX(0) rotateY(0) rotateZ(0deg) skew(0, 0);
}

/* Form success/error states */
.w-form-done--hidden,
.w-form-fail--hidden {
    display: none;
}

.w-form-done--visible,
.w-form-fail--visible {
    display: block;
}

/* VIDEO POSTER BACKGROUND IMAGES */
.video-poster-cnex {
    background-image: url('../images/posters/poster-adobestock-1171187171.jpg');
}
.video-poster-products {
    background-image: url('../images/posters/poster-de40ccf3.jpg');
}
.video-poster-leadership {
    background-image: url('../images/posters/poster-20788df4.jpg');
}
.video-poster-epicue {
    background-image: url('../images/posters/poster-adobestock-1381140984.jpg');
}
.video-poster-billswift {
    background-image: url('../images/posters/poster-adobestock-629652781.jpg');
}
.video-poster-hprovidm {
    background-image: url('../images/posters/poster-business-partners.jpg');
}
.video-poster-services {
    background-image: url('../images/posters/poster-20788df4.jpg');
}
.video-poster-mediswift {
    background-image: url('../images/posters/poster-office-project-discussion.jpg');
}
.video-poster-accessswift {
    background-image: url('../images/posters/poster-adobestock-425091842.jpg');
}
.video-poster-enswift {
    background-image: url('../images/posters/poster-adobestock-632811728.jpg');
}
.video-poster-who-we-are {
    background-image: url('../images/posters/poster-adobestock-1381140984.jpg');
}
.video-poster-capswift {
    background-image: url('../images/posters/poster-adobestock-534877768.jpg');
}
.video-poster-rxswift {
    background-image: url('../images/posters/poster-20788df4.jpg');
}

/* NAVBAR SCROLL STATES (CSP-compliant class-based) */
.main-header {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.main-header--scrolled {
    background-color: var(--pure-white, #ffffff) !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03) !important;
}

.main-header--top {
    background-color: transparent !important;
    box-shadow: none !important;
}

.image-10 {
    transition: opacity 0.3s ease;
    position: relative;
    z-index: 2;
}

.image-10--hidden { opacity: 0 !important; }
.image-10--visible { opacity: 1 !important; }

.image-9 { transition: opacity 0.3s ease; }
.image-9--hidden { opacity: 0 !important; z-index: -1; }
.image-9--visible { opacity: 1 !important; z-index: 2; }

.heading-5--scrolled { color: var(--dark-cyan-blue); }
.heading-5--top { color: var(--pure-white, #ffffff); }

.image-30--scrolled { filter: none !important; }
.image-30--top { filter: brightness(0) invert(1) !important; }

/* Arrow icon default states */
.image-30 {
    transition: filter 0.3s ease;
}

/* Mobile hamburger icon - white when header is transparent (dark banner pages) */
.main-header--top .image-11 {
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

.main-header--scrolled .image-11 {
    filter: none;
    transition: filter 0.3s ease;
}

.div-block-22--scrolled { background-color: var(--dark-cyan-blue); }
.div-block-22--top { background-color: var(--pure-white, #ffffff); }

.secondary-button--scrolled {
    background-color: #17455d;
    border-color: #58798a;
    color: var(--pure-white, #ffffff);
}

.secondary-button--top {
    background-color: transparent;
    border-color: var(--pure-white, #ffffff);
    color: var(--pure-white, #ffffff);
}

/* Nav link transitions */
.heading-5 { transition: color 0.3s ease; }
.image-30 { transition: filter 0.3s ease; }
.div-block-22 { transition: width 0.3s ease, background-color 0.3s ease; }
.secondary-button.hide-mobile { transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease; }

/* Nav underline hover */
.div-block-22--collapsed { width: 0%; }
.div-block-22--expanded { width: 100%; }

/* Dropdown visibility */
.dropdown-submenu--hidden {
    display: none;
    opacity: 0;
}

/* About Us dropdown - single column */
.div-block-27.dropdown-submenu--visible {
    display: grid !important;
    grid-template-columns: 1fr !important;
    opacity: 1;
    position: absolute !important;
    pointer-events: auto !important;
    margin-top: 0 !important;
}

/* Products dropdown - keep 2-column grid */
.div-block-47.dropdown-submenu--visible {
    display: grid !important;
    opacity: 1;
    pointer-events: auto !important;
}

/* Dropdown item underline */
.div-block-22-copy {
    transition: width 0.3s ease;
}
.div-block-22-copy--collapsed { width: 0%; }
.div-block-22-copy--expanded { width: 100%; }

/* Mobile menu states */
.mobile-head--hidden { display: none !important; }
.mobile-head--visible { 
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    overflow-y: auto;
}

.hamburger-icon--hidden { display: none !important; }
.hamburger-icon--visible { display: block !important; }

.div-block-9--hidden { display: none !important; }
.div-block-9--visible { display: block !important; }

.body--no-scroll { overflow: hidden !important; }

/* Hide pause icon everywhere in mobile drawer - only hamburger icon should show */
.mobile-head .image-12:not(._2) {
    display: none !important;
}

/* Hide pause icon in hamburger trigger area */
.div-block-15 .image-12 {
    display: none !important;
}

/* Hamburger button - ensure visibility on mobile */
@media screen and (max-width: 991px) {
    .div-block-15 {
        display: block !important;
        cursor: pointer;
        z-index: 10000;
        position: relative;
    }
    
    /* Hamburger icons - make static on mobile */
    .div-block-15 .image-11,
    .div-block-15 .image-12 {
        width: 24px;
        height: auto;
        position: static !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
    }
    
    /* Hide close icon by default on mobile */
    .div-block-15 .image-12 {
        display: none !important;
    }
    
    /* Show hamburger icon by default on mobile */
    .div-block-15 .image-11 {
        display: block !important;
    }
    
    /* Override only display property */
    .div-block-15 .image-11.hamburger-icon--visible {
        display: block !important;
    }
    
    .div-block-15 .image-11.hamburger-icon--hidden {
        display: none !important;
    }
    
    .div-block-15 .image-12.hamburger-icon--visible {
        display: block !important;
    }
    
    .div-block-15 .image-12.hamburger-icon--hidden {
        display: none !important;
    }
}

/* Mobile dropdown arrow */
.arrow-mobile {
    transition: transform 0.3s ease;
}
.arrow-mobile--closed { transform: rotate(0deg); }
.arrow-mobile--open { transform: rotate(180deg); }

/* Mobile submenu */
.mobile-submenu--hidden { display: none; }
.mobile-submenu--visible { display: grid; }

/* Utility classes */
.cursor-pointer { cursor: pointer; }

/* Video fallback for noscript (moved from inline styles for CSP) */
[data-wf-bgvideo-fallback-img] {
    display: none;
}

@media (prefers-reduced-motion: reduce) {
    [data-wf-bgvideo-fallback-img] {
        position: absolute;
        z-index: -100;
        display: inline-block;
        height: 100%;
        width: 100%;
        object-fit: cover;
    }
}

/* Fix video visibility - ensure video containers stay visible */
.div-block.no {
    opacity: 1 !important;
}

.w-background-video video {
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 1 !important;
}

/* Video play/pause button - ensure it's on top */
.w-backgroundvideo-backgroundvideoplaypausebutton {
    z-index: 10 !important;
}

/* Video play/pause icon states - work with hidden attribute */
.w-backgroundvideo-backgroundvideoplaypausebutton span[hidden] {
    display: none !important;
}

.w-backgroundvideo-backgroundvideoplaypausebutton span:not([hidden]) {
    display: block !important;
}


/* Form input styling - black text */
.text-field {
    color: #000000 !important;
}

.text-field::placeholder {
    color: #666666 !important;
}

/* Ensure all form inputs have black text */
input[type="text"],
input[type="email"],
textarea {
    color: #000000 !important;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
textarea::placeholder {
    color: #666666 !important;
}

/* 2. PAGE-SPECIFIC NAVBAR STYLING */

/* Blog post page - white header with dark text (light content background) */
body.page-blog-post .main-header {
    background-color: var(--pure-white, #ffffff) !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03) !important;
}

/* Blog post page - show blue logo, hide white logo */
body.page-blog-post .image-10 {
    opacity: 0 !important;
}
body.page-blog-post .image-9 {
    opacity: 1 !important;
}

/* Blog post page - dark text for nav items */
body.page-blog-post .heading-5,
body.page-blog-post .div-block-21 h1 {
    color: var(--dark-cyan-blue, #0a3d62) !important;
}

/* Blog post page - dark dropdown arrow */
body.page-blog-post .image-30 {
    filter: none !important;
}

/* Blog post page - Contact Us button (dark styling for white header) */
body.page-blog-post .secondary-button.hide-mobile {
    background-color: #17455d !important;
    border-color: #58798a !important;
    color: var(--pure-white, #ffffff) !important;
}

body.page-blog-post .secondary-button.hide-mobile img {
    filter: brightness(0) invert(1) !important;
}

/* Contact Us page - white navbar background */
body.page-contact-us .main-header {
    background-color: var(--pure-white, #ffffff) !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important;
}

/* Healthcare Product Manager page - solid navbar background */
body.page-healthcare-product-manager .main-header {
    background-color: var(--dark-cyan-blue) !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important;
}

/* Force scrolled state styling on these pages */
body.page-contact-us .image-10,
body.page-healthcare-product-manager .image-10 {
    opacity: 0 !important;
}

body.page-contact-us .image-9,
body.page-healthcare-product-manager .image-9 {
    opacity: 1 !important;
    z-index: 2;
}

body.page-contact-us .heading-5,
body.page-healthcare-product-manager .heading-5 {
    color: var(--dark-cyan-blue) !important;
}

body.page-contact-us .div-block-22,
body.page-healthcare-product-manager .div-block-22 {
    background-color: var(--dark-cyan-blue) !important;
}

body.page-contact-us .image-30 {
    filter: none !important;
}

body.page-healthcare-product-manager .image-30 {
    filter: brightness(0) invert(1) !important;
}

body.page-contact-us .secondary-button.hide-mobile,
body.page-healthcare-product-manager .secondary-button.hide-mobile {
    background-color: #17455d !important;
    border-color: var(--pure-white, #ffffff) !important;
    color: var(--pure-white, #ffffff) !important;
}

/* 3. SMOOTH SCROLLING */
html {
    scroll-behavior: smooth;
}

/* 3. BUTTON HOVER */
.w-button {
    transition: opacity 0.3s ease;
}

.w-button:hover {
    opacity: 0.85;
}

/* 4. NAV LINK UNDERLINE - .div-block-22 is the underline bar under nav items */
.div-block-22 {
    transition: width 0.3s ease;
}

.div-block-22-copy {
    transition: width 0.3s ease;
}

/* 5. FAQ ACCORDION */
.toggle-open {
    cursor: pointer;
}

.toggle-answer {
    transition: opacity 0.3s ease, height 0.3s ease;
}

.vertical-plus-line {
    transition: transform 0.3s ease;
}

/* 6. MOBILE MENU - .image-12 (close icon) hidden by default */
.div-block-15 .image-12 {
    display: none !important;
}

/* Ensure pause icon in hamburger menu is always hidden until menu is open */
.header .div-block-15 > .image-12 {
    display: none !important;
}

/* 7. DROPDOWN TRANSITIONS */
.div-block-27,
.div-block-47 {
    transition: opacity 0.2s ease;
}

/* 8. CONTACT US BUTTON IN NAV */
.secondary-button.hide-mobile {
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

/* 9. ARROW ICON TRANSITIONS */
.image-30 {
    transition: filter 0.3s ease;
}

.arrow-mobile {
    transition: transform 0.3s ease;
}

/* ============================================
   10. SCROLL ANIMATIONS - Fade In Effects
   ============================================ */

/* Base state - hidden before animation */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Fade in from left */
.animate-fade-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-fade-left.animated {
    opacity: 1;
    transform: translateX(0);
}

/* Fade in from right */
.animate-fade-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-fade-right.animated {
    opacity: 1;
    transform: translateX(0);
}

/* Scale up animation */
.animate-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-scale.animated {
    opacity: 1;
    transform: scale(1);
}

/* Staggered animations for lists/grids */
.animate-stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.animate-stagger.animated > *:nth-child(1) { transition-delay: 0.1s; }
.animate-stagger.animated > *:nth-child(2) { transition-delay: 0.2s; }
.animate-stagger.animated > *:nth-child(3) { transition-delay: 0.3s; }
.animate-stagger.animated > *:nth-child(4) { transition-delay: 0.4s; }
.animate-stagger.animated > *:nth-child(5) { transition-delay: 0.5s; }
.animate-stagger.animated > *:nth-child(6) { transition-delay: 0.6s; }

.animate-stagger.animated > * {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   11. HOVER EFFECTS
   ============================================ */

/* Button hover - lift effect */
.primary-button,
.secondary-button {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.primary-button:hover,
.secondary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Card hover - lift and shadow */
.div-block-6,
.div-block-7,
.div-block-8,
.div-block-28,
.div-block-29,
.div-block-30 {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Footer sections - slide up animation */
.footer .div-block-6,
.footer .div-block-7,
.footer .div-block-8 {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.footer .div-block-6.animated,
.footer .div-block-7.animated,
.footer .div-block-8.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Footer hover effects - REMOVED elevation */
/* .footer .div-block-6:hover,
.footer .div-block-7:hover,
.footer .div-block-8:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
} */

/* Non-footer hover effects preserved */
.div-block-28:hover,
.div-block-29:hover,
.div-block-30:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Image hover - zoom effect */
.image-hover-zoom {
    overflow: hidden;
}

.image-hover-zoom img {
    transition: transform 0.4s ease;
}

.image-hover-zoom:hover img {
    transform: scale(1.05);
}

/* Image scroll animations */
.image-animate {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.image-animate.animated {
    opacity: 1;
    transform: scale(1);
}

/* All content images - fade in on scroll */
.section:not(.main-header):not(.footer) img:not(.image-9):not(.image-10):not(.image-12):not(.image-30):not(.arrow-mobile) {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.section:not(.main-header):not(.footer) img:not(.image-9):not(.image-10):not(.image-12):not(.image-30):not(.arrow-mobile).img-animated {
    opacity: 1;
    transform: translateY(0);
}

/* Swiper slider overrides */
.swiper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.swiper-wrapper {
    display: flex !important;
    overflow: visible !important;
    white-space: normal;
    position: relative;
    width: 100%;
}

.swiper-slide {
    flex-shrink: 0;
    width: 100%;
    height: auto;
}

.swiper-pagination {
    text-align: center;
    margin-top: 15px;
    position: relative;
}

.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: var(--dark-cyan-blue, #134e6c);
    opacity: 0.3;
    border-radius: 50%;
    display: inline-block;
    margin: 0 4px;
    cursor: pointer;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--dark-cyan-blue, #134e6c);
}

/* Footer link hover effects - removed underline animations */
.footer-link,
.footer-link:hover,
.footer-link:focus,
.footer-link:active,
.footer a,
.footer a:hover,
.footer a:focus,
.footer a:active {
    text-decoration: none !important;
}

.footer-link::after,
.footer-link::before {
    display: none !important;
}

/* Header/Nav link hover effects */
.heading-5 {
    transition: color 0.3s ease;
}

.div-block-21 {
    position: relative;
}

.div-block-22,
.div-block-22-copy {
    transition: width 0.3s ease, background-color 0.3s ease;
}

/* CTA buttons enhanced hover */
.w-inline-block:not(.link-no-bg) {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.w-inline-block:not(.link-no-bg):hover {
    transform: translateY(-2px);
}

/* Link hover - underline animation */
.link-underline {
    position: relative;
}

.link-underline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: currentColor;
    transition: width 0.3s ease;
}

.link-underline:hover::after {
    width: 100%;
}

/* Icon hover - rotate */
.icon-hover-rotate {
    transition: transform 0.3s ease;
}

.icon-hover-rotate:hover {
    transform: rotate(15deg);
}

/* ============================================
   12. PAGE LOAD ANIMATIONS
   ============================================ */

/* Hero section fade in */
@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-animate {
    animation: heroFadeIn 0.8s ease-out forwards;
}

.hero-animate-delay-1 {
    animation: heroFadeIn 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

.hero-animate-delay-2 {
    animation: heroFadeIn 0.8s ease-out 0.4s forwards;
    opacity: 0;
}

.hero-animate-delay-3 {
    animation: heroFadeIn 0.8s ease-out 0.6s forwards;
    opacity: 0;
}

/* Slide in from sides */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out forwards;
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out forwards;
}

/* Pulse animation for CTAs */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

.pulse-animation {
    animation: pulse 2s ease-in-out infinite;
}

/* Float animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* Navbar slide down on page load */
@keyframes navSlideDown {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-animate {
    animation: navSlideDown 0.5s ease-out forwards;
}

/* ============================================
   13. BANNER ANIMATIONS
   ============================================ */

/* CTA Banner animations */
.cta-banner {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.cta-banner.animated {
    opacity: 1;
    transform: translateY(0);
}

.cta-banner .info-block {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.5s ease-out 0.2s, transform 0.5s ease-out 0.2s;
}

.cta-banner.animated .info-block {
    opacity: 1;
    transform: scale(1);
}

.cta-banner h2 {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out 0.3s, transform 0.5s ease-out 0.3s;
}

.cta-banner.animated h2 {
    opacity: 1;
    transform: translateY(0);
}

.cta-banner .primary-button,
.cta-banner .secondary-button {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease-out 0.4s, transform 0.5s ease-out 0.4s;
}

.cta-banner.animated .primary-button,
.cta-banner.animated .secondary-button {
    opacity: 1;
    transform: translateY(0);
}

/* Head banner height fix for about-us */
.section.head-banner.about-us {
    min-height: 90vh;
    height: auto;
}

/* Head banner animations */
.head-banner .info-block:not(.hero-animate) {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.head-banner .info-block:not(.hero-animate).animated {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   14. FAQ ANIMATIONS
   ============================================ */

/* FAQ section container */
.faq,
._2x1-grid.faq {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.faq.animated,
._2x1-grid.faq.animated {
    opacity: 1;
    transform: translateY(0);
}

/* FAQ items staggered animation */
.faq-item,
.toggle-question,
.toggle-questions-faq,
.toggle-wrapper {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.faq-item.animated,
.toggle-question.animated,
.toggle-questions-faq.animated,
.toggle-wrapper.animated {
    opacity: 1;
    transform: translateX(0);
}

/* FAQ toggle animation */
.toggle-answer {
    transition: opacity 0.3s ease-out, height 0.3s ease-out, padding 0.3s ease-out;
}

.toggle-answer--visible {
    opacity: 1;
}

.toggle-answer--hidden {
    opacity: 0;
}

/* FAQ icon rotation */
.vertical-plus-line {
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

.vertical-plus-line--open {
    transform: rotate(90deg);
    opacity: 0;
}

/* FAQ hover effects */
.toggle-question:hover,
.toggle-questions-faq:hover,
.toggle-wrapper:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.faqcontainer .info-block {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.faqcontainer .info-block.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   15. SOLUTIONS SECTION ANIMATIONS
   ============================================ */

/* Solutions section container */
.gradient-bg {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.gradient-bg.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Solutions header */
.solutionscontainer .info-block {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.solutionscontainer .info-block.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Solutions grid items - staggered */
.div-block-17 {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.div-block-17.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Solutions grid items hover effect */
.div-block-17:hover {
    transform: translateY(-5px);
}

.div-block-17 .image-21 {
    transition: transform 0.3s ease;
}

.div-block-17:hover .image-21 {
    transform: scale(1.1);
}

/* Grid container for solutions */
.grid-28,
.grid-33 {
    opacity: 0;
    transition: opacity 0.6s ease-out 0.2s;
}

.grid-28.animated,
.grid-33.animated {
    opacity: 1;
}

/* ============================================
   17. OUR VALUES SECTION ANIMATIONS
   ============================================ */

/* Our Values section container */
section:has(.mvv-block) {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

section:has(.mvv-block).animated {
    opacity: 1;
    transform: translateY(0);
}

/* Our Values header */
section:has(.mvv-block) .info-block {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

section:has(.mvv-block).animated .info-block {
    opacity: 1;
    transform: translateY(0);
}

/* MVV blocks - staggered animation */
.mvv-block {
    opacity: 0;
    transform: translateY(25px) scale(0.95);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.mvv-block.animated {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Mission block */
.mvv-block._1.animated {
    transition-delay: 0.1s;
}

/* Vision block */
.mvv-block._2.animated {
    transition-delay: 0.2s;
}

/* Values block */
.mvv-block._3.animated {
    transition-delay: 0.3s;
}

/* MVV images */
.mvv-image {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.mvv-image.animated {
    opacity: 1;
    transform: scale(1);
}

.mvv-block._1 .mvv-image.animated {
    transition-delay: 0.15s;
}

.mvv-block._2 .mvv-image.animated {
    transition-delay: 0.25s;
}

.mvv-block._3 .mvv-image.animated {
    transition-delay: 0.35s;
}

/* MVV text content */
.mvv-block h3,
.mvv-block p {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.mvv-block.animated h3,
.mvv-block.animated p {
    opacity: 1;
    transform: translateY(0);
}

.mvv-block._1.animated h3 {
    transition-delay: 0.2s;
}

.mvv-block._1.animated p {
    transition-delay: 0.25s;
}

.mvv-block._2.animated h3 {
    transition-delay: 0.3s;
}

.mvv-block._2.animated p {
    transition-delay: 0.35s;
}

.mvv-block._3.animated h3 {
    transition-delay: 0.4s;
}

.mvv-block._3.animated p {
    transition-delay: 0.45s;
}

/* Side images (mission.png, vision.png, values.png) */
section:has(.mvv-block) .image-17 {
    opacity: 0;
    transform: translateX(20px) scale(0.9);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

section:has(.mvv-block).animated .image-17 {
    opacity: 1;
    transform: translateX(0) scale(1);
}

/* Hover effects for MVV blocks */
.mvv-block:hover {
    transform: translateY(-5px) scale(1.02);
    transition: transform 0.3s ease;
}

.mvv-block:hover .mvv-image {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* ============================================
   18. GRID IMAGES ANIMATIONS (w-node-bee69d66-f40d-ad1e-0976-64be8c205b68-0d2a7d47)
   ============================================ */

/* Grid images container */
#w-node-bee69d66-f40d-ad1e-0976-64be8c205b68-0d2a7d47 {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

#w-node-bee69d66-f40d-ad1e-0976-64be8c205b68-0d2a7d47.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Individual image blocks - staggered */
#w-node-bee69d66-f40d-ad1e-0976-64be8c205b68-0d2a7d47 .div-block-2,
#w-node-bee69d66-f40d-ad1e-0976-64be8c205b68-0d2a7d47 .div-block-42 {
    opacity: 0;
    transform: translateY(25px) scale(0.95);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

#w-node-bee69d66-f40d-ad1e-0976-64be8c205b68-0d2a7d47.animated .div-block-2 {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition-delay: 0.1s;
}

#w-node-bee69d66-f40d-ad1e-0976-64be8c205b68-0d2a7d47.animated .div-block-42 {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition-delay: 0.2s;
}

/* Images within the grid */
#w-node-bee69d66-f40d-ad1e-0976-64be8c205b68-0d2a7d47 .image-6,
#w-node-bee69d66-f40d-ad1e-0976-64be8c205b68-0d2a7d47 .image,
#w-node-bee69d66-f40d-ad1e-0976-64be8c205b68-0d2a7d47 .image-34 {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

#w-node-bee69d66-f40d-ad1e-0976-64be8c205b68-0d2a7d47.animated .image-6 {
    opacity: 1;
    transform: scale(1);
    transition-delay: 0.2s;
}

#w-node-bee69d66-f40d-ad1e-0976-64be8c205b68-0d2a7d47.animated .image {
    opacity: 1;
    transform: scale(1);
    transition-delay: 0.3s;
}

#w-node-bee69d66-f40d-ad1e-0976-64be8c205b68-0d2a7d47.animated .image-34 {
    opacity: 1;
    transform: scale(1);
    transition-delay: 0.4s;
}

/* Hover effects for grid images */
#w-node-bee69d66-f40d-ad1e-0976-64be8c205b68-0d2a7d47 .div-block-2:hover,
#w-node-bee69d66-f40d-ad1e-0976-64be8c205b68-0d2a7d47 .div-block-42:hover {
    transform: translateY(-5px) scale(1.02);
}

#w-node-bee69d66-f40d-ad1e-0976-64be8c205b68-0d2a7d47 .image-6:hover,
#w-node-bee69d66-f40d-ad1e-0976-64be8c205b68-0d2a7d47 .image:hover,
#w-node-bee69d66-f40d-ad1e-0976-64be8c205b68-0d2a7d47 .image-34:hover {
    transform: scale(1.05);
}

/* ============================================
   16. MOBILE OPTIMIZATIONS
   ============================================ */

/* Tablet and below (991px) */
@media screen and (max-width: 991px) {
    /* Reduce animation distances on mobile */
    .animate-on-scroll {
        transform: translateY(20px);
    }
    
    .animate-fade-left {
        transform: translateX(-30px);
    }
    
    .animate-fade-right {
        transform: translateX(30px);
    }
    
    /* Faster animations on mobile */
    .animate-on-scroll,
    .animate-fade-left,
    .animate-fade-right,
    .animate-scale {
        transition-duration: 0.4s;
    }
    
    /* Solutions section mobile */
    .div-block-17 {
        transform: translateY(15px);
    }
    
    /* CTA banners mobile */
    .cta-banner {
        transform: translateY(20px);
    }
    
    /* FAQ items mobile */
    .toggle-question {
        transform: translateX(-10px);
    }
}

/* Mobile (767px and below) */
@media screen and (max-width: 767px) {
    /* Even smaller animation distances */
    .animate-on-scroll {
        transform: translateY(15px);
    }
    
    .animate-fade-left,
    .animate-fade-right {
        transform: translateY(15px);
    }
    
    /* Disable horizontal animations on mobile - use vertical only */
    .animate-fade-left.animated,
    .animate-fade-right.animated {
        transform: translateY(0);
    }
    
    /* Hero animations mobile */
    .hero-animate,
    .hero-animate-delay-1,
    .hero-animate-delay-2,
    .hero-animate-delay-3 {
        animation-duration: 0.6s;
    }
    
    /* Reduce stagger delays on mobile */
    .animate-stagger > *:nth-child(1) { transition-delay: 0s; }
    .animate-stagger > *:nth-child(2) { transition-delay: 0.05s; }
    .animate-stagger > *:nth-child(3) { transition-delay: 0.1s; }
    .animate-stagger > *:nth-child(4) { transition-delay: 0.15s; }
    .animate-stagger > *:nth-child(5) { transition-delay: 0.2s; }
    .animate-stagger > *:nth-child(6) { transition-delay: 0.25s; }
    
    /* Solutions grid mobile */
    .div-block-17 {
        transform: translateY(10px);
        transition-duration: 0.3s;
    }
    
    /* Disable hover effects on touch devices */
    .div-block-17:hover {
        transform: translateY(0);
    }
    
    .div-block-17:hover .image-21 {
        transform: scale(1);
    }
    
    /* Footer link underline - removed */
    
    /* Who We Are - keep images in row on mobile */
    .images-container {
        flex-flow: row !important;
        gap: 10px;
        overflow: hidden;
    }
    
    .images-container img {
        width: 50% !important;
        height: auto !important;
        max-width: none;
        object-fit: cover;
    }
    
    /* CTA buttons - larger touch targets */
    .primary-button,
    .secondary-button {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* FAQ mobile optimizations */
    .toggle-question {
        transform: translateX(0);
        padding: 15px 10px;
    }
    
    /* Images mobile */
    .section:not(.main-header):not(.footer) img:not(.image-9):not(.image-10):not(.image-12):not(.image-30):not(.arrow-mobile) {
        transform: translateY(10px);
    }
    
    /* Mobile navigation drawer fixes - only show when open */
    .div-block-27 {
        display: none;
        flex-direction: column;
        gap: 10px;
    }
    
    .div-block-27.mobile-submenu--visible {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
    }
    
    /* Mobile arrow icon color sync with text */
    .arrow-mobile {
        filter: brightness(0) invert(1) !important;
        transition: filter 0.3s ease;
    }
    
    .mobile-head .text-size-14px.white {
        color: var(--pure-white, #ffffff) !important;
    }
}

/* Small mobile (479px and below) */
@media screen and (max-width: 479px) {
    /* Minimal animations on small screens */
    .animate-on-scroll,
    .animate-fade-left,
    .animate-fade-right {
        transform: translateY(10px);
        transition-duration: 0.3s;
    }
    
    /* Hero section - faster load */
    .hero-animate {
        animation-duration: 0.5s;
    }
    
    .hero-animate-delay-1 {
        animation-delay: 0.1s;
    }
    
    .hero-animate-delay-2 {
        animation-delay: 0.2s;
    }
    
    .hero-animate-delay-3 {
        animation-delay: 0.3s;
    }
    
    /* Disable complex animations */
    .animate-scale {
        transform: none;
        opacity: 0;
    }
    
    .animate-scale.animated {
        opacity: 1;
    }
}

/* ============================================
   17. REDUCED MOTION SUPPORT
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .animate-on-scroll,
    .animate-fade-left,
    .animate-fade-right,
    .animate-scale,
    .animate-stagger > * {
        opacity: 1;
        transform: none;
    }
}

/* ============================================= */
/* BLOG POST PAGE ANIMATIONS                     */
/* ============================================= */

/* Blog post header info */
.page-blog-post .info-block.flex-center-align {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.page-blog-post .info-block.flex-center-align.animate-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Blog post h5 label */
.page-blog-post .info-block h5 {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease 0.1s, transform 0.6s ease 0.1s;
}
.page-blog-post .info-block.animate-visible h5 {
    opacity: 1;
    transform: translateY(0);
}

/* Blog post title */
.page-blog-post .info-block h1 {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}
.page-blog-post .info-block.animate-visible h1 {
    opacity: 1;
    transform: translateY(0);
}

/* Blog author/date info */
.page-blog-post .blogs-info-container {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.6s ease 0.3s, transform 0.6s ease 0.3s;
}
.page-blog-post .info-block.animate-visible .blogs-info-container {
    opacity: 1;
    transform: translateY(0);
}

/* Blog rich text content */
.page-blog-post .blogs-container {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.page-blog-post .blogs-container.animate-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Related blogs section */
.page-blog-post .related-blogs-block {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.page-blog-post .related-blogs-block.animate-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Related blog cards stagger */
.page-blog-post .div-block-31 > div {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.page-blog-post .div-block-31 > div:nth-child(1) { transition-delay: 0.1s; }
.page-blog-post .div-block-31 > div:nth-child(2) { transition-delay: 0.25s; }
.page-blog-post .div-block-31 > div.animate-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Related blog card hover */
.page-blog-post .div-block-31 > div {
    cursor: pointer;
}
.page-blog-post .div-block-31 > div:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

/* ============================================= */
/* UPDATING SOON PAGE                            */
/* ============================================= */
.updating-soon-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px;
}
.updating-soon-content {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    max-width: 600px;
}
.updating-soon-content.animate-visible {
    opacity: 1;
    transform: translateY(0);
}
.updating-soon-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--ocean-blue, #0066cc);
}
.updating-soon-content p {
    font-size: 18px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 30px;
}
.updating-soon-content .back-link {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--ocean-blue, #0066cc);
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.updating-soon-content .back-link:hover {
    background-color: var(--bright-aqua, #00aacc);
    transform: translateY(-2px);
}
