/* Preloader styles */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Image animation - pulse effect */
.preloader-img {
    width: 300px;
    /* adjust size */
    animation: pulse 1.5s infinite;
}

/* Keyframes for pulsing */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}


/* New Outline Button */
.global-btn-outline {
    border: 2px solid #46d137c9;
    background-color: transparent;
    color: #46d137c9;
    padding: 15px 15px;
    font-size: 18px;
    font-weight: 600;
    /* font-family: var(--bodyFontFamily); */
    letter-spacing: 1px;
    border-radius: 10px;
    position: relative;
    display: inline-flex;
    /* FIX: stable alignment */
    align-items: center;
    /* FIX: prevent shifting */
    justify-content: center;
    transition: var(--transition);
    z-index: 1;
    margin-left: 10px;
    overflow: hidden;
    /* required for animation */
}

.global-btn-outline::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 0%;
    height: 0%;
    background-color: #46d137c9;
    border-radius: inherit;
    z-index: -1;

    transition: width 0.3s ease-in-out, height 0.3s ease-in-out;
}

.global-btn-outline:hover {
    color: #000;
}

.global-btn-outline:hover::before {
    width: 100%;
    height: 100%;
}

/*  */
.gaap-30 {
    gap: 30px;
}

.ft-15 {
    font-size: 15px;
}

.ft-des {
    justify-content: space-between;
}

@media (max-width: 992px) {
    .ft-des {
        display: flex;
        flex-direction: column;
    }
}

/* .copy-right-text {
    text-align: center;
    border-top: 1px solid #b3fdaf17;
}

.copy-right-text p {
    margin: 5px 0;
    font-size: 14px;
} */

.px-60 {
    padding-top: 60px;
}

.pxy-60 {
    padding-top: 60px;
    padding-bottom: 60px;
}

.bg-clr {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 50%, #f8fafc 100%);
}

/*  */
/* -------------------- FOUNDER CARD -------------------- */
.founder-card {
    display: flex;
    align-items: center;
    gap: 35px;
    margin-bottom: 30px;
    padding: 35px;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 50%, #f8fafc 100%);
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.07);
}

/* LEFT COUNTERS */
.counter-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.counter-box {
    text-align: center;
    background: #F9FFF8;
    padding: 20px 12px;
    border-radius: 12px;
    border: 1px solid #dff4dd;
}

.counter-number {
    font-size: 36px;
    font-weight: 800;
    color: #29AA1E;
    line-height: 1;
}

.counter-label {
    font-size: 14px;
    font-weight: 500;
    margin-top: 6px;
    color: #444;
}

/* CENTER IMAGE */
.founder-image {
    flex: 1;
    text-align: center;
}

.founder-image img {
    width: 100%;
    max-width: 350px;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
}

/* RIGHT CONTENT */
.content-section {
    flex: 2;
}

.founder-name {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 5px;
    color: #222;
}

.founder-position {
    font-size: 18px;
    font-weight: 600;
    color: #29AA1E;
    margin-bottom: 15px;
}

.founder-description {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
}

.team-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    border: 2px solid #4ce588;
    max-width: 300px;
    margin: auto;
    cursor: pointer;
    transition: box-shadow .3s ease;
}

.team-card:hover {
    box-shadow: 0 0 28px rgba(76, 229, 136, 0.45);
}

.team-card img {
    width: 100%;
    height: 400px;
    object-fit: scale-down;
    display: block;
    transition: transform .45s ease;
}

.team-card:hover img {
    transform: scale(1.01);
}

/* OVERLAY AT BOTTOM */
.team-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 18px 20px;
    background: linear-gradient(135deg, #4effa642, #368254);
    backdrop-filter: blur(6px);

    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;

    transition: all .45s ease;

    /* Initially small height (shows only name + position) */
    max-height: 90px;
    overflow: hidden;
}

/* On Hover → Expand overlay upwards */
.team-card:hover .team-overlay {
    max-height: 250px;
    padding-bottom: 28px;
    background: linear-gradient(135deg, #2bd37f, #b3fdaf);
}

/* NAME */
.team-name {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

/* POSITION */
.team-position {
    font-size: 14px;
    color: #ffffff;
    margin: 4px 0 8px;
}

/* DESCRIPTION (HIDDEN INITIALLY) */
.team-desc {
    font-size: 14px;
    line-height: 1.45;
    color: #e6ffe9;

    opacity: 0;
    transform: translateY(10px);
    transition: opacity .4s ease, transform .4s ease;
}

/* FADE IN ON HOVER */
.team-card:hover .team-desc {
    opacity: 1;
    transform: translateY(0);
    color: #000;
}

.team-card:hover .team-position {
    color: #000;
}



/* -------------------- RESPONSIVE -------------------- */
@media (max-width: 992px) {
    .founder-card {
        flex-direction: column;
        text-align: center;
    }

    .counter-section {
        flex-direction: row;
        justify-content: center;
        gap: 15px;
    }

    .counter-box {
        width: 33%;
    }

    .content-section {
        margin-top: 15px;
    }
}


/*  */

.text-clr-a {
    color: #fff;
    font-weight: 500;
}

.text-clr-p {
    color: #fff;
    font-weight: 500;
}

.text-clr {
    color: #fff;
    font-weight: 500;
}

.footer-widget .text-clr-a:hover {
    color: #fff !important;
}

.footer-widget .text-clr:hover {
    color: #fff !important;
}

.ri-map-pin-line:before {
    color: #fff;
}

.ri-phone-line:before {
    color: #fff;
}

.ri-mail-line:before {
    color: #fff;
}

/*  */
/* GRID */
/* Default – Above 1401px = 4 cards */
/* ===== SOFTWARE GRID ===== */
.software-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    justify-items: center;
    /* Centers all cards perfectly */
    gap: 45px 30px;
    padding: 40px 0;
}

/* ===== FIXED CARD WIDTH ===== */
.flip-card {
    width: 300px;
    /* Your requested width */
    height: 370px;
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform .7s ease;
}

/* HOVER ROTATION */
.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

/* FRONT & BACK COMMON STYLE */
.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

/* ---- FRONT ---- */
.flip-card-front {
    background: #fff;
}

/* IMAGE */
.software-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* CONTENT */
.software-content {
    padding: 20px;
}

/* BADGE */
.software-badge {
    display: inline-block;
    background: #29AA1E;
    color: #fff;
    padding: 7px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
}

/* TITLE */
.software-name {
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 700;
    color: #1a1a1a;
}

/* TAGS */
.software-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-tag {
    background: #B3FDAF;
    color: #0c3f09;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
}

/* ---- BACK ---- */
.flip-card-back {
    background: #ffffff;
    transform: rotateY(180deg);
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-desc {
    font-size: 15px;
    color: #444;
    line-height: 23px;
    text-align: center;
}

/* NEW BREAKPOINT — 1400px → 3 CARDS */
@media (max-width: 1400px) {
    .software-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Existing Breakpoints */
@media (max-width: 1200px) {
    .software-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .software-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .software-grid {
        grid-template-columns: 1fr;
    }
}


/*  */

/* GRID */
.job-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* CARD */
.job-card {
    background: #fff;
    padding: 22px 26px;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    position: relative;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.job-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
    border-color: #d1d5db;
}

/* INLINE TITLE + ICON */
.job-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.job-inline-icon {
    font-size: 18px;
    color: #10b981;
    /* green */
}

/* TEXT */
.job-card p {
    font-size: 14px;
    margin-bottom: 10px;
    color: #6b7280;
}

.job-shift,
.job-location {
    display: block;
    font-size: 13px;
    color: #374151;
}

/*  */
.apply-text {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    font-size: 15px;
    font-weight: 600;
    color: #67eeba;
    text-decoration: none;
    transition: 0.3s ease;
}

.apply-text i {
    font-size: 14px;
    transition: 0.3s ease;
}

.apply-text:hover {
    color: #48c9a8;
}

.apply-text:hover i {
    transform: translateX(4px);
}



/*  */
/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1024px) {
    .job-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .job-grid {
        grid-template-columns: 1fr;
    }
}



/*  */
.pxy-60-10 {
    padding-top: 60px;
    padding-bottom: 10px;
}

.pxy-20-60 {
    padding-top: 20px;
    padding-bottom: 60px;
}