/* --- BRAND COLOR SCHEME & CONFIGURATION --- */
:root {
    --bg-page: #fdfaf6;
    --bg-card: #ffffff;
    --bg-dark: #0d0d0d;
    --bg-dark-card: #181818;
    --accent-orange: #ee6c4d;
    --accent-orange-dark: #d65a3d;
    --text-dark: #14110f;
    --text-muted: #6b6b6b;
    --text-light-on-dark: #ffffff;
    --text-light-muted: #a3a3a3;
    --border-soft: rgba(20, 17, 15, 0.08);
    --border-soft-dark: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -0.01em;
}

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-page);
    color: var(--text-dark);
    overflow-x: hidden;
    min-height: 100vh;
}

a { color: inherit; }
img { display: block; max-width: 100%; }

.page-wrapper {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 4%;
    position: relative;
}

.eyebrow-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 7px 18px;
    border-radius: 100px;
    background: rgba(238, 108, 77, 0.1);
    color: var(--accent-orange-dark);
    margin-bottom: 18px;
}

.btn-orange {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent-orange);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 13px 26px;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(238, 108, 77, 0.18);
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-orange:hover {
    background: var(--accent-orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(238, 108, 77, 0.35);
}

.btn-orange:active { transform: translateY(0); }

.arrow-fab {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 50%;
    background: var(--accent-orange);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 10px 25px rgba(238, 108, 77, 0.4);
    transition: transform 0.35s ease, background 0.35s ease;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 48px;
}

.section-head h2 {
    font-size: clamp(2rem, 3.2vw, 2.7rem);
    font-weight: 800;
    line-height: 1.15;
}

.section-head h2 em {
    font-style: normal;
    color: var(--accent-orange);
}

.section-head p {
    color: var(--text-muted);
    max-width: 460px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 36px;
}

.carousel-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(20, 17, 15, 0.15);
    transition: width 0.3s ease, background 0.3s ease;
}

.carousel-dots span.active { background: var(--accent-orange); width: 22px; border-radius: 100px; }

.carousel-dots.on-dark span { background: rgba(255, 255, 255, 0.2); }
.carousel-dots.on-dark span.active { background: var(--accent-orange); }

section { padding: 90px 0; }

/* --- TOP NAVIGATION BAR --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 26px 0;
}

.brand-identity {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    font-weight: 800;
}

.brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--accent-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    transition: transform 0.4s ease;
}

.brand-identity:hover .brand-mark { transform: rotate(18deg) scale(1.08); }

nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    transition: color 0.25s ease, background 0.25s ease;
    padding: 10px 16px;
    border-radius: 100px;
}

nav a:hover { color: var(--text-dark); background: rgba(20, 17, 15, 0.05); }

nav a.current-page {
    color: #fff;
    background: var(--accent-orange);
}

nav a.current-page:hover { background: var(--accent-orange-dark); }

/* --- HERO SPLIT SECTION --- */
.hero-section {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    padding: 30px 0 90px 0;
    gap: 60px;
}

.content-block { display: flex; flex-direction: column; }

.category-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }

