/* home.css */
:root {
  --accent: #00e1ff;
  --muted: #9fb2c6;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero {
  padding: 76px 0;
  display: flex;
  align-items: center
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 36px;
  align-items: center
}

.hero-left h1 {
  font-size: 2.4rem;
  margin-bottom: 12px;
  color: var(--text)
}

.hero-left .accent {
  color: var(--accent)
}

html[data-theme='light']
.lead {
  color: var(--light-body-text);
  margin-bottom: 18px;
  font-size: 1.05rem;
}

.lead{
  color: var(--light-text);
  margin-bottom: 18px;
  font-size: 1.05rem;
}

.btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer
}

.btn.primary {
  background: var(--accent);
  color: rgb(0, 0, 0);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07)
}

.btn.ghost {
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--text)
}

html[data-theme='light']
.glass-card{
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.03));
  padding: 28px;
  border-radius: 14px;
}

.glass-card {
  background: linear-gradient(180deg, rgba(227, 219, 219, 0.03), rgba(227, 219, 219, 0.03));
  padding: 28px;
  border-radius: 14px;
  backdrop-filter: blur(6px);
}

.hero-ill {
  width: 100%;
  height: auto;
}

.services-preview {
  padding: 40px 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent)
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px
}

.card {
  background: var(--surface);
  padding: 18px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  color: var(--text)
}

html[data-theme='light']
.trust{
  color: #000000;
}

.trust{
  color: var(--light-text);
  text-align: center;
  font-size: large;
}

.section {
  padding: 48px 0;
}

.about-preview .split {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: space-between
}

.stats {
  display: flex;
  gap: 18px
}

.stat {
  background: var(--surface);
  padding: 18px;
  border-radius: 10px;
  text-align: center
}

@media (max-width:880px) {
  .hero-grid {
    grid-template-columns: 1fr;
    padding: 30px 0
  }

  .cards-grid {
    grid-template-columns: 1fr
  }

  .about-preview .split {
    flex-direction: column;
    align-items: flex-start
  }
}

html[data-theme="light"] .client-scroll-container{
  background-color: #ffffff;
  border-top: 2px solid #000000;
  border-bottom: 2px solid #000000;
}
.client-scroll-container {
    width: 100%;
    height: 400px; 
    overflow: hidden; 
    
    background-color: #0b1220; 
    border-top: 2px solid #ddd;
    border-bottom: 2px solid #ddd;
    margin-top: 20px; 
    box-sizing: border-box; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
}

/* ---------------------------------------------------- */
/* 2. TRACK: The moving element containing all logos */
/* ---------------------------------------------------- */
.client-scroll-track {
    display: flex;
    width: max-content; 
    
    /* Animation speed from your request */
    animation: scroll-left 18s linear infinite; 
    
    align-items: center; 
}

/* Pause the scrolling on hover for better user experience */
.client-scroll-container:hover .client-scroll-track {
    animation-play-state: paused;
}

/* ---------------------------------------------------- */
/* 3. LOGO ITEM: Styling for each individual logo container */
/* ---------------------------------------------------- */
.logo-item {
    /* FIX: Increased width to 260px to solve the gap issue (260 + 40 padding = 300px total) */
    width: 260px; 
    padding: 0 20px; 
    
    /* CRITICAL: Prevents logos from shrinking */
    flex-shrink: 0; 
    
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%; 
}

.logo-item img {
    max-height: 250px; 
    width: auto;
    opacity: 0.85;
    transition: opacity 0.3s ease, transform 0.3s ease;
    object-fit: contain; 
}

.logo-item img:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* ---------------------------------------------------- */
/* 4. ANIMATION KEYFRAMES (The pixel-perfect loop fix) */
/* ---------------------------------------------------- */
@keyframes scroll-left {
    from {
        transform: translateX(0);
    }
    /* FIX: Translate by the new exact width of 6 unique logos (6 * 300px = 1800px) */
    to {
        transform: translateX(-50%); 
    }
}



