.checked {
    color: orange;
}

body {
    background-color: #F7F6F4;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    color: #1E3D6B;
    line-height: 1.6;
}



h1,
h2,
h3,
h4 {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    color: #1E3D6B;

}

h1 {
    font-size: 48px;
    line-height: 56px;
}

h2 {
    font-size: 36px;
    line-height: 44px;
}

h3 {
    font-size: 24px;
}


label {
    display: block;
    margin-bottom: .5rem;
}


/* Add this to your CSS file */
.age-categories,
.student-levels,
.specialisations {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #dee2e6;
    padding: 10px;
    border-radius: 4px;
}

.form-check {
    margin-bottom: 5px;
}


/* Add to your stylesheet */
.search-results section {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.search-results h2 {
    position: relative;
    padding-left: 15px;
}

.search-results h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10%;
    height: 80%;
    width: 5px;
}

.search-results section:nth-of-type(1) h2::before {
    background-color: #28a745;
}

.search-results section:nth-of-type(2) h2::before {
    background-color: #ffc107;
}

.search-results section:nth-of-type(3) h2::before {
    background-color: #17a2b8;
}


/* Add to your stylesheet */
a .availability-tag {
    transition: all 0.2s ease;
}

a:hover .availability-tag {
    background-color: rgba(40, 167, 69, 0.1);
    transform: translateY(-2px);
}

/* Profile Card Styles */
.card {
    border: 1px solid #e3e6f0;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(30, 61, 107, 0.1);
    background-color: #fff;
}

.card-title {
    color: #2165B2;
    font-weight: 600;
    margin-bottom: 15px;
}

.card-title a {
    color: #2165B2;
    text-decoration: none;
    transition: color 0.3s ease;
}

.card-title a:hover {
    color: #1E3D6B;
    text-decoration: none;
}

.card-text {
    color: #1E3D6B;
    line-height: 1.6;
}

/* Profile card specific elements */
.profile-image {
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #F7F6F4;
    box-shadow: 0 2px 8px rgba(30, 61, 107, 0.1);
}

/* Tags styling */
.tag {
    border: 2px solid #2165B2;
    border-radius: 30px;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #2165B2;
    background-color: rgba(33, 101, 178, 0.05);
    white-space: nowrap;
    display: inline-block;
    transition: all 0.3s ease;
}

.tag:hover {
    background-color: #2165B2;
    color: #fff;
}

/* Availability tags */
.availability-tag {
    border: 2px solid #2165B2;
    border-radius: 30px;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #2165B2;
    background-color: rgba(33, 101, 178, 0.05);
    white-space: nowrap;
    display: inline-block;
    margin-bottom: 4px;
    transition: all 0.3s ease;
}

.availability-tag:hover {
    background-color: rgba(33, 101, 178, 0.1);
    transform: translateY(-1px);
}

.availability-tag.highlighted {
    background-color: #F8606A;
    border-color: #F8606A;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(248, 96, 106, 0.3);
    animation: pulse-highlight 2s ease-in-out;
}

@keyframes pulse-highlight {
    0% {
        box-shadow: 0 2px 8px rgba(248, 96, 106, 0.3);
    }

    50% {
        box-shadow: 0 4px 16px rgba(248, 96, 106, 0.5);
    }

    100% {
        box-shadow: 0 2px 8px rgba(248, 96, 106, 0.3);
    }
}

/* Button styling */
.btn-vj {
    display: inline-block;
    border-radius: 25px;
    background-color: #2165B2;
    border: 2px solid #2165B2;
    color: #fff;
    text-align: center;
    padding: 8px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-vj:hover {
    background-color: #1E3D6B;
    border-color: #1E3D6B;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 61, 107, 0.3);
}

.btn-outline-primary.btn-vj {
    background-color: transparent;
    color: #2165B2;
    border-color: #2165B2;
}

.btn-outline-primary.btn-vj:hover {
    background-color: #2165B2;
    color: #fff;
    border-color: #2165B2;
}

/* Small text elements */
.small,
small {
    color: #1E3D6B;
    font-weight: 500;
}

/* Star rating colors */
.star-rating-profile {
    position: relative;
    display: inline-block;
    font-size: 20px;
    line-height: 1;
    color: #ddd;
}

.star-rating-profile::before {
    content: "★★★★★";
}

.star-rating-profile::after {
    content: "★★★★★";
    position: absolute;
    top: 0;
    left: 0;
    color: #FFCF4D;
    width: var(--rating-width, 0);
    overflow: hidden;
}

/* Review count link */
.ms-2 a {
    color: #1E3D6B;
    text-decoration: none;
    font-size: 0.9em;
}

.ms-2 a:hover {
    color: #2165B2;
    text-decoration: underline;
}

/* Header Styles */
header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

#logo {
    display: flex;
    align-items: center;
}

#logo img {
    max-width: 100%;
    height: auto;
}

/* Navigation Styles */
.main-navigation {
    padding: 0;
}

.menu-menu-container {
    display: flex;
    justify-content: center;
}

#menu-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 15px 0;
    align-items: center;
}

.menu-item {
    margin: 0 25px;
}

.menu-item a {
    color: #1E3D6B;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
    border-radius: 5px;
}

.menu-item a:hover {
    color: #007bff;
    background-color: rgba(0, 123, 255, 0.1);
}

/* Hamburger Menu Button (hidden by default) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #1E3D6B;
    cursor: pointer;
    padding: 10px;
    margin-left: auto;
}

.menu-toggle:focus {
    outline: none;
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
    .header-top {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    #logo img {
        width: 250px;
        height: auto;
        margin-left: 10px;
    }

    .menu-toggle {
        display: block;
    }

    .main-navigation {
        position: relative;
    }

    .menu-menu-container {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fff;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }

    .menu-menu-container.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    #menu-menu {
        flex-direction: column;
        padding: 0;
        margin: 0;
    }

    .menu-item {
        margin: 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #f0f0f0;
    }

    .menu-item:last-child {
        border-bottom: none;
    }

    .menu-item a {
        display: block;
        padding: 15px 20px;
        width: 100%;
        font-size: 18px;
    }

    .menu-item a:hover {
        background-color: #f8f9fa;
    }
}

/* Extra small devices */
@media screen and (max-width: 480px) {
    .header-top {
        padding: 8px 15px;
    }

    #logo img {
        width: 200px;
        margin-left: 5px;
    }

    .menu-toggle {
        font-size: 20px;
        padding: 8px;
    }

    .menu-item a {
        font-size: 16px;
        padding: 12px 15px;
    }
}

/* Footer Styles */
footer {
    background-color: #1E3D6B;
    color: #fff;
    padding: 50px 0 0;
    margin-top: 60px;
}

footer .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    padding-bottom: 40px;
}

.footer-third {
    flex: 1;
    min-width: 250px;
    display: flex;
    gap: 20px;
}

.footer-half {
    flex: 1;
    min-width: 120px;
}

.footer-title {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    border-bottom: 2px solid #007bff;
    padding-bottom: 8px;
    display: inline-block;
}

.btn-footer {
    background: none;
    border: none;
    padding: 0;
    margin-bottom: 20px;
}

.btn-footer img {
    filter: brightness(0) invert(1);
}

footer p {
    margin-bottom: 15px;
    line-height: 1.6;
}

footer a {
    color: #B8D4F0;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
    margin-bottom: 5px;
}

footer a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Newsletter Styles */
.footer-newsletter {
    width: 100%;
}

.footer-newsletter p {
    margin-bottom: 20px;
    color: #B8D4F0;
}

.newsletter-form {
    margin-bottom: 25px;
}

.newsletter-container {
    border-radius: 5px;
    padding: 20px;
}

.newsletter-input {
    margin-bottom: 15px;
}

.newsletter-input input {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    background-color: #fff;
    color: #1E3D6B;
}

.newsletter-input input::placeholder {
    color: #666;
}

.newsletter-input input:focus {
    outline: none;
    box-shadow: 0 0 0 2px #007bff;
}

