body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    overflow-x: hidden;
}

/* Styles for the navbar */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    height: 10vh;
    padding: 0 20px;
    background-color: #d8c6c2;
    transition: all 0.3s ease;
}

.logo {
    height: 60px;
    width: auto;
    transition: all 0.3s ease;
}

.nav-links {
    position: absolute;
    bottom: 14px;
    right: 30px;
    display: flex end;
    gap: 15px;
}

.nav-links a {
    color: rgb(36, 35, 35);
    text-decoration: none;
    padding: 14px 20px;
    transition: color 0.3s, transform 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: red;
    transform: scale(1.1);
}

.nav-links a::before {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: 8px;
    left: 0;
    background-color: red;
    transition: width 0.3s;
}

.nav-links a:hover::before {
    width: 100%;
}

.nav-links a.active::before {
    width: 100%;
}

.nav-links a.active {
    color: red;
    transform: scale(1.1);
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: calc(100% + 12px); /* Adjust to position below the dropdown toggle */
    left: 0;
    background-color: #d8c6c2;
    min-width: 230px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    flex-direction: column;
    font-size: small;
    font-family: Arial, Helvetica, sans-serif;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
    display: flex;
}

.social-icons {
    position: absolute;
    top: 15px;
    right: 50px;
    display: flex;
    gap: 10px;
}

.social-icons i {
    color: rgb(15, 14, 14);
    font-size: 18px;
    cursor: pointer;
    transition: color 0.3s;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger i {
    font-size: 24px;
}

/* Media Queries */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 10vh;
        left: 0;
        width: 100%;
        height: 50vh;
        background-color: #d8c6c2;
        flex-direction: column;
        display: flex;
        align-items: center;
        justify-content: center;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        z-index: 999;
    }

    .nav-links.show {
        transform: translateX(0);
    }

    .nav-links a {
        padding: 8px;
        font-size: 15px;
    }

    .dropdown-content {
        position: relative;

    }

    .dropdown-content {
        position: absolute;
        top: 130%;
        min-width: 250px;
        min-height: 700%;
        font-size: xx-small;
        
        

    }

    .social-icons {
        position: absolute;
        top: 29px;
        right: 50%;
        transform: translateX(50%);
    }

    .hamburger {
        display: block;
    }
}


/* Default styles */
body {
    font-family: Arial, sans-serif;
}

.img1 img {
    width: 100%;
    height: auto;
}

/* Existing CSS */

/* General styling */
.heaing h1 {
    font-size: 2em;
    margin-left: 12%;
}

.contact-section h1 {
    font-size: 1.5em;
}

.contact-info h2 {
    font-size: 1em; /* Set font size of the email heading */
}

.contact-section p {
    font-size: 0.8em;
}

.contact-info p {
    font-size: 0.8em; /* Set font size of the email heading */
}


.content-container {
    display: flex;
    justify-content: center; /* Center content horizontally */
    align-items: flex-start; /* Align items at the top */
    flex-wrap: wrap; /* Allow content to wrap on smaller screens */
    padding: 20px;
}

.contact-section {
    flex: 1; /* Take up available space */
    max-width: 600px; /* Limit width to prevent stretching on larger screens */
    margin-right: 20px; /* Add spacing between sections */
}

