/* Madhu Tourism Certificate Showcase v1.0.0 */
.mtcv-wrap{box-sizing:border-box;width:100%;padding:28px 14px 50px;background:var(--mtcv-bg);border-radius:24px;overflow:hidden}
.mtcv-wrap *{box-sizing:border-box}
.mtcv-hero{text-align:center;padding:18px 10px 34px}
.mtcv-symbol{font-size:42px;line-height:1;margin-bottom:9px;filter:drop-shadow(0 8px 12px rgba(0,0,0,.12))}
.mtcv-hero h2{margin:0;font-size:clamp(27px,4vw,46px);line-height:1.12;font-weight:800;letter-spacing:-.7px;background:linear-gradient(90deg,var(--mtcv-primary),var(--mtcv-secondary));-webkit-background-clip:text;background-clip:text;color:transparent}
.mtcv-hero p{margin:10px auto 0;max-width:720px;color:#5b6472;font-size:15px}
.mtcv-line{height:4px;width:90px;margin:17px auto 0;border-radius:20px;background:linear-gradient(90deg,var(--mtcv-primary),var(--mtcv-secondary))}
.mtcv-gallery{max-width:1180px;margin:auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.mtcv-card{background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:20px;overflow:hidden;box-shadow:0 12px 32px rgba(15,23,42,.08);transition:transform .28s ease,box-shadow .28s ease;cursor:pointer;outline:none}
.mtcv-card:hover,.mtcv-card:focus{transform:translateY(-7px);box-shadow:0 18px 42px rgba(15,23,42,.15)}
.mtcv-image-box{position:relative;background:linear-gradient(135deg,#f8fafc,#eef2ff);height:250px;display:flex;align-items:center;justify-content:center;padding:14px;overflow:hidden}
.mtcv-image-box img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;user-select:none}
.mtcv-watermark{position:absolute;bottom:9px;right:9px;background:rgba(255,255,255,.78);backdrop-filter:blur(5px);padding:4px 8px;border-radius:5px;font-size:10px;color:#475569}
.mtcv-info{padding:16px 17px 18px}
.mtcv-title{font-weight:800;font-size:18px;color:#111827}
.mtcv-category{display:inline-block;margin-top:7px;padding:4px 9px;border-radius:99px;background:linear-gradient(90deg,var(--mtcv-primary),var(--mtcv-secondary));color:#fff;font-size:11px;font-weight:700}
.mtcv-info p{font-size:13px;color:#64748b;line-height:1.5;margin:10px 0}
.mtcv-view{border:0;border-radius:10px;padding:10px 13px;color:#fff;background:linear-gradient(90deg,var(--mtcv-primary),var(--mtcv-secondary));font-weight:700;cursor:pointer;box-shadow:0 7px 16px rgba(124,58,237,.18)}
.mtcv-view span{margin-left:4px}
.mtcv-animated .mtcv-card{animation:mtcvIn .65s both}
.mtcv-animated .mtcv-card:nth-child(2){animation-delay:.07s}.mtcv-animated .mtcv-card:nth-child(3){animation-delay:.14s}.mtcv-animated .mtcv-card:nth-child(4){animation-delay:.21s}.mtcv-animated .mtcv-card:nth-child(5){animation-delay:.28s}.mtcv-animated .mtcv-card:nth-child(6){animation-delay:.35s}
@keyframes mtcvIn{from{opacity:0;transform:translateY(28px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
.mtcv-empty{text-align:center;background:#fff;border-radius:18px;padding:40px;color:#64748b;grid-column:1/-1}
.mtcv-modal{display:none;position:fixed;inset:0;z-index:999999}
.mtcv-modal.is-open{display:block}
.mtcv-backdrop{position:absolute;inset:0;background:rgba(2,6,23,.88);backdrop-filter:blur(7px)}
.mtcv-modal-panel{position:relative;width:100%;height:100%;display:flex;align-items:center;justify-content:center;padding:60px 70px}
.mtcv-preview-wrap{max-width:94vw;max-height:90vh;text-align:center;position:relative}
.mtcv-preview{display:block;max-width:94vw;max-height:82vh;width:auto;height:auto;object-fit:contain;border-radius:8px;box-shadow:0 20px 70px rgba(0,0,0,.4);user-select:none}
.mtcv-preview-title{color:#fff;font-size:15px;font-weight:700;margin-top:12px}
.mtcv-close,.mtcv-prev,.mtcv-next{position:absolute;border:0;color:#fff;background:rgba(255,255,255,.12);backdrop-filter:blur(6px);width:44px;height:44px;border-radius:50%;font-size:30px;line-height:40px;cursor:pointer;z-index:2}
.mtcv-close{top:18px;right:18px}.mtcv-prev{left:18px;top:50%;transform:translateY(-50%)}.mtcv-next{right:18px;top:50%;transform:translateY(-50%)}
@media(max-width:900px){.mtcv-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.mtcv-image-box{height:230px}}
@media(max-width:600px){.mtcv-wrap{padding:18px 9px 35px;border-radius:16px}.mtcv-gallery{grid-template-columns:1fr;gap:15px}.mtcv-image-box{height:260px}.mtcv-hero h2{font-size:29px}.mtcv-modal-panel{padding:50px 42px}.mtcv-preview{max-width:92vw;max-height:78vh}.mtcv-prev{left:8px}.mtcv-next{right:8px}.mtcv-close{top:8px;right:8px}}
@media(prefers-reduced-motion:reduce){.mtcv-card{animation:none!important;transition:none!important}}
