/* === CSS Variables === */
:root {
    --sage-green: #9CAF88;
    --dusty-blue: #A6C6D6;
    --beige: #f5f3ef;
  }
  
  /* === Global Styles === */
  @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Work+Sans:wght@400;600&display=swap');
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Work Sans', sans-serif;
    text-decoration: none;
    list-style: none;
  }
  
  body {
    background-color: var(--beige);
    color: var(--sage-green);
  }
  
  span {
    color: var(--sage-green);
  }
  
  /* === Header === */
  .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2.1875em 12%;
    background: var(--sage-green);
    backdrop-filter: blur(0.625em);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
  }
  
  .logo {
    font-size: 1.5625rem;
    color: white;
    font-weight: 600;
    transition: 0.3s ease;
    font-family: 'Playfair Display', serif;
  }
  
  .logo:hover {
    color: var(--dusty-blue);
    text-shadow: 0 0 1.5625rem var(--dusty-blue), 0 0 3.125rem var(--dusty-blue);
    transform: scale(1.1);
  }
  
  .navbar a {
    font-size: 1.125rem;
    color: white;
    font-weight: 500;
    margin: 0 1.25em;
    border-bottom: 0.1875em solid transparent;
    transition: 0.3s ease;
  }
  
  .navbar a:hover,
  .navbar a.active {
    color: var(--dusty-blue);
    border-bottom: 0.1875em solid var(--dusty-blue);
  }
  
  .navbar .contact {
    background-color: white;
    color: var(--sage-green) !important;
  }
  

  .contact {
    padding: 0.625em 1.75em;
    background-color: white;
    color: var(--sage-green);
    border: 0.125em solid transparent;
    border-radius: 0.5em;
    font-size: 1rem;
    letter-spacing: 0.0625em;
    font-weight: 600;
    transition: 0.3s ease;
  }
  
  .contact:hover {
    background-color: var(--dusty-blue);
    box-shadow: 0 0 1.5625rem var(--dusty-blue);
    color: white;
  }

  /* === Dropdown Navigation === */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  cursor: pointer;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  background-color: white;
  min-width: 12em;
  box-shadow: 0 0.25em 1em rgba(0, 0, 0, 0.1);
  border-radius: 0.5em;
  z-index: 999;
  flex-direction: column;
}

.dropdown-menu a {
  padding: 0.75em 1em;
  display: block;
  color: var(--sage-green);
  background-color: white;
  font-weight: 500;
  border-bottom: 0.0625em solid #eee;
}

.dropdown-menu a:hover {
  background-color: var(--dusty-blue);
  color: white;
}

/* Show dropdown on hover (desktop) */
.dropdown:hover .dropdown-menu {
  display: flex;
}
  
/* === Hamburger Menu Styles === */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 2em;
    height: 1.5em;
    cursor: pointer;
    z-index: 101;
  }
  
  .menu-toggle span {
    background-color: white;
    height: 0.25em;
    width: 100%;
    border-radius: 0.125em;
  }
  
  @media (max-width: 48em) {
    .menu-toggle {
      display: flex;
    }
  
    .navbar {
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      background-color: var(--sage-green);
      flex-direction: column;
      align-items: flex-start;
      padding: 1em;
      display: none;
    }
  
    .navbar.open {
      display: flex;
    }
  
    .navbar a {
      margin: 0.5em 0;
    }
  }

/* === Skill Page Header === */
.skill-page-header {
  background-color: var(--dusty-blue);
  padding: 9em 8% 3em;
  color: white;
  text-align: center;
  box-shadow: 0 0.125em 1em rgba(0, 0, 0, 0.05);
}

.skill-page-header h1 {
  font-size: 2.75rem;
  margin-bottom: 0.5em;
  font-family: 'Playfair Display', serif;
}

.skill-page-header p {
  font-size: 1.125rem;
  max-width: 50em;
  margin: 0 auto;
  line-height: 1.6;
}

.skills-landing {
  padding: 6em 8%;
  background-color: var(--beige);
}

.skills-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17.5em, 1fr));
  gap: 2em;
}

.skills-overview .skill-card {
  background-color: white;
  border: 0.125em solid var(--sage-green);
  border-radius: 1em;
  padding: 2em;
  text-align: center;
  transition: 0.3s ease;
  box-shadow: 0 0 1em rgba(0, 0, 0, 0.04);
}

