/* Full-page gradient background */
body {
    margin: 0;
    height: 100vh;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Arial, sans-serif;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: auto;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    z-index: 1000;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: #ffd700;
}

/* Mobile toggle button */
.nav-toggle {
    display: none;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
}

@media (max-width: 100%) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -250px;
        height: 100%;
        width: 250px;
        background: rgba(0,0,0,0.9);
        flex-direction: column;
        gap: 30px;
        justify-content: center;
        align-items: center;
        padding-top: 80px;
        overflow-y: auto;
        transition: right 0.3s ease;
    }

    .nav-links.active {
        right: auto;
    }

    .nav-toggle {
        display: block;
    }
}

.hero {
    display: flex;
    justify-content: flex-start; /* push to left */
    padding: 40px;
}


/* Profile box */
.profile-box {
    display: flex;
    align-items: flex-start;
    background: transparent;
    border-radius: 16px;
    padding: 30px;
    max-width: 900px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* Profile image */
.profile-pic {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 25px;
    border: 4px solid #4a3aff; /* accent border */
}

/* Text styling */
.profile-info h1 {
    margin: 0;
    font-size: 2rem;
    color: #222;
}

.profile-info h3 {
    margin: 5px 0 15px;
    color: #2115a5;
    font-weight: normal;
    font-size: 1.2rem;
}

.profile-info p {
    margin: 0;
    color: #333;
    line-height: 1.6;
    font-size: 1rem;
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: auto;
    padding-top: 200px;
  }
  
  .project-card {
    background: rgba(255, 255, 255, 0.05); /* transparent, so background shows */
    border-radius: 30px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    backdrop-filter: blur(6px); /* subtle glass effect */
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: auto;
    color:#222;
  }
  
  .project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.4);
  }
  
  .project-card h2 {
    margin-bottom: 10px;
    color: #0a0a0a;
  }
  
  .project-card p {
    font-size: 14px;
    line-height: 1.5;
    color:#222;
  }
  
  .btn {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    color: white;
    background: linear-gradient(45deg, #4a00e0, #8e2de2); /* purple-blue gradient */
    font-size: 14px;
  }
  
  .btn:hover {
    background: linear-gradient(45deg, #3a00b8, #6d23b8);
  }
  
.project-image {
    width: 100px;       /* small size */
    height: 100px;
    border-radius: 30%; /* makes it circular */
    object-fit: cover;  /* keeps aspect ratio */
    margin-bottom: 15px;
    border: 3px solid rgba(255, 255, 255, 0.2); /* subtle border */
  }




  /* removables */

  /* global box-sizing (helps sizing be predictable) */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* useful CSS variables */
:root {
  --nav-height: 64px;      /* match your navbar height */
  --page-max-width: 1100px;
  --page-padding: 40px;
}

/* make sure the navbar has a defined height */
.navbar {
  height: var(--nav-height);
}

/* PAGE CONTENT: wrapper for pages like Projects, Skills, Contact */
.page-content {
    margin-top: var(--nav-height);  /* ensures the whole page begins below navbar */
    width: 100%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding: 10px 20px 20px;        /* page spacing */
    color: #fff;
  }
/* headings and base typography inside page-content */
.page-content h1 {
  margin: 0 0 18px;
  font-size: 2rem;
  color: #050505;
}

.page-content p,
.page-content ul,
.page-content ol {
  color: rgba(7, 7, 7, 0.95);
  line-height: 1.6;
  margin: 0 0 20px;
}

/* small helper: section containers inside page content */
.section {
  margin-bottom: 40px;
}

/* Projects container spacing tweak */
.projects-container {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 50px;
}

/* adjust card and thumb sizing if needed */
.project-card {
  padding: 18px;
  text-align: center;
}

/* smaller thumbnails on narrow screens */
@media (max-width: 768px) {
  :root { --page-padding: 20px; }

  .page-content {
    padding: calc(var(--nav-height) + 18px) var(--page-padding) 40px;
  }

  .project-thumb {
    width: 80px;
    height: 80px;
  }
}

.page-content {
    display: flex;
    padding: auto;
}



.projects-container {
    margin-top: var(--nav-height);  /* ensures the whole page begins below navbar */
    width: 100%;
    max-width: 1100px;
    margin-left: 20px;
    margin-right: 20px;
    padding: 40px 20px 60px;        /* page spacing */
    color: #fff;
  }

.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  align-items: stretch; /* ensures all cards stretch to same row height */
}

.project-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* space text/image evenly */
  min-height: 320px;   /* set a baseline height */
}

.project-thumb {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 15px;
}



.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 70px;
  justify-content: center;
}

.skill-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  color: #050505;
}

.skill-card h2 {
  margin-top: 0;
  font-size: 1.3rem;
  color: #6a9cf8;
}

.skill-card ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

.skill-card li {
  margin-bottom: 8px;
}
.page-con {
justify-content: flex-end;
}