/* Contact Page Styles */

/* Hero Section */
.contact-hero {
    position: relative;
    padding: 100px 0;
    color: #fff;
    overflow: hidden;
}

.contact-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f2657 0%, #22437c 100%);
    z-index: -1;
}

.contact-hero-bg:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/contact-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    z-index: -1;
}

.contact-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.contact-hero-content p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* Contact Information Section */
.contact-info {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.info-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.info-icon {
    width: 70px;
    height: 70px;
    background-color: #22437c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.info-icon i {
    font-size: 1.8rem;
    color: #fff;
}

.info-card h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 15px;
}

.info-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 8px;
}

/* Contact Form Section */
.contact-form-section {
    padding: 80px 0;
    background-color: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.form-container {
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    background-color: #fff;
}

.contact-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

.contact-title {
    font-size: 2.5rem;
    margin-bottom: 0;
    line-height: 1;
}

.contact-title span {
    color: #f26e21;
}

.contact-description {
    max-width: 70%;
    color: #666;
    line-height: 1.6;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .contact-description {
        max-width: 100%;
    }
}

.section-header {
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #333;
}

.section-header span {
    color: #22437c;
}

.section-header p {
    color: #666;
    line-height: 1.6;
    font-size: 1.1rem;
}

.contact-form {
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.required {
    color: #e74c3c;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
    background-color: #f9f9f9;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #22437c;
    outline: none;
    box-shadow: 0 0 0 2px rgba(34, 67, 124, 0.2);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.captcha-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f1f3f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 20px;
}

.captcha-message {
    font-weight: 500;
    color: #555;
}

.refresh-btn {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 8px 15px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.refresh-btn:hover {
    background-color: #f0f0f0;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    margin-top: 10px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.submit-btn:hover {
    transform: translateY(-2px);
}

/* Contact Side Content */
.contact-side-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.quick-contact, .faq-preview {
    background-color: #f9fafd;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.quick-contact h3, .faq-preview h3 {
    font-size: 1.5rem;
    color: #22437c;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.quick-contact h3:after, .faq-preview h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #22437c;
}

.quick-contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.quick-contact-item:last-child {
    margin-bottom: 0;
}

.quick-contact-item i {
    font-size: 1.5rem;
    color: #22437c;
    margin-top: 5px;
}

.quick-contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #333;
}

.quick-contact-item p {
    color: #666;
    margin-bottom: 5px;
    line-height: 1.5;
}

.quick-contact-item a {
    color: #22437c;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.quick-contact-item a:hover {
    color: #0f2657;
    text-decoration: underline;
}

.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.faq-item:last-child {
    margin-bottom: 15px;
    border-bottom: none;
}

.faq-item h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #333;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
}

.more-faqs {
    color: #22437c;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: color 0.3s;
}

.more-faqs:hover {
    color: #0f2657;
    text-decoration: underline;
}

/* Map Section */
.map-section {
    padding: 0;
}

.map-container {
    height: 450px;
    width: 100%;
}

.map-container iframe {
    border: none;
    display: block;
}

/* Success 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);
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background-color: #fff;
    border-radius: 10px;
    padding: 40px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #333;
}

.modal-icon {
    font-size: 4rem;
    color: #2ecc71;
    margin-bottom: 20px;
}

.modal-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #333;
}

.modal-content p {
    color: #666;
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.5;
}

.modal-btn {
    display: inline-block;
    padding: 12px 30px;
    cursor: pointer;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-hero-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .info-cards {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .form-container {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        padding: 70px 0;
    }
    
    .contact-hero-content h1 {
        font-size: 2rem;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
    }
    
    .captcha-container {
        flex-direction: column;
        gap: 15px;
    }
}