.btn-newsletter {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.btn-newsletter:hover {
    background-color: #0056b3;
}

/* Social Media Styles */
.social-media {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.social-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #B8D4F0;
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-footer:hover {
    background-color: #007bff;
    color: #fff;
    transform: translateY(-2px);
    text-decoration: none;
}

/* Copyright */
.copyright {
    background-color: rgba(0, 0, 0, 0.2);
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
    color: #B8D4F0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright a {
    color: #B8D4F0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.copyright a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Footer Responsive Styles */
@media screen and (max-width: 768px) {
    footer .container {
        flex-direction: column;
        gap: 30px;
    }

    .footer-third {
        flex-direction: column;
        min-width: 100%;
        gap: 25px;
    }

    .footer-half {
        min-width: 100%;
    }

    .social-media {
        justify-content: center;
        gap: 12px;
    }

    .social-footer {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}

@media screen and (max-width: 480px) {
    footer {
        padding: 30px 0 0;
        margin-top: 40px;
    }

    .footer-title {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .newsletter-container {
        padding: 15px;
    }

    .newsletter-input input,
    .btn-newsletter {
        padding: 10px 12px;
        font-size: 14px;
    }

    .social-media {
        gap: 10px;
    }

    .social-footer {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

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

/* Search Form Styles */
.search-form {
    background: linear-gradient(135deg, #2165B2 0%, #1E3D6B 100%);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(33, 101, 178, 0.2);
    position: relative;
    overflow: hidden;
}

.search-form::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
    z-index: 1;
}

.search-form>* {
    position: relative;
    z-index: 2;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(-20px, -20px) rotate(180deg);
    }
}

.search-form h1 {
    color: #fff;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.2rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.search-form label {
    color: #fff;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 0.95rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Form Controls */
.search-form select,
.search-form input {
    border: none;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 16px;
    background-color: rgba(255, 255, 255, 0.95);
    color: #1E3D6B;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.search-form select:focus,
.search-form input:focus {
    outline: none;
    background-color: #fff;
    box-shadow: 0 6px 20px rgba(33, 101, 178, 0.3);
    transform: translateY(-2px);
}

/* Language Selector */
.language-selector {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    margin-top: 8px;
    backdrop-filter: blur(10px);
}

.language-selector .form-check {
    margin-bottom: 8px;
}

.language-selector .form-check-input {
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
}

.language-selector .form-check-input:checked {
    background-color: #FFCF4D;
    border-color: #FFCF4D;
}

.language-selector .form-check-label {
    color: #fff;
    font-size: 0.9rem;
    margin-left: 8px;
}

/* Search Button */
.search-form .btn-primary {
    background: linear-gradient(135deg, #F8606A 0%, #FFCF4D 100%);
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    font-size: 1.1rem;
    color: #fff;
    box-shadow: 0 6px 20px rgba(248, 96, 106, 0.4);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 10;
    cursor: pointer;
    pointer-events: auto;
    text-decoration: none;
}

.search-form .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(248, 96, 106, 0.6);
    background: linear-gradient(135deg, #FFCF4D 0%, #F8606A 100%);
    color: #fff;
}

.search-form .btn-primary:active {
    transform: translateY(-1px);
}

.search-form .btn-primary:focus {
    box-shadow: 0 6px 20px rgba(248, 96, 106, 0.4);
    outline: none;
    color: #fff;
}

/* Advanced Filters Card */
.search-form .card {
    background: rgba(255, 255, 255, 0.98);
    border: none;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    overflow: hidden;
    position: relative;
    z-index: 5;
}

.search-form .card-header {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 246, 244, 0.98) 100%);
    border-bottom: 1px solid rgba(33, 101, 178, 0.1);
    padding: 15px 20px;
}

.search-form .collapse-toggle {
    color: #2165B2 !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.search-form .collapse-toggle:hover {
    color: #1E3D6B !important;
    text-decoration: none;
}

.search-form .collapse-toggle i {
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

.search-form .card-body {
    padding: 25px;
    background: rgba(255, 255, 255, 0.95);
}

/* Advanced filters labels - override the white color from main form */
.search-form .card-body label {
    color: #1E3D6B !important;
    font-weight: 600;
}

/* Filter containers */
.age-categories,
.student-levels,
.specialisations {
    background: rgba(247, 246, 244, 0.5);
    border: 1px solid rgba(33, 101, 178, 0.1);
    border-radius: 10px;
    padding: 15px;
    max-height: 200px;
    overflow-y: auto;
}

.age-categories::-webkit-scrollbar,
.student-levels::-webkit-scrollbar,
.specialisations::-webkit-scrollbar {
    width: 6px;
}

.age-categories::-webkit-scrollbar-track,
.student-levels::-webkit-scrollbar-track,
.specialisations::-webkit-scrollbar-track {
    background: rgba(33, 101, 178, 0.1);
    border-radius: 3px;
}

.age-categories::-webkit-scrollbar-thumb,
.student-levels::-webkit-scrollbar-thumb,
.specialisations::-webkit-scrollbar-thumb {
    background: #2165B2;
    border-radius: 3px;
}

/* Form checks in advanced filters */
.search-form .form-check {
    margin-bottom: 8px;
}

.search-form .form-check-input {
    border: 2px solid #2165B2;
    border-radius: 4px;
}

.search-form .form-check-input:checked {
    background-color: #2165B2;
    border-color: #2165B2;
}

.search-form .form-check-label {
    color: #1E3D6B;
    font-size: 0.9rem;
    margin-left: 8px;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .search-form {
        padding: 20px 15px;
        margin-bottom: 30px;
    }

    .search-form h1 {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }

    .search-form .btn-primary {
        width: 100%;
        margin-top: 15px;
    }

    .language-selector {
        padding: 12px;
    }
}

@media screen and (max-width: 480px) {
    .search-form {
        padding: 15px 10px;
        border-radius: 15px;
    }

    .search-form h1 {
        font-size: 1.6rem;
    }

    .search-form select,
    .search-form input {
        padding: 10px 12px;
        font-size: 14px;
    }
}

/* Search Wizard Button Styles */
.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

/* Footer Responsive Styles */
@media screen and (max-width: 767px) {
    .footer-third {
        width: 100%;
        margin-bottom: 2rem;
    }

    .footer-half {
        width: 50%;
        float: left;
    }

    .footer-newsletter {
        clear: both;
        padding-top: 1rem;
    }
}

/* Back to top button styling */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #3498db;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0.9;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border: 2px solid #fff;
}

.back-to-top:hover {
    opacity: 1;
    color: white;
    background: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.back-to-top i {
    font-size: 1.5rem;
}

/* Mobile Text Alignment Override */
@media screen and (max-width: 768px) {

    /* Override center alignment for better mobile readability */
    .hero-section h1,
    .hero-section p,
    .hero-section .lead,
    .section-title,
    .content-section h2,
    .content-section h3,
    .content-section p,
    .card-body h3,
    .card-body p,
    .feature-text,
    .description-text {
        text-align: left !important;
    }

    /* Keep center alignment for specific UI elements that look better centered */
    .hero-section .btn,
    .cta-section,
    .pricing-section,
    .testimonial-section,
    .contact-form,
    .footer-section,
    .stat-cards,
    .button-container {
        text-align: center !important;
    }
}