body {
    background-color: #FFFFFF;
    /* or #F8F9FA */
    color: #333333;
    /* Dark gray text for readability */
    font-family: 'Roboto', Arial, sans-serif;
}

.container a {
    text-decoration: none;

}


.ad-container {
    background: transparent;
    /* Let ads stand out naturally */
    padding: 15px;
    margin: 20px 0;
    border: 1px solid #E0E0E0;
    /* Subtle border if needed */
}




/* Navbar Container */
.navbar-collapse {
    padding: 0.5rem 0;
}

/* Main Navigation Links */
.navbar-nav {
    display: flex;
    gap: 0.5rem;
    text-transform: uppercase !important;
    /* Spacing between items */
}

.nav-item {
    margin: 0 0.25rem;
}

.nav-link {
    display: block;
    padding: 0.75rem 1.25rem !important;

    /* Force uppercase */
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    color: #333 !important;
    border-radius: 4px;
    transition: all 0.3s ease;

}

/* Hover Effect */
.nav-link:hover {
    color: #0d6efd !important;
    /* Blue on hover */
    background-color: rgba(13, 110, 253, 0.1);
    /* Light blue background */
    transform: translateY(-2px);
}

/* Active Link */
.nav-link.active {
    color: black !important;
    background-color: rgba(13, 110, 253, 0.1);
}

/* Icon Styling */
.nav-link i {
    font-size: 0.9em;
    margin-right: 8px !important;
}

/* Login Button Styling */
.navbar .btn-outline-primary {
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    padding: 0.75rem 1.25rem;
    border-width: 2px;
    transition: all 0.3s ease;
}

.navbar .btn-outline-primary:hover {
    background-color: #0d6efd;
    color: white !important;
}

/* Mobile Responsiveness */
@media (max-width: 991.98px) {
    .navbar-nav {
        flex-direction: column;
        gap: 0.25rem;
        margin-bottom: 1rem;
    }

    .nav-link {
        padding: 0.75rem !important;
    }

    .d-flex {
        margin-top: 0.5rem;
    }
}



.jumbotron {
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
    border-radius: 0;
    margin-bottom: 0;
}

.jumbotron p span {
    font-weight: bold;
}

.jumbotron p {
    text-align: left;
}

.jumbotron h1 {
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.jumbotron .lead {
    font-size: 1.25rem;
    opacity: 0.9;
}

.features-list div {
    font-size: 1.1rem;
    text-align: left;
}

@media (max-width: 768px) {
    .jumbotron {
        text-align: center;
        padding: 3rem 1rem;
    }

    .jumbotron .d-flex {
        justify-content: center;
    }
}



/* About Page Specific Styles */
.mission-card {
    border-left: 4px solid #0d6efd;
    transition: transform 0.3s;
}

.mission-card:hover {
    transform: translateY(-5px);
}

.team-member img {
    width: 150px;
    height: 150px;
    object-fit: cover;
}

.timeline {
    position: relative;
    padding-left: 50px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #0d6efd;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -40px;
    top: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #0d6efd;
    border: 4px solid white;
}



/* Privacy policy Page Specific Styles */
.policy-section {
    margin-bottom: 2.5rem;
}

.policy-section h2 {
    border-bottom: 2px solid #eee;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.policy-section h3 {
    margin-top: 1.5rem;
    color: #444;
}

.nav-pills .nav-link.active {
    background-color: #2F80ED;
}

.nav-pills .nav-link {
    color: #333;
    text-align: left;
    padding: 0.5rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: 5px;
}

@media (max-width: 991.98px) {
    .policy-nav {
        margin-bottom: 2rem;
    }
}

/* Contact Page Specific Styles */
.contact-card {
    transition: all 0.3s;
    border-left: 4px solid #2F80ED;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.form-control {
    padding: 12px;
    border-radius: 8px;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}





.auth-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin-top: 50px;
}

