﻿/* =========================
   NEWS CARD
========================= */

.news-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    transition: 0.3s;
    height: 100%;
    border: 1px solid #eee;
}

    .news-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    }

.news-link {
    text-decoration: none;
    color: #222;
    display: block;
}

.news-thumb {
    width: 100%;
    height: 260px;
    overflow: hidden;
    position: relative;
}

.news-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
    transition: 0.4s;
}

.news-card:hover .news-image {
    transform: scale(1.05);
}

.news-content {
    padding: 16px;
}

.news-title {
    font-size: 18px;
    line-height: 1.5;
    font-weight: 700;
    color: #0b3d91;
    margin: 0;
}

/* MOBILE */
@media(max-width:768px) {

    .news-thumb {
        height: 220px;
    }

    .news-title {
        font-size: 16px;
    }
}
/* FIX DATALIST ASP.NET */

table {
    width: 100%;
}

td {
    padding: 12px;
    vertical-align: top;
}

/* CARD */

.news-card {
    width: 100%;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: 0.3s;
}

    .news-card:hover {
        transform: translateY(-5px);
    }

    .news-card a {
        text-decoration: none;
    }

.news-image {
    width: 100% !important;
    height: 260px !important;
    object-fit: cover;
    display: block;
}

/* TITLE */

.news-content {
    padding: 15px;
}

.news-title {
    font-size: 18px;
    line-height: 1.5;
    color: #003c8f;
    font-weight: 700;
}

/* MOBILE */

@media(max-width:768px) {

    .news-image {
        height: 220px !important;
    }

    .news-title {
        font-size: 16px;
    }

    table,
    tbody,
    tr,
    td {
        display: block;
        width: 100% !important;
    }
}
.video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    overflow: hidden;
    border-radius: 10px;
    background: #000;
}

    .video-wrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }
  /*fooet*/
/* ================= FOOTER SCHOOL ================= */

.footer-school {
    background: linear-gradient(135deg, #0d47a1, #1565c0);
    color: #fff;
    padding: 60px 0 20px;
    margin-top: 50px;
    position: relative;
}

    .footer-school::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 5px;
        background: #ffc107;
    }

    .footer-school img {
        background: #fff;
        padding: 8px;
        border-radius: 50%;
        box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    }

    .footer-school h5,
    .footer-title {
        font-size: 22px;
        font-weight: 700;
        margin-bottom: 20px;
        color: #fff;
        position: relative;
    }

        .footer-title::after,
        .footer-school h5::after {
            content: "";
            width: 50px;
            height: 3px;
            background: #ffc107;
            display: block;
            margin-top: 8px;
            border-radius: 10px;
        }

    .footer-school p {
        color: rgba(255,255,255,0.85);
        line-height: 1.8;
        margin-bottom: 10px;
        font-size: 15px;
    }

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-links li {
        margin-bottom: 12px;
    }

        .footer-links li a {
            color: rgba(255,255,255,0.85);
            text-decoration: none;
            transition: all 0.3s ease;
            display: inline-block;
        }

            .footer-links li a:hover {
                color: #ffc107;
                transform: translateX(5px);
            }

.footer-school iframe {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.2);
}

.footer-school hr {
    border-color: rgba(255,255,255,0.15);
    margin: 35px 0 20px;
}

.footer-school .text-center {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

/* Mobile */
@media (max-width: 768px) {

    .footer-school {
        text-align: center;
        padding: 40px 0 20px;
    }

        .footer-title::after,
        .footer-school h5::after {
            margin: 10px auto 0;
        }

        .footer-school iframe {
            margin-top: 20px;
        }
}
/*header*/
/* ================= HEADER SCHOOL ================= */
/* ================= HEADER ================= */

#site-header {
    background: linear-gradient(135deg, #0d47a1, #1565c0);
    box-shadow: 0 3px 15px rgba(0,0,0,0.12);
    padding: 5px 0;
    transition: all 0.3s ease;
    z-index: 9999;
    border-bottom: 4px solid #ffc107;
}

/* LOGO */
.navbar-brand img {
    background: #fff;
    padding: 5px;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

/* MENU */
.navbar-nav .nav-link {
    color: #fff !important;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 15px !important;
    border-radius: 8px;
    transition: all 0.3s ease;
}

    /* HOVER */
    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        background: rgba(255,255,255,0.15);
        color: #ffc107 !important;
        transform: translateY(-2px);
    }

/* DROPDOWN */
.dropdown-menu {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
    padding: 8px 0;
}

.dropdown-item {
    padding: 10px 18px;
    font-size: 14px;
    transition: all 0.3s ease;
}

    .dropdown-item:hover {
        background: #1565c0;
        color: #fff;
        padding-left: 24px;
    }

/* MOBILE BUTTON */
.navbar-toggler {
    border: none;
    background: rgba(255,255,255,0.15);
    border-radius: 8px;
    padding: 6px 10px;
}

    .navbar-toggler:focus {
        box-shadow: none;
    }

.navbar-toggler-icon {
    filter: brightness(0) invert(1);
}

/* BANNER FIX */
.banner {
    margin-top: 95px;
}

/* MOBILE */
@media (max-width: 991px) {

    .navbar-collapse {
        background: #1565c0;
        margin-top: 10px;
        padding: 15px;
        border-radius: 12px;
    }

    .navbar-nav .nav-link {
        margin-bottom: 5px;
    }

    .banner {
        margin-top: 80px;
    }

}
