:root {
    --gradient-primary: linear-gradient(135deg, #4361ee, #3a56d4);
    --gradient-secondary: linear-gradient(135deg, #ebf0ff, #e6e9ff);
    --primary-color: #4361ee;
    --primary-light: rgba(67, 97, 238, 0.1);
    --primary-dark: #3a56d4;
    --text-dark: #1e293b;
    --text-medium: #64748b;
    --text-light: #94a3b8;
    --bg-light: #f8fafc;
    --bg-white: #fff;
    --border-light: #e5e7eb;
    --box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    --transition-speed: 0.3s;
}

.page-banner {
    background: var(--gradient-primary);
    color: white;
    padding: 20px 0; /* Reduced from 80px to 20px */
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    z-index: 0;
    background: radial-gradient(rgba(255, 255, 255, 0.15) 3px, transparent 4px);
    background-size: 50px 50px;
    transform: rotate(30deg);
    animation: moveBackground 120s linear infinite;
}

@keyframes moveBackground {
    0% {
        transform: rotate(30deg) translateY(0);
    }
    100% {
        transform: rotate(30deg) translateY(-500px);
    }
}

.page-banner .container {
    position: relative;
    z-index: 1;
}

.page-banner h1 {
    font-size: 2rem; /* Reduced from 3rem */
    font-weight: 700;
    margin: 0; /* Removed bottom margin */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Hide the description paragraph */
.page-banner p {
    display: none;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background-color: var(--bg-light);
    position: relative;
}

.contact-section::before {
    content: "";
    position: absolute;
    top: -300px;
    right: -300px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle at center, rgba(67, 97, 238, 0.1), transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.contact-info h2,
.contact-form-container h2 {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 20px 0;
    position: relative;
}

.contact-info h2::after,
.contact-form-container h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.contact-info > p {
    color: var(--text-medium);
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 30px 0;
}

.info-items {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    gap: 20px;
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
}

.info-icon {
    flex: 0 0 50px;
    height: 50px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
}

.info-item:hover .info-icon {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 10px 20px rgba(67, 97, 238, 0.2);
}

.info-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 8px 0;
}

.info-content p {
    color: var(--text-medium);
    margin: 0;
    line-height: 1.5;
}

.info-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-content a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.social-connect h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 15px 0;
    position: relative;
}

.social-connect h3::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-radius: 50%;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 10px 20px rgba(67, 97, 238, 0.2);
}

/* Contact Form */
.contact-form-container {
    background-color: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(67, 97, 238, 0.1);
    transition: all 0.3s ease;
}

.contact-form-container:hover {
    box-shadow: 0 25px 50px rgba(67, 97, 238, 0.15);
    transform: translateY(-5px);
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-medium);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    grid-column: span 2;
}

.checkbox-group input {
    width: 18px;
    height: 18px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 14px;
}

.btn-primary {
    grid-column: span 2;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 15px 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 10px 20px rgba(67, 97, 238, 0.2);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(67, 97, 238, 0.3);
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background-color: white;
    position: relative;
}

