/* RESET & BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}
html {
  scroll-behavior: smooth;
}
.into {
  font-weight: 400; /* less bold (normal) */
  font-size: 1rem;  /* adjust size for readability */
  line-height: 1.6; /* better spacing */
  color: #444;      /* softer text color */
  font-style: normal; 
  max-width: 800px; /* keeps it neat */
  margin: 10px auto; 
  text-align: justify; /* optional: neat alignment */
}

body {
  background: #fff;
  color: #222;
  line-height: 1.6;
}
/* 🚫 Prevent horizontal scroll */
html, body {
  max-width: 100%;
  overflow-x: hidden;
   margin: 0;
  padding: 0;
}
section {
  margin: 0;
  padding: 0;
}
/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 8%;
  flex-wrap: wrap;
  position: sticky;
  top: 0;                    
  z-index: 1000;             
  background: #f6a623;          
  box-shadow: 0 2px 6px rgba(20, 53, 39, 0.08); /* ✅ subtle shadow */
}

.logo {
  font-size: 22px;
  font-weight: 700;
  color: #2f4f2f;
}

/* Nav Links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  transition: all 0.3s ease;
}

.nav-links li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

/* ✅ Hover effect (underline grow animation) */
.nav-links li a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #2f4f2f;
  transition: width 0.3s ease;
}

.nav-links li a:hover {
  color: #2f4f2f;
}

.nav-links li a:hover::after {
  width: 100%;
}
.contact-btn {
  background: #3d993d;
  color: #0f0b0b;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  white-space: nowrap;
}
/* 🔹 Hamburger Icon */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}
.hamburger div {
  width: 25px;
  height: 3px;
  background: #333;
  transition: 0.3s;
}

/* 🔹 Animate hamburger into X when active */
.hamburger.active div:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active div:nth-child(2) {
  opacity: 0;
}
.hamburger.active div:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

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

/* Tablets */
@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }
  .hero-text {
    max-width: 100%;
  }
  h1 {
    font-size: 32px;
  }
  .profile-container {
    margin-top: 20px;
  }
}
/* ===== RESPONSIVE (MOBILE) ===== */
/* ===== RESPONSIVE (MOBILE) ===== */
@media (max-width: 768px) {
  .hero {
    flex-direction: column-reverse;
    padding: 20px;
    text-align: center;
    align-items: center;
  }
.profile-container {
    margin: 0 auto !important;   /* center the whole block */
    text-align: center !important; 
    display: block !important;
  }

  .hero .profile-container {
    text-align: center;   /* 👈 ensures all child elements are centered */
    width: 100%;
  }

  .profile-name, 
  .profile-role {
    white-space: nowrap;
    display: block;/* 👈 force text center */
    margin: 5px auto !important;  /* remove side offset */
  }

  .hero .content {
    max-width: 100%;
    margin-bottom: 20px;
    text-align: center;
  }

  .hero .profile-container img {
    width: 100%;        /* 👈 fixed size for circle */
    height: 100%;
    border-radius: 50%; 
    object-fit: cover;
    margin: 0 auto;      /* 👈 centers image */
    display: block;
    text-align: center;
  }
}
/* Mobiles */
@media (max-width: 768px) {
  .navbar {
    padding: 15px 5%;
  }

  /* 🔹 Hide nav links by default */
  .nav-links {
    position: absolute;
    top: 65px;
    right: -100%;
    flex-direction: column;
    background: #fff;
    width: 200px;
    padding: 20px;
    gap: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 10px;
  }

  /* 🔹 Show when active */
  .nav-links.active {
    right: 20px;
  }

  .contact-btn {
    display: none; /* hide contact in small nav */
  }

  /* Show hamburger */
  .hamburger {
    display: flex;
  }
}

/* Small Devices */
@media (max-width: 480px) {
  .logo {
    font-size: 18px;
  }
  h1 {
    font-size: 22px;
  }
  .profile-image {
    width: 140px;
    height: 140px;
  }
  .tool-card {
    width: 100px;
    padding: 20px 10px;
  }
  .tool-name {
    font-size: 14px;
  }
}
/* HERO SECTION */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 8%;
  flex-wrap: wrap;
  gap: 40px;
}

.hero-text {
  flex: 1 ;
  max-width: 600px;
}

