/* =============================================================
   UNITAMA — Animated Blue/White Theme
   Shared CSS for animated, unique look across every page
   ============================================================= */

:root {
    --primary-blue: #0056b3;
    --secondary-blue: #0078d7;
    --accent-blue: #4fa3ff;
    --cyan-glow: #00c6ff;
    --light-blue: #e6f2ff;
    --dark-blue: #003a7a;
    --deep-blue: #001f4d;
    --white: #ffffff;
    --light-gray: #f4f8fc;
    --dark-gray: #1f2a44;
    --grad-hero: linear-gradient(135deg, #001f4d 0%, #0056b3 45%, #0078d7 100%);
    --grad-shine: linear-gradient(120deg, #4fa3ff, #00c6ff, #4fa3ff);
    --shadow-blue: 0 20px 45px -15px rgba(0, 86, 179, 0.45);
}

* { -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-gray);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--light-blue); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--secondary-blue), var(--primary-blue));
    border-radius: 10px;
    border: 2px solid var(--light-blue);
}
::-webkit-scrollbar-thumb:hover { background: var(--dark-blue); }

/* ----- Page loader ----- */
#unitama-loader {
    position: fixed; inset: 0; z-index: 99999;
    background: var(--grad-hero);
    display: flex; align-items: center; justify-content: center;
    transition: opacity .6s ease, visibility .6s ease;
}
#unitama-loader.hidden { opacity: 0; visibility: hidden; }
.loader-ring {
    width: 110px; height: 110px;
    border-radius: 50%;
    border: 4px solid rgba(255,255,255,0.15);
    border-top-color: #fff;
    animation: spin 1s linear infinite;
    display: flex; align-items: center; justify-content: center;
    position: relative;
}
.loader-ring::after {
    content: ""; position: absolute; inset: -14px; border-radius: 50%;
    border: 2px solid rgba(79,163,255,0.35);
    animation: spin 2.5s linear infinite reverse;
}
.loader-logo {
    width: 60px; height: 60px; object-fit: contain;
    animation: pulse 1.4s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.6));
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%,100%{ transform: scale(1); opacity: 1;} 50% { transform: scale(1.12); opacity: .75; } }

/* ----- Scroll progress bar ----- */
#scroll-progress {
    position: fixed; top: 0; left: 0; height: 3px; width: 0%;
    background: linear-gradient(90deg, var(--cyan-glow), var(--secondary-blue), var(--primary-blue));
    z-index: 10000; box-shadow: 0 0 12px var(--cyan-glow);
    transition: width .1s linear;
}

/* ----- Glass Navbar ----- */
.navbar {
    background-color: rgba(255,255,255,0.82) !important;
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    box-shadow: 0 4px 30px rgba(0, 86, 179, 0.08);
    padding: 15px 0;
    transition: padding .35s ease, background-color .35s ease, box-shadow .35s ease;
    border-bottom: 1px solid rgba(0,86,179,0.08);
}
.navbar.scrolled {
    padding: 8px 0;
    background-color: rgba(255,255,255,0.95) !important;
    box-shadow: 0 8px 30px rgba(0, 86, 179, 0.15);
}
/* Let the brand shrink instead of overflowing / pushing the toggler to a new row.
   The collapse menu still wraps to its own row below (Bootstrap flex-basis:100%). */
.navbar-brand {
    min-width: 0;
    overflow: hidden;
}
.navbar-toggler { flex: 0 0 auto; }
.navbar-brand img {
    height: 50px;
    flex: 0 0 auto;
    transition: transform .4s ease, filter .4s ease;
    filter: drop-shadow(0 2px 6px rgba(0,86,179,0.25));
}
.navbar-brand:hover img { transform: scale(1.05) rotate(-2deg); }
.navbar-brand-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #0056b3;
    line-height: 1.2;
    min-width: 0;
    /* clamp to 2 lines so a long name never overflows the bar */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.navbar .nav-link {
    color: var(--dark-gray);
    font-weight: 500;
    margin: 0 10px;
    position: relative;
    transition: color 0.3s;
}
.navbar .nav-link::after {
    content: ""; position: absolute; left: 50%; bottom: 2px;
    width: 0; height: 2px; background: var(--grad-shine);
    transition: width .35s ease, left .35s ease;
    border-radius: 2px;
}
.navbar .nav-link:hover { color: var(--primary-blue); }
.navbar .nav-link:hover::after,
.navbar .nav-link.active::after { width: 70%; left: 15%; }
.navbar .nav-link.active { color: var(--primary-blue); }

