

/*-----------------------------------*\
  #CUSTOM PROPERTY
\*-----------------------------------*/

:root {

  /**
   * colors
   */

  /* gradient */
  --background-light: #f9f9f9;
  --background-dark: #121212;
  --text-light: #000;
  --text-dark: #fff;
  
  --bg-gradient-onyx: linear-gradient(
    to bottom right, 
    hsl(240, 1%, 25%) 3%, 
    hsl(0, 0%, 19%) 97%
  );
  --bg-gradient-jet: linear-gradient(
    to bottom right, 
    hsla(240, 1%, 18%, 0.251) 0%, 
    hsla(240, 2%, 11%, 0) 100%
  ), hsl(240, 2%, 13%);
  --bg-gradient-yellow-1: linear-gradient(
    to bottom right, 
    hsl(45, 100%, 71%) 0%, 
    hsla(36, 100%, 69%, 0) 50%
  );
  --bg-gradient-yellow-2: linear-gradient(
    135deg, 
    hsla(45, 100%, 71%, 0.251) 0%, 
    hsla(35, 100%, 68%, 0) 59.86%
  ), hsl(240, 2%, 13%);
  --border-gradient-onyx: linear-gradient(
    to bottom right, 
    hsl(0, 0%, 25%) 0%, 
    hsla(0, 0%, 25%, 0) 50%
  );
  --text-gradient-yellow: linear-gradient(
    to right, 
    hsl(45, 100%, 72%), 
    hsl(35, 100%, 68%)
  );

  /* solid */

  --jet: hsl(0, 0%, 22%);
  --onyx: hsl(240, 1%, 17%);
  --eerie-black-1: hsl(240, 2%, 13%);
  --eerie-black-2: hsl(240, 2%, 12%);
  --smoky-black: hsl(0, 0%, 7%);
  --white-1: hsl(0, 0%, 100%);
  --white-2: hsl(0, 0%, 98%);
  --orange-yellow-crayola: hsl(45, 100%, 72%);
  --vegas-gold: hsl(45, 54%, 58%);
  --light-gray: hsl(0, 0%, 84%);
  --light-gray-70: hsla(0, 0%, 84%, 0.7);
  --bittersweet-shimmer: hsl(0, 43%, 51%);

  /**
   * typography
   */

  /* font-family */
  --ff-poppins: 'Poppins', sans-serif;

  /* font-size */
  --fs-1: 24px;
  --fs-2: 18px;
  --fs-3: 17px;
  --fs-4: 16px;
  --fs-5: 15px;
  --fs-6: 14px;
  --fs-7: 13px;
  --fs-8: 11px;

  /* font-weight */
  --fw-300: 300;
  --fw-400: 400;
  --fw-500: 500;
  --fw-600: 600;

  /**
   * shadow
   */
  
  --shadow-1: -4px 8px 24px hsla(0, 0%, 0%, 0.25);
  --shadow-2: 0 16px 30px hsla(0, 0%, 0%, 0.25);
  --shadow-3: 0 16px 40px hsla(0, 0%, 0%, 0.25);
  --shadow-4: 0 25px 50px hsla(0, 0%, 0%, 0.15);
  --shadow-5: 0 24px 80px hsla(0, 0%, 0%, 0.25);

  /**
   * transition
   */

  --transition-1: 0.25s ease;
  --transition-2: 0.5s ease-in-out;

}





/*-----------------------------------*\
  #RESET
\*-----------------------------------*/

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a { text-decoration: none; }

li { list-style: none; }

img, ion-icon, a, button, time, span { display: block; }

button {
  font: inherit;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
}

input, textarea {
  display: block;
  width: 100%;
  background: none;
  font: inherit;
}

::selection {
  background: var(--orange-yellow-crayola);
  color: var(--smoky-black);
}

:focus { outline-color: var(--orange-yellow-crayola); }

html { font-family: var(--ff-poppins); }

body { 
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background: var(--smoky-black);
  color: var(--text-dark);
  transition: background 0.4s, color 0.4s;
 }
 
::selection {
  background: var(--orange-yellow-crayola);
  color: var(--smoky-black);
}

/* Header Section */
.header {
  text-align: center;
  padding: 3rem 1rem;
  /* background: var(--eerie-black-1); */
  color: var(--text-dark);
  /* border-bottom: 1px solid var(--light-gray-70); */
}

.profile-section {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
}

.profile-pic {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  /* border: 5px solid var(--orange-yellow-crayola); */
  object-fit: cover;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.profile-pic:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 32px rgba(245, 186, 65, 0.4);
}

.profile-name {
  font-size: 2rem;
  font-weight: var(--fw-600); /* Ensure var(--fw-600) is defined */
  margin: 0.5rem 0 0.2rem;
  background: var(--text-gradient-yellow); /* Apply gradient */
  -webkit-background-clip: text; /* Clip background to text */
  -webkit-text-fill-color: transparent; /* Make text transparent so the gradient shows */
  background-clip: text; /* Fallback for non-WebKit browsers */
  color: transparent; /* Ensure text is transparent for WebKit */
}

.profile-title {
  font-size: 1.25rem;
  color: var(--vegas-gold);
  margin-bottom: 2rem;
}

.profile-subtext {
  font-size: 1rem;
  color: var(--light-gray);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.5;
}


/* Navigation Styles */
.navbar {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.navbar-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.navbar-item .navbar-link {
  color: var(--text-dark);
  font-size: 1rem;
  font-weight: var(--fw-500);
  padding: 0.5rem 1rem;
  border-radius: 30px;
  transition: background 0.3s, color 0.3s;
}

.navbar-item .navbar-link:hover,
.navbar-item .navbar-link:focus {
  background: var(--orange-yellow-crayola);
  opacity: 0.6;
  color: var(--smoky-black);
}
.profile-pic {
  animation: fadeInPop 1s ease-in-out;
}

@keyframes fadeInPop {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}


/* Hamburger button styles */
.navbar-hamburger {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2.2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-dark);
  z-index: 1001;
  transition: color 0.3s ease;
  display: none; /* hidden by default on desktop */
}

