/* FONT */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* BACKGROUND FOR EVERY PAGE */
body {
  background: linear-gradient(to bottom right, #1e1b4b, #312e81);
  color: #f9fafb;
}

/* NAVBAR */
header {
  background: #111827;
  color: #f9fafb;
}

.navbar {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 700;
  font-size: 1.1rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.nav-links a {
  color: #e5e7eb;
  text-decoration: none;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: #38bdf8;
}

/* ABOUT PHOTO  */
.about-photo img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #2563eb;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* HOME SECTION */
.home-section {
  min-height: calc(100vh - 64px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 1rem; /* increased padding so background is visible */
}

.home-content {
  max-width: 700px;
  margin: 0 auto; /* centers the white box */
  background: rgba(255, 255, 255, 0.9); /* slightly transparent */
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15); /* stronger shadow so it pops */
}


.home-content h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.home-content p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.home-content,
.home-content h1,
.home-content p,
.home-content h2,
.home-content h3 {
  color: #111827 !important;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  border: none;
  background: #2563eb;
  color: white;
  text-decoration: none;
  font-size: 0.95rem;
  margin-right: 0.5rem;
}

.btn:hover {
  background: #1d4ed8;
}

.btn-secondary {
  background: #6b7280;
}

.btn-secondary:hover {
  background: #4b5563;
}


/* PROJECT CARDS */
.project {
  background: #e0e7ff; /* soft blue background */
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: 0.3s;
}

.project:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.project h3 {
  margin-top: 0;
  color: #1f2937;
}


.resume-container {
  background: rgba(229, 231, 235, 0.95) !important; 
  color: #111827 !important;
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
  position: relative;
  z-index: 10;
}

.resume-focus {
  font-size: 1.05rem;
  font-weight: 500;
}



/* FADE IN ANIMATION */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* RESUME BUTTONS */
.download-btn {
  display: inline-block;
  margin-top: 1rem;
  margin-right: 0.5rem;
  padding: 0.7rem 1.2rem;
  background: #2563eb;
  color: white;
  text-decoration: none;
  font-size: 0.95rem;
  border-radius: 8px;
  transition: 0.3s ease;
}

.download-btn:hover {
  background: #1e40af;
}

/* QR CODE HOVER */
.qr-code:hover {
  transform: scale(1.08);
  transition: transform 0.3s ease-in-out;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

/* ABOUT & CONTACT PAGE STYLING */
.about-container,
.contact-container {
  max-width: 800px;
  margin: 2rem auto;
  background: rgba(255, 255, 255, 0.92);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Make sure the text is readable */
.about-container *,
.contact-container * {
  color: #111827 !important;
}

/* PROJECT BUTTONS */
.project-btn {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.6rem 1rem;
  background: #2563eb;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
  transition: 0.3s;
}

.project-btn:hover {
  background: #1d4ed8;
}

