/* =====================================================
   K.R.C.E.S. S.B. Harakuni BBA & BCA College
   Professional Bootstrap 5 Theme
===================================================== */

/* Reset */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Segoe UI',Tahoma,Geneva,Verdana,sans-serif;
    background:#f5f7fb;
    color:#222;
    line-height:1.6;
}

/* ================= TOP BAR ================= */

/* ================= TOP BAR ================= */

.top-bar{
    background:#001F4D;
    color:#FFFFFF;
    padding:8px 0;
    font-size:14px;
}

.top-bar i{
    color:#FFD700;
    margin-right:6px;
}

/* ================= HEADER ================= */

/* ================= HEADER ================= */

.main-header{
    background:linear-gradient(135deg,#003366,#0B3D91,#0056b3);
    padding:20px 0;
    border-bottom:5px solid #FFD700;
}

.header-logo{

    width:120px;

    transition:.3s;

}

.header-logo:hover{

    transform:scale(1.05);

}

.krcu-logo{

    width:95px;

}

.campus-photo{

    width:120px;

    border-radius:8px;

    box-shadow:0 5px 15px rgba(0,0,0,.15);

}

/* ================= COLLEGE NAME ================= */

.society-name{
    color:#FFD700;
    font-size:22px;
    font-weight:700;
    letter-spacing:2px;
    margin-bottom:8px;
    text-transform:uppercase;
}
.college-name{
    color:#FFFFFF;
    font-size:40px;
    font-weight:800;
    margin-bottom:10px;
    line-height:1.2;
    text-shadow:2px 2px 6px rgba(0,0,0,0.35);
}
.college-subtitle{
    color:#F5F5F5;
    font-size:17px;
    font-weight:500;
    margin-bottom:4px;
}

/* ================= NAVBAR ================= */

.navbar{

    background:#0B3D91;

    padding:10px 0;

    box-shadow:0 3px 10px rgba(0,0,0,.15);

}

.navbar-brand{

    color:#fff !important;

    font-weight:700;

}

.navbar-nav .nav-link{

    color:#fff !important;

    font-size:16px;

    font-weight:600;

    padding:12px 16px;

    transition:.3s;

}

.navbar-nav .nav-link:hover{

    color:#FFD700 !important;

}

.dropdown-menu{

    border:none;

    border-radius:8px;

    box-shadow:0 10px 25px rgba(0,0,0,.15);

}

.dropdown-item{

    padding:10px 18px;

    font-size:15px;

}

.dropdown-item:hover{

    background:#0B3D91;

    color:#fff;

}

.btn-warning{

    border-radius:30px;

    font-weight:700;

    padding:10px 20px;

}
/* =====================================================
   PART 2 : Welcome | Slider | News | About
===================================================== */

/* ================= WELCOME ================= */

.welcome-section{

    background:#ffffff;

    padding:35px 0 25px;

    text-align:center;

}

.welcome-section h1{

    color:#0B3D91;

    font-size:28px;

    font-weight:600;

    margin-bottom:10px;

}

.welcome-section h2{

    color:#7B0000;

    font-size:42px;

    font-weight:800;

    margin-bottom:12px;

}

.welcome-section p{

    font-size:18px;

    color:#555;

}

/* ================= HOME SECTION ================= */

.home-top{

    padding:30px 0;

}

/* ================= SLIDER ================= */

.carousel{

    border-radius:12px;

    overflow:hidden;

    box-shadow:0 8px 25px rgba(0,0,0,.15);

}

.carousel-item img{

    width:100%;

    height:420px;

    object-fit:cover;

}

.carousel-caption{

    background:rgba(0,0,0,.45);

    padding:20px;

    border-radius:10px;

    bottom:30px;

}

.carousel-caption h2{

    color:#FFD700;

    font-size:36px;

    font-weight:700;

}

.carousel-caption p{

    color:#fff;

    font-size:18px;

}

/* ================= NEWS ================= */

.news-card{

    border:none;

    border-radius:12px;

    overflow:hidden;

    box-shadow:0 8px 25px rgba(0,0,0,.12);

}

.news-card .card-header{

    background:#0B3D91;

    color:#fff;

    text-align:center;

    padding:15px;

}

.news-card .card-header h4{

    margin:0;

    font-weight:700;

}

.news-card .card-body{

    background:#ffffff;

    height:420px;

    overflow:hidden;

}

.news-card marquee{

    font-size:16px;

    line-height:2;

    color:#333;

}

.news-card hr{

    margin:8px 0;

}

/* ================= ABOUT ================= */

.about-section{

    background:#ffffff;

    padding:70px 0;

}

.section-title{

    color:#0B3D91;

    font-size:34px;

    font-weight:700;

    margin-bottom:25px;

    position:relative;

}

.section-title::after{

    content:"";

    width:80px;

    height:4px;

    background:#FFD700;

    display:block;

    margin-top:10px;

}

.about-section p{

    text-align:justify;

    font-size:17px;

    line-height:1.9;

    color:#555;

}

.about-section img{

    border-radius:10px;

    box-shadow:0 8px 20px rgba(0,0,0,.15);

}

/* ================= BUTTONS ================= */

.btn-primary{

    background:#0B3D91;

    border:none;

    border-radius:30px;

    padding:10px 25px;

    font-weight:600;

}

.btn-primary:hover{

    background:#062b67;

}

.btn-outline-primary{

    border-radius:30px;

}

/* ================= CARDS ================= */

.card{

    border:none;

    border-radius:12px;

    transition:.3s;

}

.card:hover{

    transform:translateY(-6px);

    box-shadow:0 12px 25px rgba(0,0,0,.15);

}
/* =====================================================
   PART 3 : Courses | Principal | Placement | Gallery
===================================================== */

/* ================= COURSES ================= */

.courses-section{
    background:#f8f9fa;
    padding:70px 0;
}

.course-card{
    background:#fff;
    border:none;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 8px 20px rgba(0,0,0,.10);
    transition:.3s;
}

.course-card:hover{
    transform:translateY(-8px);
    box-shadow:0 15px 30px rgba(0,0,0,.18);
}

.course-card img{
    width:100%;
    height:240px;
    object-fit:cover;
}

.course-card .card-body{
    padding:25px;
}

.course-card h3{
    color:#0B3D91;
    font-size:28px;
    font-weight:700;
    margin-bottom:15px;
}

.course-card p{
    color:#555;
    line-height:1.8;
    margin-bottom:20px;
}

/* ================= PRINCIPAL ================= */

.principal-section{
    background:#ffffff;
    padding:70px 0;
}

.principal-img{
    width:240px;
    height:240px;
    object-fit:cover;
    border-radius:50%;
    border:6px solid #FFD700;
    box-shadow:0 8px 20px rgba(0,0,0,.18);
}

.principal-section h2{
    color:#0B3D91;
    font-size:34px;
    font-weight:700;
    margin-bottom:20px;
}

.principal-section p{
    color:#555;
    font-size:17px;
    line-height:1.9;
    text-align:justify;
}

/* ================= PLACEMENT ================= */

.placement-section{
    background:#f8f9fa;
    padding:70px 0;
}

.placement-card{
    background:#fff;
    border-radius:12px;
    padding:35px 25px;
    text-align:center;
    box-shadow:0 8px 20px rgba(0,0,0,.10);
    transition:.3s;
}

.placement-card:hover{
    transform:translateY(-8px);
}

.placement-card i{
    font-size:55px;
    color:#0B3D91;
    margin-bottom:20px;
}

.placement-card h3{
    color:#7B0000;
    font-size:34px;
    font-weight:700;
}

.placement-card h5{
    color:#0B3D91;
    margin:15px 0;
    font-weight:700;
}

.placement-card p{
    color:#666;
}

/* ================= COUNTERS ================= */

.counter-box{
    background:#0B3D91;
    color:#fff;
    text-align:center;
    padding:35px 20px;
    border-radius:10px;
}

.counter-box h2{
    color:#FFD700;
    font-size:42px;
    font-weight:700;
}

.counter-box h5{
    margin-top:10px;
}

/* ================= FACULTY ================= */

.faculty-card{
    background:#fff;
    border:none;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 8px 20px rgba(0,0,0,.10);
    transition:.3s;
}

.faculty-card:hover{
    transform:translateY(-8px);
}

.faculty-card img{
    width:100%;
    height:280px;
    object-fit:cover;
}

.faculty-card .card-body{
    text-align:center;
}

.faculty-card h5{
    color:#0B3D91;
    font-weight:700;
    margin-bottom:10px;
}

.faculty-card p{
    color:#666;
    margin-bottom:5px;
}

/* ================= GALLERY ================= */

.gallery-section{
    background:#ffffff;
    padding:70px 0;
}

.gallery-item{
    overflow:hidden;
    border-radius:12px;
    margin-bottom:25px;
    box-shadow:0 8px 20px rgba(0,0,0,.12);
}

.gallery-item img{
    width:100%;
    height:250px;
    object-fit:cover;
    transition:.4s;
}

.gallery-item:hover img{
    transform:scale(1.08);
}

/* ================= TABLES ================= */

.table{
    background:#fff;
    border-radius:10px;
    overflow:hidden;
}

.table thead{
    background:#0B3D91;
    color:#fff;
}

.table th,
.table td{
    vertical-align:middle;
    padding:12px;
}

/* ================= FORMS ================= */

.form-control,
.form-select{
    border-radius:8px;
    padding:12px;
    border:1px solid #ced4da;
}

.form-control:focus,
.form-select:focus{
    border-color:#0B3D91;
    box-shadow:0 0 0 .15rem rgba(11,61,145,.20);
}

textarea{
    resize:none;
}
/* =====================================================
   PART 4 : Footer | Responsive | Utilities
===================================================== */

/* ================= FOOTER ================= */

.footer{
    background:#052c65;
    color:#ffffff;
    padding:60px 0 20px;
}

.footer h4{
    color:#FFD700;
    font-weight:700;
    margin-bottom:20px;
}

.footer p{
    color:#dddddd;
    line-height:1.8;
    font-size:15px;
}

.footer ul{
    list-style:none;
    padding-left:0;
}

.footer ul li{
    margin-bottom:10px;
}

.footer ul li a{
    color:#ffffff;
    text-decoration:none;
    transition:.3s;
}

.footer ul li a:hover{
    color:#FFD700;
    padding-left:6px;
}

.footer .contact-info i{
    color:#FFD700;
    width:22px;
}

.footer hr{
    border-color:rgba(255,255,255,.15);
    margin:25px 0;
}

.footer-bottom{
    text-align:center;
    color:#cccccc;
    font-size:14px;
}

/* ================= SOCIAL ICONS ================= */

.social-icons{
    margin-top:15px;
}

.social-icons a{
    width:42px;
    height:42px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin-right:8px;
    border-radius:50%;
    background:#ffffff;
    color:#0B3D91;
    transition:.3s;
}

.social-icons a:hover{
    background:#FFD700;
    color:#000;
    transform:translateY(-3px);
}

/* ================= PAGE TITLE ================= */

.page-title{
    background:#0B3D91;
    color:#fff;
    padding:35px 0;
    text-align:center;
}

.page-title h1{
    font-size:38px;
    font-weight:700;
}

/* ================= BREADCRUMB ================= */

.breadcrumb{
    background:transparent;
    margin-top:10px;
    justify-content:center;
}

.breadcrumb a{
    color:#FFD700;
    text-decoration:none;
}

.breadcrumb-item.active{
    color:#ffffff;
}

/* ================= UTILITIES ================= */

.shadow-custom{
    box-shadow:0 8px 20px rgba(0,0,0,.15);
}

.rounded-10{
    border-radius:10px;
}

.rounded-15{
    border-radius:15px;
}

.bg-primary-dark{
    background:#0B3D91;
}

.bg-light-blue{
    background:#eef5ff;
}

.text-primary-dark{
    color:#0B3D91;
}

.text-maroon{
    color:#7B0000;
}

.section-padding{
    padding:70px 0;
}

/* ================= BACK TO TOP ================= */

#backToTop{
    position:fixed;
    right:20px;
    bottom:20px;
    width:45px;
    height:45px;
    border:none;
    border-radius:50%;
    background:#0B3D91;
    color:#fff;
    cursor:pointer;
    display:none;
    z-index:999;
    transition:.3s;
}