.navbar-hamburger:hover {
  color: var(--orange-yellow-crayola);
}


.main-content {
  max-width: 960px;
  margin: 3rem auto;
  background: var(--eerie-black-2); /* Or white if using light theme */
  padding: 2rem 2.5rem;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  color: var(--text-dark);
  transition: box-shadow 0.3s ease;
  border: 1px solid var(--light-gray-70);
  overflow: hidden; /* Preventing overflow */
  box-sizing: border-box;

}
/* 
.main-content:hover {
  box-shadow: 0 15px 35px rgba(245, 186, 65, 0.3);
} */
/* 
.article-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--orange-yellow-crayola);
  font-weight: var(--fw-600);
} */
.article-title {
  font-size: 2.5rem;
  font-weight: 500;
  margin-bottom: 2rem;
  text-align: center;
   color: var(--orange-yellow-crayola);
}

.about-text p {
  line-height: 1.6;
  margin-bottom: 1rem;
  color: var(--light-gray);
  text-align: justify;
   word-break: break-word;
  overflow-wrap: break-word;
}


/* Timeline */
.timeline-section {
  margin-top: 2.5rem;
}

.timeline-tabs {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.tab-button {
  padding: 0.6rem 1.8rem;
  background: transparent;
  border: 1px solid var(--orange-yellow-crayola);
  border-radius: 30px;
  cursor: pointer;
  font-weight: var(--fw-400);
   color: var(--orange-yellow-crayola);
  transition: background 0.3s, color 0.3s;
}

.tab-button.active,
.tab-button:hover {
  background: var(--orange-yellow-crayola);
  color: var(--smoky-black);
}

.tab-content {
  display: none;
  animation: fadeIn 0.5s ease;
}

.tab-content.active {
  display: block;
}

.timeline-item {
  margin-bottom: 1.5rem;
  padding-left: 1rem;
  border-left: 3px solid var(--orange-yellow-crayola);
}

.timeline-item h3 {
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 0.2rem;
}

.timeline-item span {
  font-size: 0.9rem;
  color: var(--vegas-gold);
}

.timeline-item p {
  margin-top: 0.4rem;
  font-size: 1rem;
  color: var(--light-gray);
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Existing styles here ... */

.service {
  padding: 3rem 1rem;
  background-color: var(--eerie-black-2);
  border-radius: 15px;
  margin-top: 3rem;
  position: relative;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  padding: 0;
  list-style: none;
  overflow: hidden;
  transition: transform 0.5s ease;
}

.service-item {
  background-color: var(--container-color);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
  text-align: left;
  transition: transform 0.3s ease;
}

.service-item:hover {
  transform: translateY(-5px);
}

.service-content-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.service-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.service-icon-box {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon-box img {
  width: 40px;
  height: 40px;
}

.service-item-title {
  font-size: 1.1rem;
  color: var(--text-dark);
  font-weight: var(--fw-600);
  margin: 0;
}

.service-title {
  text-align: left;
  font-size: 2rem;
  color: var(--orange-yellow-crayola);
  margin-bottom: 2rem;
  font-weight: var(--fw-700);
}

.service-item-text {
  font-size: 0.95rem;
  color: var(--light-gray);
  line-height: 1.5;
  margin-top: 0.8rem;
  padding-left: 52px; /* aligns under icon */
}


/* /* sdfghjmk,. */
/* Container for the scrollable area */

.skills-section {
  padding: 1rem 1rem;
  background-color: var(--eerie-black-2);
  border-radius: 15px;
  
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  overflow-y: hidden;
}



/* Scrollable Container */
.skills-scroll-container {
  display: flex;
  gap: 2rem;
  flex-wrap: nowrap;    /* keep items in one line */
  padding-bottom: 1rem;
  /* no overflow-x here anymore, it’s on the wrapper */
}

/* Prevent horizontal overflow in the skills section */
.skills-item,
.skills-list {
  max-width: 100%; /* Prevent overflow */
}
/* Skills List */
.skills-list {
  display: flex;
  gap: 2rem;
  padding: 1rem 0;
  list-style: none;
 
}
.skills-scroll-wrapper {
  box-sizing: border-box;
  overflow-x: auto;
  overflow-y: hidden;
  width:900px;
  max-width: 960px;  /* Fixed content width */
  margin: 0 auto;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;

  scrollbar-color: transparent transparent;  /* Hide scrollbar color */
  
  /* Remove any border or frame */
  border: none;
  background: none;
}



/* WebKit browsers */
.skills-scroll-wrapper::-webkit-scrollbar {
  height: 5px;   /* horizontal track height */
  display: none;
}

.skills-scroll-wrapper::-webkit-scrollbar-track {
 background: transparent;
}

.skills-scroll-wrapper::-webkit-scrollbar-thumb {
  /* background: var(--orange-yellow-crayola); */
  background: transparent; 
  border-radius: 5px;
}

.skills-scroll-wrapper::-webkit-scrollbar-button {
  width: 20px;
}

/* For Firefox */
.skills-scroll-wrapper {
  scrollbar-width: none;  /* Hide scrollbar in Firefox */
  scrollbar-color: transparent transparent;  /* Hide scrollbar color */
}
/* Prevent horizontal overflow in the skills section */
.skills-item {
  flex: 0 0 auto;
  width: 180px; /* Medium size */
  background-color: #2a2a2a; /* Dark background */
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  overflow: hidden;
  margin-bottom: 1rem; /* Add margin for spacing */
  max-width: 100%; /* Prevent items from stretching beyond container */
}
.skills-title
 {
  text-align: left;
  font-size: 2rem;
  color: var(--orange-yellow-crayola);
  margin-bottom: 2rem;
  font-weight: var(--fw-700);
}
.skill-subtitle{  text-align: left;
  font-size:1.2rem;
  margin-top: 1rem;
  margin-bottom: 2rem;
  font-weight: var(--fw-700);}
/* Hover Effect */
.skills-item:hover {
  transform: translateY(-5px);
}

/* Avatar (Image Circle) */
.skills-avatar-box {
  width: 80px;
  height: 80px;
  background-color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.8rem auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.skills-icon {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

/* Text Below Image */
.skills-item-title {
  color: var(--orange-yellow-crayola);
  font-size: 1.1rem; /* Medium size */
  font-weight: var(--fw-600);
  margin-top: 0.5rem;
}


/* Scroll Button */
/* .scroll-btn {
  background-color: var(--orange-yellow-crayola);
  border: none;
  color: #f5ba41;
  font-size: 2rem;
  width: 40px;
  height: 100px;
  cursor: pointer;
  border-radius: 8px;
  z-index: 1;
  flex-shrink: 0; Prevent shrinking on button */
/* } */

.scroll-btn:hover {
  background-color: #f5ba41;
}

/* /* #######################resumee##################### */
/* Resume Page General Styling */
.resume {
  background-color: var(--eerie-black-2);
  padding: 2rem;
  border-radius: 12px;
  color: var(--white);
}

/* Track Section (formerly Timeline Section) */
.track-resume {
  margin-bottom: 2.5rem;
}

.track-resume .title-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  margin-top: 4rem;
}

.track-resume .icon-box {
  background-color: var(--orange-yellow-crayola);
  color: #1e1e1e;
  padding: 0.6rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-box {
  background-color: var(--orange-yellow-crayola);
  color: #1e1e1e;
  padding: 0.6rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.track-resume .track-list {
  list-style: none;
  padding-left: 0;
}

.track-resume .track-item {
  margin-bottom: 3rem;
}

.track-resume .track-item-title {
  font-weight: bold;
  color: var(--orange-yellow-crayola);
  margin-bottom: 0.5rem;
}

.track-resume .track-text {
  color: #ccc;
  margin-top: 1rem;
  line-height: 1.5rem;
  font-size: 0.9rem;
  text-align: left;
  word-break: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}



/* Skills Section */
.skill1 {
  margin-top: 5rem;
}

.skill1-title {
  color: var(--orange-yellow-crayola);
  margin-bottom: 5rem;
  color:#ffff;
  font-size: 1.5rem;
}

.skill1-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid; /* Use grid to create a 4-tile layout */
  grid-template-columns: repeat(4, 1fr); /* Create 4 equal columns */
  gap: 1.5rem; /* Add space between tiles */
}

/* Style for each skill item */
.skill1-item {
  background-color: rgba(0, 0, 0, 0.1); /* 0.7 = 70% opacity */
 /* You can change the background color if needed */
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
}

.skill1-progress-bg {
  width: 100%;
  height: 6.5px;
  background-color: #444;
  border-radius: 5px;
  margin-top: 0.5rem;
  overflow: hidden;
}


.skill1-progress-fill {
  height: 100%;
  background-color: var(--orange-yellow-crayola);
  border-radius: 5px;
  transition: width 0.4s ease;
}


.download-btn {
  display: inline-flex;              /* Keep items in a row */
  align-items: center;              /* Vertically center icon and text */
  gap: 0.5rem;                      /* Space between icon and text */
  padding: 0.8rem 1.5rem;
  background-color: var(--orange-yellow-crayola);
  color: #1e1e1e;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
  margin-top: 7rem;                /* Top & bottom space, horizontal center */

  /* Prevent full-width and allow natural sizing */
  width: fit-content;
}

/* Hover effect */
.download-btn:hover {
  background-color: #f5ba41;
  color: #000;
}


/* Portfolio Section */
.portfolio {
  max-width: 1200px;
  margin: auto;
}


/* Filter Buttons */
.filter-list {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.filter-item button {
  background: #f5f5f5;
  border: 1px solid #ccc;
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.3s;
}

.filter-item button.active,
.filter-item button:hover {
  background-color: #f5ba41;
  color: #fff;
  border-color: #f5ba41;
}

/* Filter Dropdown (Mobile) */
.filter-select-box {
  display: none;
  margin: 1rem auto;
  text-align: center;
}

.filter-select {
  padding: 0.5rem 1rem;
  border: 1px solid #ccc;
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
}

.select-list {
  display: none;
  list-style: none;
  margin-top: 0.5rem;
}

.select-item button {
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  display: block;
  width: 100%;
  text-align: left;
}
.projects {
  margin-top: 40px;
  margin-bottom: 40px;
}

.project-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}

.project-item {
  background: #28282B;
  border-radius: 10px;
  overflow: hidden;
  width: calc(33% - 20px);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.project-item:hover {
  transform: scale(1.05);
}

.project-img {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
}

.project-item-icon-box {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 5px;
  border-radius: 50%;
}

.project-title {
  font-size: 1.1rem;
  margin: 10px;
}

.project-category {
  font-size: 0.9rem;
  margin: 10px;
  color: #777;
}

.filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 11px;
  margin-bottom: 30px;
}
.filter-btn {
  background-color: transparent;
  color:var(--orange-yellow-crayola);
  border: 1px solid var(--orange-yellow-crayola); /* Yellow border */
  padding: 10px 20px;
  margin: 5px;
  border-radius: 25px;
  cursor: pointer;
   font-weight: var(--fw-400);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: #f5ba41;
  color: black; /* Or white if you prefer */
}

/* Hide pagination by default */
.pagination {
  display: none;
  justify-content: center;
  margin-top: 20px;
  gap: 10px;
}

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.7);
}

.modal-content {  
  background-color: #fff;
  margin: auto;
  padding: 20px;
  border-radius: 12px;
  width: 90%;
  max-width: 600px;
  text-align: center;
  position: relative;
}

.close {
  position: absolute;
  top: 8px;
  right: 15px;
  color: #aaa;
  font-size: 28px;
  cursor: pointer;
  
}
.modal-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
  margin-bottom: 30px;
  flex-wrap: wrap; /* for responsive wrapping if needed */
}


#projectModal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

#projectModal .modal-content {
  background-color: #1b1a1ac5;
  width: 90%;
  max-width: 800px;
  max-height: 85vh; /* Limits modal height */
  padding: 30px;
  border-radius: 8px;
  position: relative;
  overflow-y: auto; /* Enables vertical scroll when content overflows */
  scrollbar-width: none; /* For Firefox */
  scrollbar-color: #555 #2a2a2a; /* Scrollbar color */
}


/* Optional: Custom scrollbar for WebKit browsers */
#projectModal .modal-content::-webkit-scrollbar {
 display: none;
}
#projectModal .modal-content::-webkit-scrollbar-track {
  background: #2a2a2a;
}
#projectModal .modal-content::-webkit-scrollbar-thumb {
  background-color: #555;
  border-radius: 4px;
}

