/* Contact Page Specific Styles */

/* Page Banner */
.page-banner {
    background: linear-gradient(rgba(0, 0, 102, 0.8), rgba(0, 0, 102, 0.8)), url('images/contact/contact-banner.jpg') no-repeat center center/cover;
    padding: 80px 0;
    color: #fff;
    text-align: center;
}

.page-banner h1 {
    font-size: 42px;
    margin-bottom: 15px;
    font-weight: 700;
}

.breadcrumb {
    font-size: 16px;
}

.breadcrumb a {
    color: #cc0000;
}

/* Contact Introduction */
.contact-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
}

.intro-text {
    font-size: 18px;
    line-height: 1.7;
    color: #555;
}

/* Contact Info Cards */
.contact-info-section {
    background-color: #f5f7fa;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-info-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-bottom: 3px solid #000066;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid #cc0000;
}

.card-icon {
    width: 70px;
    height: 70px;
    line-height: 70px;
    margin: 0 auto 20px;
    background-color: rgba(0, 0, 102, 0.1);
    border-radius: 50%;
    font-size: 28px;
    color: #cc0000;
}

.contact-info-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #000066;
}

.contact-info-card p {
    color: #555;
    line-height: 1.8;
}

/* Contact Form and Map */
.contact-form-section {
    background-color: #fff;
}

.contact-form-map {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form-container {
    background-color: #f5f7fa;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form-container h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #000066;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.contact-form-container h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #cc0000;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #000066;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: border-color 0.3s, box-shadow 0.3s;
    background-color: #fff;
}

.form-control:focus {
    outline: none;
    border-color: #cc0000;
    box-shadow: 0 0 0 3px rgba(204, 0, 0, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}

.form-check-input {
    width: auto;
    margin-top: 3px;
}

.form-check-label {
    font-size: 14px;
    color: #555;
}

.form-check-label a {
    color: #cc0000;
    text-decoration: underline;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #cc0000;
    color: #fff;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #990000;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-block {
    width: 100%;
    display: block;
}

.contact-map {
    background-color: #f5f7fa;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-map h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #000066;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.contact-map h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #cc0000;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
    border: 3px solid #000066;
}

.map-container iframe {
    display: block;
}

.global-offices {
    margin-top: 30px;
}

.global-offices h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #000066;
    text-align: center;
}

.office-list {
    list-style: none;
    padding: 0;
}

.office-list li {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
    color: #555;
}

.office-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #cc0000;
    font-size: 20px;
    line-height: 1;
}

.office-list li strong {
    color: #000066;
    font-weight: 600;
}

/* Contact Tabs Section */
.contact-tabs-section {
    background-color: #f5f7fa;
}

.tabs-container {
    margin-top: 40px;
}

.tabs-header {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 25px;
    background-color: #fff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    color: #000066;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.tab-btn.active, .tab-btn:hover {
    background-color: #cc0000;
    color: #fff;
    box-shadow: 0 5px 15px rgba(204, 0, 0, 0.2);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.tab-content-inner {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.tab-content-inner h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #000066;
}

.tab-content-inner p {
    color: #555;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.tab-contact-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.info-item i {
    font-size: 28px;
    color: #cc0000;
}

.info-item p {
    margin: 0;
    font-weight: 500;
}

/* FAQ Section */
.faq-section {
    background-color: #fff;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: #f5f7fa;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.faq-question h3 {
    font-size: 18px;
    margin: 0;
    color: #000066;
    font-weight: 600;
}

.faq-icon {
    transition: transform 0.3s;
    color: #cc0000;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 500px;
}

.faq-answer p {
    color: #555;
    margin: 0;
}

.faq-answer a {
    color: #cc0000;
    font-weight: 500;
}

/* Newsletter Section */
.newsletter-section {
    background-color: #f5f7fa;
}

.newsletter-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.newsletter-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #000066;
}

.newsletter-content p {
    color: #555;
    font-size: 16px;
    line-height: 1.7;
}

.newsletter-form-container {
    background-color: #006;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.newsletter-form {
    display: flex;
    gap: 20px;
}

.newsletter-form .form-group {
    flex-grow: 1;
    margin-bottom: 0;
}

.privacy-note {
    font-size: 12px;
    color: #ffffff;
    margin-top: 15px;
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 36px;
    font-weight: 700;
    position: relative;
    color: #000066;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: #cc0000;
    margin: 15px auto 0;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .contact-form-map {
        grid-template-columns: 1fr;
    }
    
    .newsletter-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-banner {
        padding: 60px 0;
    }

    .page-banner h1 {
        font-size: 32px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .tab-contact-info {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
    
    .tabs-header {
        flex-direction: column;
        width: 100%;
    }
    
    .tab-btn {
        width: 100%;
    }
    
    .newsletter-container {
        text-align: center;
    }
}