
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

.contact {
    padding: 6rem 9%;
    background: #1f242d;
    min-height: 100vh;
}

.heading {
    text-align: center;
    position: relative;
    margin-bottom: 4rem;
    animation: fadeInDown 1s ease;
}

.heading h1 {
    font-size: 3.5rem;
    color: #2ecc71;
    margin-bottom: 1rem;
}

.heading p {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.contact_container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    animation: fadeIn 1s ease;
}

.contact_info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact_card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.contact_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(46, 204, 113, 0.2);
}

.contact_card i {
    font-size: 2rem;
    color: #2ecc71;
    background: rgba(46, 204, 113, 0.1);
    padding: 1rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.contact_card:hover i {
    background: #2ecc71;
    color: #fff;
}

.contact_card .info {
    flex: 1;
}

.contact_card h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.contact_card p {
    color: #666;
    line-height: 1.6;
}

.contact_form {
    background: #fff;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.input_group input,
.input_group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: transparent;
    color: #333;
}

.input_group label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    padding: 0 0.5rem;
    color: #666;
    font-size: 1rem;
    transition: all 0.3s ease;
    pointer-events: none;
    background: #fff;
}

.input_group input:focus,
.input_group textarea:focus,
.input_group input:valid,
.input_group textarea:valid {
    border-color: #2ecc71;
    outline: none;
}

.input_group input:focus ~ label,
.input_group textarea:focus ~ label,
.input_group input:valid ~ label,
.input_group textarea:valid ~ label {
    top: -0.5rem;
    left: 0.8rem;
    font-size: 0.9rem;
    color: #2ecc71;
}

.input_group textarea {
    height: 150px;
    resize: none;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #2ecc71;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    z-index: -1;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(46, 204, 113, 0.2);
}

.btn:hover::before {
    width: 100%;
}

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

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 991px) {
    .contact {
        padding: 4rem 5%;
    }

    .contact_container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .heading h1 {
        font-size: 3rem;
    }
}

@media (max-width: 450px) {
    .contact {
        padding: 3rem 4%;
    }

    .heading h1 {
        font-size: 2.5rem;
    }

    .contact_form {
        padding: 2rem;
    }
}
