/* ===== 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 ===== */
.ec-policy {
    padding: 100px 0;
    background: #050510;
}

/* ===== WRAP ===== */
.ec-policy-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

/* ===== SIDEBAR ===== */
.ec-policy-nav {
    position: sticky;
    top: 120px;
    height: fit-content;
    padding: 25px;
    border-radius: 20px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
}

.ec-policy-nav h4 {
    margin-bottom: 15px;
    font-size: 16px;
}

.ec-policy-nav ul {
    list-style: none;
    padding: 0;
}

.ec-policy-nav li {
    margin-bottom: 10px;
}

.ec-policy-nav a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.ec-policy-nav a:hover {
    color: #B19CD9;
}

/* ===== CONTENT ===== */
.ec-policy-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* ===== BOX ===== */
.ec-policy-box {
    padding: 25px;
    border-radius: 20px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
}

/* headings */
.ec-policy-box h2 {
    margin-bottom: 10px;
    font-size: 20px;
}

/* text */
.ec-policy-box p,
.ec-policy-box li {
    color: rgba(255,255,255,0.75);
    font-size: 14px;
    line-height: 1.6;
}

/* lists */
.ec-policy-box ul {
    padding-left: 18px;
}

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

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

    .ec-policy-nav {
        position: relative;
        top: 0;
    }
}