/* Global Resets */
* {
    padding: 0%;
    margin: 0%;
    box-sizing: border-box;
}

.main {
    overflow-x: hidden;
    width: 100%;
    /* Consider min-height: 100vh for content that might extend beyond viewport */
}

/* Body padding to prevent content from going under fixed navbar */
body {
    padding-top: 100px;
    background-color: #000000;
    min-height: 200vh;
    /* For demonstration of fixed navbar and scrolling */
    margin: 0;
    /* Remove default body margin */
    font-family: Arial, sans-serif;
    /* A basic font for readability */
}

/* FOR NAVIGATION BAR */
header {
    display: flex;
    padding: 15px 30px 15px 15px;
    background-color: rgba(0, 0, 0, 0.8);
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    align-items: center;
    height: 100px;
    /* Fixed height for the header */
    box-sizing: border-box;
    /* Include padding in height */
}

nav {
    display: flex;
    height: 70px;
    /* Height for the nav content within header */
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

.nav-image {
    width: 10%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
    /* Prevent shrinking on smaller screens */
}

/* FOR IMAGE OF NAV BAR */
.nav-image img {
    height: 70px;
    max-height: 70px;
    width: auto;
}

/* PAGES LIKE HOME ABOUTUS */
.nav-pg {
    display: flex;
    width: 50%;
    justify-content: flex-end;
}

.nav-page {
    display: flex;
    justify-content: space-evenly;
    width: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-page li {
    display: flex;
    align-items: center;
    padding: 0 10px;
}

.nav-page li a {
    text-decoration: none;
    color: white;
    font-size: 17px;
    cursor: pointer;
    transition: color 0.3s ease;
    white-space: nowrap;
    /* Prevent text wrapping */
}

.nav-page li a:hover,
.nav-page li a.active {
    /* Added active state for the Courses link */
    color: blue;
}

.nav-page li a:active {
    transform: translateY(1px);
    /* Slight push down effect */
    color: darkblue;
    /* Darker blue on press */
}


/* FOR BUTTON OF NAV BAR */
.nav-but {
    width: 10%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-shrink: 0;
    /* Prevent shrinking on smaller screens */
}

.nav-but button {
    background-color: blueviolet;
    padding: 15px 14px;
    color: white;
    font-size: 17px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.nav-but button:hover {
    background: linear-gradient(180deg, rgba(211, 231, 232, 1) 0%, rgba(216, 216, 232, 1) 51%, rgba(227, 216, 216, 1) 100%);
    padding: 17px 16px;
    color: blue;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hamburger Menu Icon (Hidden by default on desktop) */
.hamburger-menu {
    display: none;
    /* Controlled by media queries */
    font-size: 30px;
    color: white;
    cursor: pointer;
    flex-shrink: 0;
    margin-left: 20px;
}

/* Dropdown Panel for Courses (Desktop) */
.dropdown-panel {
    display: none;
    /* Hidden by default, shown by JS */
    position: fixed;
    /* Position relative to the parent header/nav for full width */
    top: 100px;
    /* Height of the header */
    left: 500px;
    width: 50%;
    /* Spans full width of the header */
    box-shadow: 10px 10px 10px rgba(255, 255, 255, 0.9);
    color: black;
    border: 1px solid rgba(255, 255, 255, 0.6);
    z-index: 999;
    /* Below the header but above other content */
    border-radius: 0 0 10px 10px;
    /* Rounded corners at the bottom */
    overflow: hidden;
    /* Ensure content stays within border-radius */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    /* Subtle shadow */
    box-sizing: border-box;
    /* Include padding/border in width */
}

.dropdown-panel.show-dropdown {
    /* Class added by JS to show the dropdown */
    display: flex;
}

.dropdown-panel .categories {
    width: 30%;
    border-right: 1px solid #ccc;
    color: white;
    background-color: rgba(18, 18, 192, 0.1);
    /* Slightly more opaque */
    padding: 10px 0;
    /* Add some vertical padding */
    box-sizing: border-box;
}

.dropdown-panel .categories li {
    list-style: none;
    padding: 10px 20px;
    /* Increased padding for better click area */
    cursor: pointer;
    transition: background-color 0.2s ease;
    white-space: nowrap;
    /* Prevent category text wrapping */
}

.dropdown-panel .categories li:hover,
.dropdown-panel .categories li.active {
    background-color: rgba(220, 220, 220, 0.2);
    /* Lighter gray hover/active */
    /* Removed border styles here as they can interfere with clean design */
}

.dropdown-panel .courses {
    width: 70%;
    padding: 15px;
    /* Increased padding */
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    /* Gap between course items */
    list-style: none;
    margin: 0;
    background-color: rgba(18, 18, 192, 0.2);
    /* Lighter blue, less opaque */
    border-bottom-right-radius: 10px;
    box-sizing: border-box;
    justify-content: flex-start;
    /* Align courses to the start */
    align-content: flex-start;
    /* Align rows to the start */
}

.dropdown-panel .courses li {
    width: calc(50% - 5px);
    /* Two columns with gap */
    border-radius: 5px;
    /* Slightly more rounded */
    height: 40px;
    /* Taller items */
    padding: 0 10px;
    /* Horizontal padding for text */
    box-sizing: border-box;
    line-height: 40px;
    /* Vertically center text */
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Align text to the left */
    border: 1px solid rgba(18, 18, 192, 0.2);
    /* Border matching background */
    cursor: pointer;
    color: #ffffff;
    /* Darker text for readability */
    background-color: rgba(255, 255, 255, 0.2);
    /* White background for course items */
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.dropdown-panel .courses li:hover {
    background-color: rgba(255, 255, 255, 0.4);
    box-shadow: 4px 4px 10px rgba(255, 255, 255, 0.2);

    border: rgba(255, 255, 255, 0.5) solid 1px;
    color: white;
}

/* Mobile Navigation Overlay (Hidden by default) */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    /* Higher z-index to cover everything */

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    /* Align items from the top */
    padding-top: 70px;
    /* Space from the top */
    box-sizing: border-box;

    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out, visibility 0s 0.3s, pointer-events 0s 0.3s;
}

.mobile-nav-overlay.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out, visibility 0s 0s, pointer-events 0s 0s;
}

.mobile-nav-overlay .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    z-index: 10000;
    /* Ensure close button is clickable */
}

.mobile-nav-overlay ul.mobile-nav-page {
    list-style: none;
    padding: 0;
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 60px;
    /* Adjusted margin for overall layout */
    margin-bottom: 20px;
    /* Space before button */
}

.mobile-nav-overlay ul.mobile-nav-page li {
    margin: 15px 0;
    width: 100%;
    /* Make list items take full width for better tapping */
    text-align: center;
}

.mobile-nav-overlay ul.mobile-nav-page li a {
    color: white;
    text-decoration: none;
    font-size: 24px;
    padding: 10px 20px;
    display: block;
    transition: color 0.3s ease;
}

.mobile-nav-overlay ul.mobile-nav-page li a:hover {
    color: blue;
}

/* Mobile Courses Sub-Dropdown (nested) */
.mobile-courses-dropdown {
    display: none;
    /* Hidden by default, shown by JS */
    list-style: none;
    padding: 0;
    margin-top: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    /* Slightly visible background */
    border-radius: 5px;
    max-height: 0;
    /* For collapse effect */
    overflow: hidden;
    /* Hide overflow during collapse */
    transition: max-height 0.3s ease-out;
    /* Smooth transition */
}

.mobile-courses-dropdown.active {
    display: block;
    /* Show the block */
    max-height: 300px;
    /* Adjust as needed to fit all courses, or use 'none' for instant */
    /* Consider a dynamic max-height based on content for more precise animation */
}

.mobile-courses-dropdown li {
    margin: 0;
    /* Reset margin */
}

.mobile-courses-dropdown li a {
    font-size: 18px;
    /* Smaller font for sub-items */
    padding: 8px 15px;
    /* Adjust padding */
    color: lightgray;
    /* Different color for sub-items */
    display: block;
}

.mobile-courses-dropdown li a:hover {
    color: skyblue;
    /* Hover color for sub-items */
}


.mobile-nav-overlay .mobile-nav-button {
    width: auto;
    margin-top: 30px;
    justify-content: center;
    display: flex;
}

.mobile-nav-overlay .mobile-nav-button button {
    padding: 12px 20px;
    font-size: 18px;
    background-color: blueviolet;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.mobile-nav-overlay .mobile-nav-button button:hover {
    background: linear-gradient(180deg, rgba(211, 231, 232, 1) 0%, rgba(216, 216, 232, 1) 51%, rgba(227, 216, 216, 1) 100%);
    color: blue;
}

/* Tablets and smaller desktops (max-width: 1024px) */
@media (max-width: 1224px) {
    header {
        padding: 10px 15px;
        height: 80px;
        /* Slightly reduced header height */
    }

    nav {
        height: 50px;
        /* Reduced nav content height */
    }

    .nav-image {
        width: 18%;
        /* Adjusted width */
    }

    .nav-image img {
        height: 50px;
        max-height: 50px;
    }

    .nav-pg {
        width: 55%;
        /* Adjusted width */
    }

    .nav-page li a {
        font-size: 15px;
        padding: 0 6px;
        /* Reduced padding */
    }

    .nav-but {
        width: 20%;
        /* Adjusted width */
    }

    .nav-but button {
        padding: 10px 10px;
        font-size: 14px;
    }

    /* Dropdown panel position for smaller screens */
    .dropdown-panel {
        top: 80px;
        /* Adjust based on new header height */
        left: 400px;
    }
}

@media (max-width:990px) {
    .dropdown-panel {
        top: 80px;
        /* Adjust based on new header height */
        left: 300px;
    }
}

/* Mobile devices (max-width: 768px) */
@media (max-width: 780px) {
    header {
        height: 70px;
        /* Mobile header height */
        padding: 10px 15px;
        /* Consistent padding */
    }

    nav {
        height: 50px;
        justify-content: space-between;
    }

    .nav-image {
        width: auto;
        flex-grow: 1;
        /* Allow image to take available space */
    }

    .nav-image img {
        height: 45px;
        /* Smaller logo for mobile */
        max-height: 45px;
    }

    /* Hide desktop navigation links and button */
    .nav-pg,
    .nav-but {
        display: none;
    }

    /* Hide desktop dropdown on mobile */
    .dropdown-panel {
        display: none !important;
        /* Force hide the desktop dropdown */
    }

    /* Show hamburger menu icon */
    .hamburger-menu {
        display: block;
        margin-right: 15px;
    }

    /* Mobile overlay adjustments */
    .mobile-nav-overlay {
        padding-top: 50px;
        /* Adjusted padding */
    }

    .mobile-nav-overlay .close-btn {
        top: 15px;
        right: 15px;
        font-size: 35px;
    }

    .mobile-nav-overlay ul.mobile-nav-page {
        margin-top: 40px;
        /* Adjusted margin */
    }

    .mobile-nav-overlay ul.mobile-nav-page li a {
        font-size: 22px;
        padding: 8px 15px;
    }

    .mobile-nav-overlay .mobile-nav-button button {
        padding: 10px 18px;
        font-size: 16px;
    }
}

/* Small mobile devices (max-width: 480px) */
@media (max-width: 480px) {
    header {
        padding: 8px 10px;
        height: 60px;
        /* Even smaller header height */
    }

    nav {
        height: 40px;
    }

    .nav-image img {
        height: 40px;
        max-height: 40px;
    }

    .hamburger-menu {
        font-size: 28px;
        margin-right: 10px;
    }

    .mobile-nav-overlay {
        padding-top: 40px;
    }

    .mobile-nav-overlay .close-btn {
        font-size: 30px;
    }

    .mobile-nav-overlay ul.mobile-nav-page li a {
        font-size: 18px;
        padding: 6px 12px;
    }

    .mobile-nav-overlay .mobile-nav-button button {
        padding: 8px 15px;
        font-size: 14px;
    }
}

/* Extra small mobile devices (max-width: 280px) */
@media (max-width: 280px) {
    header {
        padding: 5px 8px;
        height: 50px;
    }

    nav {
        height: 35px;
    }

    .nav-image img {
        height: 35px;
        /* Smallest logo size */
        max-height: 35px;
    }

    .hamburger-menu {
        font-size: 24px;
        margin-right: 8px;
    }

    .mobile-nav-overlay {
        padding-top: 30px;
    }

    .mobile-nav-overlay .close-btn {
        font-size: 28px;
        top: 10px;
        right: 10px;
    }

    .mobile-nav-overlay ul.mobile-nav-page li {
        margin: 10px 0;
    }

    .mobile-nav-overlay ul.mobile-nav-page li a {
        font-size: 16px;
        padding: 5px 10px;
    }

    .mobile-nav-overlay .mobile-nav-button {
        margin-top: 20px;
    }

    .mobile-nav-overlay .mobile-nav-button button {
        padding: 6px 12px;
        font-size: 12px;
        width: 90%;
        max-width: 150px;
    }
}

/* ---------------------------ABOUT US PAGE */
.about-faculty {
    display: flex;
    flex-direction: column;
    /* padding-top: 100px; */
    width: 100%;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle, rgba(21, 53, 158, 1) 1%, rgba(0, 0, 0, 1) 55%);
}

#heading-about {
    padding-top: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 50px;
    color: white;
    font-family: sans-serif;
    text-align: center;
    /* Ensure text is centered on smaller screens */
}

.aboutpage-partone {
    display: flex;
    width: 80%;
    padding: 100px 50px 50px 50px;
    justify-content: space-between;
}

.aboutpage-partone-one {
    width: 48%;
}

.aboutpage-partone-one h2 {
    font-size: 45px;
    font-family: sans-serif;
    color: white;
}

.aboutpage-partone-one img {
    width: 90%;
    height: auto;
    /* Ensure image scales proportionally */
    display: block;
    /* Remove extra space below image */
    margin: 0 auto;
    /* Center image if it's smaller than its container */
}

.aboutpage-partone-two {
    width: 45%;
}

#aboutpage-head-two {
    font-family: sans-serif;
    font-size: 35px;
    padding-bottom: 25px;
    color: white;
}

