body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364); /* Dark, subtle gradient background */
    color: #e0e0e0; /* Light text for dark background */
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    min-height: 100vh; /* Ensure body takes full height for gradient */
    display: flex;
    flex-direction: column;
}

/* Navbar specific styles */
.navbar {
    background-color: rgba(44, 83, 100, 0.7) !important; /* Translucent dark blue */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px); /* Frosted glass effect */
    -webkit-backdrop-filter: blur(10px); /* For Safari */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-brand {
    font-weight: bold;
    color: white !important;
    font-size: 1.7rem;
    transition: color 0.3s ease;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3); /* Subtle glow */
}
.navbar-brand:hover {
    color: #a2d2ff !important; /* Lighter blue on hover */
}

.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.2s ease, background-color 0.3s ease;
    padding: 10px 15px;
    border-radius: 8px;
}

.nav-link:hover,
.nav-link.active {
    color: #ffc107 !important; /* Yellow for active/hover */
    transform: translateY(-2px);
    background-color: rgba(255, 255, 255, 0.15); /* More visible background on hover */
    box-shadow: 0 0 15px rgba(255, 193, 7, 0.3); /* Yellow glow */
}

.dropdown-item {
    color: #000000 !important; /* Keep dark text for dropdown items */
    padding: 10px 20px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-item:hover {
    background-color: #e9ecef;
    color: #0056b3 !important;
}

.login-dropdown .dropdown-menu {
    left: auto;
    right: 0;
    min-width: 200px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.9); /* Slightly less translucent for readability */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.3s ease-out;
}

/* Hero Section Styles (Carousel Specific) - Adjust if needed for liquid glass feel */
.hero-section {
    height: 100vh;
    min-height: 500px;
    overflow: hidden;
    margin-top: -56px;
}

.carousel-item {
    height: 100vh;
    min-height: 500px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: transform 0.6s ease-in-out;
}

/* General Button Styles */
.btn {
    border-width: 2px;
    font-weight: bold;
    transition: all 0.3s ease;
    border-radius: 25px; /* Slightly more rounded for softer look */
    padding: 10px 25px;
    letter-spacing: 0.5px;
    position: relative; /* For glossy effect */
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: rgba(0, 123, 255, 0.7); /* Translucent blue */
    border-color: rgba(0, 123, 255, 0.8);
    color: white;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}
.btn-primary:hover {
    background-color: rgba(0, 123, 255, 0.9);
    border-color: rgba(0, 123, 255, 1);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 123, 255, 0.5);
}

.btn-secondary {
    background-color: rgba(108, 117, 125, 0.7); /* Translucent grey */
    border-color: rgba(108, 117, 125, 0.8);
    color: white;
    box-shadow: 0 5px 15px rgba(108, 117, 125, 0.3);
}
.btn-secondary:hover {
    background-color: rgba(108, 117, 125, 0.9);
    border-color: rgba(108, 117, 125, 1);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 20px rgba(108, 117, 125, 0.5);
}

.btn-danger {
    background-color: rgba(220, 53, 69, 0.7); /* Translucent red */
    border-color: rgba(220, 53, 69, 0.8);
    color: white;
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}
.btn-danger:hover {
    background-color: rgba(220, 53, 69, 0.9);
    border-color: rgba(220, 53, 69, 1);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 20px rgba(220, 53, 69, 0.5);
}

/* Card Styles - Main elements for liquid glass effect */
.card,
.custom-login-card,
.custom-form-card,
.dashboard-card {
    border-radius: 15px;
    background-color: rgba(255, 255, 255, 0.1); /* Translucent white */
    backdrop-filter: blur(15px); /* Stronger blur for cards */
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2); /* Subtle translucent border */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3); /* Deeper shadow for floating effect */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    color: #e0e0e0; /* Light text color for card content */
}
.card:hover,
.custom-form-card:hover,
.custom-login-card:hover,
.dashboard-card:hover {
    transform: translateY(-8px); /* More pronounced lift */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4); /* Darker, larger shadow */
}

/* Specific adjustments for custom cards if needed */
.custom-login-card {
    background-color: rgba(255, 255, 255, 0.15); /* Slightly less translucent for login */
}

/* Form Control Styles */
.form-control {
    background-color: rgba(255, 255, 255, 0.08); /* Very translucent input background */
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff; /* Light text color for input */
    border-radius: 8px;
    transition: all 0.3s ease;
}
.form-control::placeholder {
    color: rgba(227, 227, 227, 0.728);
}
.form-control:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: #a2d2ff; /* Highlight color on focus */
    box-shadow: 0 0 0 0.25rem rgba(162, 210, 255, 0.25);
    color: #ffffff;
}

/* Label colors */
.form-label {
    color: #fffdfd;
}

/* Head colors */
 h2, h3, h4 {
    color: #ffffff;
}


/* Alert messages */
.alert {
    border-radius: 10px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    background-color: rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.alert-success {
    background-color: rgba(40, 167, 69, 0.7); /* Green for success */
    border-color: rgba(40, 167, 69, 0.8);
    color: white;
}
.alert-danger {
    background-color: rgba(220, 53, 69, 0.7); /* Red for danger */
    border-color: rgba(220, 53, 69, 0.8);
    color: white;
}
.alert-warning {
    background-color: rgba(255, 193, 7, 0.7); /* Yellow for warning */
    border-color: rgba(255, 193, 7, 0.8);
    color: #000000; /* Dark text for warning */
}


/* Image Gallery Styles (if applicable, make them fit the theme) */
#photos img {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
#photos img:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}


/* Animation Keyframes */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* General Animation Classes (kept for other sections if needed) */
.animate__animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .carousel-item {
        height: 60vh;
        min-height: 400px;
    }
}
@media (max-width: 768px) {
    .carousel-item {
        height: 50vh;
        min-height: 350px;
    }
    .navbar-brand {
        font-size: 1.4rem;
    }
    .nav-link {
        font-size: 0.95rem;
    }
    .login-dropdown .dropdown-menu {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }
    .btn-lg {
        padding: 10px 25px;
        font-size: 1rem;
    }
}
@media (max-width: 576px) {
    .carousel-item {
        height: 40vh;
        min-height: 300px;
    }
    .btn-lg {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}

/* announcements.php date/time visibility */
.card-body .text-muted {
    color: #FFEA00 !important; /* Bright yellow for visibility */
}

.profile-info {
    color : #000000; 
}

.lead {
    color:#000000
}