body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header {
    background-color: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.container {
    width: 80%;
    margin: 0 auto;
    text-align: center;
}

.profile-pic {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: inline-block;
    margin-bottom: 10px;
}

header h1 {
    font-size: 24px;
    margin: 0;
}

header p {
    color: #666;
    margin: 5px 0 20px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline;
    margin: 0 10px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.contact {
    width: 80%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-info {
    width: 45%;
    text-align: left;
}

.contact-info h2 {
    font-size: 36px;
    color: #333;
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 20px;
}

.contact-info img {
    width: 200px;
    height: 200px;
    border-radius: 10px;
}

.contact-form {
    width: 45%;
    display: flex;
    flex-direction: column;
}

/* iframe container to make form responsive */
.iframe-container {
    position: relative;
    width: 100%;
    padding-top: 150%; /* height ratio - adjust if needed */
    overflow: hidden;
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

button {
    padding: 10px 20px;
    background-color: #333;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
    width: 100%;
}

.flash {
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
    text-align: center;
}

.flash.success {
    background-color: #d4edda;
    color: #155724;
}

.flash.error {
    background-color: #f8d7da;
    color: #721c24;
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    width: 100%;
}

/* Make images responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Mobile Responsive Tweaks */
@media (max-width: 768px) {
    .contact {
        flex-direction: column;
        align-items: center;
    }

    .contact-info, .contact-form {
        width: 100%;
    }

    .contact-info img {
        width: 150px;
        height: auto;
    }

    header h1 {
        font-size: 20px;
    }

    header p {
        font-size: 14px;
    }

    .contact-info h2 {
        font-size: 28px;
    }

    .contact-info p {
        font-size: 14px;
    }
}

