:root {
    --brand: #2563eb;
    --ink: #14213d;
    --soft: #f4f7fb;
    --line: #dde5ef;
    --accent: #f97316;
}
body { font-family: Inter, system-ui, -apple-system, Segoe UI, sans-serif; color: var(--ink); background: #fbfdff; }
a { text-decoration: none; }
.navbar { backdrop-filter: blur(18px); }
.trust-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: #075ea8; }
.trust-brand img { width: 58px; height: 44px; object-fit: contain; }
.trust-brand span { max-width: 190px; line-height: 1.05; }
.footer-logo { width: 120px; height: 82px; object-fit: contain; background: #fff; border-radius: 8px; }
.contact-details { display: grid; gap: 12px; margin-top: 22px; }
.contact-details a { color: var(--ink); font-weight: 650; }
.contact-details address { line-height: 1.7; }
.department-banner-image { width: 100%; max-height: 330px; object-fit: cover; border-radius: 14px; background: #fff; box-shadow: 0 22px 60px rgba(15,23,42,.16); }
.certificate-verify-logo { width: 150px; height: 100px; object-fit: contain; margin: auto; }
.hero { min-height: calc(100vh - 74px); display: flex; align-items: center; padding: 64px 0 48px; background: linear-gradient(120deg, rgba(255,255,255,.92), rgba(239,246,255,.9)), url("../img/course-banner.svg") center right / cover no-repeat; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 460px; height: 460px; border-radius: 50%; background: rgba(249, 115, 22, .16); }
.hero .container { position: relative; z-index: 1; }
.eyebrow { display: inline-flex; color: var(--brand); font-weight: 700; text-transform: uppercase; font-size: .8rem; letter-spacing: .08em; margin-bottom: 14px; }
.hero h1 { font-size: clamp(2.25rem, 5vw, 4.7rem); line-height: 1; max-width: 820px; font-weight: 850; letter-spacing: 0; }
.hero-search { position: relative; margin-top: 28px; display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 10px 10px 10px 18px; box-shadow: 0 20px 60px rgba(37, 99, 235, .12); max-width: 720px; }
.hero-search input { border: 0; outline: 0; flex: 1; min-width: 120px; }
.search-results { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 18px 45px rgba(15, 23, 42, .14); z-index: 10; overflow: hidden; display: none; }
.search-results a { display: block; padding: 12px 16px; color: var(--ink); border-bottom: 1px solid var(--line); }
.hero-stats { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 24px; color: #526176; }
.hero-stats strong { color: var(--ink); font-size: 1.2rem; }
.learning-panel, .panel, .course-card, .checkout-card, .quote-card, .price-card, .blog-card, .stat-card, .auth-card { background: var(--bs-body-bg); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 18px 48px rgba(20, 33, 61, .08); }
.learning-panel { padding: 28px; transform: rotate(1deg); background: linear-gradient(180deg, #ffffff, #f8fbff); }
.learning-panel::before { content: ""; display: block; height: 210px; border-radius: 8px; margin-bottom: 20px; background: url("../img/course-php.svg") center / cover no-repeat; }
.metric { display: flex; align-items: center; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--soft); }
.bg-soft { background: var(--soft); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 28px; }
.section-head h2 { margin: 0; font-weight: 800; }
.course-card { overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; background: #fff; }
.course-card:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(20, 33, 61, .14); }
.course-thumb { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; background: #dbeafe; }
.course-title { font-size: 1.05rem; min-height: 52px; }
.course-title a { color: var(--ink); }
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.category-grid a { display: flex; align-items: center; gap: 10px; padding: 14px; background: var(--bs-body-bg); border: 1px solid var(--line); border-radius: 8px; color: var(--ink); font-weight: 650; }
.quote-card, .price-card, .blog-card, .panel, .stat-card { padding: 24px; height: 100%; }
.quote-card span, .blog-card span { display: block; color: #64748b; font-size: .9rem; }
.price-card.featured { border-color: var(--brand); box-shadow: 0 24px 70px rgba(37, 99, 235, .18); }
.footer { background: #0f172a; color: #d8e3f1; }
.footer a { display: block; color: #d8e3f1; margin: 7px 0; }
.page-band, .course-hero { padding: 68px 0; background: linear-gradient(135deg, #eff6ff, #fff7ed); }
.page-band h1, .course-hero h1 { font-weight: 850; }
.filter-bar { padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--bs-body-bg); }
.checkout-card { padding: 18px; }
.checkout-card img { width: 100%; border-radius: 8px; margin-bottom: 18px; }
.review { border-bottom: 1px solid var(--line); padding: 14px 0; }
.auth-wrap { min-height: 76vh; display: grid; place-items: center; padding: 48px 16px; background: var(--soft); }
.auth-card { width: min(430px, 100%); padding: 28px; display: grid; gap: 14px; }
.auth-card h1 { text-align: center; font-weight: 800; }
.dashboard { padding: 44px 0; background: var(--soft); min-height: 76vh; }
.dash-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 24px; }
.dash-head h1 { font-weight: 850; margin: 0; }
.learn-row { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; align-items: center; background: var(--bs-body-bg); border: 1px solid var(--line); border-radius: 8px; padding: 12px; margin-bottom: 12px; }
.learn-row img { width: 96px; height: 70px; object-fit: cover; border-radius: 8px; }
.invoice-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); }
.stat-card span { display: block; color: #64748b; }
.stat-card strong { font-size: 2rem; }
.department-hero { background: linear-gradient(135deg, #fff7ed, #fdf2f8); }
.department-hero.healthcare { background: linear-gradient(135deg, #ecfeff, #eff6ff); }
.skill-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.skill-grid > div { display: grid; grid-template-columns: auto 1fr; gap: 3px 10px; padding: 16px; background: var(--bs-body-bg); border: 1px solid var(--line); border-radius: 8px; }
.skill-grid span { grid-column: 2; color: #64748b; font-size: .85rem; }
.department-stat small, .stat-card small { display: block; color: #64748b; }
.training-row, .certificate-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.training-row span, .training-row small, .certificate-row span, .internship-card span { display: block; color: #64748b; font-size: .85rem; }
.internship-card { padding: 14px 0; border-bottom: 1px solid var(--line); }
.internship-card form, .department-form { display: grid; gap: 10px; }
.certificate-row i { font-size: 1.6rem; }
.submission-card { padding: 18px 0; border-bottom: 1px solid var(--line); }
.gallery-feature { min-height: 190px; display: grid; place-items: center; align-content: center; gap: 14px; background: linear-gradient(135deg,#fff1f2,#eff6ff); border: 1px solid var(--line); border-radius: 8px; }
.gallery-feature i { font-size: 3rem; color: var(--brand); }
.gallery-card { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--bs-body-bg); }
.gallery-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.gallery-card figcaption { padding: 12px 16px; font-weight: 700; }
.certificate-sheet { position: relative; max-width: 1050px; margin: auto; padding: 70px; text-align: center; background: #fff; color: #14213d; border: 14px double #1d4ed8; box-shadow: 0 20px 60px rgba(15,23,42,.18); }
.certificate-brand { display: flex; justify-content: center; gap: 12px; font-size: 1.5rem; color: #1d4ed8; }
.certificate-brand { align-items: center; }
.certificate-brand img { width: 120px; height: 80px; object-fit: contain; }
.certificate-kicker { margin-top: 35px; text-transform: uppercase; letter-spacing: .25em; }
.certificate-sheet h1 { font-family: Georgia,serif; font-size: clamp(2.5rem,6vw,5rem); color: #9d174d; }
.certificate-sheet h2 { font-size: 2rem; }
.certificate-footer { display: grid; grid-template-columns: 1fr 180px 1fr; align-items: end; gap: 30px; margin-top: 55px; }
.certificate-footer small,.certificate-footer strong { display: block; }
.signature { display: block; font-family: cursive; font-size: 1.5rem; border-bottom: 1px solid #334155; }
.qr-box img { width: 120px; height: 120px; }
.seal { position: absolute; right: 35px; bottom: 30px; display: grid; font-size: .7rem; color: #b45309; }
.seal i { font-size: 2.5rem; }
@media print { nav,.footer,.certificate-page .btn { display:none!important; } .certificate-page{padding:0!important}.certificate-sheet{box-shadow:none;max-width:none;min-height:95vh;} }
[data-bs-theme="dark"] { --ink: #eff6ff; --soft: #111827; --line: #263244; }
[data-bs-theme="dark"] .hero, [data-bs-theme="dark"] .page-band, [data-bs-theme="dark"] .course-hero { background: linear-gradient(135deg, #111827, #172554); }
[data-bs-theme="dark"] .hero-search, [data-bs-theme="dark"] .search-results, [data-bs-theme="dark"] .metric { background: #0f172a; }
[data-bs-theme="dark"] .course-title a, [data-bs-theme="dark"] .category-grid a { color: #eff6ff; }
[data-aos] { opacity: 1 !important; transform: none !important; }
@media (max-width: 767px) {
    .hero { padding-top: 52px; }
    .hero-search { flex-wrap: wrap; }
    .hero-search button { width: 100%; }
    .section-head, .dash-head { display: block; }
    .learn-row { grid-template-columns: 72px 1fr; }
    .learn-row a { grid-column: 1 / -1; }
    .learn-row img { width: 72px; height: 58px; }
    .certificate-sheet { padding: 30px 16px; }
    .certificate-footer { grid-template-columns: 1fr; }
    .trust-brand span { max-width: 125px; font-size: .9rem; }
}
