* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
}

body {
  background: linear-gradient(135deg, #f8faff 0%, #f2f6ff 100%);
  color: #1a1f36;
  min-height: 100vh;
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Prevent oversized media from creating horizontal scroll */
img,
picture,
video,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Help long words or unbroken text wrap instead of overflowing */
html,
body {
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* -------- Navbar -------- */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.8);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 70px;
  padding: 0 5%;
  width: 100%;
  margin-bottom: 120px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.02);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo a {
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  /* padding-left: -40px; */
  margin-right: -30px;
}

.logo img {
  width: 120px;
  height: auto;
  display: block;
  margin-top: 15px;
}

.logo p {
  font-size: 20px;
  font-weight: 700;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
  margin-left: -20px;
  display: flex;
  align-items: center;
}

.logo span {
  background: linear-gradient(135deg, #10b981, #059669);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
  height: 100%;
  align-items: center;
  justify-content: center;
}

nav ul li a {
  text-decoration: none;
  color: #4b5563;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 8px 12px;
  border-radius: 6px;
}

nav ul li a:hover {
  color: #2563eb;
  background: rgba(37, 99, 235, 0.05);
}
/* -------- Hero Section -------- */
.hero {
  text-align: center;
  padding: 70px 10%;
  margin-top: 100px;
}

.profile-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.profile-ring {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 3px solid rgba(37, 99, 235, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: spin 12s ease-in-out infinite;
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.9),
    rgba(255, 255, 255, 0.7)
  );
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

.profile-ring::before {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 2px dashed rgba(16, 185, 129, 0.3);
  animation: spin 15s ease-in-out infinite reverse;
}

.profile-ring img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid white;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-ring:hover img {
  transform: scale(1.05);
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(180deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.badge {
  margin: 35px auto;
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.1),
    rgba(16, 185, 129, 0.1)
  );
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  border-radius: 100px;
  color: #2563eb;
  font-weight: 500;
  font-size: 0.9rem;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.05);
  border: 1px solid rgba(37, 99, 235, 0.1);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.badge span {
  margin-right: 10px;
  font-size: 10px;
  text-align: center;
  color: #10b981;
  border: none;
}

h1 {
  font-size: 5rem;
  margin-top: 10px;
  background: linear-gradient(135deg, rgb(37, 99, 235), #10b981);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
  font-weight: 800;
}

h1 span {
  color: #0a817b;
}

h2 {
  font-size: 3rem;
  font-weight: 600;
  margin-top: 10px;
}

.hero p {
  max-width: 600px;
  margin: 15px auto 0;
  font-size: 1.05rem;
  text-align: center;
  line-height: 1.6;
  margin: auto;
  color: #444;
}
.myDescription {
  text-align: center;
}

.btn-for-portfolio {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.portfolio {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
}

.portfolio:hover {
  background: linear-gradient(135deg, #059669, #047857);
  transform: translateY(-2px);
}

.myresume {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: white;
}

.myresume:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  transform: translateY(-2px);
}

.download-resume-btn {
  margin-top: 15px;
  border: none;
  border-radius: 12px;
  padding: 16px 32px;
  cursor: pointer;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 600;
  margin-top: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.download-resume-btn:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.download-resume-btn a {
  text-decoration: none;
  color: white;
  display: flex;
  align-items: center;
  gap: 8px;
}

.download-resume-btn a i {
  font-size: 1.1rem;
}

/* -------- Responsive -------- */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 15px;
  }
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  h1 {
    font-size: 2.2rem;
  }
  .profile-ring {
    width: 150px;
    height: 150px;
  }
  .profile-ring img {
    width: 120px;
    height: 120px;
  }
}

/* sectionService */

.services-section {
  text-align: center;
  padding: 50px 20px;
  max-width: 100%;
  margin: 0 auto;
  background: #fff;
}

.offer_btn {
  padding: 30px 20px;
  text-align: center;
}

.offer_btn button {
  background: linear-gradient(90deg, #a3d3ff, #b5e0ff);
  color: #1d7dc4;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 0.7rem;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
}

.offer_btn button:hover {
  background-color: #096f6d;
  border: 1px solid #1d7dc4;
}
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #000;
  text-align: center;
}

.section-subtitle {
  margin-top: 10px;
  color: #666;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.95rem;
  margin-bottom: 50px;
  text-align: center;
}

.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 0.85fr));
  margin: auto;
  max-width: 1200px;
  margin-top: 50px;
  gap: 30px;
}