.dropdown-menu {
    border: none;
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0,86,179,0.18);
    padding: 10px;
    animation: dropIn .25s ease;
}
@keyframes dropIn { from{ opacity:0; transform: translateY(-8px);} to{ opacity:1; transform: none;} }
.dropdown-item {
    border-radius: 8px; padding: 10px 14px;
    transition: all .25s ease;
}
.dropdown-item:hover {
    background: var(--light-blue); color: var(--primary-blue);
    transform: translateX(4px);
}

/* ----- Hero ----- */
.hero {
    position: relative;
    background: var(--grad-hero);
    color: var(--white);
    padding: 140px 0 160px;
    overflow: hidden;
    isolation: isolate;
}
#hero-particles {
    position: absolute; inset: 0; z-index: 0;
}
.hero .container { position: relative; z-index: 3; }

/* Floating gradient orbs */
.hero::before,
.hero::after {
    content: ""; position: absolute; border-radius: 50%;
    filter: blur(80px); opacity: .55; z-index: 1; pointer-events: none;
}
.hero::before {
    width: 520px; height: 520px; left: -120px; top: -120px;
    background: radial-gradient(circle at 30% 30%, #4fa3ff, transparent 70%);
    animation: floatA 14s ease-in-out infinite;
}
.hero::after {
    width: 620px; height: 620px; right: -160px; bottom: -180px;
    background: radial-gradient(circle at 60% 60%, #00c6ff, transparent 70%);
    animation: floatB 18s ease-in-out infinite;
}
@keyframes floatA { 0%,100%{ transform: translate(0,0);} 50%{ transform: translate(40px,60px);} }
@keyframes floatB { 0%,100%{ transform: translate(0,0);} 50%{ transform: translate(-50px,-40px);} }

/* Animated SVG wave divider */
.hero-wave {
    position: absolute; left: 0; right: 0; bottom: -2px;
    width: 100%; height: 120px; z-index: 2;
    pointer-events: none;
}
.hero-wave svg { display: block; width: 100%; height: 100%; }
.hero-wave .wave-a { animation: waveMove 9s ease-in-out infinite; }
.hero-wave .wave-b { animation: waveMove 12s ease-in-out infinite reverse; opacity: .6; }
@keyframes waveMove {
    0%,100% { transform: translateX(0); }
    50%     { transform: translateX(-30px); }
}

.hero h1 {
    font-size: 3.4rem;
    font-weight: 800;
    margin-bottom: 22px;
    letter-spacing: -0.5px;
    text-shadow: 0 6px 30px rgba(0,0,0,0.25);
}
.hero h1 .gradient-text {
    background: linear-gradient(90deg, #ffffff 0%, #b9dcff 50%, #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shine 5s linear infinite;
    display: inline-block;
}
@keyframes shine { to { background-position: 200% center; } }

#typed-tagline {
    color: #9fd0ff;
    font-weight: 700;
}
.typed-cursor { color: #9fd0ff; }

.hero p {
    font-size: 1.2rem;
    opacity: 0.92;
    max-width: 760px;
    margin: 0 auto 34px;
}
.hero .hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ----- Buttons ----- */
.btn-primary, .btn-glow {
    background-color: var(--white);
    color: var(--primary-blue);
    border: none;
    padding: 13px 32px;
    font-weight: 600;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    transition: all 0.35s;
    isolation: isolate;
}
.btn-primary::before, .btn-glow::before {
    content: ""; position: absolute; inset: 0;
    background: var(--grad-shine); background-size: 200% 100%;
    opacity: 0; transition: opacity .35s ease;
    z-index: -1;
}
.btn-primary:hover, .btn-glow:hover {
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 198, 255, 0.45);
}
.btn-primary:hover::before, .btn-glow:hover::before { opacity: 1; animation: shine 2s linear infinite; }

.btn-outline-light-glow {
    border: 2px solid rgba(255,255,255,0.7);
    color: #fff;
    background: transparent;
    padding: 11px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all .3s ease;
}
.btn-outline-light-glow:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 0 24px rgba(255,255,255,0.35);
}

.btn-outline-primary {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    border-radius: 50px;
    padding: 10px 26px;
    font-weight: 600;
    transition: all .35s;
}
.btn-outline-primary:hover {
    background: var(--primary-blue);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: var(--shadow-blue);
}

/* ----- Sections ----- */
.section { padding: 90px 0; position: relative; }
.section.bg-light { background-color: var(--light-gray) !important; }
.section-title {
    font-weight: 800;
    margin-bottom: 55px;
    position: relative;
    color: var(--dark-gray);
    display: inline-block;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -14px; left: 0;
    width: 60px; height: 4px;
    background: var(--grad-shine);
    background-size: 200% 100%;
    border-radius: 4px;
    animation: shine 3s linear infinite;
}
.section-title.text-center { display: block; text-align: center; }
.section-title.text-center::after { left: 50%; transform: translateX(-50%); }

/* Decorative blobs for sections */
.section .blob {
    position: absolute;
    width: 360px; height: 360px; border-radius: 50%;
    filter: blur(100px); opacity: .15; pointer-events: none; z-index: 0;
}
.section .blob.b1 { background: var(--secondary-blue); top: -80px; right: -120px; }
.section .blob.b2 { background: var(--cyan-glow); bottom: -100px; left: -140px; }
.section > .container { position: relative; z-index: 1; }

/* ----- Cards ----- */
.card {
    border: none;
    border-radius: 18px;
    overflow: hidden;
    transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s ease;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 86, 179, 0.08);
    background: #fff;
    position: relative;
}
.card::before {
    content: ""; position: absolute; inset: 0; border-radius: 18px;
    padding: 2px;
    background: linear-gradient(135deg, transparent, rgba(0,198,255,0) 45%, rgba(0,198,255,.7) 60%, transparent 80%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    opacity: 0; transition: opacity .4s ease;
    pointer-events: none;
}
.card:hover { transform: translateY(-12px); box-shadow: var(--shadow-blue); }
.card:hover::before { opacity: 1; }

.card-img-top { height: 220px; object-fit: cover; transition: transform .8s ease; }
.card:hover .card-img-top { transform: scale(1.08); }
.card-body { padding: 26px; }
.card-title {
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 12px;
}

/* ----- Stats / counters ----- */
.stats-section {
    background: var(--grad-hero);
    color: #fff;
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}
.stats-section::before {
    content: ""; position: absolute; inset: 0;
    background:
      radial-gradient(circle at 20% 30%, rgba(79,163,255,.4), transparent 40%),
      radial-gradient(circle at 80% 70%, rgba(0,198,255,.35), transparent 45%);
    animation: floatA 14s ease-in-out infinite;
}
.stats-section .container { position: relative; z-index: 1; }
.stat-item { text-align: center; }
.stat-number {
    font-size: 3.4rem; font-weight: 800;
    background: linear-gradient(180deg, #fff, #9fd0ff);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    line-height: 1;
}
.stat-label {
    margin-top: 10px; font-weight: 500; letter-spacing: .5px;
    opacity: .9;
}

/* ----- Brands infinite marquee ----- */
.brand-marquee {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.brand-track {
    display: flex;
    gap: 60px;
    width: max-content;
    animation: marquee 28s linear infinite;
}
.brand-marquee:hover .brand-track { animation-play-state: paused; }
@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.brand-item {
    flex: 0 0 auto;
    height: 100px;
    display: flex; align-items: center; justify-content: center;
    padding: 15px 25px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0,86,179,0.08);
    filter: grayscale(100%);
    opacity: .75;
    transition: all .4s ease;
}
.brand-item img { max-height: 62px; max-width: 160px; }
.brand-item:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0,86,179,0.22);
}

