body {
    margin: 0;
    padding: 0;
    background-color: #efefef;
}

.main-container {
    display: flex;
    justify-content: center;
    /* width: 80%;
    margin: auto;*/
    padding: 18px;
    box-sizing: border-box;
}

.filter-heading {
    font-size: 14px;
}

.search-container {
    width: 100%;
}


.filter-container {
    margin-top: 21px;
    flex: 1;
    max-width: 235px;
    margin-right: 20px;
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.filter-inner-container {
    display: flex;
    flex-direction: column;
    align-items: end;
}

.cost-slider-container {
    padding: 17px;
}

.filter-container h2 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.card-container {
    flex: 3;
}

h1 {
    text-align: center;
    margin-top: 20px;
    color: #333;
}

.card {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
    padding: 20px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.college-details {
    flex: 1;
    padding-right: 20px;
}

.college-name a {
    color: black;
}

.college-name a:hover {
    color: darkblue;
}

.college-field a {
    color: #2D65BB;
    text-decoration: none;
    font-weight: 500;
}

.college-field a:hover {
    color: darkblue;
}

.college-innerField a {
    color: black;
    text-decoration: underline;
}

.college-innerField a:hover {
    color: darkblue;
}


.college-name {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.college-result-detail a {
    color: #666666;
    text-decoration: underline;
}

.college-result-detail a:hover {
    color: darkblue;
}


.college-field {
    margin-top: 10px;
    color: #666;
}

.college-image {
    width: 200px;
    height: 150px;
    border-radius: 8px;
    margin-top: 30px;
}

#border-line {
    border-bottom: 2px solid #80ced7;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.college-innerField {
    font-weight: bold;
    color: black;
}

/* Basic reset for anchor tag */
a {
    text-decoration: none;
    /* Remove underline */
}

/* Style for button */
.explore-button {
    display: block;
    padding: 7px 25px;
    font-size: 16px;
    /* Font size */
    color: white;
    /* Text color */
    background-color: #f57f1a;
    /* Background color */
    border: none;
    /* Remove border */
    border-radius: 5px;
    /* Rounded corners */
    transition: background-color 0.1s ease;
}

/* Hover effect */
.explore-button:hover {
    background-color: white;
    /* Darker background on hover */
    color: #f57f1a;
    border: 1px solid #f57f1a;
}

/* Active effect */
.explore-button:active {
    background-color: #004494;
    /* Even darker background when clicked */
}

/* Style for button */
.explore-button-apply {
    display: block;
    padding: 7px 25px;
    font-size: 16px;
    /* Font size */
    color: white;
    /* Text color */
    background-color: #f57f1a;
    /* Background color */
    border: none;
    /* Remove border */
    border-radius: 5px;
    /* Rounded corners */
    cursor: pointer;
    /* Change cursor on hover */
    transition: background-color 0.1s ease;
    /* Smooth transition */
    margin-left: 17px;
}

/* Hover effect */
.explore-button-apply:hover {
    background-color: white;
    /* Darker background on hover */
    color: #f57f1a;
    border: 1px solid #f57f1a;
}

/* Active effect */
.explore-button-apply:active {
    background-color: #004494;
    /* Even darker background when clicked */
}




.image-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: center;
    align-items: center;
}




/* Style the dropdown */
.Dropdown {
    width: 118px;
    padding: 8px;
    font-size: 13px;
    color: black;
    background-color: white;
    border: 1px solid #f57f1a;
    /* Border */
    border-radius: 5px;
    /* Rounded corners */
    /*appearance: none;*/
    /* Remove default arrow (for modern browsers) */
    /*-moz-appearance: none;*/
    /* For Firefox */
    /*-webkit-appearance: none;*/
    /* For Safari */
    cursor: pointer;
    /* Change cursor on hover */
}

/* Style the dropdown on hover */
.Dropdown:hover {
    border-color: black;
    /* Change border color on hover */
    background-color: #f57f1a;
    /* Lighten background color on hover */
    color: white;
}

/* Style the dropdown when focused */
.Dropdown:focus {
    outline: none;
    /* Remove default outline */
    border-color: #007bff;
    /* Change border color on focus */
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
    /* Add a shadow effect */
}

.filter-container1 {
    display: flex;
    align-items: center;
    padding: 10px;
    gap: 10px;
}





.pagination {
    text-align: center;
    margin-top: 20px;
}

.pagination a {
    margin: 0 5px;
    padding: 10px 15px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

.pagination a.disabled {
    background-color: #ccc;
    pointer-events: none;
}

/* Slider styles */
.cost-slider-container {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
}

.slider-label {
    margin-bottom: 10px;
    font-size: 14px;
    color: #333;
    font-weight: bold;
}

.slider-output {
    font-weight: bold;
    margin-top: 5px;
}

.select2 {
    width: 130px !important;
}

/* Toggle Button Styling */
.toggle-button {
    position: absolute;
    right: 60px;
    width: 50px;
    /* Set a fixed width */
    height: 50px;
    /* Set a fixed height */
    border-radius: 50%;
    /* Make the button circular */
    padding: 0;
    /* Remove extra padding to maintain circle shape */
    font-size: 25px;
    /* Adjust font size to fit inside the circle */
    background-color: #f57f1a;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: center;
    /* Center the icon horizontally */
    align-items: center;
    /* Center the icon vertically */
}

/*header style start*/
nav {
    font-family: Arial, sans-serif;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    background-color: #f8f9fa;
    padding: 10px 20px;
    border-bottom: 1px solid #ddd;
}

nav a img {
    height: 25px;
    margin-left: -125px;
}

ul.nav-ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 25px;
}

.nav-ul-li {
    position: relative;
}

.nav-ul a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

.nav-ul a:hover {
    color: #2D65BB;
}

.dropdown_college {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 15px;
    display: none;
    flex-direction: column;
    z-index: 1000;
}

.dropdown_college a {
    font-size: 13px;
    color: #333;
    padding: 5px 0;
}

.college-nav:hover .dropdown_college {
    display: flex;
}

.phone-num a {
    color: #2D65BB;
    font-weight: bold;
}

.myacc span {
    margin-left: 10px;
}

.myacc a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.myacc a:hover {
    color: #2D65BB;
}

/* Hide the mobile nav by default */
#mobile-nav {
    display: none;
}

