﻿namespace InstituteManagementSystem.wwwroot.css
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins',sans-serif;
    background: #f8f9fa;
}

/*================ NAVBAR =================*/

.custom-navbar {
    background: #000000;
    padding: 15px 0;
    transition: .4s;
}

.navbar-brand {
    font-size: 28px;
    color: gold !important;
}

.nav-link {
    color: gold !important;
    font-weight: 500;
    margin-left: 15px;
}

    .nav-link:hover {
        color: #FFD54F !important;
    }

/*================ HERO =================*/

/*================ HERO SECTION =================*/

/*================ HERO SECTION =================*/

#home {
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(0,0,0,.65), rgba(0,0,0,.65)), url('/images/miit4.jpg');
    background-size: cover;
    background-position: center;
}

    /* Glass Card */

    #home .container {
        background: rgba(255,255,255,.08);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border: 1px solid rgba(255,255,255,.15);
        border-radius: 30px;
        padding: 45px;
        box-shadow: 0 20px 45px rgba(0,0,0,.25);
    }
/*================ HERO IMAGE =================*/
/*================ HERO IMAGE =================*/

.hero-image-card {
    background: #fff;
    padding: 15px;
    border-radius: 25px;
    box-shadow: 0 20px 50px rgba(0,0,0,.20);
    position: relative;
    max-width: 460px;
    margin: auto;
    transition: .4s;
}

    .hero-image-card:hover {
        transform: translateY(-8px);
    }

.hero-image {
    width: 100%;
    height: 420px;
    object-fit: contain;
    border-radius: 18px;
}

.image-badge {
    position: absolute;
    left: 50%;
    bottom: -18px;
    transform: translateX(-50%);
    background: #ffc107;
    color: #000;
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(0,0,0,.20);
    white-space: nowrap;
}

/*================ FLOAT ANIMATION =================*/

@keyframes float {

    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/*================ STATISTICS =================*/

.stat-box {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,.1);
    transition: .3s;
}

    .stat-box:hover {
        transform: translateY(-10px);
    }

    .stat-box h2 {
        color: #0d6efd;
        font-weight: 700;
    }

    .stat-box p {
        margin: 0;
        font-weight: 600;
    }
/*================ ABOUT SECTION =================*/

#about {
    position: relative;
    padding: 90px 0;
    background: linear-gradient(rgba(0,0,0,.70), rgba(0,0,0,.70)), url('/images/miit4.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow: hidden;
}

    /* Glass container */

    #about .container {
        background: rgba(255,255,255,.08);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid rgba(255,255,255,.12);
        border-radius: 25px;
        padding: 40px;
        box-shadow: 0 15px 40px rgba(0,0,0,.30);
    }

    /* About Section Text */

    #about h2 {
        color: #FFD700; /* Gold */
    }

    #about h3 {
        color: #FFFFFF; /* White */
    }

    #about h5 {
        color: #00E5FF; /* Sky Blue */
    }

    #about p {
        color: goldenrod; /* Light Gray */
    }

    #about i {
        color: #FFC107; /* Golden Icons */
    }
/*==================== COURSES ====================*/

/*==========================
        COURSES SECTION
===========================*/

/*==========================================
            COURSES SECTION
==========================================*/

#courses {
    position: relative;
    padding: 90px 0;
    background: linear-gradient(rgba(0,0,0,.45),rgba(0,0,0,.45)), url('/images/miit4.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow: hidden;
}

    /* Glass Container */

    #courses .container {
        background: rgba(255,255,255,.06);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border: 1px solid rgba(255,255,255,.15);
        border-radius: 30px;
        padding: 40px;
        box-shadow: 0 20px 45px rgba(0,0,0,.30);
    }

    /*==========================
        HEADING
===========================*/

    #courses h5 {
        color: #FFC107;
        font-weight: 700;
        letter-spacing: 1px;
    }

    #courses h2 {
        color: #FFFFFF;
        font-weight: 700;
        margin-bottom: 15px;
    }

    #courses p.text-muted {
        color: #E5E7EB !important;
        font-size: 17px;
    }

/*==========================
        COURSE CARD
===========================*/

.course-card {
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 20px;
    overflow: hidden;
    transition: .4s;
    box-shadow: 0 12px 30px rgba(0,0,0,.25);
    height: 100%;
}

    .course-card:hover {
        transform: translateY(-10px);
        background: rgba(255,255,255,.15);
        border-color: #FFD700;
        box-shadow: 0 20px 40px rgba(0,0,0,.35);
    }

/*==========================
        COURSE IMAGE
===========================*/

.course-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: .4s;
}

.course-card:hover .course-img {
    transform: scale(1.06);
}

