/**
 * ITAR Compliance Training - Contact Page Styles
 */

:root {
    --primary-color: #003366;
    --secondary-color: #0066b2;
    --accent-color: #cc0000;
    --success-color: #4CAF50;
    --error-color: #f44336;
    --light-bg: #f5f7fa;
    --dark-text: #333333;
    --border-radius: 5px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background: var(--light-bg);
    color: var(--dark-text);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.page-header {
    background: var(--primary-color);
    color: white;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.page-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.logo span {
    color: var(--accent-color);
}

.header-nav {
    display: flex;
    gap: 25px;
}

.header-nav a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
    font-weight: 500;
}

.header-nav a:hover,
.header-nav a.active {
    opacity: 0.8;
    border-bottom: 2px solid var(--accent-color);
}

/* Contact Container */
.contact-container {
    padding: 60px 0;
}

.contact-hero {
    text-align: center;
    margin-bottom: 50px;
}

.contact-hero h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-hero p {
    font-size: 1.2rem;
    color: #666;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

/* Contact Info Section */
.info-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    text-align: center;
}

.info-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.info-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.info-card a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.info-card a:hover {
    text-decoration: underline;
}

.info-note {
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
}

.support-hours {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.support-hours h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.support-hours ul {
    list-style: none;
}

.support-hours li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.support-hours li:last-child {
    border-bottom: none;
}

/* Form Section */
.form-card {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-card h2 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.form-subtitle {
    color: #666;
    margin-bottom: 30px;
}

.error-box {
    background: #ffebee;
    border-left: 4px solid var(--error-color);
    padding: 15px;
    margin-bottom: 25px;
    border-radius: var(--border-radius);
}

.error-box i {
    color: var(--error-color);
    margin-right: 10px;
}

.error-box ul {
    margin: 10px 0 0 25px;
    color: var(--error-color);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-text);
}

.form-group label i {
    color: var(--secondary-color);
    margin-right: 5px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: all 0.3s;
    font-family: Arial, sans-serif;
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 178, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit:hover {
    background: #a30000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(204, 0, 0, 0.3);
}

/* Success Message */
.success-message {
    background: linear-gradient(135deg, var(--success-color) 0%, #45a049 100%);
    color: white;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
}

.success-message i {
    font-size: 4rem;
    margin-bottom: 20px;
}

.success-message h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.success-message p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

.btn-secondary {
    padding: 12px 30px;
    background: white;
    color: var(--success-color);
    border: none;
    border-radius: var(--border-radius);
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* FAQ Quick Section */
.faq-quick {
    background: white;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-quick h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.faq-quick p {
    color: #666;
    margin-bottom: 25px;
}

.btn-faq {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: bold;
    transition: all 0.3s;
}

.btn-faq:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Footer */
.page-footer {
    background: var(--primary-color);
    color: white;
    padding: 30px 0;
    text-align: center;
    margin-top: 60px;
}

.page-footer a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}

.page-footer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-card {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .page-header .container {
        flex-direction: column;
        gap: 15px;
    }

    .header-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .contact-hero h1 {
        font-size: 2rem;
    }
}