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;
    }
}





.image img {
    width: 100%;
    height: auto; /* Maintain aspect ratio */
}


/* social media */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    /* padding: 20px; */
    background-color: #f4f4f4;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px; /* Add some space between the cards */
}

.card {
    flex: 1 1 calc(33.33% - 16px); /* Adjust width of the cards */
    box-sizing: border-box;
    padding: 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.link {
    font-size: 18px;
    margin-bottom: 8px;
}

.truncated {
    font-size: 14px;
    margin-bottom: 16px;
    max-height: 3em; /* Limit the height of the description */
    overflow: hidden;
    text-overflow: ellipsis;
}

.iframe-content {
    width: 100%;
    height: 300px; /* Adjust the height as needed */
    display: none; /* Hide the iframe initially */
}

.card.expanded .iframe-content {
    display: block; /* Show the iframe when the card is expanded */
    height: 100%;
}

.card.expanded .truncated {
    max-height: none; /* Remove the height limit */
}




/* Base styles */
.container {
    display: flex;
    justify-content: space-between; /* Adjusted to space-between for image placement */
    margin-top: 50px;
}

.box {
    width: 100%; /* Width for text box */
    padding: 10px;
    border: 1px solid #ccc;
    display: flex;
    flex-direction: column;
    position: relative; /* Allow absolute positioning for the image */
}

#div2, #div3, #div4, #div5, #div6, #div7 {
    padding-left: 60px; /* Specific padding for #div2 */
    width: 90%;
}

.image-container {
    width: 21%; /* Set width for image container */
    position: absolute; /* Position image container absolutely */
    left: 85%; /* Align to the right with 20px padding */
    bottom: 6%; /* Adjust as needed to position vertically */
}

.image-container img {
    max-width: 45%; /* Responsive image */
    height: auto;
}

.box label {
    margin-bottom: 10px;
}

.box p {
    font-size: smaller;
}

.hidden {
    display: none;
}

hr {
    border: none;
    border-top: 2px solid red;
    width: 15%;
    margin: 20px 0;
    padding-left: 20px;
}

input[type="checkbox"] {
    accent-color: red;
}

.labelbox {
    padding: 2% 10% 0% 2%;
}

.read-more {
    /* text-decoration: none; */
    font-size: small;
    color: black;
    /* font-weight: bold; */
    display: inline-block;
    margin-top: 10px;
}

.read-more:hover {
    color: red;
}

/* Responsive styles */
@media (max-width: 1200px) {
    .container {
        flex-direction: column;
        align-items: center;
    }
    .image-container {
        position: relative;
        left: 0;
        width: 100%;
    }
    .box {
        width: 90%;
    }
    .box p {
        font-size: smaller;
    }
}

@media (max-width: 768px) {
    #div2, #div3, #div4, #div5, #div6, #div7 {
        padding-left: 30px;
        width: 92%;
    }
    .image-container {
        width: 100%;
        text-align: center;
    }
    .image-container img {
        max-width: 30%;
    }
}

@media (max-width: 480px) {
    .box {
        width: 100%;
        height: 20%;
        padding: 5px;
    }
    #div2, #div3, #div4, #div5, #div6, #div7 {
        padding-left: 10px;
    }
    .read-more {
        font-size: x-small;
    }
    hr {
        width: 50%;
    }
}



/* 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 */
    }

    .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 */
    }
}