.faq-hero-wrapper {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 120px 0;
    overflow: hidden;
}

.faq-hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    pointer-events: none;
}

.faq-hero-shape {
    position: absolute;
}

.faq-hero-circle-1 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(78, 171, 228, 0.3);
    top: -100px;
    right: -50px;
    animation: float 8s ease-in-out infinite;
}

.faq-hero-circle-2 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(254, 207, 51, 0.3);
    bottom: -50px;
    left: -50px;
    animation: float 6s ease-in-out infinite;
}

.faq-hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(78, 171, 228, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(78, 171, 228, 0.1);
}

.faq-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #4eabe4, #fecf33);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faq-hero-subtitle {
    font-size: 1.5rem;
    color: #111;
    font-weight: 300;
    margin-bottom: 0;
}

.faq-section {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.faq-item {
    background: #fff;
    border-radius: 20px;
    margin-bottom: 20px;
    position: relative;
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.faq-item:hover {
    transform: translateY(-5px);
}

.faq-item:hover::before {
    transform: scale(1.2);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #333;
    font-size: 1.2rem;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.faq-question::after {
    content: '+';
    font-size: 1.8rem;
    color: #4eabe4;
    transition: transform 0.3s ease;
}

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

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.faq-item.active .faq-answer {
    padding: 0 30px 25px;
    max-height: 500px;
}

.faq-answer p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

@media (max-width: 768px) {
    .faq-hero-wrapper {
        padding: 80px 0;
    }

    .faq-hero-title {
        font-size: 2.5rem;
    }

    .faq-hero-subtitle {
        font-size: 1.2rem;
    }

    .faq-hero-circle-1 {
        width: 200px;
        height: 200px;
    }

    .faq-hero-circle-2 {
        width: 150px;
        height: 150px;
    }
}

.faq-hero-triangle-1 {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 170px solid rgba(78, 171, 228, 0.3);
    top: 20%;
    left: 15%;
    transform: rotate(15deg);
    animation: float 7s ease-in-out infinite;
}

.faq-hero-triangle-2 {
    width: 0;
    height: 0;
    border-left: 70px solid transparent;
    border-right: 70px solid transparent;
    border-bottom: 120px solid rgba(254, 207, 51, 0.3);
    top: 50%;
    right: 10%;
    transform: rotate(-25deg);
    animation: float 9s ease-in-out infinite;
}

/* Replace the circle before element with square */

.faq-item:hover::before {
    transform: rotate(45deg) scale(1.2);
}

@media (max-width: 768px) {
    .faq-hero-triangle-1,
    .faq-hero-triangle-2 {
        display: none; /* Hide triangles on mobile */
    }
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #333;
    font-size: 1.2rem;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.faq-question::after {;
    content: ""; /* chevron-down icon */
    font-family: "Ionicons";
    /* or use one of these alternatives:
    content: "\f2c7"; // arrow-down
    content: "\f280"; // caret-down
    content: "\f3d0"; // menu
    */
    content: "\f35e";
    font-size: 30px;
    color: #4eabe4;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px !important;
    min-height: 40px !important;
    background: rgba(78, 171, 228, 0.1);
    border-radius: 4px;
}

.faq-item.active .faq-question::after {
    transform: rotate(180deg);
    background: #4eabe4;
    color: white;
}
