/* Modern Contact Page - NetGigabit */

/* Modern Contact Section */
.modern-contact-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.modern-contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><g fill="%23e60012" fill-opacity="0.02"><circle cx="20" cy="20" r="2"/><circle cx="80" cy="80" r="2"/><circle cx="40" cy="60" r="1"/><circle cx="60" cy="40" r="1"/></g></svg>');
    z-index: 1;
}

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

/* Contact Header */
.contact-section-header {
    text-align: center;
    margin-bottom: 80px;
}

.contact-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--ng-primary-light, rgba(91, 131, 205, 0.1)), var(--ng-secondary-light, rgba(194, 128, 191, 0.1)));
    color: var(--ng-primary-start, #5b83cd);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(230, 0, 18, 0.2);
}

.contact-section-badge i {
    font-size: 16px;
    animation: pulse 2s infinite;
}

.contact-section-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    color: #333;
    margin-bottom: 24px;
}

.contact-title-highlight {
    background: linear-gradient(135deg, var(--ng-primary-start, #5b83cd) 0%, var(--ng-primary-end, #c280bf) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-section-description {
    font-size: 18px;
    line-height: 1.6;
    color: #666;
    max-width: 700px;
    margin: 0 auto 60px;
}

/* Modern Contact Cards */
.modern-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.modern-contact-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(230, 0, 18, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.modern-contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--ng-primary-start, #5b83cd) 0%, var(--ng-primary-end, #c280bf) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modern-contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 80px var(--ng-shadow-medium, rgba(91, 131, 205, 0.2));
}

.modern-contact-card:hover::before {
    opacity: 1;
}

.contact-card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--ng-primary-light, rgba(91, 131, 205, 0.1)), var(--ng-secondary-light, rgba(194, 128, 191, 0.1)));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: all 0.3s ease;
    border: 1px solid rgba(230, 0, 18, 0.1);
}

.contact-card-icon i {
    font-size: 36px;
    color: var(--ng-primary-start, #5b83cd);
    transition: all 0.3s ease;
}

.modern-contact-card:hover .contact-card-icon {
    background: linear-gradient(135deg, var(--ng-primary-start, #5b83cd) 0%, var(--ng-primary-end, #c280bf) 100%);
    transform: scale(1.1);
}

.modern-contact-card:hover .contact-card-icon i {
    color: white;
}

.contact-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 16px;
}

.contact-card-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-card-info a {
    color: #666;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.contact-card-info a:hover {
    color: var(--ng-primary-start, #5b83cd);
}

.contact-card-info a i {
    font-size: 14px;
    opacity: 0.7;
}

/* Modern Contact Form Section */
.modern-contact-form-section {
    background: white;
    border-radius: 30px;
    padding: 60px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(230, 0, 18, 0.05);
    position: relative;
    overflow: hidden;
}

.modern-contact-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(135deg, var(--ng-primary-start, #5b83cd) 0%, var(--ng-primary-end, #c280bf) 100%);
}

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

.contact-form-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
}

.contact-form-subtitle {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
}

/* Modern Form Styles */
.modern-contact-form {
    display: grid;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    background: #fafafa;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--ng-primary-start, #5b83cd);
    background: white;
    box-shadow: 0 0 0 3px rgba(230, 0, 18, 0.1);
}

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

.modern-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--ng-primary-start, #5b83cd) 0%, var(--ng-primary-end, #c280bf) 100%);
    color: white;
    padding: 18px 40px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px var(--ng-shadow-dark, rgba(91, 131, 205, 0.3));
    position: relative;
    overflow: hidden;
    margin-top: 20px;
}

.modern-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.modern-submit-btn:hover::before {
    left: 100%;
}

.modern-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px var(--ng-shadow-dark, rgba(91, 131, 205, 0.3));
}

.modern-submit-btn i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.modern-submit-btn:hover i {
    transform: translateX(5px);
}

/* Alert Styles */
.modern-alert {
    padding: 20px 24px;
    border-radius: 16px;
    margin-bottom: 30px;
    border: none;
    position: relative;
    overflow: hidden;
}

.modern-alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border-left: 5px solid #28a745;
}

.modern-alert-danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border-left: 5px solid #dc3545;
}

.modern-alert h5 {
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modern-alert h5 i {
    font-size: 20px;
}

/* Responsive Design */
@media (max-width: 991px) {
    .modern-contact-section {
        padding: 80px 0;
    }
    
    .contact-section-header {
        margin-bottom: 60px;
    }
    
    .modern-contact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-bottom: 60px;
    }
    
    .modern-contact-form-section {
        padding: 40px 30px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width: 575px) {
    .modern-contact-section {
        padding: 60px 0;
    }
    
    .modern-contact-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .modern-contact-card {
        padding: 30px 20px;
    }
    
    .contact-card-icon {
        width: 60px;
        height: 60px;
    }
    
    .contact-card-icon i {
        font-size: 28px;
    }
    
    .modern-contact-form-section {
        padding: 30px 20px;
        border-radius: 20px;
    }
    
    .contact-form-title {
        font-size: 24px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 14px 16px;
        font-size: 15px;
    }
    
    .modern-submit-btn {
        padding: 16px 32px;
        font-size: 15px;
    }
}
