/* General Styles */
html, body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scrolling */

}




/* Header styles */
header {
    
    color: black;
    background-color: transparent; /* Transparent by default */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.0); /* Optional shadow for clarity */
    padding: 15px 30px;
    display: flex;
    justify-content: space-evenly; /* Align logo and navigation properly */
    align-items: center;
    position: fixed; /* Fixed to stay on top */
    top: 0;
    left: 0;
    width: 100%; /* Ensure header spans full width */
    z-index: 1000; /* Keep above video */
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
    

    
}

header.scrolled {
    background-color: white; /* Header turns white on scroll */
    color: black;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.0); /* Add shadow for clarity */

}

.logo img {
    max-height: 33px;
}

/* Navigation Menu */
nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}

nav ul li {
    display: inline;
}

nav ul li a {
    color: black;
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
    transition: color 0.3s, text-decoration 0.3s;
}

/* Highlight the active page link */
nav ul li a.active {
    color: #4B9FD0;
    text-decoration: underline;
}

/* Hover effect for navigation links */
nav ul li a:hover {
    color: #4B9FD0;
}

/* Button */
.main-button {
    background-color: transparent;
    color: black;
    border: 2px solid #4B9FD0;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 13px;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
}

.main-button:hover {
    background-color: #4B9FD0;
    color: white;
}




/* FAQ Section */
.faq-section {
    max-width: 1100px;
    margin: 80px auto;
    padding: 40px;
    background: #4B9FD0;
    border-radius: 8px;
}

/* FAQ Header */
.faq-header {
    display: flex;
    justify-content: flex-start; /* Align everything to the left */
    align-items: center;
    margin-bottom: 20px;
    gap: 20px; /* Reduce gap slightly */
    padding-left: 10px; /* Move everything a little left */
}

.faq-header-left {
    width: 40%;
}

.faq-header-left h2 {
    margin: 0;
    font-size: 24px;
    color: white;
}

.faq-header-left p,
.faq-header-right p {
    margin: 10px 0;
    color: white;
    font-size: 14px;
}

.faq-header-right {
    width: 40%; /* Reduce width to align with questions */
    text-align: left;
    margin-left: -75px; /* Move it further left */
}

/* FAQ Container */
.faq-container {
    display: flex;
    gap: 20px;
}

/* Sidebar (Categories) */
.sidebar {
    width: 30%;
    background: white;
    padding: 20px;
    border-radius: 8px;
}

.search-bar {
    position: relative;
    width: 92%;
    margin-bottom: 12px;
}

.search-bar input {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Search Results */
.search-results {
    position: absolute;
    width: 100%;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    max-height: 200px;
    overflow-y: auto;
    display: none;
    z-index: 10;
}

.search-results div {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
    font-size: 14px;
}

.search-results div:hover {
    background: #f9f9f9;
}

/* Category Buttons */
.category {
    padding: 12px;
    background: white;
    margin-bottom: 8px;
    cursor: pointer;
    border-radius: 4px;
    text-align: left;
    border: 1px solid #4B9FD0;
    font-weight: bold;
    color: #4B9FD0;
}

.category.active {
    background: #4B9FD0;
    color: white;
}

/* FAQ Content */
.faq-content {
    width: 70%;
    padding: 20px;
    background: white;
    border-radius: 8px;
}

/* FAQ Item (Question + Arrow) */
.faq-item {
    display: block; /* This ensures the question takes up the full width */
    cursor: pointer;
    font-size: 16px;
    color: #4B9FD0;
    font-weight: bold;
    transition: 0.3s;
    border-bottom: 1px solid #ddd;
    padding: 12px;
}

/* Question Wrapper */
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* Arrow Icon */
.faq-arrow {
    border: solid #4B9FD0;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 5px;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

/* Rotate the arrow when active */
.faq-item.active .faq-arrow {
    transform: rotate(-135deg);
}

/* FAQ Answer (Initially Hidden) */
.faq-answer {
    display: none;
    font-size: 14px;
    color: #666666;
    padding: 10px;
    border-left: 3px solid #4B9FD0;
    margin-top: 5px;
    background: #f9f9f9;
    border-radius: 5px;
}

/* Responsive */
@media (max-width: 700px) {
    .faq-header {
        flex-direction: column;
        text-align: left;
    }

    .faq-header-left, .faq-header-right {
        width: 100%;
    }

    .faq-container {
        flex-direction: column;
    }

    .sidebar, .faq-content {
        width: 100%;
    }
}











/* Footer Section */
.footer-section {
    background-color: white; /* Black background */
    color: #666666; /* White text color */
    padding: 50px 20px;
}




.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1140px;
    margin: 0 auto;
}

.footer-logo-description {
    text-align: left;
    display: flex;
    flex-direction: column; /* Stack the logo and text */
    justify-content: flex-start; /* Align items at the top */
    gap: 15px; /* Add spacing between the logo and the text */
}

.footer-logo {
    width: 120px;
    margin-bottom: 15px;
}

.footer-logo-description p {
    color: #666666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.linkedin-link {
    color: #4B9FD0; /* Red for LinkedIn icon */
    text-decoration: none;
    font-size: 16px;
    margin-top: -30px;
}

.linkedin-link:hover {
    text-decoration: underline;
}



/* Contact Info */
.footer-contact-info h4,
.footer-useful-info h4,
.footer-newsletter h4 {
    font-size: 16px;
    font-weight: bold;
    color: #4B9FD0;
    margin-bottom: 10px;
}

.footer-contact-info p {
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-contact-info i {
    color: #4B9FD0;
    margin-right: 10px;
}

/* Useful Info */
.footer-useful-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-useful-info li {
    margin-bottom: 10px;
}

.footer-useful-info a {
    color: #666666;
    text-decoration: none;
    font-size: 14px;
}

.footer-useful-info a:hover {
    color: #4B9FD0;
    text-decoration: underline;
}

/* Newsletter */
.footer-newsletter p {
    font-size: 14px;
    margin-bottom: 15px;
    color: #666666;
}

.newsletter-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.newsletter-form input {
    padding: 10px;
    border: 2px solid #4B9FD0;
    border-radius: 5px;
    font-size: 14px;
    flex: 1;
    background-color: white;
    color: #666666;
}

.newsletter-form input::placeholder {
    color: #666666;
    opacity: 0.8;
}

.newsletter-form button {
    background-color: white;
    border: 2px solid #4B9FD0;
    color: #4B9FD0;
    border-radius: 5px;
    padding: 10px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #4B9FD0;
    color: white;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    margin-top: 30px;
    border-top: 1px solid #4B9FD0;
    padding-top: 15px;
    font-size: 14px;
    color: #666666;
}

.newsletter-form {
    position: relative;
    margin-bottom: 10px;
}

#newsletter-message {
    font-size: 14px;
    margin-top: 5px;
    min-height: 20px;
}

.newsletter-form button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}