/* Contact Page Styles */

/* Hero Sections */
.contact-hero,
.contact-info-hero,
.locations-hero,
.support-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 80px 0;
    margin-bottom: 60px;
}

.contact-title,
.info-title,
.locations-title,
.support-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-subtitle,
.info-subtitle,
.locations-subtitle,
.support-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* Contact Content */
.contact-content {
    padding: 80px 0;
}

.contact-form-card {
    background: white;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.form-header p {
    color: var(--text-color);
}

.contact-form .form-control,
.contact-form .form-select {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(var(--primary-rgb), 0.25);
}

.contact-form .form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.form-submit {
    text-align: center;
    margin-top: 2rem;
}

.submit-info {
    margin-top: 1rem;
}

/* Contact Info Card */
.contact-info-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.contact-info-card h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e9ecef;
}

.contact-info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.info-content h6 {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.info-content p {
    color: var(--text-color);
    margin: 0;
    line-height: 1.5;
}

.info-content a {
    color: var(--primary-color);
    text-decoration: none;
}

.info-content a:hover {
    text-decoration: underline;
}

/* Social Links */
.social-links {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.social-links h6 {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-placeholder {
    height: 400px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.map-content i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.map-content h5 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Newsletter Section */
.newsletter-section {
    padding: 80px 0;
}

.newsletter-card {
    background: white;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.newsletter-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
    color: white;
}

.newsletter-card h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.newsletter-form {
    max-width: 400px;
    margin: 2rem auto 0;
}

.newsletter-form .input-group {
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.newsletter-form .form-control {
    border: none;
    padding: 12px 20px;
    font-size: 1rem;
}

/* Newsletter form button inherits from components/button.css */

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.faq-section .accordion-item {
    border: none;
    border-radius: 10px !important;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.faq-section .accordion-button {
    background: white;
    border: none;
    border-radius: 10px !important;
    padding: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

.faq-section .accordion-button:not(.collapsed) {
    background: var(--primary-color);
    color: white;
}

.faq-section .accordion-body {
    padding: 1.5rem;
    color: var(--text-color);
    line-height: 1.6;
}

/* Contact Methods */
.contact-methods {
    padding: 80px 0;
}

.contact-method-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    height: 100%;
}

.contact-method-card:hover {
    transform: translateY(-5px);
}

.method-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.method-details {
    margin: 1.5rem 0;
    text-align: left;
}

.method-details p {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.method-details a {
    color: var(--primary-color);
    text-decoration: none;
}

.method-hours {
    margin-top: 1rem;
    color: var(--text-muted);
}

.method-action {
    margin-top: 1.5rem;
}

/* Emergency Contact */
.emergency-contact {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.emergency-card {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    border-radius: 15px;
    padding: 3rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.emergency-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.emergency-content h4 {
    margin-bottom: 1rem;
}

.emergency-details {
    margin: 1.5rem 0;
}

.emergency-details p {
    margin-bottom: 0.5rem;
}

.emergency-details a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

/* Contact Preferences */
.contact-preferences {
    padding: 80px 0;
}

.preferences-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.preference-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.preference-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
}

/* Locations Styles */
.main-office {
    padding: 80px 0;
}

.office-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.office-info h3 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 2rem;
}

.office-details {
    margin: 2rem 0;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    gap: 1rem;
}

.detail-item i {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-top: 0.25rem;
}

.office-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.office-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem;
}

/* Branch Offices */
.branch-offices {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.branch-office-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.branch-office-card:hover {
    transform: translateY(-5px);
}

.office-header {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.office-image-small {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 1rem;
}

.office-image-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.office-title h4 {
    color: var(--dark-color);
    margin: 0;
}

.office-type {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
}

.office-content {
    padding: 1.5rem;
}

.office-address {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.office-address i {
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.office-contact {
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.contact-item i {
    color: var(--primary-color);
    width: 16px;
}

.contact-item a {
    color: var(--text-color);
    text-decoration: none;
}

.office-specialties h6 {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.office-specialties ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.office-specialties li {
    color: var(--text-color);
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1rem;
}

.office-specialties li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.office-footer {
    padding: 1rem 1.5rem;
    background-color: var(--light-bg);
    display: flex;
    gap: 0.5rem;
}

/* Global Coverage */
.global-coverage {
    padding: 80px 0;
}

.coverage-item {
    text-align: center;
    padding: 2rem;
}

.coverage-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
}

/* Support Styles */
.support-options {
    padding: 80px 0;
}

.support-option-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    height: 100%;
}

.support-option-card:hover {
    transform: translateY(-5px);
}

.option-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.option-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
}

.option-features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    color: var(--text-color);
}

.option-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.option-action {
    margin-top: auto;
}

/* Support Ticket */
.support-ticket-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.support-ticket-card {
    background: white;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.ticket-header {
    text-align: center;
    margin-bottom: 2rem;
}

.ticket-submit {
    text-align: center;
    margin-top: 2rem;
}

/* Support Stats */
.support-stats {
    padding: 80px 0;
}

.stat-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-color);
    font-weight: 600;
}

/* Knowledge Base */
.knowledge-base {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.kb-category {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.kb-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
}

.kb-articles {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.kb-articles li {
    margin-bottom: 0.5rem;
}

.kb-articles a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.kb-articles a:hover {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-title,
    .info-title,
    .locations-title,
    .support-title {
        font-size: 2rem;
    }
    
    .contact-form-card,
    .support-ticket-card {
        padding: 2rem;
    }
    
    .office-actions {
        flex-direction: column;
    }
    
    .emergency-card {
        flex-direction: column;
        text-align: center;
    }
    
    .preferences-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .contact-form-card,
    .newsletter-card,
    .support-ticket-card {
        padding: 1.5rem;
    }
    
    .newsletter-form .input-group {
        flex-direction: column;
        border-radius: 8px;
    }
    
    .newsletter-form .form-control {
        border-radius: 8px !important;
    }
    
    /* Newsletter form button responsive styles handled by components/button.css */
}
