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

html {
  scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;
    gap: 10vw;
    margin: 0;
    min-height: 100vh;
    position: relative;
}

section {
    z-index: 5;
    position: relative;
    color: #3c8dff;
    padding: 5vw 5vw !important;
    margin: 0 !important;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid gray;
    border-bottom: 1px solid gray;
}

.bubbles-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.b {
    z-index: -1;
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(120,190,255,0.2);
}

.often-question {
    margin: 0 auto;
    padding: 60px 20px;
    font-family: 'Arial';
}

.question-main-header {
    font-size: 36px;
    text-align: center;
    margin-bottom: 12px;
}

.question-main-paragraph {
    font-size: 15px;
    text-align: center;
    color: #666;
    margin-bottom: 50px;
}

.faq-section {
    gap: 30px;
}
.question-section{
    /* border: 1px solid gray; */
    width: 100%;
    margin-bottom: 40px;
}

.type-qestion {
    margin-bottom: 24px;
}

.question-header {
    font-size: 18px;
    margin-bottom: 8px;
}

.question-paragrapher {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.questions-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.question-block {
    background: #f8f9fa;
    padding: 18px 20px;
    border-radius: 8px;
    font-size: 14px;
    color: #1a1a1a;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 56px;
    display: flex;
    align-items: center;
}

.question-block:not(:empty)::after {
    content: '';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: #6366f1;
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.question-block:hover {
    background: #eef0f2;
}

.question-block:empty {
    display: none;
}

.answer-block {
            background: #fff;
            padding: 20px;
            border-left: 3px solid #6366f1;
            margin-top: 8px;
            margin-bottom: 4px;
            font-size: 14px;
            color: #4a5568;
            line-height: 1.6;
        }

@media(min-width: 900px){
    .question-section{
        display:grid;
        grid-template-columns: 400px 1fr;
    }
}

@media (max-width: 640px) {
    .question-main-header {
        font-size: 28px;
    }
    
    .question-main-paragraph {
        font-size: 14px;
    }
    
    .question-block {
        padding: 16px 18px;
        font-size: 13px;
    }
}

.education-terms-section {
    margin: auto;
    padding: 32px;
}

.concepts {
    text-align: center;
    font-size: 40px;
    margin-bottom: 24px;
    color: #3c8dff;
}

.education-terms-block {
    overflow: hidden;
    position: relative;
    padding: 24px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.education-terms-header {
    font-size: 28px;
    margin-bottom: 16px;
    color: #4b5563;
}

.education-terms-paragraph {
    font-size: 18px;
    line-height: 28px;
    color: black;
    z-index: 3;
}

.glossary-terms-section {
    display: flex;
    flex-direction: column;
    width: 100%; 
    align-items: center;
}


.glossary-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    font-family: "Arial";
    line-height: 10px;
}


.glossary-terms-header {
    font-size: 18px;
    margin-bottom: 16px;
    color: white;
}


.glossary-terms-block {
    margin-bottom: 10px;
    padding: 15px;
    border-radius: 15px;
    color: white;
}


.glossary-terms-paragraph {
    font-size: 15px;
    line-height: 20px;
}

.page-nav {
    display: flex;
    gap: 8px;
    position: sticky;
    top: 16px;
    margin-left: 16px;
    text-align: center;
    align-items: center;
    z-index: 10;
    width: fit-content;
}

@media (max-width: 900px) {
    .page-nav {
        position: relative;
        flex-direction: column;
        justify-content: center;
        width: 100%;
        margin-left: 0;
    }

    .glossary-container {
        grid-template-columns: 1fr 1fr;
    }
}

.page-nav a {
    color: white;
    font-size: 16px;
    padding: 8px 16px;
    background-color: #3c8dff;
    border-radius: 16px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
}

.page-nav a:hover {
    background-color: #0964e3;
}

.go-top {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    color: white;
    font-size: 16px;
    width: 40px;
    height: 40px;
    background-color: #3c8dff;
    border-radius: 50%;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    bottom: 16px;
    right: 16px;
    z-index: 10;
}

.depression-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 1fr;
    gap: 16px;
    padding-bottom: 48px;
}

.emotion-apathy     { background: rgba(100,100,110,0.35); border-color: rgba(180,180,190,0.2); }
.emotion-hopeless   { background: rgba(20,40,100,0.45);   border-color: rgba(80,120,255,0.25); }
.emotion-helpless   { background: rgba(40,60,110,0.38);   border-color: rgba(100,140,220,0.2); }
.emotion-hostile    { background: rgba(120,20,20,0.45);   border-color: rgba(255,80,80,0.25);  }
.emotion-anger      { background: rgba(160,20,20,0.45);   border-color: rgba(255,60,60,0.3);   }
.emotion-grief      { background: rgba(70,20,100,0.45);   border-color: rgba(180,80,255,0.25); }
.emotion-depress    { background: rgba(30,30,40,0.55);    border-color: rgba(120,120,140,0.2); }
.emotion-excited    { background: rgba(120,100,0,0.42);   border-color: rgba(255,220,60,0.25); }
.emotion-pity       { background: rgba(20,80,120,0.42);   border-color: rgba(80,180,255,0.25); }
.emotion-envy       { background: rgba(20,90,30,0.45);    border-color: rgba(80,220,80,0.25);  }
.emotion-despair    { background: rgba(60,30,90,0.42);    border-color: rgba(160,100,230,0.22);}
.emotion-irony      { background: rgba(0,90,90,0.42);     border-color: rgba(0,220,200,0.22);  }
.emotion-rage       { background: rgba(180,0,0,0.5);      border-color: rgba(255,40,40,0.35);  }
.emotion-revenge    { background: rgba(100,0,80,0.48);    border-color: rgba(255,60,200,0.25); }
.emotion-hate       { background: rgba(80,0,0,0.55);      border-color: rgba(200,0,0,0.3);     }
.emotion-dissat     { background: rgba(130,60,0,0.42);    border-color: rgba(255,140,40,0.25); }
.emotion-dislike    { background: rgba(100,40,60,0.4);    border-color: rgba(220,100,140,0.22);}
.emotion-fright     { background: rgba(40,0,120,0.48);    border-color: rgba(140,80,255,0.28); }
.emotion-humil      { background: rgba(80,40,0,0.45);     border-color: rgba(180,120,40,0.25); }
.emotion-guilt      { background: rgba(50,60,10,0.48);    border-color: rgba(150,170,40,0.22); }
.emotion-gloom      { background: rgba(25,25,30,0.55);    border-color: rgba(100,100,110,0.2); }
.emotion-irritate   { background: rgba(150,50,0,0.45);    border-color: rgba(255,100,40,0.28); }
.emotion-sadness    { background: rgba(30,50,90,0.45);    border-color: rgba(100,140,220,0.22);}
.emotion-suffer     { background: rgba(100,10,40,0.48);   border-color: rgba(220,60,110,0.25); }
.emotion-shame      { background: rgba(120,20,60,0.42);   border-color: rgba(255,80,140,0.25); }
.emotion-melancholy { background: rgba(30,20,100,0.48);   border-color: rgba(100,80,255,0.28); }
.emotion-anxiety    { background: rgba(100,80,0,0.45);    border-color: rgba(220,180,0,0.25);  }
.emotion-schaden    { background: rgba(10,70,30,0.48);    border-color: rgba(40,200,80,0.25);  }
.emotion-frustr     { background: rgba(120,50,0,0.48);    border-color: rgba(255,120,20,0.28); }


.education-terms-block::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    transform: translateX(50%);
    width: 50%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.3; 
}