.skills-overview .skill-card:hover {
  transform: translateY(-0.3125em);
  box-shadow: 0 0 1.5em rgba(0, 0, 0, 0.06);
}

.skills-overview .skill-card h2 {
  font-size: 1.75rem;
  margin-bottom: 0.5em;
  color: var(--sage-green);
  font-family: 'Playfair Display', serif;
}

.skills-overview .skill-card p {
  font-size: 1.0625rem;
  margin-bottom: 1em;
  color: #444;
}

.skills-overview .btn-2.alt {
  font-size: 1rem;
  padding: 0.75em 1.5em;
}


.document-preview {
  margin-bottom: 4em;
}

.iframe-like-box {
  width: 100%;
  height: auto;
  border-radius: 0.75em;
  overflow: hidden;
  box-shadow: 0 0 1em rgba(0, 0, 0, 0.05);
  margin-top: 1em;
}

.iframe-like-box iframe {
  width: 100%;
  height: 31.25em;
  border: none;
}

.resume-main {
  padding: 6em 8% 4em;
}

.resume-section {
  margin-bottom: 3em;
}

.resume-section h2 {
  font-size: 2rem;
  margin-bottom: 1em;
  color: var(--sage-green);
  font-family: 'Playfair Display', serif;
}

.resume-list {
  list-style: disc inside;
  font-size: 1.125rem;
  color: var(--sage-green);
  line-height: 1.75;
  margin-left: 1em;
}

.resume-gallery {
  grid-column: 2 / 3;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13.75em, 1fr));
  gap: 1.5em;
  margin-top: 1em;
}

@media (min-width: 62em) {
  .resume-section {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2em;
    align-items: start;
  }

  .resume-section h2 {
    grid-column: 1 / 2;
  }

  .resume-section p,
  .resume-section ul,
  .gallery-grid {
    grid-column: 2 / 3;
  }
}

.gallery-grid img {
  width: 100%;
  border-radius: 0.75em;
  box-shadow: 0 0 1em rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.02);
}

