/* Blinking Red Dot Animation */
#zeochat-campuses .loader__dot:before {
    content: "\25CF";
    animation: 3s blink infinite;
    font-size: 27px;
    color: red;
    position: absolute;
    text-shadow: 0 0 0 #ddd;
    left: 9px;
    top: 12px;
}

#zeochat-campuses .loader__dot.alt__dot:before {
    animation: 3s blink infinite;
    font-size: 36px !important;
    color: red;
    position: relative;
    text-shadow: 0 0 0 #ddd;
    left: 84px;
    top: -33px;
}

@keyframes blink {
    50% { color: transparent }
}

/* Experience Cards */
.classes {
    z-index: 0;
    margin: 0 6px;
    margin-bottom: 30px;
}

.classes .classes-img {
    display: block;
    object-fit: cover;
    position: relative;
    height: 250px;
    width: 100%;
    z-index: -1;
}

.classes .wrap {
    border: 1px solid #e6e6e6;
    border-top: none;
    width: 95%;
    background: #fff;
    margin-top: -2em;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
    border-radius: 0 0 12px 0;
}

.classes .wrap .desc {
    padding: 1.5em;
    padding-bottom: 21px;
    position: relative;
}

.classes .wrap .desc h2.campus {
    color: #F1D128;
    display: block;
    margin-bottom: 0px;
    font-size: 21px;
    font-weight: 600;
}

#zeochat-campuses .classes .wrap .desc h2.campus {
    margin-bottom: 21px;
}

.desc h2.campus a {
    color: #000 !important;
}

.classes .wrap .desc h4 {
    padding: 0;
    margin: 0;
    line-height: 39px;
    font-size: 15px;
}

.classes .wrap .desc ul {
    margin: 0px;
    padding-left: 0px;
    list-style: none;
}

.classes .wrap .desc ul li {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 0;
    line-height: 30px;
}

.classes ul.details {
    list-style: none;
    padding: 0px;
    margin-bottom: 0px;
}

.classes .wrap .pricing {
    border-top: 1px solid #f0f0f0;
    /* padding: .8em 1.5em; */
    position: relative;
}

.classes.campuses .wrap .pricing ul {
    padding-left: 0px;
    padding-bottom: 9px;
    list-style: none;
    margin-bottom: 0px;
}

.classes.campuses .wrap .pricing .price {
    float: none;
}

.classes .wrap .pricing li {
    margin-bottom: 0;
    line-height: 30px;
}

.icon-calendar, .classes a {
    color: #000;
}

.classes .wrap .pricing .price a {
    color: #2e8b57;
    font-weight: 400;
    font-size: 24px;
}

.classes .wrap .pricing .price {
    float: right;
}

.classes .wrap .pricing .price .old-price {
    margin-left: 10px;
    font-weight: 300;
    text-decoration: line-through;
    color: #b3b3b3;
}

.classes .wrap .pricing span.more {
    float: right;
}

.classes .wrap .pricing .more a {
    color: #b3b3b3;
}

.classes:hover .wrap, .classes:focus .wrap {
    -webkit-box-shadow: 0px 23px 61px -34px rgba(0, 0, 0, 0.21);
    -moz-box-shadow: 0px 23px 61px -34px rgba(0, 0, 0, 0.21);
    -ms-box-shadow: 0px 23px 61px -34px rgba(0, 0, 0, 0.21);
    -o-box-shadow: 0px 23px 61px -34px rgba(0, 0, 0, 0.21);
    box-shadow: 0px 23px 61px -34px rgba(0, 0, 0, 0.21);
}

.classes.campuses .wrap .desc ul {
    list-style: none;
    padding: 0px;
    line-height: 33px;
}

.classes.campuses .wrap .desc ul li {
    font-size: 18px;
    font-weight: 500;
}

.classes.campuses .location {
    color: #555555;
    font-size: 15px;
    line-height: 33px;
}

.classes.campuses .wrap .pricing {
    /* padding: .8em 1.5em; */
    padding-bottom: 0px;
}

.classes.campuses .wrap .desc ul.dropdown-menu li {
    line-height: 1.5;
}

.classes.campuses .wrap .desc ul.dropdown-menu li.divider {
    margin-bottom: 3px;
}

#zeochat-campuses .classes.campuses .wrap .desc ul {
    padding-bottom: 9px;
}

/* Chat Button Styling from Welcome Page */
#zeochat-campuses .col-md-2 button {
    position: absolute;
    left: 0;
    top: 0;
    padding: 27px 12px;
    border: 1px solid #F1D128;
    border-radius: 12px 0;
    font-size: 15px;
    color: #2E8B57;
    font-weight: 600;
    background: transparent;
    width: 100%;
    height: 100%;
}

#zeochat-campuses button:hover {
    background: #F1D128;
    color: #2E8B57;
}

