@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


@keyframes bg-pan-top {
  0% {
    background-position: 50% 100%;
  }
  100% {
    background-position: 50% 0%;
  }
}


* {
  margin: 0;
  padding: 0;
  font-family: poppins;
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  max-width: 100%;
}

/*---------- Navigation bar ----------*/
.nav-container{
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgb(255, 255, 255);

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;

  padding: 15px 30px;
  max-width: 100%;
  margin: 0 auto;
  box-shadow: 0px 1px 1px 1px rgba(0, 0, 0, 0.095);
  flex-wrap: wrap;
}

.logo {
  flex: 0 0 auto;
}

.nav-links {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
}

.nav {
  list-style-type: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  font-size: 18px;
}

.nav a {
  text-decoration: none;
  display: inline-block;
  padding: 8px 12px;
  color: rgb(88, 88, 88);
  transition: color 0.3s ease;
}

.nav a.active {
  text-decoration: underline;
  font-weight: bold;
  color: black;
  scale: 1.2;
  text-underline-offset: 6px;
}

.nav-cta {
  flex: 0 0 auto;
}

.gamer-profile-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background-color: rgba(0, 0, 0, 0.85);
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.gamer-profile-btn:hover {
  transform: scale(1.05);
  background-color: black;
}

/*---------- Home Container ----------*/
.home-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90vh;     
  text-align: center;
  background: linear-gradient(
    180deg,
    #E2E2E2,
    #c9d6ff,
    #E2E2E2,
    #c9d6ff
  );
  animation: bg-pan-top 4s ease-in-out infinite;
  background-size: 100% 300%;
	
}

.home-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 750px;
  padding: 0 20px;
}

.profile-picture {
  width: 175px;
  height: 175px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 5px;
  border: 4px solid #ffffff;
  box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease;
}

.profile-picture:hover {
  transform: scale(1.05);
}

.home-content h2 {
  font-size: clamp(22px, 4.4vw, 29px);
  font-weight: 800;
  margin: 2px 0;
  color: #1a1a1a;
}

.home-container h3 {
  font-weight: 400;
  font-size: 20px;
  max-width: 600px;
  margin: 5px 0;
  color: #333;
}

.cursor {
  display: inline-block;
  margin-left: 0px;
  animation: blink 1s infinite;
  font-weight: 400;
  color: #000000;
  -webkit-text-fill-color: #000000; 
}

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