#modalTitle {
  font-size: 30px;
  margin-bottom: 35px;
  margin-top: 40px;
  color: #fff;
  text-align: left;
}

#modalImage {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  margin-bottom: 40px;
   margin-top: 40px;
  border-radius: 12px;
}

#modalDescription {
  font-size: 16px;
  color: #ccc;
  line-height: 1.6;
  margin-bottom: 70px;
  text-align: left;
}

#modalLink {
  display: inline-block;
  background-color: #f5ba41;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: var(--fw-800);
  color: #000;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}

#modalLink:hover {
  background-color: #ff9d00;
}

#projectModal .close {
  position: absolute;
  top: 15px;
  right: 30px;
  font-size: 30px;
  color: #fff;
  cursor: pointer;
  transition: color 0.3s;
}

#projectModal .close:hover {
  color: #aaa;
}
/* Ensure project modal has a base z-index */
#mainProjectModal {
  z-index: 1000;
  position: fixed; /* or absolute depending on your setup */
}
#screenshotModal .close {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: rgba(197, 191, 191, 0.801); /* dark semi-transparent bg */
  color: #fff; /* white icon */
  font-size: 20px;
  font-weight: bold;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: 50%;
  cursor: pointer;
  z-index: 3100;
  box-shadow: 0 0 5px rgba(0,0,0,0.5);
  transition: background-color 0.3s ease;
}

