﻿/*------------------------------------------------------------------
[Master Stylesheet]

Project:        EduPoint
Version:        1.0
-------------------------------------------------------------------*/
@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,400,500,600,700,800|Raleway:400,300,200,500,700,600,800|Playfair+Display:400,400italic,700,700italic);
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@700&family=Roboto:wght@400;700&display=swap');
.aboutsection {
    font-family: 'Roboto Condensed', sans-serif;
    margin-top:30px;
}
*{
    margin: 0px;
    padding : 0px;
    box-sizing: border-box;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    line-height: 1.42857143;
}

.line-bottom-edu {
    position: relative;
    margin-bottom: 30px;
    padding-bottom: 10px;
}
body {
    margin-bottom : 0px;
}

.line-bottom-edu:after {
    bottom: -1px;
    content: "";
    height: 2px;
    left: 0;
    position: absolute;
    width: 50px;
}
.line-height-1 {
    line-height: 1 !important;
}
.text-theme-colored {
    color: #0d5189 !important;
}

.text-hover-theme-colored:hover {
    color: #0d5189 !important;
}

.text-theme-colored2 {
    color: #6b0b35 !important;
}

.text-hover-theme-colored2:hover {
    color: #FC9928 !important;
}
.text-theme-colored3 {
    color: #f45661 !important;
}

.text-hover-theme-colored3:hover {
    color: #f45661 !important;
}
/* NOTICE BOARD*/
.btnstyle {
    width: 19px;
    border-color: black;
    opacity: 50%;
}
/* PUBLICATION AND EVENTS MANAGEMENT*/

/* SECTION TITLES */
.section-title {
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
}

    .section-title span {
        color: #6b0b35;
    }

/* CARDS */
.event-card,
.publication-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,.12);
}

    .event-card img,
    .publication-card img {
        height: 230px;
        object-fit: cover;
    }

/* CARD BODY */
.card-body {
    padding: 15px;
}

.card-title {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 10px;
}

/* BUTTON */
.btn-theme {
    background-color: #6b0b35;
    color: #fff;
    border-radius: 25px;
    padding: 6px 16px;
}

    .btn-theme:hover {
        background-color: #530828;
        color: #fff;
    }

/* SUB TITLE */
.text-theme {
    color: #6b0b35;
    font-weight: 600;
    margin-bottom: 10px;
}

/* CAROUSEL CONTROLS */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
}
.event-card img,
.publication-card img {
    height: 160px;
    object-fit: cover;
}

.event-card,
.publication-card {
    border-radius: 10px;
}

.btn-theme {
    background-color: #6b0b35;
    color: #fff;
}

    .btn-theme:hover {
        background-color: #54082a;
    }

/* IMPORTANT: link fix */


/* director message and facilities*/
/* ===== THEME COLORS ===== */
.bg-theme-colored {
    background-color: #6b0b35;
}

.btn-theme {
    background-color: #6b0b35;
    color: #fff;
}

    .btn-theme:hover {
        background-color: #530828;
        color: #fff;
    }

.btn-theme-outline {
    border: 1px solid #fff;
    color: #fff;
}

    .btn-theme-outline:hover {
        background-color: #fff;
        color: #6b0b35;
    }
.text-truncate-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== DIRECTOR ===== */
.director-img {
    width: 300px;
    height: auto;
}
#directorCarousel .carousel-item {
    min-height: 100%;
    
    flex-direction: column;
    justify-content: center;
}

#directorCarousel .carousel-item {
    display: none;
}

#directorCarousel .carousel-item.active {
    display: block;
}

/* ===== FACILITIES ===== */
.facility-card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    height: 100%;
    box-shadow: 0 4px 10px rgba(0,0,0,.08);
}

.facility-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

/* ===== SECTION TITLE ===== */
.section-title {
    position: relative;
}

    .section-title::after {
        content: "";
        width: 60px;
        height: 3px;
        background: #6b0b35;
        display: block;
        margin: 10px auto 0;
    }

/* SUCCESS STATISTICS*/
.success-statistics {
    background-size: cover;
    background-position: center;
    position: relative;    
}

.success-statistics::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #FC9928 !important;
}

.success-statistics .container {
    position: relative;
    z-index: 1;
}

.funfact {
    padding: 0px;
}
.funfact-icon i {
    font-size: 40px;
    line-height: 1;
}

.funfact-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin: 0;
    /*line-height: 1.1;*/
}

.funfact-line {
    width: 50px;
    border-top: 4px solid #ffffff;
    margin: 2px 2px;
}

.funfact-content h6 {
    font-size: 16px;
    /*text-transform: uppercase;*/
    /*letter-spacing: 0.5px;*/
    margin-top: 10px;
    line-height: 1.2;
    opacity: 0.9;
}

/*FACULTY SECTION CSS*/
.faculty-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.faculty-card:hover {
    transform: translateY(-5px);
}

.faculty-body {
    padding: 5px;
}

    .faculty-body h5 {
        font-size:11px;        
        margin-bottom: 8px;
    }

    .faculty-body p {
        font-size: 11px;
        margin-bottom: 10px;
        color: #555;
    }

/* ---------------------FOOTER--------------------------------- */
footer {
    position: relative !important;
    z-index: 1;    
}

