﻿/* Custom CSS for SchoolConnect */

/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    padding-top: 56px; /* For fixed navbar */
}

/* Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../Content/images/hero-bg.jpg') no-repeat center center;
    background-size: cover;
    padding: 8rem 0;
    min-height: 75vh;
    display: flex;
    align-items: center;
}

.divider {
    width: 3.25rem;
    height: 0.2rem;
    max-width: 3.25rem;
    margin: 1.5rem auto;
    background-color: #fff;
    opacity: 1;
}

/* Feature Icons */
.feature {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 4rem;
    width: 4rem;
    font-size: 2rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 3rem;
    width: 3rem;
    font-size: 1.5rem;
}

/* Card Hovering Effect */
.card {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Buttons */
.btn-xl {
    padding: 1rem 2rem;
    font-size: 1.25rem;
    border-radius: 0.5rem;
}

/* Social Icons */
.social-icons a {
    display: inline-block;
    height: 3.5rem;
    width: 3.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 100%;
    font-size: 1.5rem;
    line-height: 3.5rem;
    color: white;
    margin-right: 1rem;
    text-align: center;
    transition: all 0.2s ease-in-out;
}

.social-icons a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* Custom Colors - Primary: School blue */
.bg-primary, .btn-primary {
    background-color: #0d6efd !important;
}

.btn-outline-primary {
    color: #0d6efd;
    border-color: #0d6efd;
}

.text-primary {
    color: #0d6efd !important;
}

/* Dropdown Menu Fix */
.dropdown-menu {
    display: none;
}

.dropdown-menu.show {
    display: block;
}

/* Media Queries */
@media (max-width: 768px) {
    .hero-section {
        padding: 6rem 0;
        min-height: 60vh;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .feature {
        height: 3.5rem;
        width: 3.5rem;
        font-size: 1.75rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 4rem 0;
        min-height: 50vh;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .btn-xl {
        padding: 0.75rem 1.5rem;
        font-size: 1.1rem;
    }
}

/* Navbar Customization */
.navbar-brand {
    font-weight: 600;
}

.nav-link {
    font-weight: 500;
}

/* Footer Customization */
footer a {
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

footer a:hover {
    text-decoration: underline;
}

/* Form Controls */
.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}
/* Add this to your styles.css file */

/* Fix for login button visibility */
.nav-link.btn.btn-light.text-primary.ms-lg-3.px-4.dropdown-toggle {
    /* Ensure the button is always visible */
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    
    /* Enhance appearance for better visibility */
    color: #0d6efd !important;
    background-color: white !important;
    border-radius: 0.25rem;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Add a subtle hover effect */
.nav-link.btn.btn-light.text-primary.ms-lg-3.px-4.dropdown-toggle:hover {
    background-color: #f8f9fa !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Make sure it's visible in mobile view too */
@media (max-width: 992px) {
    .nav-link.btn.btn-light.text-primary.ms-lg-3.px-4.dropdown-toggle {
        margin: 0.5rem 0;
        text-align: center;
    }
}