#screenshotModal .close:hover {
  background-color: rgba(0, 0, 0, 0.9);
  color: #ffcc00; /* optional highlight color on hover */
}

.lg-backdrop,
.lg-outer {
  z-index: 3000 !important;  /* much higher than your modal */
}

.lg-outer {
  position: fixed !important; /* ensure fixed positioning */
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

/* Ensure screenshot modal appears above */
#screenshotModal {
  z-index: 2000;  /* higher than project modal */
  position: fixed; /* required for z-index to apply */
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.85); /* Optional backdrop */
  display: none;
  justify-content: center;
  align-items: center;
}

.stroke-button {
  background: transparent;
  border: 1px solid var(--orange-yellow-crayola);
  color: var(--orange-yellow-crayola);
  padding: 8px 16px;
   font-weight: var(--fw-400);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}


.stroke-button:hover {
  background-color: #f5ba41;
  color: #000;
  /* Adding outer glow with box-shadow */
  box-shadow: 0 0 10px ;
}

.screenshot-gallery {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.screenshot-gallery img {
  width: 100px;
  height: auto;
  border-radius: 4px;
  border: 1px solid #ddd;
}


/* BLOG SECTION */
.blog-posts {
  margin-bottom: 25px; /* Increased margin for better spacing */
}

.blog-posts-list {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Changed to two columns for more prominent card sizes */
  gap: 30px; /* Increased gap between items */
}

.blog-post-item > a {
  position: relative;
  background: #2c2c2c; /* fallback for gradient */
  height: 350px; /* Increased height of the card */
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3); /* Slightly increased shadow for prominence */
  display: block;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.blog-banner-box {
  width: 100%;
  height: 220px; /* Increased height for image fitting */
  overflow: hidden;
 
}

.blog-banner-box img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the image covers the container and doesn't stretch */
  transition: transform 0.3s ease;
}

.blog-post-item > a:hover .blog-banner-box img {
  transform: scale(1.1); /* Slight zoom effect on hover */
}

.blog-content {
  padding: 20px; /* Added padding for better content spacing */
  background-color: #1e1e1e;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 15px; /* Increased margin for better spacing */
}

.blog-meta p,
.blog-meta time {
  color: #aaa;
  font-size: 15px; /* Slightly increased font size */
}

.blog-meta .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #aaa;
}

.blog-item-title {
  margin: 0 0 15px; /* Increased bottom margin */
  font-size: 22px; /* Increased font size */
  line-height: 1.4;
  color: #fff;
  transition: color 0.3s ease;
}

.blog-post-item > a:hover .blog-item-title {
  color: #f5ba41; /* orange-yellow-crayola */
}

.blog-text {
  color: #ccc;
  font-size: 15px; /* Slightly increased font size */
  line-height: 1.7; /* Increased line height for readability */
}

.blog-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #aaa;
  font-size: 14px;
  margin: 10px 0;
}

.blog-category {
  margin: 0;
}

