﻿/* =======================
   BASE STYLES & RESET
   ======================= */
.home {
    padding: 0;
    /* Remove base padding to allow edge-to-edge hero */
    overflow-x: hidden;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* =======================
   GENERAL / LIGHT & DARK
   ======================= */
body {
    background-color: #fafafa;
    color: #333;
}

.dark body {
    background-color: #121212;
    color: #e0e0e0;
}

.btn-primary-lg,
.btn-secondary-lg,
.btn-outline {
    display: inline-block;
    padding: 0.85rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-align: center;
    cursor: pointer;
}

.glass-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: #fff;
}

.glass-outline:hover {
    background: #fff;
    color: #0d6efd;
}

/* =======================
   HERO SECTION (IMAGE + GRADIENT)
   ======================= */
.hero {
    position: relative;
    padding: 6rem 1.5rem;
    background-image: url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    color: #fff;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(8, 25, 50, 0.95) 0%, rgba(13, 110, 253, 0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: #e0eaff;
}

.hero-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    color: #e0eaff;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-actions .btn-primary-lg:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(255, 107, 0, 0.4);
}

/* =======================
   ANIMATIONS
   ======================= */
/* Respect prefers-reduced-motion â€” accessibility + INP */
@media (prefers-reduced-motion: no-preference) {
    .hero-content {
        animation: fadeInUp 0.8s ease forwards;
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }

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

/* =======================
   ENTERPRISE SECTIONS
   ======================= */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3.5rem;
    color: #111;
}

.dark .section-title {
    color: #fff;
}

.enterprise-trust,
.products {
    padding: 5rem 0;
    background: #f4f7fb;
    /* Very soft cool blue to frame white cards */
}

.dark .enterprise-trust,
.dark .products {
    background: #121212;
}

.industries-served {
    padding: 5rem 0;
    background: #eef2f6;
    /* Slightly deeper blue-grey for the alternating section */
}

.dark .industries-served {
    background: #1a1a1a;
}

/* Grids */
.trust-grid,
.industry-grid,
.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 769px) {

    .trust-grid,
    .industry-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* CARDS WITH HOVER EFFECTS */
.trust-item,
.industry-card,
.enhanced-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0f0f0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
}

.dark .trust-item,
.dark .industry-card,
.dark .enhanced-card {
    background: #1e1e1e;
    border-color: #333;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.trust-item:hover,
.industry-card:hover,
.enhanced-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: #0d6efd;
}

.dark .trust-item:hover,
.dark .industry-card:hover {
    border-color: #ffb703;
}

/* SVG ICON WRAPPERS */
.icon-wrapper {
    width: 64px;
    height: 64px;
    background: #e7f1ff;
    color: #0d6efd;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.dark .icon-wrapper {
    background: rgba(13, 110, 253, 0.2);
}

.icon-wrapper.accent {
    background: #fff0e6;
    color: #ff6b00;
}

.dark .icon-wrapper.accent {
    background: rgba(255, 107, 0, 0.15);
}

.trust-item:hover .icon-wrapper,
.industry-card:hover .icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.trust-item h3,
.industry-card h3,
.enhanced-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #111;
    font-weight: 700;
}

.dark .trust-item h3,
.dark .industry-card h3,
.dark .enhanced-card h3 {
    color: #f5f5f5;
}

.trust-item p,
.industry-card p,
.enhanced-card p {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.6;
}

.dark .trust-item p,
.dark .industry-card p,
.dark .enhanced-card p {
    color: #bbb;
}

.btn-outline {
    border: 2px solid #0d6efd;
    color: #0d6efd;
}

.btn-outline:hover {
    background: #0d6efd;
    color: #fff;
}

.dark .btn-outline {
    border-color: #ffb703;
    color: #ffb703;
}

.dark .btn-outline:hover {
    background: #ffb703;
    color: #111;
}

/* =======================
   GLASSMORPHISM ROI SECTION
   ======================= */
.glassmorphism-bg {
    position: relative;
    padding: 6rem 1rem;
    /* background-attachment: fixed removed â€” causes continuous GPU repaint on scroll (INP killer on mobile) */
    background: url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?q=80&w=2070&auto=format&fit=crop') center/cover no-repeat;
    margin: 2rem 0;
}

.roi-container {
    position: relative;
    z-index: 2;
}

.glass-card {
    background: rgba(10, 25, 47, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 4rem 3rem;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    color: white;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s ease;
}

.glass-card:hover {
    transform: scale(1.02);
}

.glass-card h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.glass-card p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2rem auto;
    line-height: 1.8;
    color: #e0eaff;
}

.glass-card .btn-primary-lg {
    box-shadow: 0 8px 16px rgba(255, 107, 0, 0.4);
}

.glass-card .btn-primary-lg:hover {
    background: #e66000 !important;
    transform: translateY(-3px);
}

/* =======================
   MOBILE TWEAKS
   ======================= */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .glass-card h2 {
        font-size: 2rem;
    }

    .glass-card {
        padding: 2rem 1.5rem;
    }

    .hero-actions .btn-primary-lg,
    .hero-actions .btn-secondary-lg {
        width: 100%;
    }
}
