
body{
   margin: 0;
   padding: 0;
   background-color: #000000;
   scroll-behavior: smooth;
}




header{
   position: absolute;
   top: 0;
   right: 0;
   left: 0;
   display: flex;
   align-items: center;
   justify-content: space-between;
   padding: 10px 40px;
   z-index: 999;
   background-color: #5957575b;
   backdrop-filter: blur(10px);


}

.head-left {
    display: flex;
    align-items: center;
}

.head-left a{
    color: #ffffff;
}

.head-left img {
    width: 40px;
    height: 40px;
    border-radius: 20%;
    margin-right: 15px;
}

.logo-button { 
    text-decoration: none;
    color: #ffffff; 
    font-size: 24px;
    font-weight: 700;
    transition: color 0.3s ease;
}

.logo-button:hover {
    color: #864c90; 
}

.head-right {
    display: flex;
    
}



.head-right a {
    text-decoration: none;
    color: #ffffff; 
    font-size: 16px;
    
    transition: color 0.3s ease;
}

.head-right a:hover {
    color: #a65bb1; 
}


.faq-hero {
    width: 100%;
    height: 400px; 
    background: url('https://images4.alphacoders.com/135/1355278.png') no-repeat center center/cover; /* Use a relevant background image */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white; 
    position: relative;
    margin-top: 50px; 
}

.faq-hero::before { 
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); 
}

.faq-hero-content {
    position: relative; 
    z-index: 1;
}

.faq-hero h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}


.search-bar {
    display: flex;
    justify-content: center;
    width: 60%; 
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.8); 
    border-radius: 30px;
    padding: 10px 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

#faq-search {
    flex-grow: 1;
    border: none;
    background: none;
    outline: none;
    font-size: 1.1em;
    padding: 10px 0; 
    margin-right: 15px;
    color: #333;
}

#faq-search::placeholder {
    color: #aaa;
}

#faq-search-button {
    background-color: #a25bb6; 
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

#faq-search-button:hover {
    background-color: #682d69;
}


.faq-main-content {
    width: 70%; 
    margin: 50px auto; 
    background-color: #ffffff; 
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.faq-list {
    width: 100%;
}


.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee; 
    padding-bottom: 20px;
}

.faq-item:last-child {
    border-bottom: none; 
    padding-bottom: 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 15px 0;
    transition: color 0.3s ease;
}

.faq-question h2 {
    font-size: 1.4em;
    margin: 0;
    flex-grow: 1; 
    margin-right: 15px;
}

.faq-icon {
    font-size: 1.8em;
    color: #b95dc0; 
    transition: transform 0.3s ease; 
    width: 30px; 
    text-align: center;
}


.faq-item.active .faq-question h2 {
    color: #c263c5; 
}

.faq-item.active .faq-icon {
    transform: rotate(45deg); 
}

.faq-answer {
    max-height: 0; 
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 0 0 0; 
}

.faq-item.active .faq-answer {
    max-height: 200px; 
    padding: 15px 0 15px 0; 
}

.faq-answer p {
    margin: 0;
    line-height: 1.7;
    color: #555; 
}


footer {
    width: 100%;
    text-align: center;
    padding: 30px 0;
    margin-top: 40px;
    background-color: #000000; 
    color: #fff;
    font-size: 0.9em;
}