.blog-meta-row .dot {
  width: 5px;
  height: 5px;
  background-color: #aaa;
  border-radius: 50%;
}


/* 
.article-title {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #f5ba41;
} */

/* Map Section */
.mapbox {
  margin-bottom: 30px;
  text-align: center;
}

.mapbox iframe {
  border-radius: 8px;
}/* Contact Form */
.contact-form {
  background-color: #111111;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.form-title {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #f5ba41;
}

.input-wrapper {
  margin-bottom: 20px;
}

.form-input {
  width: 100%;
  padding: 10px 5px;
  margin-bottom: 25px;
  background: transparent;
  border: none;
  border-bottom: 1px solid #f5ba41;
  font-size: 1rem;
  color: #ffffff;
  transition: border-color 0.3s ease;
}

.form-input:focus {
  border-color: #e0a836;
  outline: none;
}

.form-input::placeholder {
  color: #ffd77a;
  opacity: 0.5;
}

/* Larger message box */
textarea.form-input {
  min-height: 50px;
  resize: vertical;
  padding-top: 10px;
  line-height: 1.5;
}

/* Button */
.form-btn {
  width: 100%;
  padding: 12px;
  background-color: #f5ba41;
  color: #000;
  border: none;
  margin-top: 50px;
  border-radius: 5px;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.form-btn:disabled {
  background-color: #f5ba41;
  cursor: not-allowed;
}

.form-btn:hover:not(:disabled) {
  background-color: #e0a836;
}

/* Background overlay for blur */
#popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  backdrop-filter: blur(5px); /* Applies the blur */
  background-color: rgba(0, 0, 0, 0.6); /* Adds dimmed black overlay */
  z-index: 999; /* Just below the popup */
  display: none;
}

#popup-overlay.show {
  display: block;
}

/* Popup container */
.popup {
  position: fixed;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #111;
  border: 1px solid #f5ba41;
  color: #ffd77a;
  padding: 20px 30px;
  border-radius: 10px;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  text-align: center;
}

/* Centered button */
.popup button {
  margin-top: 15px;
  padding: 10px 25px;
  background-color: #f5ba41;
  border: none;
  border-radius: 5px;
  color: #000;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
}

/* Button hover effect */
.popup button:hover {
  background-color: #e0a836;
}

/* Hidden utility class */
.hidden {
  display: none;
}


  
  .footer {
    background: var(--bg-gradient-jet);
    color: var(--light-gray);
    padding: 50px 20px 20px;
    font-size: 14px;
    position: relative;
    border-radius: 0px;
  }

  .footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    flex: 1 1 250px;
    min-width: 220px;
  }

  .footer-left {
    text-align: left;
    padding-left: 15px;
  }

  .footer-left h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--orange-yellow-crayola);
  }

  .footer-center {
    text-align: left;
    padding-left: 40px;
   
  }

  .footer-center h3,
  .footer-right h3 {
    margin-bottom: 15px;
       color: var(--orange-yellow-crayola);
    font-size: 1.1rem;
     padding-left: 120px;
  }

  .footer-center p {
    margin-bottom: 10px;
    color: var(--light-gray);
    font-size: 14px;
    display: flex;
    align-items: left;
    justify-content: left;
    padding-left: 120px;
  }

  .footer-center a {
    color: var(--light-gray);
    font-size: 14px;
    text-decoration: none;
    display: flex;
    align-items: left;
    justify-content: left;
    transition: color 0.3s;
  }

  .footer-center a:hover {
    color: #fff;
  }

  .footer-center .contact-icon {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
  }

  .footer-center a:hover .contact-icon {
    transform: scale(1.15);
  }

  .footer-right {
    text-align: left;
    padding-right: 15px;
  }

  .footer-right ul {
    list-style: none;
    padding: 0;
    text-align: left;
    padding-left: 120px;
  }

  .footer-right li {
    margin-bottom: 10px;
  }

  .footer-right a {
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: var(--light-gray);
    transition: color 0.3s ease;
  }

  .footer-right a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
  }

  .footer-right a:hover {
    color: #fff;
  }

  .footer-right a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
  }

  .footer a,
  .footer p {
    color: var(--light-gray);
    margin-bottom: 8px;
    font-size: 14px;
       line-height: 1.5rem;
  }

  .footer a:hover {
    color: #fff;
  }

  .social-icons a {
    margin-right: 12px;
    font-size: 18px;
    transition: transform 0.3s, color 0.3s;
  }

  .social-icons a:hover {
    transform: scale(1.1);
    color: #fff;
  }

  .social-icons-inline {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 35px;
  }

  .social-icons-inline img {
    width: 35px;
    height: 35px;
    padding: 6px;
    transition: transform 0.3s ease, background-color 0.3s ease;
  }

 .social-icons-inline img:hover {
  background-color: transparent; /* no background */
  transform: scale(1.15);
}

  .footer-bottom {
    text-align: center;
    margin-top: 30px;
    border-top: 1px solid #fff;
    padding-top: 15px;
    font-size: 13px;
  }

 #backToTop {
  position: fixed;
  bottom: 25px;
  left: 25px;
  background: none;
     color: var(--orange-yellow-crayola);
  border: none;
  font-size: 28px;
  cursor: pointer;
  display: none;
  z-index: 100;
  transition: color 0.3s ease, transform 0.3s ease;
}

#backToTop:hover {
  color: #d4a017;
  transform: translateY(-3px);
}


.footer-center a,
.footer-left a {
  position: relative; /* needed for ::after positioning */
  text-decoration: none;
  color: var(--light-gray);
  transition: color 0.3s ease;
  display: inline-flex; /* to avoid layout issues */
  align-items: center;
}

.footer-center a::after,
.footer-left a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #fff;
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.footer-center a:hover,
.footer-left a:hover {
  color: #fff;
}

