.welcome-section {
    text-align: center;
    padding: 2rem;
}
.welcome-section h2 {
    color: #333;
    margin-bottom: 1rem;
}
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: #f4f4f4;
    color: #333;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Navbar container */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 70px;
    box-sizing: border-box;
    background-color: rgba(45, 55, 72, 0.95); /* Semi-transparent background */
    color: white;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Left side: logo + text */
.navbar-left {
    display: flex;
    align-items: center;   /* ✅ vertically center items */
    flex-direction: row;   /* ✅ force horizontal layout */
    gap: 10px;             /* spacing between logo and text */
}

.logo {
    height: 50px; /* Slightly smaller for better fit */
    width: auto;
    max-height: 100%;
    object-fit: contain;
    margin-right: 10px;
    display: block;
}

.title {
    font-size: 1.3rem;
    font-weight: bold;
    color: white;
    margin: 0;
    padding: 0;
    display: inline-block;
}

/* Right side: language selector + links */
.navbar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.navbar-right select {
    padding: 5px;
    font-size: 1em;
    border-radius: 4px;
    background-color: transparent; /* ✅ Remove white background */
    color: white;                  /* ✅ Text should be visible */
    border: none;
    padding: 5px;
    appearance: none;              /* Remove OS default styling */
    -webkit-appearance: none;
    -moz-appearance: none;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    padding: 8px 12px;
    position: relative;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #D6A415;
}

/* Add underline effect on hover */
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;  /* Increased from 2px to 3px */
    bottom: 0;
    left: 50%;
    background-color: #D6A415;
    transition: all 0.3s ease-in-out;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

.navbar-right select option {
    background-color: #2d3748;
    color: white;
}

.footer {
    background-color: #2d3748;
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: 40px;
    bottom: 0;
}
.social-icons a {
    color: white;
    margin: 0 10px;
    transition: color 0.2s ease;
}

.social-icons a:hover {
    color: #63b3ed; /* light blue */
}

/* Main header with background */
.main-header {
    background-image: url('/img/bkimage_home.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 1;
    margin-top: 70px; /* Space for navbar */
}

.header-content {
    position: relative;
    z-index: 2;
    min-height: calc(100vh - 70px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem;
}

.header-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.header-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.header-buttons {
    margin-top: 2rem;
}

.header-buttons .btn {
    margin: 0 10px;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.header-buttons .btn-primary {
    background-color: #0a58ca;
    border-color: #0a58ca;
}

.header-buttons .btn-primary:hover {
    background-color: #084298;
    border-color: #084298;
}

.header-buttons .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.logout-button {
    background-color: transparent;
    border: 1px solid white;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
}
.logout-button:hover {
    background-color: #4a5568;
}
main.dashboard-content {
    padding: 30px;
    background-color: #f4f4f4;
    color: #333;
    display :flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 100vh;
    /*position: relative;*/
}
.navbar-dash {
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0.75;
    padding: 10px 20px;
    top: 0;
    width: 100%;
    height: 70px;
    box-sizing: border-box;
    background-color: #2d3748;
    color: white;
}

.navbar-left-dash {
    display: flex;
    align-items: center;
    flex-direction: row;   /* ✅ force horizontal layout */
    gap: 10px;
}

.logo-dash {
    height: 60px;  /* slightly smaller for better alignment */
    width: auto;
    object-fit: contain;
    display: inline-block;
    max-height: 100%;
     margin-right: 10px;  
}
/*
.logo-dash {
    height: 60px;
    width: auto;
    max-height: 100%;
    object-fit: contain;
    margin-right: 10px;  
    display:inline-block;
    
}*/
.title-dash {
    font-size: 1.3rem;
    font-weight: bold;
    line-height: 1;
    margin: 0;
    padding: 0;
    display: inline-block;
    position: relative;
    bottom: 3vh;
}
/* Right side: language selector + links */
.navbar-right-dash {
    display: flex;
    align-items: center;
    gap: 15px;
}
.school-creation{
    width:100%;
    align-items: stretch;
}
.school-form {
    background-color: #ffffff;
    border: 1px solid #ccc;
    padding: 20px 25px;
    border-radius: 8px;
    /*max-width: 600px;*/
    width:100%;

    margin: 30px auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.school-form label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
}

.school-form input {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border-radius: 4px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

.school-form button {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #2d3748;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.school-form button:hover {
    background-color: #4a5568;
}
.alert.success {
    background-color: #d4edda;
    color: #155724;
    padding: 12px 20px;
    margin: 15px 0;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    font-weight: bold;
}
body.dashboard-page .footer {
    margin-top: auto;
}
body.dashboard-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body.dashboard-page main.dashboard-content {
    flex: 1;
}

/* Language selector with flags */
.language-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 5px 10px;
    border-radius: 4px;
}

.flag-icon {
    width: 24px;
    height: 18px;
    object-fit: cover;
    border-radius: 2px;
}

/* Hero Section */
.hero-section {
    padding: 80px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    margin-top: -1.5rem;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-content .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    margin-top: 2rem;
}

.hero-buttons .btn {
    margin: 0 10px;
    padding: 12px 30px;
    font-weight: 600;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: #333;
    font-weight: 700;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 20px;
}

.feature-card h3 {
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-card p {
    color: #666;
    margin-bottom: 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('/img/bkimage_home.png');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-content .btn {
    padding: 12px 30px;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin: 10px 0;
    }

    .features-section {
        padding: 60px 0;
    }

    .feature-card {
        margin-bottom: 30px;
    }
}

  