  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans';
  }

  /* Navbar wrapper */
  .navbar {
    position: relative;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #eaeaea;
    z-index: 1000;
  }

  /* Centered content, stretchable sides */
  .nav-container {
    max-width: 1200px;
    /* content width stays fixed */
    margin: 0 auto;
    /* side space grows on large screens */
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  /* Logo */
  .logo {
    font-size: 18px;
    font-weight: 700;
    color: #000;
  }

  /* Desktop nav links */
  .nav-links {
    display: flex;
    gap: 40px;
  }

  .nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 15px;
  }
.nav-links a {
  position: relative;
  text-decoration: none;
  color: #111;
  font-weight: 500;
  padding-bottom: 6px;
  margin: 0 15px;
}

/* Center expanding underline */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #111;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

/* Hover animation */
.nav-links a:hover::after {
  width: 100%;
}

  .resume-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #111;
    color: white;
    padding: 12px 20px;
    border-radius: 30px;
    font-size: 14px;
    opacity: 0;
    transition: all 0.4s ease;
    pointer-events: none;
    z-index: 9999;
  }

  .resume-popup.show {
    opacity: 1;
    bottom: 40px;
  }

  /* Hamburger button */
  .menu-btn {
    display: none;
    font-size: 26px;
    background: none;
    border: none;
    cursor: pointer;
  }

  /* ===================== */
  /* MOBILE RESPONSIVE */
  /* ===================== */
  @media (max-width: 768px) {

    /* Show hamburger */
    .menu-btn {
      display: block;
    }

    /* Hide desktop nav */
    @media (max-width: 768px) {

      .nav-links {
        position: absolute;
        top: 64px;
        left: 0;
        width: 100%;
        background: #ffffff;

        /* 👇 outer border + separation */
        border: 1px solid #eaeaea;
        border-top: none;

        /* 👇 attractive bottom shadow */
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);

        border-radius: 0 0 16px 16px;

        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px 0;
        display: none;
      }

    }

    .nav-links a {
      padding: 14px 0;
      width: 100%;
      font-size: 16px;
      
    }

    /* Active mobile menu */
    .nav-links.active {
      display: flex;
    }
  }

  /* HERO SECTION */
  .hero {
    width: 100%;
    background: #ffffff;
  }

  /* MAIN CONTAINER */
  .hero-wrapper {
    position: relative;
    /* anchor for grey boxes */
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px 100px;
    display: grid;
    grid-template-columns: 1fr 420px;
    align-items: center;
  }

  /* TEXT */
  .hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    color: #111;
  }

  /* ===== Jump + Fade Typewriter ===== */

  .jump-type {
    display: inline-flex;
    gap: 0;
  }

  .jump-type span {
    opacity: 0;
    transform: translateY(8px);
    animation: jumpIn 0.35s ease forwards;
  }

  .jump-type::after {
    content: "";
    margin-left: 4px;
    animation: blink 1s infinite;
    color: #111;
  }

  /* Subtitle slower + lighter */
  .jump-type.sub span {
    animation-duration: 0.4s;
  }

  /* Keyframes */
  @keyframes jumpIn {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes blink {
    50% {
      opacity: 0;
    }
  }

  .subtitle {
    margin-top: 12px;
    font-size: 16px;
    color: #666;
    max-width: 420px;
  }

  /* PORTFOLIO IMAGE */ 

  /* ABOUT IMAGE BUTTON STYLE */
.portfolio-img {
  display: inline-block;
  margin-top: 22px;
  border: 1px solid #e5ab2d;
  border-radius: 100px;
  padding:   0.8px 0.8px; /* space around image */
  transition: all 0.2s ease;
  
  
}

/* Keep image clean */
.portfolio-img img {
  height: 40px;
  display: block;
}

/* Hover effect */
.portfolio-img:hover {
  background: #e5ab2d;
  cursor: pointer;
}

/* Press effect */
.portfolio-img:active {
  transform: translateY(3px);
}

  /* PROFILE IMAGE */
  .hero-image {
    margin-left: 40px;
    position: relative;
    z-index: 2;
    /* image ABOVE grey boxes */
  }

  .hero-image img {
    width: 260px;
    height: 260px;
    object-fit: cover;
    border-radius: 22px;
  }

  /* GREY BOXES */
  .grey-box {
    position: absolute;
    background: #f2f2f2;
    border-radius: 20px;
    z-index: -1;
  }

  .box-1 {
    width: 140px;
    height: 140px;
    top: 400px;
    right: 340px;
    margin-right: -50px;
    margin-top: -100px;
  }

  .box-2 {
    width: 180px;
    height: 180px;
    bottom: 250px;
    right: 60px;
    margin-bottom: -100px;
  }

  /* MOBILE */
  @media (max-width: 768px) {
    .nav-links {
      z-index: 1001;
    }

    .grey-box {
      display: none;
    }

    .hero-wrapper {
      grid-template-columns: 1fr;
      text-align: center;
      padding: 60px 16px 80px;
    }

    .hero-image {
      order: -1;
      margin-left: 0;
      margin-bottom: 24px;
    }

    .hero-image img {
      width: 220px;
      height: 220px;
      margin: 0 auto;
    }

    .hero-content h1 {
      font-size: 36px;
    }

    .subtitle {
      margin: 12px auto 0;
    }

    .portfolio-img {
      margin: 20px auto 0;
    }
    
}
/* ==============================
   OVERLAY
============================== */
.about-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  padding: 20px;
  overflow-y: auto;
}