.footer-bg {
    position: relative;
    background-image: url('/images/footer.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    line-height:0px;
}

    /* Black overlay */
    .footer-bg::before {
        content: "";
        position: absolute;
        inset: 0;
        background-color: rgba(0, 0, 0, 0.95); /* adjust opacity here */
        opacity:0.9;
        z-index: 1;
    }

    /* Ensure footer content stays above overlay */
    .footer-bg > .container,
    .footer-bg > .containerr {
        position: relative;
        z-index: 2;
    }

    .footer-bg a {
        color: #ffffff; /* White font */
        text-decoration: none; /* Remove underline */
    }

        .footer-bg a:hover {
            color: #ffffff; /* Keep white on hover */
            text-decoration: underline; /* Optional: underline on hover */
        }

        /* BREADCRUMB FOR ALL PAGES*/
.breadcrumb-section {
    position: relative;
    min-height: 200px;
    display: flex;
    align-items: center; 
    justify-content: center;
}

    .breadcrumb-section::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) ), url('/images/breadcrumb.jpg');
        background-size: cover;
        background-position: center;
        opacity: 0.3;
        z-index: 1;
    }

.breadcrumb-links {
    position: relative;
    z-index: 2;
}
   

.breadcrumb-item + .breadcrumb-item::before {
    color: #fff;
}


/* ============================= */
/* SIDE MENU BASE STYLES          */
/* ============================= */
.side-menu {
    border: 1px solid #e6e6e6;
    background: #f7f7f7;
}

.side-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-family: 'Roboto Condensed', sans-serif;
}

    .side-menu-list li {
        position: relative;
        border-bottom: 1px solid #e6e6e6;
    }

        .side-menu-list li a {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 14px 16px;
            background: #ffffff;
            color: #777;
            font-size: 14px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.25s ease;
            font-family: 'Roboto Condensed', sans-serif;
        }

            .side-menu-list li a i {
                font-size: 16px;
                min-width: 20px;
                color: #777;
            }

        /* LEFT ORANGE INDICATOR */
        .side-menu-list li.active::before {
            content: "";
            position: absolute;
            left: 0;
            top: 0;
            width: 5px;
            height: 100%;
            color: #f57c00;
        }

        /* ACTIVE STATE */
        .side-menu-list li.active a {
            background: #6b0b35;
            color: #ffffff;
        }

            .side-menu-list li.active a i {
                color: #ffffff;
            }

        /* HOVER EFFECT */
        .side-menu-list li a:hover {
            background: #6b0b35;
            color: #ffffff;
        }

            .side-menu-list li a:hover i {
                color: #ffffff;
            }

/* ============================= */
/* SMART SIDE FLYOUT SUBMENU     */
/* ============================= */

.side-menu-list li.has-submenu {
    position: relative;
}

/* Arrow */
.submenu-arrow {
    margin-left: auto;
    font-size: 12px;
    transition: transform 0.3s ease;
}

/* Submenu */
.side-menu-list li.has-submenu .submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    position: absolute;
    top: 0;
    min-width: 220px;
    background: #f7f7f7;
    border: 1px solid #e6e6e6;
    display: none;
    z-index: 999;
}

/* Default → open RIGHT */
.side-menu-list li.has-submenu.open-right .submenu {
    left: 100%;
    right: auto;
}

/* If no space → open LEFT */
.side-menu-list li.has-submenu.open-left .submenu {
    right: 100%;
    left: auto;
}

/* Submenu items */
.side-menu-list li.has-submenu .submenu li {
    border-bottom: 1px solid #e6e6e6;
}

    .side-menu-list li.has-submenu .submenu li a {
        padding: 14px 16px;
        background: #ffffff;
        color: #777;
        font-weight: 600;
        text-decoration: none;
        display: block;
        transition: all 0.25s ease;
    }

        .side-menu-list li.has-submenu .submenu li a:hover {
            background: #6b0b35;
            color: #ffffff;
        }

/* Show submenu */
.side-menu-list li.has-submenu.show > .submenu {
    display: block;
}

/* Arrow rotate */
.side-menu-list li.has-submenu.show > a .submenu-arrow {
    transform: rotate(90deg);
}



/* table header color and other setting*/

/*.table-theme thead th {
    background-color: var(--theme-colored, #6b0b35);*/ /* fallback */
    /*color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}*/





/* ===== Fee Structure Tables ===== */
.table-theme thead th {
    background-color: #680832 !important;
    color: #ffffff!important;
    font-weight: 600;
    vertical-align: top;
}

.fee-label {
    background-color: #93335d !important;
    color: #ffffff!important;
    font-weight: 600;
    text-align: left;
}

.fee-total-row td {
    background-color: #680832 !important;
    color: #ffffff;
    font-weight: 700;
}

.table-theme td,
.table-theme th {
    vertical-align: middle;
    font-size: 14px;
}

/* EVENTS MENU PAGES*/
.separator {
    padding: 0 10px; /* Adds padding to both sides */
}
.recent-events {
    padding: 10px 20px; /* Adds padding around the text */
    background-color: #f0f0f0; /* Light background color for contrast */
    border-radius: 5px; /* Rounded corners */
    font-weight: bold; /* Optional: make the text bolder */
    display: inline-flex; /* Ensures the icon and text align properly */
    align-items: center; /* Vertically centers the icon and text */
    gap: 10px; /* Adds some space between the icon and the text */
}

