/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap');

:root {
    --bg-body: #050505;
    --bg-card: #121212;
    --bg-card-hover: #1a1a1a;
    --primary: #ffffff;
    --accent: #2563eb; 
    --accent-glow: #3b82f6;
    --text-main: #ffffff;
    --text-muted: #e0e0e0; /* Changed from gray to off-white */
    --border: #27272a;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Force all paragraphs to be white as requested */
p {
    color: #ffffff !important;
}

a { text-decoration: none; color: inherit; }

/* Navbar */
.navbar {
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 15px 0;
}

.navbar-brand {
    font-weight: 800;
    letter-spacing: -0.5px;
    font-size: 1.25rem;
}

.nav-link {
    color: #e0e0e0 !important; /* Lighter color for links */
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-glow) !important;
}

/* Hero */
.hero-section {
    padding: 120px 0 60px;
    text-align: center;
}

.hero-badge {
    background: rgba(37, 99, 235, 0.1);
    color: var(--accent-glow);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(37, 99, 235, 0.2);
    display: inline-block;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #ffffff;
}

/* Stats Section - HORIZONTAL FIX */
.stats-container {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px 40px; /* More side padding */
    margin: 40px auto; /* Center it */
    display: flex;
    justify-content: space-between; /* Space them out evenly */
    align-items: center;
    flex-wrap: nowrap; /* Prevent wrapping to next line */
    gap: 30px;
    overflow-x: auto; /* Scroll on very small screens if needed */
}

/* Hide scrollbar for stats on mobile */
.stats-container::-webkit-scrollbar {
    display: none;
}

.stat-item {
    text-align: center;
    min-width: 100px; /* Ensure they have space */
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    display: block;
    color: #ffffff;
}

.stat-label {
    font-size: 0.85rem;
    color: #cccccc; /* Slightly dimmed for hierarchy, but white-ish */
}

/* Cards (Services) */
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent);
    transform: translateY(-5px);
}

.service-card h4 {
    color: #ffffff;
}

.card-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.btn-arrow {
    color: var(--accent-glow);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    margin-top: 20px;
}

.btn-arrow i { margin-left: 5px; transition: 0.2s; }
.service-card:hover .btn-arrow i { transform: translateX(5px); }

/* Marquee (Brands) */
.marquee-wrapper {
    overflow: hidden;
    white-space: nowrap;
    padding: 40px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: #000;
    margin: 60px 0;
}

.marquee-content {
    display: inline-block;
    animation: marquee 20s linear infinite;
}

.brand-item {
    display: inline-block;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0 40px;
    opacity: 0.7; /* Increased opacity */
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Community Section */
.community-box {
    background: linear-gradient(135deg, #1e1e1e 0%, #000000 100%);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn-primary-tech {
    background-color: var(--primary);
    color: #000;
    font-weight: 600;
    border-radius: 8px;
    padding: 10px 25px;
    border: none;
    transition: 0.3s;
}

.btn-primary-tech:hover {
    background-color: #ddd;
    transform: translateY(-2px);
}

/* Footer */
footer {
    padding: 50px 0;
    border-top: 1px solid var(--border);
    margin-top: 80px;
    font-size: 0.9rem;
    color: #cccccc;
}

/* Hero Image Styling */
.hero-image-wrapper {
    position: relative;
    display: inline-block;
    padding: 10px;
}

.hero-img {
    border-radius: 20px; /* Rounded corners */
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.3); /* Blue glow matching your theme */
    border: 2px solid rgba(255, 255, 255, 0.1);
    max-width: 80%; /* Adjust size */
    transition: transform 0.3s ease;
}

.hero-img:hover {
    transform: translateY(-5px); /* Slight lift on hover */
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.5);
}

/* Responsive adjustment for stats container spacing */
.stats-container.mt-5 {
    margin-top: 4rem !important;
}