/**
 * Homepage look matching designingUI.jpg
 * Scoped to body.learning-home so inner pages stay unchanged.
 */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap");

body.learning-home {
    font-family: Poppins, Rubik, sans-serif;
    background: #100018;
}

/* ---------- Header (designingUI.jpg) ---------- */
body.learning-home .top-navbar .bg-light,
body.learning-home .top-navbar .navbar.bg-light,
body.learning-home header.top-navbar,
body.learning-home header.top-navbar .navbar {
    background: #4c1864 !important;
    background-color: #4c1864 !important;
    background-image: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    min-height: 72px !important;
    margin: 0 !important;
}

body.learning-home .top-navbar .bg-light::before {
    display: none !important;
}

body.learning-home .top-navbar,
body.learning-home .top-navbar .navbar,
body.learning-home .top-navbar .navbar.bg-light {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body.learning-home .navbar > .container-fluid,
body.learning-home .navbar > .container-fluid.header-bar {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 8px 16px 8px 14px !important;
    min-height: 72px !important;
    gap: 0 !important;
}

body.learning-home .navbar-brand {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex: 0 0 auto !important;
    max-width: none !important;
    width: auto !important;
    order: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 2;
}

body.learning-home .navbar-brand .logo-container,
body.learning-home .navbar-brand .logo-img {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    box-shadow: 0 0 0 2px rgba(247, 178, 5, 0.55) !important;
}

body.learning-home .navbar-brand .logo-text {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0;
    line-height: 1.15;
}

body.learning-home .navbar-brand .logo-text h2,
body.learning-home .logo-text .pemba-text,
body.learning-home .logo-text .islamic-college-text {
    font-family: Poppins, sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0.45px !important;
    color: #fff !important;
    white-space: nowrap !important;
    animation: none !important;
    text-shadow: none !important;
    width: auto !important;
    overflow: visible !important;
    text-transform: uppercase !important;
    margin: 0 !important;
}

body.learning-home .brand-motto {
    margin: 2px 0 0 !important;
    font-size: 10px !important;
    font-weight: 500 !important;
    letter-spacing: 0.55px !important;
    color: rgba(255, 255, 255, 0.78) !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
}

/* designered.png — wave fills space up to HOME (designingUI.jpg) */
body.learning-home .header-design-wave {
    flex: 1 1 auto !important;
    order: 2;
    align-self: stretch;
    display: flex;
    align-items: center;
    min-width: 120px;
    max-width: none !important;
    width: auto !important;
    height: 72px;
    margin: -8px 0 -8px 4px;
    overflow: hidden;
    pointer-events: none;
}

body.learning-home .header-design-wave img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    min-width: 100%;
    object-fit: cover;
    object-position: left center;
}

body.learning-home .navbar-toggler {
    order: 3 !important;
    margin-left: auto !important;
}

@media (min-width: 992px) {
    body.learning-home .navbar-toggler {
        display: none !important;
    }

    body.learning-home .navbar-collapse,
    body.learning-home #navbars-host {
        display: flex !important;
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: none !important;
        order: 4 !important;
        margin: 0 0 0 auto !important;
        padding: 0 !important;
        align-items: center !important;
        justify-content: flex-end !important;
    }

    body.learning-home .navbar-nav,
    body.learning-home #navbars-host .navbar-nav {
        display: flex !important;
        flex: 0 0 auto !important;
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        justify-content: flex-end !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
    }
}

body.learning-home .top-navbar .navbar-light .navbar-nav .nav-item .nav-link,
body.learning-home .top-navbar .navbar-light .navbar-nav .nav-link {
    font-family: Poppins, sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.7px !important;
    text-transform: uppercase !important;
    color: #fff !important;
    padding: 7px 12px !important;
    background: transparent !important;
    position: relative !important;
    border: 1.5px solid transparent !important;
    border-radius: 8px !important;
    line-height: 1.2 !important;
}

body.learning-home .top-navbar .navbar-nav > .nav-item {
    margin: 0 1px !important;
    display: flex !important;
    align-items: center !important;
}

body.learning-home .top-navbar .navbar-nav > .nav-item:last-child,
body.learning-home #navbars-host .navbar-nav > .nav-item:last-child {
    margin-right: 0 !important;
    padding-right: 0 !important;
}

