:root {
  --bg: #0F172A;
  --bg-2: #1E293B;
  --bg-3: #334155;
  --accent: #38BDF8;
  --text: #F8FAFC;
  --muted: #94A3B8;

  --container: 1100px;
  --radius: 10px;
}

/* Universal section headings */
.section h2 {
  margin-bottom: 1rem;
  font-size: 2rem;
  color: var(--accent);
  text-align: center;
}

.section p {
  color: var(--muted);
  text-align: center;
}

/* Basic reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}


html,
body {
  height: 100%;
}

body {
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, "Helvetica Neue", Arial;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  scroll-behavior: smooth;
}

/* Utility */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.75));
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.logo img {
  height: 42px;
  width: auto;
  display: block;
}

.primary-nav {}

.nav-list {
  display: flex;
  gap: 1rem;
  list-style: none;
  align-items: center;
}

.nav-link {
  position: relative;
  color: var(--text);
  text-decoration: dotted;
  padding: 0.25rem 0.35rem;
  border-radius: 6px;
  transition: color .25s ease;
}

.nav-link::before,
.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width .3s ease;
}

.nav-link::before {
  top: 0;
  left: 0;
}

.nav-link::after {
  bottom: 0;
  right: 0;
}

.nav-link:hover::before,
.nav-link:focus::before,
.nav-link:hover::after,
.nav-link:focus::after {
  width: 100%;
}

/* Mobile toggle */
.nav-toggle {
  background: transparent;
  border: 0;
  color: var(--text);
  display: none;
  cursor: pointer;
}

/* Sections */
.section {
  padding: 2rem 0;
}

/* hero */
.hero {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg), var(--bg-2));
  text-align: center;
}

.hero-inner h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: .6rem;
}

.hero .lead {
  color: var(--muted);
  margin-bottom: 1rem;
}

.accent {
  color: var(--accent);
}

.hero-ctas .btn i {
  margin-right: 0.5rem;
  /* space between icon and text */
  font-size: 1rem;
  /* adjust icon size */
}


/* Animation styling css code  */
.hero-heading {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  white-space: pre-wrap;
}

.hero-heading .char {
  display: inline-block;
  opacity: 0;
}

.hero-heading .accent {
  color: var(--accent);
}

.hero-heading .cursor {
  opacity: 0;
  display: inline-block;
  color: var(--accent);
  animation: blink 1.50s infinite;
}

@keyframes blink {

  0%,
  50% {
    opacity: 1;
  }

  51%,
  100% {
    opacity: 0;
  }
}

/* Resume Button */
.resume-btn {
  position: relative;
  display: inline-block;
  /* padding: 0.9rem 2rem; */
  margin-top: 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  background: linear-gradient(135deg, #2AB8F8, #0077b6);
  box-shadow: 0 4px 15px rgba(42, 184, 248, 0.4);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resume-btn span {
  position: relative;
  z-index: 2;
}

.resume-btn::before {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.25);
  transform: skewY(-10deg);
  transition: top 0.5s ease;
  z-index: 1;
}

.resume-btn:hover::before {
  top: 0;
}

.resume-btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 25px rgba(42, 184, 248, 0.7);
}

.resume-btn:active {
  transform: scale(0.96);
  box-shadow: 0 3px 10px rgba(42, 184, 248, 0.5);
}

.resume-btn-wrapper {
  text-align: center;
  margin-top: 0px;
}

.btn-resume {
  text-align: center;
  padding: 0;
}


/* buttons */
.btn {
  display: inline-block;
  padding: .7rem 1rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  background: var(--accent);
  color: var(--bg);
  border: none;
  cursor: pointer;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(148, 163, 184, 0.06);
}


/* About Section */
.about-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.about-text {
  flex: 1.25;
}

.about-aside {
  flex: 1;
  text-align: center;
}

.about-aside p {
  margin: 0px 0px 16px;
}

