/* Contact Page Complete Styles */

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.4) 0%, rgba(27, 38, 59, 0.3) 100%), url('../images/contact_photo.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.2) 0%, rgba(27, 38, 59, 0.1) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: #e0e1dd;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background-color: #e0e1dd;
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #0d1b2a;
}

.contact-subtitle {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #1b263b;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-item {
    padding: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #e0e1dd 100%);
    border-radius: 12px;
    border: 2px solid rgba(13, 27, 42, 0.15);
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #0d1b2a 0%, #1b263b 100%);
}

.contact-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #0d1b2a;
}

.contact-item p {
    color: #1b263b;
    font-size: 1.1rem;
}

.cta-section {
    margin-top: 2rem;
}

.contact-detail {
    font-size: 1.2rem;
    font-weight: 600;
    color: #0d1b2a;
    margin-bottom: 0.5rem;
}

.contact-note {
    color: #1b263b;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Office Locations */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.location-card {
    padding: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #e0e1dd 100%);
    border-radius: 12px;
    border: 2px solid rgba(13, 27, 42, 0.15);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.location-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #0d1b2a 0%, #1b263b 100%);
}

.location-card h3 {
    color: #0d1b2a;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.location-card p {
    color: #1b263b;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.location-phone {
    color: #0d1b2a;
    font-weight: 600;
    font-size: 1.1rem;
}

/* FAQ Section */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.faq-item {
    padding: 2rem;
    background: linear-gradient(135deg, #e0e1dd 0%, #ffffff 100%);
    border-radius: 12px;
    border: 2px solid rgba(13, 27, 42, 0.15);
    position: relative;
    overflow: hidden;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #0d1b2a 0%, #1b263b 100%);
}

.faq-item h3 {
    color: #0d1b2a;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.faq-item p {
    color: #1b263b;
    line-height: 1.6;
}

/* Contact Form Styles */
.form-container {
    max-width: 800px;
    margin: 3rem auto 0;
    padding: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #e0e1dd 100%);
    border-radius: 12px;
    border: 2px solid rgba(13, 27, 42, 0.15);
    box-shadow: 0 4px 20px rgba(13, 27, 42, 0.2);
    position: relative;
    overflow: hidden;
}

.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #0d1b2a 0%, #1b263b 100%);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #0d1b2a;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 2px solid rgba(13, 27, 42, 0.2);
    border-radius: 6px;
    font-size: 1rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #ffffff;
    color: #0d1b2a;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0d1b2a;
    box-shadow: 0 0 0 3px rgba(13, 27, 42, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #1b263b;
    opacity: 0.7;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.95rem;
    color: #1b263b;
    font-weight: 500;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 0.75rem;
    width: 18px;
    height: 18px;
    accent-color: #0d1b2a;
}

.checkbox-label .checkmark {
    margin-right: 0.75rem;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(13, 27, 42, 0.3);
    border-radius: 3px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background-color: #0d1b2a;
    border-color: #0d1b2a;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group button {
    align-self: center;
    margin-top: 1rem;
}

/* Form Validation Styles */
.form-container.submitted .form-group input:invalid,
.form-container.submitted .form-group select:invalid {
    border-color: #dc3545;
}

.form-container.submitted .form-group input:valid,
.form-container.submitted .form-group select:valid {
    border-color: #28a745;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 4rem 0 3rem;
        min-height: 50vh;
        background-size: cover;
        background-position: center;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .contact h2 {
        font-size: 2rem;
    }
    
    .contact-info,
    .locations-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        margin: 2rem 1rem 0;
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .checkbox-group {
        grid-template-columns: 1fr;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.875rem 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 40vh;
        padding: 3rem 0 2rem;
        background-size: cover;
        background-position: center;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
}
