/* Basic reset */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Open Sans", sans-serif;
    background-color: #f5f7f6;
}

/* Page layout */

.page {
    min-height: 100vh;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

/* Intro */

.hero {
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url(assets/images/ege-main-pumper-truck.jpg) no-repeat center center;
    background-size: cover;
    height: clamp(40vh, 55vh, 60vh);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.hero h1 {
    font-size: 44px;
    font-style: normal;
    font-weight: bold;
    margin: 0 0 8px;
    color: #f5c018;
}

.hero p {
    margin: 0 0 12px;
    font-size: clamp(1rem, 0.5rem + 1.6vi, 1.5rem);
    color: #eff2d9;
    font-weight: bold;
    max-width: 840px;
}

.contact-form-section {
    padding: 65px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-form-section h2 {
    margin: 0 0 40px;
    color: #f5c018;
    font-size: 44px;
    font-style: normal;
    font-weight: inherit;
    text-align: center;
}

/* Contact Form Styles */
.contact-form {
    display: grid;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.contact-form label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
    display: block;
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 16px;
    transition: border-color 0.3s ease;
    margin-top: 4px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #f5c018;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #999;
}

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

.form-submit_btn {
    padding: 14px 32px;
    background-color: #f5c018;
    color: #000;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    margin-top: 10px;
}

.form-submit_btn:hover {
    background-color: #68b744;
    transform: translateY(-2px);
}

.form-submit_btn:active {
    transform: translateY(0);
}

.form-submit_btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Form Messages */
.form-messages {
    max-width: 600px;
    margin: 30px auto 0;
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    animation: slideIn 0.4s ease-out;
}

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

.form-messages.success {
    background-color: #e8f5e9;
    border: 2px solid #68b744;
}

.form-messages.error {
    background-color: #ffebee;
    border: 2px solid #d32f2f;
}

.success-message i {
    font-size: 48px;
    color: #68b744;
    margin-bottom: 16px;
}

.error-message i {
    font-size: 48px;
    color: #d32f2f;
    margin-bottom: 16px;
}

.form-messages h3 {
    margin: 0 0 12px;
    font-size: 24px;
    color: #333;
}

.form-messages p {
    margin: 0;
    font-size: 16px;
    color: #555;
    line-height: 1.5;
}

.form-messages a {
    color: #008000;
    text-decoration: underline;
}

.contact-buttons {
    margin-top: 2em;
    margin-bottom: 1em;
    display: flex;
    gap: 24px;
}

.contact-buttons a {
    min-width: 250px;
    margin-top: 2em;
    margin-bottom: 1em;
    padding: 0.575em 0.85em;
    border-radius: 50px;
    background-color: #f5c018;
    color: rgba(0,0,0,1);
    font-size: 1.25em;
    text-decoration: none;
    box-shadow: 0em 0.15em 0.65em rgba(0,0,0,0.25);
}

.contact-buttons a:hover {
    background-color: #68b744;
}

.contact-buttons a i {
    margin: 5px;
    font-size: 1.25em;
    color: rgba(0,0,0,1);
}

/* Footer */
.logo {
    max-width: 260px;
    height: auto;
}

.site-footer {
    margin-top: auto;
    min-height: 25vh;
    padding: 50px 0;
    text-align: center;
    background-color: #eef2d9;
    font-size: 0.85rem;
    line-height: 1.3;
    color: #000000;
}

.site-footer p i {
    margin: 5px;
}

.site-footer a {
    color: #008000;
    text-decoration: none;
}

.facebook-icon {
    font-size: 3rem;
}

.facebook-icon:hover {
    color: #f5c018;
}

.copyright {
    margin-top: 4px;
}