body.learning-home .top-navbar .navbar-light .navbar-nav .nav-item:hover > .nav-link {
    color: #f7b205 !important;
    background: transparent !important;
}

/* Active HOME = gold/outline pill (designingUI.jpg) */
body.learning-home .top-navbar .navbar-light .navbar-nav .nav-item.active > .nav-link,
body.learning-home .top-navbar .navbar-light .navbar-nav .nav-item.active .nav-link {
    color: #fff !important;
    background: transparent !important;
    border-color: #c9a0e8 !important;
    box-shadow: 0 0 0 1px rgba(247, 178, 5, 0.25);
}

body.learning-home .top-navbar .navbar-light .navbar-nav .nav-item.active > .nav-link::after,
body.learning-home .top-navbar .navbar-light .navbar-nav .nav-item.active > .nav-link::before,
body.learning-home .top-navbar .navbar-light .navbar-nav .nav-item::after,
body.learning-home .top-navbar .navbar-light .navbar-nav .nav-item .nav-link::before,
body.learning-home .top-navbar .navbar-light .navbar-nav .nav-item .nav-link::after {
    display: none !important;
    content: none !important;
    background: none !important;
}

body.learning-home .nav-item.lang-switcher-item {
    margin-left: 10px !important;
    margin-right: 10px !important;
}

body.learning-home .lang-switcher {
    background: rgba(10, 4, 20, 0.82) !important;
    border: 1px solid rgba(180, 140, 255, 0.28) !important;
    padding: 3px 5px 3px 6px !important;
    gap: 3px !important;
    border-radius: 999px !important;
}

body.learning-home .lang-switcher-icon {
    color: #fff !important;
    font-size: 12px !important;
    padding-left: 4px !important;
}

body.learning-home .lang-switcher .lang-btn {
    min-width: 28px !important;
    height: 26px !important;
    padding: 0 7px !important;
    color: #fff !important;
    background: transparent !important;
    border-radius: 50% !important;
    font-size: 11px !important;
    font-weight: 700 !important;
}

body.learning-home .lang-switcher .lang-btn.is-active {
    background: #f7b205 !important;
    color: #160820 !important;
    font-weight: 800 !important;
    border-radius: 50% !important;
}

body.learning-home .znz-flag-top-right {
    height: 28px !important;
    width: auto !important;
    max-width: 46px !important;
    object-fit: cover !important;
    border-radius: 3px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
    display: block !important;
}

body.learning-home .nav-item.flag-nav-item,
body.learning-home .flag-container-top-right {
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
}

body.learning-home .nav-item.flag-nav-item::after,
body.learning-home .nav-item.flag-nav-item::before {
    display: none !important;
    content: none !important;
}

@media (max-width: 1199px) {
    body.learning-home .header-design-wave {
        min-width: 80px;
        max-width: none !important;
    }

    body.learning-home .top-navbar .navbar-light .navbar-nav .nav-item .nav-link {
        padding: 6px 8px !important;
        font-size: 11px !important;
    }
}

@media (max-width: 991px) {
    body.learning-home .header-design-wave {
        display: none !important;
    }

    body.learning-home .navbar > .container-fluid.header-bar {
        flex-wrap: wrap !important;
        padding: 8px 12px !important;
    }

    body.learning-home .navbar-collapse,
    body.learning-home #navbars-host {
        width: 100% !important;
        order: 4 !important;
        margin-top: 8px !important;
    }

    body.learning-home .navbar-nav {
        flex-wrap: wrap !important;
    }
}

/* ---------- Hero ---------- */
body.learning-home .learning-hero-wrap {
    position: relative;
    background: #100018;
}

body.learning-home #carouselExampleControls,
body.learning-home #carouselExampleControls .carousel-item,
body.learning-home #carouselExampleControls .first-section,
body.learning-home .carousel-item .dtab {
    min-height: 720px !important;
}

body.learning-home .first-section::after {
    background:
        linear-gradient(90deg, rgba(16, 2, 32, 0.92) 0%, rgba(16, 2, 32, 0.62) 42%, rgba(16, 2, 32, 0.18) 72%, rgba(16, 2, 32, 0.05) 100%),
        linear-gradient(180deg, rgba(16, 2, 32, 0.12) 0%, rgba(16, 2, 32, 0.55) 100%) !important;
}