.about-content {
    font-size: 16px;
    font-weight: 500;
    padding-bottom: 25px;
    line-height: 1.5;
    color: white;
    font-family: sans-serif;
}

#aboutpage-head-three {
    font-size: 42px;
    font-family: sans-serif;
    padding-bottom: 25px;
    color: white;

}

#aboutpage-head-four {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 50px;
    color: white;
    font-family: sans-serif;
    text-align: center;
    padding-bottom: 50px;
    /* Added padding for spacing */
}

.about-content-two {
    width: 52%;
    /* This seems to be a standalone text block outside partone/parttwo */
    padding: 20px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    color: white;
    font-family: sans-serif;
    text-align: center;
    /* Centered for standalone text */
}

.aboutpage-parttwo {
    display: flex;
    width: 80%;
    padding-top: 50px;
    justify-content: space-between;
    flex-wrap: wrap;
    /* Allow items to wrap to the next line */
}

.member-one,
.member-two,
.member-three {
    width: 23%;
    /* Adjust width to fit three items per row */
    padding: 20px 0;
    /* Add some vertical padding */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center content within each member block */
    text-align: center;
    /* Center text within each member block */
}

.member-one img,
.member-two img,
.member-three img {
    width: 80%;
    height: 65%;
    object-fit: cover;
    border-radius: 50%;
    /* Use 50% for perfect circle */
    margin-bottom: 15px;
    /* Space between image and text */
}

