/* Import the Gilroy font */
@font-face {
    font-family: 'Gilroy-ExtraBold';
    src: url('../fonts/Gilroy-ExtraBold.woff2') format('woff2'),
    url('../fonts/Gilroy-ExtraBold.woff') format('woff'),
    url('../fonts/Gilroy-ExtraBold.ttf') format('truetype'); /* Fallback */
    font-weight: normal;
    font-style: normal;
}


@font-face {
    font-family: 'Gilroy-Light';
    font-family: 'Gilroy-Light';
    src: url('../fonts/Gilroy-Light.woff2') format('woff2'),
         url('../fonts/Gilroy-Light.woff') format('woff'),
         url('../fonts/Gilroy-Light.ttf') format('truetype'); /* Fallback */
    font-weight: normal;
    font-style: normal;
}



/* Add this to your existing style.css or inline in your template */
body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Gilroy-Light', Arial, sans-serif;
    background-color: #131139; /* Example background color */
}



.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensure the wrapper takes full height of the viewport */
}

.content {
    flex: 1; /* Allows the content to expand and push the footer to the bottom */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 10px;
}

.box {
    width: 100%;
    max-width: 800px; /* Reduce max width to 800px */
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin: 0 auto;
}

.box a {
    text-decoration: none;
    color: #131139;
}


.chars {
    font-size: 1rem;
    letter-spacing: 0.2rem;
    color: #000;
    width: 100%;
}

.form-group {
    margin-bottom: 20px;
}

input, textarea {
    width: 80%;
    max-width:600px;
    padding: 10px;
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-family: 'Gilroy-ExtraBold', Arial, sans-serif;
    color:{{ brand_color }};
}


textarea::placeholder, input::placeholder {
    color:{{ brand_color }};
}



input::placeholder, textarea::placeholder {
    font-family: 'Gilroy-ExtraBold', Arial, sans-serif;
    transition: color 0.3s ease;
}

input:focus::placeholder,
textarea:focus::placeholder {
    color: #bbbbbb;
}



textarea:focus, input:focus{
    outline: none;
}

label{display:block;}


header, .footer {
    width: 100%;
    color: white;
    padding: 0px;
    text-align: center;
}

.content {

}

h1, h2, h3 {
    width: 100%;
    text-align: center; /* Center the title */
    margin-bottom: 10px; /* Add space below the title */
    font-size:2rem;
    font-weight:200;
}

ul {
    width: 100%; /* Ensure the list takes up the full width */
    list-style-type: disc;
    padding-left: 20px;
}

li {
    line-height: 2.0; /* Increase line height for better readability */
    margin-left:20px;
}

button {
    padding: 10px 20px;
    font-size: 1.5rem;
    cursor: pointer;
    background-color: #131139; /* Change the button color to #131139 */
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-family: 'Gilroy-Light', Arial, sans-serif;
}

button:hover {
    background-color: #0f0f80; /* Slightly darker shade on hover */
}



    /* Typography */
    p, li {
    font-size: 1.2rem;
    color: #131139;
    overflow-wrap: break-word; /* Allows wrapping of long words if necessary */
    word-wrap: break-word; /* Older property */
}



/* Logo Styling */
.logo {
    display: block;
    margin: 30px auto 0px auto; /* This centers the image horizontally */
    text-align: center; /* Ensures the content inside is centered */
}

.logo img {
    width: 70%; /* Ensure image width is responsive */
    height: auto; /* Keep the aspect ratio */
    border-radius: 10px;
}

/* Footer Styling */
footer {
    width:100%;
    text-align:center;
}

footer p{
    color: #fff;
}

footer a{
    text-decoration:none;
}

nav ul {
    list-style-type: none; /* Remove bullet points */
    padding: 20px 0 0 0; /* Add padding above the menu items */
    margin: 0;
    display: flex; /* Align items next to each other */
    gap: 20px; /* Increase space between icons */
    justify-content: center; /* Center the icons horizontally */
}

nav ul li {
    display: inline-block;
}

nav ul li a, nav ul li button {
    text-decoration: none;
    color: #fff; /* Color the icons */
    font-size: 1.5rem; /* Reduce the size of the icons */
    padding: 0; /* Remove padding */
    margin: 0; /* Remove margin */
    background: none; /* Remove background */
    border: none; /* Remove border */
    cursor: pointer;
    display: flex;
    align-items: center; /* Align the icon vertically */
}

nav ul li i {
    display: block;
    color: #fff; /* Ensure icon color is applied */
}




hr {
border: 0;
height: 1px;
background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
}


