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

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #0f172a;
  color: #e2e8f0;
  line-height: 1.6;
  min-height: 100vh;
}

header {
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
  color: white;
  text-align: center;
  padding: 3rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  position: relative;
}

.logo {
  font-size: 1.8rem;
  color: #100ec4;
  font-weight: 700;
  letter-spacing: 2px;
}

.clock {
  font-size: 0.8rem;
  background: #000;
  padding: 0.1rem 0.5rem;
  border: 3px solid #0f0;
  border-radius: 10px;
  box-shadow: 0 0 20px #0f0;
  position: absolute;
  top: 10px;
  right: 20px;
}

/* ---------------------- */
/* NAVBAR GENERAL STYLING */
/* ---------------------- */

.navbar {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #0d0d0d;
  padding: 15px 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.nav-container {
  width: 90%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.8rem;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 2px;
}

/* ---------------------- */
/* NAV LINKS (Desktop)    */
/* ---------------------- */

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links li {
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #f1f1f1;
  font-size: 1.1rem;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #00e1ff;
}

/* ---------------------- */
/* HAMBURGER BUTTON       */
/* ---------------------- */

.menu-toggle {
  display: none;
  cursor: pointer;
}

.menu-toggle .bar {
  width: 30px;
  height: 3px;
  background: #fff;
  margin: 6px 0;
  transition: 0.4s;
  border-radius: 3px;
}

/* Transform bars when active */
.menu-toggle.active .bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ---------------------- */
/* MOBILE RESPONSIVE MENU */
/* ---------------------- */

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 65px;
    left: 0;
    width: 100%;
    background: #111;
    flex-direction: column;
    text-align: center;
    padding: 20px 0;
    gap: 20px;
    opacity: 0;
    transform: translateY(-20px);
    transition: 0.4s ease;
  }

  .nav-links.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }
}

.container {
  max-width: 1000px;
  margin: auto;
  padding: 1rem;
}

section {
  margin-bottom: 3rem;
}


.email {
  display: inline-block;
  margin-top: 1rem;
  color: #fff;
  text-decoration: underline;
}

.skills-section {
  margin: 0 auto;
  background-color: #161b22;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #58a6ff;
}
.skill {
  margin-bottom: 28px;
}
.skill-header {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}
.skill-icon {
  width: 40px;
  height: 40px;
  margin-right: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.skill-name {
  font-size: 0.8rem;
  font-weight: 600;
  flex: 1;
}
.skill-level {
  font-size: 0.9rem;
  color: #8b949e;
}
.progress-bar {
  height: 14px;
  background-color: #30363d;
  border-radius: 7px;
  overflow: hidden;
  position: relative;
}
.progress {
  height: 100%;
  border-radius: 7px;
  transition: width 1.5s ease-out;
}
.beginner {
  background: linear-gradient(90deg, #f85149, #da3633);
  width: 40%;
}
.intermediate {
  background: linear-gradient(90deg, #ffa657, #f0883e);
  width: 65%;
}
.advanced {
  background: linear-gradient(90deg, #a5f3b0, #56d364);
  width: 85%;
}
.expert {
  background: linear-gradient(90deg, #6ee7b7, #16a34a);
  width: 95%;
}

/* Optional animation on load */
@keyframes fill {
  from {
    width: 0;
  }
}
.progress {
  animation: fill 1.8s ease-out forwards;
}
.project {
  background: #1e293b;
  padding: 1.5rem;
  margin-bottom: 0.2rem;
  border-left: 4px solid #38bdf8;
  border-radius: 8px;
  color: #ffff;
}

.project a {
  color: #93c5fd;
  text-decoration: none;
  font-weight: 500;
}

.project a:hover {
  color: #0ea5e9;
}
.projects-section h2 {
  margin-bottom: 30px;
  font-size: 32px;
}

.project-cards {
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: center;
}

.card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  width: 100%;
  padding: 20px;
  text-align: left;
  transition: 0.3s;
  margin-bottom: 1rem;
}
@media(max-width:850px) {
  .project-cards {
    display: block;
  }
}
.card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

.card h3 {
  font-size: 20px;
  margin: 10px 0;
  color: rgb(245,81,81);
}

.card p {
  font-size: 14px;
  color: #444;
}

.card a {
  display: inline-block;
  margin-top: 5px;
  color: #007bff;
  text-decoration: none;
  font-size: 14px;
}
.card:hover {
  transform: translateY(-5px);
}
/* Contact Section - Modern Glassmorphism Cards */
.contact {
  padding: 15rem 3rem;
  background: #0a0a0a;
  text-align: center;
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
}

.contact h2 {
  font-size: 36px;
  margin-bottom: 20px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #fff;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.social-card {
  width: 10rem;
  height: 10rem;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
  transition: all 0.3s ease;
}

.social-card:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  border-color: rgba(0, 234, 255, 0.5);
  background: rgba(0, 234, 255, 0.1);
}

.social-card img {
  width: 4rem;
  height: 4rem;
  filter: invert(1);
  transition: all 0.3s ease;
}

.social-card:hover img {
  transform: scale(1.2);
  filter: invert(1) drop-shadow(0 0 10px #00eaff);
}

.social-card span {
  margin-top: 10px;
  font-size: 14px;
  margin-left: 3px;
  transition: color 0.3s ease;
}

.social-card:hover span {
  color: #00eaff;
}

@media (max-width: 600px) {
  .social-links {
    gap: 25px;
  }
  .contact h2 {
    font-size: 28px;
  }
}

footer {
  text-align: center;
  padding: 2rem;
  background: #1e293b;
  color: #94a3b8;
  font-size: 0.9rem;
}