/*==================================================
 ABC COLLEGE MANAGEMENT SYSTEM
 PART 1 - GLOBAL + HEADER + NAVBAR FIXED
==================================================*/


/* GOOGLE FONT */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');



/* RESET */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}


html{
    scroll-behavior:smooth;
}


body{

    font-family:'Poppins',sans-serif;
    font-size:15px;
    color:#333;
    background:#f8f9fc;
    overflow-x:hidden;
    line-height:1.7;

}


img{

    max-width:100%;
    display:block;

}


a{

    text-decoration:none;
    transition:.3s;

}


ul{

    margin:0;
    padding:0;
    list-style:none;

}




/* COLORS */

:root{

    --primary:#003b8e;
    --secondary:#0056b3;
    --yellow:#f7b500;
    --dark:#002147;
    --white:#fff;
    --text:#555;

}



/*==========================
 TOP BAR
==========================*/


.top-bar{

    background:var(--dark);
    color:#fff;
    padding:10px 0;
    font-size:14px;

}


.top-bar i{

    color:var(--yellow);
    margin-right:5px;

}


.top-bar a{

    color:#fff;
    margin-left:15px;

}


.top-bar a:hover{

    color:var(--yellow);

}




/*==========================
 HEADER
==========================*/


.main-header{

    background:#fff;
    border-bottom:4px solid var(--primary);
    box-shadow:0 5px 20px rgba(0,0,0,.08);

}



.logo{

    max-height:90px;
    transition:.3s;

}


.logo:hover{

    transform:scale(1.05);

}



.college-title{

    font-size:34px;
    font-weight:800;
    color:var(--primary);
    letter-spacing:1px;

}



.college-subtitle{

    font-size:16px;
    font-weight:500;

}



.main-header .btn{

    border-radius:30px;
    padding:10px 25px;
    font-weight:600;

}





/*==========================
 NAVBAR
==========================*/


.navbar{

    background:#fff !important;
    padding:0;
    box-shadow:0 5px 20px rgba(0,0,0,.12);
    z-index:9999;

}



.navbar.sticky-top{

    top:0;

}



.navbar-nav{

    align-items:center;

}



.navbar-nav .nav-link{


    padding:20px 16px;
    font-size:15px;
    font-weight:600;
    color:var(--primary)!important;
    position:relative;


}



.navbar-nav .nav-link:hover{


    color:var(--yellow)!important;


}




.navbar-nav .nav-link.active{


    color:var(--yellow)!important;


}





/* MENU UNDERLINE */


.navbar-nav .nav-link::after{


    content:"";
    position:absolute;
    left:16px;
    bottom:8px;
    height:3px;
    width:0;
    background:var(--yellow);
    transition:.3s;


}



.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after{


    width:60%;


}





/* DROPDOWN */


.dropdown-menu{


    border:none;
    border-radius:10px;
    padding:10px 0;
    box-shadow:0 15px 35px rgba(0,0,0,.15);


}



.dropdown-item{


    padding:12px 20px;
    font-size:14px;
    font-weight:500;


}



.dropdown-item:hover{


    background:var(--primary);
    color:#fff;


}




/* SEARCH BUTTON */


.search-btn{


    width:42px;
    height:42px;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;


}




/* LOGIN BUTTON */


.dropdown .btn-outline-primary{


    border-radius:30px;
    font-weight:600;
    padding:10px 18px;


}



/* APPLY BUTTON */


.apply-btn{


    border-radius:30px;
    padding:10px 28px;
    font-weight:600;


}




/* MOBILE */


@media(max-width:991px){


.navbar-collapse{


    background:#fff;
    margin-top:15px;
    padding:20px;
    border-radius:10px;
    box-shadow:0 10px 30px rgba(0,0,0,.12);


}



.navbar-nav{


    align-items:flex-start;


}



.navbar-nav .nav-link{


    padding:12px 0;


}



.navbar .d-flex{


    margin-top:15px;


}


.logo{


    max-height:70px;


}


.college-title{


    font-size:24px;


}



}