/* ----- Why Choose Us ----- */
.feature-card {
    background: #fff;
    border-radius: 20px;
    padding: 36px 28px;
    text-align: center;
    transition: all .5s cubic-bezier(.2,.8,.2,1);
    box-shadow: 0 10px 30px rgba(0,86,179,0.07);
    position: relative; overflow: hidden;
    height: 100%;
}
.feature-card::after {
    content: ""; position: absolute; inset: auto 0 0 0; height: 4px;
    background: var(--grad-shine); background-size: 200% 100%;
    transform: scaleX(0); transform-origin: left;
    transition: transform .5s ease;
}
.feature-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-blue); }
.feature-card:hover::after { transform: scaleX(1); animation: shine 3s linear infinite; }
.feature-icon {
    width: 90px; height: 90px; margin: 0 auto 22px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--light-blue), #cfe4ff);
    color: var(--primary-blue);
    font-size: 2.2rem;
    transition: transform .6s ease, background .4s ease, color .4s ease;
    position: relative;
}
.feature-card:hover .feature-icon {
    background: var(--grad-hero);
    color: #fff;
    transform: rotateY(180deg) scale(1.05);
}

/* ----- Certificate ----- */
.certificate-display {
    background: linear-gradient(135deg, var(--light-blue), #ffffff);
    border-radius: 20px;
    padding: 26px;
    position: relative;
    overflow: hidden;
}
.certificate-display::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
    transform: translateX(-100%);
    animation: shimmer 4s ease-in-out infinite;
}
@keyframes shimmer { 50%,100% { transform: translateX(100%); } }
.certificate-display img {
    border: 6px solid #fff;
    border-radius: 12px;
    box-shadow: 0 20px 45px rgba(0,86,179,.18);
    transition: transform .6s ease;
    position: relative; z-index: 1;
}
.certificate-display:hover img { transform: scale(1.03) rotate(-0.5deg); }