@media (max-width: 768px) {

    nav {
        display: none;
    }

    #mobile-nav {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        padding: 10px;
        background-color: #fff;
    }

    #hamburger-menu {
        font-size: 24px;
        background: none;
        border: none;
        cursor: pointer;
        margin: 10px 0;
    }

    .hiddennn {
        display: block !important;
        list-style: none;
        padding: 0;
        margin: 0;
        flex-direction: column;
        width: 100%;
    }

    #mobile-nav-ul {
        display: none;
    }

    .nav-ul-li {
        margin: 5px 0;
    }

    .nav-ul-li a {
        text-decoration: none;
        color: #000;
    }

    .college-nav .dropdown_college {
        display: none;
    }

    .college-nav:hover .dropdown_college {
        display: block;
    }
}

/*header style end*/

/*Footer style starts here*/
footer {
    background-color: #404040;
    font-family: 'Poppins', sans-serif;
    border-bottom: 1px solid white;
    /* White line between divs */
}

.hero {
    display: flex;
    gap: 40px;
    color: whitesmoke;
    justify-content: center;
}

ul {
    list-style: none;
    padding-left: 0px;
}

ul li a {
    text-decoration: none;
    color: whitesmoke;
    font-weight: 400;
    font-size: 10px;
}

.c-socials {
    display: flex;
    gap: 10px;
    /* Adjust spacing between icons */
    padding: 0;
    /* Remove padding */
    font-size: 15px;
}

.contact {
    font-size: 14px;
}

.c-socials li {
    list-style: none;
}

.hero-inner h2 {
    font-size: 18px;
}

.later-footer {
    background-color: #404040;
    font-family: 'Poppins', sans-serif;
    display: flex;
}

.later-footer ul {
    display: flex;
    list-style: none;
    font-size: 9px;
    gap: 10px;
    margin-left: 35px;
}

.later-footer a {
    color: whitesmoke;
    text-decoration: none;
}

.later-footer p {
    /*      margin-left: 35px;
*/
}

.later-footer-inner h5 {
    /*        margin-left: 600px;
*/
}

.later-footer-inner-two {
    margin-top: 25px;
}

.hero-mob {
    display: none;
}