/* ==============================
   DEFAULT (Tablet / Small Laptop)
============================== */
.about-box {
  background: #ffffff;
  width: 100%;
  max-width: 520px;
  padding: 50px 40px;
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

/* HEADER */
.about-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
}

.about-header img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
}

.about-header h3 {
  font-size: 22px;
  margin-bottom: 4px;
}

/* SAME TEXT SIZE (IMPORTANT FIX) */
.role{
  color: #777;;
}
.role,
.location {
  font-size: 15px;
  font-weight: 500;
  
}
.location{
  color: #000;
}

/* PARAGRAPH */
.about-text p {
  font-size: 20px;
  line-height: 1.75;
  color: #999;
  margin-bottom: 28px;
}

/* BOLD WORDS */
.about-text strong {
  color: #111;
  font-weight: 700;

}@media (max-width: 768px) {

  .about-box {
    max-width: 340px;
    border-radius: 20px;
    box-shadow: none;
    padding: 20px;
  }

  .about-header img {
    width: 55px;
    height: 55px;
  }

  .about-text p {
    font-size: 18px;
  }

}@media (min-width: 1025px) {

  .about-box {
    max-width: 500px;
    padding: 30px;
    cursor: pointer;
  }

  .about-header img {
    width: 90px;
    height: 90px;
  }

  .about-header h3 {
    font-size: 26px;
  }

  .about-text p {
    font-size: 23px;
    max-width: 620px;
  }

}@media (min-width: 1440px) {

  .about-box {
    max-width: 630px;
    padding: 40px;
    cursor: pointer;
  }

  .about-header img {
    width: 100px;
    height: 100px;
  }

}

    /* MOBILE BOXES */
    .box-1 {
      top: 40px;
      right: 50%;
      transform: translateX(90px);
    }

    .box-2 {
      bottom: 30px;
      right: 50%;
      transform: translateX(-120px);
    }
  

  /* SECTION WRAPPER */
  .projects-section {
    width: 100%;
    background: #ffffff;
  }
.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    padding: 20px;
    background: #fff;
    position: relative;
    transition: 0.3s ease;
    box-shadow: 0 10px 30px rgba(117, 114, 114, 0.2);
  } 
  
  .project-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    
    

}
  .project-card::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 3px;
    height: 100%;
    

}