body.learning-home .carousel-item .dtab {
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 70px 0 220px !important;
}

body.learning-home .big-tagline {
    text-align: left !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100%;
    position: relative !important;
    z-index: 12 !important;
    background: transparent !important;
    background-color: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

body.learning-home .slide-kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: #f7b205;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.4px;
    text-transform: uppercase;
}

body.learning-home .slide-kicker .kicker-line {
    width: 28px;
    height: 2px;
    background: #f7b205;
    display: inline-block;
}

body.learning-home .slide-kicker i {
    font-size: 11px;
}

body.learning-home #carouselExampleControls .carousel-item .big-tagline h2 {
    font-family: Poppins, sans-serif !important;
    font-size: clamp(28px, 3.6vw, 44px) !important;
    font-weight: 800 !important;
    line-height: 1.22 !important;
    color: #fff !important;
    text-align: left !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.75), 0 0 18px rgba(0, 0, 0, 0.45) !important;
    margin: 0 0 14px !important;
    opacity: 1 !important;
    visibility: visible !important;
}

body.learning-home .big-tagline h2 .hl {
    color: #f7b205 !important;
}

body.learning-home #carouselExampleControls .carousel-item .big-tagline .lead {
    font-family: Poppins, sans-serif !important;
    font-size: 17px !important;
    font-weight: 400 !important;
    color: #fff !important;
    text-align: left !important;
    max-width: 560px;
    margin: 0 0 8px !important;
    opacity: 1 !important;
    visibility: visible !important;
    line-height: 1.55 !important;
}

body.learning-home .big-tagline .slide-actions {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    gap: 16px !important;
    margin-top: 26px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body.learning-home #carouselExampleControls .big-tagline .slide-actions .hover-btn-new,
body.learning-home #carouselExampleControls .big-tagline .slide-actions a.hover-btn-new {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 16px 32px !important;
    min-height: 52px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    border-radius: 999px !important;
    letter-spacing: 0.7px !important;
}

body.learning-home #carouselExampleControls .big-tagline .slide-actions .hover-btn-new i {
    font-size: 16px !important;
}

body.learning-home #carouselExampleControls .big-tagline .slide-actions .hover-btn-new span {
    font-size: 15px !important;
}

body.learning-home #carouselExampleControls .big-tagline .slide-actions .hover-btn-new:not(.btn-apply),
body.learning-home #carouselExampleControls .big-tagline .slide-actions a.hover-btn-new:not(.btn-apply) {
    background: #f7b205 !important;
    border: 1px solid #f7b205 !important;
    color: #111 !important;
}

body.learning-home #carouselExampleControls .big-tagline .slide-actions .hover-btn-new:not(.btn-apply) span {
    color: #111 !important;
}

body.learning-home #carouselExampleControls .big-tagline .slide-actions .hover-btn-new.btn-apply,
body.learning-home #carouselExampleControls .big-tagline .slide-actions a.hover-btn-new.btn-apply {
    background: #4c1864 !important;
    border: 1px solid rgba(210, 180, 255, 0.55) !important;
    color: #fff !important;
    box-shadow: 0 6px 18px rgba(76, 24, 100, 0.35) !important;
}

body.learning-home #carouselExampleControls .big-tagline .slide-actions .hover-btn-new.btn-apply span {
    color: #fff !important;
}

body.learning-home #carouselExampleControls .carousel-control-prev,
body.learning-home #carouselExampleControls .carousel-control-next {
    width: 52px !important;
    height: 52px !important;
    top: 38% !important;
    transform: translateY(-50%) !important;
    border: 2px solid #f7b205 !important;
    border-radius: 50% !important;
    background: transparent !important;
    background-image: none !important;
    opacity: 1 !important;
    box-shadow: none !important;
    color: #f7b205 !important;
}

body.learning-home #carouselExampleControls .carousel-control-prev:hover,
body.learning-home #carouselExampleControls .carousel-control-next:hover,
body.learning-home #carouselExampleControls .carousel-control-prev:focus,
body.learning-home #carouselExampleControls .carousel-control-next:focus {
    background: rgba(247, 178, 5, 0.16) !important;
    color: #f7b205 !important;
    transform: translateY(-50%) scale(1.05) !important;
    box-shadow: none !important;
}