@media(max-width:768px){


.college-title{


    font-size:20px;


}


.logo{


    max-height:60px;


}


/*==================================================
 ABC COLLEGE MANAGEMENT SYSTEM
 PART 2 - HERO + FEATURES + ABOUT + COUNTER
==================================================*/

/*==========================
 SECTION
==========================*/

section{
    padding:80px 0;
}

.section-title{
    text-align:center;
    margin-bottom:50px;
}

.section-title h2{
    font-size:38px;
    font-weight:800;
    color:var(--primary);
    margin-bottom:12px;
}

.section-title p{
    color:#666;
    max-width:700px;
    margin:auto;
}

/*==========================
 HERO SECTION
==========================*/

.hero-modern{
    min-height:700px;
    display:flex;
    align-items:center;
    background:linear-gradient(rgba(0,33,71,.75),rgba(0,33,71,.75)),
    url("../images/college-banner.jpg") center/cover no-repeat;
}

.hero-content h1{
    color:#fff;
    font-size:58px;
    font-weight:800;
    line-height:1.2;
}

.hero-content p{
    color:#fff;
    font-size:18px;
    margin:25px 0;
}

.hero-content .btn{
    margin-right:15px;
    margin-top:10px;
}

.hero-image img{
    width:100%;
    border-radius:20px;
    box-shadow:0 20px 40px rgba(0,0,0,.25);
}

/*==========================
 FEATURE BOX
==========================*/

.feature-box{
    background:#fff;
    border-radius:18px;
    padding:35px 25px;
    text-align:center;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.35s;
    height:100%;
}

.feature-box:hover{
    transform:translateY(-8px);
}

.feature-box i{
    font-size:48px;
    color:var(--primary);
    margin-bottom:18px;
}

.feature-box h4{
    font-size:22px;
    font-weight:700;
    color:#222;
    margin-bottom:10px;
}

.feature-box p{
    color:#666;
}

/*==========================
 ABOUT SECTION
==========================*/

.about-img img{
    border-radius:20px;
    box-shadow:0 15px 35px rgba(0,0,0,.15);
}

.about-content h2{
    color:var(--primary);
    font-weight:800;
    margin-bottom:20px;
}

.about-content p{
    color:#666;
    margin-bottom:18px;
}

.about-list li{
    margin-bottom:12px;
    font-weight:500;
}

.about-list i{
    color:green;
    margin-right:10px;
}

/*==========================
 COUNTER
==========================*/

.counter-section{
    background:#f4f8ff;
}

.stat-card{
    background:#fff;
    border-radius:18px;
    padding:35px 20px;
    text-align:center;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.35s;
}

.stat-card:hover{
    transform:translateY(-8px);
}

.stat-card i{
    font-size:45px;
    color:var(--primary);
    margin-bottom:15px;
}

.stat-card h2{
    font-size:42px;
    color:var(--primary);
    font-weight:800;
}

.stat-card p{
    color:#666;
    margin-top:10px;
    font-weight:600;
}

/*==========================
 RESPONSIVE
==========================*/

@media(max-width:991px){

.hero-modern{
    min-height:auto;
    padding:90px 0;
    text-align:center;
}

.hero-content h1{
    font-size:42px;
}

.hero-image{
    margin-top:40px;
}

.section-title h2{
    font-size:32px;
}

}

@media(max-width:768px){

section{
    padding:60px 0;
}

.hero-content h1{
    font-size:32px;
}

.hero-content p{
    font-size:16px;
}

.feature-box{
    margin-bottom:20px;
}

.about-img{
    margin-bottom:30px;
}

.stat-card{
    margin-bottom:20px;
}

}

}
/*==================================================
 ABC COLLEGE MANAGEMENT SYSTEM
 PART 3 - COURSES + NOTICE + PRINCIPAL + CTA
==================================================*/


/*==========================
 COURSE CARD
==========================*/

.course-card{

    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.35s;
    height:100%;

}

.course-card:hover{

    transform:translateY(-10px);

}

