﻿/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    margin-top: 0px;
    padding-left: 15px;
    padding-right: 15px;
}
/* Set Header style in master page */
/* Default (Top State) */
.navbar-custom {
    background-color: #f4f6f9;
    padding: 25px 0;
    transition: all 0.35s ease;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Logo size */
.logo {
    height: 75px;
    transition: all 0.35s ease;
}

/* Menu style */
.nav-link {
    color: #7da2c7;
    font-weight: 600;
    margin: 0 18px;
    letter-spacing: 1px;
    transition: color 0.3s;
}

    .nav-link.active,
    .nav-link:hover {
        color: #2f2f7f;
    }

/* SCROLLED STATE */
.navbar-scrolled {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #ffffff;
    padding: 10px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    z-index: 999;
    -webkit-backdrop-filter: blur(6px);
}

    /* Shrink logo on scroll */
    .navbar-scrolled .logo {
        height: 55px;
    }


/* Set widths on the form inputs since otherwise they're 100% wide */
input,
select,
textarea {
    max-width: 280px;
}

/* footer design */
.hero-section {
    height: 500px; /* adjust as needed */
    overflow: hidden;
}

.hero-img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Blue overlay with transparency */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 123, 255, 0.5); /* blue with opacity */
    z-index: 2;
}

/* content stays above overlay */
.hero-section .container {
    z-index: 3;
    0px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1d2433;
    margin-bottom: 25px;
}

.event-card {
    background: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 12px;
    padding: 24px;
    height: 100%;
    transition: 0.3s ease;
}

    .event-card:hover {
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
        transform: translateY(-2px);
    }

.event-title {
    color: #005ea8;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 30px;
}

.event-date {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2f3b52;
    margin-bottom: 4px;
}

.event-time {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2f3b52;
}

.view-link {
    text-align: right;
    margin-top: 18px;
}

    .view-link a {
        color: #005ea8;
        font-size: 1.2rem;
        text-decoration: underline;
        font-weight: 500;
    }
/* Index page upcoming event end */


.course-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 600px;
    cursor: pointer;
}

.image-container {
    position: relative;
    display: inline-block; /* shrink to image size */
}

.overlay-text {
    position: absolute;
    top: 10px;
    left: 10px;
    color: white;
    padding: 10px 15px;
}

/* Optional: Make image responsive with rounded corners */
.image-container img {
    max-width: 100%;
    height: auto;
    display: block;
}

.overlay-body {
    position: absolute;
    top: 10px;
    width: 100%;
    padding: 10px 15px;
}

.body-container {
    margin-top: 20px;
    height: auto;
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
    .body-content {
        padding: 0;
    }
}


.feature-row {
    margin-bottom: 40px;
}

.icon-card {
    background: #eef7ff;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    min-height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

    .icon-card::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 35px;
        height: 100%;
        background: linear-gradient(to right,#00c853,#ffffff);
    }

    .icon-card.blue::before {
        background: linear-gradient(to right,#00c8ff,#ffffff);
    }

    .icon-card i {
        font-size: 70px;
        color: #1e88e5;
        z-index: 1;
    }

.text-card {
    border-radius: 10px;
    padding: 22px 28px;
    color: #222;
    min-height: 110px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    background: linear-gradient(to right,#eef7e8,#1ec96b);
}

    .text-card.blue {
        background: linear-gradient(to right,#e7f5ef,#00b5ef);
    }

    .text-card p {
        margin: 0;
        font-size: 18px;
        line-height: 1.6;
    }

/* School Detail page css */

.feature-card {
    position: relative;
    background: rgba(255,255,255,0.55);
    backdrop-filter: blur(8px);
    border-radius: 18px;
    overflow: hidden;
    padding: 30px 25px 30px 80px;
    min-height: 180px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

    .feature-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    }

.feature-strip {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 100%;
    background: linear-gradient(to bottom,#d8c8f2,#3b82f6);
}

.feature-icon {
    font-size: 40px;
    color: #2563eb;
    margin-bottom: 15px;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
}

.feature-text {
    color: #475569;
    line-height: 1.6;
    font-size: 0.95rem;
}

.feature-btn {
    margin-top: 15px;
    border-radius: 7px;
    padding: 8px 22px;
}


/* School Detail page css end */

.backBtn {
    display: flex;
    justify-content: flex-end
}


/* jQuery UI Autocomplete Dropdown Styling */
.ui-autocomplete {
    position: absolute;
    z-index: 9999 !important; /* Ensures menu floats over all modal & form controls */
    max-height: 250px;
    overflow-y: auto;
    overflow-x: hidden;
    background-color: #ffffff !important; /* Solid background so text behind doesn't show through */
    border: 1px solid #cbd5e1 !important; /* Clean border */
    border-radius: 0.375rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* Modern shadow */
    padding: 0.25rem 0;
    list-style: none;
    font-family: inherit;
    font-size: 0.95rem;
}

    /* Dropdown Item Styling */
    .ui-autocomplete .ui-menu-item {
        padding: 0;
        margin: 0;
    }

    .ui-autocomplete .ui-menu-item-wrapper {
        padding: 8px 14px !important;
        color: #1e293b !important;
        cursor: pointer;
        border: none !important;
        transition: background-color 0.15s ease, color 0.15s ease;
    }

        /* Hover and Active State */
        .ui-autocomplete .ui-menu-item-wrapper.ui-state-active,
        .ui-autocomplete .ui-menu-item-wrapper:hover {
            background-color: #0d6efd !important; /* Bootstrap Primary Blue */
            color: #ffffff !important;
            margin: 0 !important;
        }
