/* --- Global Styles & Variables --- */
:root {
    --bg-color: #121212;
    --primary-color: #1e1e1e;
    --font-color: #e0e0e0;
    --accent-color: white;
    --card-bg: #1f1f1f;
    --border-color: #2a2a2a;
}
.hidden {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.show {
  opacity: 1;
  transform: translateY(0);
}

.blob {
  position: absolute;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  top: calc(20% * var(--i));
  left: calc(20% * var(--i));
  animation: float 8s ease-in-out infinite alternate;
}

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


body {
    margin: 0;
    padding-bottom: 85px;
    min-height: 10vh;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
     background-color: var(--bg-color);

    color: var(--font-color);
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;

    background-image: radial-gradient(
        circle at var(--x) var(--y), /* Position of the gradient */
        rgba(255, 255, 255, 0.04) 0%,      /* Bright inner color */
        rgba(255, 255, 255, 0) 35%       /* Fades to transparent */
    );
}


h1, h2, h3, h4 {
    margin: 0;
    font-weight: 600;
}

h3 {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
    text-align: center;
}

section {
    padding: 4rem 2rem;
}

main {
    max-width: 1000px;
    margin: 0 auto;
}

/* --- Header & Hero Section --- */
#hero {
    min-height: 95vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);

}

.translucent-box{
    transition: 90ms;
    max-width: 850px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.09);

    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    padding: 30px;
    color: white;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

}

.translucent-box:hover {
    transition: 120ms;
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}

.hero-content .name {
    font-size: 3.5rem;
    color: #ffffff;
}

.hero-content .title {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin: 0.5rem 0 1.5rem 0;
}

.hero-content .tagline {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem auto;
    color: var(--font-color);
    opacity: 0.8;
}

.social-links a {
    color: var(--font-color);
    font-size: 1.8rem;
    margin: 0 1rem;
    transition: color 0.3s, transform 0.3s;
}

.social-links a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}
/* --- Projects Section --- */
#about {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* --- Skills Section --- */
#skills {
     border-bottom: 1px solid rgba(255, 255, 255, 0.2);

}
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;

}

.skill-category h4 {
    font-size: 1.2rem;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

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

.skill-category li {
    background-color: var(--card-bg);
    padding: 0.5rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: 5px;
    border-left: 3px solid var(--accent-color);
}

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


.project-tags {
    margin: 1rem 0;
}

.project-tags span {
    background-color: #333;
    color: var(--accent-color);
    padding: 0.3rem 0.7rem;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-right: 0.5rem;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.project-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: bold;
    align-self: flex-start;
}

.project-link i {
    transition: transform 0.3s;
}

.project-link:hover i {
    transform: translateX(5px);
}

.resume-section {
  text-align: center;
  margin: 60px auto;
  max-width: 900px;
  padding: 20px;
}

.resume-preview {
  border: 2px solid #333;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.resume-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.btn {
  background: #0078ff;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn:hover {
  background: #005fcc;
}

.btn.outline {
  background: transparent;
  border: 2px solid #0078ff;
  color: #0078ff;
}

.btn.outline:hover {
  background: #0078ff;
  color: white;
}


/* --- Footer --- */
footer {
    text-align: center;
    padding: 2rem;
    background-color: var(--primary-color);
    font-size: 0.9rem;
}

.contact-info {
    margin-top: 1rem;
}

.contact-info span {
    margin: 0 1rem;
    opacity: 0.7;
}

.contact-info i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

.bottom-nav {
   position: fixed;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    max-width: 400px;
    background-color: rgba(30, 30, 30, 0.3);
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-radius: 20px;
    padding: 5px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--font-color);
    text-decoration: none;
    padding: 0.5rem;
    transition: color 0.3s, transform 0.3s;
    opacity: 0.7;
}

.nav-link:hover {
    color: var(--accent-color);
    opacity: 1;
    transform: translateY(-3px);
}

.nav-link i {
    font-size: 1.2rem; /* Icon size */
}

.nav-link .nav-text {
    font-size: 0.7rem; /* Text size */
    margin-top: 4px;
}



/* mobile*/
@media (max-width: 768px) {
     h3 {
        font-size: 1.8rem;
    }
    .hero-content .name {
        font-size: 2.5rem;
    }
    .hero-content .title {
        font-size: 1.2rem;
    }
    section {
        padding: 3rem 1rem;
    }
   .bottom-nav {
    position: fixed;
    padding: 12px;
    align-self: center;

  }

  .nav-link .nav-text {
    display: none;
  }

  .nav-link i {
    font-size: 1.5rem;
  }


@media (pointer: coarse) {

  .custom-cursor {
    display: none;
  }

  body, a, button {
    cursor: auto;
  }

}

}