body.learning-home #carouselExampleControls .carousel-nav-arrow,
body.learning-home #carouselExampleControls .carousel-nav-arrow i {
    color: #f7b205 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    background: none !important;
    border: 0 !important;
    font-family: "Font Awesome 6 Free", sans-serif !important;
}

body.learning-home #carouselExampleControls .carousel-indicators {
    bottom: 168px !important;
}

body.learning-home #carouselExampleControls .carousel-indicators li {
    width: 9px !important;
    height: 9px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.85) !important;
}

body.learning-home #carouselExampleControls .carousel-indicators li.active {
    width: 9px !important;
    background: #f7b205 !important;
    transform: none !important;
}

/* ---------- Overlapping cards ---------- */
body.learning-home .learning-bottom {
    position: relative;
    z-index: 8;
    margin-top: -150px;
    padding: 0 18px 28px;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
}

body.learning-home .learning-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: rgba(42, 16, 72, 0.78);
    border: 1px solid rgba(196, 160, 255, 0.28);
    border-radius: 22px;
    backdrop-filter: blur(10px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
    overflow: hidden;
}

body.learning-home .learning-feature {
    padding: 22px 18px;
    text-align: left;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

body.learning-home .learning-feature:last-child {
    border-right: 0;
}

body.learning-home .learning-feature .icon-wrap {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #4c1864;
    border: 2px solid #f7b205;
    color: #fff;
    margin-bottom: 12px;
    font-size: 16px;
    overflow: hidden;
}

body.learning-home .learning-feature .icon-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

body.learning-home .learning-feature h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 6px;
    font-family: Poppins, sans-serif;
}

body.learning-home .learning-feature p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    line-height: 1.45;
    margin: 0;
}

body.learning-home .learning-stats {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 16px;
    background: #fff;
    border-radius: 18px;
    padding: 18px 22px;
    box-shadow: 0 14px 36px rgba(22, 8, 32, 0.16);
}

body.learning-home .stats-lead {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1 1 280px;
    min-width: 240px;
}

body.learning-home .stats-lead .star {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    background: #4c1864;
    color: #f7b205;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

body.learning-home .stats-lead p {
    margin: 0;
    color: #2a1450;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.35;
}

body.learning-home #about.about-scroll-anchor {
    display: block;
    height: 0;
    scroll-margin-top: var(--navbar-offset, 72px);
}

@media (max-width: 991px) {
    body.learning-home #carouselExampleControls,
    body.learning-home #carouselExampleControls .carousel-item,
    body.learning-home #carouselExampleControls .first-section,
    body.learning-home .carousel-item .dtab {
        min-height: 620px !important;
    }

    body.learning-home .carousel-item .dtab {
        padding: 28px 8px 220px !important;
    }

    body.learning-home .learning-features {
        grid-template-columns: 1fr 1fr;
    }

    body.learning-home .learning-feature:nth-child(2) {
        border-right: 0;
    }

    body.learning-home .learning-feature:nth-child(1),
    body.learning-home .learning-feature:nth-child(2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    body.learning-home #carouselExampleControls .carousel-indicators {
        bottom: 210px !important;
    }
}

@media (max-width: 576px) {
    body.learning-home .learning-features {
        grid-template-columns: 1fr;
    }

    body.learning-home .learning-feature {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    body.learning-home .big-tagline .slide-actions {
        flex-wrap: wrap !important;
    }
}

/* ---------- Cinematic slide transitions ---------- */
body.learning-home #carouselExampleControls .carousel-inner {
    overflow: hidden !important;
    background: #100018 !important;
}

body.learning-home #carouselExampleControls.carousel-fade .carousel-item {
    display: block !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    opacity: 0 !important;
    z-index: 1 !important;
    transition: opacity 1.65s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

body.learning-home #carouselExampleControls.carousel-fade .carousel-item.active {
    position: relative !important;
    opacity: 1 !important;
    z-index: 2 !important;
}