.course-card img{

    width:100%;
    height:220px;
    object-fit:cover;

}

.course-card .card-body{

    padding:25px;

}

.course-card h3{

    color:var(--primary);
    font-size:24px;
    font-weight:700;
    margin-bottom:12px;

}

.course-card p{

    color:#666;
    margin-bottom:20px;

}

.course-card .btn{

    border-radius:30px;
    padding:10px 22px;

}


/*==========================
 NOTICE BOARD
==========================*/

.notice-board{

    background:#fff;
    border-radius:18px;
    padding:30px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.notice-board h3{

    color:var(--primary);
    font-weight:700;
    margin-bottom:25px;

}

.notice-board ul{

    padding:0;
    margin:0;

}

.notice-board li{

    list-style:none;
    border-bottom:1px solid #eee;
    padding:14px 0;

}

.notice-board li:last-child{

    border-bottom:none;

}

.notice-board a{

    color:#333;
    font-weight:500;

}

.notice-board a:hover{

    color:var(--primary);

}

.notice-date{

    display:inline-block;
    background:var(--primary);
    color:#fff;
    padding:5px 10px;
    border-radius:6px;
    font-size:13px;
    margin-right:12px;

}


/*==========================
 PRINCIPAL MESSAGE
==========================*/

.principal-box{

    background:#fff;
    border-radius:20px;
    padding:40px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.principal-box img{

    width:180px;
    height:180px;
    border-radius:50%;
    object-fit:cover;
    border:5px solid var(--primary);
    margin:auto;

}

.principal-box h4{

    color:var(--primary);
    margin-top:20px;
    font-weight:700;

}

.principal-box h6{

    color:#666;
    margin-bottom:20px;

}

.principal-box p{

    color:#666;
    line-height:1.8;

}


/*==========================
 CTA SECTION
==========================*/

.cta-section{

    background:linear-gradient(135deg,var(--primary),var(--secondary));
    color:#fff;
    text-align:center;
    padding:90px 0;

}

.cta-section h2{

    color:#fff;
    font-size:42px;
    font-weight:800;

}

.cta-section p{

    font-size:18px;
    margin:20px auto;
    max-width:700px;

}

.cta-section .btn{

    margin-top:15px;
    border-radius:35px;
    padding:14px 35px;
    font-weight:600;

}


/*==========================
 QUICK INFO BOX
==========================*/

.info-box{

    background:#fff;
    border-radius:18px;
    padding:25px;
    text-align:center;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.35s;
    height:100%;

}

.info-box:hover{

    transform:translateY(-8px);

}

.info-box i{

    font-size:45px;
    color:var(--primary);
    margin-bottom:15px;

}

.info-box h4{

    font-weight:700;
    color:#222;
    margin-bottom:10px;

}

.info-box p{

    color:#666;

}


/*==========================
 RESPONSIVE
==========================*/

@media(max-width:991px){

.course-card{

    margin-bottom:30px;

}

.notice-board{

    margin-top:30px;

}

.principal-box{

    text-align:center;

}

}

@media(max-width:768px){

.cta-section{

    padding:70px 20px;

}

.cta-section h2{

    font-size:30px;

}

.cta-section p{

    font-size:16px;

}

.principal-box{

    padding:30px 20px;

}

.principal-box img{

    width:150px;
    height:150px;

}

}


/*==================================================
 ABC COLLEGE MANAGEMENT SYSTEM
 PART 4A - GALLERY + FACULTY + EVENTS + CONTACT
==================================================*/


/*==========================
 GALLERY
==========================*/

.gallery-card{

    position:relative;
    overflow:hidden;
    border-radius:18px;
    box-shadow:0 10px 25px rgba(0,0,0,.12);
    transition:.4s;

}

.gallery-card img{

    width:100%;
    height:260px;
    object-fit:cover;
    transition:.5s;

}

.gallery-card:hover img{

    transform:scale(1.12);

}

.gallery-card::before{

    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,33,71,.45);
    opacity:0;
    transition:.4s;

}

.gallery-card:hover::before{

    opacity:1;

}

.gallery-card i{

    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    color:#fff;
    font-size:35px;
    opacity:0;
    transition:.4s;

}

.gallery-card:hover i{

    opacity:1;

}



/*==========================
 FACULTY
==========================*/

.faculty-card{

    background:#fff;
    border-radius:18px;
    overflow:hidden;
    text-align:center;
    box-shadow:0 12px 30px rgba(0,0,0,.08);
    transition:.4s;

}

.faculty-card:hover{

    transform:translateY(-10px);

}

.faculty-card img{

    width:100%;
    height:300px;
    object-fit:cover;

}

.faculty-card .card-body{

    padding:25px;

}

.faculty-card h4{

    color:var(--primary);
    font-weight:700;

}

.faculty-card span{

    color:#666;

}

.faculty-social{

    margin-top:15px;

}

.faculty-social a{

    display:inline-flex;
    width:40px;
    height:40px;
    justify-content:center;
    align-items:center;
    border-radius:50%;
    background:var(--primary);
    color:#fff;
    margin:0 4px;
    transition:.3s;

}

.faculty-social a:hover{

    background:var(--yellow);
    color:#000;

}



/*==========================
 EVENTS
==========================*/

.event-card{

    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 12px 30px rgba(0,0,0,.08);
    transition:.4s;

}

.event-card:hover{

    transform:translateY(-10px);

}

.event-card img{

    width:100%;
    height:230px;
    object-fit:cover;

}

.event-card .card-body{

    padding:25px;

}

.event-date{

    color:var(--primary);
    font-weight:700;
    margin-bottom:10px;

}

.event-card h4{

    font-weight:700;

}

.event-card p{

    color:#666;

}



/*==========================
 CONTACT BOX
==========================*/

.contact-box{

    background:#fff;
    padding:35px;
    border-radius:18px;
    box-shadow:0 12px 30px rgba(0,0,0,.08);
    height:100%;

}

.contact-box i{

    color:var(--primary);
    font-size:22px;
    margin-right:10px;

}

.contact-box h4{

    color:var(--primary);
    font-weight:700;
    margin-bottom:15px;

}

.contact-box p{

    color:#666;

}



/*==========================
 CONTACT FORM
==========================*/

.form-control,
.form-select{

    border-radius:12px;
    padding:14px;
    border:1px solid #ddd;
    font-size:15px;

}

.form-control:focus,
.form-select:focus{

    border-color:var(--primary);
    box-shadow:0 0 10px rgba(0,86,179,.20);

}

textarea.form-control{

    resize:none;

}



/*==========================
 GOOGLE MAP
==========================*/

.map iframe{

    width:100%;
    height:420px;
    border:0;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,.10);

}



