/* Global Styles */
html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

body {
    font-family: 'Open Sans, Helvetica Neue', Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 90%;
    margin: 0 auto;
    max-width: 1200px;
    flex: 1;
}

/* Hero Section */
.hero {
    background-size: cover;
    background-position: center;
    color: white;
    text-align: left; 
    padding: 50px 20px;
    position: relative;
    transition: opacity 1s ease-in-out;
    opacity: 1;
}

.hero h1 {
    font-size: 8vw; 
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero p {
    font-style: italic;
    font-size: 4vw; 
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* About Us Section */
.about {
    background-color: #e74c3c;
    color: white;
    padding: 20px; 
    text-align: left; 
}

.about h2 {
    font-size: 5vw; 
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
}

.about p {
    font-size: 3.5vw; 
    margin-bottom: 20px;
}

/* CTA Section */
.cta {
    padding: 20px;    
    text-align: left;
    position: relative;
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; 
    gap: 20px; 
}

.cta h3 {
    font-size: 4.5vw;
    font-weight: bold;
    margin: 0;
    line-height: 1.4;
    max-width: 100%;
}

.social-icons {
    margin-top: 5px;
    display: flex;
    gap: 25px;
}

.social-icons img {
    vertical-align: middle;
    width: 6vw;
}

.logo-wrapper {
    display: flex;
    justify-content: flex-end;
    text-align: center;
}

.cta .logo-image {
    width: 25vw;
    height: auto;    
}

/* Footer Section */
footer {
    background-color: #000;
    color: white;
    padding: 10px 0;
    text-align: center;
    font-size: 12px; 
    font-weight: bold;
    margin-top: auto;
}

footer p {
    margin: 0;
    line-height: 1.4;
}

/* Contact Form Section */
.contact {
    background-color: #e74c3c;
    color: white;
    padding: 20px; 
    text-align: left; 
}

.contact h2 {
    font-size: 5vw; 
    margin-bottom: 20px;
    text-align: left;
}

.contact form {
    width: 100%;
    max-width: 600px; 
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 0 auto 50px auto; 
}

.contact label {
    font-size: 3.5vw;
    font-weight: bold;
}

.contact input[type="text"],
.contact input[type="email"],
.contact select,
.contact textarea {
    width: 100%;
    padding: 10px;
    font-size: 4vw;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

.contact button {
    padding: 15px;
    font-size: 4vw;
    background-color: #4285F4; 
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.contact button:hover {
    background-color: #3c7adf;
}

/* Media Queries */
@media (max-width: 768px) {
    .cta-content {
        flex-direction: column;
        text-align: center;
    }

    .cta h3 {
        font-size: 5vw;
        max-width: 100%;
    }

    .social-icons {
        justify-content: center;
        display: flex;
    }

    .social-icons img {
        width: 7vw;
        margin: 2vw 2vw;
    }

    .logo-wrapper {
        flex: 1 0 100%; 
    }

    .cta .logo-image {
        width: 30vw;
    }

    .hero h1 {
        font-size: 10vw;
        width: auto;
    }

    .hero p {
        font-size: 6vw;
    }

    .about h2,
    .contact h2 {
        font-size: 6vw;
    }

    .contact label {
        font-size: 4vw;
    }

    .contact input[type="text"],
    .contact input[type="email"],
    .contact select,
    .contact textarea,
    .contact button {
        font-size: 5vw;
    }
}

/* Media Queries for Larger Screens */
@media (min-width: 769px) {
    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    .about h2 {
        font-size: 28px;
    }

    .about p {
        font-size: 16px;
    }

    .cta h3 {
        font-size: 24px;
    }

    .social-icons img {
        width: 24px;
    }

    .cta .logo-image {
        width: 150px;
    }

    .contact h2 {
        font-size: 28px;
    }

    .contact label {
        font-size: 16px;
    }

    .contact input[type="text"],
    .contact input[type="email"],
    .contact select,
    .contact textarea {
        font-size: 16px;
    }

    .contact button {
        font-size: 16px;
    }
}