.member-one li,
.member-two li,
.member-three li {
    list-style: none;
    /* Remove bullet points */
    width: 100%;
    /* Take full width of parent member div */
    font-size: 16px;
    color: white;
    font-family: sans-serif;
    padding: 5px 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* Ensure text is centered */
}

/* PART THREE */
.aboutpage-partthree {
    width: 100%;
    padding-bottom: 50px;
}

.aboutpage-partthree h2 {
    display: flex;
    align-items: center;
    font-size: 37px;
    color: white;
    font-family: sans-serif;
    padding-bottom: 20px;
    text-align: center;
    /* Center heading */
    justify-content: center;
}

.aboutpage-partthree ul {
    list-style: disc inside;
    /* Ensure list items have bullets and indent */
    padding-left: 0;
    /* Remove default ul padding if needed */
}

.aboutpage-partthree li {
    font-size: 19px;
    font-weight: 500;
    line-height: 1.5;
    color: white;
    font-family: sans-serif;
    padding: 9px 0px 9px 20px;
    /* Adjusted padding */
    text-align: center;
    /* Keep list item text aligned left */
}

/* ABOUT PAGE CONTENT FOUR */
.vmv {
    width: 100%;
    display: flex;
    justify-content: center;
}
.aboutpage-partfour {
    width: 80%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    /* Allow items to wrap */
    padding-bottom: 100px;
    /* Add bottom padding to section */
}

