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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: #000000;
}

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

nav {
    background: rgba(44, 62, 80, 0.1);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

nav h1 {
    font-size: 1.5rem;
}

nav ul {
    display: flex;
    list-style: none;
}

nav li {
    margin-left: 2rem;
}

nav a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

nav a:hover {
    color: #3498db;
}

#hero {
    position: relative;
    background: linear-gradient(135deg, #0C5776 0%, #2D99AE 100%);
    color: white;
    padding: 150px 0 100px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(2,6,23,0.6);
    overflow: hidden;
}
#hero canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;          /* background layer */
}
.hero-content {
    position: relative;
    z-index: 1;          /* keep text above stars */
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

section {
    padding: 80px 0;
}

section:nth-child(even) {
    background: #000000;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #4bcaee;
}

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

.project-card {
    background: #111827;
    padding: 2rem;
    border-radius: 1px;
    border: #1f2937 1px solid;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: background 0.3s;
}

.project-card:hover {
    background: #1f2c47;
}

.project-card h3 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.project-card:hover h3 {
    color: #4bcaee;
    margin-bottom: 1rem;
}
.project-card p {
    color: #D1D5DB;
}
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.skill-category {
    background: #111827;
    padding: 2rem;
    border-radius: 1px;
    border: #1f2937 1px solid;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: background 0.3s;
}

.skill-category:hover {
    background: #1f2c47;
}

.skill-category h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    text-align: center;
}
.skill-category:hover h3 {
    color: #4bcaee;
}

.skill-category ul {
    list-style: none;
}

.skill-category li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    color: #D1D5DB;
}

.skill-category li:last-child {
    border-bottom: none;
}

.resume-section {
    margin-bottom: 2rem;
    background: #111827;
    padding: 2rem;
    border-radius: 1px;
    border: #1f2937 1px solid;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    color: #D1D5DB;
}

.resume-section h3 {
    color: #4bcaee;
    margin-bottom: 1rem;
    border-bottom: 2px solid #3498db;
    padding-bottom: 0.5rem;
}

/* container */
.contact-links {
    display: inline-flex;
    gap: 0.75rem;
    align-items: center;
    /* optional centering */
    /* justify-content: center; */
  }
  
  /* common button style */
  .social-link {
    margin-top: 15px;
    display: inline-flex;
    width: 38px;
    height: 38px;
    border-radius: 100%;         /* circular */
    background: #0b1220;         /* dark base */
    box-shadow: 0 6px 18px rgba(2,6,23,0.6);
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
    outline: none;
  }
  
  /* symbol / text inside */
  .social-link .icon {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    font-weight: 700;
    font-size: 18px;
    line-height: 1;
    color: #e6eef8;      /* pale copy color */
    text-transform: none; /* keep "in" and "GH" as-is */
    user-select: none;
  }
  
  /* hover & focus (same visual language) */ 
  /* small accent per item (keeps consistent style but gives a hint) */
  .social-link[href^="tel:"] .icon { letter-spacing: 0; }        /* phone (symbol used) */
  .social-link[href^="mailto:"] .icon { letter-spacing: 0; }     /* mail (symbol used) */
  
  .social-link[aria-label="LinkedIn"] {
    background: linear-gradient(180deg,#0f4c81,#0b3a63);
  }
  
  .social-link[aria-label="GitHub"] {
    background: url("gh1.webp") center/100% no-repeat #111219;
  }
  .social-link[aria-label="Email"] {
    background: url("tl.jpg") center/105% no-repeat #111219;
  }
  
  /* keyboard accessibility visible focus */
  .social-link:focus {
    box-shadow: 0 0 0 4px rgba(66,153,225,0.12), 0 12px 30px rgba(2,6,23,0.65);
  }
  
  /* small responsive tweak */
  @media (max-width:420px) {
    .social-link { width:44px; height:44px; }
    .social-link .icon { font-size:16px; }
  }
  


canvas{
    background: transparent;
    pointer-events: none;
}







footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem 0;
}


@media (max-width: 768px) {
    nav {
        padding: 0.5rem 0;
    }
    
    .nav-container {
        padding: 0 10px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    nav li {
        margin: 0;
    }
    
    nav a {
        font-size: 0.9rem;
        padding: 0.3rem 0.6rem;
    }
    
    #hero {
        padding: 120px 0 80px;
    }
    
    #hero canvas {
        width: 100vw;
        height: 100%;
        max-width: 100%;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .project-grid,
    .skills-grid {
        grid-template-columns: 1fr;
    }
}