html {
  position: relative;
  min-height: 100%;
}

body {

    font-family: 'Segoe UI', sans-serif;
}
/* NAVBAR BRANDING */
.bg-orange {
    background: linear-gradient(90deg, #ff7a18, #ff9f1a);
}

/* Menu text */
.navbar .nav-link {
    color: #fff !important;
    font-weight: 600;
    padding: 12px 16px;
}

/* Brand text */
.navbar-brand {
    color: #fff !important;
    font-weight: 700;
    font-size: 20px;
}

/* Hover effect */
.navbar .nav-link:hover,
.navbar .dropdown-item:hover {
    background: rgba(255,255,255,0.2);
    border-radius: 6px;
}

/* Dropdown menu */
.dropdown-menu {
    border-radius: 10px;
    border: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.dropdown-menu {
    position: absolute;
}
.dropdown-item {
    font-weight: 500;
}

/* make parent relative */
.dropdown-submenu {
    position: relative;
}

/* position 2nd level */
.dropdown-submenu > .submenu {
    top: 0;
    left: 100%;
    margin-left: .1rem;
    display: none;
}

/* show on hover (desktop) */
@media (min-width: 992px) {
    .dropdown-submenu:hover > .submenu {
        display: block;
    }
}

/* prevent parent dropdown from closing */
.dropdown-submenu > a:after {
    display: none;
}

@media (min-width: 992px) {

    /* Only first level dropdown */
    .navbar .dropdown > .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.25s ease;
    }

    .navbar .dropdown:hover > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* 2nd level submenu */
    .dropdown-submenu > .submenu {
        position: absolute;
        top: 0;
        left: 100%;
        display: none;
    }

    .dropdown-submenu:hover > .submenu {
        display: block;
    }
}


/* HERO */
.hero {
    position: relative;
}
/* HERO ANIMATION */
.hero {
    height: 75vh;
    background: url('/images/campus.jpg') center/cover;
}

.hero-animate {
    animation: zoomIn 1.2s ease;
}

/* HERO CAROUSEL */
.hero-img {
    height: 75vh;
    object-fit: cover;
    animation: zoomHero 6s linear infinite;
}

.hero-caption {
    position: absolute;
    top: 35%;
    text-align: center;
}

@keyframes zoomHero {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}

@keyframes zoomIn {
    from {
        transform: scale(1.2);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}
/* HORIZONTAL NOTICE SCROLL */
.notice-wrapper {
    background: #879b1f;
    color: white;
    overflow: hidden;
    white-space: nowrap;
    padding: 10px 0;
}

.notice-scroll {
    display: inline-block;
    padding-left: 100%;
    animation: scroll-left 20s linear infinite;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* FEATURE CARDS */
.feature-card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-radius: 12px;
    overflow: hidden;
}

    .feature-card:hover {
        transform: translateY(-10px) scale(1.03);
        box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    }

    .feature-card img {
        height: 180px;
        object-fit: cover;
    }
/* FOOTER */
footer {
    background: #002244;
    color: white;
}



/*Colour*/
.bg-orange{
    background-color: #fea856
}
.bg-green{
    background-color: #879b1f
}


.social-bar {
    background: #111;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin: 0 6px;
    border-radius: 50%;
    font-size: 18px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Brand colors */
.whatsapp {
    background: #25D366;
}

.facebook {
    background: #1877F2;
}

.twitter {
    background: #000000;
}

.linkedin {
    background: #0A66C2;
}

/* Hover effect */
.social-icon:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
    opacity: 0.9;
}
/*Notice Scroll*/
.notice-board {
    width: 100%;
    /*max-width: 400px;*/
    border: 1px solid #ddd;
    height: 400px; 
    overflow: hidden;
    font-family: Arial;
}
    .notice-board a {
        text-decoration: none; /* remove underline */
        color: #333; /* normal text color */
        font-weight: 500;
        display: block;
        transition: 0.3s ease;
    }

        .notice-board a:hover {
            color: #0d6efd; /* Bootstrap primary blue */
            padding-left: 5px; /* smooth hover effect */
        }
.notice-body {
    padding: 10px;
    animation: scrollUp 15s linear infinite;
    cursor:pointer;
}

.notice-item {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #ccc;
    cursor: pointer;
}

    .notice-item h6 {
        margin: 0;
        font-size: 14px;
        font-weight: bold;
    }

    .notice-item p {
        margin: 0;
        font-size: 13px;
        color: #555;
    }


@keyframes scrollUp {
    0% {
        transform: translateY(100%);
    }

    100% {
        transform: translateY(-100%);
    }
}

/* pause on hover */
.notice-board:hover .notice-body {
    animation-play-state: paused;
}