.partfour-head {
    font-size: 37px;
    font-family: sans-serif;
    color: white;
    padding: 20px 0px 20px 0px;
    text-align: center;
    width: 100%;
    /* Make heading take full width */
}

.partfour-one,
.partfour-two,
.partfour-three {
    width: 30%;
    /* Adjust width for three columns */
    padding: 20px;
    /* Add padding around each card */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.partfour-one img,
.partfour-two img,
.partfour-three img {
    width: 100%;
    height: auto;
    display: block;
}

.partfour-para {
    font-size: 16px;
    font-weight: 500;
    padding: 10px 0px 10px 0px;
    /* Adjusted padding */
    text-align: justify;
    line-height: 1.5;
    color: white;
    font-family: sans-serif;
}

/* ------------------------------------------- */
/* RESPONSIVE STYLES (MEDIA QUERIES)         */
/* ------------------------------------------- */

/* Tablets and smaller desktops (e.g., max-width: 1024px) */
@media (max-width:1213px) {
    .aboutpage-parttwo {
        width: 90%;
        padding: 70px 30px 30px 30px;
        flex-direction: column;
        align-items: center;
    }

    .member-one img,
    .member-two img,
    .member-three img {
        width: 80%;
        height: 230px;
        object-fit: cover;
        border-radius: 50%;
        margin-bottom: 15px;
    }

    .aboutpage-partfour {
        width: 90%;
        padding-bottom: 70px;
        flex-direction: column;
        align-items: center;
    }

    .partfour-one,
    .partfour-two,
    .partfour-three {
        width: 80%;
        margin-bottom: 40px;
        padding: 15px;
    }

    .partfour-one,
    .partfour-two,
    .partfour-three {
        width: 80%;
        margin-bottom: 40px;
        padding: 15px;
    }

    .partfour-para {
        font-size: 20px;
        font-weight: 500;
        padding: 10px 0px 10px 0px;
        line-height: 1.5;
        color: white;
        font-family: sans-serif;
    }

}


@media (max-width: 1024px) {
    .about-faculty {
        padding-top: 70px;
    }

    #heading-about {
        padding-top: 70px;
        font-size: 45px;
    }

    .aboutpage-partone {
        width: 90%;
        padding: 70px 30px 30px 30px;
        flex-direction: column;
        /* Stack image and text vertically */
        align-items: center;
        /* Center items when stacked */
    }

    .aboutpage-partone-one,
    .aboutpage-partone-two {
        width: 100%;
        /* Take full width when stacked */
        padding: 20px 0;
        /* Add vertical space between stacked items */
        text-align: center;
        /* Center text content */
    }

    .aboutpage-partone-one h2 {
        font-size: 38px;
        margin-bottom: 20px;
        /* Space below heading */
    }

    .aboutpage-partone-one img {
        width: 80%;
        /* Adjust image size for tablets */
        max-width: 400px;
        /* Limit max width of image */
    }

    #aboutpage-head-two {
        font-size: 30px;
    }

    .about-content {
        font-size: 15px;
    }

    #aboutpage-head-three {
        font-size: 35px;
    }

    #aboutpage-head-four {
        font-size: 40px;
        padding-bottom: 30px;
    }

    .about-content-two {
        width: 80%;
        /* Adjust width for standalone text block */
        padding: 15px;
        font-size: 15px;
    }

    .aboutpage-parttwo {
        width: 90%;
        padding: 70px 30px 30px 30px;
        flex-direction: column;
        align-items: center;
    }

    .member-one,
    .member-two,
    .member-three {
        width: 45%;
        /* Two members per row on tablets */
        margin-bottom: 30px;
        /* Space between rows */
    }

    .member-one img,
    .member-two img,
    .member-three img {
        height: 280px;
        margin-bottom: 30px;
        /* Space between rows */
    }

    .aboutpage-partthree {
        width: 90%;
        padding: 30px 20px;
    }

    .aboutpage-partthree h2 {
        font-size: 30px;
        padding-bottom: 15px;
    }

    .aboutpage-partthree li {
        font-size: 17px;
        padding: 7px 0px 7px 15px;
    }

    .aboutpage-partfour {
        width: 90%;
        padding-bottom: 70px;
        flex-direction: column;
        /* Stack items vertically */
        align-items: center;
    }

    .partfour-head {
        font-size: 30px;
        padding: 15px 0;
    }

    .partfour-one,
    .partfour-two,
    .partfour-three {
        width: 80%;
        /* Take more width when stacked */
        margin-bottom: 40px;
        /* Space between stacked items */
        padding: 15px;
    }

    .partfour-one:last-child,
    .partfour-two:last-child,
    .partfour-three:last-child {
        margin-bottom: 0;
        /* Remove margin from last item */
    }

    .partfour-para {
        font-size: 15px;
        padding: 8px 0;
    }
}