@media (max-width: 480px),
(max-width:760px) {

    .hero,
    .hero-inner,
    .later-footer {
        display: none;
    }

    .hero-mob {
        display: flex;
        flex-direction: column;
        gap: 15px;
        color: whitesmoke;
    }

    .mob {
        align-self: center;
    }

    .hero-mob-inner {
        font-size: 10px;
        display: flex;
        justify-content: space-around;
        gap: 10px;
        margin-block: 10px;
    }

    .hero-mob-inner a {
        color: whitesmoke;
    }

}

/*Footer Style ends here*/

/* CSS for university image and buttons in cards */
.college-image-2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 300px;
    flex: 0 0 300px;
    margin-top: 15px;
}

.college-image-2 img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.under-image {
    display: flex;
    justify-content: center;
    width: 100%;
    gap: 15px;
}

.apply-btn {
    font-family: 'Times New Roman', Times, serif;
    display: block;
    padding: 7px 25px;
    font-size: 16px;
    /* Font size */
    color: white;
    /* Text color */
    background-color: #f57f1a;
    /* Background color */
    border: none;
    /* Remove border */
    border-radius: 5px;
    /* Rounded corners */
    transition: background-color 0.1s ease;
}

@media(max-width: 768px) {
    .apply-btn {
        margin-top: 12px !important;
        margin-left: 3px;
        padding: 7px 10px;
    }
}

.apply-btn:hover {
    background-color: white;
    /* Darker background on hover */
    color: #f57f1a;
    border: 1px solid #f57f1a;
}

/*apply button ends*/

/* Media Queries for Responsiveness */

/* For smaller tablets and large phones (landscape) */
@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
    }

    .toggle-button {
        right: 20px;
        font-size: 20px;
        padding: 4px 8px;
        width: 30px;
        /* Set a fixed width */
        height: 30px;
        /* Set a fixed height */
    }

    .college-inner-details {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .search-container {}

    .college-image {
        width: 135px;
        height: 95px;
        margin-top: 10px;
    }

    .image-container {
        display: none;
    }

    .college-image-2 {
        display: flex !important;
        flex-direction: column;
        width: 100%;
        align-items: center;
        margin-top: 15px;
    }

    .college-image-2 img {
        width: 100%;
        max-width: 400px;
        height: auto;
        aspect-ratio: 16/9;
    }

    .card {
        flex-direction: column;
        /* Stack elements vertically */
        /* text-align: center;*/
        /* Center-align text */
    }

    .college-details {
        padding-right: 0;
        /* Remove padding */
    }

    .filter-inner-container {
        /*  flex-direction: row;
        flex-wrap: wrap;*/
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .filter-container {
        margin-right: 0px;
        margin-top: 0px;
        max-width: 508px;
        padding: 6px;
    }

    .filter-container1 {
        padding: 11px 4px !important;
        gap: 4px !important;
    }

    #costSliderMin {
        width: 80%;
    }

    #costSliderMax {
        width: 80%;
    }

    #feesSliderMin,
    #feesSliderMax {
        width: 80%;
    }

    .cost-slider-container {
        margin-top: 0px !important;
        padding: 4px !important;
    }

    .Dropdown {
        padding: 4px !important;
        width: 89px !important;
        font-size: 10px !important;
    }

    .explore-button-apply {
        margin-top: 19px !important;
        padding: 7px 56px !important;
        margin: 9px auto;
    }

    .explore-button {
        margin-top: 12px !important;
        margin-left: 3px;
        padding: 7px 10px;
    }

    .select2 {
        width: 85px !important;
    }


}


.toggle-button:hover {
    background-color: #333;
}

/* Dark Mode Styles */
body.dark-mode {
    background-color: #121212;
    color: black;
}



.dark-mode .filter-container,
.dark-mode .card,
.dark-mode .pagination a {
    background-color: #333;
    color: #f0f0f0;
}

.dark-mode .filter-heading {
    color: #f0f0f0;
}

.dark-mode .Dropdown {
    background-color: #444;
    color: #f0f0f0;
    border-color: #f57f1a;
}

.dark-mode .explore-button,
.dark-mode .explore-button-apply {
    background-color: #f57f1a;
    color: #f0f0f0;
}

.dark-mode .explore-button:hover,
.dark-mode .explore-button-apply:hover,
.dark-mode .apply-btn:hover {
    background-color: #333;
    color: #f57f1a;
    border: 1px solid #f57f1a;
}

.dark-mode .slider-label,
.dark-mode .slider-output {
    color: #f0f0f0;
}

