:root{--navy:#071d3d;--red:#d71920;--bg:#f5f7fb;--ink:#17233a;--muted:#667085;--border:#dfe5ee;--shadow:0 12px 35px rgba(7,29,61,.12)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Arial,Helvetica,sans-serif;background:var(--bg);color:var(--ink)}a{color:inherit}.container{width:min(1180px,92%);margin:auto}.topbar{background:var(--navy);color:#fff;font-size:14px}.topbar .inner{min-height:40px;display:flex;align-items:center;justify-content:space-between;gap:15px}.topbar a{text-decoration:none}.header{background:#fff;position:sticky;top:0;z-index:1000;box-shadow:0 2px 16px rgba(0,0,0,.08)}.header-inner{min-height:82px;display:flex;align-items:center;gap:25px}.brand{display:flex;align-items:center;text-decoration:none}.brand img{width:220px}.nav{margin-left:auto;display:flex;align-items:center;gap:4px}.nav a{padding:13px 12px;text-decoration:none;font-weight:700;font-size:14px;color:#101828;border-radius:8px}.nav a:hover,.nav a.active{color:var(--red);background:#fff4f4}.cta{background:var(--navy);color:#fff!important;padding:13px 19px!important}.menu-btn{display:none;margin-left:auto;border:0;background:var(--navy);color:#fff;border-radius:8px;padding:10px 13px;font-size:20px}.page-hero{background:linear-gradient(120deg,var(--navy),#123b72);color:#fff;padding:70px 0}.page-hero h1{font-size:46px;margin:12px 0}.page-hero p{max-width:750px;font-size:18px;line-height:1.7;margin:0}.section{padding:65px 0}.section-title{text-align:center;margin-bottom:38px}.section-title h2{font-size:34px;margin:0 0 10px;color:var(--navy)}.section-title p{margin:0;color:var(--muted);line-height:1.6}.grid{display:grid;gap:24px}.grid-3{grid-template-columns:repeat(3,1fr)}.grid-2{grid-template-columns:repeat(2,1fr)}.card{background:#fff;border:1px solid var(--border);border-radius:16px;padding:28px;box-shadow:var(--shadow)}.card h3{margin:0 0 10px;color:var(--navy)}.card p,.card li{color:#475467;line-height:1.65}.badge{display:inline-block;background:#fff0f1;color:#a70f14;padding:7px 11px;border-radius:999px;font-size:12px;font-weight:800}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;border:0;cursor:pointer;padding:13px 20px;border-radius:9px;font-weight:800}.btn-red{background:var(--red);color:#fff}.btn-navy{background:var(--navy);color:#fff}.btn-outline{border:2px solid var(--navy);background:#fff;color:var(--navy)}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}.course-card{overflow:hidden;padding:0}.course-card .course-body{padding:24px}.course-icon{height:130px;background:linear-gradient(135deg,#e9eef7,#cfd9ea);display:grid;place-items:center;font-size:48px;color:var(--navy)}.course-card h3{font-size:21px}.meta{display:flex;justify-content:space-between;gap:12px;align-items:center;color:var(--muted);font-size:13px;font-weight:700}.form-card{max-width:900px;margin:auto}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.field{display:flex;flex-direction:column;gap:7px}.field.full{grid-column:1/-1}label{font-weight:800;font-size:14px}input,select,textarea{width:100%;padding:13px 14px;border:1px solid #cfd6e2;border-radius:9px;background:#fff;font:inherit}textarea{min-height:140px;resize:vertical}.notice{padding:14px 16px;border-radius:10px;background:#eef6ff;color:#183b63;line-height:1.5;margin:20px 0}.success{background:#eaf8ef;color:#166534}.error{background:#fff0f0;color:#991b1b}.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px}.map{width:100%;height:390px;border:0;border-radius:14px}.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.gallery img{width:100%;height:230px;object-fit:cover;border-radius:14px;background:#ddd}.footer{background:var(--navy);color:#fff;padding:48px 0 25px}.footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:35px}.footer p,.footer li{color:#d7dfec;line-height:1.7}.footer ul{list-style:none;padding:0}.footer a{text-decoration:none}.footer-bottom{border-top:1px solid rgba(255,255,255,.15);margin-top:30px;padding-top:18px;color:#c6d0df;font-size:13px}.whatsapp{position:fixed;right:22px;bottom:22px;z-index:2000;width:58px;height:58px;border-radius:50%;background:#25D366;color:#fff;display:grid;place-items:center;text-decoration:none;font-size:29px;box-shadow:0 8px 25px rgba(0,0,0,.25)}.admin-wrap{min-height:100vh;background:#f2f4f8}.admin-nav{background:var(--navy);color:#fff;padding:18px 0}.table-wrap{overflow:auto;background:#fff;border-radius:12px;border:1px solid var(--border)}table{width:100%;border-collapse:collapse;min-width:900px}th,td{padding:13px 14px;text-align:left;border-bottom:1px solid var(--border);vertical-align:top}th{background:#f7f9fc;font-size:13px}.small{font-size:13px;color:var(--muted)}
@media(max-width:950px){.nav{display:none;position:absolute;left:0;right:0;top:82px;background:#fff;box-shadow:0 12px 25px rgba(0,0,0,.12);padding:10px;flex-direction:column;align-items:stretch}.nav.open{display:flex}.menu-btn{display:block}.grid-3{grid-template-columns:1fr 1fr}.footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:650px){.topbar .inner{padding:7px 0;align-items:flex-start;flex-direction:column}.brand img{width:190px}.header-inner{min-height:72px}.nav{top:72px}.page-hero{padding:50px 0}.page-hero h1{font-size:34px}.section{padding:45px 0}.grid-2,.grid-3,.contact-grid,.form-grid,.footer-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.gallery{grid-template-columns:1fr}.gallery img{height:220px}}

/* Dynamic gallery */
.dynamic-gallery{align-items:start}
.gallery-item{margin:0;background:#fff;border:1px solid var(--border);border-radius:14px;overflow:hidden;box-shadow:var(--shadow)}
.gallery-photo{display:block;width:100%;padding:0;border:0;background:#ddd;cursor:zoom-in}
.gallery-photo img{display:block;width:100%;height:260px;object-fit:cover;transition:transform .25s ease}
.gallery-photo:hover img{transform:scale(1.03)}
.gallery-item figcaption{padding:18px 20px}
.gallery-item figcaption h3{margin:0 0 7px;color:var(--navy);font-size:18px}
.gallery-item figcaption p{margin:0;color:var(--muted);line-height:1.6;font-size:14px}
.gallery-admin-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.gallery-admin-item{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff}
.gallery-admin-item>img{width:100%;height:190px;display:block;object-fit:cover;background:#eee}
.gallery-admin-body{padding:16px}
.gallery-admin-body h3{margin:0 0 8px;font-size:17px}
.gallery-admin-body p{color:var(--muted);font-size:13px;line-height:1.5}
.gallery-admin-meta{margin-top:10px}
.check-row{display:flex;align-items:center;gap:8px;margin-top:15px;font-size:13px;font-weight:700}
.check-row input{width:auto}
.gallery-lightbox{position:fixed;inset:0;z-index:5000;background:rgba(0,0,0,.88);display:none;align-items:center;justify-content:center;padding:30px}
.gallery-lightbox.open{display:flex}
.gallery-lightbox-content{max-width:min(1100px,94vw);max-height:92vh;text-align:center}
.gallery-lightbox-content img{display:block;max-width:100%;max-height:75vh;margin:auto;border-radius:10px;object-fit:contain}
.gallery-lightbox-caption{color:#fff;padding-top:14px}
.gallery-lightbox-caption h3{margin:0 0 5px;font-size:20px}
.gallery-lightbox-caption p{margin:0;color:#e5e7eb;line-height:1.5}
.gallery-close{position:absolute;top:18px;right:24px;width:44px;height:44px;border:0;border-radius:50%;background:#fff;color:#111;font-size:32px;line-height:1;cursor:pointer}
.gallery-open{overflow:hidden}
@media(max-width:950px){.gallery-admin-grid{grid-template-columns:1fr 1fr}}
@media(max-width:650px){.gallery-photo img{height:220px}.gallery-admin-grid{grid-template-columns:1fr}.gallery-lightbox{padding:18px}.gallery-lightbox-content img{max-height:68vh}.gallery-close{top:10px;right:10px}}