/*==========================
        COURSE BODY
===========================*/

.course-body {
    padding: 22px;
}

    .course-body h4 {
        color: #FFD700;
        font-weight: 700;
        margin-bottom: 15px;
    }

    .course-body p {
        color: #F3F4F6;
        font-size: 15px;
        line-height: 1.7;
        min-height: 90px;
    }

    /*==========================
        BUTTON
===========================*/

    .course-body .btn {
        border-radius: 30px;
        padding: 10px 24px;
        font-weight: 600;
    }

/*==========================
        MOBILE
===========================*/

@media(max-width:991px) {

    #courses {
        padding: 70px 0;
        background-attachment: scroll;
    }

        #courses .container {
            padding: 25px;
        }
}

@media(max-width:768px) {

    .course-img {
        height: 190px;
    }

    .course-body {
        padding: 18px;
    }
}

@media(max-width:576px) {

    #courses h2 {
        font-size: 30px;
    }

    .course-card {
        border-radius: 16px;
    }

    .course-img {
        height: 170px;
    }
}
/*================ WHY CHOOSE =================*/

#whychoose {
    padding: 90px 0;
    background: linear-gradient(rgba(0,0,0,.75), rgba(0,0,0,.75)), url('/images/miit4.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow: hidden;
}

.why-card {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    transition: .4s;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
    height: 100%;
}

    .why-card:hover {
        background: #0d6efd;
        color: white;
        transform: translateY(-12px);
    }

    .why-card i {
        font-size: 55px;
        color: #0d6efd;
        margin-bottom: 20px;
    }

    .why-card:hover i {
        color: #FFD700;
    }

    .why-card p {
        color: #666;
    }

    .why-card:hover p {
        color: white;
    }

/*================ CONTACT =================*/

/*================ CONTACT =================*/

/*================ CONTACT =================*/

.contact-section {
    padding: 90px 0;
    background: linear-gradient(rgba(0,0,0,.75), rgba(0,0,0,.75)), url('/images/miit4.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow: hidden;
}

.contact-heading {
    font-size: 2.2rem;
}

#contact .contact-card h3 {
    color: white;
}
#contact .form-card h3 {
    color: white;
}


.contact-subtitle {
    font-size: 16px;
    max-width: 650px;
    margin: auto;
}

.section-title {
    background: #ffc107;
    color: #000;
    padding: 7px 22px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
}

.contact-card,
.form-card {
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(16px);
    border-radius: 18px;
    padding: 25px;
    border: 1px solid rgba(255,255,255,.15);
    box-shadow: 0 10px 25px rgba(0,0,0,.20);
}

    .contact-card h3 {
        font-size: 28px;
        margin-bottom: 5px;
    }

    .contact-card h5 {
        font-size: 17px;
        margin-bottom: 20px !important;
    }

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
}

.icon-box {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: #ffc107;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    color: #0d6efd;
    font-size: 18px;
}

.info-item h6 {
    margin-bottom: 2px;
    font-size: 15px;
}

.info-item p {
    margin: 0;
    font-size: 14px;
    color: #e5e7eb;
}

.form-card h3 {
    font-size: 26px;
    margin-bottom: 20px !important;
}

.modern-input {
    border: none;
    border-radius: 12px;
    padding: 12px 15px;
    font-size: 15px;
}

textarea.modern-input {
    min-height: 120px;
}

.btn-send {
    width: 100%;
    padding: 12px;
    border-radius: 40px;
    background: #ffc107;
    color: #000;
    font-weight: 600;
    transition: .3s;
}

    .btn-send:hover {
        background: #fff;
        color: #0d6efd;
    }



/*================ FOOTER =================*/

.footer {
    background: #081421;
    color: #dbe4ee;
    padding: 45px 0 20px;
}

    .footer h4,
    .footer h5 {
        color: #fff;
        font-weight: 700;
        margin-bottom: 18px;
    }

    .footer small {
        color: #9ca3af;
    }

    .footer p {
        color: #b8c5d1;
        line-height: 1.8;
    }

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    .footer-links a {
        color: #cbd5e1;
        text-decoration: none;
        transition: .3s;
        font-size: 15px;
    }

        .footer-links a i {
            color: #ffc107;
            width: 22px;
        }

        .footer-links a:hover {
            color: #ffc107;
            transform: translateX(6px);
        }

.footer-line {
    border-color: rgba(255,255,255,.15);
    margin: 30px 0 20px;
}

.developer {
    color: #ffc107;
    font-weight: 700;
    font-size: 18px;
}

.footer img {
    transition: .3s;
}

    .footer img:hover {
        transform: rotate(10deg) scale(1.08);
    }