/* Contact Page Styles */
.contact-section {
    padding-top: 120px;
    padding-bottom: 80px;
    min-height: 100vh;
    position: relative;
    background: linear-gradient(135deg, #F8FBFF 0%, #EEF6FF 50%, #F0F9FF 100%);
    overflow: hidden;
}

/* Animated particles background */
.contact-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.contact-particles .particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: linear-gradient(45deg, #0EA5E9, #0284C7);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 20s infinite linear;
}

.contact-particles .particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 25s;
}

.contact-particles .particle:nth-child(2) {
    left: 30%;
    animation-delay: 2s;
    animation-duration: 20s;
}

.contact-particles .particle:nth-child(3) {
    left: 50%;
    animation-delay: 4s;
    animation-duration: 30s;
}

.contact-particles .particle:nth-child(4) {
    left: 70%;
    animation-delay: 6s;
    animation-duration: 22s;
}

.contact-particles .particle:nth-child(5) {
    left: 90%;
    animation-delay: 8s;
    animation-duration: 28s;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    position: relative;
    z-index: 1;
}

/* Contact Info Section */
.contact-info {
    padding-top: 40px;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, #0EA5E9 0%, #0284C7 100%);
    color: white;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.contact-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #1F2937;
}

.text-gradient {
    background: linear-gradient(135deg, #0EA5E9 0%, #0284C7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-subtitle {
    font-size: 1.125rem;
    color: #6B7280;
    line-height: 1.75;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: start;
    gap: 16px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.15);
}

.contact-icon-wrapper {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #E0F2FE 0%, #BAE6FD 100%);
    border-radius: 12px;
    flex-shrink: 0;
}

.contact-icon-wrapper .material-icons {
    color: #0284C7;
    font-size: 24px;
}

.contact-text h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 4px;
}

.contact-text p {
    font-size: 0.875rem;
    color: #6B7280;
    line-height: 1.5;
}

/* Contact Form */
.contact-form-wrapper {
    position: relative;
}

.form-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0EA5E9 0%, #0284C7 100%);
}

.form-card h2 {
    font-size: 1.875rem;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 12px;
}

.form-description {
    color: #6B7280;
    margin-bottom: 32px;
    font-size: 0.875rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
}

.form-group label .material-icons {
    font-size: 18px;
    color: #6B7280;
}

.form-group input,
.form-group textarea {
    padding: 14px 16px;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'DM Sans', sans-serif;
    transition: all 0.3s ease;
    background: #FAFBFC;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0EA5E9;
    background: white;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9CA3AF;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Submit Button */
.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #0EA5E9 0%, #0284C7 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.3);
}

.submit-btn:hover::before {
    width: 300px;
    height: 300px;
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn .material-icons {
    font-size: 20px;
}

/* Form Message */
.form-message {
    margin-top: 20px;
    padding: 16px;
    border-radius: 12px;
    font-size: 0.875rem;
    display: none;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-message.success {
    background: #D1FAE5;
    color: #065F46;
    border: 1px solid #A7F3D0;
    display: block;
}

.form-message.error {
    background: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FECACA;
    display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info {
        padding-top: 0;
    }
    
    .contact-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding-top: 100px;
        padding-bottom: 60px;
    }
    
    .contact-title {
        font-size: 2rem;
    }
    
    .form-card {
        padding: 30px 20px;
    }
    
    .contact-item {
        padding: 16px;
    }
    
    .contact-icon-wrapper {
        width: 40px;
        height: 40px;
    }
    
    .submit-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .contact-title {
        font-size: 1.75rem;
    }
    
    .contact-subtitle {
        font-size: 1rem;
    }
    
    .form-card h2 {
        font-size: 1.5rem;
    }
}