.rating-number {
    display: inline-block;
    width: 20px;
    height: 20px;
    line-height: 20px;
    border-radius: 50%;
    background-color: #aaaaaa;
    color: #ffffff;
    text-align: center;
    cursor: pointer;
    font-size: 1em;
    margin: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.rating-number:hover,
.rating-number.active {
    background-color: #131139;
    color: #ffffff;
}



    /* Full-page overlay, hidden initially */
#overlay {
    position: fixed;
    visibility: hidden; /* Hidden initially */
    opacity: 0; /* Start fully transparent */
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(19, 17, 57, 0.5); /* 50% opacity */
    z-index: 9999;
    display: flex;
    justify-content: center; /* Horizontal centering */
    align-items: center; /* Vertical centering */
    transition: visibility 0s, opacity 0.3s ease-in-out; /* Smooth transition */
}

/* Spinner */
#overlay .spinner {
    font-size: 10em; /* Adjust size */
    color: #fff;
}

/* When overlay is visible */
#overlay.show {
    visibility: visible; /* Make visible */
    opacity: 1; /* Fully opaque */
}

.slow-spin {
  -webkit-animation: fa-spin 3s infinite linear;
  animation: fa-spin 3s infinite linear;
}



#faqSection, #recentQuestionsSection {
    width: 80%;
    max-width: 600px; /* Reduce max width to 800px */
    padding: 5px;
    background-color: #dcdcdc;
    border-radius: 10px;
    margin: 10px auto;
}


    /* Remove default padding and margins from the <ul> and <li> */
#faqList, #recentQuestionsList {
    list-style: none; /* Removes bullet points */
    padding: 0 10px;
    margin: 0;
    width: 100%; /* Ensures it spans the full width */
}


/* FAQ & Recent Questions List */
.accordion2-item {
    padding: 5px 0;
    margin:0px;
    /*opacity: 0;*/
    transform: translateY(10px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

/* Fade-in effect */
.fade-in .accordion2-item {
    opacity: 1;
    transform: translateY(0);
}

/* Accordion Header */
.accordion2-header {
    display: flex;
    justify-content: space-between;;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 1em;
    padding:0px 10px 0px 5px;
    background: #f9f9f9;
    border-radius: 5px;
}

/* Hover Effect */
.accordion2-header:hover {
    background: #eaeaea;
}



.accordion2-header span {
    line-height: 1.2; /* Reduce spacing between wrapped lines */
    display: block; /* Ensures it wraps properly */
    word-break: break-word; /* Prevents overflow issues */
    overflow-wrap: break-word;
    padding: 8px 10px 8px 0px; /* Add a little space before the delete icon */
}


/* 📱 Reduce font size for smaller screens */
@media (max-width: 768px) {
    .accordion2-header span {
        font-size: 0.9em; /* Slightly smaller on tablets */
        line-height: 1.1;
    }
}

@media (max-width: 480px) {
    .accordion2-header span {
        font-size: 0.8em; /* Even smaller on mobile phones */
        line-height: 1.0; /
    }
}



/* Accordion Icons */
.accordion2-icon {
    font-size: 1.2em;
    transition: transform 0.3s ease-in-out;
    color: {{ brand_color2 }};
    margin: 0 8px;
}

/* Accordion Content */
.accordion2-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out, padding 0.3s ease-in-out;
    padding: 0 10px;
    font-size: 1em;
    line-height: 1.4em;
    background: #ffffff;
    margin-top: 5px;
    border-radius: 5px;
}

/* Open State */
.accordion2-content.open {
    padding: 0px 20px;
    overflow: scroll;
}

/* Delete Icon (Dark Blue → Red on Hover) */
.delete-icon {
    color: {{ brand_color2 }};
    font-size: 1em;
    cursor: pointer;
    margin-left: 10px;
    transition: color 0.3s ease-in-out;
}

/* Hover Turns Red */
.delete-icon:hover {
    color: red;
}

.deleteqanda:hover {
    color: red;
}


ul {
    list-style-type: none; /* Removes bullet points */
    padding-left: 0; /* Removes extra padding */
    margin-left:0;
}



p {
    text-align: left;
}



#questionListContainer {
    transition: height 0.4s ease-out; /* Smooth height transition */
    overflow: hidden; /* Prevent content overflow */
}



a i.icon {
    transition: transform 0.3s ease;
}

a:hover i.icon {
    transform: scale(1.5);
}


p a {
    font-family: 'Gilroy-ExtraBold';
}


.boldfont {
    font-family: 'Gilroy-ExtraBold';
}


#welcome_para {
    display: none; /* Hidden by default */
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    text-align: center;
    width: 90%;
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1em;
    line-height: 1.4em;
    word-wrap: break-word;
    }


#welcome_para h1{
    line-height:1.6em;
}

#welcome_para.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}


#welcome_para p span {
    font-family: 'Gilroy-ExtraBold';
}

/* Responsive styling for smaller screens */
@media (max-width: 600px) {

#welcome_para h1{
  font-size: 1.5rem;
    line-height:1.6rem
}

#welcome_para p{
  font-size: 1.0rem;
}


}




