html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Open Sans', sans-serif;
  color: white;
}

/* Container for search and FAQ cards side by side */
.faq-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    min-height: auto;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Card common styles */
.faq-card {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.014);
    backdrop-filter: blur(6px);
    border-radius: 8px;
    color: white;
}

/* Search card styles */
.faq-search-card {
    flex: 1 1 300px;
    align-self: flex-start;
    padding: 20px 0 35px 0;
    display: flex;
    justify-content: flex-start;
    max-width: 100%;
    width: 100%;
}

.faq-search-card input {
    width: 100%;
    max-width: 100%;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    backdrop-filter: blur(4px);
    box-shadow: 0 0 10px rgba(0, 198, 255, 0.1);
    outline: none;
}

.faq-search-card input::placeholder {
    color: #bbb;
}

input:focus{
  border: 2px solid #0d6efd;
  background-color: white;
  color: black;
}

/* FAQ questions card */
.faq-questions-card {
    flex: 2 1 650px;
    max-width: 900px;
    padding: 60px 50px;
}

/* FAQ title */
.faq-questions-card h1 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 10px;
    color: #ffffff;
    font-weight: 100;
}

/* FAQ section heading */
.faq-section {
    margin-bottom: 50px;
}

.faq-section h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: #00c6ff;
    border-left: 4px solid #00c6ff;
    padding-left: 12px;
}

/* Each FAQ item/card */
.faq-block {
    margin-bottom: 15px;
    border: 1px solid #333;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.02);
    overflow: hidden;
    transition: background 0.3s ease;
}

/* Question styling */
.faq-question {
    width: 100%;
    padding: 15px 20px;
    font-size: 1.1rem;
    font-weight: 500;
    color: #ffffff;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s ease;
    user-select: none;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-question.active {
    color: #00c6ff;
}

/* Arrow indicator for open/close */
.faq-question::after {
    content: "▼";
    transition: transform 0.3s ease;
    font-size: 0.8rem;
    margin-left: 10px;
    color: #00c6ff;
}

.faq-question.active::after {
    content: "▲";
}

/* Answer styling */
.faq-answer {
    display: none;
    padding: 0 20px 15px 20px;
    color: #dcdcdc;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Footer/contact link */
.faq-contact {
    text-align: center;
    margin-top: 40px;
    font-size: 1rem;
    color: #ccc;
}

.faq-contact a {
    color: #00c6ff;
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {

    .faq-container{
        width: 90%;
        margin: 0 auto;
    }

    .faq-questions-card {
        order: 2;
    }

    .faq-card h1{
        font-size: 28px;
    }

    .faq-section h3{
        font-size: 20px;
    }
}

