/* Contact Hero Section */
.contact-hero {
    background: linear-gradient(135deg, rgba(248, 251, 255, 0.8) 0%, rgba(232, 244, 255, 0.8) 100%);
    padding: 8rem 2rem 4rem;
    margin-top: 80px;
    text-align: center;
    position: relative;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 20%, rgba(0, 102, 204, 0.05) 0%, transparent 50%);
}

.contact-hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.contact-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    line-height: 1.2;
}

.contact-hero p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Section */
.contact-section {
    padding: 6rem 2rem;
    background: rgba(255, 255, 255, 0.8);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.contact-info {
    background: rgba(255, 255, 255, 0.9);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 102, 204, 0.08);
    border: 1px solid rgba(0, 102, 204, 0.1);
}

.contact-info h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}

.contact-info p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-details {
    list-style: none;
    margin-bottom: 2.5rem;
}

.contact-details li {
    display: block;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    padding-left: 0;
}

.contact-details li strong {
    color: #006600;
    display: block;
    margin-bottom: 0.3rem;
}

/* Contact Form */
.contact-form {
    background: rgba(255, 255, 255, 0.9);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 102, 204, 0.08);
    border: 1px solid rgba(0, 102, 204, 0.1);
}

.contact-form h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(0, 102, 204, 0.15);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #ffffff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #006600;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

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

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

.btn-primary.full-width {
    width: 100%;
}

/* Contact Responsive */
@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 2.5rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }

    .contact-info,
    .contact-form {
        padding: 2rem;
    }
}

/* Custom Success Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.success-modal {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0, 102, 0, 0.2);
    border: 1px solid rgba(0, 102, 0, 0.1);
    position: relative;
    transform: scale(0.7) translateY(50px);
    transition: all 0.3s ease;
}

.modal-overlay.active .success-modal {
    transform: scale(1) translateY(0);
}

.success-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #006600, #00CC33);
    border-radius: 20px 20px 0 0;
}

.modal-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #006600, #00CC33);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    animation: checkmark-bounce 0.6s ease 0.3s both;
}

.modal-icon::after {
    content: '✓';
    color: white;
    font-size: 2rem;
    font-weight: bold;
}

@keyframes checkmark-bounce {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.modal-content {
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.modal-details {
    background: rgba(0, 102, 0, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    text-align: left;
}

.modal-details h4 {
    color: #006600;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.modal-details ul {
    list-style: none;
    margin: 0;
}

.modal-details li {
    padding: 0.3rem 0;
    color: #555;
}

.modal-details li strong {
    color: #006600;
}

.modal-close {
    background: linear-gradient(135deg, #006600, #00CC33);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 102, 0, 0.3);
}

.modal-close:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 102, 0, 0.4);
}

/* Modal Responsive */
@media (max-width: 768px) {
    .success-modal {
        padding: 2rem;
        margin: 1rem;
    }
    
    .modal-title {
        font-size: 1.5rem;
    }
}