.home-container h1{
  font-size: clamp(28px, 6vw, 64px);
  white-space: nowrap;
  margin: 0 0 2px;
  background: linear-gradient(to right,#0F2027, #203A43, #2C5364);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (max-width: 480px) {
  .home-container h1 {
    white-space: normal;
    font-size: 26px;
  }
}

.home-container h4 {
  font-size: 32px;
  margin-bottom: 150px;
  background: linear-gradient(to right,#434343,#000000,#434343,#000000,#434343);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


/*---------- Services Container ----------*/

.services-container {
  background-color: rgba(255, 255, 255, 0.299);
  text-align: center;
}

.aboutme {
  background-color: #0000000e;
  padding: 15px;
  font-size: 32px;
  border-radius: 5px;
  
}

.services-intro {
  max-width: 800px;
  margin: 0 auto 50px;
}

.services-intro h3 {
  font-weight: 400;
  font-size: 18px;
  line-height: 1.7;
  color: rgb(60, 60, 60);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background-color: #ffffff;
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.08);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #0F2027, #203A43, #2C5364);
  color: #ffffff;
  font-size: 28px;
}

.service-card h2 {
  font-size: 22px;
  margin-bottom: 12px;
  color: rgb(30, 30, 30);
}

.service-card p {
  font-size: 15px;
  line-height: 1.6;
  color: rgb(90, 90, 90);
}


/* ---------- Skills Container ---------- */

.skills-container {
  background: linear-gradient(
    180deg,
    #E2E2E2,
    #c9d6ff,
    #E2E2E2,
    #c9d6ff
  );
  animation: bg-pan-top 4s ease-in-out infinite;
  background-size: 100% 300%;

  text-align: center;
}

.skills-container h1 {
  font-size: 64px;
  padding: 15px;
}

.skills-container h3{
  font-weight: 500;
  max-width: 820px;
  margin: 1px auto 0;
  line-height: 1.6;

}

.techstack {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 50px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
 
}

.tech-card {
  background-color: white;
  width: 160px;
  height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 20px;
  box-shadow: 0px 0px 3px 2px rgba(0, 0, 0, 0.098);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.tech-card img {
  width: 85px;
  height: auto;
}

.tech-card p {
  font-weight: 500;
  color: #333;
}

.tech-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.greensync{
  display: flex;
}

.greensync img {
  max-width: 500px;
  border-radius: 10px;
  background-color: black;
  object-fit: cover;
}

.project  {
  margin-top: 80px;
}

/* ---------- AI Automation Projects (Featured) ---------- */

.ai-automation-section {
  margin-top: 80px;
  background-color: #ffffff;
  border-radius: 30px;
  padding: 60px 45px;
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.ai-automation-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 40px;
}

.ai-automation-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  font-weight: 1000;
  color: #2C5364;
  background-color: rgba(44, 83, 100, 0.08);
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 16px;
}

.ai-automation-header h2 {
  font-size: clamp(30px, 4.5vw, 42px);
  margin-bottom: 14px;
  background: linear-gradient(to right, #0F2027, #203A43, #2C5364);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ai-automation-subtitle {
  font-size: 16px;
  line-height: 1.7;
  color: rgb(90, 90, 90);
  font-weight: 500;
}

.ai-filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 45px;
}

.ai-filter-btn {
  padding: 10px 22px;
  border-radius: 30px;
  border: none;
  background-color: rgba(0, 0, 0, 0.05);
  color: rgb(60, 60, 60);
  font-weight: 600;
  font-size: 14px;
  font-family: poppins;
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.ai-filter-btn:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

.ai-filter-btn.active {
  background-color: rgba(0, 0, 0, 0.88);
  color: #ffffff;
}

.ai-project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  align-items: stretch;
}

.ai-no-projects-message {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: rgb(120, 120, 120);
  font-size: 16px;
  font-weight: 500;
}

.ai-project-card {
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
}

.ai-project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.ai-project-preview {
  position: relative;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0F2027, #203A43, #2C5364);
  overflow: hidden;
  flex: 0 0 auto;
  cursor: pointer;
}

.ai-project-preview:focus-visible {
  outline: 3px solid rgba(0, 0, 0, 0.6);
  outline-offset: -3px;
}

.ai-project-preview i {
  font-size: 62px;
  color: rgba(255, 255, 255, 0.18);
}

.ai-project-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ai-status-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background-color: rgba(255, 255, 255, 0.95);
  color: #111111;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.ai-project-body {
  padding: 26px 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  text-align: left;
}

.ai-project-body h3 {
  font-size: 20px;
  font-weight: 700;
  color: rgb(20, 20, 20);
  margin-bottom: 10px;
  line-height: 1.3;
  overflow-wrap: break-word;
  word-break: break-word;
  text-align: left;
}

.ai-project-body p {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgb(95, 95, 95);
  margin-bottom: 18px;
  flex: 1 1 auto;
  overflow-wrap: break-word;
  word-break: break-word;
}

.ai-tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.ai-tech-badges span {
  background-color: rgba(0, 0, 0, 0.05);
  padding: 6px 12px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  color: rgb(60, 60, 60);
}

.ai-view-btn {
  align-self: stretch;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  background-color: rgba(0, 0, 0, 0.85);
  color: white;
  border: none;
  border-radius: 30px;
  font-weight: 700;
  font-size: 13px;
  font-family: poppins;
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.ai-view-btn:hover {
  transform: scale(1.05);
  background-color: black;
}

@media (max-width: 980px) {
  .ai-project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .ai-automation-section {
    padding: 45px 22px;
    border-radius: 22px;
  }

  .ai-project-grid {
    grid-template-columns: 1fr;
  }
}

.project h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.projectinfo {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 25px;
  max-width: 1200px;
  margin: 0 auto;
  box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.1);
  transition: transform 0.5s ease;
}

.projectinfo:hover {
  transform: scale(1.03);
}


.greensyncinfo {
  max-width: 700px;
}

.greensyncinfo h1 {
  font-size: 36px;
  color: #56603b;
  font-weight: 800;
  margin-bottom: -10px;
}

.greensyncinfo h3 {
  margin-top: 0px;
  margin-bottom: 20px;
  color: #56603b;
  font-weight: 500;
}

.greensyncinfo p {
  font-size: 16px;
  line-height: 1.5;
  color: #56603b;
  margin-bottom: 20px;
  text-align: justify;
  font-weight: 450;
}

.visit-btn {
  display: inline-block;
  padding: 14px 28px;
  background-color: #56603b;
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 800;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.visit-btn:hover {
  transform: scale(1.1);
  background-color: #6f7b46;
}


.portfolio-project {
  background: #ffffff90;
}

.portfolio img {
  max-width: 1100px;
  width: 100%;
  border-radius: 18px;
  object-fit: cover;
}

.portfolioinfo {
  max-width: 700px;
}

.portfolioinfo h1 {
  font-size: 36px;
  color: #000000;
  font-weight: 800;
  margin-bottom: -10px;
}

.portfolioinfo h3 {
  color: #000000;
  font-weight: 500;
  margin-top: 0px;
  margin-bottom: 20px;
}

.portfolioinfo p {
  font-size: 16px;
  line-height: 1.6;
  color: #000000;
  margin-bottom: 20px;
  text-align: justify;
}

.portfolio-btn {
  display: inline-block;
  padding: 14px 28px;
  background-color: rgba(0, 0, 0, 0.71);
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 800;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.portfolio-btn:hover {
  transform: scale(1.1);
  background-color: black;
}

.canva-project {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 35px;
  background-color: #ffffff;
  padding: 40px;
  border-radius: 25px;
  max-width: 1200px;
  margin: 0 auto;
  box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.1);
  transition: transform 0.5s ease;
}

.canva-project:hover {
  transform: scale(1.02);
}

.canva-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: 900px;
}

.canva-gallery img {
  width: 220px;
  height: auto;
  max-height: 220px;
  object-fit: contain;
  border-radius: 16px;
}

.canvaprojectinfo {
  max-width: 800px;
  text-align: center;
}

.canvaprojectinfo h1 {
  font-size: 32px;
  color: #000000;
  font-weight: 800;
  margin-bottom: -6px;
}

.canvaprojectinfo h3 {
  color: #555555;
  font-weight: 500;
  margin-top: 0px;
  margin-bottom: 20px;
  font-size: 16px;
}

.canvaprojectinfo p {
  font-size: 16px;
  line-height: 1.6;
  color: #333333;
  text-align: center;
}

.canva-role {
  margin-top: 12px;
  font-weight: 500;
}

/* ---------- N8N Projects ---------- */

.n8n-project {
  display: flex;
  align-items: center;
  gap: 45px;
  background-color: #ffffff;
  padding: 45px;
  border-radius: 25px;
  max-width: 1200px;
  margin: 0 auto;
  box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.1);
  transition: transform 0.5s ease;
}

