﻿body, ul {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* 📰 Header */
.main-header {
    background-color: #fff;
}

    .main-header .logo img {
        max-height: 100px;
        height: auto;
    }

    .main-header .banner img {
        max-height: 100px;
        width: 100%;
        height: auto;
    }

/* 📑 Navbar */
.nav-menu-bar {
    border-top: 2px solid #e0e0e0;
    border-bottom: 2px solid #e0e0e0;
    background-color: #ffffff;
}

#mainNavbar {
    border-top: 1px solid red;
}

.navbar-nav {
    gap: 20px;
}

    .navbar-nav .nav-link {
        font-size: 16px;
        font-weight: 600;
        color: #212529;
        padding: 10px 18px;
        position: relative;
        transition: color 0.3s ease;
    }

        .navbar-nav .nav-link:hover {
            color: #dc3545;
            text-decoration: none;
        }

        .navbar-nav .nav-link::after {
            content: "";
            position: absolute;
            width: 0%;
            height: 2px;
            background-color: #dc3545;
            left: 0;
            bottom: 0;
            transition: width 0.3s ease;
        }

        .navbar-nav .nav-link:hover::after {
            width: 100%;
        }

/* 📢 Footer */
footer {
    font-size: 14px;
    background-color: #222;
}

    footer a {
        color: #ddd;
    }

        footer a:hover {
            color: #fff;
        }

/* ✂️ Utility */
.clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5em;
    max-height: calc(1.5em * 3);
    text-overflow: ellipsis;
    white-space: normal;
}
h2{
    font-weight:900;
}
.news-img {
    width: 100%;
}
.col-2 ul li {
    padding: 10px 0;
    border-bottom: 1px solid #ccc;
    list-style-type: none;
    cursor: pointer;
}
    .col-2 ul li:last-child {
        border-bottom: none;
    }
/* 📱 Responsive */
@media (max-width: 991px) {
    .main-header .logo,
    .main-header .banner {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }

    .navbar-collapse {
        text-align: center;
    }

    .navbar-nav .nav-link {
        padding: 10px;
    }

    .main-header .d-flex {
        flex-direction: column;
        gap: 15px;
    }
}

@media (min-width: 992px) {
    .main-header .logo {
        margin-right: 100px;
    }

    .main-header .d-flex {
        gap: 100px;
    }
}

@media (max-width: 768px) {
    .news-img {
        height: auto;
    }

    .card {
        height: auto !important;
    }

    .position-absolute {
        position: relative !important;
        transform: none !important;
    }

    .col-9, .col-4, .col-2 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .border-end {
        border-right: none !important;
        border-bottom: 1px solid #ddd;
        margin-bottom: 15px;
    }

    .main-header .logo img,
    .main-header .banner img {
        max-height: 80px;
    }

    video {
        width: 100%;
        height: auto;
    }
}
