﻿.about-page {
  background-color: #F0F0F0;
}
.about-page .AboutUs {
  position: relative;
  height: 70vh;
  background-repeat: no-repeat;
  background-size: cover;
}

@media (max-width: 576px) {
    .about-page .AboutUs {
        height: 50vh;
    }
}

    .about-page .AboutUs .overlay {
        position: absolute;
        background: rgba(0, 0, 0, 0.5);
        width: 100%;
        height: 100%;
        top: 0;
    }

    .about-page .AboutUs ul {
        position: absolute;
        top: 250px;
        width: 288px;
        z-index: 1000;
        display: flex;
        flex-direction: column;
        border: none;
        z-index: 0;
    }

        .about-page .AboutUs ul .nav-item {
            margin: 10px 0;
        }

            .about-page .AboutUs ul .nav-item .nav-link {
                width: 100%;
                background: #00A651;
                color: #fff;
                border-radius: 50px;
                text-align: start;
                padding: 15px;
                font-size: 16px;
                display: flex;
                justify-content: space-between;
            }

                .about-page .AboutUs ul .nav-item .nav-link i {
                    color: #fff;
                }

                .about-page .AboutUs ul .nav-item .nav-link.active {
                    color: #00A651;
                    background: #fff;
                }

                    .about-page .AboutUs ul .nav-item .nav-link.active i {
                        color: #00A651;
                    }

    @media (max-width: 576px) {
        .about-page .AboutUs ul .nav-item .nav-link {
            font-size: 8px;
        }
    }

    @media (max-width: 576px) {
        .about-page .AboutUs ul {
            display: flex;
            z-index: 111;
            flex-direction: row;
            flex-wrap: nowrap;
            top: 650px !important;
            width: 93%;
            height: max-content;
        }
    }

    .about-page .tabs-aboutus .Box-content {
        margin-top: -15%;
        position: relative;
        margin-bottom: 10%;
    }

    .faculty-banner {
        background-size: cover;
        height: 90vh;
        position: relative;
    }

        .faculty-banner .overlay {
            position: absolute;
            background: rgba(0, 0, 0, 0.5);
            width: 100%;
            height: 100%;
            top: 0;
        }

        .faculty-banner span {
            font-size: 32px !important;
            font-weight: bold;
        }

    .welcome p {
        font-size: 22px;
        line-height: 40px;
    }

    .welcome .back-shadi {
        position: relative;
    }

        .welcome .back-shadi .green-box {
            background-color: #00A651;
            position: absolute;
            width: 300px;
            height: 300px;
            top: 0;
            right: 0;
            z-index: -1;
        }

        .welcome .back-shadi img {
            padding: 10px;
        }

    .welcome .content-shadi {
        gap: 10px;
    }

        .welcome .content-shadi .line-green {
            height: auto;
            width: 8px;
            background-color: #00A651;
            margin: 20px 0;
        }

    .welcome .line-end {
        border: 1.5px solid #6C6C6D;
    }

    .LatestNews .line {
        border-color: #00A651;
        border-top-style: solid;
        width: 200px;
        height: 0;
    }

    .LatestNews .box-news .content-news .line-green {
        width: 100%;
        border-width: 1px;
        border: 1px solid #00A651;
        margin-bottom: 5px;
    }

    .LatestNews .box-news .content-news h6 {
        color: #000;
    }

    .LatestNews .box-news .content-news p {
        font-size: 16px;
        color: #000;
    }

    @media (max-width: 576px) {
        .LatestNews .box-news {
            display: flex;
            flex-direction: column;
        }
    }

    .Announcements .line {
        border-color: #00A651;
        border-top-style: solid;
        width: 200px;
        height: 0;
    }

    .Journey {
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        height: 60vh;
        position: relative;
    }

        .Journey .overlay {
            position: absolute;
            top: 0;
            height: 100%;
            width: 100%;
            background: rgba(255, 255, 255, 0.9);
        }

        .Journey span {
            color: #00A651;
        }

        .Journey p {
            color: #4B4B4B;
        }

        .Journey .buttons {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

    .counter .line-end {
        border: 1.5px solid #6C6C6D;
    }

    .counter .numbers h2 {
        border-bottom: 2px solid #6C6C6D;
        margin: 13px 50px;
    }

    .counter .numbers p {
        font-size: 14px;
        color: #000;
    }

    .facilites {
        overflow: hidden;
    }

        .facilites .line {
            border-color: #00A651;
            border-top-style: solid;
            width: 200px;
            height: 0;
        }

    .main-carousel {
        position: relative;
        margin-bottom: 20px;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

        .main-carousel .owl-item .carousel-item {
            position: relative;
            height: 600px;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            display: block;
            border-radius: 25px;
            overflow: hidden;
        }

            .main-carousel .owl-item .carousel-item .carousel-content {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                color: white;
                text-align: center;
                background: rgba(255, 255, 255, 0.6);
                padding: 20px;
            }

                .main-carousel .owl-item .carousel-item .carousel-content h2 {
                    font-size: 3rem;
                    margin-bottom: 15px;
                    text-transform: uppercase;
                    letter-spacing: 2px;
                    color: #000;
                }

    @media (max-width: 576px) {
        .main-carousel .owl-item .carousel-item .carousel-content h2 {
            font-size: 2rem;
        }
    }

    .main-carousel .owl-item .carousel-item .carousel-content p {
        font-size: 1.1rem;
        max-width: 600px;
        line-height: 1.6;
        color: #fff;
    }

    @media (max-width: 576px) {
        .main-carousel .owl-item .carousel-item .carousel-content p {
            font-size: 10px;
        }
    }

    @media (max-width: 576px) {
        .main-carousel .owl-item .carousel-item {
            height: 300px;
        }
    }

    .main-carousel .owl-item.active .carousel-item .carousel-content {
        background: rgba(0, 26, 12, 0.6);
    }

        .main-carousel .owl-item.active .carousel-item .carousel-content h2 {
            color: #fff;
        }

    .thumbnail-carousel {
        max-width: 80%;
        margin: 0 auto;
    }

        .thumbnail-carousel .thumbnail-item {
            padding: 10px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

            .thumbnail-carousel .thumbnail-item .thumbnail-content {
                background-color: white;
                padding: 15px;
                text-align: center;
                border-radius: 5px;
                transition: all 0.3s ease;
                border: 2px solid transparent;
            }

                .thumbnail-carousel .thumbnail-item .thumbnail-content.active {
                    border-bottom: #00a86b;
                    background-color: #f9f9f9;
                }

                .thumbnail-carousel .thumbnail-item .thumbnail-content:hover {
                    transform: translateY(-5px);
                    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
                }

    @media (max-width: 576px) {
        .thumbnail-carousel .thumbnail-item .thumbnail-content {
            padding: 0;
        }
    }

    .owl-dots {
        display: none;
    }

    .custom-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 50px;
        height: 50px;
        background-color: rgba(255, 255, 255, 0.7);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-size: 24px;
        color: #333;
        z-index: 10;
        transition: all 0.3s ease;
    }

        .custom-nav:hover {
            background-color: white;
        }

        .custom-nav.custom-prev {
            left: 20px;
        }

        .custom-nav.custom-next {
            right: 20px;
        }
.box-facilites {
    position: relative;
}

    .box-facilites .overlay {
        width: 100%;
        height: 100%;
        top: 0;
        position: absolute;
        background: linear-gradient(to bottom,rgba(0,0,0,0),#000);
    }

    .box-facilites .content {
        position: absolute;
        bottom: 2%;
        padding: 5%;
    }

        .box-facilites .content h4 {
            text-transform: uppercase;
        }

.event-schedule .box-event {
    background: #fff5e9;
}

    .event-schedule .box-event .img {
        width: 250px;
        height: 250px;
        object-fit: cover;
    }

    .green-button {
        border-radius: 22.5px;
        background: #00A651;
        text-decoration: none;
        color: #fff;
        padding: 9px 40px;
        border: 1px solid #00A651;
        transition: 0.3s ease-in;
    }

        .green-button:hover {
            background: transparent;
            border: 1px solid #00A651;
            color: #00A651;
            transition: 0.3s ease-in;
        }

        .green-button.margin-plus {
            padding: 9px 40px !important;
        }

        .green-button.footerbutton {
            color: #fff;
            border: 1px solid #fff;
            transition: 0.3s ease-in;
        }

    @media (max-width: 576px) {
        .green-button {
            padding: 9px;
        }
    }

    .green-button-footer {
        border-radius: 22.5px;
        background: #00A651;
        text-decoration: none;
        color: #fff;
        padding: 9px 40px;
        border: 1px solid #00A651;
        transition: 0.3s ease-in;
    }

        .green-button-footer:hover {
            background: transparent;
            border: 1px solid #fff;
            color: #fff;
            transition: 0.3s ease-in;
        }

    .Green-color {
        color: #00A651;
    }
