:root {
  --primary: #0a2342;
  --secondary: #1e7e34;
  --accent: #f0a500;
  --light: #f4f7fc;
  --white: #ffffff;
  --text: #333;
  --muted: #6c757d;
  --border: #dee2e6;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Poppins', sans-serif; color: var(--text); background: var(--white); }
a { text-decoration: none; color: inherit; }

/* ── Navbar ── */
.navbar { background: var(--primary); padding: 0; }
.navbar-brand img { height: 50px; }
.navbar-brand span { color: var(--white); font-size: 1.3rem; font-weight: 700; }
.navbar .nav-link { color: rgba(255,255,255,.85) !important; font-weight: 500; padding: .75rem 1rem !important; transition: color .2s; }
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--accent) !important; }
.topbar { background: #061529; color: rgba(255,255,255,.75); font-size: .82rem; padding: .4rem 0; }
.topbar a { color: rgba(255,255,255,.75); }
.topbar a:hover { color: var(--accent); }

/* ── Hero ── */
.hero { background: linear-gradient(135deg, rgba(10,35,66,.92) 0%, rgba(10,35,66,.7) 100%), url('images/hero-bg.jpg') center/cover no-repeat; min-height: 520px; display: flex; align-items: center; }
.hero h1 { font-size: 3rem; font-weight: 800; color: var(--white); line-height: 1.2; }
.hero h1 span { color: var(--accent); }
.hero p { color: rgba(255,255,255,.85); font-size: 1.1rem; margin: 1.2rem 0 2rem; }
.btn-primary-custom { background: var(--accent); color: var(--primary); border: none; padding: .75rem 2rem; border-radius: 50px; font-weight: 700; font-size: 1rem; transition: all .25s; }
.btn-primary-custom:hover { background: #d4920a; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(240,165,0,.35); color: var(--primary); }
.btn-outline-custom { border: 2px solid var(--white); color: var(--white); padding: .72rem 2rem; border-radius: 50px; font-weight: 600; transition: all .25s; }
.btn-outline-custom:hover { background: var(--white); color: var(--primary); }

/* ── Track Form in Hero ── */
.hero-track { background: rgba(255,255,255,.12); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.2); border-radius: 16px; padding: 2rem; }
.hero-track h4 { color: var(--white); font-weight: 700; margin-bottom: 1rem; }
.hero-track .form-control { border-radius: 8px; border: none; padding: .75rem 1rem; font-size: 1rem; }
.hero-track .btn-search { background: var(--accent); color: var(--primary); border: none; padding: .75rem 1.5rem; border-radius: 8px; font-weight: 700; width: 100%; margin-top: .75rem; transition: background .2s; }
.hero-track .btn-search:hover { background: #d4920a; }

/* ── Feature Boxes ── */
.features { margin-top: -50px; position: relative; z-index: 10; }
.feature-card { background: var(--white); border-radius: 16px; padding: 2rem; text-align: center; box-shadow: 0 10px 40px rgba(0,0,0,.1); transition: transform .25s, box-shadow .25s; border-top: 4px solid var(--accent); }
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,.15); }
.feature-card .icon { font-size: 2.5rem; color: var(--primary); margin-bottom: 1rem; }
.feature-card h5 { font-weight: 700; color: var(--primary); margin-bottom: .5rem; }
.feature-card p { font-size: .9rem; color: var(--muted); }

/* ── Section Titles ── */
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title .badge-label { background: rgba(10,35,66,.1); color: var(--primary); font-size: .8rem; font-weight: 600; padding: .4rem 1rem; border-radius: 50px; display: inline-block; margin-bottom: .75rem; }
.section-title h2 { font-size: 2.2rem; font-weight: 800; color: var(--primary); }
.section-title h2 span { color: var(--accent); }
.section-title p { color: var(--muted); max-width: 550px; margin: .75rem auto 0; }
.divider { width: 60px; height: 4px; background: var(--accent); border-radius: 2px; margin: 1rem auto 0; }