.n8n-project:hover {
  transform: scale(1.02);
}

.n8n-project-image {
  flex: 0 0 auto;
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f4f6fb;
  border-radius: 50%;
}

.n8n-project-image img {
  width: 85px;
  height: auto;
  object-fit: contain;
}

.n8n-project-info {
  flex: 1;
  min-width: 0;
}

.n8n-project-info h1 {
  font-size: 36px;
  color: #000000;
  font-weight: 800;
  margin-bottom: -10px;
}

.n8n-project-info h3 {
  margin-top: 0px;
  margin-bottom: 20px;
  color: #555555;
  font-weight: 500;
}

.n8n-project-info p {
  font-size: 16px;
  line-height: 1.6;
  color: #444444;
  margin-bottom: 25px;
  text-align: justify;
}

.n8n-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background-color: rgba(0, 0, 0, 0.85);
  color: white;
  border: none;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 800;
  font-size: 14px;
  font-family: poppins;
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.n8n-view-btn:hover {
  transform: scale(1.05);
  background-color: black;
}

@media (max-width: 700px) {
  .n8n-project {
    flex-direction: column;
    text-align: center;
    padding: 35px 25px;
  }

  .n8n-project-info p {
    text-align: center;
  }
}

/* ---------- PDF Panel Popup ---------- */

.pdf-overlay-container {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
}

.pdf-overlay-container.active {
  display: flex;
}

.pdf-panel {
  background-color: #ffffff;
  border-radius: 18px;
  width: 100%;
  max-width: 900px;
  height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0px 20px 60px rgba(0, 0, 0, 0.18);
  animation: panel-pop 0.3s ease;
}

.pdf-list-panel {
  height: auto;
  max-height: 85vh;
  max-width: 460px;
}

@keyframes panel-pop {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.pdf-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  flex: 0 0 auto;
}

.pdf-panel-header h3 {
  font-size: 19px;
  color: #000000;
  flex: 1;
  text-align: center;
}

