/* Colors and typography */
:root {
  --primary-color: #003366;
  --secondary-color: #4caf50;
  --background-color: #f4f4f9;
  --text-color: #333;
  --light-text-color: #fff;
  --global-gradient: linear-gradient(
    135deg,
    rgba(0, 197, 255, 0.85) 0%,
    rgba(17, 24, 39, 0.95) 35%,
    rgba(124, 58, 237, 0.92) 100%
  );
}

body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  background: var(--global-gradient);
  background-attachment: fixed;
  color: var(--light-text-color);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

nav {
  background-color: var(--primary-color);
  position: fixed;
  top: 0;
  width: 100%;
  text-align: center;
  z-index: 1000;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;

  justify-content: space-between;

  padding: 15px 20px;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
}

nav ul li {
  margin: 0 20px;
}

nav ul li a {
  color: var(--light-text-color);
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s, transform 0.3s;
}

nav ul li a:hover {
  color: var(--secondary-color);
  transform: scale(1.05);
}

section .profile-pic {
  border-radius: 50%;
  width: 200px;

  height: 220px;

  object-fit: cover;
  object-position: top;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.2));
  animation: fadeIn 1.5s ease;
}

.content-container {
  padding: 100px 20px;
}

.tab-content {
  display: none;
  padding: 50px 0;
  max-width: 900px;
  margin: 0 auto;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.8s ease-in-out;
}

/* Ensure headings remain readable on dark gradient background */
.tab-content h1,
.tab-content h2,
.tab-content h3 {
  color: var(--light-text-color) !important;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

footer {
  background-color: var(--primary-color);
  color: var(--light-text-color);
  text-align: center;
  padding: 10px;
  margin-top: auto;
}

@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
  }

  nav ul li {
    margin: 10px 0;
  }

  header {
    padding: 50px 0;
  }

  .profile-pic {
    width: 120px;
    height: 120px;
  }
}

.text-center {
  text-align: center;
}

.text-justify {
  text-align: justify;
}

.text-left {
  text-align: left;
}

/* Hero (About Me) */
.hero {
  max-width: 100%;
  margin: 0;
  padding: 110px 0 60px;
  background: linear-gradient(
    135deg,
    rgba(0, 197, 255, 0.85) 0%,
    rgba(17, 24, 39, 0.95) 35%,
    rgba(124, 58, 237, 0.92) 100%
  );
  color: var(--light-text-color);
}

.hero-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-content {
  padding-top: 10px;
}

.hero .profile-pic {
  width: 200px;
  height: 220px;
  border-radius: 50%;
  filter: drop-shadow(0 0 12px rgba(0, 0, 0, 0.35));
}

.hero h2 {
  color: var(--light-text-color);
}

.hero p {
  color: rgba(255, 255, 255, 0.95);
}

.hero-cta .btn {
  font-weight: 600;
  border-radius: 10px;
}

/* Projects tech chips */
.tech-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.tech-chip {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--light-text-color);
}