/* ----- Contact ----- */
.contact-info {
    background: var(--grad-hero);
    color: #fff;
    border-radius: 20px;
    padding: 38px;
    height: 100%;
    position: relative; overflow: hidden;
}
.contact-info::before {
    content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,.22), transparent 70%);
    top: -80px; right: -80px;
    animation: floatA 12s ease-in-out infinite;
}
.contact-info h4, .contact-info h5 { color: #fff; }
.contact-info i {
    color: #9fd0ff;
    font-size: 1.3rem;
    margin-right: 16px;
    margin-top: 4px;
}
.contact-info p { opacity: .92; margin-bottom: 0; }

.contact-form {
    background: #fff;
    border-radius: 20px;
    padding: 38px;
    box-shadow: 0 15px 40px rgba(0,86,179,0.1);
}
.contact-form .form-control {
    border: 2px solid #e6eef8;
    border-radius: 12px;
    padding: 14px 18px;
    transition: all .3s;
}
.contact-form .form-control:focus {
    border-color: var(--secondary-blue);
    box-shadow: 0 0 0 4px rgba(0,120,215,0.12);
}

/* ----- Footer ----- */
.footer {
    background: linear-gradient(180deg, var(--deep-blue), #000d22);
    color: var(--white);
    padding: 70px 0 22px;
    position: relative; overflow: hidden;
}
.footer::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--grad-shine); background-size: 200% 100%;
    animation: shine 4s linear infinite;
}
.footer-title { font-weight: 700; margin-bottom: 22px; color: #fff; }
.footer-links a {
    color: #fff; opacity: .75; display: block; margin-bottom: 10px;
    text-decoration: none; transition: all .3s;
}
.footer-links a:hover { opacity: 1; transform: translateX(6px); color: #9fd0ff; }
.footer-social a {
    color: #fff; font-size: 1.3rem;
    width: 42px; height: 42px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.08);
    margin-right: 10px; transition: all .35s;
}
.footer-social a:hover {
    background: var(--grad-shine); background-size: 200% 100%;
    transform: translateY(-5px) scale(1.08);
    animation: shine 3s linear infinite;
}
.footer-contact p {
    color: #fff; opacity: .8;
    margin-bottom: 12px;
    display: flex; align-items: flex-start;
    line-height: 1.5;
}
.footer-contact i {
    color: #9fd0ff;
    margin-right: 12px;
    margin-top: 5px;
    min-width: 16px;
    text-align: center;
}
.footer-contact a {
    color: #fff; opacity: .85;
    text-decoration: none;
    transition: opacity .3s ease, color .3s ease;
}
.footer-contact a:hover { opacity: 1; color: #9fd0ff; }
.copyright {
    margin-top: 40px; padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.1);
    opacity: .7; font-size: .9rem;
}

/* ----- Back to top ----- */
#back-to-top {
    position: fixed; right: 24px; bottom: 24px;
    width: 50px; height: 50px; border-radius: 50%;
    background: var(--grad-shine); background-size: 200% 100%;
    color: #fff; border: none;
    box-shadow: 0 10px 25px rgba(0,86,179,0.4);
    opacity: 0; visibility: hidden;
    transition: all .35s ease;
    z-index: 9990; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
}
#back-to-top.visible { opacity: 1; visibility: visible; }
#back-to-top:hover { transform: translateY(-5px); animation: shine 2s linear infinite; }