#backToTop:hover{
    background:#FFD700;
    color:#000;
}

/* ================= RESPONSIVE ================= */

@media (max-width:1200px){

.college-name{
    font-size:36px;
}

.navbar-nav .nav-link{
    padding:12px 10px;
    font-size:15px;
}

.carousel-item img{
    height:380px;
}

.news-card .card-body{
    height:380px;
}

}

@media (max-width:992px){

.main-header{
    text-align:center;
}

.header-logo{
    width:90px;
    margin-bottom:10px;
}

.krcu-logo{
    width:80px;
}

.campus-photo{
    width:100px;
    margin-top:15px;
}

.college-name{
    font-size:28px;
    white-space:normal;
}

.society-name{
    font-size:20px;
}

.college-subtitle{
    font-size:15px;
}

.navbar-nav{
    text-align:center;
}

.carousel-item img{
    height:320px;
}

.news-card{
    margin-top:25px;
}

.news-card .card-body{
    height:260px;
}

.principal-img{
    width:180px;
    height:180px;
    margin-bottom:20px;
}

.section-title{
    font-size:30px;
}

}

@media (max-width:768px){

.top-bar{
    text-align:center;
    font-size:13px;
}

.college-name{
    font-size:22px;
}

.society-name{
    font-size:18px;
}

.college-subtitle{
    font-size:14px;
}

.welcome-section h2{
    font-size:28px;
}

.carousel-item img{
    height:220px;
}

.carousel-caption{
    display:none;
}

.course-card img{
    height:200px;
}

.gallery-item img{
    height:180px;
}

.page-title h1{
    font-size:28px;
}

.footer{
    text-align:center;
}

.social-icons{
    justify-content:center;
}

}

