:root {
    --primary-color: #4F98CA;
    --secondary-color: #50D890;
    --accent-color: #3b82f6;
    --text-dark: #1f2937;
    --text-light: #6b7280;
}

[x-cloak] {
    display: none;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.hero-section {
    background: url('../img/twoMachines.jpg') no-repeat center center;
    background-size: cover;
    height: 700px;
    position: relative;
  }
  
  .hero-section::after,
  .hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
  }
  
  .hero-section::after {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
  }
  
  .hero-section::before {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.1)" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
  }
  
  .text-wrapper {
    max-width: 700px;
    margin-bottom: 2rem;
  }

.hero-content {
    position: relative;
    z-index: 2;
}

.whoService {
    background-color: var(--secondary-color);
}

#businessesUl {
    background-color: var(--primary-color);
    color: white;
}

.imgGrid {
    width: 100%;
    max-width: 200px;
    height: 200px;
    margin: 0 auto; /* center inside column */
}

.imgGrid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.section-padding {
    padding: 80px 0;
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #e5e7eb;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.stats-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.contact-section {
    background: var(--text-dark);
    color: white;
}

.contact-info {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(10px);
}

.navbar-toggler {
    border: none;
    padding: 4px 8px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.smooth-scroll {
    scroll-behavior: smooth;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}