.auth-toggle {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.btn-toggle {
    flex: 1;
    padding: 10px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-weight: 600;
    color: #6c757d;
    transition: all 0.3s;
}

.btn-toggle.active {
    color: #0d6efd;
    border-bottom-color: #0d6efd;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

/* Enhanced Loading Spinner */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner-message {
    color: #0d6efd;
    font-weight: 500;
}

/* Toast Styles */
.toast-custom {
    background-color: rgba(255, 255, 255, 0.95);
    border-left: 5px solid;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    margin-bottom: 1rem;
}

.toast-success {
    border-left-color: #198754;
}

.toast-error {
    border-left-color: #dc3545;
}

.toast-info {
    border-left-color: #0dcaf0;
}

.toast-warning {
    border-left-color: #ffc107;
}

.toast-header-custom {
    background-color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    padding: 0.5rem 1rem;
}

.toast-success .toast-header-custom {
    color: #198754;
}

.toast-error .toast-header-custom {
    color: #dc3545;
}

.toast-info .toast-header-custom {
    color: #0dcaf0;
}

.toast-warning .toast-header-custom {
    color: #ffc107;
}

.toast-body {
    padding: 1rem;
}

/* Form Validation Styles */
.is-invalid {
    border-color: #dc3545 !important;
}

.invalid-feedback {
    color: #dc3545;
    font-size: 0.875em;
    margin-top: 0.25rem;
    display: none;
}

.is-invalid~.invalid-feedback {
    display: block;
}

/* Dashboard Styles */
.dashboard-section {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .auth-card {
        margin-top: 20px;
        padding: 20px;
    }

    .toast-container {
        width: 90%;
        left: 5%;
        right: 5%;
    }
}



/* Forgot Password Modal Styles */
#reset-success {
    padding: 20px;
}

#reset-success .bi {
    font-size: 3rem;
}

/* Add Bootstrap Icons if not already included */
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.8.1/font/bootstrap-icons.css");









/* Cookie Consent Banner Styles */
#cookie-consent-banner {
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;
    background: #2C3E50;
    color: white;
    padding: 15px 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: none;
    font-family: 'Poppins', sans-serif;
}

#cookie-consent-banner .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

#cookie-consent-banner p {
    margin: 0;
    flex: 1;
    min-width: 300px;
    padding-right: 20px;
    font-size: 14px;
    line-height: 1.5;
}

#cookie-consent-banner .actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

#cookie-consent-banner button {
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
}

#cookie-consent-banner .accept {
    background: #27AE60;
    color: white;
}

#cookie-consent-banner .reject {
    background: #E74C3C;
    color: white;
}

#cookie-consent-banner .settings {
    background: #3498DB;
    color: white;
}

#cookie-consent-banner a {
    color: #3498DB;
    text-decoration: underline;
}

/* Settings modal */
.cookie-settings {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    max-width: 500px;
    width: 90%;
    color: #333;
}

.cookie-settings h3 {
    margin-top: 0;
    color: #2C3E50;
}

.cookie-settings .cookie-type {
    margin-bottom: 15px;
}

.cookie-settings .switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.cookie-settings .switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-settings .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.cookie-settings .slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.cookie-settings input:checked+.slider {
    background-color: #27AE60;
}

.cookie-settings input:checked+.slider:before {
    transform: translateX(26px);
}

.cookie-settings .save-btn {
    background: #2C3E50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    margin-top: 15px;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

@media (max-width: 768px) {
    #cookie-consent-banner .container {
        flex-direction: column;
    }

    #cookie-consent-banner p {
        padding-right: 0;
        margin-bottom: 15px;
        min-width: auto;
    }

    #cookie-consent-banner .actions {
        width: 100%;
        justify-content: space-between;
    }

    #cookie-consent-banner button {
        flex: 1;
    }
}



/* Back to Top Button Styles */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(13, 110, 253, 0.8);
    color: white;
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.back-to-top:hover {
    background: #0d6efd;
    transform: translateY(-3px);
}

/* Breathing Animation */
.back-to-top i {
    animation: breathe 2s infinite ease-in-out;
    font-size: 1.5rem;
}

@keyframes breathe {

    0%,
    100% {
        transform: translateY(0) scale(1);
        opacity: 0.9;
    }

    50% {
        transform: translateY(-5px) scale(1.1);
        opacity: 1;
    }
}

/* Show/hide based on scroll */
.back-to-top.visible {
    display: flex;
}