.footer-center a:hover::after,
.footer-left a:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* chatbot section */

.chat-icon img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--orange-yellow-crayola);
  background: #1e1e1e;
  padding: 5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);

}
.chat-icon {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  cursor: pointer;
  z-index: 1000;
  border-radius: 50%;
  animation: bounce 1s ease-in-out infinite, glow 2s ease-in-out infinite;
  box-shadow:
    0 0 8px 4px rgba(245, 186, 65, 0.6),  /* soft large glow */
    0 0 15px 7px rgba(245, 186, 65, 0.3); /* even softer outer glow */
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  25%, 75% {
    transform: translateY(-10px);
  }
  50% {
    transform: translateY(0);
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow:
      0 0 8px 4px rgba(27, 27, 27, 0.966),
      0 0 15px 7px rgba(24, 23, 20, 0.3);
  }
  50% {
    box-shadow:
      0 0 15px 8px rgba(63, 62, 61, 0.9),
      0 0 25px 15px rgba(41, 39, 34, 0.767);
  }
}

.chat-widget {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 300px;
  max-height: 450px;
  background: var(--bg);
  border-radius: 15px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 101;
}

.chat-widget.active {
  display: flex;
}

.chat-header {
  background: var(--orange-yellow-crayola);
  padding: 10px;
  color: rgb(14, 4, 59);
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-box {
  padding: 10px;
  flex: 1;
  overflow-y: auto;
  background: #1e1e1e;
}

.chat {
  margin: 8px 0;
  padding: 10px;
  border-radius: 10px;
  font-size: 0.9em;
}

.chat.user {
  background: var(--user-bg);
  text-align: right;
}

.chat.bot {
  background: var(--bot-bg);
  text-align: left;
}

.chat span {
  display: block;
  font-size: 0.75em;
  font-weight: bold;
  color: #888;
  margin-bottom: 4px;
}

.input-area {
  display: flex;
  border-top: 1px solid #fefefe;
}
#chat-window {
  display: none;
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 350px;
  max-height: 500px;
  background-color: #1a1a1a;
  color: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  z-index: 999;
}

#chat-window.visible {
  display: block;
}


.input-area input {
  flex: 1;
  padding: 10px;
  border: none;
  outline: none;
}
.input-area input[type="text"] {
  color: white;
  background-color: #222;  /* Dark background for contrast */
  border: 1px solid #555;
  padding: 10px;
  border-radius: 5px;
}
.input-area button {
  background: var(--orange-yellow-crayola);
  color: rgb(13, 3, 49);
  border: none;
  padding: 10px 15px;
  cursor: pointer;
}
/* Typing indicator style */
.typing-indicator {
  display: inline-block;
  width: 60px;
  height: 20px;
  position: relative;
}

.typing-indicator::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  animation: blink 1s infinite ease-in-out;
}

.typing-indicator::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 20px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  animation: blink 1s infinite ease-in-out;
  animation-delay: 0.2s;
}

.typing-indicator span {
  position: absolute;
  top: 8px;
  left: 40px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  animation: blink 1s infinite ease-in-out;
  animation-delay: 0.4s;
}

@keyframes blink {
  0%, 100% {
    opacity: 0.2;
  }
  50% {
    opacity: 1;
  }
}


/* Tablets and small laptops (max-width: 1024px) */
@media (max-width: 1024px) {
  /* Profile picture medium size */
  .profile-pic {
    width: 130px;
    height: 130px;
  }

  /* Profile name font size moderate */
  .profile-name {
    font-size: 1.75rem;
  }

  /* Navbar layout - horizontal but wraps */
  .navbar-list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    position: static; /* normal flow, no absolute */
    max-height: none;
    opacity: 1;
    background: transparent;
    box-shadow: none;
    width: auto;
    border-radius: 0;
  }

  /* Navbar items inline-block with some margin */
  .navbar-item {
    display: inline-block;
    margin-bottom: 0;
  }

  /* Navbar links font size */
  .navbar-link {
    font-size: 1rem;
  }

  /* Hide hamburger menu */
  .navbar-hamburger {
    display: none;
  }


  
}


