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 */
.imagemain img {
    width: 100%;
}

.content {
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.content img {
    position: relative;
    max-width: 50%;
    height: auto;
    border-radius: 20px;
    margin: 20px auto;
}



.content h1 {
    font-size: 28px;
    margin-bottom: 20px;
}

.content p {
    font-size: 0.7em;
    line-height: 1.5;
}

/* Flex container styling */
.flex-container {
    display: flex;
    flex-direction: column;
    padding: 20px;
}

/* Flex item styling */
.flex-item {
    margin: 20px 0;
    padding: 20px;
    text-align: center;
    border-radius: 5px;
}

/* Icon and heading styling */
.flex-item .icon {
    font-size: 24px;
    margin-bottom: 10px;
}

.flex-item .heading {
    font-size: 15px;
}

/* Media queries for responsiveness */
@media (min-width: 768px) {
    .content {
        flex-direction: row;
    }

    .content img {
        position: absolute;
        right: 5%;
        top: 42%;
        flex: 1;
        max-width: 17%;
    }

    .content div {
        flex: 1;
        padding: 30px;
    }

    .content h1 {
        font-size: 2em;
    }

    .content p {
        font-size: 1em;
    }

    .flex-container {
        flex-direction: row;
    }

    .flex-item {
        flex: 2;
        margin: 40px;
        padding: 40px;
    }
}

/* Styling for hr elements */
.hr-left {
    position: absolute;
    top: 150%;
    width: 55%;
    margin-left: 0;
    border: none;
    border-top: 4px solid black;
}

.hr-right {
    position: absolute;
    top: 173%;
    right: 0;
    width: 55%;
    margin-right: 0;
    border: 4px solid black;
    border-top: none;
}

/* Styling for the paragraph */
.para {
    display: flex;
    justify-content: center;
    padding: 3%;
}

.para p {
    width: 80%;
    color: red;
    text-align: left; /* Align text to the left */
}



/* General Footer Styling */
.footer {
    display: flex;
    justify-content: space-between;
    padding: 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 */
    }

    .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 */
    }
}