* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.contact-section {
    padding: 60px 20px;
    background-color:#1e272e;
    text-align: center;
    max-width: 1200px;
    margin: 370px auto;
}

.contact-section h2 {
    font-size: 55px;
    margin-bottom: 40px;
    color: white;
    position: relative;
    display: inline-block;
}


/* Contact Cards Container */
.contact-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 150px;
}

/* Individual Contact Cards */
.contact-card {
    width: 50px;
    background-color: #1e272e;
    padding: 30px 20px;
    border-radius: 10px;
    border: 2px solid gold;
    min-width: 250px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 1;
    max-width: 300px;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.contact-card i {
    font-size: 2rem;
    color: gold;
    margin-bottom: 15px;
}

.contact-card h4 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: white;
}

.contact-card p {
    color: white;
    font-size: 1rem;
    word-break: break-word;
}

.contact-form {
    max-width: 950px;
    margin: 0 auto;
    background-color:#1e272e;
    padding: 30px;
    border: 2px solid gold;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    top: -60px;
}

.contact-form div {
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid gold;
    border-radius: 10px;
    font-size: 1rem;
    background-color: #1e272e;
    transition: border 0.3s ease;
    color: white;
}

input textarea::placeholder {
    background-color: white;
}


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

.send-btn {
    background-color:gold;
    color: black;
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    max-width: 200px;
}

.send-btn:hover {
    background-color:yellow;
}

@media (min-width: 1024px) and (max-width: 1290px) {
    .contact-section {
        position: relative;
        top: -150px;
        height: 150vh;
    }
}

@media (min-width: 670px) and (max-width: 1023px) {
    .contact-section {
        position: relative;
        top: -150px;
        height: 200vh;
    }

    .contact-section h2{
        font-size: 40px;
    }
}

@media (min-width: 378px) and (max-width: 650px) {
    .contact-section {
        height: 250vh;
        padding: 40px 15px;
        position: relative;
        top: 350px;
    }

    .contact-form {
        padding: 20px 15px;
    }

    .contact-section h2 {
        font-size: 1.8rem;
    }

    .send-btn {
        width: 100%;
        max-width: 100%;
    }
}

@media (min-width: 200px) and (max-width: 376px) {
    .contact-section {
        height: 250vh;
        padding: 40px 15px;
        position: relative;
        top: 250px;
    }

    .contact-form {
        padding: 20px 15px;
    }

    .contact-section h2 {
        font-size: 1.8rem;
    }

    .send-btn {
        width: 100%;
        max-width: 100%;
    }
}