/* ============================================================
   Moreh Academy — Custom Overrides
   ============================================================ */

/* ---- LOGO: header ---------------------------------------- */
.logo img {
    max-height: 90px;
    width: auto;
    display: block;
}

/* ---- LOGO: footer ---------------------------------------- */
.footer-about .logo img {
    max-height: 65px;
    width: auto;
    display: block;
}

/* ---- HEADER: vertically center logo row ------------------ */
.header-logo-support .logo {
    display: flex;
    align-items: center;
    height: 100%;
}

/* ---- SLIDER: keep hero images full-height & cover -------- */
.single-slider {
    background-size: cover;
    background-position: center;
}

/* ---- CATEGORY ICONS: uniform icon size ------------------- */
.singel-category .icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

/* ---- COURSE CARDS: uniform image height ------------------- */
.singel-course .thum .image img {
    width: 100%;
    height: 185px;
    object-fit: cover;
    display: block;
}

/* ---- COURSE CARDS: no slick layout override (plain grid) -- */
.courses-grid-row .col-lg-3 {
    margin-bottom: 30px;
}
.courses-grid-row .singel-course {
    height: 100%;
}

/* ---- TESTIMONIAL THUMBNAILS: small circular portraits ----- */
.testimonial-thum {
    position: relative;
    display: inline-block;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}
.testimonial-thum img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

/* ---- TESTIMONIAL LAYOUT: side-by-side thumb + text ------- */
.singel-testimonial {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 20px;
}
.singel-testimonial .testimonial-cont {
    flex: 1;
}
.singel-testimonial .testimonial-cont p {
    font-style: italic;
    margin-bottom: 12px;
}

/* ---- NEWS: main large photo ------------------------------- */
#news-part .news-thum img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    object-position: center;
    border-radius: 4px;
    display: block;
}
/* news sidebar small thumbnails */
#news-part .singel-news.news-list .news-thum img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    border-radius: 4px;
}

/* ---- PARTNER/AFFILIATION LOGOS: uniform height ------------ */
#patnar-logo .singel-patnar img {
    max-height: 90px;
    width: auto;
    max-width: 180px;
    margin: 0 auto;
    display: block;
}

/* ---- ABOUT PAGE: constrain large images ------------------- */
.about-page-image img,
#about-page .col-lg-5 img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    object-position: center top;
    border-radius: 6px;
    display: block;
}

/* ---- ABOUT PAGE: WHY section image ----------------------- */
.why-school-img {
    width: 100%;
    max-height: 380px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}

/* ---- EVENTS PAGE: event images ---------------------------- */
.singel-events .events-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
    border-radius: 6px;
    display: block;
}

/* ---- COURSES PAGE: program section images ----------------- */
.program-section-img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    object-position: center top;
    border-radius: 6px;
    display: block;
}

/* ---- COUNTERS: ensure text contrast on bg image ----------- */
#counter .singel-counter {
    color: #fff;
}
#counter .singel-counter span.counter {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
}
#counter .singel-counter p {
    color: rgba(255,255,255,0.85);
    margin-top: 6px;
    font-size: 15px;
}

/* ---- VIDEO/FEATURE: keep background contained ------------- */
#video-feature {
    background-size: cover;
    background-position: center top;
}

/* ---- PAGE BANNER: always cover the bg properly ------------ */
#page-banner {
    background-size: cover;
    background-position: center;
}

/* ---- CONTACT FORM: proper full-width input styling -------- */
#contact-page .singel-form input,
#contact-page .singel-form textarea {
    width: 100%;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 12px 16px;
    font-size: 14px;
    background: #fff;
    margin-bottom: 0;
    transition: border-color 0.2s;
}
#contact-page .singel-form input:focus,
#contact-page .singel-form textarea:focus {
    border-color: #f4a823;
    outline: none;
    box-shadow: 0 0 0 3px rgba(244,168,35,0.15);
}
#contact-page .form-group {
    margin-bottom: 18px;
}
#contact-page .singel-form textarea {
    resize: vertical;
    min-height: 140px;
}
#contact-page .main-form .main-btn {
    padding: 14px 40px;
    font-size: 15px;
    width: 100%;
    border-radius: 4px;
}

/* ---- REMOVE shopping bag icon from nav entirely ----------- */
.right-icon {
    display: none !important;
}
.singel-address {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
}
.singel-address .icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background: #f4a823;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
}
.singel-address .cont h5 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #1c2237;
}
.singel-address .cont p,
.singel-address .cont a {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}
.singel-address .cont a:hover {
    color: #f4a823;
}