@media (max-width:576px){

.header-logo{
    width:75px;
}

.krcu-logo{
    width:65px;
}

.campus-photo{
    width:85px;
}

.college-name{
    font-size:20px;
}

.welcome-section h2{
    font-size:24px;
}

.section-title{
    font-size:26px;
}

.btn{
    width:100%;
    margin-bottom:10px;
}

.footer{
    padding:40px 0 20px;
}

}
.navbar .nav-link{
    color:#fff !important;
    font-weight:600;
    padding:12px 15px;
    transition:.3s;
}

.navbar .nav-link:hover,
.navbar .nav-link.active{
    color:#FFD700 !important;
}

.dropdown-menu{
    border-radius:8px;
    border:none;
    box-shadow:0 8px 20px rgba(0,0,0,.15);
}

.dropdown-item:hover{
    background:#0B3D91;
    color:#fff;
}

.btn-warning{
    border-radius:30px;
    padding:8px 18px;
}

@media (min-width:992px){
    .navbar .dropdown:hover>.dropdown-menu{
        display:block;
        margin-top:0;
    }
}
/* ==========================================
   ERP Login Button
========================================== */

.navbar .btn-warning{
    border-radius:30px;
    padding:8px 18px;
    font-weight:600;
}

.dropdown-menu{
    border-radius:12px;
}

.dropdown-item{
    padding:10px 18px;
}

.dropdown-item:hover{
    background:#0B3D91;
    color:#fff;
}

.dropdown-item:hover i{
    color:#fff !important;
}
.page-header{
    background: linear-gradient(135deg,#003366,#00509e);
}

.table th{
    vertical-align: middle;
}

.table td{
    vertical-align: middle;
}

.table-hover tbody tr:hover{
    background:#f8fbff;
}
/* ===== Force Society Name White ===== */

.main-header .society-name{
    color:#FFFFFF !important;
}

.main-header h5.society-name{
    color:#FFFFFF !important;
}