.hero-section {
    background-image: url('../images/background.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    color: #fff;
    display: flex;
    height: 100vh;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
}

.hero-content h2 {
    font-family: 'Lora', serif;
    font-size: 20px;

    font-style: italic;
    font-weight: 300;
    /* letter-spacing: 1px; */
    margin-bottom: 20px;


}

.hero-content h1 {
    font-size: 68px;
    margin-bottom: 60px;
    line-height: 68px;
}

.new-badge {
    background-color: var(--dark-green);
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 14px;
    margin-left: 5px;
}

.search-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    background-color: white;
    padding: 10px 10px;
    border-radius: 0.4rem;
}

.search-options {
    display: flex;
    gap: 30px;
    padding: 0px 20px;
}

.search-options label {
    font-size: 14px;
    font-weight: 500;
    color: var(--blue-text);
}

.search-bar {
    display: flex;
    flex-grow: 1;
    align-items: center;
    justify-content: center;
    width: inherit;
    /* border-left: 1px solid lightgrey; */
    padding-left: 20px;
}


.search-input-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    border-radius: 4px;
    padding: 0px 10px;
}

.search-bar input {
    background: transparent;
    color: var(--black-text);
    height: 56px;
    font-size: 16px;
    padding: 10px;
    border: none;
    outline: none;
    border-radius: 0.4rem;
    width: 100%;
}

.search-button-wrapper {
    display: flex;
    gap: 8px;
    font-size: 22px;
    align-items: center;
    justify-content: center;
}

.search-button {
    height: 56px;
    padding: 10px 20px;
    background-color: var(--primary-blue);
    color: #fff;
    border: none;
    border-radius: 0.4rem;
    cursor: pointer;
}

.filter-toggle{
    position:relative;
}

.filter-toggle.open .search-filters {
    display: flex;
    flex-direction: column;
    position:absolute;
    top:10px;
}

.search-filters {
    display: none;
    background: #fff;
    color:#000;
    text-align:left;
    border-radius: 8px;
    padding: 30px;
    margin: 10px 0px;
    position: relative;
    box-shadow: 0 0 20px 0 rgb(19 115 234 / 10%);
    -webkit-box-shadow: 0 0 20px 0 rgb(19 115 234 / 10%);
}

.dropdowns-wrapper {
    margin: 0px 0px 20px 0px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.dropdowns-wrapper select {
    background: #fff;
    border: 1px solid #eff3f6;
    border-radius: 3px;
    color: #646e77;
    font-size: 15px;
    box-shadow: none;
    padding: 16px 20px;
}

.facility-wrapper {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    padding:10px;
    margin-bottom:20px;
}

.facility-wrapper label {
    display: flex;
    gap: 4px;
    color: var(--black-text);
    font-weight: 500;
}

.text-primary {
    color: #074da3 !important;
}

.svg-icon {
    color: var(--grey-blue);
}

.filter-icon {
    padding: 0px 30px;
}

.filter-icon i {
    width: 30px;
    color: var(--grey-blue);
}

@media (max-width: 768px) {

    .hero-section {
        padding: 0.5rem;
    }

    .hero-content h2 {
        font-size: 18px;
        line-height: 32px;
    }

    .hero-content h1 {
        font-size: 28px;
        line-height: 32px;
    }

    .search-options {
        justify-content: center;
        align-items: center;
    }

    .search-bar {
        flex-direction: column;
        border: none;
        gap: 10px;
        padding-left: 0px;
    }

    .search-input-wrapper {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        border: 1px solid lightgrey;
        border-radius: 4px;
        padding: 0px 10px;
    }

    .search-bar input {
        width: 100%;
        font-size: 14px;
    }

    .search-button-wrapper {
        flex-direction: column;
        width: 100%;
    }

    .search-button {
        width: 100%;
        background: var(--primary-blue);
    }

    .search-container {
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        gap: 10px;
    }

    .filter-icon {
        padding: 6px 30px;
        background: whitesmoke;
        width: 100%;
        border-radius: 4px;
    }

    .logo img {
        height: 40px;
    }

    .navbar {
        justify-content: space-between;
        padding: 10px 20px;
    }

}

.section-heading {
    width: 90%;
    margin: 20px auto;
    border-radius: 20px;
    padding: 40px 0px;
}

@media (max-width: 768px) {
    .section-heading {
        padding: 40px 10px;
    }
}

.section-heading h2 {
    font-size: 30px;
    text-align: center;
    color: var(--black-text);
}

.section-heading p {
    text-align: center;
    color: var(--body-text);
    font-size: var(--small-text);
    line-height: 1.8;
    margin: 0 auto;
    width: 60%;
}


@media (max-width: 768px) {
    .section-heading p {
        width: 100%;
    }
}

.regions-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 100%;
    margin: 0 auto;
    padding: 20px 0px;
}

