/* Studio27 v7.4
 * Copyright 2022-2026 - Author Gnanavel Rajendran - 9677275437 */
 
html {
    scroll-behavior: smooth;
}


:root {
      --bg: #0f0f0f;
      --card: #161616;
      --text: #eaeaea;
      --muted: #b5b5b5;
      --accent: #4f9cff;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      background: var(--bg);
      color: var(--text)!important;
      line-height: 1.6;
    }

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

    /* Layout */
    section {
      padding: 80px 8%;
    }

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

    /* Hero */
    .hero {
      min-height: 90vh;
      display: flex;
      align-items: center;
      background: linear-gradient(180deg, #0f0f0f, #121212);
    }

    .hero h1 {
      font-size: 3rem;
      margin-bottom: 10px;
      animation: fadeUp 1s ease forwards;
    }

    header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 70px;
      background: rgba(15, 15, 15, 0.85);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid #1e1e1e;
      z-index: 1000;
    }

    .nav {
      max-width: 1100px;
      height: 100%;
      margin: auto;
      padding: 0 0%;
      display: flex;
      align-items: center;
      justify-content: flex-end; /* logo on right */
    }

    .logo img {
      height: 44px;
      transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .logo img:hover {
      transform: scale(1.05);
      opacity: 0.9;
    }

    .hero p {
      color: var(--muted);
      max-width: 600px;
      margin-bottom: 30px;
      animation: fadeUp 1.2s ease forwards;
    }

    .btn {
      display: inline-block;
      padding: 12px 28px;
      border-radius: 30px;
      background: var(--accent);
      color: #fff;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .btn:hover {
      transform: translateY(-3px);
      box-shadow: 0 10px 25px rgba(79,156,255,0.3);
    }

    /* Section titles */
    .title {
      font-size: 2rem;
      margin-bottom: 20px;
    }

    .subtitle {
      color: var(--muted);
      max-width: 700px;
      margin-bottom: 40px;
    }

    /* Services */
    .grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 20px;
    }

    .card {
      background: var(--card);
      padding: 25px;
      border-radius: 14px;
      transition: transform 0.3s ease, background 0.3s ease;
    }

    .card:hover {
      transform: translateY(-6px);
      background: #1c1c1c;
    }

    .card.imp{
        color: var(--text)!important;
    }

    /* Contact */
    .contact {
      background: #121212;
      border-top: 1px solid #1e1e1e;
    }

    .contact p {
      margin-bottom: 8px;
      color: var(--muted);
    }

    /* Footer */
    footer {
      padding: 30px 8%;
      background: #0b0b0b;
      color: var(--muted);
      text-align: center;
      font-size: 0.9rem;
    }

    /* Animations */
    @keyframes fadeUp {
      from {
        opacity: 0;
        transform: translateY(20px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }