:root {
      --primary: #2563eb;
      --primary-dark: #1d4ed8;
      --secondary: #7e22ce;
      --dark: #0f172a;
      --light: #f8fafc;
      --muted: #64748b;
      --radius: 12px;
      --shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
      --transition: all 0.3s ease;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
      color: var(--dark);
      background: var(--light);
      line-height: 1.6;
    }

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

    /* --- NAVIGATION --- */
    .nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 18px 0;
      position: relative;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 12px;
      text-decoration: none;
    }

    .brand-logo {
      height: 40px;
      width: auto;
      display: block;
    }

    .brand-text {
      font-weight: 800;
      letter-spacing: 0.5px;
      color: var(--dark);
      font-size: 1.4rem;
    }

    .menu {
      display: flex;
      align-items: center;
      gap: 24px;
    }

    .menu a {
      font-weight: 600;
      color: var(--dark);
      transition: var(--transition);
      position: relative;
    }

    .menu a:not(.btn):hover {
      color: var(--primary);
    }

    .menu a:not(.btn)::after {
      content: '';
      position: absolute;
      bottom: -5px;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--primary);
      transition: var(--transition);
    }

    .menu a:not(.btn):hover::after {
      width: 100%;
    }

    .btn {
      display: inline-block;
      padding: 12px 24px;
      border-radius: var(--radius);
      border: 0;
      background: var(--primary);
      color: white;
      font-weight: 700;
      cursor: pointer;
      transition: var(--transition);
      text-decoration: none;
    }

    .btn:hover {
      background: var(--primary-dark);
      transform: translateY(-2px);
      box-shadow: 0 6px 15px rgba(37, 99, 235, 0.25);
    }

    .btn.outline {
      background: transparent;
      color: var(--primary);
      border: 2px solid var(--primary);
    }

    .btn.outline:hover {
      background: var(--primary);
      color: white;
    }

    .nav-toggle {
      display: none;
      background: transparent;
      border: 0;
      font-size: 26px;
      cursor: pointer;
      color: var(--dark);
    }

    /* --- HERO SLIDER --- */
    .hero-slider {
      padding: 0;
      position: relative;
    }

    .slider {
      position: relative;
      width: 100%;
      height: 85vh;
      min-height: 500px;
      overflow: hidden;
      border-radius: var(--radius);
    }

    .slide {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-size: cover;
      background-position: center;
      opacity: 0;
      transition: opacity 0.8s ease, transform 1.2s ease;
      will-change: opacity, transform;
      transform: scale(1.05);
    }

    .slide::before {
      content: "";
      position: absolute;
      inset: 0;
      background-image: var(--bg);
      background-size: cover;
      background-position: center;
    }

    .slide.active {
      opacity: 1;
      transform: scale(1);
    }

    .slide .overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(100deg, rgba(2, 6, 23, 0.75) 0%, rgba(2, 6, 23, 0.5) 100%);
    }

    .hero-content {
      position: relative;
      z-index: 2;
      color: white;
      max-width: 800px;
      padding-top: 20vh;
      padding-left: 40px;
      animation: fadeInUp 1s ease forwards;
      opacity: 0;
    }

    .slide.active .hero-content {
      animation: fadeInUp 1s ease 0.3s forwards;
    }

    .hero-content h1 {
      font-size: 3.5rem;
      line-height: 1.1;
      margin: 0 0 16px;
      font-weight: 800;
    }

    .hero-content p {
      font-size: 1.25rem;
      color: #e5e7eb;
      max-width: 600px;
      margin-bottom: 32px;
    }

    .cta-row {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }

    /* Slider controls */
    .slider .nav {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(255, 255, 255, 0.15);
      backdrop-filter: blur(8px);
      border: 1px solid rgba(255, 255, 255, 0.25);
      color: white;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      cursor: pointer;
      z-index: 10;
      transition: var(--transition);
      opacity: 0.8;
    }

    .slider .nav:hover {
      background: rgba(255, 255, 255, 0.25);
      opacity: 1;
    }

    .slider .prev {
      left: 20px;
    }

    .slider .next {
      right: 20px;
    }

    .slider .dots {
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      bottom: 30px;
      display: flex;
      gap: 10px;
      z-index: 10;
    }

    .slider .dots button {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      border: 0;
      background: rgba(255, 255, 255, 0.5);
      cursor: pointer;
      transition: var(--transition);
    }

    .slider .dots button.active {
      background: white;
      transform: scale(1.2);
    }

    /* --- SERVICES SECTION --- */
    .home-services {
      padding: 80px 0;
      text-align: center;
    }

    .section-title {
      font-size: 2.5rem;
      margin-bottom: 50px;
      position: relative;
      display: inline-block;
      font-weight: 800;
    }

    .section-title::after {
      content: '';
      position: absolute;
      bottom: -10px;
      left: 50%;
      transform: translateX(-50%);
      width: 60px;
      height: 4px;
      background: var(--primary);
      border-radius: 2px;
    }

    .cards {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 30px;
      margin-top: 40px;
    }

    .card {
      background: white;
      border-radius: var(--radius);
      padding: 30px;
      box-shadow: var(--shadow);
      transition: var(--transition);
      text-align: left;
      position: relative;
      overflow: hidden;
    }

    .card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 5px;
      height: 0;
      background: var(--primary);
      transition: var(--transition);
    }

    .card:hover {
      transform: translateY(-10px);
    }

    .card:hover::before {
      height: 100%;
    }

    .card h3 {
      font-size: 1.5rem;
      margin: 0 0 15px;
      color: var(--dark);
    }

    .card p {
      color: var(--muted);
      margin: 0;
    }

    /* --- BLOG SECTION --- */
    .home-blog {
      padding: 80px 0;
      background: #f1f5f9;
    }

    .home-blog .section-title::after {
      background: var(--secondary);
    }

    .home-blog .card {
      height: 100%;
      display: flex;
      flex-direction: column;
    }

    .home-blog .card h3 {
      font-size: 1.3rem;
    }

    .home-blog .card h3 a {
      color: var(--dark);
      text-decoration: none;
      transition: var(--transition);
    }

    .home-blog .card h3 a:hover {
      color: var(--primary);
    }

    .home-blog .card p {
      margin-top: auto;
    }

    /* --- ANIMATIONS --- */
    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* --- RESPONSIVE DESIGN --- */
    @media (max-width: 1024px) {
      .hero-content h1 {
        font-size: 2.8rem;
      }
      
      .slider {
        height: 75vh;
      }
    }

    @media (max-width: 768px) {
      .nav .menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        z-index: 1000;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
      }
      
      .nav .menu.active {
        right: 0;
      }
      
      .nav-toggle {
        display: block;
        z-index: 1001;
      }
      
      .hero-content {
        padding-left: 20px;
        padding-right: 20px;
        text-align: center;
      }
      
      .hero-content h1 {
        font-size: 2.2rem;
      }
      
      .hero-content p {
        font-size: 1.1rem;
      }
      
      .cta-row {
        justify-content: center;
      }
      
      .slider {
        height: 65vh;
        min-height: 450px;
      }
      
      .slider .nav {
        width: 40px;
        height: 40px;
      }
      
      .section-title {
        font-size: 2rem;
      }
    }

    @media (max-width: 480px) {
      .hero-content h1 {
        font-size: 1.8rem;
      }
      
      .cta-row {
        flex-direction: column;
        align-items: center;
      }
      
      .slider {
        height: 60vh;
        min-height: 400px;
      }
      
      .cards {
        grid-template-columns: 1fr;
      }
      
      .brand-text {
        font-size: 1.2rem;
      }
    }
    
    /* --- FOOTER --- */
.footer {
  background: var(--dark);
  color: white;
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand p {
  color: #94a3b8;
  margin-top: 15px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-column h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 3px;
  background: var(--primary);
}

.footer-column a {
  display: block;
  color: #94a3b8;
  margin-bottom: 12px;
  text-decoration: none;
  transition: var(--transition);
}

.footer-column a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 20px;
  text-align: center;
  color: #94a3b8;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}


