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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Section Titles */
.section-title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(45deg, #007bff, #0056b3);
    border-radius: 2px;
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    min-height: 70px;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
    text-decoration: none;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
}

.logo-icon i {
    color: white;
    font-size: 1.5rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-main {
    font-weight: 700;
    font-size: 1.3rem;
    color: #007bff;
    letter-spacing: -0.5px;
}

.logo-sub {
    font-weight: 500;
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: -2px;
    letter-spacing: 0.5px;
}

.navbar-brand:hover .logo-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.navbar-brand:hover .logo-main {
    color: #0056b3;
}

.navbar-brand:hover .logo-sub {
    color: #495057;
}

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

.navbar-nav .nav-link {
    font-weight: 500;
    color: #333 !important;
    margin: 0 0.2rem;
    padding: 0.5rem 0.6rem !important;
    transition: color 0.3s ease;
    position: relative;
    white-space: nowrap;
    font-size: 0.9rem;
}

.navbar-nav .nav-link:hover {
    color: #007bff !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #007bff;
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
}



/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-buttons .btn {
    margin: 0.5rem;
    padding: 12px 30px;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.fade-in:nth-child(2) {
    animation-delay: 0.2s;
}

.fade-in:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Reveal Animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Counter Animation */
.counter {
    display: inline-block;
}

/* Pulse Animation */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

/* Float Animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* Glow Animation */
@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); }
    50% { box-shadow: 0 0 20px rgba(0, 123, 255, 0.8); }
}

.glow-animation {
    animation: glow 2s ease-in-out infinite;
}

/* Fact Cards */
.fact-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 180px;
}

.fact-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.fact-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.fact-card p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Course Cards */
.course-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
    border: 1px solid #f0f0f0;
}

.course-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.course-card:hover .course-icon {
    transform: scale(1.1);
}

.course-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #007bff, #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.course-card h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* Faculty Cards */
.faculty-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.faculty-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.faculty-image {
    position: relative;
    overflow: hidden;
    height: 250px;
    flex-shrink: 0;
}

.faculty-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.faculty-card:hover .faculty-image img {
    transform: scale(1.1);
}

.faculty-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.faculty-info h5 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.faculty-info p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.social-links {
    margin-top: 1rem;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    color: #666;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    margin: 0 0.25rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: #007bff;
    color: white;
    transform: translateY(-2px);
}

/* Facility Cards */
.facility-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.facility-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.facility-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.facility-card:hover img {
    transform: scale(1.1);
}

.facility-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.facility-card:hover .facility-overlay {
    transform: translateY(0);
}

/* Testimonials */
.testimonial-card {
    padding: 3rem 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    margin: 0 1rem;
}

.testimonial-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 4px solid #007bff;
}

.testimonial-card blockquote {
    font-size: 1.1rem;
    font-style: italic;
    color: #666;
    margin-bottom: 1.5rem;
}

.testimonial-card cite {
    color: #007bff;
    font-weight: 600;
}

/* Campus Life Carousel */
.campus-slide {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 500px;
}

.campus-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.campus-slide:hover .campus-img {
    transform: scale(1.05);
}

.campus-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 3rem 2rem 2rem;
    text-align: center;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.campus-slide:hover .campus-overlay {
    transform: translateY(0);
    opacity: 1;
}

.campus-overlay h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.campus-overlay p {
    font-size: 1.1rem;
    margin-bottom: 0;
}

#campusLifeCarousel .carousel-indicators {
    bottom: 20px;
}

#campusLifeCarousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid white;
    transition: all 0.3s ease;
}

#campusLifeCarousel .carousel-indicators button.active {
    background-color: #007bff;
    border-color: #007bff;
    transform: scale(1.2);
}

#campusLifeCarousel .carousel-control-prev,
#campusLifeCarousel .carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

#campusLifeCarousel .carousel-control-prev {
    left: 20px;
}

#campusLifeCarousel .carousel-control-next {
    right: 20px;

}