/*==========================
 RESPONSIVE
==========================*/

@media(max-width:991px){

.faculty-card,
.event-card,
.contact-box{

    margin-bottom:25px;

}

}

@media(max-width:768px){

.gallery-card img{

    height:220px;

}

.faculty-card img{

    height:250px;

}

.event-card img{

    height:210px;

}

.map iframe{

    height:300px;

}

}
/*==================================================
 ABC COLLEGE MANAGEMENT SYSTEM
 PART 4B - FOOTER + UTILITIES + ANIMATION
==================================================*/

/*==========================
 FOOTER
==========================*/

.footer{
    background:#001b44;
    color:#fff;
}

.footer-top{
    padding:70px 0 40px;
}

.footer-logo{
    width:90px;
    margin-bottom:20px;
}

.footer h4,
.footer h5{
    color:#fff;
    font-weight:700;
    margin-bottom:20px;
}

.footer p{
    color:#d6d6d6;
    line-height:1.8;
}

.footer ul{
    padding:0;
    margin:0;
}

.footer ul li{
    list-style:none;
    margin-bottom:12px;
}

.footer ul li a{
    color:#d6d6d6;
    transition:.3s;
}

.footer ul li a:hover{
    color:var(--yellow);
    padding-left:8px;
}

.footer-contact i{
    color:var(--yellow);
    margin-right:10px;
}

