@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");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  /* user-select: none; */
}

body {
  font-family: "Segoe UI", sans-serif;
  color: #333;
}

html {
  scroll-behavior: smooth;
}

/* all heading */
/* .section-title { */
/* font-size: 1.8rem; */
/*  */
/* text-align: center; */
/* margin-bottom: 40px; */
/* color: #000000; */
/* font-weight: bold; */
/* h1 { font-size: 2em; font-weight: bold; }
  h2 { font-size: 1.5em; font-weight: bold; }
  h3 { font-size: 1.17em; font-weight: bold; } */
/* font-family: "Poppins", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; */
/* } */

/* Navbar Container */
/* Icons */
.menu-toggle {
  display: none;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
}

.menu-toggle i {
  margin-left: 10px;
}

a {
  color: #fff;
  text-decoration: none;
}

.navbar {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  padding: 25px 9%;
  background: rgb(73, 70, 89);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  visibility: hidden;
  opacity: 0;
  animation: show-content 1.5s linear forwards;
  animation-delay: 1.2s;
}

@keyframes show-content {
  100% {
    visibility: visible;
    opacity: 1;
  }
}

.navbar .logo {
  font-size: 30px;
  font-weight: 700;
}

.navbar ul {
  display: flex;
}
.navbar ul li {
  list-style: none;
  margin-left: 35px;
}
.navbar ul li a {
  font-size: 20px;
  font-weight: 500;
  transition: 0.5s;
}

.navbar ul li:hover a,
.navbar ul li.active a {
  color: #7cf03d;
}

/* animation */
.bars-animation {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  z-index: -1;
}
.bars-animation .bar {
  width: 100%;
  height: 100%;
  background: #1f242d;
  /* border: 2px solid red; */
  transform: translateY(-100%);
  animation: show-bars 0.5s ease-in-out forwards;
  animation-delay: calc(0.1s * var(--i));
}

@keyframes show-bars {
  100% {
    transform: translateY(0%);
  }
}

/* hero section */
.home {
  display: flex;
  align-items: center;
  gap: 50px;
  height: 100vh;
  /* height: auto; */
  padding: 60px 9% 0;
  color: #fff;
  visibility: hidden;
  opacity: 0;
  animation: show-content 1.5s linear forwards;
  animation-delay: 1.6s;
}

.home-info h1 {
  font-size: 55px;
  margin-top: -10px;
}
.home-info h2 {
  display: inline-block;
  font-size: 32px;
  margin-top: -10px;
}
.home-info h2 span {
  position: relative;
  display: inline-block;
  color: transparent;
  letter-spacing: 2px;
  -webkit-text-stroke: 0.7px #7cf03d;
  animation: display-text 16s linear infinite;
  animation-delay: calc(-4s * var(--i));
}

@keyframes display-text {
  25%,
  100% {
    display: none;
  }
}

.home-info h2 span::before {
  content: attr(data-text);
  position: absolute;
  width: 0;
  border-right: 2px solid #7cf03d;
  color: #7cf03d;
  white-space: nowrap;
  overflow: hidden;
  animation: fill-text 4s linear infinite;
}

@keyframes fill-text {
  10%,
  100% {
    width: 0;
  }
  70%,
  90% {
    width: 100%;
  }
}

.home-info p {
  font-size: 16px;
  margin: 10px 0 25px;
}

.home-info .btn-sci {
  display: flex;
  align-items: center;
}

.btn-sci > .btn {
  display: inline-block;
  padding: 10px 30px;
  background: #7cf03d;
  border: 2px solid #7cf03d;
  border-radius: 40px;
  box-shadow: 0 0 10px #7cf03d;
  font-size: 16px;
  color: #1f242d;
  font-weight: 600;
  transition: 0.5s;
}

.btn:hover {
  background-color: transparent;
  color: #7cf03d;
  box-shadow: none;
}

.home-info .btn-sci .sci {
  margin-left: 20px;
}

.home-info .btn-sci .sci a {
  display: inline-flex;
  padding: 8px;
  border: 2px solid #7cf03d;
  border-radius: 50%;
  font-size: 20px;
  color: #7cf03d;
  margin: 0 8px;
  transition: 0.5s;
}

.home-info .btn-sci .sci a:hover {
  background: #7cf03d;
  color: #1f242d;
  box-shadow: 0 0 10px #7cf03d;
}

