:root {
  --bg: #0a0a0c;
  --card-bg: rgba(255, 255, 255, 0.05);
  --primary: #6366f1;
  --secondary: #a855f7;
  --text: #f8fafc;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.background-blobs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(
      circle at 10% 20%,
      rgba(99, 102, 241, 0.15) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 90% 80%,
      rgba(168, 85, 247, 0.15) 0%,
      transparent 40%
    );
  z-index: -1;
}

.glass-nav {
  position: fixed;
  width: 100%;
  padding: 1.5rem 10%;
  display: flex;
  justify-content: space-between;
  backdrop-filter: blur(10px);
  background: rgba(10, 10, 12, 0.7);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo span {
  color: var(--primary);
  font-weight: bold;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}
.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  transition: 0.3s;
}
.nav-links a:hover {
  color: var(--primary);
}

.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 10%;
}

.gradient-text {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.badge {
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  border: 1px solid var(--primary);
}

h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin: 1rem 0;
}

.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3rem;
  border-radius: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 0 10%;
}

.project-card {
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: 20px;
  transition: transform 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.project-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
}

.card-img {
  height: 200px;
  background: #1e1e24;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.btn-primary {
  background: var(--primary);
  color: white;
  padding: 12px 28px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
}

.btn-secondary {
  background: transparent;
  color: white;
  padding: 12px 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  margin-left: 1rem;
  cursor: pointer;
}

.hidden {
  display: none;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}
input,
textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 8px;
  color: white;
}

.section {
  position: relative;
  padding: 100px 10%;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

#home {
  background-image:
    linear-gradient(rgba(10, 10, 12, 0.8), rgba(10, 10, 12, 0.8)),
    url("https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=2072");
}

#about {
  background-image:
    linear-gradient(rgba(10, 10, 12, 0.85), rgba(10, 10, 12, 0.85)),
    url("https://images.unsplash.com/photo-1498050108023-c5249f4df085?q=80&w=2072");
}

#projects {
  background-image:
    linear-gradient(rgba(10, 10, 12, 0.9), rgba(10, 10, 12, 0.9)),
    url("https://images.unsplash.com/photo-1555066931-4365d14bab8c?q=80&w=2070");
}

#resume {
  background-image:
    linear-gradient(rgba(10, 10, 12, 0.8), rgba(10, 10, 12, 0.8)),
    url("https://images.unsplash.com/photo-1517694712202-14dd9538aa97?q=80&w=2070");
}

#contact {
  background-image:
    linear-gradient(rgba(10, 10, 12, 0.85), rgba(10, 10, 12, 0.85)),
    url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?q=80&w=2070");
}

.btn-primary {
  background: var(--primary);
  color: white;
  padding: 12px 28px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
}

.profile-pic {
  width: 120px;
  height: 120px;

  object-fit: cover;
  border-radius: 50%;

  /* Modern styling */
  border: 2px solid var(--primary);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.3);

  margin-bottom: 10px;
}

.project-link-wrapper {
  text-decoration: none;
  color: inherit;
  display: block;
}

.project-card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.card-img-holder {
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.project-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.card-content {
  padding: 1.5rem;
  text-align: left;
}

.card-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.hobby-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  text-align: left;
  display: inline-block;
}

.hobby-list li {
  margin-bottom: 10px;
  font-size: 1rem;
  color: #ccc;
}

.contact-section {
  text-align: center;
  padding: 80px 10%;
}

.contact-container {
  max-width: 700px;
  margin: 0 auto;
}

.contact-section h2 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.subtitle {
  color: #ccc;
  margin-bottom: 3rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
  width: 100%;
}

.form-group label {
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  max-width: 600px;
  background: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 1rem;
  color: #333;
  font-family: inherit;
}

/* Yellow Button Fix */
.btn-send {
  background: #e1b12c;
  color: white;
  padding: 12px 40px;
  border: none;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  margin: 2rem 0;
  transition:
    transform 0.2s,
    background 0.3s;
}

.btn-send:hover {
  background: #f1c40f;
  transform: scale(1.05);
}

.contact-details {
  margin-top: 2rem;
  font-size: 1rem;
}

.contact-details p {
  margin: 0.5rem 0;
}

.btn-text {
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary);
  padding: 10px 25px;
  border: 1px solid var(--primary);
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  font-family: inherit;
  transition: all 0.3s ease;
  margin-top: 20px;
}

.btn-text:hover {
  background: var(--primary);
  color: white;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
  transform: scale(1.05);
}

.btn-text {
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary);
  border: 1px solid var(--primary);
  padding: 10px 25px;
  border-radius: 50px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  margin-top: 20px;
  transition: all 0.3s ease;
}

.btn-text:hover {
  background: var(--primary);
  color: white;
  box-shadow: 0 0 15px rgba(3, 3, 3, 0.4);
}

.btn-group .btn-primary + .btn-primary {
  margin-left: 1rem;
}

.btn-primary {
  background: var(--primary);
  color: white;
  padding: 12px 28px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
  
  display: inline-block;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
  vertical-align: middle;
}

.hero .btn-primary + .btn-primary {
  margin-left: 1rem;
}