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

body {
  font-family: 'DM Sans', sans-serif;
  color: #F2E9E4;
  background-color: #22223B;
}
.container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 10px;
}

/* ===== Navbar ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #22223B;
  padding: 20px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Default nav style */
#navbar {
  background-color: transparent;
  transition: background-color 0.3s ease;
  position: fixed;
  width: 100%;
  z-index: 1000;
}

/* Style when scrolled */
#navbar.scrolled {
  background-color: rgba(34, 34, 59, 0.9); /* dark transparent */
  backdrop-filter: blur(6px); /* optional: adds a glassy blur */
}


.logo {
  font-size: 20px;
  font-weight: 700;
  color: #F2E9E4;
}

.navbar nav a {
  margin-left: 30px;
  color: #F2E9E4;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.navbar nav a:hover {
  color: #C9ADA7;
}

/* ===== Hero Section ===== */
.hero {
  height: 100vh;
  /* background-color: #4A4E69; */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.hero-content {
  max-width: 700px;
}

.hero h1 {
  font-size: 64px;
  font-weight: 600;
  color: #F2E9E4;
}

.subtext {
  font-size: 18px;
  color: #9A8C98;
  margin: 10px 0 20px;
}

.description {
  font-size: 20px;
  color: #C9ADA7;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* Button */
.btn {
  padding: 12px 28px;
  background-color: #C9ADA7;
  color: #22223B;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn:hover {
  background-color: #9A8C98;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 36px;
  }

  .btn {
    padding: 10px 24px;
  }

  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .navbar nav {
    margin-top: 10px;
  }

  .navbar nav a {
    display: block;
    margin: 5px 0;
  }
}

/* ========== Resume Section ========== */

/* SECTION CONTAINER */
#resume {
  padding: 80px 40px;
  background-color: #f8f4f2;
}

/* SECTION TITLE */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2rem;
  text-align: center;
  font-weight: bold;
  color: #22223B;
}

.underline {
  width: 120px;
  height: 3px;
  background-color: #22223B;
  margin: 8px auto 24px;
  border-radius: 8px;
}
/* MAIN GRID */
.resume-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: auto;
  align-items: start;
}

/* LEFT: SKILLS */
.resume-left h3,
.resume-right h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #22223B;
}

.skill-group {
  margin-bottom: 2rem;
}
.skill-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #4A4E69;
}
.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tag {
  background-color: #4A4E69;
  color: white;
  padding: 6px 12px;
  border-radius: 9999px;
  font-size: 0.85rem;
}

/* RIGHT: EXPERIENCE */
.job-card {
  background-color: white;
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  margin-bottom: 1.5rem;
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.job-header h4 {
  font-size: 1.1rem;
  font-weight: bold;
  color: #22223B;
  margin: 0;
}
.job-header .company {
  font-size: 0.95rem;
  color: #9A8C98;
  margin-top: 0.2rem;
}
.job-header .duration {
  font-size: 0.9rem;
  color: #C9ADA7;
}
.job-card .desc {
  margin-top: 1rem;
  color: #4A4E69;
  font-size: 0.95rem;
  line-height: 1.6;
}


 .resume-download {
  margin-top: 30px;
  text-align: center;
}

.resume-download .btn {
  background-color: #C9ADA7;
  padding: 12px 24px;
  font-weight: 600;
  border-radius: 50px;
  color: #22223B;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.resume-download .btn:hover {
  background-color: #9A8C98;
}


@media (max-width: 768px) {
  .resume-container {
    flex-direction: column;
  }

  .skills, .experience {
    flex: 1 1 100%;
  }
}

/* ========== Education Section ========== */
.education {
  padding: 80px 20px;
  background: #C9ADA7;
  color: #22223B;
  text-align: center;
}

.edu-year {
  font-size: 14px;
  color: #9A8C98;
  margin-bottom: 10px;
}

.edu-card h3 {
  font-size: 20px;
  margin-bottom: 6px;
  color: #4A4E69;
}

.edu-school {
  font-size: 16px;
  color: #22223B;
  margin-bottom: 10px;
}

.edu-focus {
  font-size: 14px;
  color: #22223B;
}


/* ========== Projects Section ========== */
.projects {
  padding: 80px 20px;
  background: #F2E9E4;
  color: #22223B;
  text-align: center;
}

.project-card h3 {
  margin-bottom: 10px;
  color: #4A4E69;
  font-size: 18px;
}

.project-card p {
  font-size: 14px;
  color: #444;
  margin-bottom: 15px;
}

.project-card a {
  color: #4A4E69;
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
}

.project-card a:hover {
  text-decoration: underline;
}

@media (max-width: 1400px) {
  .project-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .education-container {
    flex-direction: column;
    align-items: center;
  }
}

.education-container,
.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1400px;
  margin: auto;
  width: 100%;
  padding: 0 40px;
}

.education h2,
.projects h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 40px;
  border-bottom: 3px solid #4A4E69;
  display: inline-block;
  padding-bottom: 8px;
}

.edu-card,
.project-card {
  background: #FFFFFF;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  width: 100%;
  transition: transform 0.3s ease;
}

.edu-card:hover,
.project-card:hover {
  transform: translateY(-4px);
}

.experience h4,
.experience .company,
.experience .duration,
.experience .desc {
  text-align: left;
}

/* ===== Contact Section Modern Wide ===== */
.contact {
  background: #f8f9fa;
  padding: 100px 40px 60px;
  color: #22223B;
  text-align: center;
}

.contact-container {
  max-width: 1400px;
  margin: auto;
  width: 100%;
}

form#contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-row input {
  flex: 1;
}

form#contact-form input,
form#contact-form textarea {
  padding: 18px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 10px;
  outline: none;
  background: white;
  font-family: inherit;
  color: #22223B;
  width: 100%;
}

form#contact-form button {
  background-color: #4A4E69;
  color: white;
  font-weight: 600;
  padding: 18px;
  font-size: 16px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s;
  width: 100%;
}

form#contact-form button:hover {
  background-color: #22223B;
}

/* ===== Responsive Form ===== */
@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
  }
}

/* ===== Footer ===== */
.footer {
  background: #f5f5f5;
  text-align: center;
  padding: 20px 10px;
  font-size: 14px;
  color: #444;
  margin-top: auto;
}