.pdf-panel-close,
.pdf-panel-back {
  background: rgba(0, 0, 0, 0.06);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: rgb(30, 30, 30);
  cursor: pointer;
  flex: 0 0 auto;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.pdf-panel-close:hover,
.pdf-panel-back:hover {
  transform: scale(1.1);
  background-color: rgba(0, 0, 0, 0.12);
}

/* List of PDFs (minimalist) */

.pdf-list-body {
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pdf-list-item {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  background-color: #f7f8fa;
  border: none;
  border-radius: 14px;
  padding: 16px 18px;
  cursor: pointer;
  text-align: left;
  font-family: poppins;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.pdf-list-item:hover {
  background-color: #eef0f4;
  transform: translateX(4px);
}

.pdf-list-icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.85);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.pdf-list-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pdf-list-title {
  font-weight: 600;
  font-size: 15px;
  color: #000000;
}

.pdf-list-meta {
  font-size: 13px;
  color: #777777;
}

.pdf-list-arrow {
  flex: 0 0 auto;
  color: #999999;
  font-size: 14px;
}

/* PDF Viewer */

.pdf-panel-body {
  flex: 1 1 auto;
  min-height: 0;
  background-color: #ffffff;
}

.pdf-canvas-scroll {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  display: flex;
  justify-content: center;
  padding: 20px;
}

#pdf-canvas {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.12);
}

.pdf-status-message {
  font-size: 15px;
  color: rgb(120, 120, 120);
  text-align: center;
  padding: 40px 20px;
}

.pdf-panel-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 14px 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  flex: 0 0 auto;
}

