/* Contact Page Specific Styles */

/* Contact Header */
.contact-header {
    background: linear-gradient(rgba(0, 0, 32, 0.7), rgba(0, 0, 32, 0.7)), url('../images/contact-header-bg.jpg') no-repeat center center;
    background-size: cover;
    padding: 60px 0;
    color: #fff;
    text-align: center;
}

/* Common Section Styles */
.contact-info-section,
.contact-form-section,
.map-section,
.global-offices-section,
.contact-faq-section {
    padding: 60px 0;
}

.contact-info-section,
.map-section,
.contact-faq-section {
    background-color: #f8f9fa;
}

.contact-form-section,
.global-offices-section {
    background-color: #fff;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header .subtitle {
    color: #5e2d91;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.section-header .title {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    position: relative;
    padding-bottom: 20px;
}

.section-header .title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #5e2d91;
}

/* Contact Info Cards */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 30px;
}

.contact-info-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.icon-box {
    width: 80px;
    height: 80px;
    background-color: rgba(94, 45, 145, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.icon-box i {
    font-size: 32px;
    color: #5e2d91;
}

.contact-info-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.contact-info-card p {
    color: #666;
    margin-bottom: 5px;
}

/* Contact Form Section */
.contact-form-container {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.form-content {
    flex: 2;
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-sidebar {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-header {
    margin-bottom: 30px;
}

.form-header h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 10px;
}

.form-header p {
    color: #666;
}

/* Form Styles */
.contact-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form .form-group {
    flex: 1;
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.contact-form .required {
    color: #e74c3c;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    font-size: 15px;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #5e2d91;
    outline: none;
}

.captcha-group .captcha-input {
    display: flex;
    gap: 10px;
}

.captcha-input input {
    flex: 1;
}

.captcha-img {
    height: 44px;
    border-radius: 4px;
    cursor: pointer;
}

.form-submit {
    margin-top: 30px;
}

.form-submit button {
    background-color: #5e2d91;
    color: #fff;
    border: none;
    padding: 14px 30px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form-submit button:hover {
    background-color: #4a2372;
}

/* Form Sidebar */
.company-info,
.quick-contact {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.company-info {
    text-align: center;
}

.company-info .logo {
    width: 150px;
    margin: 0 auto 20px;
}

.company-info .logo img {
    width: 100%;
    height: auto;
}

.company-info h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
}

.company-info p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #5e2d91;
    color: #fff;
    border-radius: 50%;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.social-link:hover {
    transform: translateY(-5px);
    background-color: #4a2372;
}

.quick-contact h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.quick-contact h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #5e2d91;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item i {
    font-size: 20px;
    color: #5e2d91;
}

.contact-item span {
    display: block;
    color: #888;
    font-size: 14px;
    margin-bottom: 5px;
}

.contact-item a {
    color: #333;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #5e2d91;
}

/* Map Section */
.map-container {
    max-width: 1200px;
    margin: 0 auto;
}

.map-wrapper {
    position: relative;
    height: 450px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.map-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Global Offices */
.offices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 30px;
}

.office-card {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.office-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.office-flag {
    width: 60px;
    height: 40px;
    margin-bottom: 20px;
    border-radius: 4px;
    overflow: hidden;
}

.office-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.office-card h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.office-card h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #5e2d91;
}

.office-info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.office-info-item:last-child {
    margin-bottom: 0;
}

.office-info-item i {
    color: #5e2d91;
    font-size: 18px;
    margin-top: 3px;
}

.office-info-item p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* FAQ Section */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: #fff;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(94, 45, 145, 0.05);
}

.faq-question h3 {
    font-size: 18px;
    color: #333;
    margin: 0;
}

.toggle-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5e2d91;
    transition: transform 0.3s ease;
}

.faq-item.active .toggle-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 0 20px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .contact-form-container {
        flex-direction: column;
    }
    
    .form-sidebar {
        flex-direction: row;
    }
    
    .company-info,
    .quick-contact {
        flex: 1;
    }
}

@media (max-width: 768px) {
    .contact-header {
        padding: 40px 0;
    }
    
    .section-header .title {
        font-size: 28px;
    }
    
    .contact-info-section,
    .contact-form-section,
    .map-section,
    .global-offices-section,
    .contact-faq-section {
        padding: 40px 0;
    }
    
    .contact-form .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-sidebar {
        flex-direction: column;
    }
    
    .form-content {
        padding: 30px;
    }
    
    .map-wrapper {
        height: 350px;
    }
    
    .faq-question h3 {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .section-header .title {
        font-size: 24px;
    }
    
    .form-content {
        padding: 20px;
    }
    
    .company-info,
    .quick-contact {
        padding: 20px;
    }
    
    .captcha-group .captcha-input {
        flex-direction: column;
    }
    
    .captcha-img {
        width: 100%;
        height: auto;
    }
    
    .map-wrapper {
        height: 300px;
    }
    
    .faq-question {
        padding: 15px 20px;
    }
    
    .faq-answer {
        padding: 0 20px;
    }
} 