/* General Styling */
body {
    font-family: 'Arial', sans-serif;
    background: #0e0e0e;
    color: #ffffff;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    perspective: 1000px; /* Adds 3D depth */
}

/* Section Container */
.section {
    text-align: center;
    padding: 50px 10%;
    opacity: 1; /* Hidden initially */
    transform: translateY(50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

/* Section Title */
.section-title {
    font-size: 2.5rem;
    color: #00ffcc;
    margin-bottom: 10px;
    transform: translateY(-20px);
}

/* Section Description */
.section-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #dddddd;
}

/* FAQ Container */
.faq-container {
    max-width: 800px;
    margin: auto;
}

/* FAQ Item (3D Effect) */
.faq-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    opacity: 1; /* Hidden initially */
    transform: translateY(30px) rotateY(10deg) scale(0.95); /* 3D Tilt Effect */
    transform-origin: center;
    perspective: 1000px;
}

/* FAQ Question */
.faq-question {
    font-size: 1.2rem;
    color: #00ffcc;
    margin: 0;
    text-align: left;
    position: relative;
}

/* FAQ Answer */
.faq-answer {
    font-size: 1rem;
    color: #ddd;
    display: none;
    margin-top: 10px;
    text-align: left;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

/* Expand FAQ */
.faq-item.active {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.02) rotateY(0);
}

.faq-item.active .faq-answer {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Hover Effect */
.faq-item:hover {
    transform: scale(1.05) rotateY(0);
    box-shadow: 0px 5px 15px rgba(0, 255, 204, 0.3);
}

/* Active Animation */
.show-item {
    opacity: 1 !important;
    transform: translateY(0) rotateY(0) scale(1) !important;
    transition: transform 1s ease-out, opacity 1s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .section {
        padding: 30px 5%;
    }

    .section-title {
        font-size: 2rem;
    }

    .faq-question {
        font-size: 1rem;
    }
}
/* Floating Contact Button */
.contact-button {
    position: fixed;
    bottom: 25px;
    left: 20px;
    background-color: #04fff260;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Hover Effect */
.contact-button:hover {
    background-color: #07e2ff;
    transform: scale(1.05); /* Slight scale effect */
}

/* 📱 Mobile View (For screens ≤ 768px) */
@media (max-width: 768px) {
    .contact-button {
        font-size: 14px;
        padding: 12px 18px;
        bottom: 20px; /* Adjusted for better spacing */
        left: 10px; /* Moves closer to the edge */
    }
}

/* 📱 Extra Small Devices (For screens ≤ 480px) */
@media (max-width: 480px) {
    .contact-button {
        font-size: 13px;
        padding: 10px 16px;
        bottom: 20px; /* Keeps it visible on small screens */
        left: 10px;
        border-radius: 50px; /* More rounded for a modern look */
    }
}