.project-card:hover {
  transform: translateY(-6px);
}
  /* SAME ALIGNMENT AS NAVBAR / HERO */
  .projects-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
  }

  /* TITLE */
  .projects-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 28px;
  }
  .project-grid {
    
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  .projects-container {
    padding: 100px 24px;
  }
  .project-card.large {
    margin-bottom: 60px;
  }
  .project-card.large {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
    align-items: center;
  }
  
  
.project-btn {
  display: inline-block;
  padding: 10px 18px;
  background: #e5ab2d;
  color: #ffffff;
  border-radius: 12px;
  font-size: 14px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.15s ease;
  box-shadow: 0 1px 0 #c8931f; /* depth effect */
  border: 2px solid #e5ab2d;
}

/* Hover (desktop) */
.project-btn:hover {
  transform: translateY(-2px);
  background: #ffffff;
  color: #e5ab2d;
  border-color: #e5ab2d;
}

/* PRESS EFFECT */
.project-btn:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 #c8931f;
}
  /* IMAGE */
  .project-image {
  position: relative;
  overflow: hidden;
  border-radius: 24px; 
}

/* LEFT BORDER */


.project-image img {
    width: 100%;
    height: auto;
    display: block;
}

  /* CONTENT */
.project-content {
    margin-top: 24px;
}

.project-content h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
}

.project-content p {
    font-size: 15px;
    line-height: 1.6;
    color: #777;
    margin-bottom: 16px;
}

  /* BUTTON */
  
  
@media (min-width:375px) and (max-width: 425px) {
  .project-btn {
    
    width: 300px;
  }
}

