/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", "Segoe UI", sans-serif;
  }
  
  body {
    background: #0a0a0f;
    color: #e4e4e7;
    overflow-x: hidden;
  }
  
  /* Header */
  header {
    background: rgba(20, 20, 30, 0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 200, 255, 0.2);
    box-shadow: 0 3px 15px rgba(0, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  nav {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
  }
  
  nav .logo {
    font-size: 1.7em;
    font-weight: bold;
    background: linear-gradient(90deg, #00f2fe, #4facfe, #00f2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1.5px;
    text-transform: uppercase;
  }
  
  nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
  }
  
  nav ul li a {
    text-decoration: none;
    font-weight: 500;
    color: #e4e4e7;
    transition: 0.3s;
    position: relative;
  }
  
  nav ul li a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(90deg, #00f2fe, #4facfe);
    transition: width 0.4s;
  }
  
  nav ul li a:hover::after {
    width: 100%;
  }
  
  nav ul li a:hover,
  nav ul li a.active {
    color: #00f2fe;
  }
  
  /* Portfolio Section */
  .portfolio {
    padding: 80px 20px;
    text-align: center;
    animation: fadeIn 1s ease-in-out;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  .portfolio h1 {
    font-size: 2.8em;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #00f2fe, #4facfe, #00f2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textGlow 2s infinite alternate;
  }
  
  @keyframes textGlow {
    from { text-shadow: 0 0 8px #00f2fe, 0 0 12px #4facfe; }
    to { text-shadow: 0 0 20px #00f2fe, 0 0 35px #4facfe; }
  }
  
  .portfolio p {
    color: #aaa;
    margin-bottom: 50px;
    font-size: 1.1em;
  }
  
  /* Grid Layout */
  .portfolio-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
  }
  
  /* Card */
  .card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 255, 255, 0.15);
    overflow: hidden;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    opacity: 0;
    transform: translateY(40px);
    animation: cardFade 1s forwards;
  }
  
  @keyframes cardFade {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .card:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: 0 10px 40px rgba(0, 255, 255, 0.3);
  }
  
  .card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.6s ease;
  }
  
  .card:hover img {
    transform: scale(1.15);
  }
  
  .card-content {
    padding: 20px;
    text-align: left;
  }
  
  .card-content h3 {
    margin-bottom: 10px;
    font-size: 1.3em;
    color: #fff;
  }
  
  .card-content p {
    font-size: 0.95em;
    color: #ccc;
    margin-bottom: 15px;
  }
  
  /* Futuristic Button */
  .btn {
    display: inline-block;
    padding: 12px 20px;
    background: linear-gradient(90deg, #00f2fe, #4facfe);
    color: #fff;
    border-radius: 8px;
    font-size: 0.95em;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: background 0.4s, transform 0.3s;
  }
  
  .btn:hover {
    background: linear-gradient(90deg, #4facfe, #00f2fe);
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.6);
  }
  
  .btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.5), transparent);
    transition: 0.6s;
  }
  
  .btn:hover::before {
    left: 100%;
  }
  