.contact-info {
    padding: 0px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.form-container {
    flex: 1; /* Take up available space */
    max-width: 500px; /* Limit width to prevent stretching on larger screens */
}

.flex-form {
    background-color: rgba(255, 255, 255, 0.8); /* Light background for contrast */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.flex-form h2 {
    margin-bottom: 20px; /* Add space below heading */
    font-size: 0.9em;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    font-size: 0.7em;
}

.form-group.flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form-group.flex label, input {
    font-size: 0.7em;
}

.form-group.flex > div {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-right: 10px; /* Add spacing between flex items */
}

.form-group.flex > div:last-child {
    margin-right: 0; /* Remove margin from the last flex item */
}

label {
    margin-bottom: 5px;
    font-weight: bold;
}

input,
textarea {
    width: 100%; /* Ensure input fields take full width */
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 10px;
    box-sizing: border-box; /* Include padding and border in element's total width and height */
}

textarea {
    resize: vertical;
    height: 80px;
}

button {
    background-color: red;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

button:hover {
    background-color: lightgrey;
}

.h2-row {
    text-align: left;
    padding: 20px 0;
}

.iframe-container {
    width: 100%;
    height: auto;
    padding: 20px;
    margin-left: 10%;
}

.iframe-container iframe {
    width: 77%;
    height: 450px;
}

/* Media Queries for responsiveness */
@media screen and (max-width: 768px) {
    .content-container {
        flex-direction: column; /* Stack elements vertically */
        align-items: center; /* Center align items */
    }

    .heaing h1 {
        font-size: 2em;
        margin-left: 27%;
    }

    .contact-section, .form-container, .iframe-container {
        margin-right: 0; /* Remove right margin */
        margin-bottom: 20px; /* Add bottom margin for spacing */
    }

    .form-container {
        margin: 20px 0; /* Adjust margin */
    }
    
    .form-group {
        width: 90%; /* Ensure form groups are centered */
        margin-bottom: 10px;
        text-align: center; /* Center align text */
    }
    
    .form-group label,
    .form-group input {
        display: block; /* Ensure labels and inputs stack vertically */
        width: 100%; /* Full width for each element */
        font-size: 0.7em;
        margin-top: 3%;
    }
    
    button {
        width: 100%;
    }

    .form-container h2 {
        font-size: 0.7em;
    }

    .contact-section p {
        font-size: 0.8em;
    }
    
    .contact-section h1 {
        font-size: 1.4em;
    }
    
    .contact-info h2 {
        font-size: 1em; /* Set font size of the email heading */
    }

    .contact-info p {
        font-size: 0.8em; /* Set font size of the email heading */
    }
}

@media screen and (max-width: 480px) {
    .content-container {
        flex-direction: column; /* Stack elements vertically */
        align-items: center; /* Center align items */
    }

    .form-container {
        margin: 10px 0; /* Adjust margin */
    }
    
    .form-group {
        width: 100%; /* Full width for each form group */
        margin-bottom: 8px;
        text-align: center; /* Center align text */
    }
    
    .form-group label,
    .form-group input {
        display: block; /* Ensure labels and inputs stack vertically */
        width: 100%; /* Full width for each element */
        font-size: 0.7em;
        margin-top: 3%;
        text-align: start;
    }
    
    .form-group textarea {
        width: 100%;
        height: auto; /* Adjust textarea height as needed */
    }

    button {
        width: 25%;
        padding: 6px;
    }
    
    .iframe-container {
        
        justify-content: center; /* Center horizontally */
        align-items: center; /* Center vertically */
        width: 91%;
        height: auto; /* Adjust height as needed */
        margin: 10px 0; /* Adjust margin */
        text-align: center;
    }

    .iframe-container iframe {
        height: 250px;
        width: 100%; /* Full width for iframe */
        max-width: 100%; /* Ensure it doesn't overflow */
    }
    
    .contact-section, .iframe-container {
        text-align: center;
    }
}












/* General Footer Styling */
.footer {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    margin-top: 20px;
    background-color: #333;
    color: white;
}

.footer-column {
    flex: 1;
    margin: 0 40px;
}

.footer-column img {
    width: 160px;
    margin: 10px;
}

.footer-column a {
    display: block;
    color: white;
    text-decoration: none;
    margin: 8px 0;
    margin-top: 20px;
    margin-left: 40px;
    transition: color 0.3s; /* Add transition effect */
}

.footer-column a:hover {
    color: red; /* Change color on hover */
}

.footer-column input {
    padding: 8px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.footer-column button {
    padding: 10px;
    background-color: red;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 45px;
    transition: background-color 0.3s; /* Add transition effect */
}

.footer-column button:hover {
    background-color: darkred; /* Change color on hover */
}

.social-icons1 {
    display: flex;
    justify-content: flex-end; /* Align icons to the right */
    position: relative; /* Ensure proper positioning */
    right: 6%;
}

.social-icons1 i {
    font-size: 20px;
    cursor: pointer;
    margin: 0 2px; /* Adjusted margin between icons */
}

/* Media Queries for Responsive Design */
@media screen and (max-width: 768px) {
    .footer {
        flex-direction: column; /* Stack columns vertically */
        align-items: center; /* Center align items */
        text-align: center; /* Center align text */
    }

    .footer-column {
        flex: 1 0 auto;
        margin: 10px 0;
        text-align: center;
    }

    .footer-column img {
        max-width: 120px; /* Adjust logo size for smaller screens */
    }

    .social-icons1 {
        justify-content: center; /* Center align social icons */
        margin-top: 20px;
    }

    .footer-column a {
        display: inline-block; /* Display links inline */
        margin: 5px 10px; /* Adjust margin for links */
        font-size: 12px; /* Adjust font size for smaller screens */
    }

    .footer-column p,
    .footer-column button {
        width: 100%; /* Make paragraphs and buttons full width */
        font-size: 14px; /* Adjust font size for smaller screens */
        padding: 8px;
    }

    .footer-column input[type="email"] {
        width: 100%; /* Make input full width */
        margin-bottom: 10px; /* Adjust margin for input */
    }

    .footer-column button {
        height: 30px; /* Adjusted height for button on smaller screens */
        width: auto; /* Allow button width to adjust naturally */
    }
}