* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --accent-color: #3498db;
    --text-color: #2c3e50;
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
    --dark-gray: #343a40;
    --white: #ffffff;
}

html,
body {
    width: 100%;
    overflow-x: hidden;
    padding-top: 40px;
}
p,a{
    color: #fff ;
}

.banner {
    width: 100%;
    position: relative;
}

.banner img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 5rem;
    font-weight: 800;
    z-index: 2;
    text-align: center;
}

.contactInfo {
    display: block;
}


.contact {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 50px;
    margin: auto 100px;
}

.contactInfo h2 {
    margin: 10px auto;
    font-size: 1.5rem;
    color: var(--dark-gray);
}

.contactInfo hr {
    margin: 10px 0;
    width: 100%;
}

.contactsideinfo {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    /* allows span wrapping */
    gap: 8px;
    align-items: flex-start;
    /* prevents centering */
}

.contact .contactVideo {
    position: relative;
    width: 100%;
    max-width: 800px;
    /* optional — controls max video width */
    margin: 25px auto;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.contact .contactVideo iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.contactInfo span {
    font-size: 18px;
    color: var(--text-color);
}

.contactInfo i {
    margin-right: 15px;
    color: #333;
}


/* Contact Form Container */
.contactform {
    width: 500px;
    margin: auto 150px;
    padding: 40px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    font-family: 'Poppins', sans-serif;
}

.contactform h3,
p {
    color: rgb(83, 83, 83);
}

.contactform p {
    margin: 10px auto;
}

.contactform form input,
.contactform form textarea {
    width: 100%;
    padding: 12px 15px;
    margin: 8px 0;
    border: 1px solid var(--medium-gray);
    border-radius: 6px;
    font-size: 1rem;
    display: block;
}

.contactform form button {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    border: none;
    border-radius: 6px;
    background-color: #333;
    color: var(--white);
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contactform form button:hover {
    background-color: #222222;
}

.contact .contactVideo {
    margin: 25px auto;
}

/* Large Tablets / Laptops */
@media (max-width: 1024px) {
    .banner-text {
        font-size: 3.5rem;
    }

    .contact {
        padding: 50px 40px;
        gap: 40px;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .banner-text {
        font-size: 2.8rem;
        width: 90%;
    }

    .contact {
        flex-direction: column;
        align-items: center;
        padding: 40px 25px;
        margin: 0;

    }

    .contactInfo,
    .contactform {
        max-width: 100%;
    }

}

/* Mobile Phones */
@media (max-width: 480px) {
    .banner {
        height: 190px;
    }

    .banner img {
        height: 190px;
        object-fit: fill;
    }

    .banner-text {
        font-size: 2rem;
        padding: 5px 10px;
    }

    .contact {
        padding: 30px 15px;
        margin: 0;
    }


    .contactform form input,
    .contactform form textarea {
        font-size: 0.9rem;
    }

    .contactInfo h2 {
        font-size: 1.4rem;
    }

    .contactInfo span {
        font-size: 0.9rem;
    }
}