:root {
    --primary: #0F4C81;
    --primary-dark: #0a3560;
    --secondary: #ffffff;
    --accent: #F4B400;
    --light-bg: #F8F9FA;
    --text-dark: #1a1a2e;
    --text-muted: #6c757d;
    --border: #e0e0e0;
    --shadow: 0 4px 20px rgba(15,76,129,0.10);
    --radius: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text-dark);
    background: var(--secondary);
    line-height: 1.6;
}

/* Navbar */
.navbar-brand img { height: 40px; }
.navbar { background: var(--primary) !important; box-shadow: 0 2px 15px rgba(0,0,0,0.15); }
.navbar .nav-link { color: rgba(255,255,255,0.85) !important; font-weight: 500; transition: color .2s; }
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--accent) !important; }
.navbar-brand { color: #fff !important; font-weight: 700; font-size: 1.3rem; }
.navbar-brand span { color: var(--accent); }

/* Buttons */
.btn-primary { background: var(--primary); border-color: var(--primary); border-radius: 8px; font-weight: 600; }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn-accent { background: var(--accent); border-color: var(--accent); color: #fff; border-radius: 8px; font-weight: 600; }
.btn-accent:hover { background: #d9a200; border-color: #d9a200; color: #fff; }
.btn-outline-primary { border-color: var(--primary); color: var(--primary); border-radius: 8px; font-weight: 600; }
.btn-outline-primary:hover { background: var(--primary); color: #fff; }

/* Hero */
.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, #1a6bb5 60%, #0a3560 100%);
    color: #fff;
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(244,180,0,0.08);
    border-radius: 50%;
}
.hero-section h1 { font-size: 3rem; font-weight: 800; line-height: 1.2; }
.hero-section h1 span { color: var(--accent); }
.hero-section p { font-size: 1.15rem; opacity: 0.9; }
.hero-badge { background: rgba(244,180,0,0.2); color: var(--accent); border: 1px solid var(--accent); border-radius: 50px; padding: 6px 18px; font-size: 0.85rem; font-weight: 600; display: inline-block; margin-bottom: 20px; }

/* Cards */
.card { border: none; border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(15,76,129,0.15); }
.card-header { background: var(--primary); color: #fff; border-radius: var(--radius) var(--radius) 0 0 !important; font-weight: 600; }

/* Job/Internship Cards */
.job-card { border-left: 4px solid var(--primary); }
.job-card:hover { border-left-color: var(--accent); }
.job-card .badge-type { background: var(--primary); color: #fff; font-size: 0.75rem; padding: 4px 10px; border-radius: 50px; }
.job-card .job-meta span { font-size: 0.85rem; color: var(--text-muted); margin-right: 15px; }
.job-card .job-meta i { color: var(--primary); margin-right: 4px; }

/* Section Titles */
.section-title { font-size: 2rem; font-weight: 700; color: var(--primary); }
.section-title span { color: var(--accent); }
.section-subtitle { color: var(--text-muted); font-size: 1rem; }
.section-divider { width: 60px; height: 4px; background: var(--accent); border-radius: 2px; margin: 12px 0 30px; }

/* Stats */
.stat-card { background: var(--primary); color: #fff; border-radius: var(--radius); padding: 30px 20px; text-align: center; }
.stat-card .stat-number { font-size: 2.5rem; font-weight: 800; color: var(--accent); }
.stat-card .stat-label { font-size: 0.9rem; opacity: 0.85; }

/* Process Steps */
.process-step { text-align: center; padding: 20px; }
.process-step .step-icon { width: 70px; height: 70px; background: var(--primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin: 0 auto 15px; }
.process-step .step-number { background: var(--accent); color: #fff; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 700; margin: 0 auto 10px; }

/* Why Join */
.why-card { background: var(--light-bg); border-radius: var(--radius); padding: 25px; border: 1px solid var(--border); }
.why-card .icon-box { width: 55px; height: 55px; background: var(--primary); color: #fff; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 15px; }

/* CTA */
.cta-section { background: linear-gradient(135deg, var(--primary), #1a6bb5); color: #fff; padding: 70px 0; }

/* Footer */
footer { background: #0a1628; color: rgba(255,255,255,0.8); padding: 60px 0 20px; }
footer h5 { color: #fff; font-weight: 700; margin-bottom: 20px; }
footer a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color .2s; }
footer a:hover { color: var(--accent); }
footer .footer-brand { font-size: 1.4rem; font-weight: 800; color: #fff; }
footer .footer-brand span { color: var(--accent); }
footer .social-links a { width: 38px; height: 38px; background: rgba(255,255,255,0.1); border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; margin-right: 8px; transition: background .2s; }
footer .social-links a:hover { background: var(--accent); }
footer hr { border-color: rgba(255,255,255,0.1); }

/* Auth Pages */
.auth-wrapper { min-height: 100vh; background: linear-gradient(135deg, var(--primary) 0%, #1a6bb5 100%); display: flex; align-items: center; }
.auth-card { background: #fff; border-radius: 16px; padding: 40px; box-shadow: 0 20px 60px rgba(0,0,0,0.2); max-width: 460px; width: 100%; }
.auth-logo { text-align: center; margin-bottom: 30px; }
.auth-logo h2 { color: var(--primary); font-weight: 800; }
.auth-logo span { color: var(--accent); }

/* Dashboard */
.sidebar { background: var(--primary); min-height: 100vh; width: 260px; position: fixed; top: 0; left: 0; z-index: 1000; transition: transform .3s; display: flex; flex-direction: column; overflow: hidden; }
.sidebar .sidebar-brand { padding: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); flex-shrink: 0; }
.sidebar .sidebar-brand h4 { color: #fff; font-weight: 800; margin: 0; font-size: 1.1rem; }
.sidebar .sidebar-brand span { color: var(--accent); }
.sidebar > div.py-3 { overflow-y: auto; flex: 1; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.2) transparent; }
.sidebar > div.py-3::-webkit-scrollbar { width: 4px; }
.sidebar > div.py-3::-webkit-scrollbar-track { background: transparent; }
.sidebar > div.py-3::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 4px; }
.sidebar-scroll { overflow-y: auto !important; flex: 1 1 auto !important; min-height: 0 !important; max-height: calc(100vh - 80px) !important; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.2) transparent; }
.sidebar-scroll::-webkit-scrollbar { width: 4px; }
.sidebar-scroll::-webkit-scrollbar-track { background: transparent; }
.sidebar-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.25); border-radius: 4px; }
.sidebar .nav-link { color: rgba(255,255,255,0.75); padding: 12px 20px; border-radius: 8px; margin: 2px 10px; font-weight: 500; transition: all .2s; display: flex; align-items: center; gap: 10px; }
.sidebar .nav-link:hover, .sidebar .nav-link.active { background: rgba(255,255,255,0.15); color: #fff; }
.sidebar .nav-link i { width: 20px; text-align: center; }
.sidebar .nav-section { color: rgba(255,255,255,0.4); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; padding: 15px 20px 5px; }

.main-content { margin-left: 260px; min-height: 100vh; background: var(--light-bg); }
.topbar { background: #fff; padding: 15px 25px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); display: flex; align-items: center; justify-content: space-between; }
.topbar .page-title { font-weight: 700; color: var(--primary); font-size: 1.2rem; }
.content-area { padding: 25px; }

/* Dashboard Cards */
.dash-card { border-radius: var(--radius); padding: 25px; color: #fff; position: relative; overflow: hidden; }
.dash-card::after { content: ''; position: absolute; right: -20px; top: -20px; width: 100px; height: 100px; background: rgba(255,255,255,0.1); border-radius: 50%; }
.dash-card .dash-icon { font-size: 2rem; opacity: 0.8; }
.dash-card .dash-number { font-size: 2.2rem; font-weight: 800; }
.dash-card .dash-label { font-size: 0.85rem; opacity: 0.85; }
.dash-card-blue { background: linear-gradient(135deg, #0F4C81, #1a6bb5); }
.dash-card-gold { background: linear-gradient(135deg, #F4B400, #e6a800); }
.dash-card-green { background: linear-gradient(135deg, #28a745, #20c997); }
.dash-card-red { background: linear-gradient(135deg, #dc3545, #e83e8c); }
.dash-card-purple { background: linear-gradient(135deg, #6f42c1, #e83e8c); }
.dash-card-teal { background: linear-gradient(135deg, #17a2b8, #20c997); }

/* Forms */
.form-control, .form-select { border-radius: 8px; border: 1.5px solid var(--border); padding: 10px 14px; transition: border-color .2s; }
.form-control:focus, .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(15,76,129,0.1); }
.form-label { font-weight: 600; color: var(--text-dark); font-size: 0.9rem; }

/* Tables */
.table-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.table thead th { background: var(--primary); color: #fff; font-weight: 600; border: none; padding: 14px 16px; }
.table tbody td { padding: 12px 16px; vertical-align: middle; border-color: #f0f0f0; }
.table tbody tr:hover { background: rgba(15,76,129,0.03); }

/* Badges */
.badge { border-radius: 6px; font-weight: 600; padding: 5px 10px; }

/* Profile */
.profile-avatar { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; border: 4px solid var(--primary); }
.profile-avatar-placeholder { width: 100px; height: 100px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; font-weight: 700; }

/* Responsive */
@media (max-width: 991px) {
    .sidebar { transform: translateX(-100%); }
    .sidebar.show { transform: translateX(0); }
    .main-content { margin-left: 0; }
    .hero-section h1 { font-size: 2rem; }
}
@media (max-width: 576px) {
    .hero-section { padding: 70px 0 50px; }
    .auth-card { padding: 25px; }
}

/* Internship Cards */
.intern-card { border-left: 4px solid var(--accent); }
.intern-card:hover { border-left-color: var(--primary); }
.badge-intern { background: var(--accent); color: #fff; font-size: .75rem; padding: 4px 10px; border-radius: 50px; display: inline-block; }

/* Meta Tags */
.meta-tag { font-size: .8rem; color: var(--text-muted); display: inline-flex; align-items: center; gap: 4px; }
.meta-tag i { color: var(--primary); font-size: .75rem; }

/* Benefit Tags */
.benefit-tag { font-size: .75rem; background: #f0f6ff; color: var(--primary); border: 1px solid #d0e4ff; border-radius: 20px; padding: 3px 10px; display: inline-flex; align-items: center; }

/* Benefits Banner */
.fw-600 { font-weight: 600; }

/* WhatsApp Button */
.btn-success { background: #25D366; border-color: #25D366; }
.btn-success:hover { background: #1ebe5d; border-color: #1ebe5d; }

/* Navbar Dropdown */
.navbar .dropdown-menu { background:#fff; border:none; border-radius:10px; box-shadow:0 8px 30px rgba(15,76,129,0.15); padding:8px 0; min-width:220px; margin-top:8px; }
.navbar .dropdown-item { color:var(--text-dark); font-size:.88rem; padding:9px 18px; transition:background .15s; }
.navbar .dropdown-item:hover { background:#f0f6ff; color:var(--primary); }
.navbar .dropdown-divider { border-color:#f0f0f0; margin:4px 0; }
.navbar .dropdown-toggle::after { border-top-color:rgba(255,255,255,0.85); }