/* image */
.home-img .img-box {
  position: relative;
  width: 30vw;
  height: 30vw;
  /* background: red; */
  border-radius: 50%;
  padding: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.home-img .img-box::before,
.home-img .img-box::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: conic-gradient(transparent, transparent, transparent, #7cf03d);
  transform: rotate(0deg);
  animation: rotate-border 10s linear infinite;
}
.home-img .img-box::after {
  animation-delay: -5s;
}

@keyframes rotate-border {
  100% {
    transform: rotate(360deg);
  }
}

.home-img .img-box .img-item {
  position: relative;
  width: 100%;
  height: 100%;
  background: #1f242d;
  border-radius: 50%;
  border: 0.1px solid #1f242d;
  display: flex;
  justify-content: center;
  z-index: 1;
  overflow: hidden;
}

.home-img .img-box .img-item img {
  position: absolute;
  top: -20px;
  display: block;
  width: 80%;
  object-fit: cover;
  mix-blend-mode: lighten;
}

/* !End of Hero Section */

/* About (Journy) */

.journey-section {
  /* margin-top: 40px; */
  display: flex;
  /* padding: 60px 40px; */
  padding: 60px 9% 0;
  /* background-color: #000; */
  background: linear-gradient(#1f242d, #0f172a);
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  color: white;
}

.journey-left {
  background: linear-gradient(to bottom right, #002c4b, #003b63);
  color: white;
  padding: 30px;
  max-width: 300px;
  margin-right: 40px;
  border-left: 8px solid #0094ff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.journey-left h2 {
  margin-top: 0;
  font-size: 26px;
}

.journey-left p {
  font-size: 14px;
  line-height: 1.6;
}

.timeline {
  flex: 1;
  position: relative;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: #555;
  z-index: 1;
}

.milestone {
  position: relative;
  width: 200px;
  text-align: center;
  z-index: 2;
}

.milestone .circle {
  width: 24px;
  height: 24px;
  background: #45ff0189;
  border: 2px solid #fff;
  border-radius: 50%;
  margin: 0 auto;
  position: relative;
  z-index: 3;
}

.milestone .date {
  margin-top: 10px;
  font-size: 13px;
  font-weight: bold;
  color: #ccc;
}

.milestone .title {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
}

.milestone .read-more {
  margin-top: 6px;
  font-size: 12px;
  color: #ffae00;
  display: inline-block;
}
/* ! End of About Section */

/* Skills Section */
.skills-section {
  background: #0f172a;
  color: #e5e7eb;
  /* padding: 100px 5%; */
  padding: 60px 9% 0;
}

.container {
  max-width: 1300px;
  margin: auto;
}

.section-title {
  text-align: center;
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 60px;
  color: #7cf03d;
  position: relative;
  letter-spacing: 1px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.skills-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(124, 240, 61, 0.15);
  border-radius: 20px;
  padding: 30px 25px;
  box-shadow: 0 0 20px rgba(124, 240, 61, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skills-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 25px rgba(124, 240, 61, 0.2);
}

.skills-card h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: #7cf03d;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.skills-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.skills-card ul li {
  font-size: 15px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: color 0.3s ease;
}

.skills-card ul li:last-child {
  border-bottom: none;
}

.skills-card ul li:hover {
  color: #ffffff;
}
/* !------------------------------------ */

/* project section */

/* Base styles */

.project-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
.project-container > h2 {
  color: #ffffff;
}

/* Section */
.project-section {
  padding: 80px 0;
  background: linear-gradient(#0f172a, #fff);
}

.section-heading {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.section-subheading {
  text-align: center;
  font-size: 1rem;
  color: #d9dbdd;
  margin-bottom: 2rem;
}

/* Filter Buttons */
.filter-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.filter-btn {
  background-color: #e5e7eb;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  color: #1f2937;
  cursor: pointer;
  transition: background-color 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
  background-color: #2563eb;
  color: #fff;
}

/* Grid */
.project-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .project-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Card */
.project-card {
  background-color: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(187, 38, 38, 0.05);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.project-card.hide {
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
}

.project-thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.project-info {
  padding: 20px;
}

.project-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.project-description {
  font-size: 0.95rem;
  color: #4b5563;
  margin-bottom: 15px;
}

.project-tags span {
  display: inline-block;
  background-color: #e5e7eb;
  color: #374151;
  padding: 5px 10px;
  border-radius: 12px;
  font-size: 0.8rem;
  margin-right: 5px;
}

/* Buttons */
.project-actions {
  margin-top: 15px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.project-actions > .btn {
  text-decoration: none;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 0.9rem;
  transition: background 0.3s;
  font-weight: 600;
}

.btn.primary {
  background-color: #2563eb;
  color: #fff;
}

.btn.primary:hover {
  background-color: #1d4ed8;
}

.btn.secondary {
  background-color: #f3f4f6;
  color: #1f2937;
}

.btn.secondary:hover {
  background-color: #e5e7eb;
}

/* Education Section */
.education-section {
  padding: 60px 20px;
  /* background-color: #f9f9f9; */
}

.other-section {
  padding: 5px 20px;
  /* background-color: #f9f9f9; */
}

.education-section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 40px;
  color: #333;
  font-weight: bold;
  font-family: "Poppins", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.education-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  /* max-width: 1000px; */
  /* margin: 0 auto; */
  padding-left: 60px;
  padding-right: 50px;
  margin-bottom: 0;
}

.education-item {
  background: #fff;
  padding: 25px;
  border-left: 5px solid #007bff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.degree {
  font-size: 1.14rem;
  margin-bottom: 8px;
  color: #007bff;
}

.institution {
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
  color: #444;
}

.year {
  font-size: 0.95rem;
  color: #888;
  margin-bottom: 12px;
}

.description {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}

/* Experience Section */

.experience-section {
  padding: 80px 20px;
  background-color: #f8fafc;
}

.section-heading {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.section-subheading {
  text-align: center;
  color: #6b7280;
  margin-bottom: 40px;
  font-size: 1rem;
}

.experience-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr;
  /* border: 2px solid red; */
  padding-left: 60px;
  padding-right: 50px;
}

@media (min-width: 768px) {
  .experience-grid {
    grid-template-columns: repeat(2, 1fr); /* Two per row */
  }
}

.experience-card {
  background-color: #fff;
  border-left: 4px solid #2563eb;
  border-radius: 10px;
  padding: 25px 30px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.experience-card:hover {
  transform: translateY(-4px);
}

.job-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1e293b;
}

.company {
  display: block;
  color: #2563eb;
  font-weight: 500;
  margin-top: 4px;
}

.duration {
  display: block;
  font-size: 0.9rem;
  color: #6b7280;
  margin-bottom: 10px;
}

.job-description {
  color: #475569;
  font-size: 1rem;
  margin-bottom: 12px;
  line-height: 1.6;
}

.job-highlights {
  list-style: disc;
  padding-left: 20px;
  color: #334155;
}

.job-highlights li {
  margin-bottom: 6px;
  font-size: 0.95rem;
}

/* Ceritificate Seciton */

.certificate-section {
  padding: 60px 20px;
  background: #f0f4f8;
}

.certificate-swiper {
  padding: 30px 0;
  /* border: 2px solid green; */
}

.swiper-slide {
  background: #fff;
  border-radius: 16px;
  padding: 30px 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  text-align: center;
  /* max-width: 320px; */
  height: auto;
  /* border: 2px solid red; */
}

.certificate-card > h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: #0077cc;
}

.certificate-card > p {
  font-size: 1rem;
  color: #555;
}

.certificate-card > span {
  display: block;
  font-size: 0.9rem;
  color: #999;
  margin: 10px 0;
}

.certificate-card > a {
  display: inline-block;
  margin-top: 10px;
  color: #007bff;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}

.certificate-card a:hover {
  color: #0056b3;
}

/* Footer Section */
.footer {
  background-color: #1a1a1a;
  color: #f0f0f0;
  padding: 40px 20px 20px;
  font-family: "Segoe UI", sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand h2 {
  margin-bottom: 10px;
  color: #ffffff;
}

.footer-links h3,
.footer-social h3 {
  margin-bottom: 10px;
  font-size: 18px;
  color: #ffffff;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #ffffff;
}

.social-icons a {
  color: #ccc;
  font-size: 20px;
  margin-right: 15px;
  text-decoration: none;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #ffffff;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #333;
  font-size: 14px;
  color: #aaa;
}
.social-icons a {
  color: #ccc;
  font-size: 20px;
  margin-right: 15px;
  text-decoration: none;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #ffffff;
}

/* Contact Section */
.contact-body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #f9f9f9;
  margin: 0;
  padding: 0;
  color: #333;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
}

.contact-section {
  background: #fff;
  max-width: 600px;
  width: 90%;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  text-align: center;
  /* border: 2px solid red; */
}

/* .contact-section h2 {
  font-size: 2.5rem;
  margin-bottom: 12px;
  color: #222;
} */

.contact-section > p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #555;
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.contact-item {
  display: inline-block;
  font-size: 1.15rem;
  color: #0077cc;
  text-decoration: none;
  font-weight: 600;
  padding: 10px 20px;
  border: 2px solid transparent;
  border-radius: 30px;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.contact-item:hover,
.contact-item:focus {
  background-color: #0077cc;
  color: #fff;
  border-color: #005a99;
  outline: none;
}

@media (max-width: 480px) {
  .contact-details {
    flex-direction: column;
    gap: 15px;
  }
  .contact-item {
    padding: 14px 25px;
    font-size: 1.2rem;
  }
}
