/*
Theme Name: ArkenticAI Child
Description: Child theme for the ArkenticAI website.
Author: ArkenticAI
Template: kadence
Version: 1.0.0
Text Domain: arkenticai-child
*/

/*
 * ArkenticAI custom CSS
 * Add site-specific styles below this line.
 */
.hero-copy > .kt-inside-inner-col {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    gap: 16px !important;
}

.hero-copy > .kt-inside-inner-col > * {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
/*--------------------------------------------------------------------------------------------------*/
.hero-description {
    max-width: 620px;
}
/*------------------------------------------------------*/
.hero-video video {
    opacity: 0;
    transform: translateX(38px) scale(0.985);

    transition:
        opacity 0.65s ease-out,
        transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);

    will-change: opacity, transform;
}

.hero-video.video-ready video {
    opacity: 1;
    transform: translateX(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
    .hero-video video {
        transition: none;
        opacity: 1;
        transform: none;
    }
}
/*------------------------------------------------------------------------------------------------*/
/* ------------------------------------------------------
   ArkenticAI Hero Text Entrance Animation
------------------------------------------------------ */

.hero-copy > .kt-inside-inner-col > * {
    opacity: 0;
    transform: translateY(22px);

    animation: heroTextReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Stagger each hero element */
.hero-copy > .kt-inside-inner-col > *:nth-child(1) {
    animation-delay: 0.10s;
}

.hero-copy > .kt-inside-inner-col > *:nth-child(2) {
    animation-delay: 0.22s;
}

.hero-copy > .kt-inside-inner-col > *:nth-child(3) {
    animation-delay: 0.34s;
}

.hero-copy > .kt-inside-inner-col > *:nth-child(4) {
    animation-delay: 0.46s;
}

.hero-copy > .kt-inside-inner-col > *:nth-child(5) {
    animation-delay: 0.58s;
}

@keyframes heroTextReveal {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .hero-copy > .kt-inside-inner-col > * {
        opacity: 1;
        transform: none;
        animation: none;
    }
}
/*--------------------------------------------------------------------------------------------*/
/* ==========================================================
   ARKENTICAI — GLOBAL SERVICE CARD SYSTEM
   All 4 service cards
========================================================== */


/* ----------------------------------------------------------
   1. EQUAL 1:1 TEXT + IMAGE PANELS
---------------------------------------------------------- */

.service-card-text,
.service-card-image {
    min-width: 0;
    box-sizing: border-box;
    min-height: 340px;
}


/* Text panel */
.service-card-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
   
}


/* Image panel */
.service-card-image {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}


/* Make any image inside the image panel fill the square */
.service-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/* ----------------------------------------------------------
   2. SAFE NORMAL STATE
   Everything remains visible if JavaScript is unavailable.
---------------------------------------------------------- */

.service-card-text,
.service-card-image {
    opacity: 1;
    transform: translateY(0);
}


/* ----------------------------------------------------------
   3. SCROLL-ANIMATION STARTING STATE
   JavaScript adds .service-reveal-ready
---------------------------------------------------------- */

.service-card-text.service-reveal-ready,
.service-card-image.service-reveal-ready {
    opacity: 0 !important;
    transform: translateY(44px) !important;
}


/* ----------------------------------------------------------
   4. REVEALED STATE
---------------------------------------------------------- */

.service-card-text.service-reveal-ready.service-visible,
.service-card-image.service-reveal-ready.service-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;

    transition:
        opacity 0.75s ease-out,
        transform 0.95s cubic-bezier(0.16, 1, 0.3, 1);
}


/* Image follows text very slightly */
.service-card-image.service-reveal-ready.service-visible {
    transition-delay: 0.10s;
}


/* ----------------------------------------------------------
   5. PREMIUM IMAGE HOVER
---------------------------------------------------------- */

.service-card-image img {
    transition:
        transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card-image:hover img {
    transform: scale(1.018);
}


/* ----------------------------------------------------------
   6. MOBILE
---------------------------------------------------------- */

@media (max-width: 767px) {

    .service-card-text,
    .service-card-image {
        aspect-ratio: auto;
    }

    .service-card-image img {
        width: 100%;
        height: auto;
    }
}


/* ----------------------------------------------------------
   7. REDUCED MOTION
---------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

    .service-card-text,
    .service-card-image,
    .service-card-text.service-reveal-ready,
    .service-card-image.service-reveal-ready,
    .service-card-text.service-reveal-ready.service-visible,
    .service-card-image.service-reveal-ready.service-visible {

        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .service-card-image:hover img {
        transform: none;
    }
}
/*-------------------------------- 3 how it works and 4 why arkenticai cards animation on scrolling---------------------------------------*/
/* =====================================================
   HOW IT WORKS + WHY ARKENTICAI
   CASCADING SCROLL REVEAL
   ===================================================== */


/* Normal state – visible if JavaScript is unavailable */
.process-card,
.why-card {
    opacity: 1;
    transform: translateY(0);
}


/* Hidden starting position after JavaScript initializes */
.process-card.process-reveal-ready,
.why-card.process-reveal-ready {
    opacity: 0;
    transform: translateY(42px);
}


/* Reveal */
.process-card.process-reveal-ready.process-visible,
.why-card.process-reveal-ready.process-visible {
    opacity: 1;
    transform: translateY(0);

    transition:
        opacity 0.8s ease-out,
        transform 1.05s cubic-bezier(0.16, 1, 0.3, 1);
}


/* -----------------------------------------------------
   HOW IT WORKS – fallback cascade
----------------------------------------------------- */

.process-card:nth-child(1) {
    transition-delay: 0s;
}

.process-card:nth-child(2) {
    transition-delay: 0.18s;
}

.process-card:nth-child(3) {
    transition-delay: 0.36s;
}


/* -----------------------------------------------------
   WHY ARKENTICAI – fallback cascade
----------------------------------------------------- */

.why-card:nth-child(1) {
    transition-delay: 0s;
}

.why-card:nth-child(2) {
    transition-delay: 0.18s;
}

.why-card:nth-child(3) {
    transition-delay: 0.36s;
}

.why-card:nth-child(4) {
    transition-delay: 0.54s;
}


/* -----------------------------------------------------
   Accessibility
----------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

    .process-card,
    .why-card,
    .process-card.process-reveal-ready,
    .why-card.process-reveal-ready,
    .process-card.process-reveal-ready.process-visible,
    .why-card.process-reveal-ready.process-visible {

        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}
/*--------------------------------------- footer Logo size adjustment ---------------------------------------*/
/* =================================================
   ARKENTICAI FOOTER
   ================================================= */
/* Footer logo */
.site-footer-middle-section-1 #block-9 img {
    width: 260px !important;
    max-width: 260px !important;
    height: auto !important;
}
/*---------------------------------------------- adjusting position of missdle colomn of footer --------------------------------------------------------*/
/* Footer middle column alignment - desktop only */
@media (min-width: 1025px) {
    .site-footer-middle-section-2 {
        transform: translateX(100px);
    }
}
/*------------------------------------------------ devider between footer and last "Transform with AI section --------------------------------------------*/
/* Footer separation from CTA section */
.site-footer {
    border-top: 1px solid rgba(184, 197, 214, 0.18);
}"