body.learning-home #carouselExampleControls.carousel-fade .carousel-item-next.carousel-item-left,
body.learning-home #carouselExampleControls.carousel-fade .carousel-item-prev.carousel-item-right {
    opacity: 1 !important;
    z-index: 2 !important;
}

body.learning-home #carouselExampleControls.carousel-fade .carousel-item-next,
body.learning-home #carouselExampleControls.carousel-fade .carousel-item-prev,
body.learning-home #carouselExampleControls.carousel-fade .carousel-item.active.carousel-item-left,
body.learning-home #carouselExampleControls.carousel-fade .carousel-item.active.carousel-item-right {
    opacity: 0 !important;
}

body.learning-home #carouselExampleControls .first-section {
    background-image: none !important;
    background-size: cover !important;
}

body.learning-home #carouselExampleControls .first-section::before {
    display: none !important;
    content: none !important;
    background: none !important;
    animation: none !important;
}

body.learning-home .slide-bg-img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
    z-index: 0 !important;
    pointer-events: none !important;
    transform: scale(1.08);
    transform-origin: center top;
}

body.learning-home #carouselExampleControls .carousel-item.active .slide-bg-img,
body.learning-home #carouselExampleControls .carousel-item-next.carousel-item-left .slide-bg-img,
body.learning-home #carouselExampleControls .carousel-item-prev.carousel-item-right .slide-bg-img {
    animation: learningKenBurnsImg 8.2s cubic-bezier(0.22, 1, 0.36, 1) forwards !important;
}

@keyframes learningKenBurnsImg {
    0% { transform: scale(1.16) translateX(1.5%); }
    100% { transform: scale(1.04) translateX(-1%); }
}

body.learning-home #carouselExampleControls .carousel-shine {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

body.learning-home #carouselExampleControls .carousel-shine::before {
    content: "";
    position: absolute;
    top: 0;
    left: -40%;
    width: 38%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(247, 178, 5, 0.16), rgba(255, 255, 255, 0.12), transparent);
    transform: translateX(-120%);
    opacity: 0;
}

body.learning-home #carouselExampleControls.is-sliding .carousel-shine::before {
    animation: learningShine 1.55s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes learningShine {
    0% {
        transform: translateX(-30%);
        opacity: 0;
    }
    18% {
        opacity: 1;
    }
    100% {
        transform: translateX(380%);
        opacity: 0;
    }
}

body.learning-home #carouselExampleControls .carousel-item .slide-kicker,
body.learning-home #carouselExampleControls .carousel-item.active .slide-kicker,
body.learning-home #carouselExampleControls .carousel-item .big-tagline h2,
body.learning-home #carouselExampleControls .carousel-item.active .big-tagline h2,
body.learning-home #carouselExampleControls .carousel-item .big-tagline .lead,
body.learning-home #carouselExampleControls .carousel-item.active .big-tagline .lead,
body.learning-home #carouselExampleControls .carousel-item .slide-actions,
body.learning-home #carouselExampleControls .carousel-item.active .slide-actions,
body.learning-home #carouselExampleControls .carousel-item.active .big-tagline .slide-actions {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    animation: none !important;
}

body.learning-home #carouselExampleControls .first-section .dtab,
body.learning-home #carouselExampleControls .first-section .container,
body.learning-home #carouselExampleControls .first-section .big-tagline {
    z-index: 12 !important;
}

body.learning-home #carouselExampleControls .carousel-indicators li {
    transition: background-color 0.35s ease, transform 0.35s ease, width 0.35s ease, box-shadow 0.35s ease !important;
}

body.learning-home #carouselExampleControls .carousel-indicators li.active {
    box-shadow: 0 0 0 4px rgba(247, 178, 5, 0.28) !important;
    transform: scale(1.15) !important;
}

body.learning-home .learning-feature {
    transition: background-color 0.3s ease, transform 0.3s ease;
}

body.learning-home .learning-feature:hover {
    background: rgba(255, 255, 255, 0.06);
}

body.learning-home .learning-feature:hover .icon-wrap {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
}

body.learning-home .learning-feature .icon-wrap {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.learning-home #overviews.section.wb {
    background: #fff !important;
    padding: 56px 0 72px;
}

body.learning-home #overviews .section-title h3 {
    font-family: Poppins, sans-serif !important;
    color: #2a1450 !important;
    font-weight: 800 !important;
    letter-spacing: 0.4px;
}