/* Mobile Responsiveness */
@media (min-width: 320px) and (max-width: 767px){
   .main-content {
    border: none;
    border-radius: 0;


  }

  .profile-pic {
    width: 100px;
    height: 100px;
  }

  .profile-name {
    font-size: 1.5rem;
  }

  .navbar-list {
    text-align: center;
    margin-top: 10px;
  }

  .navbar-item {
    display: block;
    margin-bottom: 10px;
  }

  .navbar-link {
    font-size: 1rem;
  }

  .mapbox iframe {
    width: 100%;
    height: 250px;
  }

  .contact-form {
    padding: 15px;
  }

  .form-input, .form-btn {
    font-size: 1rem;
    
  }

  .navbar-hamburger {
    display: block;
  }
  
  .navbar-list {
    flex-direction: column;
    background:var(--smoky-black) ;
    position: absolute;
    top: 3.5rem;  /* below hamburger */
    right: 0;
    width: 200px;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);

    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease;
  }

  .navbar-list.active {
    max-height: 500px;
    opacity: 1;
  }

  .navbar-item .navbar-link {
    padding: 0.5rem;
    font-size: 1.1rem;
    color: var(--orange-yellow-crayola);
  }

  /* Adjust navbar positioning on mobile so it doesn’t add margin */
  .navbar {
    margin-top: 0;
    justify-content: flex-end; /* align right on mobile */
  }

   /* Carousel wrapper fixed height for 2 items stacked */
  .carousel-wrapper {
    overflow: hidden;
  }
   .service {
padding-top:10px;
padding-right:3rem;

}
  /* Override service-list to flex container for horizontal sliding */
  .service-list {
    display: flex;
    flex-wrap: nowrap;
    width: 300%; /* 3 slides */
    padding-left: 0 !important;
    margin-left: 0 !important;
    padding-right: 2rem;
  }

  /* Each slide is 1/3 of the .service-list width */
  .service-slide {
    width: 33.3333%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  /* Service item inside slide: stacked vertically */

   .service-item {
    flex: 0 0 auto;
    scroll-snap-align: start;
     /* border: 1px solid var(--orange-yellow-crayola);
  border-radius: 8px; */
    max-width: 340px !important;
    margin-right: 12px !important;
    padding: 10px !important;
    box-sizing: border-box;
  }

  /* Adjust padding-left to align text better */
  .service-item-text {
    padding-left: 45px;
    padding-right: 0.5rem;
  }

  /* Carousel dots container */
  .carousel-dots {
    text-align: left;
    padding-left: 10rem;
    margin-top: 1rem;
  }

  .carousel-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: var(--light-gray);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .carousel-dot.active {
    background-color: var(--orange-yellow-crayola);
  }
}
@media (min-width: 320px) and (max-width: 767px) {

  .timeline-tabs {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
    padding: 0 1rem;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .timeline-tabs::-webkit-scrollbar {
    display: none;
  }

  .tab-button {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    white-space: nowrap;
    flex: 0 0 auto;
    max-width: 7rem;
    text-overflow: ellipsis;
    overflow: hidden;
    text-align: center;
  }

 .tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
  }

  .tab-content.active {
    display: block;
  }
 .timeline-item {
    padding-left: 0.8rem;
    padding-right: 0.8rem;
    margin-bottom: 1.5rem;
    border-left: 3px solid var(--orange-yellow-crayola);
    width: 75%;
    box-sizing: border-box;
  }
   

  .timeline-item h3 {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 0.1rem;
  margin-right: 1rem;

  max-width: 62%;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}


  .timeline-item span {
    font-size: 0.85rem;
    color: var(--vegas-gold);
  }
  
  .timeline-item p {
  margin-top: 0.3rem;
  font-size: 0.90rem;
  color: var(--light-gray);
  line-height: 1.3;

  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  hyphens: auto;

  max-width: 62%;  /* Adjust this value as needed */
}

}







/* For smaller mobiles */
@media (min-width: 320px) and (max-width: 767px) {
  .about1 {
    max-width: 95vw;      /* slightly wider on small mobiles */
    padding: 1rem 1rem;
  }
  .article-title {
    font-size: 1.6rem;
  }
  .about-text p {
    font-size: 0.95rem;
    line-height: 1.4;
     text-align: justify;
  }
 

}

/* Responsive Footer */
@media (max-width: 900px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    flex: none;
    min-width: auto;
    width: 100%;
    text-align: center !important; /* override left/right align */
    padding-left: 0 !important;
    padding-right: 0 !important;
    line-height: 1.5rem;
  }
  .footer-left p{
      padding: 0px 15px;
  }
   .footer-center h3{
   padding-top: 30px;
 }

 .footer-right h3{
    padding-top: 10px;
 }
.footer-center h3,
  .footer-right h3 {

    padding-left:0px;
  }
  .footer-center p {
    padding-left: 0 !important; /* Remove left padding on smaller screens */
    justify-content: center !important;
  }

  .footer-right ul {
    text-align: center !important;
     padding-left: 0 !important;
  }
   .footer-left .social-icons-inline {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 30px 15px 15px;
    font-size: 13px;
  }

  .footer-left h2 {
    font-size: 1.3rem;

  }
    .footer-left p{
      padding: 0px 25px;
  }
 .footer-center h3{
   padding-top: 30px;
 }

 .footer-right h3{
    padding-top: 10px;
 }
  .footer-center h3,
  .footer-right h3 {
    font-size: 1rem;
    padding-left:0px;
   
  }
   .footer-left .social-icons-inline {
    justify-content: center;
  }

  .social-icons-inline img {
    width: 28px;
    height: 28px;
    padding: 4px;
  }

  .footer-bottom {
    font-size: 12px;
  }
}

@media (min-width: 320px) and (max-width: 767px) {
  .resume {
    padding: 0rem;
    max-width: 100%;
  }

  .track-resume {
    width: 100%;
    padding: 0rem;
    text-align: left;
    
  }

  .track-resume .title-wrapper {
    align-items: flex-start;
    text-align: left;
  }

  .track-resume .track-item {
    margin-bottom: 2rem;
    width: 100%;
    text-align: left;
    
  }

  .track-resume .track-item-title {
    font-size: 1rem;
    text-align: left;
  }

  .track-resume .track-text {
    font-size: 0.9rem;
    line-height: 1.5rem;
    text-align: left;
    word-break: break-word;
    overflow-wrap: break-word;
    margin: 0;
    padding: 0;
    white-space: normal;
  }
}



@media (min-width: 320px) and (max-width: 767px) {
  .blog-posts-list {
    grid-template-columns: 1fr; /* Switch to single column */
  }

  .blog-post-item > a {
    height: auto; /* Let height adjust based on content */
  }

  .blog-banner-box {
    height: 200px; /* Adjust image height for mobile */
  }
}
@media (min-width: 320px) and (max-width: 767px) {
  .skills-scroll-wrapper {
    width: 370px;       /* narrower width on smaller screens */
    max-width: none;  /* override fixed max-width */
    margin-left: 0;
    margin-right: 0;
  }
}

@media (min-width: 320px) and (max-width: 767px) {
  .skill1-list {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 0;
    padding: 0;
    margin: 0;
  }

  .skill1-slide {
    flex: 0 0 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .skill1-dots {
    text-align: center;
    margin-top: 30px;
  }

  .carousel-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
  }

  .carousel-dot.active {
    background-color: var(--orange-yellow-crayola);
  }
}