.about-aside img {
  width: 100%;
  height: auto;
  max-width: 250px;
  border-radius: 12px;
  margin-bottom: 1rem;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.social-links a {
  font-size: 1rem;
  margin: 0 4px;
  color: var(--accent, #38bdf8);
  transition: color 0.3s;
}

.social-links a:hover {
  color: #fff;
}


/* Social links with icons */
.social-links {
  display: flex;
  justify-content: center;
  gap: 1px;
}

.social-links a {
  font-size: 1.5rem;
  color: var(--text);
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--accent);
}

/* Resume Button */
.btn-resume {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.45rem 1.2rem;
  background: linear-gradient(135deg, #1d9bf0, #0077b6);
  color: #fff;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.25s ease-in-out;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
}

.btn-resume:hover {
  background: linear-gradient(135deg, #38bdf8, #0096c7);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.25);
}

.btn-resume:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Hero Resume Button Styling */
.resume-btn-wrapper {
  text-align: center;
  margin-top: 1rem;
}

.btn-resume {
  display: inline-block;
  padding: 10px 28px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-resume:hover {
  background: rgba(59, 130, 246, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4);
}

/* Why Choose Me */
.why-container {
  text-align: center;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--accent);
}

.section-subtitle {
  color: var(--text-light);
  margin-bottom: 2rem;
  font-size: 1rem;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.why-card {
  background: var(--bg-2);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-card i {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.why-card h3 {
  margin-bottom: 0.5rem;
  color: var(--text);
}

.why-card p {
  font-size: 0.95rem;
  color: var(--text-light);
}

.why-card:hover {
  transform: translateY(-8px);
  border: 1px solid var(--accent);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

/* Skills Section */
.skills {
  background: var(--bg-alt);
  /* choose lighter/darker background for separation */
  padding: 1rem 1rem;
  text-align: center;
}

.skills h2 {
  margin: 0px 0px 6px;
}

.skills-intro {
  margin-bottom: 1rem;
  color: var(--text);
  font-size: 1rem;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(105px, 1fr));
  gap: 1rem;
  justify-items: center;
}

.skill-card {
  background: var(--card-bg, #1e293b);
  color: var(--text);
  padding: 1rem 1.5rem;
  border-radius: 10px;
  font-weight: 500;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}

.skill-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.skill-card i {
  margin-right: 10px;
  font-size: 1.2rem;
  color: var(--accent, #38bdf8);
}

/* Skills Progress Bars */
.skill {
  margin-bottom: 1.5rem;
}

.skill-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.4rem;
  font-weight: 500;
  color: var(--text);
}

.skill-bar {
  background: var(--bg-3);
  border-radius: 10px;
  overflow: hidden;
  height: 12px;
}

.skill-fill {
  height: 100%;
  width: 0;
  background: var(--accent);
  border-radius: 10px;
  transition: width 1.5s ease-in-out;
}

/* Services Section */
.services-timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
  position: relative;
}

.services-timeline::before {
  content: "";
  position: absolute;
  left: 32px;
  top: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(var(--accent), transparent);
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  position: relative;
}

.service-icon {
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  min-width: 50px;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.service-item:hover .service-icon {
  transform: scale(1.2) rotate(10deg);
}

.service-content h3 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--text);
}

.service-content p {
  margin: 0.5rem 0 0;
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Certifications Section */
.certifications {
  padding: 4rem 1.5rem;
  background: linear-gradient(180deg, #0f172a, #1e293b);
  color: #fff;
}

.certifications .section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.certifications .section-subtitle {
  text-align: center;
  color: #94a3b8;
  margin-bottom: 3rem;
  font-size: 1rem;
}

/* Timeline */
.cert-timeline {
  position: relative;
  margin: 0 auto;
  max-width: 750px;
  padding-left: 2rem;
  border-left: 2px solid var(--accent, #38bdf8);
}

.cert-item {
  position: relative;
  margin-bottom: 2.5rem;
  padding-left: 1.5rem;
  transition: transform 0.3s ease;
}

.cert-item:hover {
  transform: translateX(8px);
}

.cert-dot {
  position: absolute;
  left: -11px;
  top: 5px;
  width: 16px;
  height: 16px;
  background: var(--accent, #38bdf8);
  border-radius: 50%;
  border: 2px solid #fff;
}

/* Content Box */
.cert-content {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem 1.25rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.cert-content:hover {
  border-color: var(--accent, #38bdf8);
  box-shadow: 0 8px 20px rgba(56, 189, 248, 0.25);
}

.cert-content h3 {
  margin: 0 0 0.25rem;
  font-size: 1.2rem;
  color: #fff;
  font-weight: 600;
}

.cert-org {
  font-size: 0.9rem;
  color: #38bdf8;
  display: block;
  margin-bottom: 0.5rem;
}

.cert-content p {
  font-size: 0.95rem;
  color: #cbd5e1;
  margin: 0 0 0.75rem;
  line-height: 1.5;
}

/* Certification Image */
.cert-content a {
  display: block;
  margin-top: 0.5rem;
  text-align: center;
}

.cert-content img {
  width: 100%;
  max-width: 320px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.cert-content img:hover {
  transform: scale(1.05);
  border-color: var(--accent, #38bdf8);
  box-shadow: 0 10px 20px rgba(56, 189, 248, 0.35);
}

/* Responsive */
@media (max-width: 768px) {
  .cert-timeline {
    padding-left: 1.2rem;
  }

  .cert-content {
    padding: 0.9rem 1rem;
  }

  .cert-content img {
    max-width: 100%;
  }
}

.cert-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: var(--accent, #38bdf8);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.2s ease;
}

.cert-link:hover {
  color: #fff;
  transform: translateX(4px);
}

/* Animation for certification items */
.cert-item {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

/* Each item will appear one by one */
.cert-item:nth-child(1) {
  animation-delay: 0.2s;
}

.cert-item:nth-child(2) {
  animation-delay: 0.6s;
}

.cert-item:nth-child(3) {
  animation-delay: 1s;
}

/* add more nth-child if you have more items */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Project Section */
.projects h2 {
  margin-bottom: .4rem;
}

.projects-grid {
  margin-top: 1.25rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.project-card {
  background: var(--bg-2);
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(2, 6, 23, 0.6);
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.project-media {
  height: 140px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--bg-3), var(--bg-2));
}

/* Project media class code */
.project-media {
  height: 160px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.3s ease;
}

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

/* Contact Form */
.contact .contact-form {
  max-width: 520px;
  margin: 1rem auto 0;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.contact input,
.contact textarea {
  background: var(--bg-3);
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.05);
  color: var(--text);
  padding: .6rem;
  border-radius: 10px;
}

.form-feedback {
  margin-top: .4rem;
  color: var(--accent);
  min-height: 1.1rem;
}

/* Footer */
.site-footer {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 1));
  text-align: center;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
}

.footer-text {
  margin-bottom: .50rem;
  font-size: 0.95rem;
  color: #e5e7eb;
}

.footer-social a {
  display: inline-block;
  margin: 0 0.6rem;
  font-size: 1.3rem;
  color: #94a3b8;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
  color: #38bdf8;
  transform: scale(1.2);
}

/* Reveal animation (initial) */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s cubic-bezier(.2, .9, .3, 1), transform .6s cubic-bezier(.2, .9, .3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Accessibility helpers */
.sr-only {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.muted {
  color: var(--muted);
}

/* small polish */
a.card-link {
  margin-top: auto;
  text-decoration: none;
  color: var(--accent);
  font-weight: 600;
}


/* small devices */
@media (max-width: 767px) {

  body {
    height: 100%;
    padding: 4px;
  }

  .hero {
    padding: 2rem 1rem;
    text-align: center;
    min-height: calc(55vh - 40px);
  }

  .hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .hero-inner h1 {
    font-size: clamp(1.70rem, 4vw, 3rem);
    margin-bottom: .6rem;
  }

  h2 {
    font-size: clamp(1.50rem, 4vw, 3rem);
    margin-bottom: .6rem;
  }

  .hero-heading {
    font-size: 1.50rem;
    line-height: 1.2;
  }

  .lead {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }

  .hero-ctas {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    max-width: 250px;
  }

  .hero-ctas .btn {
    width: 100%;
    font-size: 0.9rem;
    padding: 0.6rem 0.9rem;
  }

  .about-container {
    display: flex;
    align-items: flex-start;
  }

  .about-text p {
    padding: 2px;
    margin: 2px;
  }

  .about-image {
    margin-top: 15px;
  }

  .skills-grid {
    gap: 1rem;
  }

  .nav-list {
    display: none;
    position: fixed;
    top: 64px;
    right: 0;
    width: 200px;
    height: 420%;
    /* Use viewport height minus top offset */
    flex-direction: column;
    padding: 1rem;
    background-color: #1a5a78;
    border-radius: 10px;
    box-shadow: -6px 0 20px rgba(0, 0, 0, 0.5);
  }

  /* Show when nav-open class is added */
  .nav-list.nav-open {
    display: flex;
  }

  /* Individual menu items */
  .nav-link {
    padding: 0.5rem;
    margin-bottom: 0.25rem;
    transition: background 0.6s ease;
    background-color: #0F172A;
    border-radius: 15px;
    text-decoration: none;
    color: white;
    width: 100%;
  }

  .nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
  }

  /* Navigation toggle button */
  .nav-toggle {
    display: inline-flex;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: auto;
    color: var(--text);
  }

  .skill-card {
    padding: 12px 18px;
    text-align: center;
  }

  .about-aside img {
    width: 70%;
    height: auto;
    max-width: 200px;
    border-radius: 50px;
  }

  .resume-btn-wrapper {
    text-align: center;
    margin-top: 0;
  }

  .section h2 {
    margin-bottom: 1rem;
    font-size: 1.50rem;
  }

  .section p {
    font-size: 11px;
    color: var(--muted);
    text-align: center;
  }

  .certifications .section-title {
    font-size: 1.50rem;
  }

  .why-container .why-grid {
    width: auto;
  }
}

/* For 900px */
@media (max-width: 900px) {

  body {
    height: 100%;
    padding: 4px;
  }

  .hero {
    padding: 2rem 1rem;
    text-align: center;
    min-height: calc(55vh - 40px);
  }

  .hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .hero-inner h1 {
    font-size: clamp(1.70rem, 4vw, 3rem);
    margin-bottom: .6rem;
  }

  .hero-heading {
    font-size: 1.5rem;
    line-height: 1.2;
  }

  .lead {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }

  .hero-ctas {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    max-width: 250px;
  }

  .hero-ctas .btn {
    width: 100%;
    font-size: 0.9rem;
    padding: 0.6rem 0.9rem;
  }

  .about-container {
    display: block;
  }

  .skills-grid {
    gap: 1rem;
  }

  .nav-list {
    display: none;
    position: fixed;
    top: 64px;
    right: 0;
    width: 200px;
    height: 420%;
    /* Use viewport height minus top offset */
    flex-direction: column;
    padding: 1rem;
    background-color: #1a5a78;
    border-radius: 10px;
    box-shadow: -6px 0 20px rgba(0, 0, 0, 0.5);
  }

  /* Show when nav-open class is added */
  .nav-list.nav-open {
    display: flex;
  }

  /* Individual menu items */
  .nav-link {
    padding: 0.5rem;
    margin-bottom: 0.25rem;
    transition: background 0.6s ease;
    background-color: #0F172A;
    border-radius: 15px;
    text-decoration: none;
    color: white;
    width: 100%;
  }

  .nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
  }

  /* Navigation toggle button */
  .nav-toggle {
    display: inline-flex;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: auto;
    color: var(--text);
  }

  .about-text p {
    font-size: 10px;
    text-align: center;
  }

  .about-aside img {
    width: 70%;
    height: auto;
    max-width: 200px;
    border-radius: 50px;
  }

  .resume-btn-wrapper {
    text-align: center;
    margin-top: 0;
  }

  .section h2 {
    margin-bottom: 1rem;
    font-size: 1.50rem;
  }

  .section p {
    font-size: 11px;
    color: var(--muted);
    text-align: center;
  }

  .certifications .section-title {
    font-size: 1.50rem;
  }
}


/* For 1024  */
@media (max-width: 1024px) {
  .hero {
    padding: 2rem 1rem;
    text-align: center;
    min-height: calc(55vh - 40px);
  }

  .hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.50rem;
  }

  .hero-inner h1 {
    font-size: clamp(1.70rem, 4vw, 3rem);
    margin-bottom: .6rem;
  }

  .hero-ctas {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    max-width: 250px;
  }

  .hero-ctas .btn {
    width: 100%;
    font-size: 0.9rem;
    padding: 0.6rem 0.9rem;
  }

  .about-text .p1 {
    font-size: 12px;
    text-align: center;
  }

  .about-aside img {
    width: 70%;
    height: auto;
    max-width: 200px;
    border-radius: 50px;
  }

  .resume-btn-wrapper {
    text-align: center;
    margin-top: 0;
  }

  .section h2 {
    margin-bottom: 1rem;
    font-size: 1.50rem;
  }

  .section p {
    font-size: 11px;
    color: var(--muted);
    text-align: center;
  }

  .certifications .section-title {
    font-size: 1.50rem;
  }
}


/* Dont touch it, It is seperate section for grid cards */
/* Adding the functionality on Why choose us section */
.why-container .why-grid {
  display: flex !important;
  flex-wrap: nowrap;
  gap: 1rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  /* smooth momentum on iOS */
  scroll-snap-type: x mandatory;
  padding: 0.5rem 0 1rem;
  /* small vertical padding */
  margin: 0 -1.25rem;
  /* allow cards to reach container edges if container has side padding */
  box-sizing: border-box;
}

/* each card fixed width and snapped */
.why-container .why-grid>.why-card {
  flex: 0 0 260px;
  min-width: 220px;
  /* graceful shrink */
  scroll-snap-align: start;
  box-sizing: border-box;
}

/* optional: give the first/last card some extra side spacing so they center nicely on small screens */
.why-container .why-grid>.why-card:first-child {
  margin-left: 1rem;
}

.why-container .why-grid>.why-card:last-child {
  margin-right: 1rem;
}

/* scrollbar styling (keeps it clean but visible). If you want to hide it, set display:none) */
.why-container .why-grid::-webkit-scrollbar {
  height: 8px;
}

.why-container .why-grid::-webkit-scrollbar-track {
  background: transparent;
}

.why-container .why-grid::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.12);
  border-radius: 999px;
}

/* Firefox */
.why-container .why-grid {
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.12) transparent;
}

/* accessibility: allow keyboard horizontal scroll when focused */
.why-container .why-grid:focus {
  outline: none;
}

@media (max-width: 767px) {
  .why-container .why-grid {
    display: flex !important;
    flex-wrap: nowrap;
    gap: 1rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding: 0.5rem 0 1rem;
    margin: 0 -1.25rem;
    box-sizing: border-box;
  }

  .why-container .why-grid>.why-card {
    flex: 0 0 260px;
    min-width: 220px;
    scroll-snap-align: start;
    box-sizing: border-box;
  }

  .why-container .why-grid>.why-card:first-child {
    margin-left: 1rem;
  }

  .why-container .why-grid>.why-card:last-child {
    margin-right: 1rem;
  }

  /* scrollbar styling */
  .why-container .why-grid::-webkit-scrollbar {
    height: 8px;
  }

  .why-container .why-grid::-webkit-scrollbar-track {
    background: transparent;
  }

  .why-container .why-grid::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.12);
    border-radius: 999px;
  }

  .why-container .why-grid {
    scrollbar-width: thin;
    scrollbar-color: rgba(148, 163, 184, 0.12) transparent;
  }
}

/* For 900px */
@media (max-width: 900px) {
  .why-container .why-grid {
    display: flex !important;
    flex-wrap: nowrap;
    gap: 1rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding: 0.5rem 0 1rem;
    margin: 0 -1.25rem;
    box-sizing: border-box;
  }

  .why-container .why-grid>.why-card {
    flex: 0 0 260px;
    min-width: 220px;
    scroll-snap-align: start;
    box-sizing: border-box;
  }

  .why-container .why-grid>.why-card:first-child {
    margin-left: 1rem;
  }

  .why-container .why-grid>.why-card:last-child {
    margin-right: 1rem;
  }

  /* scrollbar styling */
  .why-container .why-grid::-webkit-scrollbar {
    height: 8px;
  }

  .why-container .why-grid::-webkit-scrollbar-track {
    background: transparent;
  }

  .why-container .why-grid::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.12);
    border-radius: 999px;
  }

  .why-container .why-grid {
    scrollbar-width: thin;
    scrollbar-color: rgba(148, 163, 184, 0.12) transparent;
  }
}

/* For 1024px */
@media (max-width: 1024px) {
  .why-container .why-grid {
    display: flex !important;
    flex-wrap: nowrap;
    gap: 1rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding: 0.5rem 0 1rem;
    margin: 0 -1.25rem;
    box-sizing: border-box;
  }

  .why-container .why-grid>.why-card {
    flex: 0 0 260px;
    min-width: 220px;
    scroll-snap-align: start;
    box-sizing: border-box;
  }

  .why-container .why-grid>.why-card:first-child {
    margin-left: 1rem;
  }

  .why-container .why-grid>.why-card:last-child {
    margin-right: 1rem;
  }

  /* scrollbar styling */
  .why-container .why-grid::-webkit-scrollbar {
    height: 8px;
  }

  .why-container .why-grid::-webkit-scrollbar-track {
    background: transparent;
  }

  .why-container .why-grid::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.12);
    border-radius: 999px;
  }

  .why-container .why-grid {
    scrollbar-width: thin;
    scrollbar-color: rgba(148, 163, 184, 0.12) transparent;
  }
}

/* ensure horizontal touch pan works nicely */
.why-container .why-grid {
  -webkit-overflow-scrolling: touch;
  /* smooth momentum on iOS */
  touch-action: pan-x;
  /* allow horizontal pan */
}

/* Back to Top Button */
#backToTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;

  background: #38bdf8;
  color: #fff;
  border: none;
  outline: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.25);
  transition: background 0.3s ease, transform 0.3s ease;
}

#backToTop:hover {
  background: #0ea5e9;
  transform: scale(1.1);
}