@media (max-width: 768px) {
    .regions-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        width: 100%;
    }
}


.region-card {
    border: 1px solid #dee2e6;
    display: flex;
    padding: 12px;
    border-radius: 100px;
    height: 76px;
    width: 240px;
    gap: 16px;
}

@media (max-width: 768px) {
    .region-card {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        height: 140px;
        border-radius: 20px;
    }
}

.region-card img {
    width: 50px;
    height: 50px;
    border-radius: 50px;
    object-fit: cover;
}

.empty-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: whitesmoke;
}

.region-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
}

.region-info h3 {
    line-height: 1;
    margin: 0;
    padding: 0;
}

.region-info p {
    line-height: 1;
    margin: 0;
    padding: 0;
    width: 100%;
}

@media (max-width: 768px) {
    .region-info {
        align-items: center;
    }

    .region-info h3 {
        text-align: center;
    }

    .region-info p {
        text-align: center;
    }
}

.institution-type {
    background-color: #eff4fc !important;
}


.institutions-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 100%;
    margin: 0 auto;
    padding: 20px 20px;
}

@media (max-width: 768px) {
    .institutions-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        width: 100%;
    }
}

.institution-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: 16px;
    height: 160px;
    width: 240px;
    gap: 16px;
    background-color: white;
}

@media (max-width: 768px) {
    .institution-card {
        width: 100%;
    }
}

.institution-card .icon {
    width: 80px;
    height: 80px;
    border-radius: 60px;
    object-fit: cover;
    background: #eff4fc;
    display: flex;
    flex-direction: column;
    gap: 4px;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 24px;
}

.institution-card .icon i {
    color: var(--accent-blue);
}

.institution-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    justify-content: center;
    align-items: center;

    text-align: center;
}

.institution-info h3 {
    line-height: 1;
    margin: 0;
    padding: 0;
    font-size: 14px !important;
}

.institution-info p {
    line-height: 1;
    margin: 0;
    padding: 0;
    width: 100%;
}




.featured-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 100%;
    margin: 0 auto;
    padding: 20px 0px;
}

@media (max-width: 768px) {
    .featured-wrapper {
        gap: 10px;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

.featured-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    border-radius: 16px;
    gap: 16px;
    background-color: white;
    border: 1px solid #dee2e6;
    padding: 16px;
}


@media (max-width: 768px) {
    .featured-card {
        padding: 8px;
        justify-content: space-between;
    }

}

.featured-card .school-photo {
    background: white;
    width: 100%;
    min-width: 300px;
    max-width: 300px;
    height: 200px;
    border-radius: 8px;
    position: relative;
}

.featured-card .school-photo img{
    height:200px;
    object-fit:scale-down;
}

.curriculum-wrapper {
    position: absolute;
    top: 8px;
    left: 12px;
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .curriculum-wrapper {
        left: 4px;
    }
}

.curriculum {
    background: #2E9868;
    border-radius: 4px;
    padding: 2px 8px;
    font-size: 12px;
    color: #fff;
    display: flex;
    gap: 6px;
}

@media (max-width: 768px) {
    .curriculum {
        font-size: 9px;
        padding: 2px 4px;
    }
}

.curriculum img {
    max-width: 16px;
    max-height: 16px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

@media (max-width: 768px) {
    .featured-card .school-photo {
        min-width: 100%;
        max-width: 100%;
        height: 160px;
    }
}

.featured-card img {
    width: 100%;
    height: 280px;
    border-radius: 8px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .featured-card img {
        height: 160px;
    }
}


.featured-info {
    text-align: left;
    justify-content: left;
    width: 100%;
}

.featured-info .level-label {
    display: inline-block;
    padding: 4px 8px;
    background: var(--light-green-background);
    color: var(--dark-green);
    border-radius: 4px;
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: bold;
}

.featured-info h3 {
    line-height: 1;
    margin: 0;
    padding: 0;
    font-size: 14px !important;
    text-align: left;
}

.featured-info p {
    line-height: 1;
    margin: 16px 0px;
    padding: 0px 0px 4px 8px;
    width: 100%;
    text-align: left;
}

.featured-info .featured-location {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.featured-info .featured-buttons {
    display: flex;
    justify-content: space-between;
}

.featured-info .featured-buttons .view-button {
    padding: 4px 16px;
    background: var(--primary-blue);
    color: #fff;
    border-radius: 6px;
    font-size: 12px;
    font-weight: bold;
}

.events {
    background: #f7f9fc url(../images/pattern.png);
}

.events-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 100%;
    margin: 0 auto;
    padding: 20px 0px;
}


@media (max-width: 768px) {
    .events-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
}

.event-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    gap: 16px;
    background-color: white;
    border: 1px solid #dee2e6;
    padding: 16px;
    width: 320px;
}

@media (max-width: 768px) {
    .event-card {
        gap: 10px;
        padding: 10px;
        width: 100%;
    }
}

.event-card .icon {
    width: 80px;
    height: 80px;
    object-fit: cover;
    display: flex;
    flex-direction: column;
    gap: 4px;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 24px;
}

.event-card .icon .stack {
    position: relative;
    display: inline-block;
}

.event-card .icon .stack i {
    position: absolute;
    bottom: -5px;
    right: -5px;
    font-size: 12px;
    color: #fefefe;
    background: var(--primary-blue);
    padding: 8px;
    border-radius: 50%;
}

.event-card img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    display: block;
}