/* ----- Page headers (interior pages) ----- */
.page-header {
    background: var(--grad-hero);
    color: #fff;
    padding: 110px 0 80px;
    position: relative; overflow: hidden;
    text-align: center;
}
.page-header::before,
.page-header::after {
    content: ""; position: absolute; border-radius: 50%;
    filter: blur(90px); opacity: .55; pointer-events: none;
}
.page-header::before {
    width: 400px; height: 400px; left: -100px; top: -100px;
    background: radial-gradient(circle, #4fa3ff, transparent 70%);
    animation: floatA 14s ease-in-out infinite;
}
.page-header::after {
    width: 500px; height: 500px; right: -140px; bottom: -140px;
    background: radial-gradient(circle, #00c6ff, transparent 70%);
    animation: floatB 18s ease-in-out infinite;
}
.page-header h1 {
    font-size: 2.8rem; font-weight: 800;
    text-shadow: 0 4px 20px rgba(0,0,0,0.25);
    position: relative; z-index: 2;
}
.page-header p { opacity: .9; font-size: 1.1rem; position: relative; z-index: 2; }

/* ----- Utility reveal ----- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ----- Certificate cards (shimmer + zoomable) ----- */
.certificate-card {
    background: linear-gradient(135deg, #ffffff, var(--light-blue)) !important;
    border-radius: 18px !important;
    padding: 26px !important;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 10px 28px rgba(0, 86, 179, 0.08) !important;
    position: relative;
    overflow: hidden;
    transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s ease;
}
.certificate-card::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(120deg,
        transparent 30%,
        rgba(255,255,255,0.55) 50%,
        transparent 70%);
    transform: translateX(-100%);
    animation: shimmer 4.5s ease-in-out infinite;
    pointer-events: none;
    z-index: 2;
}
.certificate-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: var(--shadow-blue) !important;
}
.certificate-card img {
    max-width: 100%;
    height: auto;
    margin-bottom: 18px;
    border: 4px solid #fff;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 86, 179, 0.15);
    cursor: zoom-in;
    transition: transform .6s ease;
    position: relative;
    z-index: 1;
}
.certificate-card:hover img { transform: scale(1.03); }
.certificate-card h5 {
    color: var(--primary-blue) !important;
    font-weight: 700 !important;
    margin-bottom: 8px;
    position: relative; z-index: 3;
}
.certificate-card p {
    color: var(--dark-gray) !important;
    font-size: .9rem;
    margin-bottom: 0;
    position: relative; z-index: 3;
}

/* Partner card (about / distributorship) */
.partner-card {
    background: #fff;
    border-radius: 20px;
    padding: 32px 28px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,86,179,0.08);
    transition: all .5s cubic-bezier(.2,.8,.2,1);
    height: 100%;
    position: relative;
    overflow: hidden;
}
.partner-card::after {
    content: ""; position: absolute; inset: auto 0 0 0; height: 4px;
    background: var(--grad-shine); background-size: 200% 100%;
    transform: scaleX(0); transform-origin: left;
    transition: transform .5s ease;
}
.partner-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-blue); }
.partner-card:hover::after { transform: scaleX(1); animation: shine 3s linear infinite; }
.partner-card img {
    max-height: 70px;
    max-width: 180px;
    margin-bottom: 18px;
    transition: transform .4s ease;
}
.partner-card:hover img { transform: scale(1.08); }
.partner-card h4 {
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 12px;
}

/* ----- Lightbox (click to enlarge) ----- */
#unitama-lightbox {
    position: fixed; inset: 0;
    background: rgba(0, 15, 40, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 100000;
    display: none;
    align-items: center; justify-content: center;
    opacity: 0;
    transition: opacity .35s ease;
    cursor: zoom-out;
    overscroll-behavior: contain;
}
#unitama-lightbox.open { display: flex; opacity: 1; }
#unitama-lightbox .lb-stage {
    position: relative;
    max-width: 92vw;
    max-height: 88vh;
    display: flex; align-items: center; justify-content: center;
}
#unitama-lightbox img {
    max-width: 92vw;
    max-height: 88vh;
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255,255,255,.08);
    transform: scale(.92);
    transition: transform .4s cubic-bezier(.2,.8,.2,1);
    cursor: grab;
    user-select: none;
    -webkit-user-drag: none;
}
#unitama-lightbox.open img { transform: scale(1); }
#unitama-lightbox.zoomed img { cursor: grabbing; }