#education .education-terms-block:nth-child(1)::after {
    background-image: url("https://cdn-icons-png.flaticon.com/512/742/742751.png");
}

#education .education-terms-block:nth-child(2)::after {
    background-image: url("https://cdn-icons-png.flaticon.com/512/4076/4076504.png");
}

#education .education-terms-block:nth-child(3)::after {
    background-image: url("https://cdn-icons-png.flaticon.com/512/3209/3209265.png"); 
}

#education .education-terms-block:nth-child(4)::after {
    background-image: url("https://cdn-icons-png.flaticon.com/512/2910/2910768.png");
}

#education .education-terms-block:nth-child(5)::after {
    background-image: url("https://cdn-icons-png.flaticon.com/512/2965/2965567.png"); 
}

#education .education-terms-block:nth-child(6)::after {
    background-image: url("https://cdn-icons-png.flaticon.com/512/4149/4149676.png");
}


#stress .education-terms-block:nth-child(1)::after {
    background-image: url("https://cdn-icons-png.flaticon.com/512/2913/2913465.png"); 
}

#stress .education-terms-block:nth-child(2)::after {
    background-image: url("https://cdn-icons-png.flaticon.com/512/9068/9068750.png");
}

#stress .education-terms-block:nth-child(3)::after {
    background-image: url("https://cdn-icons-png.flaticon.com/512/4149/4149647.png"); 
}

#stress .education-terms-block:nth-child(4)::after {
    background-image: url("https://cdn-icons-png.flaticon.com/512/3209/3209186.png"); 
}

#stress .education-terms-block:nth-child(5)::after {
    background-image: url("https://cdn-icons-png.flaticon.com/512/1828/1828884.png");
}


#conflict .education-terms-block:nth-child(1)::after {
    background-image: url("https://cdn-icons-png.flaticon.com/512/190/190406.png");
}

#conflict .education-terms-block:nth-child(2)::after {
    background-image: url("https://cdn-icons-png.flaticon.com/512/1946/1946429.png");
}

#conflict .education-terms-block:nth-child(3)::after {
    background-image: url("https://cdn-icons-png.flaticon.com/512/1828/1828843.png");
}

#conflict .education-terms-block:nth-child(4)::after {
    background-image: url("https://cdn-icons-png.flaticon.com/512/1048/1048943.png"); 
}

#conflict .education-terms-block:nth-child(5)::after {
    background-image: url("https://cdn-icons-png.flaticon.com/512/753/753345.png"); 
}