/* Mobile devices (e.g., max-width: 767px) */
@media (max-width: 767px) {
    .about-faculty {
        padding-top: 50px;
    }

    #heading-about {
        padding-top: 50px;
        font-size: 35px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .aboutpage-partone {
        width: 95%;
        padding: 50px 15px 20px 15px;
    }

    .aboutpage-partone-one h2 {
        font-size: 30px;
        margin-bottom: 15px;
    }

    .aboutpage-partone-one img {
        width: 90%;
        /* Adjust image size for smaller mobiles */
        max-width: 300px;
    }

    #aboutpage-head-two {
        font-size: 25px;
    }

    .about-content {
        font-size: 14px;
        padding-bottom: 15px;
    }

    #aboutpage-head-three {
        font-size: 28px;
        padding-bottom: 15px;
    }

    #aboutpage-head-four {
        font-size: 30px;
        padding-bottom: 20px;
    }

    .about-content-two {
        width: 90%;
        padding: 10px;
        font-size: 14px;
    }

    .aboutpage-parttwo {
        width: 95%;
        padding: 50px 15px 20px 15px;
        flex-direction: column;
        /* Stack members vertically on small screens */
        align-items: center;
    }

    .member-one,
    .member-two,
    .member-three {
        width: 80%;
        /* Each member takes more width when stacked */
        max-width: 300px;
        /* Prevent members from getting too wide on very large phones */
        margin-bottom: 40px;
        padding: 15px 0;
    }

    .member-one:last-child,
    .member-two:last-child,
    .member-three:last-child {
        margin-bottom: 0;
    }

    .member-one img,
    .member-two img,
    .member-three img {
        width: 100%;
    }

    .member-one li,
    .member-two li,
    .member-three li {
        font-size: 14px;
        padding: 3px 0;
    }

    .aboutpage-partthree {
        width: 95%;
        padding: 20px 10px;
    }

    .aboutpage-partthree h2 {
        font-size: 25px;
        padding-bottom: 10px;
    }

    .aboutpage-partthree li {
        font-size: 15px;
        padding: 5px 0px 5px 10px;
    }

    .aboutpage-partfour {
        width: 95%;
        padding-bottom: 50px;
    }

    .partfour-head {
        font-size: 25px;
        padding: 10px 0;
    }

    .partfour-one,
    .partfour-two,
    .partfour-three {
        width: 90%;
        /* Make them almost full width */
        margin-bottom: 30px;
        padding: 10px;
    }

    .partfour-para {
        font-size: 14px;
        padding: 5px 0;
    }
}

