* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: radial-gradient(circle at top left, #2b124c, #0b0f14 30%);
  color: #eaeaea;
  line-height: 1.6;
}



nav {
  display: flex;
  justify-content: space-between;
  padding: 15px 40px;
  background: #111;
  position: sticky;
  top: 0;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 20px;
}

nav a {
  color: #fff;
  text-decoration: none;
}

.hero {
  height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #0b0f14, #1b263b);
  text-align: center;
  animation: fadeIn 1.5s ease;
}

.btn {
  margin-top: 20px;
  padding: 10px 20px;
  background: #00b4d8;
  color: #000;
  text-decoration: none;
  border-radius: 5px;
}

section {
  padding: 60px 40px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.grid span,
.card {
  background: #161b22;
  padding: 15px;
  border-radius: 6px;
  transition: transform 0.3s;
}

.card:hover,
.grid span:hover {
  transform: translateY(-5px);
}

footer {
  text-align: center;
  padding: 20px;
  background: #111;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}




.about-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 100px 40px;

}

.about-section h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
}

.about-intro {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 18px;
  color: #e5e7eb;
}

.about-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 35px;
  color: #cbd5f5;
}

.about-subtitle {
  font-size: 1.3rem;
  margin-bottom: 18px;
  color: #a855f7;
}

.about-list {
  list-style: none;
  padding-left: 0;
}

.about-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 14px;
  line-height: 1.6;
  color: #d1d5db;
}

.about-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #a855f7;
  font-size: 1.2rem;
}


.skills-section {


  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.skills-subtitle {
  margin: 40px 0 20px;
  font-size: 1.3rem;
  color: #a855f7;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.skills-grid span {
  background: #161b22;
  padding: 16px 18px;
  border-radius: 8px;
  font-size: 0.95rem;
  color: #e5e7eb;
}







.skills-grid span {
  position: relative;
  cursor: help;
}

/* Tooltip bubble */
.skills-grid span::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%);
  background: #0b0f14;
  color: #e5e7eb;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.85rem;
  line-height: 1.4;
  width: max-content;
  max-width: 260px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 10;
}

/* Tooltip arrow */
.skills-grid span::before {
  content: "";
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: #0b0f14 transparent transparent transparent;
  opacity: 0;
  transition: opacity 0.25s ease;
}

/* Show tooltip on hover */
.skills-grid span:hover::after,
.skills-grid span:hover::before {
  opacity: 1;
}


.project-tags {
  margin: 12px 0 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.project-tags span {
  background: rgba(168, 85, 247, 0.12);
  color: #c4b5fd;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
}

.project-role {
  font-size: 0.85rem;
  color: #9ca3af;
  margin: 6px 0 10px;
}

.project-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}




.contact-section {
  padding: 100px 40px;
  max-width: 900px;
  margin: 0 auto;
}

.contact-intro {
  margin-top: 15px;
  margin-bottom: 40px;
  color: #cbd5f5;
  line-height: 1.6;
}

.contact-card {
  background: #161b22;
  padding: 30px;
  border-radius: 12px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-label {
  font-size: 0.85rem;
  color: #9ca3af;
  margin-bottom: 6px;
}

.contact-item a {
  color: #a855f7;
  font-size: 1rem;
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

.contact-cta {
  margin: 25px 0 35px;
  font-size: 1.05rem;
  font-weight: 500;
  color: #e5e7eb;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 20px;
  background: rgba(168, 85, 247, 0.12);
  color: #e5e7eb;
  font-size: 0.85rem;
  margin-bottom: 30px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.8);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.4);
    opacity: 0.6;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}


.pro a:hover {
  color: rgba(168, 85, 247, 0.2);
  transform: translateY(-2px);
}


nav {
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
}



.project-preview {
  margin-bottom: 18px;
  border-radius: 10px;
  overflow: hidden;
}

.project-preview img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.project-preview img:hover {
  transform: scale(1.03);
}



.project-proof {
  font-size: 0.8rem;
  color: #9ca3af;
  margin-bottom: 10px;
}



