body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    color: #4267b2;
    background-color: #FFFFFF;
}

.banner-section {
    position: relative;
    height: 400px;
    
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.banner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.banner-content {
    position: relative;
    z-index: 1;
}

.banner-content h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.banner-content p {
    font-family: 'Roboto', sans-serif;
    font-size: 1.2rem;
    color: #e7e7e7;
    margin: 0;
}

.contact-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    display: flex;
    gap: 40px;
    margin-top: 80px;
}

.form-section {
    flex: 2;
    background: #E6F0FA;
    padding: 40px;
    border-radius: 12px;
    position: relative;
}

.progress-dots {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.progress-dot {
    width: 10px;
    height: 10px;
    background-color: #D4C9BE;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.progress-dot.active {
    background-color: #4267b2;
}

.form-section h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #4267b2;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

/* Floating Label and Input Styling */
.form-group label {
    position: absolute;
    top: 12px;
    left: 40px;
    font-size: 0.9rem;
    color: #666;
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 12px 12px 40px;
    border: none;
    border-bottom: 2px solid #D4C9BE;
    border-radius: 0;
    font-size: 1rem;
    background-color: transparent;
    transition: all 0.3s ease;
    color: #4267b2;
}

.form-row .form-group #name, 
.form-row .form-group #lastName, 
.form-row .form-group #email, 
.form-row .form-group #phone {
    width: 80%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-bottom-color: #4267b2;
    outline: none;
}

.form-group input:focus + label,
.form-group select:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group select:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -10px;
    left: 40px;
    font-size: 0.8rem;
    color: #4267b2;
}

/* Icons Inside Inputs */
.form-group::before {
    content: '';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 10px;
    top: 12px;
    color: #D4C9BE;
    transition: color 0.3s ease;
}

.form-group input:focus::before,
.form-group select:focus::before,
.form-group textarea:focus::before {
    color: #4267b2;
}

.form-group:has(input[name="name"])::before,
.form-group:has(input[name="lastName"])::before {
    content: '\f007'; /* User icon */
}

.form-group:has(input[name="email"])::before {
    content: '\f0e0'; /* Email icon */
}

.form-group:has(input[name="phone"])::before {
    content: '\f095'; /* Phone icon */
}

.form-group:has(input[name="subject"])::before,
.form-group:has(input[name="manuscriptTitle"])::before,
.form-group:has(input[name="genre"])::before,
.form-group:has(input[name="organization"])::before,
.form-group:has(input[name="partnershipType"])::before {
    content: '\f02b'; /* Tag icon */
}

.form-group:has(select[name="position"])::before {
    content: '\f0b1'; /* Briefcase icon */
}

.form-group:has(input[name="otherPosition"])::before {
    content: '\f040'; /* Pencil icon */
}

.form-group:has(textarea[name="message"])::before,
.form-group:has(textarea[name="synopsis"])::before,
.form-group:has(textarea[name="coverLetter"])::before,
.form-group:has(textarea[name="proposal"])::before {
    content: '\f303'; /* Pen icon */
}

/* Custom File Upload Styling */
.form-group:has(input[type="file"]) {
    position: relative;
}

.form-group input[type="file"] {
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.form-group input[type="file"] + label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    border: none;
    border-bottom: 2px solid #D4C9BE;
    background: transparent;
    cursor: pointer;
    position: relative;
    top: 0;
    left: 0;
    font-size: 1rem;
    color: #666;
}

.form-group input[type="file"]:focus + label,
.form-group input[type="file"]:not(:placeholder-shown) + label {
    border-bottom-color: #4267b2;

}

.form-group input[type="file"] + label::before {
    content: '\f0c6'; /* Paperclip icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #D4C9BE;
    font-size: 1.2rem;
}

.form-group input[type="file"]:focus + label::before {
    color: #4267b2;
}

.form-group input[type="file"] + label span {
    font-weight: 700;
    color: #000;
}

.form-group input[type="file"] + label span.size-limit {
    font-weight: 400;
    color: #666;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

button[type="submit"] {
    padding: 12px 24px;
    background-color: #4267b2;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #5b7bd6;
}

.sidebar {
    flex: 1;
    padding: 20px;
}

.sidebar h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #4267b2;
    margin-bottom: 20px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    text-decoration: none;
    color: #000000;
    font-size: 1rem;
    position: relative;
    transition: transform 0.3s ease;
}

.sidebar-link:hover {
    transform: scale(1.05);
}

.sidebar-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #5b7bd6;
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

.sidebar-link:hover::after {
    width: 100%;
}

.sidebar-link .icon {
    width: 40px;
    height: 40px;
    background-color: #D4C9BE;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4267b2;
}

.sidebar-link p {
    margin: 0;
    font-size: 0.85rem;
    color: #666;
}

#contactFields, #manuscriptFields, #careerFields, #partnershipFields, #otherPositionInput {
    display: none;
}

@media (max-width: 768px) {
    .banner-section {
        height: 300px;
    }

    .banner-content h1 {
        font-size: 2rem;
    }

    .banner-content p {
        font-size: 1rem;
    }

    .contact-container {
        flex-direction: column;
        margin-top: 60px;
    }

    .form-row {
        flex-direction: column;
        gap: 10px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea,
    .form-row .form-group #name, 
    .form-row .form-group #lastName, 
    .form-row .form-group #email, 
    .form-row .form-group #phone {
        width: 100%;
    }
}



/* FAQ Section */
.faq-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    margin-top: 80px;
}

