body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, Arial, sans-serif;
  background-color: #1C1A19;
  color: #ffffff;
  line-height: 1.6;
  /* text rendering polish */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
html {
  scroll-behavior: smooth;
}

section {
  padding: 80px 20px;
  min-height: 100vh; /* full screen height */
}

header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}

.logo {
  position: relative;
  display: inline-block;
  font-size: 3rem;
  font-weight: bold;
}

.logo::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background-color: orange;
}

.logo span {
  color: orange;
}

#changing-text {
  color: orange;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  position: relative;
}

.nav-links a:hover {
  background-color: #ff7b26; /* warm orange */
  color: white;
  padding: 5px 10px;
  border-radius: 6px;
  transition: 0.3s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background-color: #ea6f1d;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.hire-btn {
  background-color: orange;
  padding: 10px 15px;
  border-radius: 8px;
  color: #1c1a19;
  text-decoration: none;
}
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #111;   /* REQUIRED, otherwise transparent */
}


/* ✅ Hamburger styles */
.menu-btn {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: orange;
}

/* ✅ Responsive styles */
@media (max-width: 768px) {
  header nav {
    flex-wrap: wrap;
  }

  .menu-btn {
    display: block; /* show hamburger */
  }

  .nav-links {
    display: none; /* hide menu by default */
    flex-direction: column;
    gap: 15px;
    width: 100%;
    margin-top: 15px;
    background: #1C1A19;
    padding: 15px 0;
    border-top: 2px solid orange;
    text-align: center;
  }

  .nav-links.active {
    display: flex; /* show when toggled */
  }

  .hire-btn {
    margin: 10px auto;
    display: block;
    text-align: center;
  }
}
/* End of headaer section */
/* HERO SECTION */
.hero {
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding: 40px 20px;
}

/* HERO CONTENT */
.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
    gap: 50px;
}

/* HERO TEXT */
.hero-text {
    max-width: 600px;
}

.hero-text .role {
    display: inline-block;
    background-color: #333;
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 5px;
    margin-bottom: 12px;
    letter-spacing: 1px;
    color: #ff9800;

    /* ✅ CLS FIX */
    min-width: 260px;          /* must fit longest text */
    text-align: center;
    white-space: nowrap;
}


.hero-text h1 {
    font-size: 3rem;
    margin-bottom: px;
}

.hero-text p {
    font-size: 1.15rem;
    margin-bottom: 30px;
    line-height: 1.6;
    color: #ccc;
}

/* BUTTONS */
.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn.download {
    background-color: #ff9800;
    color: #1c1a19;
}

.btn.download:hover {
    background-color: #e68900;
}

.btn.hire {
    background-color: transparent;
    border: 1px solid #fff;
    color: #fff;
}

.btn.hire:hover {
    background-color: #fff;
    color: #000;
}

/* HERO IMAGE */
.hero-image {
    flex-shrink: 0;
    width: 100%;
    max-width: 420px;

    /* ✅ CLS FIX */
    aspect-ratio: 1 / 1;      /* circle image */
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}


@media screen and (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 60px 20px;
    }
    .hero-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 50px;
    }
    .hero-image {
        max-width: 280px;
    }
    .hero-text h1 {
        font-size: 2.5rem;
    }
    .hero-text p {
        font-size: 1rem;
    }
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
}
/* End of Hero section */

/* projects */
/* ===== PROJECTS SECTION ===== */
.projects {
  margin: 50px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 50px;
  border-bottom: 3px solid #1F1F1F;
}

.outer_project {
  background-color: #2B2B2B;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.outer_project:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(214, 7, 7, 0.25);
}

.outer_project img {
  width: 100%;
  height: auto;
  border-radius: 20px 20px 0 0;
  object-fit: cover;
}

.outer_project_h3 {
  font-size: 20px;
  margin: 10px 0;
}

.tech-stack {
  display: flex;
  justify-content: center;
  flex-wrap: wrap; /* wrap tags on small screens */
  gap: 10px;
  margin-bottom: 10px;
}

.tech-stack span {
  padding: 5px 15px;
  border-radius: 30px;
  color: #FF6315;
  font-weight: 500;
  background-color: #413227;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project_link {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 10px;
}

/* ===== Responsive ===== */

