/* Modern Contact Page Styles */

/* Contact Header */
.contact-header {
    background: linear-gradient(135deg, #F4A5A5 0%, #4a6b5b 100%);
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
}

.contact-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.3;
}

.contact-header .breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
}

.contact-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.contact-header .breadcrumb-item.active {
    color: white;
}

/* Contact Section */
.contact-section {
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

/* Contact Form Wrapper */
.contact-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Floating Label Inputs */
.floating-label {
    position: relative;
    margin-bottom: 1.5rem;
}

.floating-label .form-control {
    height: 56px;
    padding: 18px 16px 6px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.floating-label textarea.form-control {
    height: auto;
    padding-top: 24px;
    resize: vertical;
}

.floating-label label {
    position: absolute;
    left: 16px;
    top: 18px;
    font-size: 16px;
    color: #64748b;
    pointer-events: none;
    transition: all 0.3s ease;
    background: transparent;
}

.floating-label .form-control:focus,
.floating-label .form-control:not(:placeholder-shown) {
    border-color: #F4A5A5;
    background: white;
    box-shadow: 0 0 0 4px rgba(244, 165, 165, 0.1);
}

.floating-label .form-control:focus + label,
.floating-label .form-control:not(:placeholder-shown) + label {
    top: 8px;
    font-size: 12px;
    color: #F4A5A5;
    font-weight: 600;
}

/* Security Box */
.security-box {
    background: linear-gradient(135deg, #FFF5F5 0%, #FFE8E8 100%);
    border: 2px solid #FFC9C9;
    border-radius: 16px;
    padding: 24px;
}

.security-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #F4A5A5 0%, #E68A8A 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
}

.math-question {
    display: flex;
    align-items: center;
    gap: 12px;
}

.math-question .equation {
    font-size: 24px;
    font-weight: 700;
    color: #4a6b5b;
}

.math-question .math-input {
    width: 80px;
    height: 48px;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    border: 2px solid #F4A5A5;
    border-radius: 12px;
    background: white;
}

.math-question .math-input:focus {
    border-color: #E68A8A;
    box-shadow: 0 0 0 4px rgba(244, 165, 165, 0.2);
    outline: none;
}

/* Info Cards */
.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.info-card .icon-wrapper {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #F4A5A5 0%, #4a6b5b 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 26px;
    margin-bottom: 16px;
}

.info-card h5 {
    color: #1e293b;
    margin-bottom: 8px;
    font-size: 18px;
}

.info-card p {
    margin: 0;
    color: #64748b;
    font-size: 15px;
}

.info-card a {
    color: #64748b;
    transition: color 0.3s ease;
}

.info-card a:hover {
    color: #F4A5A5;
}

/* Social Card */
.social-card {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

.social-card h5 {
    color: white;
}

.social-btn {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-btn:hover {
    background: white;
    color: #F4A5A5;
    transform: translateY(-3px);
}

/* Modern Alert */
.modern-alert {
    border: none;
    border-radius: 12px;
    padding: 20px 24px;
    font-size: 15px;
}

.alert-success.modern-alert {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
}

.alert-danger.modern-alert {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(135deg, #F4A5A5 0%, #E68A8A 100%);
    border: none;
    border-radius: 12px;
    padding: 14px 32px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(244, 165, 165, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 165, 165, 0.4);
    background: linear-gradient(135deg, #E68A8A 0%, #D97878 100%);
}

/* Responsive */
@media (max-width: 991px) {
    .contact-form-wrapper {
        padding: 30px 20px;
    }
    
    .contact-header {
        padding: 80px 0 40px;
    }
    
    .floating-label .form-control {
        height: 52px;
    }
    
    .math-question {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .math-question .math-input {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .security-box {
        padding: 20px;
    }
    
    .security-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .math-question .equation {
        font-size: 20px;
    }
}