/* Input Fields Styling */
.zeochat-form .form-control {
    border: 1px solid #F1D128;
    height: 50px;
    background: #fff;
    font-size: 16px;
    color: #000;
    box-shadow: none;
}

.zeochat-form .form-field i {
    display: none; /* Hide icons in input if not in screenshot */
}

.zeochat-form .form-field input {
    width: 100%;
    padding-left: 15px; /* Adjust padding since icon is hidden */
}

/* Ensure container is centered */
.center-heading {
    text-align: center;
    margin-bottom: 50px;
}

/* Custom Grid System for Landing Page (since Bootstrap is missing) */
.zeochat-classes .container {
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}

.zeochat-classes .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.zeochat-classes .col-md-4 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

.zeochat-classes .col-md-12 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    flex: 0 0 100%;
    max-width: 100%;
}

.zeochat-classes .col-md-10 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
}

.zeochat-classes .col-md-2 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
}

/* Responsive Grid */
@media (max-width: 991px) {
    .zeochat-classes .col-md-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 767px) {
    .zeochat-classes .col-md-4, 
    .zeochat-classes .col-md-10, 
    .zeochat-classes .col-md-2 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .chat-cta button {
        position: relative !important;
        margin-top: 10px;
    }
}

/* Fix Image Display */
.classes .classes-img {
    display: block;
    width: 100%;
    height: 250px;
    object-fit: cover;
    border: none;
    position: relative;
    z-index: 1; /* Ensure image is visible */
}

.classes .wrap {
    position: relative;
    z-index: 2; /* Ensure content is above image */
    background: #fff;
    margin-top: -2em;
}

.chat-cta.pricing {
    padding: 1px 15px 0rem 22px;
    border-radius: 12px 0;
}

/* Compass Icon Styling */
.compass-icon {
    font-size: 39px;
    color: #fff;
    box-shadow: 1px 1px 1px #000;
    text-shadow: 1px 1px 1px #777;
    background: #F1D128;
    padding: 21px;
    border-radius: 50%;
    margin-right: 12px;
}

/* Responsive Heading */
@media (max-width: 767px) {
    .zeochat-heading h3 {
        font-size: 18px; /* Smaller font size for mobile */
        line-height: 1.5;
        padding: 0 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: relative; /* Ensure relative positioning for absolute child */
    }
    
    .compass-icon {
        font-size: 28px; /* Smaller icon */
        padding: 15px; /* Smaller padding */
        margin-right: 0;
        margin-bottom: 10px;
        display: inline-block;
    }
    
    .loader__dot.alt__dot:before {
        position: absolute;
        font-size: 24px !important; /* Smaller red dot */
        left: 50%; /* Center horizontally */
        margin-left: 12px; /* Offset to the right of the icon center */
        top: 15px; /* Position near the top of the icon */
    }

    /* Fix Chat Button on Mobile */
    #zeochat-campuses .col-md-2 button {
        position: relative !important;
        margin-top: 15px;
        width: 100%;
        height: auto;
        padding: 15px;
        left: auto;
        top: auto;
        box-sizing: border-box; /* Prevent overflow */
    }
}

/* Dropdown and Datepicker Styling */

/* Dropdown and Datepicker Styling */
.form-field.dropdown {
    position: relative;
}

.form-field.dropdown .dropdown-menu {
    display: none; /* Hidden by default */
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    background: #fff;
}

.form-field.dropdown .dropdown-menu.show {
    display: block; /* Show when .show class is added */
}

.form-field input:focus, .form-field.open input {
    border: 1px solid #F1D128 !important;
    outline: none;
}

.dropdown-menu li {
    list-style: none;
    padding: 5px 0;
}


.dropdown-menu li label {
    font-weight: normal;
    cursor: pointer;
    display: flex; /* Use flexbox for alignment */
    align-items: center; /* Vertically center items */
    margin-bottom: 0; /* Remove default margin */
    width: 100%;
}

.dropdown-menu li input[type="radio"] {
    margin-right: 10px;
    margin-top: 0; /* Reset margin */
    width: auto; /* Ensure natural width */
    height: auto; /* Ensure natural height */
    display: inline-block;
}

/* Datepicker Customization */
.ui-datepicker {
    width: 100% !important;
    font-family: 'Outfit', sans-serif;
}
.ui-datepicker-header {
    background: #F1D128;
    border: none;
    color: #fff;
}
.ui-state-default, .ui-widget-content .ui-state-default {
    border: 1px solid #eee;
    background: #fff;
    font-weight: normal;
    color: #333;
    text-align: center;
}
.ui-state-highlight, .ui-widget-content .ui-state-highlight {
    border: 1px solid #F1D128;
    background: #fff8e1;
    color: #333;
}
.ui-state-active, .ui-widget-content .ui-state-active {
    border: 1px solid #F1D128;
    background: #F1D128;
    font-weight: normal;
    color: #fff;
}