/* Tablet */
@media (max-width: 1024px) {
  .projects {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 30px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .projects {
    grid-template-columns: 1fr; /* single column */
    padding: 20px;
    gap: 25px;
  }

  .outer_project {
    width: 100%;
    text-align: center;
  }

  .outer_project_h3 {
    font-size: 18px;
  }

  .tech-stack span {
    font-size: 12px;
    padding: 4px 10px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .projects {
    padding: 10px;
    gap: 20px;
  }

  .outer_project_h3 {
    font-size: 16px;
  }

  .tech-stack span {
    font-size: 11px;
  }
}
/* End of Project Section */

/* Technical skill */
/* ===== TECHNICAL SKILLS SECTION ===== */
.section_Technical_skills {
  border-bottom: 3px solid #1F1F1F;
}

.Technical_skills {
  height: auto;
  width: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 0 50px;
}

.outer {
  height: auto;
  width: auto;
  border-radius: 20px;
  padding: 30px;
  background-color: #2B2B2B;
  flex: 0 0 23%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-wrap: wrap;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.outer:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(214, 7, 7, 0.25);
}

.tech-icon i {
  font-size: 75px;
  margin-bottom: 40px;
  transition: font-size 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.tech-icon i:hover {
  font-size: 80px;
  box-shadow: 0 10px 20px rgba(214, 7, 7, 0.25);
  color: #FF6B00;
}

.tech-info {
  font-size: 1.1rem;
  text-align: center;
}

.persentage_bar {
  height: 5px;
  width: 100%;
  background-color: blue;
  margin-bottom: 15px;
}

/* ===== RESPONSIVE ===== */

/* Tablet */
@media (max-width: 1024px) {
  .Technical_skills {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 30px;
    gap: 25px;
  }

  .outer {
    padding: 25px;
  }

  .tech-icon i {
    font-size: 65px;
    margin-bottom: 25px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .Technical_skills {
    grid-template-columns: 1fr;
    padding: 0 20px;
    gap: 20px;
  }

  .outer {
    padding: 20px;
  }

  .tech-icon i {
    font-size: 55px;
    margin-bottom: 20px;
  }

  .tech-info {
    font-size: 1rem;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .outer {
    padding: 15px;
  }

  .tech-icon i {
    font-size: 45px;
    margin-bottom: 15px;
  }

  .tech-info {
    font-size: 0.9rem;
  }
}



/* Professional Experience */
/* ===== PROFESSIONAL EXPERIENCE SECTION ===== */
.Professional-Exprience {
  border-bottom: 3px solid #1F1F1F;
}

.outer-experience {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.inner-experience {
  border: 0.1px solid #FF6B00;
  padding: 30px;
  width: 30rem; /* block size */
  background-color: #2B2B2B;
  margin-left: 8rem;
  border-radius: 10%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.inner-experience:nth-child(even) {
  margin-left: auto; /* push even blocks to right */
  margin-right: 8rem;
}

.inner-experience:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(214, 7, 7, 0.25);
}

.inner-h3 {
  color: #FF6B00;
  font-size: 35px;
  font-weight: 500;
}

.inner-p {
  font-size: 20px;
  font-weight: 300;
}

.inner-date {
  font-size: 18px;
  filter: blur(0.4px);
}

/* ===== RESPONSIVE ===== */

/* Tablet */
@media (max-width: 1024px) {
  .inner-experience {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    padding: 25px;
  }

  .inner-h3 {
    font-size: 28px;
  }

  .inner-p {
    font-size: 18px;
  }

  .inner-date {
    font-size: 16px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .inner-experience {
    width: 95%;
    margin-left: auto;
    margin-right: auto;
    padding: 20px;
  }

  .inner-h3 {
    font-size: 24px;
  }

  .inner-p {
    font-size: 16px;
  }

  .inner-date {
    font-size: 14px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .inner-experience {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 15px;
  }

  .inner-h3 {
    font-size: 20px;
  }

  .inner-p {
    font-size: 14px;
  }

  .inner-date {
    font-size: 12px;
  }
}


/* Achievements & Certifications */
/* ===== ACHIEVEMENTS & CERTIFICATIONS SECTION ===== */
.Achievements_Certifications {
  border-bottom: 3px solid #1F1F1F;
}

.outer-cer {
  height: auto;
  width: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  row-gap: 30px;
  column-gap: 40px;
  padding: 0 60px;
}

.inner-cer {
  height: auto;
  width: auto;
  border: 0.5px solid #553722;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #2B2B2B;
  border-radius: 10px;  
  padding: 20px;
}

.achievement-icon {
  height: 65px;
  width: 65px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background-color: #553722;
  transition: transform 0.4s ease, box-shadow 0.3s ease;
  font-size: 1.5rem;
  margin-top: 20px;
}

.achievement-icon:hover {
  transform: rotateX(20deg) rotateY(20deg) scale(1.25);
}

.achievement-icon i {
  margin: 0;
  color: #FF6B00;
}

.achievement-h3 {
  display: flex;
  align-items: center;
  font-size: 25px;
  font-weight: 500;
  margin-top: 15px;
  text-align: center;
}

.achievement-date {
  height: 25px;
  width: 60px;
  background-color: #553722;
  font-size: 18px;
  filter: blur(0.4px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  margin-top: 10px;
}

.achievement-p {
  font-size: 17px;
  font-weight: 100;
  margin-top: 20px;
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
}

/* ===== RESPONSIVE ===== */

/* Tablet */
@media (max-width: 1024px) {
  .outer-cer {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 30px;
    gap: 25px;
  }

  .achievement-h3 {
    font-size: 22px;
  }

  .achievement-p {
    font-size: 16px;
  }

  .achievement-date {
    font-size: 16px;
    width: 50px;
  }
}

/* Mobile */
@media (max-width: 768px) {

  .outer-cer {
    display: grid;
    grid-template-columns: 1fr;
    padding: 0 16px;
    gap: 20px;
    justify-items: center;   /* 🔑 TRUE CENTERING */
  }
  .inner-cer {
    width: 100%;
    max-width: 420px;        /* keeps card readable */
    box-sizing: border-box;
  }
  .achievement-h3 {
    font-size: 20px;
    text-align: left;
  }
  .achievement-p {
    font-size: 15px;
  }
  .achievement-date {
    font-size: 14px;
    width: auto;             /* 🔑 REMOVE FIXED WIDTH */
    min-width: 40px;
  }
  .achievement-icon {
    height: 55px;
    width: 55px;
    font-size: 1.2rem;
    flex-shrink: 0;
  }
}

@media (max-width: 480px) {

  .inner-cer {
    max-width: 100%;
  }

  .achievement-h3 {
    font-size: 18px;
  }

  .achievement-p {
    font-size: 14px;
  }

  .achievement-date {
    font-size: 12px;
  }

  .achievement-icon {
    height: 45px;
    width: 45px;
    font-size: 1rem;
  }
}

/* contect me */

/* Contact Section */
/* Form Container */

/* ===== CONTACT SECTION ===== */
.outer-contact {
  display: flex;
  justify-content: center;
  margin-top: 100px;
  padding: 0 20px; /* small side padding for mobile */
}

.form-container {
  background: #ffffff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  width: 100%;
  max-width: 400px;
  text-align: center;
}

.form-container h2 {
  margin-bottom: 15px;
  font-size: 22px;
  color: #333;
}

/* Inputs */
form input, 
form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  transition: 0.3s;
}

form input:focus,
form textarea:focus {
  border-color: #4a90e2;
  box-shadow: 0 0 6px rgba(74,144,226,0.3);
}

/* Button */
form button {
  width: 100%;
  padding: 12px;
  background: #4a90e2;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.3s ease;
}

form button:hover {
  background: #357ab7;
}

/* Status Message */
#status-message {
  margin-top: 10px;
  font-size: 14px;
  color: #2B2B2B;
}

/* ===== RESPONSIVE ===== */

/* Tablet */
@media (max-width: 1024px) {
  .form-container {
    padding: 20px;
    max-width: 350px;
  }

  .form-container h2 {
    font-size: 20px;
  }

  form input, form textarea {
    font-size: 13px;
    padding: 10px;
  }

  form button {
    font-size: 14px;
    padding: 10px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .form-container {
    max-width: 100%;
    padding: 20px;
  }

  .form-container h2 {
    font-size: 18px;
  }

  form input, form textarea {
    font-size: 13px;
    padding: 10px;
  }

  form button {
    font-size: 14px;
    padding: 10px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .form-container {
    padding: 15px;
  }

  .form-container h2 {
    font-size: 16px;
  }

  form input, form textarea {
    font-size: 12px;
    padding: 8px;
  }

  form button {
    font-size: 13px;
    padding: 8px;
  }
}


/* footer css */
/* ===== FOOTER ===== */
footer {
  text-align: center;
  padding: 20px;
}

#underline {
  position: relative;
  display: inline-block;
  text-align: center;
  margin-bottom: 15px;
}

.social-links a {
  display: inline-block;
  margin: 0 10px;
  transition: transform 0.3s, box-shadow 0.3s;
  color: white;
  font-size: 1.5rem;
}

.social-links a:hover {
  transform: scale(1.2); /* zoom in */
  box-shadow: 0 0 10px #ff7b26; /* orange glow */
}

/* ===== RESPONSIVE ===== */

/* Tablet */
@media (max-width: 1024px) {
  .social-links a {
    font-size: 1.4rem;
    margin: 0 8px;
  }

  #underline {
    font-size: 1.1rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .social-links a {
    font-size: 1.3rem;
    margin: 0 6px;
  }

  #underline {
    font-size: 1rem;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .social-links a {
    font-size: 1.1rem;
    margin: 0 5px;
  }

  #underline {
    font-size: 0.9rem;
  }
}