.event-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    justify-content: center;
    align-items: center;

    text-align: center;
}

.event-info h3 {
    line-height: 1;
    margin: 0;
    padding: 0;
    font-size: 16px !important;
}

.event-info .school-name {
    background: #f69520;
    color: #fefefe;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 12px;
}

.event-info .event-date {
    color: #a70a29 !important;
    padding: 4px 0px;
}

.event-info p {
    line-height: 1.5;
    margin: 0;
    padding: 0;
    width: 100%;
}

.cta-wrapper {
    width: 100%;
    padding: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin: 0 auto;
}

.cta {
    padding: 20px 0px;
    background: #2196F3;
}

.cta-info h2 {
    line-height: 1.7;
    margin: 0;
    padding: 0;
    font-size: 20px !important;
    color: #fefefe;
}

.cta-info p {
    line-height: 1.5;
    margin: 0;
    padding: 0;
    width: 100%;
    color: #fefefe;
}

.cta-button {
    background: #ffffff;
    padding: 18px 40px;
    border-radius: 50px;
    color: #333640;
    font-weight: 600;
    border: none;
    box-shadow: 0px 0px 0px 5px rgba(255, 255, 255, 0.2);
    -webkit-box-shadow: 0px 0px 0px 5px rgba(255, 255, 255, 0.2);
}

footer {
    background: #074da3;
}

.company-wrapper {
    padding: 80px 120px;
    display: flex;
    flex-wrap: wrap;
    gap: 100px;
}


@media (max-width: 768px) {
    .company-wrapper {
        padding: 20px 20px;
        display: grid;
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.company p {
    line-height: 2.5;
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6)
}

.logo-white {
    height: 48px;
}

ul {
    list-style: none;
    padding: 0px;
    margin: 0px;
}

footer ul li a {
    line-height: 2.5;
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    transition: all ease 0.4s;
}


footer ul li a:hover {
    color: #fefefe;
}

footer ul .title {
    font-weight: bold;
    color: #fefefe;
    font-size: 14px;
}

footer .platform {
    display: flex;
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 4px;
    padding: 10px 60px 5px 10px;
    margin-top: 20px;

}

@media (max-width: 768px) {
    footer .platform {
        padding: 10px 10px;
    }
}

footer .platform img {
    padding-right: 10px;
    filter: brightness(0) invert(1);
}

.platform h3 {
    font-size: 16px;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1;
}

.platform p {
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
}

.legal {
    border-top: 1px solid rgb(255 255 255 / 10%);
    padding: 20px 120px;
    display: flex;
    justify-content: space-between;
}

@media (max-width: 768px) {
    .legal {
        padding: 20px 10px;
        text-align: center;
        display: flex;
        flex-direction: column-reverse;
        gap: 20px;
        justify-content: center;
        justify-items: center;
        align-items: center;
    }
}

.legal .copyright {
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
    .legal .copyright {
        text-align: center;
        display: inline;
        margin: 0 auto;
    }
}


.legal .social {
    display: flex;
    gap: 30px;
}


.developer {
    padding: 40px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
    .developer {
        padding: 40px 10px;
        font-size: 14px;
        background: var(--accent-blue);
    }
}

.developer a {
    font-weight: bold;
}



/* Basic snackbar style */
#snackbar {
    visibility: hidden;
    /* Hidden by default */
    text-align: center;
    /* Centered text */
    border-radius: 2px;
    /* Rounded corners */
    padding: 8px;
    /* Padding */
    margin: 16px 0px;
    position: relative;
    /* Relative positioning */
    z-index: 1;
    /* Ensure it’s on top */
}

/* Snackbar for error messages */
.error {
    background: #FBE7E5;
    border: 1px solid #d9534f;
    /* Red background for errors */
}

/* Snackbar for success messages */
.success {
    border: 1px solid #5cb85c;
    background: #E6FFEC;
    /* Green background for success */
}

.page-header{
    display:flex;
    justify-content: space-between;
}


/* Button Styling */
.btn {
    
    border: none;
    border-radius: 4px;
    cursor: pointer;
    height:40px;
}

.btn-primary {
    padding: 8px 15px;
    background-color: var(--primary-blue);
    color: #fff;
}

