/*------------------------------------------------------------------
[COACH BY ANNIE WANG - EGINARY TEMPLATE STYLE]
完全使用Eginary原始设计和样式
------------------------------------------------------------------*/

/*------------------------------------------------------------------
[Color Codes - Eginary Official]
------------------------------------------------------------------*/
:root {
    --primary--color: #00dab2;
    --black--color: #000000;
    --secondary--color: #ffffff;
    --text-color: #545454;
    --dark-blue-family-color: #0b2a42;
    --grey-family: #817f7f;
    --grey-color: #f7f7ff;
    --light-lavender-bg: #eeeefc;
    --light-blue-color: #b0cbf6;
    --green-family-color: #2edab0;
    --royal-color: #597de8;
    --lavender-family: #a0a0c8;
    --purple-family: #6644e3;
    --ice-blue-family: #b1c9f6;
    --blue2-color: #2a3553;
    --blue2-color-family1: #293552;
    --pink2-color: #fb587b;
    --grey2-color: #6d6b6b;
    --grey2-color-family1: #d4d4d4;
    --sky2-color: #a1b0d2;
    --blue2-color-family2: #293452;
    --skin-bg: #fffcf1;
    --blue2-color-family3: #7786a9;
    --navy-blue3-color: #1a1a37;
    --navy-blue3-color2: #0e1d38;
    --redish-family-color1: #ed4c4e;
    --home3-light-bg: #eef4fe;
    --home3-light-shade: #9797b1;
    --navy-blue3-color3: #262647;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.header-con {
    background: #fff;
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand figure {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 22px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-subtitle {
    font-size: 12px;
    color: var(--gray-text);
    font-weight: 500;
}

.navbar-nav .nav-link {
    color: var(--gray-text) !important;
    font-weight: 500;
    margin-right: 20px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

.contact-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white !important;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   HERO SECTION
   ============================================ */

.banner-con {
    background: linear-gradient(135deg, rgba(0, 218, 178, 0.1), rgba(89, 125, 232, 0.1));
    padding: 100px 0;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.banner-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-text);
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.banner-subtitle {
    font-size: 18px;
    color: var(--gray-text);
    margin-bottom: 30px;
    line-height: 1.8;
}

.button-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-primary {
    background: #0b2a42;
    border: none;
    color: white;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--green-family-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    padding: 10px 28px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-outline-white {
    border: 2px solid white;
    color: white;
    background: transparent;
    padding: 10px 28px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-outline-white:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-outline-dark {
    border: 2px solid #0b2a42;
    color: #0b2a42;
    background: transparent;
    padding: 10px 28px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-outline-dark:hover {
    background: #0b2a42;
    color: white;
    transform: translateY(-2px);
}

.hero-image {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-wrapper {
    background: linear-gradient(135deg, rgba(0, 218, 178, 0.2), rgba(89, 125, 232, 0.2));
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.image-wrapper i {
    font-size: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.image-wrapper p {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark-text);
    margin: 0;
}

.image-wrapper small {
    color: var(--gray-text);
    font-size: 14px;
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.features-con {
    padding: 80px 0;
    background: white;
}

.section-title h2 {
    font-size: 42px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 15px;
}

.section-title p {
    font-size: 18px;
    color: var(--gray-text);
    max-width: 600px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 28px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--gray-text);
    font-size: 15px;
    line-height: 1.6;
}

/* ============================================
   USERS SECTION
   ============================================ */

.users-con {
    padding: 80px 0;
    background: var(--light-bg);
}

.user-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.user-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.user-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 15px;
}

.user-card p {
    color: var(--dark-text);
    font-weight: 600;
    font-size: 16px;
    margin: 0;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-con {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 80px 0;
    text-align: center;
    color: white;
}

.gradient-bg {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
}

.cta-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-subtitle {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.btn-light {
    background: white;
    color: var(--primary-color);
    padding: 12px 40px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-light:hover {
    background: var(--light-bg);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   FOOTER
   ============================================ */

.footer-con {
    background: #1f2937;
    color: #e5e7eb;
    padding: 60px 0 20px;
}

.footer-con h5 {
    color: white;
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 16px;
}

.footer-con p {
    font-size: 14px;
    line-height: 1.8;
}

.footer-con a {
    color: #e5e7eb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-con a:hover {
    color: var(--primary-color);
}

.footer-con ul li {
    margin-bottom: 10px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
}

.footer-con hr {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 40px 0 20px;
}

.footer-con > div > div > div:last-child {
    text-align: right;
}

.footer-con > div > div > div:last-child p {
    font-size: 13px;
    color: #9ca3af;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .banner-title {
        font-size: 32px;
    }

    .banner-subtitle {
        font-size: 16px;
    }

    .button-group {
        flex-direction: column;
    }

    .btn-primary,
    .btn-outline-primary {
        width: 100%;
    }

    .section-title h2 {
        font-size: 32px;
    }

    .cta-title {
        font-size: 32px;
    }

    .feature-card {
        padding: 20px;
    }

    .navbar-nav {
        margin-top: 20px;
    }

    .navbar-nav .nav-link {
        margin-right: 0;
        padding-bottom: 10px;
    }

    .contact-btn {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate__animated.animate__fadeInUp {
    animation: fadeInUp 0.6s ease-out;
}

/* ============================================
   UTILITIES
   ============================================ */

.main-box {
    position: relative;
}

.float-left {
    float: left;
}

.w-100 {
    width: 100%;
}

.h-100 {
    height: 100%;
}

.bg-light {
    background-color: var(--light-bg) !important;
}

.text-center {
    text-align: center;
}

/* ============================================
   EGINARY ANIMATIONS (move & spineer)
   ============================================ */

@keyframes move {
    50% {
        transform: translateY(-15px);
    }
}

@keyframes move1 {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-40px);
    }
}

@keyframes spineer {
    from {
        box-shadow: 0 0 0 0 rgb(0, 218, 178, 0.99);
    }
    to {
        box-shadow: 0 0 0 45px rgb(24, 63, 60, 0.01);
    }
}

@-webkit-keyframes spineer {
    from {
        box-shadow: 0 0 0 0 rgb(0, 218, 178, 0.99);
    }
    to {
        box-shadow: 0 0 0 45px rgb(24, 63, 60, 0.01);
    }
}

@keyframes ballPulseDouble {
    0%, 100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }
    50% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@-webkit-keyframes ballPulseDouble {
    0%, 100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }
    50% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

/* ============================================
   EGINARY LOADER STYLING
   ============================================ */

.loader-mask {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: fixed;
    z-index: 99999;
    background-color: #fff;
}

.loader {
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    font-size: 0;
    position: absolute;
    text-indent: -9999em;
    display: inline-block;
    margin: -25px 0 0 -25px;
    color: var(--primary-color);
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
}

.loader div {
    top: 0;
    left: 0;
    opacity: 0.5;
    float: none;
    width: 50px;
    height: 50px;
    position: absolute;
    border-radius: 50%;
    display: inline-block;
    background-color: var(--primary-color);
    -webkit-animation: ballPulseDouble 2s ease-in-out infinite;
    animation: ballPulseDouble 2s ease-in-out infinite;
}

.loader div:last-child {
    -webkit-animation-delay: -1s;
    animation-delay: -1s;
}
