:root {
      --primary: #2563eb;
      --secondary: #0f172a;
      --accent: #38bdf8;
      --bg: #f8fafc;
      --text: #1e293b;
      --muted: #64748b;
      --card: #ffffff;
    }

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

    body {
      font-family: 'Inter', sans-serif;
      background: var(--bg);
      color: var(--text);
      line-height: 1.6;
      background-color: #9aafcc;
    }

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

    /* Layout */
    .container {
     max-width: 1200px;
      margin: 0 auto;
      padding: 0 40px;
     
    }
   
    /* Header */
    header {
      background: linear-gradient(135deg, var(--secondary), #020617);
      color: #fff;
      padding: 80px 0 100px;
      overflow: hidden;
      position: relative;
    }
    
    html{
      scroll-behavior: smooth;
    }
    
    nav {
      display: flex;
      justify-content: space-between; 
      align-items: end;
      margin-bottom: 60px;
    }

    .logo {
      font-size: 2.5rem;
      font-weight: 700;
      letter-spacing: 0.5px;
      color: #38bdf8;
    }

    nav ul {
      display: flex;
      flex-wrap: wrap;
      list-style: none;
      gap: 16px;
    }

    nav ul li a {
      font-size: 0.95rem;
      font-weight: 500;
      color: #e5e7eb;
      transition: all 0.3s ease;
      padding: 10px 20px;
      border-radius: 8px;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.1);
      display: block;
    }

    nav ul li a:hover {
      color: var(--accent);
      background: rgba(56, 189, 248, 0.15);
      border-color: var(--accent);
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(56, 189, 248, 0.3);
    }

    /* Hero Grid Layout */
    .hero-wrapper {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 60px;
      align-items: center;
      max-width: 1200px;
      margin: 0 auto;
    }

    .hero-content {
      max-width: 600px;
    }

    .hero-content h1 {
      font-size: 3rem;
      font-weight: 700;
      margin-bottom: 20px;
      line-height: 1.2;
    }

    .hero-content h1 span {
      color: var(--accent);
    }

    .hero-content p {
      font-size: 1.1rem;
      color: #cbd5f5;
      margin-bottom: 30px;
      line-height: 1.7;
    }

    .hero-content .buttons {
      display: flex;
      gap: 16px;
    }
    
    .btn {
      padding: 14px 28px;
      border-radius: 150px;
      font-size: 0.95rem;
      font-weight: 500;
      transition: all 0.4s ease;
      display: inline-block;
    }

    .btn-primary {
      background: var(--primary);
      color: #fff;
    }

    .btn-primary:hover {
      background: #ffffff;
      color: #000000;
      font-weight: 600;
      transform: translateY(-2px);
      box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
    }

    .btn-outline {
      border: 2px solid #94a3b8;
      color: #e5e7eb;
    }

    .btn-outline:hover {
      font-weight: 600;
      background: #ffffff;
      color: #000000;
      transform: translateY(-2px);
    }

    /* Hero Visual - Profile Image */
    .hero-visual {
      position: relative;
      height: 450px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .profile-image-wrapper {
      position: relative;
      width: 350px;
      height: 350px;
      border-radius: 50%;
      overflow: hidden;
      border: 4px solid rgba(56, 189, 248, 0.5);
      box-shadow: 0 20px 60px rgba(56, 189, 248, 0.4);
      
    }

    .color{
        color:#38bdf8 ;
    }
    

    .profile-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 15%;

    }

    .profile-image-wrapper::before {
      content: '';
      position: absolute;
      inset: -4px;
      border-radius: 50%;
      padding: 4px;
      background: linear-gradient(45deg, var(--accent), var(--primary), #8b5cf6);
      -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      -webkit-mask-composite: xor;
      mask-composite: exclude;
     
    }

    .profile-image-wrapper img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    /* Fallback if no image */
    .profile-placeholder {
      width: 100%;
      height: 100%;
      background: linear-gradient(135deg, rgba(37, 99, 235, 0.3), rgba(56, 189, 248, 0.3));
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 6rem;
      color: rgba(255, 255, 255, 0.8);
      font-weight: 700;
    }

    @keyframes rotate {
      0% {
        transform: rotate(0deg);
      }
      100% {
        transform: rotate(360deg);
      }
    }

    @keyframes float {
      0%, 100% {
        transform: translateY(0px);
      }
      50% {
        transform: translateY(-20px);
      }
    }

    @keyframes pulse {
      0%, 100% {
        opacity: 0.6;
        transform: scale(1);
      }
      50% {
        opacity: 1;
        transform: scale(1.1);
      }
    }

    @keyframes pulse-line {
      0%, 100% {
        opacity: 0.3;
      }
      50% {
        opacity: 0.8;
      }
    }

    /* Sections */
    section {
      padding: 80px 0;
    }

    section h2 {
      font-size: 2.5rem;
      margin-bottom: 12px;
      color: var(--secondary);
      text-align: center;
    }

    section .subtitle {
      margin-bottom: 50px;
      max-width: 600px;
      text-align: center;
      margin-left: auto;
      margin-right: auto;
      color: var(--muted);
      font-size: 1.05rem;
    }

    #about .container {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
    }

    #about p {
      max-width: 800px;
      margin: 0 auto;
      color: var(--text);
    }

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

    .skill-card {
      background: var(--card);
      background-color: #b6c7c9;
      border-radius: 12px;
      padding: 24px;
      box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    }

    .skill-card h3 {
      font-size: 1.1rem;
      margin-bottom: 10px;
      color: var(--primary);
    }

    .skill-card p {
        color: #151515;
      font-size: 0.95rem;
      
    }

    .skill-card:hover {
      transition: transform 0.6s ease;
      transform: translateY(-6px);
    }

    /* Projects */
    .projects-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 24px;
    }

    .project-card {
      background-color: #b6c7c9;
      border-radius: 14px;
      padding: 28px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.06);
      transition: transform 0.3s ease;
    }

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

    .project-card h3 {
      margin-bottom: 12px;
      color: var(--secondary);
    }

    .project-card p {
      font-size: 0.95rem;
      color: #000000;
      margin-bottom: 16px;
    }

    .project-card .tags {
      font-size: 0.85rem;
      font-weight: 600;
      color: var(--primary);
      display: block;
      margin-bottom: 12px;
    }

    .project-github {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 0.85rem;
      font-weight: 500;
      color: var(--muted);
      transition: all 0.25s ease;
      padding: 6px 12px;
      border-radius: 8px;
      border: 1px solid #000000;
    }

    .project-github svg {
      width: 16px;
      height: 16px;
      fill: currentColor;
    }

    .project-github:hover {
      color: #ffffff;
      background-color: #000000;
    }

    /* Contact */
    .contact-card {
      background: linear-gradient(135deg, var(--secondary), #020617);
      border-radius: 20px;
      padding: 50px 40px;
      color: #e5e7eb;
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    }

    .contact-text {
      max-width: 700px;
      margin: 0 auto 36px;
      text-align: center;
      font-size: 1rem;
      color: #cbd5f5;
    }

    .social-grid {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 18px;
    }

    .social-btn {
      padding: 14px 22px;
      border-radius: 14px;
      background: rgba(255,255,255,0.06);
      color: #e5e7eb;
      font-weight: 600;
      font-size: 0.95rem;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      min-width: 150px;
      transition: all 0.3s ease;
      border: 1px solid rgba(255,255,255,0.08);
    }

    .social-btn:hover {
      transform: translateY(-4px);
      background: rgba(255,255,255,0.12);
    }

    .social-btn.email:hover { color: #ef4444; }
    .social-btn.github:hover { color: #000000; background: #ffffff; }
    .social-btn.linkedin:hover { color: #0a66c2; background: #ffffff; }
    .social-btn.instagram:hover { color: #e1306c; background: #ffffff; }
    .social-btn.whatsapp:hover { color: #25d366; background: #ffffff; }

    /* Footer */
    footer {
      padding: 30px 0;
      text-align: center;
      font-size: 0.85rem;
      color: var(--muted);
    }

    /* Responsive */
    @media (max-width: 968px) {
      .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
      }
      
      .hero-visual {
        height: 350px;
      }
      
      .hero-content h1 {
        font-size: 2.5rem;
      }
    }

    @media (max-width: 768px) {
      .hero-content h1 {
        font-size: 2rem;
      }
      
      nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
      }
      
      .logo {
        font-size: 2rem;
      }
      
      nav ul {
        gap: 16px;
      }
      
      .node {
        width: 60px;
        height: 60px;
      }
      
      .node:nth-child(5) {
        width: 80px;
        height: 80px;
      }
    }

    footer{
        color: #000000;
    }
