.section {
    background-color: #eaeaea;
    /* border: 1px solid #ccc;  */
    padding: 20px;
    text-align: center;
}

header {
    background: linear-gradient(90deg, #4ca1af, #2c3e50);
    color: #fff;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo img {
    max-width: 250px;
    border-radius: 5px;
}

header nav ul {
    list-style: none;
    padding: 0;
    display: flex;
}

header nav ul li {
    margin: 0 15px;
    position: relative;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9rem;
}

header nav ul li a:hover {
    color: #f1c40f;
}

/* Dropdown Styles */
header nav ul li.dropdown:hover > .dropdown-content{
    display:block;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: -50px;
    background-color: #fff;
    padding: 10px;
    border-radius: 5px;
    z-index: 100;
    box-shadow: 0px 2px 4px rgba(0,0,0,0.1);
}

.dropdown-content li {
    margin: 0;
}


.dropdown-content li a{
    color: black;
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.dropdown-content li a:hover {
    background-color: #f1f1f1;
}

.sub-dropdown {
    position: relative;
}

.sub-dropdown:hover{
    color: #f1c40f;
}


.sub-dropdown:hover .sub-dropdown-content{
    display:block;
}

.sub-dropdown-content {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    background-color: #fff;
    padding: 10px;
    border-radius: 5px;
    z-index: 100;
    box-shadow: 0px 2px 4px rgba(0,0,0,0.1);
    white-space: nowrap;
}

.sub-dropdown-content a{
    color: black;
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    transition: background-color 0.2s;
}

.sub-dropdown-content a:hover {
    background-color: #f1f1f1;
}

.head-img {
    position: relative;
    text-align: center;
    /* margin: 0 85px; */
    margin: 10px 10px 5px 10px;
    /* Match the margin of other sections */
    /* width: calc(100% - 170px); */
    width: 98.4%;
    /* Maintain consistent width */
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    overflow: hidden;
}

.head-img img {
    width: 100%;
    /* Maintain full width */
    height: 400px;
    /* Adjust height to be smaller */
    object-fit: fill;
    /* Ensure the video scales properly */
}

.head-msg {
    position: absolute;
    top: 100px;
    left: 100px;
    text-align: center;
}

.head-msg h1 {
    font-family: "Roboto", serif;
    font-weight: 900;
    font-style: normal;
    color: black;
    font-size: 60px;
}

.container {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    padding: 2rem;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.form-section,
.info-section {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 48%; /* Adjust width for larger screens */
    text-align: left;
}

.form-section h2,
.info-section h2 {
    margin-bottom: 1rem;
    color: #333;
    font-size: 1.8rem;
}

/* Form Styling */
form input,
form textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form textarea {
    height: 100px;
    resize: none;
}

form button {
    background-color: #ffcc33;
    color: #333;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

form button:hover {
    background-color: #ffaa00;
}

/* Info Section */
.info-section p {
    margin: 0.5rem 0;
    color: #555;
}

/* Social Icons */
.info-section .social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.info-section .social-icons a {
    text-decoration: none;
    color: white;
    background-color: #555;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.9rem;
}

.info-section .social-icons a.facebook {
    background-color: #3b5998;
}

.info-section .social-icons a.twitter {
    background-color: #1da1f2;
}

.info-section .social-icons a.linkedin {
    background-color: #0077b5;
}

.info-section .social-icons a.instagram {
    background-color: #e4405f;
}

/* Responsive Design */

/* Tablet view (max-width: 768px) */
@media (max-width: 768px) {
    .container {
        flex-direction: column; /* Stack items vertically */
        gap: 1.5rem;
    }

    .form-section,
    .info-section {
        width: 100%; /* Full width on smaller screens */
        margin-bottom: 1rem;
    }

    .form-section h2,
    .info-section h2 {
        font-size: 1.6rem; /* Adjust header font size */
    }

    form input,
    form textarea {
        padding: 1rem; /* Adjust input padding */
    }

    .info-section .social-icons {
        justify-content: center; /* Center social icons on small screens */
    }
}

/* Mobile view (max-width: 480px) */
@media (max-width: 480px) {
    .container {
        padding: 1rem; /* Reduce padding for smaller screens */
    }

    .form-section,
    .info-section {
        padding: 1.5rem; /* Less padding on mobile */
    }

    .form-section h2,
    .info-section h2 {
        font-size: 1.4rem; /* Smaller heading font size */
    }

    form input,
    form textarea {
        font-size: 0.9rem; /* Slightly smaller font size for inputs */
    }

    .social-icons {
        gap: 0.8rem; /* Reduce space between social icons */
    }

    .social-icons a {
        padding: 0.4rem 0.8rem; /* Adjust icon button padding */
        font-size: 0.8rem; /* Smaller font size for icons */
    }
}

footer {
    background-color: #f8d7da;
    padding: 40px 20px;
}

.footer {
    margin: 10px 10px 5px 10px;
    border-radius: 10px;
    /* background: linear-gradient(90deg, #182848, #4b6cb7);
    color: white; */
    background-color: white;
    color: black;
    padding: 30px 20px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.footer .column {
    flex: 1;
    margin: 10px;
    text-align: left;
}

.footer .column p {
    margin-right: 50px;
}

.footer .column a {
    color: black;
}

.footer .column a:hover {
    color: blue;
}

.footer h3 {
    margin-bottom: 15px;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer ul li a:hover {
    color: yellow;
}

.footer .social-icons a {
    color: white;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s;
}

.footer .social-icons a:hover {
    color: yellow;
}

.social-icons i {
    color: black;
    font-size: 20px;
    margin-right: 10px;
}

.social-icons i:hover{
    color: blue;
}

.copyRight {
    /* margin: 10px 85px; */
    margin: 10px 10px 5px 10px;
    border-radius: 10px;
    text-align: center;
    padding: 10px;
    background-color: #182848;
    color: white;
}