#unitama-lightbox .lb-btn {
    position: absolute;
    width: 48px; height: 48px; border-radius: 50%;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    font-size: 1.1rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: background .25s ease, transform .25s ease;
    backdrop-filter: blur(6px);
    z-index: 2;
}
#unitama-lightbox .lb-btn:hover { background: rgba(255,255,255,0.25); transform: scale(1.08); }
#unitama-lightbox .lb-close { top: 24px; right: 24px; }
#unitama-lightbox .lb-prev  { left: 24px; top: 50%; transform: translateY(-50%); }
#unitama-lightbox .lb-next  { right: 24px; top: 50%; transform: translateY(-50%); }
#unitama-lightbox .lb-zoom-in  { bottom: 24px; right: 82px; }
#unitama-lightbox .lb-zoom-out { bottom: 24px; right: 24px; }
#unitama-lightbox .lb-caption {
    position: absolute;
    bottom: 24px; left: 24px;
    color: #fff; opacity: .85;
    font-size: .95rem;
    max-width: calc(100% - 200px);
    text-shadow: 0 2px 10px rgba(0,0,0,.5);
}
@media (max-width: 575px) {
    #unitama-lightbox .lb-prev { left: 10px; }
    #unitama-lightbox .lb-next { right: 10px; }
    #unitama-lightbox .lb-close { top: 12px; right: 12px; }
    #unitama-lightbox .lb-zoom-in  { bottom: 12px; right: 70px; }
    #unitama-lightbox .lb-zoom-out { bottom: 12px; right: 12px; }
    #unitama-lightbox .lb-caption { bottom: 72px; left: 12px; font-size: .85rem; max-width: calc(100% - 24px); }
}

/* ----- Responsive ----- */
/* Tablets / collapsed-navbar range */
@media (max-width: 991px) {
    .hero { padding: 110px 0 140px; }
    .hero h1 { font-size: 2.4rem; }
    .section { padding: 60px 0; }
    .stat-number { font-size: 2.4rem; }
    .page-header { padding: 90px 0 60px; }
    .page-header h1 { font-size: 2.2rem; }
    .contact-info, .contact-form { padding: 30px; }
    /* expanded mobile menu: full-width links with a subtle divider */
    .navbar-collapse {
        margin-top: 12px;
        padding-top: 10px;
        border-top: 1px solid rgba(0,86,179,0.1);
    }
    .navbar .nav-link { margin: 4px 0; padding: 8px 4px; }
    .navbar .nav-link::after { display: none; }
    .dropdown-menu { box-shadow: none; padding: 0 0 0 10px; }
}
/* Large phones */
@media (max-width: 767px) {
    .hero { padding: 90px 0 120px; }
    .hero h1 { font-size: 2.1rem; }
    .hero .hero-ctas { gap: 10px; }
    .hero .hero-ctas .btn { width: 100%; max-width: 320px; }
    .hero-wave { height: 70px; }
    .section { padding: 50px 0; }
    .card-img-top { height: 190px; }
    .footer { padding: 50px 0 20px; text-align: center; }
    .footer-links a:hover { transform: none; }
    .footer-social { margin-top: 6px; }
    #back-to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }
}
/* Small phones (e.g. 360–414px wide) */
@media (max-width: 575px) {
    .navbar { padding: 10px 0; }
    .navbar-brand img { height: 40px; }
    .navbar-brand-name { font-size: 0.78rem; }
    .hero { padding: 80px 0 100px; }
    .hero h1 { font-size: 1.8rem; }
    .hero p { font-size: 1rem; }
    .section { padding: 44px 0; }
    .section-title { margin-bottom: 36px; font-size: 1.5rem; }
    .page-header h1 { font-size: 1.8rem; }
    .page-header p { font-size: 1rem; }
    .stat-number { font-size: 2.2rem; }
    .feature-card, .partner-card { padding: 26px 20px; }
    .brand-item { height: 84px; padding: 10px 18px; }
    .brand-item img { max-height: 50px; max-width: 130px; }
    .btn-primary, .btn-glow, .btn-outline-light-glow, .btn-outline-primary { padding: 11px 24px; }
    /* prevent any media from forcing horizontal scroll */
    img, svg, video { max-width: 100%; }
}
