/* ═══════════════════════════════════════════════════════════════════════════
   RGB Business Way — Final Polish & Micro-interactions
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Smooth Gradient Shimmer on gradient-text ───────────────────────────── */
@keyframes gradientShimmer {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}
.gradient-text {
    background: linear-gradient(90deg, var(--cyan), #2de1ff, var(--cyan));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShimmer 5s ease-in-out infinite;
}

/* ─── Section label entrance ─────────────────────────────────────────────── */
.section__label {
    opacity: 0;
    animation: labelIn .6s .2s both var(--ease);
}
@keyframes labelIn {
    from { opacity: 0; transform: translateX(-15px); }
    to   { opacity: 1; transform: none; }
}

/* ─── Service card glow on hover ─────────────────────────────────────────── */
.service-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    opacity: 0;
    transition: opacity .4s var(--ease);
}
.service-card:hover::after { opacity: 1; }

/* ─── Portfolio card hover enhancement ───────────────────────────────────── */
.portfolio__card-link svg {
    transition: transform .3s var(--ease);
}
.portfolio__card:hover .portfolio__card-link svg {
    transform: translateX(4px);
}

/* ─── About card hover ripple ────────────────────────────────────────────── */
.about__feature::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px; height: 0;
    background: var(--blue);
    transition: height .35s var(--ease);
}
.about__feature {
    position: relative;
}
.about__feature:hover::before { height: 100%; }

/* ─── Testimonial card smooth shine ──────────────────────────────────────── */
.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.03), transparent);
    transition: left .6s var(--ease);
    pointer-events: none;
}
.testimonial-card { position: relative; overflow: hidden; }
.testimonial-card:hover::before { left: 100%; }

/* ─── Button press effect ────────────────────────────────────────────────── */
.btn:active { transform: translateY(-1px) scale(.98); }

/* ─── Form input placeholder animation ──────────────────────────────────── */
.form-input::placeholder {
    transition: opacity .3s var(--ease);
}
.form-input:focus::placeholder {
    opacity: .4;
}

/* ─── Footer link hover arrow hint ───────────────────────────────────────── */
.footer__links a::before {
    content: '';
    display: inline-block;
    width: 0;
    transition: width .3s var(--ease), margin-right .3s var(--ease);
}
.footer__links a:hover::before {
    content: '→';
    width: 14px;
    margin-right: 4px;
    color: var(--cyan);
}

/* ─── Why Choose stat counter glow ───────────────────────────────────────── */
.why-choose__stat-number {
    text-shadow: 0 0 30px rgba(27,198,236,.2);
}

/* ─── Contact detail hover ───────────────────────────────────────────────── */
.contact__detail {
    padding: 8px;
    border-radius: 12px;
    transition: background .3s var(--ease);
}
.contact__detail:hover {
    background: var(--blue-wash);
}

/* ─── Newsletter input animation ─────────────────────────────────────────── */
.footer__newsletter {
    display: flex;
    border-bottom: 1px solid rgba(255,255,255,.3);
    transition: border-color .3s var(--ease);
}
.footer__newsletter:focus-within {
    border-color: var(--cyan);
}
.footer__newsletter input {
    min-width: 0;
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: white;
    font-size: 13px;
    padding: 8px 0;
}
.footer__newsletter .btn { padding: 8px; }
.footer__newsletter-text {
    margin-bottom: 15px;
    color: rgba(255,255,255,.55);
    font-size: 13px;
}

/* ─── Scroll reveal for process connector ────────────────────────────────── */
.process__connector {
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .6s var(--ease);
}
.process__step.animated .process__connector {
    transform: scaleX(1);
}

/* ─── Smooth focus outlines ──────────────────────────────────────────────── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ─── Selection color ────────────────────────────────────────────────────── */
::selection {
    background: var(--blue);
    color: white;
}

/* ─── Scrollbar styling (Webkit) ─────────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb {
    background: rgba(27,198,236,.3);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(27,198,236,.5); }
