:root {
    --brand-dark: #0f172a;
    --brand-primary: #2563eb;
    --brand-accent: #fbbf24;
    --brand-light: #f1f5f9;
    --text-main: #0f172a;
    --text-muted: #475569;
}

/* ============================================================
   BASE
   ============================================================ */
body {
    font-family: 'Segoe UI', 'Roboto', sans-serif;
    color: var(--text-main);
    background-color: #fff;
    overflow-x: hidden;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    background-color: var(--brand-dark) !important;
    padding: 15px 0;
}

.navbar-brand {
    font-weight: 800;
    letter-spacing: 1px;
    color: white !important;
}

.nav-link {
    color: #cbd5e1 !important;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--brand-accent) !important;
}

.btn-nav {
    background-color: var(--brand-primary);
    border: none;
    color: white !important;
}

.btn-nav:hover {
    background-color: #1d4ed8;
}

/* ============================================================
   HIRING MODAL
   ============================================================ */
.modal-content {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.modal-header-custom {
    background: linear-gradient(135deg, var(--brand-dark) 0%, #1e293b 100%);
    color: white;
    padding: 2rem;
    text-align: center;
    border-bottom: 4px solid var(--brand-accent);
}

.modal-body {
    padding: 2rem;
    background-color: #f8fafc;
}

.form-floating>.form-control:focus,
.form-floating>.form-control:not(:placeholder-shown) {
    padding-top: 1.625rem;
    padding-bottom: 0.625rem;
}

.file-upload-wrapper {
    border: 2px dashed #cbd5e1;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    background: white;
    transition: border 0.3s;
}

.file-upload-wrapper:hover {
    border-color: var(--brand-primary);
    background-color: #f0f9ff;
}

/* ============================================================
   HERO CAROUSEL
   ============================================================ */
.hero-carousel-item {
    height: 700px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.carousel-item.active .animate-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.carousel-item.active .animate-delay-1 {
    animation-delay: 0.2s;
}

.carousel-item.active .animate-delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-cta {
    background: linear-gradient(45deg, var(--brand-accent), #f59e0b);
    border: 2px solid transparent;
    color: #0f172a;
    font-weight: 700;
    padding: 14px 40px;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.btn-cta:hover {
    transform: translateY(-3px);
    color: #000;
    background: white;
    border-color: var(--brand-accent);
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
    margin-top: -50px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    padding: 30px;
    position: relative;
    z-index: 10;
}

/* ============================================================
   CARDS & MENTORS
   ============================================================ */
.custom-card {
    border: 1px solid #e2e8f0;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
    position: relative;
}

.custom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--brand-primary);
}

.card-top-accent {
    height: 4px;
    background: var(--brand-primary);
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.mentor-icon-circle {
    width: 70px;
    height: 70px;
    background: var(--brand-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
    color: var(--brand-primary);
    font-size: 1.8rem;
}

.mentor-role {
    color: var(--brand-primary);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.mentor-badges .badge {
    font-weight: 600;
    border: 1px solid #cbd5e1;
    color: #334155;
    background: #f8fafc;
    margin: 2px;
}

.project-img {
    height: 180px;
    width: 100%;
    object-fit: cover;
}

.project-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.5em 0.8em;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    background-color: var(--brand-dark);
    color: #cbd5e1;
    padding-top: 80px;
}

footer a {
    color: #cbd5e1;
    text-decoration: none;
}

footer a:hover {
    color: var(--brand-accent);
    text-decoration: underline;
}

.text-muted-footer {
    color: #94a3b8 !important;
}