.service-card {
  background: rgba(255, 255, 255, 0.8);
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  max-width: 400px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.service-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border-color: rgba(37, 99, 235, 0.1);
}

.service-card ul {
  display: inline-block;
  text-align: left;
  padding-top: 20px;
  margin-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card ul li {
  position: relative;
}

.icons {
  font-size: 32px;
  border-radius: 16px;
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.blue:hover {
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.05),
    rgba(59, 130, 246, 0.05)
  );
}

.green:hover {
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.05),
    rgba(5, 150, 105, 0.05)
  );
}

.red:hover {
  background: linear-gradient(
    135deg,
    rgba(239, 68, 68, 0.05),
    rgba(220, 38, 38, 0.05)
  );
}

.pink:hover {
  background: linear-gradient(
    135deg,
    rgba(236, 72, 153, 0.05),
    rgba(219, 39, 119, 0.05)
  );
}

.purple:hover {
  background: linear-gradient(
    135deg,
    rgba(139, 92, 246, 0.05),
    rgba(124, 58, 237, 0.05)
  );
}

.bluecup:hover {
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.05),
    rgba(37, 99, 235, 0.05)
  );
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 15px;
}

.service-card ul {
  list-style: none;
  padding-left: 0;
}

.service-card ul li {
  font-size: 0.85rem;
  color: #444;
  margin-bottom: 8px;
  position: relative;
  padding-left: 15px;
}

.service-card ul li::before {
  content: "•";
  color: #3b82f6;
  position: absolute;
  left: 0;
}

/* technical-skills */

.technical-skills {
  text-align: center;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0.9)
  );
  padding: 40px 0;
  position: relative;
  overflow: hidden;
}


.expertise-btn {
  padding: 30px 20px;
  text-align: center;
  background-color: none;
}

.expertise-btn button {
  background: linear-gradient(90deg, #a3d3ff, #b5e0ff);
  color: #1d7dc4;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 0.7rem;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
}

.expertise-btn button:hover {
  border: 1px solid #1d7dc4;
}


/* ////GRID///// */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: auto;
  margin-top: 60px;
  padding: 0 24px;
}

.card {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  padding: 40px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border-color: rgba(37, 99, 235, 0.1);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.icon img {
  width: 80px;
  height: 80px;
  stroke: white;
  stroke-width: 2;
  fill: none;
}

.lts {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 6px 0;
  text-align: left;
}

.level {
  display: inline-block;
  background-color: #00c853;
  color: white;
  font-size: 0.4rem;
  padding: 2px;
  border-radius: 25px;
  font-weight: 500;
  width: fit-content;
}

.level.FD {
  background: linear-gradient(90deg, #3498e6, #5992fd);
}

.level.BD {
  background: linear-gradient(180deg, #2fbd2ac9, #69a068e0);
}

.level.D {
  background: linear-gradient(45deg, #94346f, #ca17c1);
}

.level.C {
  background: linear-gradient(45deg, #f5863d, #cf5b0ee1);
}

.level.M {
  background: linear-gradient(45deg, #5d87e2, #d12ac9);
}

.level.AI {
  background: linear-gradient(45deg, #677fe9ea, #2ca049);
}

.frontend:hover {
  background: linear-gradient(360deg, #dcefff, #ddeaf3);
}
.backend:hover {
  background: linear-gradient(180deg, #effefb, #d6f7da);
}
.design:hover {
  background: linear-gradient(180deg, #ece8ec, #ffe8ff);
}
.cloud:hover {
  background: linear-gradient(180deg, #f7f2ee, #fae0bf);
}
.mobile:hover {
  background: linear-gradient(180deg, #ece8ec, #ffe8ff);
}
.ai:hover {
  background: linear-gradient(360deg, #cde9ce, #e6e9ec);
}

h3 {
  font-size: 1.15rem;
  margin: 0;
  font-weight: 700;
}

.level {
  display: inline-block;
  background-color: #007bff;
  color: white;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 10px;
  margin-top: 6px;
}

.advanced {
  background-color: #8b3cff;
}
.intermediate {
  background-color: #ff3b30;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #4b5563;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.tag:hover {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: white;
  border-color: transparent;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}