@media (min-width: 62em) {
  .resume-section {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2em;
    align-items: start;
  }

  .resume-section h2 {
    grid-column: 1 / 2;
  }

  .resume-section p,
  .resume-section ul,
  .gallery-grid {
    grid-column: 2 / 3;
  }
}


  /* === Home Section === */
  .home {
    width: 100%;
    height: 100vh;
    background: var(--beige);
    display: flex;
    align-items: center;
    gap: 4.375em;
    padding: 1.875em 12% 0;
  }
  
  .home-content {
    max-width: 50em;
  }
  
  .home-content h3 {
    font-size: 2.625rem;
    color: var(--sage-green);
  }
  
  .home-content h1 {
    font-size: 3.875rem;
    line-height: 1.2;
    color: var(--sage-green);
    font-family: 'Playfair Display', serif;
  }
  
  .home-content p {
    font-size: 1.125rem;
    margin: 1.5625em 0 1.875em;
    color: var(--dusty-blue);
  }

  .home-img img {
    width: 34.375em;
    box-shadow: 0 0 1.5625em var(--dusty-blue), 0 0 3.125em var(--dusty-blue);
    border-radius: 50%;
    position: relative;
    top: 1rem;
  }
  
  .btn-box {
    width: 21.5625em;
    display: flex;
    gap: 2em;
  }
  
  .btn-1,
  .btn-2 {
    padding: 0.9375em 1.75em;
    border: 0.125em solid var(--sage-green);
    border-radius: 0.5em;
    font-size: 1.125rem;
    letter-spacing: 0.0625em;
    font-weight: 600;
    transition: 0.3s ease;
    cursor: pointer;
  }
  
  .btn-1 {
    background-color: var(--sage-green);
    color: white;
  }
  
  .btn-1:hover {
    background-color: white;
    color: var(--sage-green);
  }
  
  .btn-2 {
    background-color: var(--dusty-blue);
    color: white;
  }
  
  .btn-2:hover {
    background-color: white;
    color: var(--dusty-blue);
    border: 0.125em solid var(--dusty-blue);
  }
  
  .btn-2.alt {
    font-size: 1rem;
    padding: 0.75em 1.5em;
    border-radius: 0.5em;
    border: 0.125em solid var(--sage-green);
    background-color: var(--sage-green);
    color: white;
    font-weight: 600;
    transition: 0.3s ease;
    display: inline-block;
    max-width: 100%;
    width: fit-content;
    text-align: center;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  
  .btn-2.alt:hover {
    background-color: white;
    color: var(--sage-green);
    border: 0.125em solid var(--sage-green);
  }
  
  .about-img img {
    border-radius: 50%;
    width: 34.375em;
  }
  
  /* === About Section === */
  .about {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    padding: 7.5em 8%;
    gap: 4em;
    background: var(--sage-green);
  }
  
  .about-content {
    flex: 1 1 31.25em;
    color: white;
  }
  
  .about-content h2,
  .about-content h3 {
    font-family: 'Playfair Display', serif;
    color: white;
  }
  
  .about-content h2 {
    font-size: 2.625rem;
    margin-bottom: 0.5em;
  }
  
  .about-content h3 {
    font-size: 2rem;
    margin-bottom: 1em;
  }
  
  .about-text p {
    font-size: 1.125rem;
    margin-bottom: 1.5em;
    line-height: 1.7;
  }
  
  .about-img {
    flex: 1 1 18.75em;
    display: flex;
    justify-content: center;
  }
  
  .about-img img {
    width: 100%;
    max-width: 20em;
    border-radius: 50%;
    box-shadow: 0 0 1.25em var(--dusty-blue);
  }
  
  /* === Skills Section === */
  .skills {
    padding: 6em 12%;
    background-color: var(--beige);
    text-align: center;
  }
  
  .skills .heading {
    font-size: 2.625rem;
    margin-bottom: 1em;
    color: var(--sage-green);
    font-family: 'Playfair Display', serif;
  }
  
  .skills .heading span {
    color: var(--dusty-blue);
  }
  
  .skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12.5em, 1fr));
    gap: 2em;
    margin-top: 2em;
  }
  
  .skill-card {
    background-color: white;
    border: 0.125em solid var(--dusty-blue);
    border-radius: 0.75em;
    padding: 1.5em 1em;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--sage-green);
    transition: 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.0625em;
  }
  
  .skill-card:hover {
    background-color: var(--dusty-blue);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 0 1.25em rgba(166, 198, 214, 0.3);
  }

  .resume-main {
    padding: 6em 8% 4em;
  }

  .resume-section {
    background-color: #ffffff;
    border-radius: 0.75em;
    padding: 2em;
    margin-bottom: 2em;
    box-shadow: 0 0 2em rgba(0, 0, 0, 0.04);
    animation: fadeInUp 0.8s ease both;
  }

  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(2em);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .resume-section h2 {
    font-size: 2rem;
    color: var(--sage-green);
    font-family: 'Playfair Display', serif;
    display: flex;
    align-items: center;
    gap: 0.5em;
  }

  .resume-section h3 {
    font-size: 1.25rem;
    margin-top: 1.5em;
    color: var(--dusty-blue);
  }

  .resume-list {
    list-style: disc inside;
    font-size: 1.125rem;
    color: var(--sage-green);
    line-height: 1.75;
    margin-left: 1em;
  }

  .btn-download {
    display: inline-block;
    margin-top: 1em;
    padding: 0.75em 1.5em;
    font-size: 1rem;
    font-weight: 600;
    border: 0.125em solid var(--sage-green);
    background-color: var(--sage-green);
    color: white;
    border-radius: 0.5em;
    transition: 0.3s ease;
  }

  .btn-download:hover {
    background-color: white;
    color: var(--sage-green);
  }
  
  /* === Contact Section === */
  .contact-form h2 {
    text-align: center;
    margin-top: 3em;
    margin-bottom: 1em;
    font-size: 2.25rem;
    color: var(--sage-green);
    font-family: 'Playfair Display', serif;
  }
  
  .contact-form form {
    max-width: 50em;
    margin: 1rem auto 3rem auto;
    text-align: center;
  }
  
  .contact-form .input-box {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .contact-form input,
  .contact-form textarea {
    width: 100%;
    padding: 1.5em;
    font-size: 1.125rem;
    background: #f1f1f1;
    border-radius: 0.8em;
    margin: 1em 0;
    color: var(--sage-green);
    resize: none;
    border: none;
  }
  
  .contact-form form .btn-1 {
    margin-top: 2em;
  }
  
  /* === Footer === */
  .footer {
    padding: 2.5em 0;
    background-color: var(--dusty-blue);
    color: white;
  }
  
  .footer .social {
    text-align: center;
    padding-bottom: 1.5625em;
  }
  
  .footer .social a {
    font-size: 1.5rem;
    color: white;
    border: 0.125em solid white;
    width: 2.5em;
    height: 2.5em;
    line-height: 2.375em;
    display: inline-block;
    text-align: center;
    border-radius: 50%;
    margin: 0 0.5em;
    box-shadow: inset 0 0 0.625em white, 0 0 0.625em white;
    transition: 0.3s ease;
  }
  
  .footer .social a:hover {
    transform: scale(1.2) translateY(-0.625em);
    color: var(--sage-green);
    border: 0.125em solid var(--sage-green);
  }
  
  .footer ul {
    font-size: 1.125rem;
    line-height: 1.6;
    text-align: center;
    padding: 0;
  }
  
  .footer ul li {
    display: inline-block;
    padding: 0 0.9375em;
  }
  
  .footer ul li a {
    color: white;
    border-bottom: 0.1875em solid transparent;
    transition: 0.3s ease;
  }
  
  .footer ul li a:hover {
    border-bottom: 0.1875em solid var(--sage-green);
  }
  
  .footer .copyright {
    margin-top: 0.9375em;
    text-align: center;
    font-size: 0.75rem;
  }
  
  /* === Responsive Breakpoints === */
  @media (max-width: 75em) {
    .header {
      padding: 1.5625em 8%;
    }
    .home {
      padding: 1.875em 8% 0;
      gap: 2.5em;
    }
    .about {
      padding: 6.25em 6%;
      gap: 3.75em;
    }
    .skills {
      padding: 3.125em 6%;
    }
  }
  
  @media (max-width: 62em) {
    .home {
      flex-direction: column;
      text-align: center;
      height: auto;
      padding: 6.25em 6% 2.5em;
    }
    .about {
      flex-direction: column;
      text-align: center;
    }
    .about-img img {
      width: 100%;
      max-width: 21.875em;
    }
    .btn-box {
      flex-direction: column;
      width: 100%;
      gap: 1em;
    }
    .contact-form form .input-box {
      flex-direction: column;
    }
    .navbar a {
      margin: 0 0.625em;
    }
  }
  
  @media (max-width: 48em) {
    .home-content h1 {
      font-size: 3rem;
    }
    .home-content h3 {
      font-size: 2rem;
    }
    .skills-grid {
      grid-template-columns: 1fr;
    }
    .skills .heading {
      font-size: 2rem;
    }
    .contact-form h2 {
      font-size: 1.75rem;
    }
    .footer ul li {
      display: block;
      padding: 0.625em 0;
    }
  }
  
  @media (max-width: 30em) {
    .header {
      flex-direction: column;
      align-items: flex-start;
      padding: 1.25em 5%;
    }
    .logo {
      font-size: 1.25rem;
    }
    .navbar {
      flex-direction: column;
      align-items: flex-start;
      gap: 0.625em;
    }
    .btn-1, .btn-2 {
      font-size: 1rem;
      padding: 0.75em 1.25em;
    }
    .footer .social a {
      width: 2.1875em;
      height: 2.1875em;
      font-size: 1.25rem;
      line-height: 2.0625em;
    }
  }
  
  /* === Skill Page Sections === */
.skill-main {
    padding: 8em 8% 4em;
  }
  
  .course-section {
    margin-bottom: 4em;
    padding: 2em;
    background-color: white;
    border: 0.125em solid var(--dusty-blue);
    border-radius: 1em;
    box-shadow: 0 0 1em rgba(0, 0, 0, 0.05);
  }
  
  .course-section h2 {
    font-size: 2rem;
    color: var(--sage-green);
    margin-bottom: 0.5em;
  }
  
  .course-section p {
    font-size: 1.125rem;
    margin-bottom: 1em;
    color: var(--text-dark, #333);
  }

  .project-preview {
    padding: 1.5em;
    background-color: #f9f9f9;
    border-radius: 1em;
    border: 0.0625em solid var(--dusty-blue);
    margin-top: 1em;
  }

  .project-preview iframe {
    width: 100%;
    height: 31.25em;
    border: none;
    border-radius: 0.75em;
    box-shadow: 0 0 1em rgba(0, 0, 0, 0.05);
  }
  
  pre {
    background-color: #f4f4f4;
    padding: 1.5em;
    overflow-x: auto;
    font-size: 0.95rem;
    line-height: 1.6;
    border-radius: 0.5em;
    border: 0.0625em solid #ccc;
    white-space: pre-wrap;
    word-wrap: break-word;
  }
  
  code {
    font-family: 'Courier New', monospace;
    color: #333;
  }
  