/* ── Services ── */
.service-card { background: var(--white); border-radius: 16px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,.08); transition: transform .25s, box-shadow .25s; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,.14); }
.service-card img { width: 100%; height: 200px; object-fit: cover; }
.service-card .card-body { padding: 1.5rem; }
.service-card .card-title { font-weight: 700; color: var(--primary); font-size: 1.1rem; }
.service-card .card-text { font-size: .9rem; color: var(--muted); }
.service-card .icon-wrap { width: 50px; height: 50px; background: rgba(10,35,66,.08); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.service-card .icon-wrap i { color: var(--primary); font-size: 1.4rem; }

/* ── Stats ── */
.stats-section { background: var(--primary); padding: 5rem 0; }
.stat-item { text-align: center; }
.stat-item .number { font-size: 3rem; font-weight: 800; color: var(--accent); }
.stat-item .label { color: rgba(255,255,255,.8); font-size: .95rem; margin-top: .25rem; }

/* ── Track Section ── */
.track-section { background: var(--light); padding: 5rem 0; }
.track-box { background: var(--white); border-radius: 20px; padding: 3rem; box-shadow: 0 10px 40px rgba(0,0,0,.08); }
.track-box h3 { font-weight: 800; color: var(--primary); font-size: 1.8rem; }
.track-box .form-control { border-radius: 10px; padding: .9rem 1.2rem; border: 2px solid var(--border); font-size: 1rem; transition: border .2s; }
.track-box .form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(240,165,0,.15); }
.track-box .btn-track { background: var(--primary); color: var(--white); border: none; padding: .9rem 2.5rem; border-radius: 10px; font-weight: 700; font-size: 1rem; transition: background .2s; }
.track-box .btn-track:hover { background: #0d2f5e; }

/* ── Table Results ── */
.result-table { margin-top: 2rem; }
.result-table .table { border-radius: 12px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.result-table .table thead th { background: var(--primary); color: var(--white); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; padding: 1rem; border: none; }
.result-table .table tbody td { padding: .9rem 1rem; font-size: .9rem; vertical-align: middle; border-color: var(--border); }
.result-table .table tbody tr:hover { background: rgba(10,35,66,.04); }
.no-result { text-align: center; padding: 2rem; color: var(--muted); }
.no-result i { font-size: 3rem; color: var(--border); display: block; margin-bottom: 1rem; }

/* ── CTA Section ── */
.cta-section { background: linear-gradient(135deg, var(--secondary), #145a23); padding: 5rem 0; text-align: center; }
.cta-section h2 { color: var(--white); font-weight: 800; font-size: 2.2rem; }
.cta-section p { color: rgba(255,255,255,.85); font-size: 1.05rem; margin: 1rem 0 2rem; }

/* ── Footer ── */
footer { background: var(--primary); color: rgba(255,255,255,.8); padding: 4rem 0 2rem; }
footer h5 { color: var(--white); font-weight: 700; margin-bottom: 1.5rem; font-size: 1rem; }
footer ul { list-style: none; padding: 0; }
footer ul li { margin-bottom: .6rem; }
footer ul li a { color: rgba(255,255,255,.7); font-size: .9rem; transition: color .2s; }
footer ul li a:hover { color: var(--accent); }
footer .footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 3rem; padding-top: 1.5rem; text-align: center; color: rgba(255,255,255,.5); font-size: .85rem; }
footer .social-links a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: rgba(255,255,255,.1); border-radius: 50%; color: var(--white); margin-right: .5rem; transition: background .2s; }
footer .social-links a:hover { background: var(--accent); color: var(--primary); }

/* ── Admin Panel ── */
.admin-sidebar { background: var(--primary); min-height: 100vh; padding: 2rem 0; }
.admin-sidebar .brand { color: var(--white); font-weight: 800; font-size: 1.2rem; padding: 0 1.5rem 2rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.admin-sidebar .nav-link { color: rgba(255,255,255,.75); padding: .75rem 1.5rem; font-size: .9rem; border-radius: 0; transition: all .2s; }
.admin-sidebar .nav-link:hover, .admin-sidebar .nav-link.active { color: var(--white); background: rgba(255,255,255,.1); border-left: 3px solid var(--accent); }
.admin-sidebar .nav-link i { width: 20px; margin-right: .5rem; }
.admin-content { padding: 2rem; }
.admin-header { background: var(--white); border-bottom: 1px solid var(--border); padding: 1rem 2rem; display: flex; align-items: center; justify-content: space-between; }
.admin-card { background: var(--white); border-radius: 16px; box-shadow: 0 4px 20px rgba(0,0,0,.06); padding: 1.5rem; }
.admin-card h5 { font-weight: 700; color: var(--primary); margin-bottom: 1.5rem; }

/* ── Login Page ── */
.login-page { min-height: 100vh; background: linear-gradient(135deg, var(--primary) 0%, #1a4a8a 100%); display: flex; align-items: center; justify-content: center; }
.login-card { background: var(--white); border-radius: 20px; padding: 3rem; width: 100%; max-width: 420px; box-shadow: 0 25px 60px rgba(0,0,0,.3); }
.login-card .brand { text-align: center; margin-bottom: 2rem; }
.login-card .brand h2 { color: var(--primary); font-weight: 800; margin-top: .75rem; }
.login-card .form-control { border-radius: 10px; padding: .85rem 1rem; border: 2px solid var(--border); transition: border .2s; }
.login-card .form-control:focus { border-color: var(--primary); box-shadow: none; }
.login-card .btn-login { background: var(--primary); color: var(--white); border: none; width: 100%; padding: .9rem; border-radius: 10px; font-weight: 700; font-size: 1rem; transition: background .2s; }
.login-card .btn-login:hover { background: #0d2f5e; }
.login-card label { font-weight: 600; font-size: .9rem; color: var(--primary); margin-bottom: .4rem; }

/* ── Page Header ── */
.page-header { background: linear-gradient(135deg, var(--primary), #1a4a8a); padding: 4rem 0; text-align: center; }
.page-header h1 { color: var(--white); font-weight: 800; font-size: 2.5rem; }
.page-header p { color: rgba(255,255,255,.8); margin-top: .5rem; }
.breadcrumb-custom { display: flex; justify-content: center; gap: .5rem; margin-top: 1rem; font-size: .9rem; color: rgba(255,255,255,.6); }
.breadcrumb-custom a { color: var(--accent); }
.breadcrumb-custom span { color: rgba(255,255,255,.4); }

/* ── Contact ── */
.contact-card { background: var(--white); border-radius: 16px; padding: 2.5rem; box-shadow: 0 4px 20px rgba(0,0,0,.08); height: 100%; }
.contact-info-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.contact-info-item .icon { width: 45px; height: 45px; background: rgba(10,35,66,.08); border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-item .icon i { color: var(--primary); font-size: 1.2rem; }
.contact-info-item h6 { font-weight: 700; color: var(--primary); margin-bottom: .2rem; }
.contact-info-item p { color: var(--muted); font-size: .9rem; margin: 0; }
.contact-form .form-control, .contact-form .form-select { border-radius: 10px; padding: .85rem 1rem; border: 2px solid var(--border); transition: border .2s; font-size: .95rem; }
.contact-form .form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(240,165,0,.15); }
.contact-form .btn-submit { background: var(--primary); color: var(--white); border: none; padding: .9rem 2.5rem; border-radius: 10px; font-weight: 700; transition: background .2s; }
.contact-form .btn-submit:hover { background: #0d2f5e; }

/* ── About ── */
.about-img { border-radius: 20px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.15); }
.value-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.value-item .num { width: 40px; height: 40px; background: var(--accent); color: var(--primary); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 800; flex-shrink: 0; }

/* ── Utilities ── */
.section-pad { padding: 5rem 0; }
.bg-light-custom { background: var(--light); }
.text-accent { color: var(--accent); }
.text-primary-custom { color: var(--primary); }

@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .stat-item .number { font-size: 2.2rem; }
  .section-title h2 { font-size: 1.7rem; }
  .admin-sidebar { display: none; }
}
