/* ======= GENERAL PAGE STYLING ======= */
body {
    background-color: #f8f9fa;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* ======= NAVBAR STYLING ======= */
.navbar {
    background: linear-gradient(90deg, #002f6c, #004aad); /* Modern gradient */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 8px 0; /* Thinner navbar */
    height: 50px; /* Ensure navbar height is correct */
    border-bottom: 2px solid #ffdd57; /* Yellow accent line */
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Aligns logo left and links right */
}

/* Navbar brand (BSL Sign Recognition) */
.navbar-brand {
    font-size: 1.4rem;
    font-weight: bold;
    color: white !important;
    letter-spacing: 0.5px;
    padding-left: 15px; /* Space from the left */
}

/* Navbar links (aligned right) */
.navbar-nav {
    display: flex;
    align-items: center;
    gap: 15px; /* Space between links */
}

/* Styling for navbar links */
.navbar-nav .nav-link {
    color: white !important;
    font-size: 1rem;
    padding: 8px 12px;
    transition: 0.3s ease-in-out;
    border-radius: 5px;
    height: 50px;
    display: flex;
    align-items: center;
}

/* Hover effect */
.navbar-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffdd57 !important;
}

/* Navbar button (mobile menu icon) */
.navbar-toggler {
    border: none;
    background: none;
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

.navbar-toggler-icon {
    filter: invert(100%);
}

/* Navbar Buttons (Fix size issue) */
.navbar-nav .nav-item .btn {
    padding: 5px 12px;
    height: 36px;
    display: flex;
    align-items: center;
}

/* ======= SECTION STYLING ======= */
.section {
    padding: 60px 20px;
    margin-bottom: 40px;
    text-align: center;
}

.section h2 {
    color: #004aad;
    margin-bottom: 20px;
}

/* ======= CARD STYLING ======= */
.card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* ======= BUTTONS ======= */
.btn-custom {
    background-color: #004aad;
    color: white;
    padding: 12px 20px;
    font-size: 18px;
    border-radius: 8px;
    transition: 0.3s ease-in-out;
    text-decoration: none;
    display: inline-block;
}

.btn-custom:hover {
    background-color: #002f6c;
}

/* ======= FOOTER ======= */
.footer {
    background-color: #333;
    color: white;
    padding: 20px 0;
    text-align: center;
}

/* ======= RESPONSIVE FIXES ======= */
@media (max-width: 992px) {
    .navbar {
        height: auto;
    }

    .navbar-nav {
        flex-direction: column;
        gap: 5px;
    }

    .navbar-nav .nav-link {
        font-size: 1rem;
        padding: 10px;
    }
}

/* ====== LOGIN BOX STYLING ====== */
.login-container {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px; /* Adjust width */
    text-align: center;
    margin: 80px auto; /* Centers the box */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Form Inputs */
.login-container input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

/* Login Button */
.login-container button {
    width: 100%;
    background-color: #004aad; /* Matches navbar color */
    color: white;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

.login-container button:hover {
    background-color: #002f6c;
}

/* Error Message */
.error {
    color: red;
    margin-bottom: 10px;
}

/* Link Styling */
.login-container .link {
    margin-top: 15px;
    font-size: 14px;
}

.login-container .link a {
    color: #004aad;
    text-decoration: none;
    font-weight: bold;
}

.login-container .link a:hover {
    text-decoration: underline;
}

/* Styling for rounded boxes */
/* Flexbox container */
/* Flexbox container */
.flex-container {
    display: flex;
    flex-wrap: wrap; /* Allows boxes to wrap if screen is too small */
    gap: 20px; /* Space between boxes */
    justify-content: center; /* Centers boxes in the section */
    align-items: stretch; /* Ensures all boxes are the same height */
    margin-top: 20px; /* Adds space above the boxes */
}

/* Rounded technology boxes */
.rounded-box {
    background-color: white;
    padding: 20px;
    border-radius: 15px; /* Rounded corners */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Shadow effect */
    border: 1px solid #ddd;
    text-align: center;
    width: 300px; /* Fixed width to keep consistency */
    min-height: 180px; /* Ensures uniform height */
}

/* Responsive Fix - Stacks boxes on smaller screens */
@media (max-width: 768px) {
    .flex-container {
        flex-direction: column;
        align-items: center; /* Centers boxes on smaller screens */
    }
}

/* ======= FULL-WIDTH ROUNDED BOX ======= */
.rounded-full-box {
    background-color: #f8f9fa; /* Light background */
    border-radius: 30px; /* Makes the box rounded */
    padding: 60px 20px; /* Adds spacing inside */
    margin: 40px auto; /* Adds margin above and below */
    width: 95%; /* Fills most of the screen width */
    max-width: 1200px; /* Prevents it from becoming too wide on large screens */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Soft shadow effect */
}

/* Center the text inside */
.rounded-full-box .container {
    text-align: center;
    max-width: 800px; /* Keeps content readable */
    margin: 0 auto; /* Centers content inside the section */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .rounded-full-box {
        width: 90%; /* Make it more narrow on small screens */
        padding: 40px 15px;
        border-radius: 20px; /* Slightly smaller rounding */
    }
}

/* ===== NAVBAR ===== */
.navbar {
    background: #004aad;
    padding: 10px 0;
    color: white;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
}

.navbar-nav {
    list-style: none;
    display: flex;
    gap: 15px;
}

.navbar-nav a {
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 5px;
    transition: 0.3s;
}

.navbar-nav a:hover, .navbar-nav .active {
    background: rgba(255, 255, 255, 0.2);
}

/* Logout Button */
.btn-logout {
    background: #e74c3c;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
}

.btn-logout:hover {
    background: #c0392b;
}

/* ===== DASHBOARD CONTAINER ===== */
.dashboard-container {
    text-align: center;
    padding: 50px 20px;
}

/* ===== DASHBOARD GRID ===== */
.dashboard-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

/* ===== DASHBOARD BOXES ===== */
.dashboard-box {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 300px;
    text-align: center;
}

/* Dashboard Buttons */
.btn-dashboard {
    display: inline-block;
    background: #004aad;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-dashboard:hover {
    background: #002f6c;
}

/* Logout Button (Top Right) */
.btn-logout {
    position: absolute;
    top: 10px;
    right: 20px;
    background: #e74c3c;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn-logout:hover {
    background: #c0392b;
}


h2 {
    text-align: center;
}





