body.learning-home #overviews .section-title h3::after {
    content: "";
    display: block;
    width: 64px;
    height: 3px;
    margin: 12px auto 0;
    background: #f7b205;
    border-radius: 3px;
}

body.learning-home #overviews .section-title .lead {
    color: #5b5270 !important;
}

body.learning-home #overviews .message-box h4 {
    color: #4c1864 !important;
    font-weight: 700;
    letter-spacing: 0.6px;
}

body.learning-home #overviews .message-box h2 {
    font-family: Poppins, sans-serif !important;
    color: #1c0c2e !important;
    font-weight: 800 !important;
}

body.learning-home #overviews .post-media img {
    border-radius: 18px !important;
    box-shadow: 0 18px 40px rgba(28, 12, 46, 0.18);
}

body.learning-home .home-about-intro {
    margin-bottom: 36px;
}

body.learning-home .home-about-block {
    margin-bottom: 36px;
    color: #2a1450;
}

body.learning-home .home-about-block h4 {
    font-family: Poppins, sans-serif;
    font-weight: 800;
    color: #4c1864;
    margin-bottom: 14px;
}

body.learning-home .home-about-block h4 i {
    color: #f7b205;
    margin-right: 8px;
}

body.learning-home .home-about-block p,
body.learning-home .home-about-block li {
    color: #4a4258;
    line-height: 1.65;
}

body.learning-home .home-about-highlight {
    background: rgba(76, 24, 100, 0.06);
    border-left: 4px solid #4c1864;
    padding: 16px 18px;
    border-radius: 0 10px 10px 0;
    margin-top: 12px;
}

body.learning-home .home-about-photos {
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    grid-template-rows: minmax(180px, 220px) minmax(180px, 220px);
    gap: 14px;
    margin: 8px 0 40px;
}

body.learning-home .home-about-photos figure {
    margin: 0;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(28, 12, 46, 0.16);
    height: 100%;
}

body.learning-home .home-about-photos .photo-main {
    grid-row: 1 / span 2;
}

body.learning-home .home-about-photos img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

body.learning-home .home-about-photos figure:hover img {
    transform: scale(1.04);
}

@media (max-width: 767px) {
    body.learning-home .home-about-photos {
        grid-template-columns: 1fr;
        grid-template-rows: 220px 180px 180px;
    }

    body.learning-home .home-about-photos .photo-main {
        grid-row: auto;
    }
}

body.learning-home .home-about-timeline {
    border-left: 3px solid #4c1864;
    padding-left: 18px;
    margin-top: 12px;
}

body.learning-home .home-about-year {
    margin-bottom: 16px;
    position: relative;
}

body.learning-home .home-about-year::before {
    content: "";
    position: absolute;
    left: -24px;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #4c1864;
    box-shadow: 0 0 0 3px rgba(76, 24, 100, 0.18);
}

body.learning-home .home-about-year strong {
    display: block;
    color: #4c1864;
    font-size: 16px;
}

body.learning-home .home-about-card {
    background: #f8f5fb;
    border: 1px solid rgba(76, 24, 100, 0.12);
    border-radius: 14px;
    padding: 20px;
    height: 100%;
    margin-bottom: 16px;
}

body.learning-home .home-about-card h5 {
    color: #4c1864;
    font-weight: 700;
    margin-bottom: 10px;
}

body.learning-home .home-about-activities {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 12px;
}

body.learning-home .home-about-activity {
    background: #fff;
    border: 1px solid rgba(76, 24, 100, 0.12);
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 8px 20px rgba(28, 12, 46, 0.06);
}

body.learning-home .home-about-activity i {
    color: #f7b205;
    font-size: 22px;
    margin-bottom: 8px;
}

body.learning-home .home-about-activity h5 {
    color: #4c1864;
    font-size: 15px;
    font-weight: 700;
}

