/* ===== HEADER (FIXED AT TOP) ===== */
#masthead {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
}

/* ===== HERO SECTION (NO OVERLAP, PERFECT SPACING) ===== */
.ec-about-hero {
    margin-top: 95px; /* 🔥 MATCHES YOUR HEADER HEIGHT */
    padding: 80px 0 100px;
    position: relative;
    background: #050510;
    overflow: hidden;
}

/* ===== CONTAINER (NO EDGE TOUCHING) ===== */
.ec-about-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* ===== BACKGROUND GLOW EFFECT ===== */
.ec-about-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 30%, rgba(177,156,217,0.25), transparent 40%),
        radial-gradient(circle at 90% 70%, rgba(250,218,221,0.15), transparent 50%);
    filter: blur(60px);
    opacity: 0.7;
}

/* ===== LIGHT WAVE OVERLAY ===== */
.ec-about-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(177,156,217,0.2), rgba(250,218,221,0.08));
    opacity: 0.6;
}

/* ===== BADGE POSITION (SLIGHT LEFT OFFSET) ===== */
.ec-about-badge-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
    transform: translateX(-40px);
}

/* ===== BADGE STYLE ===== */
.ec-about-badge {
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 14px;
    color: #d6cfff;
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
}

/* ===== TITLE ===== */
.ec-about-title {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
    letter-spacing: -1px;
}

/* ===== GRADIENT TEXT ===== */
.ec-about-title span {
    background: linear-gradient(90deg, #B19CD9, #FADADD);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===== SUBTEXT ===== */
.ec-about-subtext {
    font-size: 16px;
    color: rgba(255,255,255,0.75);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .ec-about-title {
        font-size: 38px;
    }

    .ec-about-badge-wrap {
        transform: translateX(0);
    }

    .ec-about-hero {
        margin-top: 85px; /* smaller header on mobile */
        padding: 60px 0 80px;
    }
}

.ec-about-hero {
    margin-top: 95px; /* adjust to match header height */
    padding: 80px 0 100px;
}


/*next section*/


/* ===== SECTION ===== */
.ec-about-stats {
    padding: 80px 0;
    background: #050510;
}

/* ===== OUTER WRAP ===== */
.ec-about-stats-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 25px;
    border: 1px solid rgba(255,255,255,0.1);
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

/* ===== LEFT CARD ===== */
.ec-about-stats-left {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 20px;
    padding: 30px;
}

.ec-about-stats-left h3 {
    font-size: 22px;
    margin-bottom: 20px;
}

/* divider */
.ec-about-divider {
    height: 1px;
    background: rgba(255,255,255,0.15);
    margin-bottom: 20px;
}

/* text */
.ec-about-stats-left p {
    font-size: 15px;
    color: rgba(255,255,255,0.75);
    line-height: 1.6;
    margin-bottom: 25px;
}

/* link */
.ec-about-link {
    color: #cbb6ff;
    text-decoration: none;
    font-weight: 500;
}

.ec-about-link span {
    margin-left: 6px;
}

/* ===== RIGHT SIDE ===== */
.ec-about-stats-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* ===== PILL ===== */
.ec-about-pill {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    border-radius: 40px;
    background: linear-gradient(90deg, #6f5b9a, #8c7ab3);
}

.ec-about-pill-icon {
    width: 45px;
    height: 45px;
    background: #fff;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ec-about-pill h4 {
    margin: 0;
    font-size: 18px;
}

.ec-about-pill p {
    margin: 0;
    font-size: 13px;
    color: rgba(255,255,255,0.8);
}

/* ===== STATS GRID ===== */
.ec-about-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

/* ===== INDIVIDUAL STAT ===== */
.ec-stat h2 {
    font-size: 48px;
    font-weight: 700;
    margin: 0;
}

.ec-stat span {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {

    .ec-about-stats-wrap {
        grid-template-columns: 1fr;
    }

    .ec-about-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== SECTION ===== */
.ec-about-brand {
    padding: 100px 0;
    background: #050510;
}

/* ===== WRAPPER ===== */
.ec-about-brand-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 70px;
    align-items: center;
}

/* ===== IMAGE CONTAINER ===== */
.ec-about-brand-img {
    position: relative;
}

/* ===== BIG BACKGROUND SHAPE (FIXED) ===== */
.ec-about-bg-shape {
    position: absolute;
    top: -60px;
    left: -80px;
    width: 120%;
    height: 70%;
    background: linear-gradient(90deg, #B19CD9, #FADADD);
    border-radius: 25px;
    z-index: 0;
}

/* ===== IMAGE ===== */
.ec-about-brand-img img {
    width: 100%;
    border-radius: 20px;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

/* ===== RATING BADGE (PILL STYLE) ===== */
.ec-about-rating {
    position: absolute;
    top: 20px;
    left: 30px;
    background: #fff;
    color: #000;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 14px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ===== RIGHT CONTENT ===== */
.ec-about-brand-content {
    max-width: 520px;
}

/* ===== BADGE ===== */
.ec-about-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 14px;
    color: #d6cfff;
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 20px;
}

/* ===== TITLE ===== */
.ec-about-brand-content h2 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
}

/* gradient word */
.ec-about-brand-content h2 span {
    background: linear-gradient(90deg, #B19CD9, #FADADD);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===== TEXT ===== */
.ec-about-brand-content p {
    font-size: 15px;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    margin-bottom: 30px;
}

/* ===== BUTTON ===== */
.ec-about-btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.ec-about-btn:hover {
    background: #B19CD9;
    color: #000;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .ec-about-brand-wrap {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ec-about-bg-shape {
        display: none;
    }

    .ec-about-brand-content h2 {
        font-size: 32px;
    }
}



/* ===== SECTION ===== */
.ec-about-split {
    padding: 90px 0;
    background: #050510;
}

/* alternate background */
.ec-about-split-alt {
    background: #070021;
}

/* ===== WRAP ===== */
.ec-about-split-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* ===== IMAGE ===== */
.ec-about-split-img img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

/* ===== CONTENT ===== */
.ec-about-split-content h2 {
    font-size: 40px;
    margin-bottom: 15px;
}

/* gradient text */
.ec-about-split-content h2 span {
    background: linear-gradient(90deg, #B19CD9, #FADADD);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* text */
.ec-about-split-content p {
    font-size: 15px;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    margin-bottom: 15px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .ec-about-split-wrap {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}