/* EduTech TVET — public website */
body { font-family: var(--font-body); color: var(--ink); background: #fff; }
.site-nav { background: var(--steel-900); }
.site-nav .navbar-brand { font-family: var(--font-head); font-weight: 700; color: #fff; display: flex; align-items: center; gap: .6rem; }
.site-nav .nav-link { color: #cbd5e1; font-weight: 500; }
.site-nav .nav-link:hover, .site-nav .nav-link.active { color: #fff; }
.site-nav .brand-mark { width: 36px; height: 36px; border-radius: 8px; background: var(--brand); display: grid; place-items: center; overflow: hidden; font-size: .95rem; }
.site-nav .brand-mark img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.hero { background: var(--steel-900); color: #e2e8f0; position: relative; overflow: hidden; padding: 5rem 0 4.5rem; }
.hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 460px; height: 460px; border-radius: 50%;
  background: repeating-linear-gradient(-45deg, var(--brand) 0 16px, transparent 16px 32px); opacity: .28; }
.hero h1 { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.3rem, 5vw, 3.8rem); line-height: 1; color: #fff; max-width: 14ch; }
.hero .lead { color: #cbd5e1; max-width: 46ch; }
.hero .container { position: relative; z-index: 1; }
.kicker { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .14em; font-size: .82rem; color: var(--brand-soft); font-weight: 600; }
.section { padding: 4rem 0; }
.section-alt { background: var(--paper); }
.section h2 { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.stat-band { background: var(--brand); color: #fff; }
.stat-band .n { font-family: var(--font-head); font-size: 2.4rem; font-weight: 700; line-height: 1; }
.stat-band .l { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; opacity: .85; }
.prog-card { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: border-color .15s, transform .15s; text-decoration: none; color: inherit; background: #fff; }
.prog-card:hover { border-color: var(--brand); transform: translateY(-2px); }
.prog-card .top { height: 6px; background: repeating-linear-gradient(-45deg, var(--brand) 0 8px, var(--steel-900) 8px 16px); }
.prog-card img { width: 100%; height: 160px; object-fit: cover; }
.prog-card .body { padding: 1.1rem 1.2rem; flex: 1; display: flex; flex-direction: column; }
.prog-card h3 { font-family: var(--font-head); font-weight: 600; font-size: 1.3rem; margin: .25rem 0 .5rem; }
.chip { display: inline-block; font-size: .74rem; padding: .15rem .55rem; border-radius: 99px; background: var(--brand-light); color: var(--brand-darker); font-weight: 600; }
.step { display: flex; gap: 1rem; }
.step .num { width: 42px; height: 42px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; flex: 0 0 auto; }
.site-footer { background: var(--steel-900); color: #94a3b8; padding: 3rem 0 1.5rem; }
.site-footer a { color: #cbd5e1; text-decoration: none; } .site-footer a:hover { color: #fff; }
.site-footer h4 { font-family: var(--font-head); color: #fff; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .08em; }
.page-head { background: var(--steel-900); color: #fff; padding: 2.6rem 0 2.2rem; }
.page-head h1 { font-family: var(--font-head); font-weight: 700; margin: 0; }
.form-panel { border: 1px solid var(--line); border-radius: 12px; padding: 1.75rem; background: #fff; }
.result-box { border-left: 5px solid var(--brand); background: var(--brand-light); padding: 1.25rem 1.4rem; border-radius: 8px; }
.result-box.bad { border-color: #b91c1c; background: #fef2f2; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 640px) { .section { padding: 2.6rem 0; } .hero { padding: 3rem 0; } .form-panel { padding: 1.1rem; } }
.section .kicker { color: var(--brand); }

/* ---- top toolbar with contact + social icons ---- */
.topbar-site { background: #0b1220; color: #94a3b8; font-size: .82rem; padding: .3rem 0; }
.topbar-site a { color: #cbd5e1; text-decoration: none; } .topbar-site a:hover { color: #fff; }
.social-btn { width: 30px; height: 30px; border-radius: 50%; display: inline-grid; place-items: center; background: rgba(255,255,255,.08); color: #e2e8f0 !important; font-size: .9rem; transition: background .15s, transform .15s; }
.social-btn:hover { transform: translateY(-1px); color: #fff !important; }
.social-facebook:hover { background: #1877f2; } .social-youtube:hover { background: #ff0000; }
.social-twitter:hover { background: #000; } .social-instagram:hover { background: #d62976; }
.site-footer .social-btn { width: 36px; height: 36px; font-size: 1rem; }

/* ---- homepage slider ---- */
.hero-slider { background: var(--steel-900); }
.hero-slider .carousel-item { height: clamp(320px, 62vh, 620px); position: relative; }
.hero-slider .carousel-item > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-slider .slide-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,24,39,.85) 0%, rgba(17,24,39,.55) 45%, rgba(17,24,39,.05) 100%); }
.hero-slider .slide-text { position: absolute; inset: 0; display: flex; align-items: center; color: #fff; }
.hero-slider .slide-text h2 { font-family: var(--font-head); font-weight: 700; font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1.02; max-width: 16ch; }
.hero-slider .slide-text .lead { color: #e2e8f0; max-width: 48ch; }
.hero-slider .slide-text .kicker { color: var(--brand-soft); }
.hero-slider .carousel-indicators [data-bs-target] { width: 26px; height: 4px; border-radius: 2px; }
@media (max-width: 640px) { .hero-slider .slide-shade { background: rgba(17,24,39,.65); } .hero-slider .carousel-control-prev, .hero-slider .carousel-control-next { width: 12%; } }

/* ---- gallery ---- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .75rem; }
.gallery-item { position: relative; display: block; border-radius: 8px; overflow: hidden; aspect-ratio: 4/3; background: #e5e7eb; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item span { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem .7rem .5rem; color: #fff; font-size: .85rem;
  background: linear-gradient(transparent, rgba(0,0,0,.7)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 640px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: .5rem; } }
.lightbox .modal-content { position: relative; align-items: center; }
.lightbox #lbImg { max-width: 100%; max-height: 82vh; object-fit: contain; border-radius: 6px; }
.lightbox .lb-caption { color: #e5e7eb; margin-top: .6rem; font-size: .9rem; text-align: center; }
.lightbox .lb-close { position: absolute; top: -2.2rem; right: 0; }
.lightbox .lb-nav { position: absolute; top: 45%; border: 0; background: rgba(0,0,0,.45); color: #fff; width: 44px; height: 44px; border-radius: 50%; font-size: 1.3rem; }
.lightbox .lb-prev { left: .5rem; } .lightbox .lb-next { right: .5rem; }
.modal-backdrop.show { opacity: .85; }
@media (prefers-reduced-motion: reduce) { .gallery-item img, .social-btn { transition: none; } }
