﻿.contact-hero {
    background-image: url("https://img.freepik.com/premium-photo/contact-us-hand-man-holding-mobile-smartphone-with-mail-phone-email-chat-icon-cutomer-support-concept-blue-wide-banner_256259-3866.jpg?w=1380");
    min-height: 55vh;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem 4rem;
    position: relative;
}

    .contact-hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(to right bottom, rgb(99, 99, 99), rgb(7 72 87 / 12%));
    }

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

.contact-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #fff;
}

.contact-hero p {
    font-size: 1.2rem;
    color: #ccc;
}

.contact-section {
    padding: 5rem 2rem;
    background-color: white;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    background-color: #ccc;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.contact-info {
    padding: 2rem;
    background-color: #eee;
    border-radius: 15px;
}

    .contact-info h2 {
        color: #717171;
        margin-bottom: 2rem;
        font-size: 1.8rem;
    }

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: white;
    border-radius: 10px;
    transition: transform 0.3s;
}

    .info-item:hover {
        transform: translateY(-5px);
    }

    .info-item i {
        font-size: 1.5rem;
        color: #717171 margin-top: 0.5rem;
    }

    .info-item h3 {
        color: #717171;
        margin-bottom: 0.5rem;
    }

    .info-item p {
        color: #999;
    }

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

    .social-links a {
        color: #666;
        font-size: 1.5rem;
        transition: color 0.3s;
    }

        .social-links a:hover {
            color: #fff;
        }

.contact-form {
    padding: 2rem;
    background-color: #eee;
    border-radius: 15px;
}

    .contact-form h2 {
        color: #717171;
        margin-bottom: 2rem;
        font-size: 1.8rem;
    }

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 1rem;
        background-color: white;
        border: 1px solid #fff;
        border-radius: 8px;
        color: #717171;
        font-size: 1rem;
        transition: border-color 0.3s;
    }

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

    .form-group label {
        position: absolute;
        left: 1rem;
        top: 1rem;
        color: #666;
        transition: all 0.3s;
        pointer-events: none;
    }

    .form-group input:focus,
    .form-group textarea:focus {
        border-color: #666;
        outline: none;
    }

        .form-group input:focus + label,
        .form-group textarea:focus + label,
        .form-group input:not(:placeholder-shown) + label,
        .form-group textarea:not(:placeholder-shown) + label {
            top: -1.5rem;
            left: 0.5rem;
            font-size: 0.8rem;
            /* padding: 0 0.5rem; */
            /* background-color: white; */
            color: #717171;
        }

.submit-btn {
    width: 100%;
    padding: 1rem;
    background-color: #487697;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

    .submit-btn:hover {
        background-color: #59a1d5;
        transition: 0.3s;
    }

/* Responsive Design */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.5rem;
    }

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

    .contact-hero p {
        font-size: 1rem;
    }


    .info-item {
        padding: 0.8rem;
    }
}
