﻿/* ========================================
   CONTACT PAGE STYLES
   Using Navy Blue (#1a2044) and Coral (#c98b7a)
   Matching Assets Management Design System
   ======================================== */

/* Hero Section */
.contact-hero {
    background: linear-gradient(135deg, #1a2044 0%, rgba(26, 32, 68, 0.95) 100%), url('/images/contact-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 120px 20px 100px;
    text-align: center;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

    .contact-hero h1 {
        color: #ffffff;
        font-size: 3.5rem;
        font-weight: 700;
        text-transform: uppercase;
        margin-top: 30px;
        letter-spacing: 4px;
        text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.5);
        position: relative;
        display: inline-block;
    }

        .contact-hero h1::after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 60%;
            height: 3px;
            background: #c98b7a;
        }

.about-hero-logo {
    max-width: 200px;
    margin-bottom: 20px;
}

/* Main Content Section */
.contact-main-section {
    padding: 80px 20px;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.contact-header-card {
    background: linear-gradient(135deg, #c98b7a 0%, rgba(201, 139, 122, 0.8) 100%);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    margin-bottom: 40px;
    box-shadow: 0 15px 40px rgba(201, 139, 122, 0.3);
    position: relative;
    overflow: hidden;
}

    .contact-header-card::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
        transform: rotate(45deg);
    }

.card-icon {
    display: inline-block;
    width: 80px;
    height: 80px;
    background: #ffffff;
    border-radius: 50%;
    line-height: 80px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

    .card-icon i {
        font-size: 2.5rem;
        color: #c98b7a;
    }

.contact-subtitle {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 15px 0;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
}

.contact-tagline {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    font-style: italic;
    margin: 0;
}

/* Content Section */
.contact-content {
    background: #ffffff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border-top: 4px solid #1a2044;
}

.form-section-title {
    text-align: center;
    margin-bottom: 40px;
}

    .form-section-title h3 {
        color: #1a2044;
        font-size: 2rem;
        font-weight: 700;
        text-transform: uppercase;
        margin-bottom: 15px;
    }

.title-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #1a2044, #c98b7a);
    margin: 0 auto;
    border-radius: 2px;
}

/* Form Styling */
.form-label {
    color: #1a2044;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1rem;
}

.required {
    color: #c98b7a;
    font-weight: 700;
}

.form-control {
    padding: 14px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

    .form-control:focus {
        border-color: #1a2044;
        background: #ffffff;
        box-shadow: 0 0 0 0.2rem rgba(26, 32, 68, 0.1);
        outline: none;
    }

    .form-control::placeholder {
        color: #9ca3af;
    }

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.text-danger {
    font-size: 0.875rem;
    margin-top: 5px;
    display: block;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    padding: 18px 40px;
    background: linear-gradient(135deg, #1a2044, rgba(26, 32, 68, 0.9));
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(26, 32, 68, 0.3);
    position: relative;
    overflow: hidden;
}

    .btn-submit::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.2);
        transform: translate(-50%, -50%);
        transition: width 0.6s, height 0.6s;
    }

    .btn-submit:hover::before {
        width: 400px;
        height: 400px;
    }

    .btn-submit:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 40px rgba(26, 32, 68, 0.4);
        background: linear-gradient(135deg, #c98b7a, rgba(201, 139, 122, 0.9));
    }

    .btn-submit:disabled {
        opacity: 0.7;
        cursor: not-allowed;
    }

.btn-text, .btn-loading {
    position: relative;
    z-index: 1;
}

/* Company Badge */
.company-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: linear-gradient(135deg, rgba(201, 139, 122, 0.1), rgba(201, 139, 122, 0.05));
    padding: 25px;
    border-radius: 15px;
    margin: 40px 0 0 0;
    border-left: 4px solid #c98b7a;
}

.badge-icon {
    font-size: 2rem;
    color: #c98b7a;
}

.contact-company {
    color: #c98b7a;
    font-weight: 700;
    font-size: 1.3rem;
    margin: 0;
    letter-spacing: 1px;
}

/* Alerts */
.alert {
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 30px;
    border: none;
}

.alert-success {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.15), rgba(40, 167, 69, 0.08));
    color: #155724;
    border-left: 4px solid #28a745;
}

.alert-danger {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.15), rgba(220, 53, 69, 0.08));
    color: #721c24;
    border-left: 4px solid #dc3545;
}

/* CTA Section */
.contact-cta-section {
    background: linear-gradient(135deg, #1a2044 0%, rgba(26, 32, 68, 0.95) 100%);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .contact-cta-section::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="2" fill="rgba(255,255,255,0.1)"/></svg>');
        opacity: 0.3;
    }

.cta-content {
    position: relative;
    z-index: 1;
}

    .cta-content h2 {
        color: #ffffff;
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 15px;
    }

    .cta-content p {
        color: rgba(255, 255, 255, 0.9);
        font-size: 1.2rem;
        margin-bottom: 30px;
        font-weight: 300;
    }

.btn-cta {
    display: inline-block;
    padding: 18px 50px;
    background: #c98b7a;
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(201, 139, 122, 0.4);
    position: relative;
    overflow: hidden;
}

    .btn-cta::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.2);
        transform: translate(-50%, -50%);
        transition: width 0.6s, height 0.6s;
    }

    .btn-cta:hover::before {
        width: 300px;
        height: 300px;
    }

    .btn-cta:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 40px rgba(201, 139, 122, 0.6);
        color: #ffffff;
    }

/* Footer Contact */
.footer-contact {
    background: #f8f9fa;
    padding: 80px 0;
}

    .footer-contact h3 {
        color: #1a2044;
        font-weight: 700;
        margin-bottom: 20px;
    }

.social-icons a {
    display: inline-block;
    width: 45px;
    height: 45px;
    background: #1a2044;
    color: #ffffff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 8px;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

    .social-icons a:hover {
        transform: translateY(-5px);
        background: #c98b7a;
        box-shadow: 0 5px 15px rgba(201, 139, 122, 0.4);
    }

.contact-info {
    color: #4a4a4a;
}

    .contact-info .mb-3 {
        display: flex;
        gap: 15px;
    }

    .contact-info i {
        color: #1a2044;
        font-size: 1.3rem;
        flex-shrink: 0;
        margin-top: 3px;
    }

    .contact-info p {
        margin: 0;
        line-height: 1.6;
    }

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 2rem;
        letter-spacing: 2px;
    }

    .contact-subtitle {
        font-size: 1.8rem;
    }

    .contact-header-card {
        padding: 30px 20px;
    }

    .card-icon {
        width: 60px;
        height: 60px;
        line-height: 60px;
    }

        .card-icon i {
            font-size: 2rem;
        }

    .contact-content {
        padding: 30px 25px;
    }

    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 544px) {
    .contact-hero h1 {
        font-size: 1.5rem;
    }

    .contact-subtitle {
        font-size: 1.5rem;
    }

    .contact-content {
        padding: 20px;
    }

    .btn-submit, .btn-cta {
        padding: 15px 35px;
        font-size: 0.9rem;
    }
}