@media (max-width: 991px) {
    body.learning-home .home-about-activities {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    body.learning-home .home-about-activities {
        grid-template-columns: 1fr;
    }
}

body.learning-home .home-map-section {
    padding: 56px 0 64px;
    background: linear-gradient(180deg, #f7f4fa 0%, #ffffff 55%, #f3eef8 100%);
}

body.learning-home .home-map-section .section-title h3 {
    color: #4c1864;
    font-weight: 700;
}

body.learning-home .home-map-section .section-title h3 i {
    color: #f7b205;
    margin-right: 8px;
}

body.learning-home .home-map-section .section-title .lead {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 28px;
}

body.learning-home .home-map-container {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 480px;
    border-radius: 16px;
    overflow: visible;
    background: transparent;
    box-shadow: none;
    border: none;
}

body.learning-home .home-map-container .pic-campus-map-frame {
    height: 440px;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(28, 12, 46, 0.12);
    border: 1px solid rgba(76, 24, 100, 0.1);
}

body.learning-home .home-map-container iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 768px) {
    body.learning-home .home-map-section {
        padding: 40px 0 48px;
    }

    body.learning-home .home-map-container {
        min-height: 340px;
    }

    body.learning-home .home-map-container .pic-campus-map-frame {
        height: 300px;
        border-radius: 12px;
    }

    body.learning-home .home-map-section .section-title .lead {
        font-size: 0.95rem;
    }
}

body.learning-home .footer {
    background: #120818 !important;
    border-top: 1px solid rgba(247, 178, 5, 0.18);
}

body.learning-home .copyrights {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative;
    z-index: 2;
    width: 100%;
    background-color: #0a0410 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
    padding: 14px 0 !important;
    text-align: center;
    transform: none !important;
    filter: none !important;
    animation: none !important;
}

body.learning-home .copyrights .footer-distributed,
body.learning-home .copyrights .footer-center {
    float: none !important;
    width: 100%;
    text-align: center;
}

body.learning-home .footer-distributed .footer-company-name,
body.learning-home .footer-distributed .footer-company-name #current-year {
    display: block;
    color: #ffffff !important;
    font-weight: 500 !important;
    opacity: 1 !important;
    margin: 0 !important;
    text-align: center !important;
    font-size: 14px;
    line-height: 1.5;
}

@media (prefers-reduced-motion: reduce) {
    body.learning-home #carouselExampleControls.carousel-fade .carousel-item {
        transition-duration: 0.01ms !important;
    }
    body.learning-home #carouselExampleControls .slide-bg-img,
    body.learning-home #carouselExampleControls .carousel-item.active .slide-bg-img {
        animation: none !important;
        transform: scale(1.04) !important;
        filter: none !important;
    }
    body.learning-home #carouselExampleControls .carousel-item .slide-kicker,
    body.learning-home #carouselExampleControls .carousel-item .big-tagline h2,
    body.learning-home #carouselExampleControls .carousel-item .big-tagline .lead,
    body.learning-home #carouselExampleControls .carousel-item.active .slide-actions {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
    body.learning-home #carouselExampleControls.is-sliding .carousel-shine::before {
        animation: none !important;
    }
}

/* Brand + nav layout (designingUI.jpg) */
body.learning-home header.top-navbar,
body.learning-home header.top-navbar .navbar,
body.learning-home header.top-navbar .navbar.navbar-expand-lg,
body.learning-home header.top-navbar .container-fluid,
body.learning-home header.top-navbar a.navbar-brand,
body.learning-home header.top-navbar .logo-container {
    margin-left: 0 !important;
    left: 0 !important;
}

body.learning-home header.top-navbar .container-fluid.header-bar {
    padding-left: 14px !important;
    padding-right: 16px !important;
}

body.learning-home header.top-navbar,
body.learning-home header.top-navbar .navbar,
body.learning-home header.top-navbar .navbar.navbar-expand-lg,
body.learning-home header.top-navbar .container-fluid,
body.learning-home header.top-navbar #navbars-host,
body.learning-home header.top-navbar #navbars-host .navbar-nav,
body.learning-home header.top-navbar .nav-item.flag-nav-item,
body.learning-home header.top-navbar .flag-container-top-right {
    margin-right: 0 !important;
    right: 0 !important;
}

body.learning-home header.top-navbar,
body.learning-home header.top-navbar .navbar,
body.learning-home header.top-navbar .navbar.bg-light,
body.learning-home header.top-navbar .bg-light {
    background: #4c1864 !important;
    background-color: #4c1864 !important;
    background-image: none !important;
}