.hello {
  display: inline-block;
  background: #f6f6f6;
  padding: 6px 14px;
  border-radius: 5px;
  font-size: 14px;
  margin-bottom: 20px;
}

h1 {
  font-size: 42px;
  line-height: 1.3;
  margin-bottom: 20px;
}

.highlight {
  color: #f6a623;
}

.hero-text p {
  color: #555;
  margin-bottom: 30px;
}

.buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-dark,
.btn-light {
  padding:10px 100px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.btn-dark {
  background: #2f4f2f;
  color: #fff;
}

.btn-dark:hover {
  background: #1e331e;
}

.btn-light {
  background: transparent;
  border: 2px solid #333;
  color: #333;
}

.btn-light:hover {
  background: #333;
  color: #fff;
}

/* PROFILE SECTION */
/* PROFILE SECTION */
.profile-container {
  text-align: center;
  flex: 1 1 250px;
  margin: 0 auto;
  
}

.profile-image {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  overflow: hidden;
  margin: 20px auto; /* centers image */
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  border: 4px solid #f6a623;
  max-width: 90vw;   /* responsive width */
  max-height: 90vw;  /* keep circular shape */
  margin-top: 15%;
  margin-left: 60%;
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
 
}

.profile-name {
  font-size: 24px;
  font-weight: bold;
  margin-top: 15px;
  margin-left: 60%;
}

.profile-role {
  font-size: 16px;
  color: #666;
  margin-left: 60%;
}

/* ✅ RESPONSIVE ADJUSTMENTS */
@media (max-width: 768px) {
  .profile-image {
    width: 220px;
    height: 220px;
    
    
  }
  .profile-name {
    font-size: 20px;
  }
  .profile-role {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .profile-image {
    width: 150px;
    height: 150px;
  }
  .profile-name {
    font-size: 18px;
  }
  .profile-role {
    font-size: 13px;
  }
}
/* 🛠 Fix extra gap on profile image when collapsing */
@media (max-width: 768px) {
  .profile-container {
    margin: 10;              /* remove auto top margin */
    padding: 0;             /* remove extra padding */
  }

  .profile-image {
    margin: 0 auto;         /* only center horizontally */
  }
}


/* TOOLS SECTION */
.tools-section {
  text-align: center;
  padding: 80px 20px;
  
}
.category-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 30px 0 15px;
  color: #444;
}

.tools-subtitle {
  color: #ffb400;
  font-size: 18px;
  margin-bottom: 10px;
}

.tools-title {
  font-size: 28px;
  line-height: 1.4;
  margin-bottom: 50px;
  color: #111;
}

.tools-title strong {
  color: #000;
}

.tools-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.tool-card {
  background: #f7f5f5;
  padding: 25px 20px;
  border-radius: 20px;
  width: 140px;
  transition: transform 0.3s ease;
}

.tool-card:hover {
  transform: translateY(-10px);
}

.tool-icon {
  width: 50px;
  margin-bottom: 15px;
}

.tool-percent {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 5px;
}

.tool-name {
  font-size: 16px;
  color: #555;
}

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

/* Tablets */
@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }
  .hero-text {
    max-width: 100%;
  }
  h1 {
    font-size: 32px;
  }
  .profile-container {
    margin-top: 20px;
  }
}

/* Mobiles */
@media (max-width: 768px) {
  .navbar {
    padding: 15px 5%;
  }
  .nav-links {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    margin-top: 15px;
  }
  .contact-btn {
    margin-top: 10px;
  }
  .hero {
    padding: 40px 5%;
  }
  h1 {
    font-size: 26px;
  }
  .tools-container {
    gap: 20px;
  }
  .tool-card {
    width: 120px;
  }
}

/* Small Devices */
@media (max-width: 480px) {
  .logo {
    font-size: 18px;
  }
  h1 {
    font-size: 22px;
  }
  .profile-image {
    width: 140px;
    height: 140px;
  }
  .tool-card {
    width: 100px;
    padding: 20px 10px;
  }
  .tool-name {
    font-size: 14px;
  }
}
/* ===== Education & Work Section ===== */
.edu-work {
  text-align: center;
  padding: 80px 20px;
}