/* Extra small mobile devices (e.g., max-width: 479px) */
@media (max-width: 479px) {
    #heading-about {
        font-size: 28px;
        padding-top: 40px;
    }

    .aboutpage-partone {
        padding: 30px 10px 15px 10px;
    }

    .aboutpage-partone-one h2 {
        font-size: 25px;
    }

    #aboutpage-head-two {
        font-size: 22px;
    }

    .about-content {
        font-size: 13px;
    }

    #aboutpage-head-three {
        font-size: 24px;
    }

    #aboutpage-head-four {
        font-size: 26px;
        padding-bottom: 15px;
    }

    .about-content-two {
        font-size: 13px;
    }

    .aboutpage-parttwo {
        padding: 30px 10px 15px 10px;
    }

    .member-one,
    .member-two,
    .member-three {
        width: 95%;
        /* Almost full width for very small screens */
        margin-bottom: 30px;
    }

    .member-one li,
    .member-two li,
    .member-three li {
        font-size: 13px;
    }

    .aboutpage-partthree {
        padding: 15px 5px;
    }

    .aboutpage-partthree h2 {
        font-size: 20px;
    }

    .aboutpage-partthree li {
        font-size: 14px;
    }

    .aboutpage-partfour {
        padding-bottom: 30px;
    }

    .partfour-head {
        font-size: 22px;
    }

    .partfour-one,
    .partfour-two,
    .partfour-three {
        width: 95%;
        margin-bottom: 25px;
    }

    .partfour-para {
        font-size: 13px;
    }
}

/* Footer */

/* FOOTER */
.footer-partone {
    width: 100%;
    /* height: 100%; removed fixed height for responsiveness */
    background-color: rgb(0, 0, 0);
    display: flex;
    padding: 100px;
    /* Will adjust for smaller screens */
    justify-content: space-evenly;
    flex-wrap: wrap;
    /* Allows columns to wrap to the next line */
    gap: 30px;
    /* Adds space between wrapped items */
}

/* FOOTER FIRST SECTION INFORAG */
.footer-inforag {
    width: 30%;
    /* Will adjust */
    /* justify-content: space-between; This is for flex containers, not direct content. */
}

.footer-image {
    padding-bottom: 25px;
}

.footer-image img {
    width: 65%;
    /* Will adjust */
    height: auto;
    /* Ensure image scales proportionally */
    display: block;
    /* Removes extra space below image */
}

.footer-dis {
    font-size: 17px;
    font-weight: 550;
    color: white;
    padding-bottom: 25px;
    line-height: 1.6;
    /* Improve readability */
}

.footer-logo svg {
    color: white;
    margin-right: 13px;
    font-size: 24px;
    /* Default size for social icons */
}

/* FOOTER QUICKLINKS */
.footer-quicklink {
    width: 15%;
    /* Will adjust */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer-quicklink ul {
    margin-top: none !important;
}

.footer-quicklink a {
    text-decoration: none;
    color: white;
    display: block;
    /* Make the whole link clickable */
}

.footer-quicklink a:hover {
    color: rgb(84, 18, 150);
    transition: color 0.3s ease;
}

#heading {
    font-size: 19px;
    font-family: sans-serif;
    color: white;
    padding-bottom: 25px;
    white-space: nowrap;
    /* Prevents heading from wrapping unless explicitly forced */
}

