/*
 Theme Name: Hello Elementor Child
 Theme URI: https://ahuratechnosoft.com
 Description: Child theme for Hello Elementor
 Author: Your Name
 Author URI: https://ahuratechnosoft.com
 Template: hello-elementor
 Version: 1.0.1
 Text Domain: hello-elementor-child
*/


/* Add your custom CSS below this line */

:root {
    --gft-body: #6E6E6E;
    --gft-orange: #E30016;
    --gft-white: #FFFFFF;
    --gft-black: #000000;
    --gft-font-primary: "Blauer Nue", Sans-serif;
    --gft-font-secondary: "Aeonik";
    --primary-red: #D32F2F;
    --text-grey: #666;
    --bg-color: #f5f5f5;
    --card-bg: #ffffff;
}

.gft_title h1,
.gft_title h2,
.gft_title h3,
.gft_title h4,
.gft_title h6,
.gft_title h5 {
    font-weight: 400 !important;
}

.gft_title h1 span,
.gft_title h2 span,
.gft_title h3 span,
.gft_title h4 span,
.gft_title h6 span,
.gft_title h5 span {
    color: var(--gft-orange);
    font-weight: 400 !important;
    font-family: inherit;
}

.gft_shadow {
    box-shadow: 0 58px 16px 0 rgba(0 0 0 / 0%), 0 37px 15px 0 rgba(0 0 0 / 1%), 0 21px 12px 0 rgba(0 0 0 / 5%), 0 9px 9px 0 rgba(0 0 0 / 9%), 0 5px 5px 0 rgba(0 0 0 / 10%);
}

.gft_gsap_counter>.elementor-element {
    aspect-ratio: 1/1;
    height: unset;
    width: 300px;
    justify-content: space-between;
}



.gft_gsap_counter {
    position: relative;
    height: 395px;
}

.gft_gsap_counter>.elementor-element:first-child {
    position: absolute;
    left: 0;
    top: 0;
}

.gft_gsap_counter>.elementor-element:last-child {
    position: absolute;
    right: 0;
    top: 0;
}

.gft_gsap_counter>.elementor-element:nth-child(2) {
    position: absolute;
    left: 50%;
    top: 95px;
    transform: translateX(-50%);
}

.gft_gsap_counter>.elementor-element .elementor-counter-number-wrapper {
    line-height: 1 !important;
}

.gft_gsap_counter>.elementor-element .elementor-counter-number-wrapper span {
    font-family: var(--gft-font-primary) !important;
    font-weight: 300 !important;
}

.journey-timeline {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.journey-timeline::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 30%;
    background: linear-gradient(90deg, rgba(245, 245, 245, 1) 0%, rgba(245, 245, 245, 0) 100%);
    pointer-events: none;
    z-index: 2;
}

.journey-timeline::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 30%;
    background: linear-gradient(90deg, rgba(245, 245, 245, 0) 0%, rgba(245, 245, 245, 1) 100%);
    pointer-events: none;
    z-index: 2;
}

.journey-timeline .card-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 69px 139px 43px 0 rgba(0 0 0 / 0%), 44px 89px 40px 0 rgba(0 0 0 / 1%), 25px 50px 33px 0 rgba(0 0 0 / 5%), 11px 22px 25px 0 rgba(0 0 0 / 9%), 3px 6px 14px 0 rgba(0 0 0 / 10%);
    scale: 0.8;
    filter: grayscale(1);
    opacity: 0.8;
    -webkit-transition: 0.6s ease all;
    -moz-transition: 0.6s ease all;
    -ms-transition: 0.6s ease all;
    -o-transition: 0.6s ease all;
    transition: 0.6s ease all;
}

.journey-timeline .swiper-slide-active .card-image img {
    scale: 1;
    filter: grayscale(0);
    opacity: 1;
}

.journey-timeline .card h3 {
    text-align: center;
    font-size: 24px;
    font-family: var(--gft-font-secondary);
    font-weight: normal !important;
    color: var(--gft-title);
    opacity: 0;
    margin-bottom: 0 !important;
    -webkit-transition: 0.4s ease all;
    -moz-transition: 0.4s ease all;
    -ms-transition: 0.4s ease all;
    -o-transition: 0.4s ease all;
    transition: 0.4s ease all;
}

.journey-timeline .swiper-slide-active .card h3 {
    opacity: 1;
}

.timeline-swiper {
    position: relative;
    margin-top: 36px;
}

.timeline-swiper::after {
    content: "";
    position: absolute;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg, rgba(198, 198, 198, 0) 0%, rgba(82, 82, 82, 1) 76%, rgba(198, 198, 198, 0) 100%);
    bottom: 54px;
}

.timeline-swiper .dot-wrap .year {
    font-size: 16px;
    color: #A9A9A9;
}

.timeline-swiper .dot-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 8px;
    width: fit-content;
    cursor: pointer;
    margin: 0 auto;
    background-color: #f5f5f5;
    padding: 6px 20px;
}

.timeline-swiper .dot-wrap .dot {
    width: 20px;
    height: 20px;
    background-color: #A9A9A9;
    border-radius: 4px;
    position: relative;
}

.timeline-swiper .swiper-slide-active .dot-wrap .year {
    font-size: 24px;
    color: var(--gft-orange);
}

