/* ===================== BASE ===================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background: #f0f4f8;
    color: #333;
}

/* ===================== NAVBAR ===================== */
.navbar-custom {
    background: #24495a; /* dark teal/blue */
    padding: 12px 30px!important;
}

.navbar-custom .navbar-brand {
    color: #fff;
    font-weight: bold;
    font-size: 20px;
}

.navbar-custom .nav-link {
    color: #fff;
    margin-left: 15px;
    transition: 0.3s;
}

.navbar-custom .nav-link:hover {
    color: #e0e7ff;
}

.navbar-custom .btn-custom {
    background: linear-gradient(90deg, #6366f1, #3b82f6);
    color: #fff;
    border-radius: 20px;
    padding: 5px 15px;
    border: none;
    transition: 0.3s;
}

.navbar-custom .btn-custom:hover {
    background: linear-gradient(90deg, #4f46e5, #2563eb);
}

.navbar-brand:focus, .navbar-brand:hover {
    color: #ffffff!important;
}

.logout-btn {
    display: inline-block;
    padding: 8px 20px;
    border: 2px solid #dc3545; /* red border */
    color: #dc3545; /* red text */
    background-color: transparent;
    border-radius: 50px; /* rounded pill shape */
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background-color: #dc3545; /* red background on hover */
    color: #fff; /* white text */
    text-decoration: none;
}

/* Sidebar links */
a.mb-2.d-block {
    text-decoration: none;       /* Remove underline */
    color: #24495a;              /* Dark teal/blue text */
    padding: 8px 12px;
    border-radius: 8px;          /* Slightly rounded */
    transition: background 0.3s, color 0.3s;
}

a.mb-2.d-block:hover {
    background-color: #24495a;  /* Dark background on hover */
    color: #fff;                /* White text on hover */
}

/* Active link (optional) */
a.mb-2.d-block.active {
    background-color: #007bff; /* Bootstrap blue */
    color: #fff;
}

/* ===================== HERO ===================== */
.hero {
    background: linear-gradient(135deg, #6366f1, #3b82f6);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* ===================== SPECIAL CTA BUTTONS ONLY ===================== */
/* Call-to-Action Button */
.btn-cta {
    background-color: #f97316!important;
    color: #fff!important;
    border: none!important;
    border-radius: 25px!important;
    padding: 12px 30px!important;
    font-size: 16px!important;
    font-weight: 500!important;
    cursor: pointer!important;
    transition: all 0.3s ease!important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1)!important;
}

.btn-cta:hover {
    background-color: #f59e0b!important; /* Slightly lighter on hover */
    transform: translateY(-2px)!important;
    box-shadow: 0 6px 10px rgba(0,0,0,0.15)!important;
}

.btn-cta:focus {
    outline: none!important;
    box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.4)!important; /* soft focus ring */
}

/* ===================== FEATURES CARDS ===================== */
.card-hover {
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 12px;
    padding: 20px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.2);
}

.card-hover i {
    font-size: 40px;
    margin-bottom: 10px;
}

/* ===================== CTA BUTTON (default blue buttons) ===================== */
button.btn-cta {
    background: linear-gradient(90deg, #6366f1, #3b82f6);
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    transition: 0.3s;
}

button.btn-cta:hover {
    background: linear-gradient(90deg, #4f46e5, #2563eb);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* ===================== HOW IT WORKS ===================== */
.bg-light {
    background-color: #e0f2fe !important; /* very light blue */
}

span.me-2.login-txt {
    color: #ffffff;
}

button.btn.btn-success {
    margin-top: 20px;
}

button.btn.btn-primary {
    margin-top: 20px!important;
    display: block;
}

section.login-sec {
    padding-top: 80px;
    padding-bottom: 60px;
}

/* ===================== FOOTER ===================== */
footer {
    background: linear-gradient(90deg, #6366f1, #3b82f6);
    color: #fff;
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
}

footer a {
    color: #fff;
    text-decoration: none;
    margin: 0 8px;
    transition: color 0.3s;
}

/* Footer CTA Login Now button */
footer .btn-cta-special {
    margin-top: 8px;
}

footer a.btn-cta-special:hover {
    color: #fff;
}

footer a:hover {
    color: #dbeafe;
}

footer small {
    display: block;
    margin-top: 8px;
    color: #e0f2fe;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    .card-hover { margin-bottom: 20px; }
}