/* ==========================================================
   About Unistal – between the hero boxes and the counter strip
   ========================================================== */
.ab-section { position: relative; overflow: hidden; isolation: isolate; padding: 64px 0 20px; background: #ffffff; font-family: "Manrope", sans-serif; }
.ab-section *, .ab-section *::before, .ab-section *::after { box-sizing: border-box; }
.ab-section::before { content: ""; position: absolute; z-index: -1; right: -140px; top: 20px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 109, 255, .10), transparent 70%); pointer-events: none; }
.ab-wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(36px, 5vw, 84px); align-items: center; }

/* image */
.ab-visual { position: relative; padding: 0 26px 26px 26px; }
.ab-visual__dots {
    position: absolute; left: 0; top: -20px; width: 42%; height: 46%; pointer-events: none;
    background: radial-gradient(rgba(0, 109, 255, .4) 2px, transparent 2.6px) 0 0 / 16px 16px;
}
.ab-visual__shape { position: absolute; right: 0; bottom: 0; width: 82%; height: 82%; border-radius: 30px; background: linear-gradient(135deg, rgba(0, 109, 255, .10), rgba(0, 109, 255, .22)); }
.ab-visual__corner { position: absolute; right: 8px; top: -14px; z-index: 2; width: 96px; height: 96px; border-top: 5px solid #006dff; border-right: 5px solid #006dff; border-radius: 0 28px 0 0; pointer-events: none; }
.ab-visual__img {
    position: relative; z-index: 1; display: block; overflow: hidden; border-radius: 26px; background: #eef4ff;
    border: 7px solid #ffffff; box-shadow: 0 0 0 1px #dbe7ff, 0 34px 60px -30px rgba(0, 60, 170, .6);
}
.ab-visual__img::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(255, 255, 255, .12), transparent 35%, rgba(0, 109, 255, .10) 100%); }
.ab-visual__img img { display: block; width: 100%; height: auto; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.ab-visual:hover .ab-visual__img img { transform: scale(1.05); }

/* content */
.ab-content { position: relative; padding-left: 4px; }
.ab-section .ab-title { margin: 0; font-size: clamp(28px, 3vw, 40px) !important; line-height: 1.15 !important; font-weight: 700 !important; letter-spacing: -.02em; color: #111111 !important; }
.ab-title span { color: #006dff; }
.ab-divider { display: flex; align-items: center; gap: 8px; margin: 18px 0 20px; }
.ab-divider span { width: 76px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, #006dff, #4fd1ff); }
.ab-divider i { width: 10px; height: 10px; border-radius: 50%; background: #006dff; box-shadow: 0 0 0 4px rgba(0, 109, 255, .16); }
.ab-section .ab-text { position: relative; margin: 0; padding-left: 20px; font-size: 17px; line-height: 1.85; color: #3a4a68; }
.ab-section .ab-text::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 3px; border-radius: 3px; background: linear-gradient(180deg, #006dff, rgba(0, 109, 255, .12)); }

/* button */
.ab-btn {
    position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 14px; margin-top: 28px; padding: 7px 7px 7px 26px; border-radius: 999px;
    font-size: 15.5px; font-weight: 800; letter-spacing: .01em; color: #fff !important; text-decoration: none !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, .28) 0%, rgba(255, 255, 255, 0) 52%), #006dff;
    border: 1px solid rgba(255, 255, 255, .5);
    box-shadow: 0 16px 30px -14px rgba(0, 109, 255, .95), 0 0 0 5px rgba(0, 109, 255, .10), inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -3px 8px rgba(0, 30, 130, .25);
    transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease;
}
.ab-btn i {
    display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; font-size: 13px; color: #006dff; background: #fff;
    box-shadow: 0 6px 12px -6px rgba(0, 20, 90, .6); transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}
.ab-btn:hover { transform: translateY(-3px); box-shadow: 0 22px 36px -14px rgba(0, 109, 255, 1), 0 0 0 7px rgba(0, 109, 255, .14), inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -3px 8px rgba(0, 30, 130, .25); }
.ab-btn:hover i { transform: translateX(3px) rotate(-45deg); }
.ab-btn:active { transform: translateY(-1px); }
.ab-btn:focus-visible { outline: 3px solid #4fd1ff; outline-offset: 3px; }

@media (max-width: 991px) {
    .ab-section { padding-top: 44px; }
    .ab-wrap { grid-template-columns: 1fr; gap: 30px; }
    .ab-visual { padding: 0 16px 18px 16px; }
}
@media (max-width: 575px) {
    .ab-section { padding-top: 32px; }
    .ab-visual { padding: 0 10px 14px 10px; }
    .ab-visual__corner { width: 64px; height: 64px; }
    .ab-section .ab-text { font-size: 15.5px; line-height: 1.75; padding-left: 16px; }
    .ab-btn { font-size: 14.5px; padding-left: 22px; }
}


/* ----------------------------------------------------------
   Improvements: balanced spacing, readable text, badge + highlight chips
   ---------------------------------------------------------- */
.ab-section { padding: clamp(56px, 7vw, 88px) 0 clamp(40px, 5vw, 64px) !important; background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%); }
.ab-section::after { content: ""; position: absolute; z-index: -1; left: -120px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(79, 209, 255, .14), transparent 70%); pointer-events: none; }
.ab-section + .home-counter1 { padding-top: 0 !important; }

/* photo: fixed landscape frame so the section never gets too tall */
.ab-visual__img { aspect-ratio: 16 / 10; }
.ab-visual__img img { height: 100% !important; object-fit: cover; object-position: center 40%; }

/* "since" badge on the photo */
.ab-badge {
    position: absolute; z-index: 3; left: 0; bottom: 4px; display: flex; align-items: center; gap: 12px;
    padding: 12px 18px 12px 12px; border-radius: 18px; background: #ffffff;
    box-shadow: 0 20px 40px -18px rgba(0, 50, 150, .45), 0 0 0 1px #e3edff;
    animation: abFloat 4.5s ease-in-out infinite;
}
.ab-badge__ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: #fff; font-size: 20px; background: linear-gradient(135deg, #006dff, #4fa3ff); box-shadow: 0 10px 18px -8px rgba(0, 109, 255, .8); }
.ab-badge b { display: block; font-size: 22px; font-weight: 800; line-height: 1; color: #0b1f4f; }
.ab-badge small { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 600; color: #5a6a8a; }
@keyframes abFloat { 50% { transform: translateY(-6px); } }

/* small kicker above the title */
.ab-kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 6px 14px; border-radius: 999px; background: #eaf2ff; color: #006dff; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.ab-kicker i { font-size: 12px; }

/* text: beats the site-wide body-text rule */
html body .ab-section .ab-text { font-size: 17px !important; line-height: 1.85 !important; color: #3a4a68 !important; }

/* highlight chips (facts from the paragraph) */
.ab-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; }
.ab-points li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #ffffff; border: 1px solid #e3edff; box-shadow: 0 12px 24px -20px rgba(0, 60, 170, .5); transition: transform .3s ease, border-color .3s ease; }
.ab-points li:hover { transform: translateY(-3px); border-color: #b9d4ff; }
.ab-points li > i { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #eaf2ff; color: #006dff; font-size: 14px; }
html body .ab-section .ab-points li span { font-size: 14px !important; line-height: 1.3 !important; font-weight: 700 !important; color: #0b1f4f; }

@media (max-width: 1199px) { .ab-points { grid-template-columns: 1fr 1fr; } }
@media (max-width: 991px) { .ab-badge { left: 10px; } }
@media (max-width: 575px) {
    html body .ab-section .ab-text { font-size: 15.5px !important; line-height: 1.75 !important; }
    .ab-points { grid-template-columns: 1fr; }
    .ab-badge { padding: 10px 14px 10px 10px; } .ab-badge__ic { width: 40px; height: 40px; font-size: 17px; } .ab-badge b { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) { .ab-badge { animation: none; } }

/* ----------------------------------------------------------
   Photo animations: slow zoom, light sweep, drifting dots, glowing corner, floating back plate
   ---------------------------------------------------------- */
.ab-visual__img img { animation: abZoom 14s ease-in-out infinite alternate; }
@keyframes abZoom { from { transform: scale(1); } to { transform: scale(1.08); } }
.ab-visual:hover .ab-visual__img img { animation-play-state: paused; }
.ab-visual__img::before {
    content: ""; position: absolute; z-index: 2; top: 0; bottom: 0; left: -60%; width: 40%; pointer-events: none;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
    transform: skewX(-18deg); animation: abSweep 6s ease-in-out infinite;
}
@keyframes abSweep { 0%, 55% { left: -60%; } 85%, 100% { left: 130%; } }
.ab-visual__dots { animation: abDots 9s linear infinite; }
@keyframes abDots { to { background-position: 32px 32px; } }
.ab-visual__corner { animation: abCorner 3.2s ease-in-out infinite; }
@keyframes abCorner { 0%, 100% { opacity: 1; transform: translate(0, 0); } 50% { opacity: .55; transform: translate(4px, -4px); } }
.ab-visual__shape { animation: abShape 6s ease-in-out infinite; }
@keyframes abShape { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-8px, 6px); } }
@media (prefers-reduced-motion: reduce) {
    .ab-visual__img img, .ab-visual__img::before, .ab-visual__dots, .ab-visual__corner, .ab-visual__shape { animation: none !important; }
}

/* ==========================================================
   Photo v2: clean framed photo with an animated gradient border, soft glow,
   slow zoom, light sweep and two slowly orbiting accents (old plate/corner/dots removed)
   ========================================================== */
@property --ab-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.ab-visual { padding: 18px !important; }
.ab-visual__shape, .ab-visual__corner, .ab-visual__dots { display: none !important; }
.ab-visual::before {               /* soft blue glow behind */
    content: ""; position: absolute; inset: 8% 6%; z-index: 0; border-radius: 40px; pointer-events: none;
    background: radial-gradient(closest-side, rgba(0, 109, 255, .28), transparent); filter: blur(22px);
    animation: abGlow 5s ease-in-out infinite;
}
@keyframes abGlow { 50% { opacity: .55; transform: scale(.96); } }
.ab-visual__img {
    border: 0 !important; padding: 5px; border-radius: 28px !important;
    background: conic-gradient(from var(--ab-a), #006dff, #4fd1ff, #ffffff 35%, #006dff 55%, #9cc6ff 75%, #006dff) !important;
    box-shadow: 0 34px 60px -30px rgba(0, 60, 170, .6) !important;
    animation: abBorder 6s linear infinite;
}
@keyframes abBorder { to { --ab-a: 360deg; } }
.ab-visual__img img { border-radius: 23px; }
.ab-visual__img::after { inset: 5px !important; border-radius: 23px; }
.ab-visual__img::before { top: 5px !important; bottom: 5px !important; border-radius: 23px; }
/* orbiting accents */
.ab-visual::after {
    content: ""; position: absolute; z-index: 3; width: 18px; height: 18px; border-radius: 50%; pointer-events: none;
    background: #006dff; box-shadow: 0 0 0 6px rgba(0, 109, 255, .18), 0 0 18px rgba(0, 109, 255, .7);
    offset-path: inset(6px round 30px); animation: abOrbit 9s linear infinite;
}
@keyframes abOrbit { from { offset-distance: 0%; } to { offset-distance: 100%; } }
@supports not (offset-path: inset(0)) { .ab-visual::after { display: none; } }
@media (prefers-reduced-motion: reduce) { .ab-visual::before, .ab-visual::after, .ab-visual__img { animation: none !important; } }
/* keep the gradient border visible: pan the photo instead of scaling it */
.ab-visual__img img { animation: abPan 16s ease-in-out infinite alternate !important; transform: none !important; }
.ab-visual:hover .ab-visual__img img { transform: none !important; }
@keyframes abPan { from { object-position: 30% 40%; } to { object-position: 70% 40%; } }
@media (prefers-reduced-motion: reduce) { .ab-visual__img img { animation: none !important; } }

/* ==========================================================
   Photo v3: organic morphing blob photo with a layered blue blob behind,
   a slowly rotating dashed outline and two floating dots.
   (replaces v2 border / orbit; earlier plate / corner / dots stay hidden)
   ========================================================== */
@media (min-width: 992px) { .ab-wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; } }
.ab-visual { padding: 34px !important; isolation: isolate; }
.ab-visual::after { display: none !important; }
/* blue blob behind */
.ab-visual::before {
    inset: 10px 0 0 26px !important; filter: none !important; opacity: 1 !important; transform: none;
    background: linear-gradient(135deg, #006dff 0%, #4fa3ff 60%, #8fd3ff 100%) !important;
    border-radius: 58% 42% 46% 54% / 48% 56% 44% 52% !important;
    animation: abBlobB 12s ease-in-out infinite !important; z-index: -2 !important;
}
/* dashed outline */
.ab-visual__shape {
    display: block !important; position: absolute; inset: 0 !important; width: auto !important; height: auto !important; z-index: -1;
    background: none !important; border: 2px dashed rgba(0, 109, 255, .35) !important;
    border-radius: 46% 54% 52% 48% / 52% 46% 54% 48% !important;
    animation: abSpin 40s linear infinite !important;
}
/* photo */
.ab-visual__img {
    padding: 0 !important; background: #eef4ff !important; aspect-ratio: 5 / 4 !important;
    border: 8px solid #ffffff !important; box-shadow: 0 30px 60px -28px rgba(0, 50, 150, .55) !important;
    border-radius: 44% 56% 50% 50% / 52% 44% 56% 48% !important;
    animation: abBlobA 12s ease-in-out infinite !important;
}
.ab-visual__img img { border-radius: 0 !important; object-position: 50% 45% !important; animation: none !important; transform: scale(1.02) !important; transition: transform .8s ease !important; }
.ab-visual:hover .ab-visual__img img { transform: scale(1.08) !important; }
.ab-visual__img::after { inset: 0 !important; border-radius: 0 !important; background: linear-gradient(200deg, rgba(255, 255, 255, .15), transparent 40%, rgba(0, 109, 255, .14)) !important; }
.ab-visual__img::before { top: 0 !important; bottom: 0 !important; border-radius: 0 !important; }
/* floating dots (re-use the dots span) */
.ab-visual__dots {
    display: block !important; position: absolute; left: auto !important; right: 6%; top: 6% !important; width: 22px !important; height: 22px !important;
    border-radius: 50%; background: #ffb400 !important; box-shadow: 0 0 0 7px rgba(255, 180, 0, .18); z-index: 2;
    animation: abBob 4s ease-in-out infinite !important;
}
.ab-visual__corner {
    display: block !important; position: absolute; left: 4% !important; right: auto !important; bottom: 10% !important; top: auto !important;
    width: 14px !important; height: 14px !important; border: 0 !important; border-radius: 50% !important; background: #006dff !important;
    box-shadow: 0 0 0 6px rgba(0, 109, 255, .18); z-index: 2; animation: abBob 5s ease-in-out infinite reverse !important;
}
@keyframes abBlobA {
    0%, 100% { border-radius: 44% 56% 50% 50% / 52% 44% 56% 48%; }
    33% { border-radius: 56% 44% 42% 58% / 46% 56% 44% 54%; }
    66% { border-radius: 48% 52% 58% 42% / 58% 48% 52% 42%; }
}
@keyframes abBlobB {
    0%, 100% { border-radius: 58% 42% 46% 54% / 48% 56% 44% 52%; transform: rotate(0deg); }
    50% { border-radius: 42% 58% 56% 44% / 56% 42% 58% 44%; transform: rotate(8deg); }
}
@keyframes abSpin { to { transform: rotate(360deg); } }
@keyframes abBob { 50% { transform: translateY(-10px); } }
@media (max-width: 991px) { .ab-visual { padding: 22px !important; max-width: 560px; margin: 0 auto; } }
@media (prefers-reduced-motion: reduce) { .ab-visual::before, .ab-visual__shape, .ab-visual__img, .ab-visual__dots, .ab-visual__corner { animation: none !important; } }
@media (max-width: 991px) { .ab-wrap { grid-template-columns: 1fr !important; } .ab-visual { width: 100%; } }

/* ==========================================================
   Photo v4 (final): clean, professional frame
   – rounded landscape photo (whole building visible), white rim + soft shadow
   – offset blue block behind (bottom-right) and a light dot grid (top-left)
   – gentle motion only: block drifts slightly, light sweep, zoom on hover
   ========================================================== */
@media (min-width: 992px) { .ab-wrap { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) !important; } }
.ab-visual { padding: 26px 30px 30px 26px !important; }
.ab-visual::after { display: none !important; }
.ab-visual__corner { display: none !important; }
/* blue block behind */
.ab-visual::before {
    inset: 56px 0 0 56px !important; filter: none !important; opacity: 1 !important; z-index: -2 !important;
    border-radius: 28px !important; transform: none;
    background: linear-gradient(135deg, #006dff 0%, #3d8bff 55%, #79b8ff 100%) !important;
    box-shadow: 0 30px 50px -30px rgba(0, 70, 200, .6);
    animation: abDrift 7s ease-in-out infinite !important;
}
@keyframes abDrift { 50% { transform: translate(-6px, -6px); } }
/* dot grid top-left */
.ab-visual__dots {
    display: block !important; left: 0 !important; top: 0 !important; right: auto !important; width: 150px !important; height: 150px !important;
    border-radius: 0 !important; box-shadow: none !important; z-index: -1 !important;
    background: radial-gradient(rgba(0, 109, 255, .35) 2px, transparent 2.6px) 0 0 / 18px 18px !important;
    animation: none !important;
}
/* thin outline ring top-right */
.ab-visual__shape {
    display: block !important; inset: auto !important; right: 4px !important; top: 6px !important; width: 90px !important; height: 90px !important;
    border: 3px solid rgba(0, 109, 255, .25) !important; border-radius: 50% !important; background: none !important; z-index: -1;
    animation: abSpinPulse 6s ease-in-out infinite !important;
}
@keyframes abSpinPulse { 50% { transform: scale(1.12); opacity: .6; } }
/* photo */
.ab-visual__img {
    aspect-ratio: 16 / 10 !important; border-radius: 24px !important; border: 6px solid #ffffff !important; padding: 0 !important;
    background: #eef4ff !important; animation: none !important;
    box-shadow: 0 30px 60px -28px rgba(0, 40, 120, .55), 0 0 0 1px #dfe9ff !important;
}
.ab-visual__img img { border-radius: 18px !important; object-position: 50% 42% !important; transform: scale(1) !important; transition: transform .9s cubic-bezier(.2, .7, .2, 1) !important; }
.ab-visual:hover .ab-visual__img img { transform: scale(1.05) !important; }
.ab-visual__img::after { border-radius: 18px !important; background: linear-gradient(180deg, transparent 55%, rgba(0, 40, 120, .18)) !important; }
.ab-visual__img::before { border-radius: 0 !important; }
@media (max-width: 991px) { .ab-visual { padding: 18px 22px 22px 18px !important; } .ab-visual::before { inset: 40px 0 0 40px !important; } .ab-visual__shape { width: 64px !important; height: 64px !important; } }
@media (prefers-reduced-motion: reduce) { .ab-visual::before, .ab-visual__shape { animation: none !important; } }
/* less gap between the hero boxes and the About section */
.ab-section { padding-top: clamp(28px, 3.5vw, 44px) !important; }
.uh-hero + .ab-section, .uh-hero ~ .ab-section { margin-top: 0 !important; }
.ab-section { padding-top: 12px !important; }
.ab-visual { padding-top: 14px !important; }
@media (max-width: 991px) { .ab-section { padding-top: 16px !important; } }
.ab-visual__img img { object-position: 45% 55% !important; }

/* second photo (building) overlapping the bottom-right corner */
.ab-visual { padding-bottom: 70px !important; padding-right: 60px !important; }
.ab-visual::before { inset: 56px 40px 50px 56px !important; }
.ab-visual__img2 {
    position: absolute; z-index: 3; right: 0; bottom: 0; width: 46%; aspect-ratio: 4 / 3; overflow: hidden;
    border-radius: 20px; border: 6px solid #ffffff; background: #eef4ff;
    box-shadow: 0 26px 46px -20px rgba(0, 40, 120, .6), 0 0 0 1px #dfe9ff;
    animation: abFloat2 6s ease-in-out infinite;
}
.ab-visual__img2 img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 45% 45%; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.ab-visual__img2:hover img { transform: scale(1.06); }
@keyframes abFloat2 { 50% { transform: translateY(-8px); } }
@media (max-width: 575px) { .ab-visual { padding-bottom: 48px !important; padding-right: 30px !important; } .ab-visual__img2 { width: 48%; border-width: 4px; border-radius: 14px; } }
@media (prefers-reduced-motion: reduce) { .ab-visual__img2 { animation: none; } }

/* About title a little smaller */
html body .ab-section .ab-title { font-size: clamp(22px, 1.8vw, 25px) !important; }