.timeline-swiper .swiper-slide-active .dot-wrap .dot {
    width: 24px;
    height: 24px;
    background-color: #525252;
}

.timeline-swiper .dot-wrap .dot::after {
    content: "";
    position: absolute;
    inset: -4px;
    border: 1px solid var(--gft-orange);
    border-radius: 6px;
    opacity: 0;
}

.timeline-swiper .swiper-slide-active .dot-wrap .dot::after {
    opacity: 1;
}

@media screen and (max-width:767px) {

    .gft_gsap_counter>.elementor-element:first-child,
    .gft_gsap_counter>.elementor-element:last-child,
    .gft_gsap_counter>.elementor-element:nth-child(2) {
        position: unset !important;
        transform: unset;
    }

    .journey-timeline .card h3 {
        font-size: 16px;
    }

    .timeline-swiper .dot-wrap .dot {
        width: 16px;
        height: 16px;
    }

    .timeline-swiper .swiper-slide-active .dot-wrap .year {
        font-size: 18px;
    }

    .gft_gsap_counter {
        overflow: scroll;
    }

    .elementor-element.elementor-element-2944f1e.e-grid.e-con-full.gft_gsap_counter.e-con.e-child {
        height: 100%;
        padding-bottom: 10%;
        padding-left: 3%;
    }
}




/*Mobile Menu Css*/
header.main-header .logo img {
    width: 150px;
}

/* --- Header Section --- */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    z-index: 1100;
}

.header-wrapper {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    background: #EAEAEA;
    padding: 15px 20px;
    border-radius: 16px 16px 0 0;
    margin: 10px auto 0;
}

header.main-header .logo img {
    width: 150px;
}

.logo-box {
    width: 30px;
    height: 30px;
    background: #333;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.hamburger-btn {
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

/* --- Main Content Placeholder --- */
.content-placeholder {
    padding-top: 120px;
    padding-left: 30px;
    padding-right: 30px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-text {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
}

.sub-text {
    color: #666;
    line-height: 1.6;
}

/* --- The Menu Overlay --- */
.menu-overlay {
    position: fixed;
    top: var(--header-height);
    /* Starts EXACTLY below header */
    left: 50%;
    width: 100%;
    /* height: calc(100vh - var(--header-height)); */
    background: rgba(0, 0, 0, 0);
    z-index: 1000;
    display: flex;
    justify-content: center;
    /* Center the card horizontally */
    align-items: flex-start;
    /* Align to top */
    pointer-events: none;
    transition: background 0.4s ease;
    transform: translate(-50%);
}

.menu-overlay.active {
    pointer-events: all;
}

/* --- The Menu Card (Accordion Style) --- */
.menu-card {
    background: var(--card-bg);
    width: 90%;
    /* Round only bottom corners to look attached to header */
    border-radius: 0 0 20px 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;

    /* Animation Mechanics */
    height: 0;
    opacity: 0;
    transition:
        height 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.3s ease;
}

/* Active State */
.menu-overlay.active .menu-card {
    height: 400px;
    /* Adjust based on content */
    opacity: 1;
}

.menu-inner {
    padding: 40px 30px 30px 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease 0.1s;
}

.menu-overlay.active .menu-inner {
    opacity: 1;
    transform: translateY(0);
}

/* Navigation Links */
.nav-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
    text-align: center;
}

.nav-item {
    text-decoration: none;
    color: var(--text-grey);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.2s;
    position: relative;
    padding: 5px 0;
}

.nav-item:hover {
    color: var(--primary-red);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    /*height: 2px;*/
    /*background: var(--primary-red);*/
    transition: width 0.3s ease, left 0.3s ease;
}

/* Footer / CTA */
.menu-footer {
    display: flex;
    justify-content: center;
}

.contact-btn {
    background-color: var(--primary-red);
    color: white;
    text-decoration: none;
    padding: 14px 40px;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3);
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
    width: 100%;
    justify-content: center;
}

.contact-btn:hover {
    background-color: #b71c1c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.4);
}

/* --- Preloader --- */
.site-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #ffffff;
    z-index: 9999999;
    /* Ensure it is on top of everything */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out, visibility 0.5s;
}

.site-preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Logo Wrapper */
/* Logo Wrapper */
.preloader-logo-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    overflow: hidden;
    /* Ensure mask doesn't spill out */
    border-radius: 12px;
}

/* 1. Back Fill (The Red Logo) */
.logo-back-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 1;
}

/* 2. Wave Mask (The White Water Effect) */
.wave-mask {
    position: absolute;
    left: 50%;
    top: 0;
    /* Start covering the logo */
    width: 250%;
    height: 250%;
    background-color: #ffffff;
    border-radius: 40%;
    z-index: 5;
    animation: gft-wave-rise 1s infinite linear;

}

/* 3. Front Outline (The Frame) */
.logo-front-outline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 10;
}

@keyframes gft-wave-rise {
    0% {
        top: 0%;
        transform: translate(-50%, -10%) rotate(0deg);
    }

    100% {
        top: -260%;
        /* Move fully past the 250% mask */
        transform: translate(-50%, -10%) rotate(360deg);
    }
}