.social-icons{
    margin-top:20px;
}

.social-icons a{
    width:42px;
    height:42px;
    display:inline-flex;
    justify-content:center;
    align-items:center;
    border-radius:50%;
    background:rgba(255,255,255,.10);
    color:#fff;
    margin-right:8px;
    transition:.3s;
}

.social-icons a:hover{
    background:var(--yellow);
    color:#000;
}

.footer-bottom{
    background:#001433;
    padding:18px 0;
    border-top:1px solid rgba(255,255,255,.10);
}

.footer-bottom p{
    margin:0;
    color:#ddd;
}

/*==========================
 BACK TO TOP
==========================*/

#backToTop{
    position:fixed;
    right:20px;
    bottom:20px;
    width:45px;
    height:45px;
    border-radius:50%;
    background:var(--primary);
    color:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:18px;
    opacity:0;
    visibility:hidden;
    transition:.4s;
    z-index:999;
}

#backToTop.show{
    opacity:1;
    visibility:visible;
}

#backToTop:hover{
    background:var(--yellow);
    color:#000;
}

/*==========================
 ANIMATION
==========================*/

@keyframes fadeUp{
    from{
        opacity:0;
        transform:translateY(40px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

.fade-up{
    animation:fadeUp .8s ease;
}

@keyframes zoomIn{
    from{
        opacity:0;
        transform:scale(.9);
    }
    to{
        opacity:1;
        transform:scale(1);
    }
}

.zoom-in{
    animation:zoomIn .8s ease;
}

/*==========================
 HOVER EFFECT
==========================*/

.course-card,
.faculty-card,
.gallery-card,
.event-card,
.feature-box,
.stat-card{
    transition:.35s;
}

.course-card:hover,
.faculty-card:hover,
.gallery-card:hover,
.event-card:hover,
.feature-box:hover,
.stat-card:hover{
    transform:translateY(-8px);
    box-shadow:0 18px 35px rgba(0,0,0,.15);
}

/*==========================
 BUTTON
==========================*/

.btn{
    transition:.3s;
}

.btn:hover{
    transform:translateY(-2px);
}

/*==========================
 IMAGE
==========================*/

.img-hover{
    overflow:hidden;
}

.img-hover img{
    transition:.4s;
}

.img-hover:hover img{
    transform:scale(1.08);
}

/*==========================
 SCROLLBAR
==========================*/

::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background:#f2f2f2;
}

::-webkit-scrollbar-thumb{
    background:var(--primary);
    border-radius:20px;
}

::-webkit-scrollbar-thumb:hover{
    background:var(--secondary);
}

/*==========================
 TEXT SELECTION
==========================*/

::selection{
    background:var(--primary);
    color:#fff;
}

/*==========================
 HELPER CLASSES
==========================*/

.rounded-xl{
    border-radius:20px;
}

.rounded-xxl{
    border-radius:30px;
}

.shadow-soft{
    box-shadow:0 12px 30px rgba(0,0,0,.08);
}

.bg-primary-gradient{
    background:linear-gradient(135deg,var(--primary),var(--secondary));
    color:#fff;
}

.text-yellow{
    color:var(--yellow);
}

.py-80{
    padding:80px 0;
}

.mt-40{
    margin-top:40px;
}

.mb-40{
    margin-bottom:40px;
}

/*==========================
 RESPONSIVE
==========================*/

@media(max-width:991px){

.footer{
    text-align:center;
}

.footer-logo{
    margin:auto auto 20px;
}

.social-icons{
    justify-content:center;
}

}

@media(max-width:768px){

.footer-top{
    padding:50px 0 20px;
}

.footer h4,
.footer h5{
    margin-top:25px;
}

#backToTop{
    width:40px;
    height:40px;
}

}

@media(max-width:576px){

.footer-bottom{
    font-size:13px;
}

.social-icons a{
    width:38px;
    height:38px;
}

}