.edu-subtitle {
  color: #ffb400;
  font-size: 18px;
  margin-bottom: 10px;
}

.edu-title {
  font-size: 28px;
  line-height: 1.4;
  margin-bottom: 50px;
  color: #111;
}

.edu-title strong {
  color: #000;
}

.edu-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.edu-card {
  background: #f5f5f5;
  padding: 30px 25px;
  border-radius: 20px;
  width: 320px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.edu-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.edu-header .icon {
  font-size: 24px;
}

.edu-header h3 {
  font-size: 20px;
  font-weight: 600;
  color: #222;
}

.edu-item {
  margin-bottom: 20px;
}

.edu-item .year {
  font-size: 14px;
  color: #999;
  margin-bottom: 5px;
}

.edu-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #222;
}

.edu-item .degree {
  font-size: 14px;
  color: #666;
}

/* Responsive */
@media (max-width: 768px) {
  .edu-container {
    flex-direction: column;
    align-items: center;
  }
  .edu-card {
    width: 100%;
    max-width: 350px;
  }

.section-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.section-title span {
  color: #f0a500; /* yellow accent */
}

.view-all-btn {
  float: right;
  background: #222;
  color: #fff;
  padding: 10px 18px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 14px;
}
}
.projects-section {
  padding: 60px 40px; /* reduced padding */
  background: #fff;
}

.projects-grid,
.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); /* smaller min width */
  gap: 20px;
  margin-top: 40px;
  align-items: stretch; /* keeps equal height */
}

.project-card {
  padding: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ffffff;
  color: #000;
  font-size: 0.9rem; /* slightly smaller font */
  height: 100%;
  border: 1px solid #ddd;
  max-width: 350px; /* prevents huge cards */
  margin: 0 auto; 
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-image img {
  width: 100%;
  margin-bottom: 12px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.project-tags span {
  background: #f5f5f5;
  color: #070707;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 2px;
  margin: 0 6px 8px 0;
  display: inline-block;
}

.project-titles {
  font-size: 1.1rem;
  margin: 5px 0;
}

.project-subtitle {
  font-size: 16px;
  color: #f6a623;
  text-align: center;
  margin-bottom: 8px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.project-title {
  font-size: 28px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  color: #333;
  position: relative;
}

.project-title::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  margin: 8px auto 0;
  border-radius: 2px;
  background: #f6a623; /* visible underline */
}

.project-link {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 10px; /* FIX: smaller padding */
  color: #000;
  font-weight: bold;
  text-decoration: none;
  border-radius: 4px;
  background: #f6f6f6;
  transition: background 0.3s ease;
}

.project-link:hover {
  background: #eee;
}
.projects-grid,
.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 350px)); /* max 350px */
  gap: 20px;
  justify-content: center; /* center them instead of stretching */
}

.footer {
  background: #23422f;
  color: #fff;
  font-family: "Poppins", sans-serif;
  width: 100%;
  margin: 0;              /* remove all gaps */
  padding: 50px 8%;
  box-sizing: border-box;
}
.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-left {
  flex: 1;
  min-width: 280px;
}
.footer-heading {
  color: #f1a100;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
}
.footer-text {
  margin-bottom: 20px;
  color: #ccc;
  line-height: 1.6;
  font-size: 15px;
}
.footer-wrapper {
  margin: 0;
  padding: 0;
}

.contact-info {
  list-style: none;
  padding: 0;
}
.contact-info li {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  font-size: 15px;
}
.contact-info img.icon {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}
.contact-info a {
  color: #f1a100;
  text-decoration: none;
}
.contact-info a:hover {
  text-decoration: underline;
}
.footer-right {
  flex: 1;
  min-width: 320px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

input,
textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: none;
  background: #2d4b39;
  color: #fff;
  font-size: 14px;
}

textarea {
  height: 120px;
  resize: none;
}

.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 25px;
  background: #f1a100;
  border: none;
  border-radius: 50px;
  color: #000;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.submit-btn:hover {
  background: #ffbb33;
}
.contact-info {
  list-style: none;
  padding: 0;
}

.contact-info li {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  font-size: 15px;
}

.contact-info img.icon {
  width: 20px;   /* adjust size */
  height: 20px;
  margin-right: 10px;
}

.contact-info a {
  color: #f1a100;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}