/* =========================================================
   ARIMA AUTOMATION SYSTEMS
   Global Styles
   ========================================================= */

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
}

/* -----------------------------
   Navbar
   ----------------------------- */

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 15px rgba(15, 23, 42, 0.08);
}

#navbar.scrolled .nav-link {
    color: #334155;
}

#navbar.scrolled .nav-link:hover,
#navbar.scrolled .nav-link.active {
    color: #155eef;
}

.nav-link {
    color: #e2e8f0;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #60a5fa;
}

.mobile-link {
    display: block;
    padding: 0.75rem;
    border-radius: 0.5rem;
    color: #334155;
    font-weight: 500;
}

.mobile-link:hover {
    background: #f1f5f9;
    color: #155eef;
}


/* -----------------------------
   Section Typography
   ----------------------------- */

.section-label {
    color: #155eef;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section-title {
    margin-top: 0.75rem;
    color: #0f172a;
    font-size: 2.25rem;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.section-text {
    margin-top: 1.25rem;
    color: #64748b;
    line-height: 1.8;
    max-width: 620px;
}

@media (min-width: 768px) {

    .section-title {
        font-size: 2.75rem;
    }

}


/* -----------------------------
   Service Cards
   ----------------------------- */

.service-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 0.875rem;
    padding: 1.75rem;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: #bfdbfe;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
}

.service-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    background: #eff6ff;
    color: #155eef;
    margin-bottom: 1.5rem;
}

.service-icon svg {
    width: 1.35rem;
    height: 1.35rem;
}

.service-title {
    color: #0f172a;
    font-size: 1.125rem;
    font-weight: 600;
}

.service-description {
    margin-top: 0.75rem;
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.7;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.5rem;
    color: #155eef;
    font-size: 0.875rem;
    font-weight: 600;
}

.service-link svg {
    width: 1rem;
    height: 1rem;
    transition: transform 0.2s ease;
}

.service-link:hover svg {
    transform: translate(2px, -2px);
}


/* -----------------------------
   Feature Cards
   ----------------------------- */

.feature-card {
    border: 1px solid #e2e8f0;
    border-radius: 0.875rem;
    padding: 1.5rem;
    transition: all 0.25s ease;
}

.feature-card:hover {
    border-color: #bfdbfe;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.feature-card > svg {
    width: 1.5rem;
    height: 1.5rem;
    color: #155eef;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-weight: 600;
}

.feature-card p {
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.7;
    margin-top: 0.5rem;
}


/* -----------------------------
   Industry Cards
   ----------------------------- */

.industry-card {
    padding: 1.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.875rem;
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.25s ease;
}

.industry-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(96, 165, 250, 0.4);
    transform: translateY(-3px);
}

.industry-card > svg {
    width: 1.5rem;
    height: 1.5rem;
    color: #60a5fa;
    margin-bottom: 1.25rem;
}

.industry-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
}

.industry-card p {
    margin-top: 0.5rem;
    color: #94a3b8;
    font-size: 0.875rem;
    line-height: 1.7;
}


/* -----------------------------
   Project Cards
   ----------------------------- */

.project-card {
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 0.875rem;
    background: white;
    transition: all 0.25s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.project-image {
    height: 240px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.04);
}

.project-tag {
    display: inline-block;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    background: #eff6ff;
    color: #155eef;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}


/* -----------------------------
   Footer
   ----------------------------- */

.footer-link {
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: white;
}


/* -----------------------------
   Scroll Reveal
   ----------------------------- */

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* -----------------------------
   Hero
   ----------------------------- */

.hero-badge {
    animation: fadeUp 0.7s ease both;
}

@keyframes fadeUp {

    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* -----------------------------
   Accessibility
   ----------------------------- */

:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.35);
    outline-offset: 3px;
}


/* -----------------------------
   Reduced Motion
   ----------------------------- */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

}