/* ==================== HERO ==================== */
.contact-hero {
    background-color: rgb(73, 73, 74);
    background-size: cover;
    background-position: center;
    height: 70vh;
    display: flex;
    align-items: center;
    color: white;
    text-align: left;
    justify-content: center;
}

.contact-hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.contact-hero h5 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

.contact-hero button {
    background: linear-gradient(135deg, #667eea, #764ba2);
    ;
    color: white;
    border: none;
    padding: 14px 28px;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s;
}

.contact-hero button:hover {
    background: white;
    transform: scale(1.05);
}

/* ==================== CONTACT GRID ==================== */
.contact-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 30px;
}

#contactForm {
    margin-right: 35px;
}

.contact-form-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #eee;
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    transition: 0.3s;
}

.contact-info-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #eee;
    flex: 1;
    min-width: 300px;
    max-width: 322px;
    transition: 0.3s;
}

.contact-form-card:hover,
.contact-info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(163, 177, 240, 0.2);
}

/* Form Styling */
.contact-form-card input,
.contact-form-card select,
.contact-form-card textarea {
    width: 100%;
    padding: 12px 16px;
    margin: 8px 0;
    border: 1.5px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    transition: 0.3s;
}

.contact-form-card input:focus,
.contact-form-card select:focus,
.contact-form-card textarea:focus {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
    display: inline-block;
    ;
    box-shadow: 0 0 0 3px rgba(163, 177, 240, 0.2);
    outline: none;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
}

.submit-btn {
    background: black;
    color: white;
    padding: 14px 30px;
    border: none;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
    transition: 0.3s;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: black;
}

/* Info Card */
.contact-info-card h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: #1a202c;
    position: relative;
    padding-bottom: 10px;
}

.contact-info-card h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 2px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.info-item i {
    font-size: 1.4rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
    display: inline-block;
    ;
    width: 40px;
    margin-top: 4px;
}

.info-item p {
    margin: 0;
    color: #4a5568;
    line-height: 1.6;
}

.info-item strong {
    color: #2d3748;
    display: block;
    margin-bottom: 4px;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 800px) {
 
    .contact-hero {
        height: 50vh;
        text-align: center;
        padding: 20px;
    }

    .contact-hero h1 {
        font-size: 2.2rem;
    }

    .contact-hero h5 {
        font-size: 0.7rem;
    }



    .contact-grid {
        flex-direction: column;
        align-items: center;
    }

    .contact-form-card,
    .contact-info-card {
        width: 90%;
        max-width: none;
    }
}

@media (max-width: 477px) {
    .contact-hero h1 {
        font-size: 1.8rem;
    }

    .sectionpad p {
        font-size: 12px;
    }

    .contact-hero {
        height: 50vh;

    }

    .contact-form-card,
    .contact-info-card {
        padding: 20px;
    }

    .sectionpad {
        padding: 40px 16px;
    }

    .info-item strong {

        margin-bottom: 0px;
    }

    .info-item p {
        padding: 2px;
    }
}