.map-section h2 {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.map-section h2::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.map-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.world-map {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.world-map:hover {
    transform: scale(1.01);
    box-shadow: 0 20px 50px rgba(67, 97, 238, 0.15);
}

/* FAQ Section - Styled like features on Home page */
.faq-section .container {
    max-width: 1200px; /* Adjust max-width to match other sections */
    margin: 0 auto; /* Center the container */
    padding: 0 15px; /* Add some side padding for smaller screens */
}

.faq-section::before {
    content: "";
    position: absolute;
    bottom: -300px;
    left: -300px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle at center, rgba(67, 97, 238, 0.1), transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.faq-section h2 {
    font-size: 2.5rem; /* Slightly larger to ensure visibility */
    max-width: 100%; /* Ensure full width */
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.faq-section .section-divider {
    width: 120px;
    height: 4px;
    margin: 0 auto 40px;
    background: var(--gradient-primary);
    border-radius: 2px;
    position: relative;
    z-index: 2;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    position: relative;
    z-index: 2;
}



.faq-item {
    background-color: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(67, 97, 238, 0.1);
    position: relative;
    overflow: hidden;
}

.faq-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(67, 97, 238, 0.15);
}

.faq-item::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.faq-item:hover::after {
    transform: scaleX(1);
}

.faq-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom 10px;
    position: relative;
}

.faq-item p {
    color: var(--text-medium);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 992px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .faq-section .container {
        padding: 0 15px;
    }
    
    .faq-section h2 {
        font-size: 1.75rem;
    }
}


/* Language Selector Styles */
.language-selector {
    position: relative;
    margin-left: 20px;
}

.language-selector select {
    appearance: none;
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 8px 30px 8px 12px;
    font-size: 14px;
    color: var(--text-medium);
    cursor: pointer;
    transition: all 0.3s ease;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 8px) center;
}

.language-selector select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

/* Dark Mode Styles */
body.dark-mode .page-banner {
    background: linear-gradient(135deg, #5d7bff, #4361ee);
}

body.dark-mode .contact-info h2,
body.dark-mode .contact-form-container h2,
body.dark-mode .info-content h3,
body.dark-mode .social-connect h3,
body.dark-mode .map-section h2,
body.dark-mode .faq-section h2,
body.dark-mode .faq-item h3 {
    color: #f8fafc;
}

body.dark-mode .contact-info > p,
body.dark-mode .info-content p,
body.dark-mode .form-group label,
body.dark-mode .checkbox-group label,
body.dark-mode .faq-item p {
    color: #cbd5e1;
}

body.dark-mode .info-icon {
    background-color: rgba(93, 123, 255, 0.1);
    color: #5d7bff;
}

body.dark-mode .info-content a {
    color: #5d7bff;
}

body.dark-mode .info-content a:hover {
    color: #4361ee;
}

body.dark-mode .social-links a {
    background-color: rgba(93, 123, 255, 0.1);
    color: #5d7bff;
}

body.dark-mode .social-links a:hover {
    background-color: #5d7bff;
    color: #0f172a;
}

body.dark-mode .contact-form-container {
    background-color: #1e293b;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea {
    background-color: #0f172a;
    border-color: #334155;
    color: #f8fafc;
}

body.dark-mode .form-group input:focus,
body.dark-mode .form-group textarea:focus {
    border-color: #5d7bff;
    box-shadow: 0 0 0 3px rgba(93, 123, 255, 0.2);
}

body.dark-mode .btn-primary {
    background-color: #5d7bff;
}

body.dark-mode .btn-primary:hover {
    background-color: #4361ee;
}

body.dark-mode .map-section {
    background-color: #0f172a;
}

body.dark-mode .faq-item {
    background-color: #1e293b;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-banner {
        padding: 40px 0;
    }
    
    .banner-content h1 {
        font-size: 28px;
    }
    
    .banner-content p {
        font-size: 16px;
    }
    
    .contact-section,
    .map-section,
    .faq-section {
        padding: 40px 0;
    }
    
    .contact-info h2,
    .contact-form-container h2,
    .map-section h2,
    .faq-section h2 {
        font-size: 24px;
    }
    
    .contact-form-container {
        padding: 30px 20px;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width,
    .checkbox-group,
    .btn-primary {
        grid-column: span 1;
    }
}

@media (max-width: 480px) {
    .info-item {
        flex-direction: column;
        gap: 10px;
    }
    
    .info-icon {
        margin-bottom: 5px;
    }
}

/* Fix for header and footer consistency */
/* Override the main-header class to use site-header styling */
.main-header {
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Style main-footer to use site-footer styling */
.main-footer {
    background-color: var(--bg-dark);
    color: white;
    padding: 60px 0 30px;
}

/* Ensure active nav links are highlighted correctly */
.main-nav .active a {
    position: relative;
    color: var(--primary-color);
}

.main-nav .active a::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100%; /* Full width */
    max-width: 100%; /* Ensure it doesn't exceed the text width */
    height: 3px;
    background-color: var(--primary-color);
}



/* Responsive Adjustments */
@media (max-width: 992px) {
    .main-nav .active a::after {
        bottom: -10px; /* Adjust for smaller screens */
    }
}

@media (max-width: 768px) {
    .main-nav .active a::after {
        bottom: -8px; /* Further adjustment for mobile */
    }
}

/* Fix header-inner to match header-content */
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

/* Dark mode fixes */
.dark-mode .main-header {
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.dark-mode .main-footer {
    background-color: #0f172a;
}

/* Fix for site-header if it's used instead of main-header */
.site-header {
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all var(--transition-speed) ease;
}

/* Fix for site-footer if it's used instead of main-footer */
.site-footer {
    background-color: var(--bg-dark);
    color: white;
    padding: 60px 0 30px;
}