.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.faq-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: #4267b2;
}

.faq-search {
    position: relative;
    width: 300px;
}

.faq-search input {
    width: 80%;
    padding: 12px 40px 12px 20px;
    border: 2px solid #D4C9BE;
    border-radius: 25px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.faq-search input:focus {
    border-color: #4267b2;
    box-shadow: 0 0 8px rgba(66, 103, 178, 0.2);
    outline: none;
}

.faq-search button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #D4C9BE;
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq-search button:hover {
    color: #4267b2;
}

.faq-category {
    margin-bottom: 30px;
}

.faq-category h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: #4267b2;
    margin-bottom: 20px;
    border-left: 4px solid #4267b2;
    padding-left: 10px;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-question {
    width: 100%;
    padding: 15px 20px;
    background-color: #E6F0FA;
    border: none;
    text-align: left;
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: #4267b2;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #d5e3f6;
}

.faq-question:focus {
    outline: none;
    background-color: #d5e3f6;
}

.faq-toggle-icon {
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-toggle-icon {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 20px;
    background-color: #FFFFFF;
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

.faq-answer p {
    margin: 0;
}

.faq-answer a {
    color: #4267b2;
    text-decoration: none;
    font-weight: 500;
}

.faq-answer a:hover {
    text-decoration: underline;
}

.faq-footer {
    text-align: center;
    margin-top: 40px;
}

.faq-footer p {
    font-size: 1.1rem;
    color: #666;
}

.faq-footer a {
    color: #4267b2;
    font-weight: 500;
    text-decoration: none;
}

.faq-footer a:hover {
    text-decoration: underline;
}

/* Reach Out Section */
.reach-out-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    display: flex;
    
    gap: 40px;
    align-items: center;
    background-color: #F9FAFB;
    border-radius: 12px;
    overflow: hidden;
}

.reach-out-image {
    flex: 1;
    height: 400px;
    background-image: url('../images/contact/quections.webp');
    background-size: cover;
    background-position: center;
}

.reach-out-form {
    flex: 1;
    padding: 40px;
}

.reach-out-form h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #4267b2;
    margin-bottom: 20px;
}

.reach-out-form .form-group {
    margin-bottom: 25px;
    position: relative;
}

.reach-out-form .form-group label {
    position: absolute;
    top: 12px;
    left: 40px;
    font-size: 1rem;
    color: #666;
    transition: all 0.3s ease;
    pointer-events: none;
}

.reach-out-form .form-group input,
.reach-out-form .form-group textarea {
    width: 80%;
    padding: 12px 12px 12px 40px;
    border: none;
    border-bottom: 2px solid #D4C9BE;
    border-radius: 0;
    font-size: 1rem;
    background-color: transparent;
    transition: all 0.3s ease;
    color: #4267b2;
}

.reach-out-form .form-group input:focus,
.reach-out-form .form-group textarea:focus {
    border-bottom-color: #4267b2;
    outline: none;
}

.reach-out-form .form-group input:focus + label,
.reach-out-form .form-group textarea:focus + label,
.reach-out-form .form-group input:not(:placeholder-shown) + label,
.reach-out-form .form-group textarea:not(:placeholder-shown) + label {
    top: -10px;
    left: 40px;
    font-size: 0.8rem;
    color: #4267b2;
}

.reach-out-form .form-group::before {
    content: '';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 10px;
    top: 12px;
    color: #D4C9BE;
    transition: color 0.3s ease;
}

.reach-out-form .form-group input:focus::before,
.reach-out-form .form-group textarea:focus::before {
    color: #4267b2;
}

.reach-out-form .form-group:has(input[name="name"])::before {
    content: '\f007'; /* User icon */
}

.reach-out-form .form-group:has(input[name="email"])::before {
    content: '\f0e0'; /* Email icon */
}

.reach-out-form .form-group:has(textarea[name="question"])::before {
    content: '\f303'; /* Pen icon */
}

.reach-out-form textarea {
    min-height: 100px;
    resize: vertical;
}

.reach-out-form button[type="submit"] {
    padding: 12px 24px;
    background-color: #4267b2;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.reach-out-form button[type="submit"]:hover {
    background-color: #5b7bd6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .banner-section {
        height: 300px;
    }

    .banner-content h1 {
        font-size: 2rem;
    }

    .banner-content p {
        font-size: 1rem;
    }

    .faq-section {
        margin-top: 60px;
    }

    .faq-header {
        flex-direction: column;
        gap: 20px;
    }

    .faq-search {
        width: 100%;
    }

    .reach-out-section {
        flex-direction: column;
    }

    .reach-out-image {
        height: 200px;
        width: 100%;
    }

    .reach-out-form {
        width: 100%;
    }
}