body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
}

.contact-header {
    height: 300px;
    background-image: url('../uploads/header.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.contact-header .dark {
    background-color: rgba(0, 0, 0, 0.5);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 20px;
}

.contact-header .content {
    margin-top: 0;
}

.contact-header .headhead {
    font-size: 30px;
    margin-top: 50px;
}

.contact-header .headtext {
    font-size: 1.1em;
    max-width: 600px;
    margin: 0 auto;
}

.contact-section {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 60px 20px;
    background: #f9f9f9;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-form-container,
.contact-details-container {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    flex: 1;
    min-width: 300px;
}

.contact-form-container {
    max-width: 50%;
}

.contact-details-container {
    max-width: 40%;
}

.contact-form-container h2,
.contact-details-container h2 {
    margin-bottom: 20px;
    color: #66AB36;
    font-size: 1.8em;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 1em;
    width: 100%;
    box-sizing: border-box;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    width: 100%;
    background: #66AB36;
    border: none;
    color: white;
    padding: 15px;
    font-size: 1.1em;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.contact-form .btn:hover {
    background: #55902b;
}

.contact-details-container p {
    margin-bottom: 15px;
    font-size: 1.1em;
    display: flex;
    align-items: center;
}

.contact-details-container p i {
    margin-right: 15px;
    color: #66AB36;
    font-size: 1.2em;
    width: 20px;
    text-align: center;
}

.follow-us {
    margin-top: 30px;
}

.follow-us h3 {
    color: #66AB36;
    font-size: 1.5em;
    margin-bottom: 15px;
}

.social-icons {
    font-size: 24px;
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.social-icons i {
    cursor: pointer;
    transition: color 0.3s ease;
}

.social-icons i:hover {
    color: #66AB36;
}

footer {
    width: 100%;
    height: 220px;
    background-color: #222222;
    color: white;
    text-align: center;
    padding: 20px 0;
}

/* Tablet screens (max-width: 900px) */
@media (max-width: 900px) {
    .contact-section {
        flex-direction: column;
        align-items: center;
        padding: 40px 10px;
        gap: 24px;
    }
    .contact-form-container, .contact-details-container {
        max-width: 90%;
        margin-right: 0;
        margin-bottom: 20px;
        padding: 28px 16px;
    }
    .contact-header {
        height: 200px;
    }
    .contact-header .headhead {
        font-size: 2em;
    }
}

/* Mobile screens (max-width: 600px) */
@media (max-width: 600px) {
    .contact-header {
        height: 250px;
        padding: 0;
    }
    .contact-header .headhead {
        font-size: 30px;
    margin-top: 0px;
    }
    .contact-header .headtext {
        font-size: 0.95em;
        padding: 0 8px;
    }
    .contact-section {
        padding: 16px 2px;
        gap: 10px;
    }
    .contact-form-container, .contact-details-container {
        padding: 12px 6px;
        font-size: 0.98em;
    }
    .contact-form .btn {
        font-size: 1em;
        padding: 12px;
    }
    .contact-details-container p {
        font-size: 1em;
    }
    .follow-us h3 {
        font-size: 1.1em;
    }
    .social-icons {
        font-size: 20px;
        gap: 12px;
    }
}
