/* Contact Page Styles */

/* Hero Section for Contact */
.hero {
    background: linear-gradient(rgba(0, 91, 154, 0.7), rgba(116, 194, 225, 0.7)), url('../images/hero/contact-hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px;
    color: var(--light-text);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Contact Information Section */
.contact-info {
    padding: 5rem 0;
    background: #f8f9fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #005b9a, #74c2e1);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #005b9a, #74c2e1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    transform: scale(1.1);
}

.contact-icon i {
    font-size: 2rem;
    color: white;
}

.contact-card h3 {
    color: #005b9a;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-card p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Map Section */
.map-section {
    padding: 5rem 0;
    background: white;
}

.map-container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
    margin-top: 3rem;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

#map {
    height: 500px;
    width: 100%;
    border-radius: 15px 0 0 15px;
}

.map-info {
    padding: 2rem;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.map-info h3 {
    color: #005b9a;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.map-info p {
    color: #666;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.map-info i {
    color: #005b9a;
    width: 16px;
}

.map-actions {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-secondary {
    background: white;
    color: #005b9a;
    border: 2px solid #005b9a;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 500;
}

.btn-secondary:hover {
    background: #005b9a;
    color: white;
    transform: translateY(-2px);
}

/* Contact Form Section */
.contact-form-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.contact-form-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.form-content h2 {
    color: #005b9a;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.form-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.security-notice {
    background: rgba(0, 91, 154, 0.1);
    border: 1px solid rgba(0, 91, 154, 0.2);
    border-radius: 10px;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.security-notice i {
    color: #005b9a;
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.security-notice h4 {
    color: #005b9a;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.security-notice p {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.form-group label {
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #005b9a;
    box-shadow: 0 0 0 3px rgba(0, 91, 154, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.captcha-group {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.captcha-group small {
    color: #666;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
    margin-top: 0.25rem;
}

.checkbox-group label {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-group a {
    color: #005b9a;
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

/* Submit Button */
.contact-form .cta-button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.contact-form .cta-button i {
    transition: transform 0.3s ease;
}

.contact-form .cta-button:hover i {
    transform: translateX(5px);
}

/* Privacy Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 2% auto;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    position: absolute;
    right: 1.5rem;
    top: 1rem;
    font-size: 2rem;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #005b9a;
}

.privacy-content h3 {
    color: #005b9a;
    margin: 1.5rem 0 1rem 0;
}

.privacy-content h4 {
    color: #005b9a;
    margin: 1.5rem 0 0.5rem 0;
}

.privacy-content ul {
    margin: 0.5rem 0 1rem 1.5rem;
}

.privacy-content li {
    color: #666;
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-form-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .map-container {
        grid-template-columns: 1fr;
    }
    
    .map-info {
        border-radius: 0 0 15px 15px;
    }
    
    #map {
        border-radius: 15px 15px 0 0;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .modal-content {
        margin: 5% auto;
        padding: 1.5rem;
        width: 95%;
    }
}

@media (max-width: 480px) {
    .contact-card {
        padding: 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .map-actions {
        flex-direction: column;
    }
} 