#campusLifeCarousel .carousel-control-prev:hover,
#campusLifeCarousel .carousel-control-next:hover {
    background: rgba(0, 123, 255, 0.8);
}

/* Activity Cards */
.activity-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Contact Section */
.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.contact-item {
    display: flex;
    align-items: flex-start;
}

.contact-item i {
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.contact-item h6 {
    margin-bottom: 0.25rem;
    color: #2c3e50;
    font-weight: 600;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.contact-form .form-control {
    border: 2px solid #f0f0f0;
    border-radius: 10px;
    padding: 12px 15px;
    transition: border-color 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

/* Floating Action Buttons */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.fab-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.fab-call {
    background: linear-gradient(45deg, #007bff, #0056b3);
}

.fab-whatsapp {
    background: linear-gradient(45deg, #25d366, #128c7e);
}

.fab-btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    color: white;
}

.fab-btn {
    animation: glow 3s ease-in-out infinite;
}

/* Footer */
footer {
    background: #2c3e50 !important;
}

footer .social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

footer .social-links a:hover {
    background: #007bff;
    transform: translateY(-2px);
}

footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #007bff !important;
}

/* Responsive Design */
@media (max-width: 991px) {
    .navbar-nav .nav-link {
        padding: 0.7rem 1rem !important;
        margin: 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
    
    .auth-buttons {
        margin-left: 0;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #f0f0f0;
        justify-content: center;
    }
    
    .auth-buttons .btn {
        width: 100%;
        max-width: 200px;
    }
    
    .student-dropdown {
        margin-left: 0;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #f0f0f0;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.3rem 0;
        min-height: 60px;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }
    
    .floating-buttons {
        bottom: 20px;
        right: 20px;
    }
    
    .fab-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .section-title::after {
        left: 0;
        transform: none;
    }
    
    .testimonial-card {
        margin: 0;
    }
    
    /* Campus Life Carousel Mobile */
    .campus-slide {
        height: 300px;
    }
    
    .campus-overlay {
        padding: 2rem 1rem 1rem;
    }
    
    .campus-overlay h3 {
        font-size: 1.4rem;
    }
    
    .campus-overlay p {
        font-size: 0.9rem;
    }
    
    #campusLifeCarousel .carousel-control-prev,
    #campusLifeCarousel .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    #campusLifeCarousel .carousel-control-prev {
        left: 10px;
    }
    
    #campusLifeCarousel .carousel-control-next {
        right: 10px;
    }
}

@media (max-width: 576px) {
    .navbar {
        min-height: 55px;
    }
    
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .navbar-brand span {
        display: none;
    }
    
    .navbar-brand::after {
        content: 'GIE';
    }
    
    .hero-section {
        padding: 2rem 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .course-card,
    .faculty-card,
    .activity-card,
    .contact-info,
    .contact-form {
        margin-bottom: 2rem;
    }
    
    .auth-buttons .btn {
        padding: 5px 12px;
        font-size: 0.85rem;
    }
}

/* Scroll Animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.scroll-animate.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Login & Register Pages */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.card-body {
    padding: 3rem !important;
}

.form-control {
    border: 2px solid #f0f0f0;
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.15);
}

.form-label {
    font-weight: 500;
    color: #333;
    margin-bottom: 0.5rem;
}

/* Login/Register Buttons */
.btn-primary.w-100 {
    padding: 12px 20px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 10px;
    background: linear-gradient(45deg, #007bff, #0056b3);
    border: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary.w-100:hover {
    background: linear-gradient(45deg, #0056b3, #004085);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

.btn-primary.w-100:active {
    transform: translateY(0);
}

.btn-primary.w-100:disabled {
    background: #6c757d;
    transform: none;
    box-shadow: none;
}

/* Links styling */
.card-body a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.card-body a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.text-muted a {
    color: #6c757d !important;
    font-weight: 400;
}

.text-muted a:hover {
    color: #495057 !important;
}

/* Alert messages */
.alert {
    border-radius: 10px;
    border: none;
    font-weight: 500;
}

.alert-danger {
    background: linear-gradient(45deg, #dc3545, #c82333);
    color: white;
}

.alert-success {
    background: linear-gradient(45deg, #28a745, #218838);
    color: white;
}

/* Registration Success Styling */
.alert-success h4 {
    color: white;
    font-weight: 600;
}

.alert-success h3 {
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    background: rgba(255,255,255,0.2);
    padding: 10px 20px;
    border-radius: 10px;
    display: inline-block;
}

.alert-success .fa-check-circle {
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Auth Modal */
#authModal .modal-content {
    border: none;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

#authModal .modal-body {
    padding: 2rem;
}

#authModal .btn-lg {
    padding: 12px 30px;
    border-radius: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

#authModal .btn-primary {
    background: linear-gradient(45deg, #007bff, #0056b3);
    border: none;
}

#authModal .btn-primary:hover {
    background: linear-gradient(45deg, #0056b3, #004085);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

#authModal .btn-outline-primary:hover {
    background: linear-gradient(45deg, #007bff, #0056b3);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.2);
}

/* Student ID Popup */
#studentIdPopup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.popup-content {
    background: white;
    border-radius: 20px;
    padding: 0;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: popIn 0.4s ease;
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #dc3545;
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1;
}

.popup-close:hover {
    background: #c82333;
    transform: scale(1.1);
}

.popup-body {
    text-align: center;
    padding: 3rem 2rem 2rem;
}

.student-id-display {
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    padding: 20px 30px;
    border-radius: 15px;
    margin: 20px 0;
    letter-spacing: 2px;
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
    user-select: all;
}

.popup-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.popup-buttons .btn {
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.popup-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes popIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Mobile responsive */
@media (max-width: 576px) {
    .popup-content {
        width: 95%;
        margin: 20px;
    }
    
    .popup-body {
        padding: 2rem 1.5rem 1.5rem;
    }
    
    .student-id-display {
        font-size: 2rem;
        padding: 15px 20px;
    }
    
    .popup-buttons {
        flex-direction: column;
    }
    
    .popup-buttons .btn {
        width: 100%;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #007bff, #0056b3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #0056b3, #004085);
}














.hero-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  top:0; left:0;
  width:100%; height:100%;
}

.hero-slide {
  position: absolute;
  top:0; left:0;
  width:100%; height:100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 2s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  top:0; left:0;
  width:100%; height:100%;
  background: rgba(0,0,0,0.4);
}

.hero-section .container {
  position: relative;
  z-index: 2;
}
.hero-section h1, .hero-section p, .hero-buttons .btn {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
}

/* Student Profile Dropdown */
.student-dropdown {
    margin-left: 1rem;
}

.student-profile {
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.student-profile:hover {
    background: rgba(0, 123, 255, 0.1);
}

.profile-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #007bff;
    transition: all 0.3s ease;
}

.student-profile:hover .profile-img {
    border-color: #0056b3;
    transform: scale(1.05);
}

.dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    padding: 0.5rem 0;
    min-width: 200px;
}

.dropdown-item {
    padding: 0.7rem 1.5rem;
    transition: all 0.3s ease;
    border-radius: 0;
}

.dropdown-item:hover {
    background: #f8f9fa;
    color: #007bff;
}

.dropdown-item-text {
    padding: 0.7rem 1.5rem;
    color: #007bff;
    font-size: 0.9rem;
}

.dropdown-divider {
    margin: 0.5rem 0;
}

/* Auth Button */
.auth-buttons {
    display: flex;
    align-items: center;
    margin-left: 2rem;
}

.auth-buttons .btn {
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    background: linear-gradient(45deg, #007bff, #0056b3);
    border: none;
}

.auth-buttons .btn:hover {
    background: linear-gradient(45deg, #0056b3, #004085);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

/* Profile Photo Upload */
.profile-photo-container {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #007bff;
    transition: all 0.3s ease;
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    font-size: 1.5rem;
}

.profile-photo-container:hover .photo-overlay {
    opacity: 1;
}

.profile-photo-container:hover .profile-photo {
    transform: scale(1.05);
}