.dark-mode .college-name {
    color: aliceblue;
}

.dark-mode .college-innerField {
    color: aliceblue;
}

.dark-mode .heading-second-word {
    color: white;
}

.dark-mode .country-name {
    color: wheat;
}

.dark-mode .college-result-detail {
    color: lightgray;
}

.dark-mode .dropdown-container-bg-color {
    background-color: white;
}

.dark-mode .pagination a {
    background-color: #007bff;
}

.dark-mode .college-field a {
    color: aliceblue;
}

.dark-mode .college-field a:hover {
    color: dodgerblue;
}

.dark-mode .college-result-detail a {
    color: #D3D3D3;
}

.dark-mode .college-name a {
    color: aliceblue;
}

.dark-mode .college-name a:hover {
    color: dodgerblue;
}




/* FAQ Section Styling */
.faq-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 25px;
    background: #f4f4f9;
    border-radius: 8px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.faq-container h1 {
    font-size: 26px;
    color: #222;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

/* Centering All FAQ Sections */
.faq-section {
    width: 80%;
    max-width: 800px;
    /* Ensuring all sections have the same max width */
    margin: 15px auto;
    padding: 15px;
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border-left: 5px solid #ff6600;
}

.faq-section h2 {
    font-size: 20px;
    color: #ff6600;
    margin-bottom: 10px;
    text-align: left;
    font-weight: bold;
}

.faq-item {
    background: #fff;
    margin-bottom: 12px;
    padding: 12px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    width: 100%;
}

.faq-item:hover {
    background: #fffae6;
}

.faq-item h3 {
    font-size: 18px;
    color: #333;
    cursor: pointer;
    margin-bottom: 5px;
    transition: color 0.3s ease;
    font-weight: bold;
}

.faq-item h3:hover {
    color: #ff6600;
}

.faq-item p {
    font-size: 16px;
    color: #555;
    margin: 5px 0 0 0;
    padding-top: 5px;
    display: block;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .faq-container {
        width: 90%;
        padding: 20px;
    }

    .faq-container h1 {
        font-size: 22px;
    }

    .faq-section {
        padding: 12px;
    }

    .faq-section h2 {
        font-size: 18px;
    }

    .faq-item {
        padding: 10px;
    }

    .faq-item h3 {
        font-size: 16px;
    }

    .faq-item p {
        font-size: 14px;
    }
}


/* Dark Mode for FAQ Section */
.dark-mode {
    background-color: #121212;
    color: #ffffff;
}

/* Dark Mode FAQ Container */
.dark-mode .faq-container {
    background: #1e1e1e;
    box-shadow: 0 3px 6px rgba(255, 255, 255, 0.1);
}

/* Dark Mode Heading */
.dark-mode .faq-container h1 {
    color: #f8f8f8;
}

/* Dark Mode FAQ Sections */
.dark-mode .faq-section {
    background: #252525;
    border-left: 5px solid #f57f1a;
    box-shadow: 0 2px 4px rgba(255, 255, 255, 0.05);
}

/* Dark Mode FAQ Section Titles */
.dark-mode .faq-section h2 {
    color: #f57f1a;
}

/* Dark Mode FAQ Items */
.dark-mode .faq-item {
    background: #333;
    color: #ddd;
    box-shadow: 0 1px 3px rgba(255, 255, 255, 0.1);
}

.dark-mode .faq-item:hover {
    background: #444;
}

/* Dark Mode FAQ Item Titles */
.dark-mode .faq-item h3 {
    color: #ffffff;
}

.dark-mode .faq-item h3:hover {
    color: #ffcc00;
}

/* Dark Mode FAQ Item Paragraphs */
.dark-mode .faq-item p {
    color: #bbb;
}

/* Responsive Dark Mode */
@media (max-width: 768px) {
    .dark-mode .faq-container {
        width: 90%;
        padding: 20px;
    }

    .dark-mode .faq-container h1 {
        font-size: 22px;
    }

    .dark-mode .faq-section {
        padding: 12px;
    }

    .dark-mode .faq-section h2 {
        font-size: 18px;
    }

    .dark-mode .faq-item {
        padding: 10px;
    }

    .dark-mode .faq-item h3 {
        font-size: 16px;
    }

    .dark-mode .faq-item p {
        font-size: 14px;
    }
}