﻿html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}


/* FACULTY CARD FIX */

.faculty-card {
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;
}

    .faculty-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 25px rgba(0,0,0,0.15);
    }

.faculty-img-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.faculty-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}




/* ================= FOOTER ================= */

.site-footer {
    background: linear-gradient(135deg, #2f2b3a, #3a3550);
    color: #eaeaf0;
    font-size: 14px;
}

.footer-content {
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-bottom: 30px;
}

.footer-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff;
    position: relative;
}

    .footer-title::after {
        content: "";
        display: block;
        width: 40px;
        height: 3px;
        background: #0d6efd;
        margin-top: 6px;
        border-radius: 2px;
    }

.footer-text {
    color: #d6d6e0;
    line-height: 1.7;
    margin-bottom: 10px;
}

    .footer-text a {
        color: #9dd7ff;
        text-decoration: none;
    }

        .footer-text a:hover {
            color: #ffffff;
            text-decoration: underline;
        }

/* Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-links li {
        margin-bottom: 10px;
    }

    .footer-links a {
        color: #d6d6e0;
        text-decoration: none;
        transition: all 0.3s ease;
    }

        .footer-links a::before {
            content: "›";
            margin-right: 8px;
            color: #0d6efd;
        }

        .footer-links a:hover {
            color: #ffffff;
            padding-left: 6px;
        }

/* Social Icons */
.footer-social {
    margin-top: 15px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-right: 8px;
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    transition: transform 0.3s, box-shadow 0.3s;
}

    .social-icon:hover {
        transform: translateY(-4px);
        box-shadow: 0 6px 15px rgba(0,0,0,0.3);
    }

    .social-icon.twitter {
        background: #1da1f2;
    }

    .social-icon.facebook {
        background: #1877f2;
    }

    .social-icon.google {
        background: #db4437;
    }

/* Bottom Bar */
.footer-bottom {
    background: rgba(0,0,0,0.25);
    padding: 14px 0;
    font-size: 13px;
    color: #cfcfe6;
}


.sidebar {
    width: 240px;
    background: #343a40;
    height: 100vh; /* full height */
    position: fixed;
    overflow-y: auto; /* 🔥 SCROLL ENABLE */
}

    /* Smooth scrollbar */
    .sidebar::-webkit-scrollbar {
        width: 6px;
    }

    .sidebar::-webkit-scrollbar-track {
        background: #2c3034;
    }

    .sidebar::-webkit-scrollbar-thumb {
        background: #6c757d;
        border-radius: 10px;
    }

        .sidebar::-webkit-scrollbar-thumb:hover {
            background: #adb5bd;
        }



.course-card {
    transition: all 0.3s ease;
    border-radius: 14px;
}

    .course-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    }

.course-icon {
    width: 60px;
    height: 60px;
    background: #0d6efd;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin: 0 auto;
}
