﻿.contact-hero {
    position: relative;
    height: 378px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)), url('https://img.freepik.com/premium-photo/businessman-hand-signing-contract-close-up_109710-1810.jpg?w=996');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}


.contact-hero-content {
    text-align: center;
    z-index: 1;
    padding: 20px;
    width: 100%;
}

    .contact-hero-content h1 {
        color: #ffffff;
        font-size: 2.5rem;
        font-weight: 700;
        margin: 0;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        letter-spacing: 1px;
        position: relative;
        animation: fadeInUp 1s ease;
    }

        .contact-hero-content h1::after {
            content: '';
            display: block;
            width: 70px;
            height: 3px;
            background: #4a90e2;
            margin: 15px auto 0;
            border-radius: 3px;
        }

hr {
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, #e1e1e1, transparent);
    margin: 0 auto 40px;
    width: 80%;
}

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

.row {
    display: flex;
    flex-wrap: wrap;
}

.justify-content-center {
    justify-content: center;
}

.col-md-8 {
    width: 100%;
    max-width: 800px;
    padding: 0 15px;
}

.form-work {
    background-color: #eee;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    animation: fadeIn 1s ease;
    margin-bottom: 60px;
    position: relative;
}

    form::before {
        content: '';
        position: absolute;
        top: -5px;
        left: 0;
        right: 0;
        height: 5px;
        background: linear-gradient(to right, #4a90e2, #63b3ed);
        border-radius: 5px 5px 0 0;
    }

.form-group {
    margin-bottom: 20px;
}

.mb-3 {
    margin-bottom: 20px;
}

.mb-4 {
    margin-bottom: 24px;
}

.control-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-control {
    display: block;
    width: 100%;
    padding: 12px 15px;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #e4e7eb;
    border-radius: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

    .form-control:focus {
        border-color: #4a90e2;
        outline: 0;
        box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
    }

    .form-control::placeholder {
        color: #a0aec0;
        opacity: 1;
    }

.form-select {
    display: block;
    width: 100%;
    padding: 12px 15px;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px 12px;
    border: 1px solid #e4e7eb;
    border-radius: 6px;
    appearance: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

    .form-select:focus {
        border-color: #4a90e2;
        outline: 0;
        box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
    }

.text-danger {
    color: #e53e3e;
    font-size: 0.85rem;
    display: block;
    margin-top: 5px;
}

.btn {
    display: inline-block;
    font-weight: 600;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    padding: 12px 24px;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    color: #fff;
    background: linear-gradient(to right, #487697, #487697);
    border: none;
}

    .btn-primary:hover {
        background: linear-gradient(to right, #59a1d5, #59a1d5);
        transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(74, 144, 226, 0.2);
    }

    .btn-primary:active {
        transform: translateY(0);
        box-shadow: 0 3px 6px rgba(74, 144, 226, 0.2);
    }

.w-100 {
    width: 100%;
}

.mt-3 {
    margin-top: 16px;
}

.text-center {
    text-align: center;
}

.back-link {
    color: black;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

    .back-link:hover {
        color: #636363;
        text-decoration: underline;
    }

 Animation keyframes 
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

 Responsive styles 
@media (max-width: 768px) {
    .contact-hero {
        height: 200px;
    }

    .contact-hero-content h1 {
        font-size: 1.8rem;
    }

    form {
        padding: 20px;
    }

    .form-control, .form-select {
        padding: 10px 12px;
    }

    .btn {
        padding: 10px 20px;
    }
}

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

        .contact-hero-content h1::after {
            width: 50px;
            margin: 10px auto 0;
        }
}