.footer-quicklink li {
    display: flex;
    /* Keep display flex for icon/text alignment if desired */
    font-size: 16px;
    font-weight: 700;
    color: white;
    /* Redundant if a is styled */
    padding-bottom: 20px;
    font-family: sans-serif;
    /* text-decoration: none; This is on the a tag */
}

.footer-login-btn {
    display: flex !important;
    justify-content: start !important;
    height: 25%;
    align-items: center;
}

.footer-login-btn a {
    display: flex !important;
    justify-content: start !important;
    height: 25%;
    width: 70%;
    align-items: center;
}

.footer-login-btn button {
    display: flex;
    justify-content: center;
    background-color: blueviolet;
    padding: 20px 25px;
    color: white;
    font-size: 18px;
    border: none;
    border-radius: 35px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
    width: 90%;
}

.footer-login-btn button:hover {
    background: linear-gradient(180deg, rgba(211, 231, 232, 1) 0%, rgba(216, 216, 232, 1) 51%, rgba(227, 216, 216, 1) 100%);
    padding: 22px 27px;
    color: blue;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-quicklink li:hover {
    color: rgb(84, 18, 150);
    /* Applied to li directly, but a:hover is more specific */
    transition: color 0.3s ease;
}

/* FOOTER SERVICES */
.footer-service {
    width: 20%;
    /* Will adjust */
}

#heading-two {
    font-size: 19px;
    font-family: sans-serif;
    color: white;
    padding-bottom: 25px;
    white-space: nowrap;
}

.footer-service li {
    display: flex;
    font-size: 16px;
    font-weight: 700;
    color: white;
    padding-bottom: 20px;
    font-family: sans-serif;
    text-decoration: none;
    /* Redundant if a is styled */
}

.footer-service a {
    /* Add a style for service links */
    text-decoration: none;
    color: white;
    display: block;
}

.footer-service a:hover {
    color: rgb(84, 18, 150);
    transition: color 0.3s ease;
}


/* FOOTER CONTACTS */
.footer-contact {
    width: 15%;
    /* Will adjust */
}

#heading-three {
    font-size: 19px;
    font-family: sans-serif;
    color: white;
    padding-bottom: 25px;
    white-space: nowrap;
}

.footer-contact-loc,
.footer-contact-phoneno,
.footer-contact-mail,
.footer-contact-time {
    display: flex;
    padding-bottom: 20px;
    align-items: flex-start;
    /* Align icon to top if text wraps */
}

.footer-contact-logo {
    margin-right: 13px;
    padding-top: 5px;
    /* Aligns icon with text */
    color: white;
    font-size: 18px;
    /* Consistent icon size */
    flex-shrink: 0;
    /* Prevent icon from shrinking */
}

.footer-contact-location a,
.contact-no a,
.mail-add a {
    text-decoration: none;
    font-size: 16px;
    font-family: sans-serif;
    color: white;
    display: block;
    /* Make links block level to fill space */
    line-height: 1.4;
    /* Improve readability for contact text */
}

.footer-contact-location a:hover,
.contact-no a:hover,
.mail-add a:hover {
    color: rgb(84, 18, 150);
    transition: color 0.3s ease;
}

.contact-no li,
.mail-add li,
.office li {
    list-style-type: none;
    /* Remove default list bullets */
    padding-bottom: 3px;
    font-size: 16px;
    font-family: sans-serif;
    color: white;
    /* Redundant if a is styled */
}

/* FOOTER-PARTTWO (Copyright/Bottom Bar) */
.footer-parttwo {
    display: flex;
    padding: 30px;
    /* Will adjust */
    align-items: center;
    justify-content: center;
    /* background-color: black; */
    color: white;
    border-top: solid white 0.5px;
    font-size: 15px;
    /* Default font size for copyright */
    text-align: center;
    /* Ensure text is centered */
}

.footer-parttwo a {
    color: white;
    text-decoration: none;

}


/* --------------------------------------------------- */
/* RESPONSIVE STYLES (MEDIA QUERIES)                   */
/* --------------------------------------------------- */

/* Tablets and smaller desktops (max-width: 1024px) */
@media (max-width: 1024px) {
    .footer-partone {
        padding: 60px;
        /* Reduce padding */
        gap: 40px;
        /* Increase gap between columns */
    }

    /* Adjust widths for 2 columns or 3 if space allows */
    .footer-inforag {
        width: 45%;
        /* Two columns per row */
    }

    .footer-quicklink,
    .footer-service,
    .footer-contact {
        width: 45%;
        /* Two columns per row */
    }

    .footer-image img {
        width: 80%;
        /* Make image larger within its column */
    }

    .footer-dis {
        font-size: 16px;
    }

    #heading,
    #heading-two,
    #heading-three {
        font-size: 18px;
        /* Slightly smaller headings */
        padding-bottom: 20px;
    }

    .footer-quicklink li,
    .footer-service li,
    .footer-contact-location a,
    .contact-no li,
    .mail-add li,
    .office li {
        font-size: 15px;
        /* Slightly smaller link text */
        padding-bottom: 15px;
    }

    .footer-logo svg {
        font-size: 22px;
        /* Smaller social icons */
    }

    .footer-contact-logo {
        font-size: 16px;
        /* Smaller contact icons */
    }

    .footer-parttwo {
        padding: 25px;
        font-size: 14px;
    }
}

