/* Contact Minimal Styles */
.contact {
    padding: 80px 0;
    background-color: #fafafa;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(248,249,250,0.85) 100%);
    z-index: 1;
}

.contact .container {
    position: relative;
    z-index: 2;
}

.contact .section-header {
    margin-bottom: 40px;
    text-align: center;
}

.contact .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a202c;
    position: relative;
    display: inline-block;
}

.contact .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #f8e874;
}

.contact .section-subtitle {
    font-size: 1.1rem;
    color: #4a5568;
    max-width: 700px;
    margin: 0 auto;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

/* Contact Info */
.contact-info {
    border-radius: 12px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1a202c;
    position: relative;
    padding-bottom: 15px;
}

.contact-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #f8e874;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px dashed #e2e8f0;
    transition: transform 0.3s ease;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-icon {
    background-color: rgba(245, 158, 11, 0.1);
    color: #011c30;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    background-color: #011c30;
    color: white;
    transform: scale(1.1);
}

.contact-details {
    flex: 1;
}

.contact-details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #1a202c;
}

.contact-details p {
    font-size: 0.95rem;
    color: #4a5568;
    line-height: 1.5;
    margin: 0;
}

/* Contact Form */
.contact-form {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1a202c;
    position: relative;
    padding-bottom: 15px;
}

.contact-form h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #f8e874;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    font-size: 0.95rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background-color: #f8fafc;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group input.focused,
.form-group textarea.focused {
    border-color: #f8e874;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
    outline: none;
    background-color: #fff;
}

.submit-btn {
    background-color: #011c30;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    width: 100%;
}

.submit-btn:hover {
    background-color: #011c30;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

.form-message {
    margin-top: 20px;
    padding: 10px;
    border-radius: 8px;
    font-size: 0.9rem;
    display: none;
}

.form-message.success {
    background-color: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-message.error {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-info, .contact-form {
    animation: fadeInUp 0.6s ease forwards;
}

.contact-form {
    animation-delay: 0.2s;
}

/* Contact Map */
.contact-map {
    margin-top: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 300px;
    animation: fadeInUp 0.6s 0.4s ease forwards;
    opacity: 0;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Form Messages */
.form-message {
    padding: 15px 20px;
    margin-bottom: 25px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-message i {
    font-size: 1.2rem;
}

.form-message.success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.form-message.success i {
    color: #28a745;
}

.form-message.error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.form-message.error i {
    color: #dc3545;
}

/* Responsive styles */
@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-info {
        animation-delay: 0s;
    }
    
    .contact-form {
        animation-delay: 0.1s;
    }
    
    .contact-map {
        animation-delay: 0.2s;
    }
}

@media (max-width: 767px) {
    .contact .section-title {
        font-size: 2rem;
    }
    
    .contact-item {
        padding: 12px 0;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .contact-details h4 {
        font-size: 1rem;
    }
    
    .contact-details p {
        font-size: 0.9rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 10px;
    }
    
    .submit-btn {
        padding: 10px 20px;
    }
    
    .form-message {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
}