@media (320px<=width <=375px) {
  .project-btn {
    width: 300px;
  }
}

  .case-image {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 16px;
  }

  /* Back button */
  .back-btn {
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 24px;
    color: #111;
  }

  .back-btn:hover {
    text-decoration: underline;
  }

  /* Image */
  .case-image img {
    width: 100%;
    height: auto;
    display: block;
  }

  /* Fallback */
  .img-fallback {
    display: none;
    padding: 60px 20px;
    text-align: center;
    background: #f4f4f4;
    color: #555;
    border-radius: 12px;
  }

  /* Mobile tweaks */
  @media (max-width: 768px) {
    .case-image {
      padding: 24px 12px;
    }

    .back-btn {
      font-size: 14px;
    }
  }

  @media (max-width: 768px) {

    .projects-container {
      padding: 60px 20px;
    }

    .projects-title {
      text-align: center;
    }

    .project-card.large {
      grid-template-columns: 1fr;
    }

    .project-grid {
      grid-template-columns: 1fr;

    }

    .project-content {
      text-align: center;
    }
  }

  /* FOOTER WRAPPER */
  .footer-section {
    background: #2b2b2b;
    color: #ffffff;
    padding-bottom: 96px;
  }

  /* SAME ALIGNMENT SYSTEM */
  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px;
    display: flex;
    justify-content: space-between;
    gap: 80px;
  }

  .footer-left {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  .socials {
    display: flex;
    gap: 14px;
    margin-top: 12px;
  }

  .social-box {
    width: 44px;
    height: 44px;
    background: #3a3a3a;
    border-radius: 12px;
    transition: 0.3s ease;
  }

  .social-box:hover {
    background: #4a4a4a;
  }

  /* BLOCKS */
  .footer-block h4 {
    font-size: 18px;
    margin-bottom: 14px;
  }

  .footer-block p {
    font-size: 14px;
    line-height: 1.6;
    color: #bdbdbd;
  }

  /* EMAIL */
  .email-link {
    color: #7b7bff;
    font-size: 14px;
    text-decoration: none;
  }

  /* SOCIALS */
  .socials {
    display: flex;
    gap: 12px;
    margin-top: 10px;
  }

  .social-box {
    width: 44px;
    height: 44px;
    background: #3a3a3a;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
  }

  .social-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s ease;
  }

  .social-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 🔥 makes image fill entire box */
    display: block;
  }

  .social-box:hover {
    background: #4a4a4a;
  }

  @media (max-width: 768px) {

    .footer-container {
      flex-direction: column;
      gap: 50px;
      text-align: center;
    }

    .footer-left {
      gap: 30px;
    }

    .socials {
      justify-content: center;
    }
  }

  /* CASE STUDY WRAPPER */
  .case-image {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 16px;
  }

  /* BACK BUTTON */
  .back-btn {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    margin-bottom: 24px;
    color: #111;
  }

  .back-btn:hover {
    text-decoration: underline;
  }

  /* IMAGE */
  .case-image img {
    width: 100%;
    height: auto;
    display: block;
  }

  /* FALLBACK */
  .img-fallback {
    display: none;
    margin-top: 40px;
    padding: 50px 20px;
    text-align: center;
    background: #f4f4f4;
    border-radius: 12px;
  }

  .img-fallback button {
    margin-top: 12px;
    padding: 10px 20px;
    border-radius: 20px;
    border: none;
    background: #222;
    color: #fff;
    cursor: pointer;
  }

  /* FULLSCREEN IMAGE OVERLAY */
  .image-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
  }

  .image-overlay img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }

  /* CLOSE BUTTON */
  .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
  }

  /* MOBILE */
  @media (max-width: 768px) {
    .case-image {
      padding: 24px 12px;
    }

    .back-btn {
      font-size: 14px;
    }
  }

  .back-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;

    background: white;
    border-radius: 50%;
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    cursor: pointer;
  }

  .back-btn {
    position: fixed;
    top: 20px;
    left: 20px;

    z-index: 3000;
    /* HIGHER than navbar */

    background: white;
    border-radius: 50%;
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    cursor: pointer;
  }

  /* =====================
    FIXED BACK BUTTON
  ===================== */
  .back-btn.fixed-back {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 3000;

    width: 44px;
    height: 44px;

    background: #ffffff;
    border-radius: 50%;
    border: none;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 18px;
    line-height: 1;
    padding: 0;

    color: #111;
    text-decoration: none;
    /* ✅ remove underline */

    cursor: pointer;

    /* ✅ clean soft shadow */
    box-shadow:
      0 12px 30px rgba(0, 0, 0, 0.2),
      0 4px 10px rgba(0, 0, 0, 0.15);

    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  /* Hover effect */
  .back-btn.fixed-back:hover {
    transform: translateY(-2px);
    box-shadow:
      0 12px 30px rgba(0, 0, 0, 0.18);
  }

  @media (max-width: 600px) {
    .back-btn.fixed-back {
      width: 38px;
      height: 38px;
      font-size: 16px;
      top: 12px;
      left: 12px;
    }
  }

  /* FORCE REMOVE UNDERLINE FROM BACK BUTTON */
  .back-btn,
  .back-btn:link,
  .back-btn:visited,
  .back-btn:hover,
  .back-btn:active {
    text-decoration: none !important;
    color: #111;
  }

  button.back-btn {
    background: none;
    border: none;
    outline: none;
  }

  /* EMAIL MODAL BACKGROUND */
  .email-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
  }

  /* EMAIL BOX */
  .email-box {
    background: #fff;
    width: 100%;
    max-width: 420px;
    padding: 30px;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  }

  /* CLOSE BUTTON */
  .email-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
  }

  /* TITLE */
  .email-box h3 {
    margin-bottom: 16px;
    font-size: 22px;
  }

  /* INPUTS */
  .email-box input,
  .email-box textarea {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 12px;
    border-radius: 12px;
    border: 1px solid #ddd;
    font-size: 14px;
  }

  .email-box textarea {
    resize: none;
    height: 110px;
  }

  /* SEND BUTTON */
  .email-send {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: none;
    color:white;
    background: #e5ab2d;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
  }

  .email-send:hover {
    opacity: 0.9;
    border: 1.5px solid #e5ab2d;
    background-color: white;
    color: #e5ab2d;
  }

  /* MOBILE */
  @media (max-width: 600px) {
    .email-box {
      margin: 0 16px;
    }
  }
 
@media (max-width: 768px) {

  .project-card.large {
    gap: 23px;
  }

  .project-card.large .project-content {
    margin-top: 0; 
  }

}