.pdf-page-btn {
  background: rgba(0, 0, 0, 0.06);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: rgb(30, 30, 30);
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.pdf-page-btn:hover:not(:disabled) {
  transform: scale(1.1);
  background-color: rgba(0, 0, 0, 0.12);
}

.pdf-page-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.pdf-page-indicator {
  font-size: 14px;
  font-weight: 600;
  color: rgb(60, 60, 60);
  min-width: 90px;
  text-align: center;
}

@media (max-width: 600px) {
  .pdf-panel {
    height: 90vh;
  }

  .pdf-panel-header h3 {
    font-size: 16px;
  }
}

/* ---------- Contact Container ----------*/

.contact-container {
  background-color: rgb(255, 255, 255);
  text-align: center;

}

.contact-container h1 {
  font-size: 64px;
  margin-bottom: -10px;
}

.contact-container h2{
  font-weight: 400;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.personalinfo, .socials {
  flex: 1;
  min-width: 0;
  max-height: 80% ;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.999);
  box-shadow: 0px 0px 3px 1px rgba(0, 0, 0, 0.2);
  border-radius: 24px;
  padding: 30px;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.personalinfo:hover, .socials:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.personalinfo h3, .socials h3 {
  font-size: 24px;
  margin-bottom: 20px;
}

.contact-info {
  padding: 18px;
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 14px;
  margin-bottom: 15px;
  font-weight: 500;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.contact-info p {
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.6;
}

.contact-info p a {
  color: inherit;
  text-decoration: none;
}

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

.contact-info h4 {
  font-weight: 700;
}

.contact-info:hover {
  transform: scale(1.05);
  background-color: rgba(128, 128, 128, 0.203);
}

.contact-message {
  font-size: 15px;
  line-height: 1.6;
  color: rgb(80, 80, 80);
  margin-bottom: 25px;
}

.social-btn-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  background-color: rgba(0, 0, 0, 0.85);
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 15px;
  word-break: break-word;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.social-btn:hover {
  transform: scale(1.05);
  background-color: black;
}

.social-btn-outline {
  background-color: transparent;
  color: rgb(20, 20, 20);
  border: 1.5px solid rgba(0, 0, 0, 0.85);
}

.social-btn-outline:hover {
  background-color: rgba(0, 0, 0, 0.85);
  color: white;
}

.availability-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 8px 16px;
  background-color: rgba(46, 204, 113, 0.12);
  color: rgb(30, 130, 76);
  border-radius: 30px;
  font-weight: 600;
  font-size: 13.5px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgb(46, 204, 113);
  box-shadow: 0 0 0 4px rgba(46, 204, 113, 0.18);
}

.response-time {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 13.5px;
  color: rgb(120, 120, 120);
}


/* ---------- Containers ---------- */
.services-container {
   min-height: 85svh;
   padding: 100px 40px;
}
.skills-container  {
  min-height: 100svh;
  padding: 100px 40px;
}

.contact-container {
  min-height: 85svh;
  padding: 100px 40px;
}

html {
  scroll-behavior: smooth;
}

/* ---------- Scroll Reveal Animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s cubic-bezier(0.16, 0.8, 0.24, 1),
              transform 0.8s cubic-bezier(0.16, 0.8, 0.24, 1);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Gamer's Profile Page ---------- */

.goback-container {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgb(255, 255, 255);
  padding: 15px 30px;
  box-shadow: 0px 1px 1px 1px rgba(0, 0, 0, 0.095);
}

.goback-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background-color: rgba(0, 0, 0, 0.06);
  color: rgb(30, 30, 30);
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.goback-btn:hover {
  transform: translateX(-4px);
  background-color: rgba(0, 0, 0, 0.12);
}

.gamer-hero {
  text-align: center;
  padding: 60px 20px 70px;
  background: linear-gradient(
    180deg,
    #E2E2E2,
    #c9d6ff,
    #E2E2E2,
    #c9d6ff
  );
  animation: bg-pan-top 4s ease-in-out infinite;
  background-size: 100% 300%;
}

.gamer-hero h1 {
  font-size: clamp(28px, 5vw, 52px);
  margin-bottom: 10px;
  background: linear-gradient(to right, #0F2027, #203A43, #2C5364);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gamer-hero p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.7;
  color: #333;
  font-weight: 600;
}

.achievements-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.achievement-section {
  display: flex;
  align-items: center;
  gap: 50px;
}

.achievement-section.reverse {
  flex-direction: row-reverse;
}

.achievement-image {
  flex: 1;
  min-width: 0;
}

.achievement-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.achievement-content {
  flex: 1;
  min-width: 0;
}

.achievement-content h2 {
  font-size: 30px;
  color: rgb(30, 30, 30);
  margin-bottom: 15px;
}

.achievement-meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.achievement-meta li {
  background-color: rgba(0, 0, 0, 0.05);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  color: rgb(60, 60, 60);
}

.achievement-content p {
  font-size: 16px;
  line-height: 1.7;
  color: rgb(90, 90, 90);
  text-align: justify;
  font-weight: 500;
}

.achievement-content p .lesson {
  font-weight: 580;
  color: rgb(40, 40, 40);
}



/* ---------- Responsive Media Queries  ---------- */

@media (max-width: 768px) {
  .nav-container {
    align-items: center;
    gap: 10px;
    flex-direction: column;
  }

  .logo {
    margin-bottom: 10px;
    text-align: center;
  }

  .nav {
    gap: 10px;
    font-size: 18px;
  }

  .nav-cta {
    margin-top: 5px;
    margin-left: 0;
  }

   .home-container {
    min-height: calc(100vh - 120px);
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .home-container h4 {
    font-size: 26px;
    margin-bottom: 40px;
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 12px 16px;
  }

  .logo h2 {
    font-size: 18px;
  }

  .nav {
    font-size: 15px;
    gap: 8px;
  }

  .gamer-profile-btn {
    padding: 8px 14px;
    font-size: 12px;
  }

  .services-container,
  .skills-container,
  .contact-container {
    padding: 60px 20px;
  }

  .skills-container h1,
  .contact-container h1 {
    font-size: 38px;
  }

  .achievements-container {
    padding: 50px 20px;
    gap: 40px;
  }

  .gamer-hero {
    padding: 40px 16px 50px;
  }

  .goback-container {
    padding: 12px 16px;
  }

  .goback-btn {
    padding: 8px 16px;
    font-size: 13px;
  }

  .achievement-content h2 {
    font-size: 24px;
  }
}

@media (max-width: 900px) {
  .achievement-section,
  .achievement-section.reverse {
    flex-direction: column;
  }

  .achievement-image {
    width: 100%;
  }

  .achievement-image img {
    max-width: 100%;
  }

  .achievement-content p {
    text-align: left;
  }
}

@media (max-width: 900px) {

  .services-grid {
    grid-template-columns: 1fr;
  }

  .canva-gallery img {
    width: 160px;
    max-height: 160px;
  }

}

@media (max-width: 600px) {

  .home-container h4 {
    font-size: 24px;
  }

  .canva-gallery img {
    width: 130px;
    max-height: 130px;
  }

}

@media (max-width: 900px) {
  .projectinfo {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .greensync {
    justify-content: center;
    width: 100%;
  }

  .greensync img {
    width: 100%;
    max-width: 500px;
  }

  .greensyncinfo {
    max-width: 100%;
  }

  .greensyncinfo p {
    text-align: center;
  }
}

@media (max-width: 700px) {

  .contact-content {
    flex-direction: column;
    align-items: stretch;
  }

  .personalinfo,
  .socials {
    width: 100%;
  }

}
