:root {
    --brand-blue: #1143a6;
    --brand-blue-deep: #0c2f7d;
    --brand-green: #24b15a;
    --brand-green-deep: #178a43;
    --brand-dark: #0d1837;
    --brand-muted: #5d6678;
    --brand-soft: #f4f8ff;
    --brand-soft-green: #f1fbf5;
    --white: #ffffff;
    --border: #dfe7f4;
    --shadow: 0 18px 50px rgba(17, 67, 166, 0.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Poppins', sans-serif;
    color: var(--brand-dark);
    background: #f6f9fc;
}
a { text-decoration: none; }
.top-strip {
    background: linear-gradient(135deg, var(--brand-blue-deep), var(--brand-blue));
    color: #fff;
    font-size: 14px;
    padding: 9px 0;
}
.site-logo { height: 62px; width: auto; }
.navbar .nav-link { color: var(--brand-dark); font-weight: 600; transition: .25s ease; }
.navbar .nav-link:hover, .navbar .nav-link:focus { color: var(--brand-green); }
.btn-brand {
    background: linear-gradient(135deg, var(--brand-blue), #0c57d6);
    border: none;
    color: #fff;
    font-weight: 700;
    border-radius: 14px;
    padding: 12px 22px;
    box-shadow: 0 12px 25px rgba(17, 67, 166, 0.22);
    transition: .28s ease;
}
.btn-brand:hover, .btn-brand:focus {
    color: #fff;
    background: linear-gradient(135deg, var(--brand-green), var(--brand-green-deep));
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(36,177,90,0.28);
}
.btn-animated { animation: floatPulse 2.4s ease-in-out infinite; }
.btn-outline-brand {
    color: var(--brand-blue);
    border: 1px solid #cbd8f2;
    background: #fff;
    border-radius: 14px;
    padding: 12px 22px;
    font-weight: 700;
    transition: .28s ease;
}
.btn-outline-brand:hover, .btn-outline-brand:focus {
    color: #fff;
    background: linear-gradient(135deg, var(--brand-green), var(--brand-green-deep));
    border-color: transparent;
}
.hero-section {
    position: relative;
    padding: 72px 0 56px;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(36,177,90,0.10), transparent 26%),
        radial-gradient(circle at top right, rgba(17,67,166,0.12), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
}
.hero-section::before,
.hero-section::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    z-index: 0;
}
.hero-section::before {
    width: 260px; height: 260px; left: -80px; top: 120px; background: rgba(17,67,166,0.06);
}
.hero-section::after {
    width: 320px; height: 320px; right: -120px; top: 40px; background: rgba(36,177,90,0.08);
}
.hero-section .container, .section-pad .container { position: relative; z-index: 1; }
.eyebrow, .section-tag {
    display: inline-block;
    background: var(--brand-soft-green);
    color: var(--brand-green);
    font-weight: 700;
    border-radius: 999px;
    padding: 10px 16px;
    margin-bottom: 18px;
    font-size: 14px;
}
.hero-title {
    font-size: clamp(2.2rem, 5vw, 4.1rem);
    line-height: 1.08;
    font-weight: 800;
    max-width: 760px;
    margin-bottom: 18px;
}
.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.85;
    color: var(--brand-muted);
    max-width: 720px;
}
.hero-note { color: var(--brand-muted); font-size: 14px; }
.info-chip {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 14px 16px;
    font-weight: 600;
    box-shadow: var(--shadow);
    color: var(--brand-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}
.info-chip i { color: var(--brand-green); }
.hero-showcase {
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(8, 28, 75, 0.12);
    border: 1px solid #dbe6f9;
    padding: 24px;
}
.hero-showcase-top {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e5edf9;
}
.hero-brand-mark { width: 92px; height: auto; border-radius: 14px; }
.showcase-mini { color: var(--brand-green); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.hero-showcase-top h2 { font-size: 1.55rem; font-weight: 800; margin: 0; }
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}
.showcase-item {
    background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
    border: 1px solid #dce8fb;
    border-radius: 20px;
    padding: 18px;
}
.showcase-item span {
    width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px;
    color: #fff; background: linear-gradient(135deg, var(--brand-blue), var(--brand-green)); font-weight: 800;
    margin-bottom: 12px;
}
.showcase-item h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.showcase-item p { font-size: 14px; color: var(--brand-muted); margin-bottom: 0; line-height: 1.6; }
.showcase-cta {
    margin-top: 18px;
    border-radius: 20px;
    padding: 18px;
    background: linear-gradient(135deg, rgba(17,67,166,.08), rgba(36,177,90,.10));
    border: 1px solid #dbe6f9;
}
.section-pad { padding: 80px 0; }
.section-soft { background: linear-gradient(180deg, #f8fbff 0%, #f3faf7 100%); }
.section-heading { max-width: 780px; }
.section-heading h2, .section-pad h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 12px;
}
.section-heading p, .section-pad p { color: var(--brand-muted); line-height: 1.8; }
.feature-card, .form-card, .benefit-box, .learn-card, .panel-card, .stat-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow);
}
.feature-card { padding: 28px; position: relative; overflow: hidden; }
.feature-card h3 { font-size: 1.3rem; font-weight: 700; margin: 16px 0 10px; }
.feature-card p { margin: 0; }
.icon-badge {
    width: 58px; height: 58px; border-radius: 18px;
    display: grid; place-items: center;
    font-weight: 800; color: var(--brand-blue);
    background: var(--brand-soft);
    font-size: 22px;
}
.check-list { display: grid; gap: 16px; }
.check-list div {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 16px 18px 16px 48px;
    position: relative;
    box-shadow: var(--shadow);
    color: var(--brand-dark);
    font-weight: 500;
}
.check-list div::before {
    content: "✓";
    position: absolute;
    left: 18px; top: 16px;
    color: var(--brand-green);
    font-weight: 800;
}
.benefit-panel { display: grid; gap: 18px; }
.benefit-box { padding: 26px; }
.benefit-box h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.learn-card { padding: 24px; min-height: 100%; }
.rich-learn-card { display: block; }
.rich-learn-card h3 { font-size: 1.18rem; font-weight: 700; margin-bottom: 14px; }
.rich-learn-card ul { margin: 0; padding-left: 1.1rem; color: var(--brand-muted); }
.rich-learn-card li { margin-bottom: 10px; line-height: 1.65; }
.form-card { padding: 30px; }
.form-control, .form-select {
    border-radius: 14px;
    padding: 13px 14px;
    border: 1px solid #cfdcf1;
}
.form-control:focus, .form-select:focus {
    border-color: #85a9f2;
    box-shadow: 0 0 0 0.2rem rgba(17,67,166,.12);
}
.plain-list { padding-left: 1.2rem; color: var(--brand-muted); line-height: 1.9; }
.photo-card {
    background: linear-gradient(180deg, #ffffff 0%, #f4fbf7 100%);
}
.photo-card-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-green));
    color: #fff;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 14px;
}
.response-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    border-radius: 20px;
    padding: 18px 20px;
    border: 1px solid transparent;
}
.response-card h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 6px; }
.response-icon {
    width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; flex: 0 0 auto;
}
.response-success { background: #eefbf3; border-color: #cdeed8; }
.response-success .response-icon { background: #dff7e8; color: var(--brand-green); }
.response-error { background: #fff4f4; border-color: #f3d2d2; }
.response-error .response-icon { background: #ffe1e1; color: #d9534f; }
.footer-strip {
    background: var(--brand-dark);
    color: rgba(255,255,255,0.82);
    padding: 28px 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 24px;
    align-items: start;
}
.footer-logo { max-height: 72px; width: auto; border-radius: 12px; }
.footer-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 12px; color: #fff; }
.footer-strip a { color: #d7ebff; }
.footer-strip a:hover { color: #8ff0b5; }
.social-links { display: flex; gap: 12px; flex-wrap: wrap; }
.social-links a {
    width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
    background: rgba(255,255,255,.08); color: #fff; font-size: 18px; transition: .25s ease;
}
.social-links a:hover { background: var(--brand-green); color: #fff; transform: translateY(-2px); }

.admin-auth-wrap {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, #f5f9ff 0%, #edf8f1 100%);
    padding: 24px 0;
}
.admin-auth-card {
    width: 100%;
    max-width: 460px;
    background: #fff;
    border-radius: 28px;
    padding: 34px;
    border: 1px solid var(--border);
}
.auth-logo { max-height: 72px; width: auto; }
.admin-shell { display: grid; grid-template-columns: 280px 1fr; min-height: 100vh; }
.admin-sidebar {
    background: linear-gradient(180deg, #0c2f7d 0%, #123f9e 100%);
    color: #fff; padding: 28px; display: flex; flex-direction: column; justify-content: space-between;
}
.sidebar-logo { width: 180px; max-width: 100%; margin-bottom: 22px; background: #fff; border-radius: 18px; padding: 10px; }
.admin-sidebar h2 { font-weight: 700; }
.admin-sidebar p { color: rgba(255,255,255,0.8); }
.admin-content { padding: 28px; }
.admin-title { font-size: 2rem; font-weight: 800; }
.stat-card { padding: 24px; }
.stat-card span { display: block; color: var(--brand-muted); margin-bottom: 8px; }
.stat-card strong { font-size: 2rem; color: var(--brand-blue); }
.panel-card { padding: 24px; }
.panel-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0; }
.stack-list { display: grid; gap: 12px; }
.stack-list div {
    display: flex; justify-content: space-between; align-items: center;
    background: var(--brand-soft); border: 1px solid #dce8fb; border-radius: 16px; padding: 14px 16px;
}
.table-modern thead th {
    background: #f3f7fe; border-bottom: none; color: var(--brand-dark); font-size: 14px; font-weight: 700;
}
.detail-row td { background: #fbfdff; }
.detail-box { display: grid; gap: 8px; color: var(--brand-muted); }

@keyframes floatPulse {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
}

@media (max-width: 991.98px) {
    .site-logo { height: 54px; }
    .section-pad { padding: 64px 0; }
    .admin-shell { grid-template-columns: 1fr; }
    .admin-sidebar { gap: 22px; }
    .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767.98px) {
    .hero-section { padding-top: 52px; }
    .hero-showcase-top { align-items: flex-start; }
    .hero-brand-mark { width: 82px; }
    .showcase-grid { grid-template-columns: 1fr; }
    .footer-strip { text-align: center; }
    .social-links { justify-content: center; }
    .response-card { flex-direction: column; }
}