.pill-tag {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 7px 16px;
    border-radius: 100px;
    background: #fff;
    border: 1px solid var(--border-soft);
    color: var(--text-dark);
    transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.category-tags .pill-tag:hover,
.portfolio-tags .pill-tag:hover {
    border-color: var(--accent-orange);
    background: rgba(238, 108, 77, 0.08);
    transform: translateY(-2px);
}

.main-heading {
    font-size: clamp(3rem, 5.2vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 22px;
    letter-spacing: -0.02em;
    color: var(--text-dark);
}

.primary-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 520px;
    margin-bottom: 16px;
}

.secondary-desc {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.5;
    max-width: 520px;
    margin-bottom: 45px;
}

.analytics-matrix {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    border-top: 1px solid var(--border-soft);
    padding-top: 32px;
}

.matrix-cell h3 { font-size: 1.8rem; font-weight: 800; margin-bottom: 4px; transition: color 0.3s ease; }
.matrix-cell p { font-size: 0.76rem; color: var(--text-muted); line-height: 1.4; font-weight: 500; }
.matrix-cell:hover h3 { color: var(--accent-orange); }

.graphic-workspace {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 500px;
}

.backdrop-disk {
    position: absolute;
    width: 82%;
    aspect-ratio: 1/1;
    background: #f1dec9;
    border-radius: 50%;
    z-index: 1;
    animation: pulse-disk 8s ease-in-out infinite;
}

.focal-avatar-img {
    position: relative;
    z-index: 2;
    width: auto;
    height: 100%;
    max-height: 500px;
    object-fit: contain;
    border-radius: 24px;
    pointer-events: none;
}

.glass-widget {
    position: absolute;
    z-index: 3;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 25px 50px rgba(20, 17, 15, 0.15);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.glass-widget:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 55px rgba(20, 17, 15, 0.22);
}

.widget-satisfied-customers {
    bottom: 18%;
    left: -8%;
    width: 215px;
    animation: fade-slide-up 0.8s ease 0.6s both, float-y 5s ease-in-out 1.4s infinite;
}

.avatar-pile { display: flex; align-items: center; margin-bottom: 12px; }

.pile-item {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #fff;
    margin-right: -8px;
    background-size: cover;
    background-position: center;
}

.counter-badge { margin-left: 18px; font-weight: 800; font-size: 1.05rem; color: var(--text-dark); }
.widget-label { font-size: 0.8rem; color: var(--text-dark); font-weight: 700; margin-bottom: 4px; }
.rating-metrics { display: flex; align-items: center; gap: 6px; }
.star-row { color: var(--accent-orange); font-size: 0.75rem; letter-spacing: 0.05em; }
.rating-text { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; }

.widget-happy-companies {
    bottom: 6%;
    right: -6%;
    width: 165px;
    animation: fade-slide-up 0.8s ease 0.75s both, float-y 6s ease-in-out 1.6s infinite;
}

.widget-happy-companies h4 { font-size: 1.6rem; font-weight: 800; margin-bottom: 3px; }
.widget-happy-companies p { font-size: 0.75rem; color: var(--text-muted); line-height: 1.3; font-weight: 500; }

/* --- HERO ENTRANCE ANIMATION (plays once on load, no JS needed) --- */
@keyframes fade-slide-up {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float-y {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes pulse-disk {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

.hero-section .category-tags { animation: fade-slide-up 0.7s ease both; }
.hero-section .main-heading { animation: fade-slide-up 0.7s ease 0.1s both; }
.hero-section .primary-desc { animation: fade-slide-up 0.7s ease 0.2s both; }
.hero-section .secondary-desc { animation: fade-slide-up 0.7s ease 0.3s both; }
.hero-section .analytics-matrix { animation: fade-slide-up 0.7s ease 0.4s both; }
.hero-section .graphic-workspace { animation: fade-slide-up 0.8s ease 0.2s both; }

/* --- MARQUEE BANNER --- */
.marquee-banner {
    background: var(--accent-orange);
    color: #fff;
    overflow: hidden;
    padding: 16px 0;
    white-space: nowrap;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee-scroll 22s linear infinite;
}

.marquee-banner:hover .marquee-track { animation-play-state: paused; }

.marquee-track span {
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0 18px;
}

@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* --- ABOUT US --- */
.about-section { background: var(--bg-page); }

.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.about-intro h2 { font-size: clamp(2rem, 3.2vw, 2.7rem); font-weight: 800; line-height: 1.2; }
.about-intro p { color: var(--text-muted); line-height: 1.7; font-size: 0.95rem; }

.timeline-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.timeline-card {
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: 18px;
    padding: 26px;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.timeline-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(20, 17, 15, 0.08);
    border-color: rgba(238, 108, 77, 0.3);
}

.timeline-card .timeline-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(238, 108, 77, 0.1);
    color: var(--accent-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin-bottom: 18px;
    transition: background 0.35s ease, color 0.35s ease;
}

.timeline-card:hover .timeline-icon { background: var(--accent-orange); color: #fff; }

.timeline-card h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.timeline-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; margin-bottom: 14px; }
.timeline-card .timeline-year { font-size: 0.85rem; font-weight: 800; color: var(--accent-orange); }

.stat-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: 18px;
    padding: 26px;
    text-align: center;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(20, 17, 15, 0.08);
    border-color: rgba(238, 108, 77, 0.3);
}

.stat-card h3 { font-size: 1.8rem; font-weight: 800; margin-bottom: 6px; transition: color 0.3s ease; }
.stat-card:hover h3 { color: var(--accent-orange); }
.stat-card p { font-size: 0.82rem; color: var(--text-muted); font-weight: 600; }

/* --- SERVICES --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: 22px;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(20, 17, 15, 0.14);
}

.service-card .service-thumb {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-thumb { transform: scale(1.08); }

.service-card .service-label {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.92);
    padding: 8px 18px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.88rem;
}

.service-card .arrow-fab {
    position: absolute;
    bottom: 20px;
    right: 20px;
}

.service-card:hover .arrow-fab {
    transform: rotate(45deg) scale(1.1);
    background: var(--accent-orange-dark);
}

/* --- PORTFOLIO --- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.portfolio-card { display: flex; flex-direction: column; gap: 18px; }

.portfolio-card .portfolio-thumb-wrap {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.portfolio-card:hover .portfolio-thumb-wrap {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(20, 17, 15, 0.12);
}

.portfolio-thumb { width: 100%; height: 300px; object-fit: cover; transition: transform 0.5s ease; }

.portfolio-card:hover .portfolio-thumb { transform: scale(1.06); }

.portfolio-card .portfolio-name-badge {
    position: absolute;
    bottom: 18px;
    left: 18px;
    background: #fff;
    padding: 8px 20px;
    border-radius: 100px;
    font-weight: 800;
    font-size: 0.95rem;
}

.portfolio-tags { display: flex; flex-wrap: wrap; gap: 8px; }

.portfolio-card h4 { font-size: 1.15rem; font-weight: 800; }
.portfolio-card p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; }

/* --- BLOG --- */
.blog-section { background: var(--bg-dark); color: #fff; }
.blog-section .section-head h2 { color: #fff; }
.blog-section .section-head p { color: var(--text-light-muted); }

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.blog-card {
    background: var(--bg-dark-card);
    border: 1px solid var(--border-soft-dark);
    border-radius: 22px;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
    border-color: rgba(238, 108, 77, 0.3);
}

.blog-card .blog-thumb { width: 100%; height: 190px; object-fit: cover; transition: transform 0.5s ease; }

.blog-card:hover .blog-thumb { transform: scale(1.08); }

.blog-card .blog-body { padding: 22px; }

.blog-card .blog-pill {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 5px 14px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.08);
    margin-bottom: 14px;
    transition: background 0.3s ease, color 0.3s ease;
}

.blog-card:hover .blog-pill { background: var(--accent-orange); color: #fff; }

.blog-card h4 { font-size: 1.05rem; font-weight: 700; line-height: 1.4; margin-bottom: 16px; }

.blog-card .blog-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    color: var(--text-light-muted);
}

/* --- TESTIMONIALS --- */
.testimonials-section { background: var(--bg-dark); color: #fff; text-align: center; }

.testimonials-section .section-head { flex-direction: column; align-items: center; text-align: center; }
.testimonials-section .section-head h2 { color: #fff; }
.testimonials-section .section-head p { color: var(--text-light-muted); max-width: 560px; }

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    text-align: left;
}

.testimonial-card {
    background: var(--bg-dark-card);
    border: 1px solid var(--border-soft-dark);
    border-radius: 22px;
    padding: 30px;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
    border-color: rgba(238, 108, 77, 0.3);
}

.testimonial-card .quote-mark { color: var(--accent-orange); font-size: 2.2rem; font-weight: 800; margin-bottom: 8px; }
.testimonial-card p.quote-text { color: var(--text-light-muted); line-height: 1.7; font-size: 0.92rem; margin-bottom: 24px; }

.testimonial-footer { display: flex; align-items: center; justify-content: space-between; }

.reviewer-block { display: flex; align-items: center; gap: 12px; }

.reviewer-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; transition: transform 0.35s ease; }

.testimonial-card:hover .reviewer-avatar { transform: scale(1.1); }

.reviewer-block h5 { font-size: 0.92rem; font-weight: 700; }
.reviewer-block span { font-size: 0.78rem; color: var(--text-light-muted); }

.testimonial-score { display: flex; align-items: center; gap: 6px; font-weight: 800; }
.testimonial-score .star-row { color: var(--accent-orange); }

/* --- CONTACT CTA --- */
.contact-section { background: var(--bg-page); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.contact-section h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 800; line-height: 1.2; margin-bottom: 18px; }

.contact-section p.lead { color: var(--text-muted); line-height: 1.7; margin-bottom: 30px; max-width: 460px; }

.trust-badges { display: flex; flex-direction: column; gap: 14px; margin-top: 30px; }
.trust-badges span { font-size: 0.88rem; font-weight: 600; display: flex; align-items: center; gap: 10px; transition: transform 0.3s ease; }
.trust-badges span:hover { transform: translateX(4px); }
.trust-badges span::before { content: '✓'; color: var(--accent-orange); font-weight: 800; }

.contact-form { display: flex; flex-direction: column; gap: 16px; }

.contact-form input, .contact-form textarea {
    width: 100%;
    border: 1px solid var(--border-soft);
    background: var(--bg-card);
    border-radius: 14px;
    padding: 16px 20px;
    font-size: 0.92rem;
    font-family: inherit;
    color: var(--text-dark);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 3px rgba(238, 108, 77, 0.12);
}

.contact-form textarea { min-height: 130px; resize: vertical; }

.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--text-muted); }

.contact-form button { align-self: flex-start; margin-top: 4px; }

/* --- FOOTER --- */
footer { background: var(--bg-dark); color: #fff; padding: 70px 0 0; }

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid var(--border-soft-dark);
}

.footer-brand .brand-identity { color: #fff; margin-bottom: 16px; }
.footer-brand p { color: var(--text-light-muted); font-size: 0.88rem; line-height: 1.7; max-width: 320px; }

.footer-col h5 { font-size: 0.95rem; font-weight: 700; margin-bottom: 20px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col ul a {
    color: var(--text-light-muted);
    text-decoration: none;
    font-size: 0.88rem;
    display: inline-block;
    transition: color 0.25s ease, transform 0.25s ease;
}
.footer-col ul a:hover { color: #fff; transform: translateX(4px); }

.newsletter-form { display: flex; gap: 8px; margin-top: 16px; }

.newsletter-form input {
    flex: 1;
    background: var(--bg-dark-card);
    border: 1px solid var(--border-soft-dark);
    border-radius: 100px;
    padding: 12px 18px;
    color: #fff;
    font-size: 0.85rem;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 3px rgba(238, 108, 77, 0.18);
}

.newsletter-form button {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 50%;
    background: var(--accent-orange);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.newsletter-form button:hover { background: var(--accent-orange-dark); transform: scale(1.1); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 26px 0;
    flex-wrap: wrap;
    gap: 14px;
}

.footer-bottom p { color: var(--text-light-muted); font-size: 0.82rem; }
.footer-bottom .legal-links { display: flex; gap: 18px; font-size: 0.82rem; color: var(--text-light-muted); }
.footer-bottom .legal-links a { text-decoration: none; transition: color 0.25s ease; }
.footer-bottom .legal-links a:hover { color: #fff; }
.social-row { display: flex; gap: 12px; }
.social-row a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--border-soft-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.8rem;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.social-row a:hover {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
    transform: translateY(-3px);
}

/* --- SCROLL-REVEAL ANIMATIONS (JS toggles .is-visible via IntersectionObserver) --- */
html.js .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

html.js .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-row > .reveal:nth-child(2) { transition-delay: 0.08s; }
.timeline-row > .reveal:nth-child(3) { transition-delay: 0.16s; }
.timeline-row > .reveal:nth-child(4) { transition-delay: 0.24s; }

.stat-row > .reveal:nth-child(2) { transition-delay: 0.08s; }
.stat-row > .reveal:nth-child(3) { transition-delay: 0.16s; }
.stat-row > .reveal:nth-child(4) { transition-delay: 0.24s; }

.services-grid > .reveal:nth-child(2) { transition-delay: 0.1s; }
.services-grid > .reveal:nth-child(3) { transition-delay: 0.2s; }

.portfolio-grid > .reveal:nth-child(2) { transition-delay: 0.12s; }

.blog-grid > .reveal:nth-child(2) { transition-delay: 0.1s; }
.blog-grid > .reveal:nth-child(3) { transition-delay: 0.2s; }

.testimonial-grid > .reveal:nth-child(2) { transition-delay: 0.12s; }

.footer-top > .reveal:nth-child(2) { transition-delay: 0.08s; }
.footer-top > .reveal:nth-child(3) { transition-delay: 0.16s; }
.footer-top > .reveal:nth-child(4) { transition-delay: 0.24s; }

.about-intro > .reveal:nth-child(2) { transition-delay: 0.12s; }

.contact-grid > .reveal:nth-child(2) { transition-delay: 0.12s; }

/* --- RESPONSIVE MEDIA BREAKPOINTS --- */
@media (max-width: 1100px) {
    .hero-section { grid-template-columns: 1fr; text-align: center; gap: 70px; padding-bottom: 60px; }
    .category-tags { justify-content: center; }
    .primary-desc, .secondary-desc { margin-left: auto; margin-right: auto; }
    .analytics-matrix { grid-template-columns: repeat(3, 1fr); gap: 25px; }
    .graphic-workspace { max-width: 480px; margin: 0 auto; }
    .widget-satisfied-customers { left: -4%; }
    .widget-happy-companies { right: -4%; }

    .about-intro { grid-template-columns: 1fr; gap: 24px; }
    .timeline-row { grid-template-columns: repeat(2, 1fr); }
    .stat-row { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: 1fr; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .testimonial-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    header { flex-direction: column; gap: 16px; padding: 20px 0; }
    nav { flex-wrap: wrap; justify-content: center; gap: 6px; }
    .analytics-matrix { grid-template-columns: repeat(2, 1fr); }
    .section-head { flex-direction: column; align-items: flex-start; }
    .timeline-row, .stat-row { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; }
}

/* --- ACCESSIBILITY: respect reduced-motion preference --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}