/* Mobile devices (max-width: 768px) */
@media (max-width: 768px) {
    .footer-partone {
        padding: 40px 20px;
        /* Further reduce padding */
        flex-direction: column;
        /* Stack all columns vertically */
        align-items: center;
        /* Center items when stacked */
        gap: 30px;
        /* Space between stacked sections */
    }

    .footer-login-btn {
        display: flex !important;
        justify-content: center !important;

    }

    .footer-inforag,
    .footer-quicklink,
    .footer-service,
    .footer-contact {
        width: 90%;
        /* Each column takes almost full width */
        text-align: center;
        /* Center text within columns */
        padding: 0;
        /* Remove column-specific padding, use section padding */
    }

    /* Adjust specific elements to be centered for mobile */
    .footer-image {
        padding-bottom: 15px;
    }

    .footer-image img {
        width: 60%;
        /* Adjust image size for mobile */
        max-width: 200px;
        /* Prevent image from becoming too large */
        margin: 0 auto;
        /* Center the image */
    }

    .footer-dis {
        font-size: 15px;
        padding-bottom: 15px;
    }

    .footer-logo {
        text-align: center;
        /* Center social icons */
        margin-top: 10px;
    }

    .footer-logo svg {
        font-size: 20px;
        margin: 0 8px;
        /* Adjust margin between icons */
    }

    #heading,
    #heading-two,
    #heading-three {
        font-size: 17px;
        /* Smaller headings */
        padding-bottom: 15px;
        white-space: normal;
        /* Allow headings to wrap if needed */
    }

    /* Center list items for quicklinks/services */
    .footer-quicklink ul,
    .footer-service ul {
        list-style: none;
        /* Ensure no bullets if padding is messed up */
        padding: 0;
    }

    .footer-quicklink li,
    .footer-service li {
        justify-content: center;
        /* Center list items if they contain text only */
        font-size: 14px;
        padding-bottom: 12px;
    }

    /* Contact info adjustments */
    .footer-contact-loc,
    .footer-contact-phoneno,
    .footer-contact-mail,
    .footer-contact-time {
        justify-content: center;
        /* Center the icon+text block */
        flex-direction: row;
        /* Keep icon and text side-by-side */
        align-items: flex-start;
        /* Align icon to top */
        padding-bottom: 15px;
        text-align: left;
        /* Text itself remains left-aligned relative to icon */
    }

    .footer-contact-logo {
        margin-right: 10px;
        padding-top: 2px;
        /* Smaller padding for icon alignment */
        font-size: 15px;
        /* Smaller icons */
    }

    .footer-contact-location a,
    .contact-no a,
    .mail-add a,
    .office li {
        font-size: 14px;
        text-align: left;
        /* Ensures text is left aligned within its area */
    }

    .footer-parttwo {
        padding: 20px;
        font-size: 13px;
    }
}

/* Extra small mobile devices (max-width: 480px) */
@media (max-width: 480px) {
    .footer-partone {
        padding: 30px 15px;
        /* Smallest padding */
        gap: 25px;
        /* Smaller gap */
    }

    .footer-inforag,
    .footer-quicklink,
    .footer-service,
    .footer-contact {
        width: 95%;
        /* Take maximum width */
    }

    .footer-image img {
        width: 50%;
        max-width: 150px;
    }

    .footer-dis {
        font-size: 14px;
        padding-bottom: 10px;
    }

    .footer-logo svg {
        font-size: 18px;
        margin: 0 6px;
    }

    #heading,
    #heading-two,
    #heading-three {
        font-size: 16px;
        padding-bottom: 10px;
    }

    .footer-quicklink li,
    .footer-service li {
        font-size: 13px;
        padding-bottom: 10px;
    }

    .footer-contact-loc,
    .footer-contact-phoneno,
    .footer-contact-mail,
    .footer-contact-time {
        padding-bottom: 10px;
    }

    .footer-contact-logo {
        margin-right: 8px;
        font-size: 14px;
    }

    .footer-contact-location a,
    .contact-no a,
    .mail-add a,
    .office li {
        font-size: 13px;
    }

    .footer-parttwo {
        padding: 15px;
        font-size: 12px;
    }
}