/* Responsive corrections */
@media (min-width: 320px) and (max-width: 767px) {
  .filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px; /* Reduced gap between buttons */
    padding: 0 10px;
  }

  .filter-btn {
    white-space: nowrap;       /* Prevent text wrap */
    padding: 6px 12px;
    font-size: 1rem;
    line-height: 1.2rem;
    height: 48px;
    box-sizing: border-box;
    text-align: center;
    border-radius: 25px;       /* More curved border */
    flex-grow: 0;
    flex-shrink: 0;
  }
}

@media screen and (max-width: 765px) {
  .project-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .project-item {
    width: 100%;
    display: none; /* hide by default, shown by JS */
  }

  .project-item.show {
    display: block;
  }

  .pagination {
    display: flex;
    justify-content: center;
    gap: 120px;
    margin-top: 50px;
  }

  .pagination button {
    padding: 8px 20px;
    background-color: #f5ba41;
    color: #000;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
  }

  .pagination button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
  }

   .article-title{
        margin: 1.5rem;
   }
}


@media (min-width: 768px) and (max-width: 1024px) {
  /* Main content */
  .main-content {
    margin: 2rem 1rem;
    padding: 1.5rem;

  }

  /* Article title */
  .article-title {
    font-size: 2rem;
    margin: 1.5rem;
  
  }
   #abc{
     align-items: center;
     padding-right: 15rem;
   }
  /* About section text */
  .about-text p {
    font-size: 0.95rem;
    line-height: 1.5;
    width:740px;
    padding-right: 2rem;
  }

  /* Timeline tabs */
  .timeline-tabs {
    flex-direction: row;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    margin-right: 250px;
  }

  .tab-button {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  
  }

  .timeline-item h3 {
    font-size: 1rem;
  }

  .timeline-item span {
    font-size: 0.85rem;
   
  }

  .timeline-item p {
    font-size: 0.95rem;
        width:46rem;
   
  }

  /* Services section */
  .service {
    padding: 2rem 1rem;
    width:750px;
  }

  .service-title {
    font-size: 1.75rem;
  }

  .service-list {
  
    gap: 1.5rem;
  }

  .service-item {
    padding: 1rem;
  }

  .service-item-title {
    font-size: 1rem;
  }

  .service-item-text {
    font-size: 0.9rem;
    padding-left: 48px;
  }

  /* Skills section */
  .skills-section {
    padding: 2rem 1rem;
  }

  .skills-title {
    font-size: 1.75rem;
  }

  .skill-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .skills-scroll-wrapper {
    width: 100%;
    padding: 0 1rem 1rem;
  }

  .skills-item {
    width: 150px;
    padding: 1rem;
  }

  .skills-item-title {
    font-size: 1rem;
  }

  .skills-avatar-box {
    width: 70px;
    height: 70px;
  }

  .skills-icon {
    width: 40px;
    height: 40px;
  }
  
#track-resume .track-text{
 width:97%;
}


}

@media (min-width: 320px) and (max-width: 767px) {
  .main-content {
    margin-top: 20px !important;
    margin-bottom: 0 !important;
  }

  header.header {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
}


@media screen and (max-width: 767px) {
  .modal-buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px; /* Adjust spacing between buttons */
    flex-wrap: nowrap; /* Ensure buttons stay on the same line */
  }

  .modal-buttons button,
  .modal-buttons a {
    white-space: nowrap; /* Prevent text from wrapping */
  }
   .skill-subtitle {
    font-size: 0.95rem;     /* Slightly smaller on mobile */
    margin-bottom: 1rem;    /* Reduce vertical spacing */
  }
}


.click-hint {
  text-align: center;
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 10px;
  font-style: italic;
}/* FEEDBACK POPUP */

/* .feedback-popup{
display:none;
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.75);
justify-content:center;
align-items:center;
z-index:1000;
} */


/* CONTAINER */

/* .feedback-container{
background:#1e1e1e;
padding:30px;
width:420px;
border-radius:12px;
text-align:center;
color:white;
box-shadow:0 10px 25px rgba(0,0,0,0.5);
font-family:Arial, sans-serif;
} */


/* QUESTIONS */
/* 
.question{
display:none;
}

.question.active{
display:block;
}
 */

/* OPTION LIST (A B C) */
/* .options{
list-style-type: upper-alpha;
text-align:left;
padding-left:25px;
margin-top:15px;
color:white;
}

.options li{
margin:12px 0;
cursor:pointer;
transition:0.25s;
color:white;
} */

/* force A B C color */

/* .options li::marker{
color:white;
font-weight:bold;
} */


/* SUBMIT BUTTON */
/* 
.feedback-container button{
background:var(--orange-yellow-crayola);
color:black;
border:none;
padding:10px 18px;
margin-top:10px;
border-radius:6px;
cursor:pointer;
font-weight:600;
}

.feedback-container button:hover{
opacity:0.85;
} */


/* STAR BUTTON */
/* 
.feedback-star{
position:fixed;
top:20px;
left:-60px;
width:45px;
cursor:pointer;
z-index:999; */

/* slide only */
/* animation:slideStar 1s forwards;
} */


/* SLIDE ANIMATION */
/* 
@keyframes slideStar{
from{
left:-60px;
}
to{
left:20px;
}
} */


/* SHAKE CLASS */
/* 
.shake{
animation:shakeStar 0.6s;
} */


/* SHAKE ANIMATION */
/* 
@keyframes shakeStar{
0%{transform:rotate(0deg);}
25%{transform:rotate(12deg);}
50%{transform:rotate(-12deg);}
75%{transform:rotate(12deg);}
100%{transform:rotate(0deg);}
} */