.soc-projects {
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.soc-project {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
}

.project-info h3 {
  font-size: 1.6rem;
  margin-bottom: 14px;
}

.project-desc {
  color: #cbd5f5;
  line-height: 1.6;
  margin-bottom: 18px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.project-tags span {
  background: rgba(168, 85, 247, 0.15);
  color: #c4b5fd;
  padding: 6px 14px;
  border-radius: 18px;
  font-size: 0.75rem;
}

.project-links {
  display: flex;
  gap: 20px;
  margin-bottom: 12px;
}

.project-links a {
  color: #a855f7;
  font-size: 0.9rem;
  text-decoration: none;
}

.project-proof {
  font-size: 0.8rem;
  color: #9ca3af;
  margin-bottom: 10px;
}

.project-role {
  font-size: 0.85rem;
  color: #9ca3af;
}

/* Screenshot box */
.project-preview {
  border-radius: 24px;
  padding: 14px;
  border: 2px solid rgba(255,255,255,0.15);
}

.project-preview img {
  width: 100%;
  height: auto;
  border-radius: 18px;
}

/* Responsive */
@media (max-width: 900px) {
  .soc-project {
    grid-template-columns: 1fr;
  }

  .project-preview {
    margin-top: 30px;
  }
}
.preview-hint {
  margin-top: 10px;
  font-size: 0.8rem;
  color: #9ca3af;
  text-align: center;
}
.project-preview a img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-preview a:hover img {
  transform: scale(1.02);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}


.logo img {
  height: 36px;          /* perfect for navbar */
  width: auto;
  object-fit: contain;
  display: block;
}

/* Optional: slight glow on hover */
.logo a:hover img {
  filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.6));
}



@media (max-width: 768px) {
  .logo img {
    height: 30px;
  }
}


.logo img {
  height: 42px;   /* was likely ~30–36 */
  width: auto;
}


nav {
  padding: 0 60px;
}


nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}


.logo a:hover img {
  filter: drop-shadow(0 0 6px rgba(168, 85, 247, 0.4));
}


@media (max-width: 768px) {
  .logo img {
    height: 34px;
  }

  nav {
    padding: 0 20px;
  }
}


/* =========================
   MOBILE RESPONSIVE STYLES
   ========================= */

@media (max-width: 768px) {

  body {
    overflow-x: hidden;
  }

  section {
    padding: 70px 20px;
  }
}
@media (max-width: 768px) {

  nav {
    padding: 14px 20px;
  }

  .logo img {
    height: 36px;   /* signature still visible */
  }

  .nav-links {
    gap: 18px;
  }

  .nav-links a {
    font-size: 0.95rem;
  }
}
@media (max-width: 768px) {

  .hero h1 {
    font-size: 1.9rem;
    line-height: 1.3;
  }

  .hero p {
    font-size: 0.95rem;
    margin-top: 14px;
  }
}
@media (max-width: 768px) {

  .skills-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .skills-grid span {
    text-align: center;
  }
}
@media (max-width: 900px) {

  .soc-project {
    grid-template-columns: 1fr;
  }

  .project-preview {
    margin-top: 25px;
  }

  .project-links {
    flex-direction: column;
    gap: 12px;
  }

  .project-links a {
    width: fit-content;
  }
}
@media (max-width: 768px) {

  .project-preview {
    padding: 10px;
    border-radius: 18px;
  }

  .project-preview img {
    border-radius: 14px;
  }

  .preview-hint {
    font-size: 0.75rem;
  }
}
@media (max-width: 768px) {

  .contact-card {
    padding: 24px;
  }

  .contact-item a {
    font-size: 0.95rem;
    word-break: break-word;
  }

  .resume-link a {
    width: 100%;
    text-align: center;
  }
}


nav {
  position: sticky;
  top: 0;
  z-index: 1000;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 16px 60px;

  background: rgba(10, 15, 25, 0.6); /* transparent dark */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-links a {
  color: #ffffff;
  font-weight: 500;
}
.nav-links a:hover {
  color: #a855f7;
}
@media (max-width: 768px) {
  nav {
    padding: 14px 20px;
    backdrop-filter: blur(8px);
  }
}
nav.scrolled {
  background: rgba(10, 15, 25, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}


@media (max-width: 768px) {

  nav {
    flex-wrap: wrap;
  }

  .nav-links {
    width: 100%;
    margin-top: 12px;

    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
  }

  .nav-links a {
    font-size: 0.9rem;
    white-space: nowrap;
  }
}
@media (max-width: 768px) {
  .nav-links {
    justify-content: center;
  }


}
@media (max-width: 768px) {
  .content h1 {
    font-size: 2rem;


  }
  .content p {
    font-size: 0.6rem;
  }
  .bod {
    justify-content: space-around;
  }
}






.border{
  border: 0.5px dotted rgb(134, 126, 126);
  border-radius: 9px;
  

}







.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #0f172a;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    font-size: 20px;
}

.slide-btn.left {
    left: 10px;
}

.slide-btn.right {
    right: 10px;
}

.slide-btn:hover {
    background: #1e293b;
}





.soc-project {
    background: #020617;
    border-radius: 16px;
    padding: 20px;
    transition: transform 0.3s ease;
}

.soc-project:hover {
    transform: scale(1.02);
}











.slider-container {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 10px;
}

.slider::-webkit-scrollbar {
    display: none;
}

.soc-project {
    min-width: 90%;
    flex: 0 0 auto;
}






.soc-project {
    min-width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
}




.slider {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
}

.soc-project {
    scroll-snap-align: center;
}





.soc-project {
    min-width: 80%;
    margin: 0 auto;
    scroll-snap-align: center;
}





