:root {
  --bg: #f5f2e7;
  --surface: #fcfaf2;
  --surface-strong: #efe8d4;
  --text: #171611;
  --muted: #5b584d;
  --accent: #6a6f38;
  --accent-strong: #52572d;
  --border: rgba(23, 22, 17, 0.14);
  --shadow: 0 18px 45px rgba(23, 22, 17, 0.08);
}

html[data-theme="dark"] {
  --bg: #12120f;
  --surface: #171611;
  --surface-strong: #221f18;
  --text: #f3efe4;
  --muted: #c2bda4;
  --accent: #b7bb66;
  --accent-strong: #dce0a5;
  --border: rgba(243, 239, 228, 0.16);
  --shadow: 0 24px 54px rgba(0, 0, 0, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle at top left, rgba(106, 111, 56, 0.06), transparent 28%);
  mix-blend-mode: multiply;
  opacity: 0.7;
}

.page-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 24px 64px;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(252, 250, 242, 0.86);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

html[data-theme="dark"] .topbar {
  background: rgba(23, 22, 17, 0.8);
}

.brand {
  font-family: "Montserrat", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-left: 15px;
}

.topnav {
  display: flex;
  gap: 18px;
  font-size: 0.95rem;
}

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

.topnav a:hover,
.topnav a:focus-visible {
  color: var(--accent);
}

.theme-toggle {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface-strong);
  color: var(--accent);
  cursor: pointer;
}

.section {
  padding: 84px 0 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 42px;
  align-items: center;
  min-height: 76vh;
}

.hero__copy {
  max-width: 640px;
}

.eyebrow {
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero h1 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 0.96;
  margin: 0 0 16px;
  font-weight: 800;
}

.hero p {
  font-size: 1.05rem;
  margin: 0 0 24px;
  color: var(--muted);
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__actions--overlay {
  position: absolute;
  left: -14px;
  right: 18px;
  bottom: 86px;
  justify-content: flex-start;
  pointer-events: auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.hero-button{
display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;

}
.hero-button--primary{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 16px;
  border: 1px solid var(--border);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
  background: var(--accent);
  color: white;
}
.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.button--primary {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.hero__stats span {
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--muted);
  font-size: 0.93rem;
}

.hero__visual {
  position: relative;
}

.hero__visual img {
  width: 100%;
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--surface);
}

.hero__badge {
  position: absolute;
  left: -16px;
  bottom: 24px;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.section-title{
    font-family: "Montserrat", sans-serif;
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin-bottom: 20px;
    line-height: 1.2;
}
.section-heading h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.45rem;
  margin: 0;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  max-width: 540px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 24px;
}

.about-card,
.contact-card,
.skill-card,
.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.about-card {
  padding: 28px;
  
}

.about-card p {
  margin: 0 0 14px;
  color: var(--muted);
}

.about-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
  
}

.about-list li {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--accent-strong);
  font-size: 0.92rem;
  border: 1px solid var(--border);

}

.about-side {
  display: grid;
  gap: 16px;
}

.about-stat {
  padding: 22px 24px;
  border-radius: 20px;
  background: var(--surface-strong);
  border: 1px solid var(--border);

}

.about-stat strong {
  display: block;
  font-size: 1.6rem;
  font-family: "Montserrat", sans-serif;
  color: var(--accent);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.project-card {
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.project-card:hover,
.project-card:focus-within {
  transform: translateY(-6px) scale(1.01);
  border-color: var(--accent);
  box-shadow: 0 24px 50px rgba(23, 22, 17, 0.12);
}

.project-card__image {
  background: var(--surface-strong);
}

.project-card__image img {
  width: 100%;
  height: 100%;
  object-fit:contain;
  border-radius: 16px;
  border-radius: 20px;
}

.project-card__body {
  padding: 20px 22px 22px;
}

.project-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.project-card h3 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 1.1rem;
}

.project-card__tag {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.project-card p {
  margin: 0 0 14px;
  color: var(--muted);
}

.project-card__stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.project-card__stack span {
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--surface-strong);
  font-size: 0.82rem;
  color: var(--muted);
}

.project-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.link-pill,
.details-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.9rem;
  color: var(--text);
  cursor: pointer;
}

.link-pill:hover,
.link-pill:focus-visible,
.details-btn:hover,
.details-btn:focus-visible {
  border-color: var(--accent);
}

.link-pill--primary {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.link-pill.is-disabled {
  opacity: 0.6;
  pointer-events: none;
  display: none;
}

.skills-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.skill-card {
  padding: 24px 28px;
}

.skill-card__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.skill-card__header h3 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
}

.skill-card__caption {
  color: var(--muted);
  font-size: 0.9rem;
}

.skill-card__row {
  display: grid;
  gap: 12px;
}

.skill-row {
  display: grid;
  gap: 8px;
}

.skill-row__meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.95rem;
}

.skill-name {
  color: var(--text);
  font-weight: 600;
}

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

.skill-bar {
  height: 8px;
  border-radius: 999px;
  background: var(--surface-strong);
  overflow: hidden;
  border: 1px solid var(--border);
}

.skill-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-strong) 100%);
}

.skill-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--muted);
  font-size: 0.92rem;
  border: 1px solid var(--border);
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.cert-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.cert-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.cert-card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: white;
  font-size: 1.6rem;
  font-weight: 700;
}

.cert-card__year {
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--surface-strong);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.cert-card__body {
  display: grid;
  gap: 10px;
}

.cert-card h3 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 1.05rem;
  line-height: 1.3;
}

.cert-card__issuer-row {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 0.93rem;
  margin: 0;
}

.cert-card__issuer-row p {
  margin: 0;
}

.cert-card__stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.cert-card__stack span {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--muted);
  font-size: 0.8rem;
}

.cert-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px 12px;
  margin-top: 6px;
  border-radius: 999px;
  border: none;
  background: #1a1a1a;
  color: white;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 180ms ease;
}

.cert-card__button:hover {
  background: var(--accent);
}

/* Testimonials Section */
.testimonials-wrapper {
  margin-top: 40px;
}

.testimonials-swiper {
  width: 100%;
  padding: 20px 0 60px;
  --swiper-pagination-color: var(--accent);
  --swiper-pagination-bullet-inactive-color: var(--border);
  --swiper-pagination-bullet-size: 8px;
  --swiper-pagination-bullet-horizontal-gap: 8px;
}

.swiper-slide {
  display: flex;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  height: 100%;
}

.testimonial-card__header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  min-width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
}

.testimonial-card__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial-card__meta h3 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
}

.testimonial-card__meta p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.testimonial-card__text {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.6;
  font-style: italic;
  flex-grow: 1;
}

/* Testimonials Navigation */
.testimonials-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.testimonials-arrow {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: all 200ms ease;
}

.testimonials-arrow:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.testimonials-arrow svg {
  width: 20px;
  height: 20px;
}

.swiper-pagination-bullet {
  opacity: 1;
}

.contact-card {
  padding: 28px;
  display: grid;
  gap: 18px;
  border: 1px solid var(--border);
}

.contact-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--accent-strong);
  border: 1px solid var(--border);
}

.contact-link--primary {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.contact-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 0.94rem;
}

.contact-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
}

.footer {
  margin-top: 72px;
  padding: 24px 28px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.footer__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer h3 {
  margin: 0 0 8px;
  font-family: "Montserrat", sans-serif;
  font-size: 1.05rem;
}

.footer p {
  margin: 0;
  color: var(--muted);
}

.footer__links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

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

.footer__links a:hover,
.footer__links a:focus-visible {
  color: var(--accent);
}

.footer__bottom {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.92rem;
}

.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
  z-index: 60;
}

.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 9, 7, 0.68);
  cursor: pointer;
}

.modal__panel {
  position: relative;
  width: min(920px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.modal__content {
  padding: 32px;
}

.modal__close {
  position: sticky;
  top: 12px;
  right: 12px;
  float: right;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: var(--surface-strong);
  color: var(--text);
  cursor: pointer;
  font-size: 1.2rem;
  transition: background 180ms ease;
  z-index: 10;
}

.modal__close:hover {
  background: var(--accent);
  color: white;
}

.modal__images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.modal__image-card {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface-strong);
  aspect-ratio: 4/3;
}

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

.modal__content h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.4rem;
  margin: 0 0 12px;
}

.modal__content p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 12px;
}

.modal__content p:last-child {
  margin-bottom: 0;
}

.cursor {
  position: fixed;
  width: 24px;
  height: 24px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 100;
  transition: width 180ms ease, height 180ms ease, border-color 180ms ease;
}

.cursor.is-active {
  width: 40px;
  height: 40px;
  border-color: var(--accent-strong);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
}

@media (max-width: 920px) {
  .hero,
  .about-grid,
  .projects-grid,
  .cert-grid,
  .skills-list {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }
}

@media (max-width: 720px) {
    body{
        text-align: center;
    }

  .page-shell {
    padding: 16px 12px 48px;
  }

  .footer {
    padding: 20px;
  }

  .footer__bottom {
    flex-direction: column;
  }

  .topbar {
    padding: 12px 12px;
    gap: 10px;
    flex-wrap: wrap;
    border-radius: 24px;
  }

  .brand {
    font-size: 0.95rem;
    margin-left: 8px;
  }

  .topnav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    font-size: 0.85rem;
  }

  .theme-toggle {
    padding: 8px;
  }

  .section {
    padding-top: 48px;
  }

  .section-heading{
    display: flex;
    justify-content: center;
  }

  .section-heading h2 {
    font-size: 1.8rem;    
  }

  .section-heading p {
    font-size: 0.9rem;
  }

  .section-title {
    font-size: clamp(1.5rem, 4vw, 1.8rem);
    margin-bottom: 16px;
  }

  .hero__badge {
    left: 12px;
    bottom: 12px;
  }

  .hero h1 {
    font-size: clamp(2rem, 3.5vw, 2.6rem);
    line-height: 1.2;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .hero__stats {
    gap: 8px;
    margin-top: 16px;
    display: flex;
    justify-content: center;
  }

  .hero__stats span {
    padding: 8px 10px;
    font-size: 0.85rem;
  }


  .hero__actions {
    gap: 8px;
    display: none;
    /* justify-content: center; */
  }

  .button,
  .hero-button,
  .hero-button--primary {
    padding: 10px 14px;
    font-size: 0.9rem;
  }

  .about-card,
  .contact-card,
  .skill-card,
  .project-card__body,
  .testimonial-card {
    padding: 18px 14px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .about-stat {
    padding: 16px 18px;
  }

  .about-stat strong {
    font-size: 1.3rem;
  }

  .projects-grid {
    gap: 16px;
  }

  .project-card{
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .project-card__image {
    height: 300px;
  }

  .testimonials-nav {
    gap: 12px;
  }

  .testimonials-arrow {
    width: 36px;
    height: 36px;
    min-width: 36px;
  }

  .testimonials-arrow svg {
    width: 16px;
    height: 16px;
  }

  .testimonials-swiper {
    padding: 16px 0 48px;
  }

  .testimonial-card__avatar {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .testimonial-card__meta h3 {
    font-size: 0.9rem;
  }

  .testimonial-card__meta p {
    font-size: 0.8rem;
  }

  .testimonial-card__text {
    font-size: 0.9rem;
  }

  .cert-card {
    padding: 16px;
    gap: 10px;
  }

  .cert-card__icon {
    width: 44px;
    height: 44px;
    font-size: 1.4rem;
  }

  .cert-card h3 {
    font-size: 0.95rem;
    text-align: left;
  }

  .cert-card__issuer-row {
    font-size: 0.85rem;
  }

  .cert-card__year {
    padding: 4px 8px;
    font-size: 0.8rem;
  }

  .cert-card__stack span {
    padding: 4px 8px;
    font-size: 0.75rem;
  }

  .cert-card__button {
    padding: 8px 10px;
    font-size: 0.85rem;
    margin-top: 4px;
  }

  .skill-card {
    padding: 18px 14px;
  }

  .skill-card__header {
    gap: 8px;
    margin-bottom: 12px;
  }

  .skill-card__header h3 {
    font-size: 0.95rem;
  }

  .skill-card__caption {
    font-size: 0.8rem;
  }

  .skill-name {
    font-size: 0.9rem;
  }

  .skill-value {
    font-size: 0.9rem;
  }

  .skill-bar {
    height: 6px;
  }

  .contact-card h2 {
    font-size: 1.15rem;
  }

  .contact-card p {
    font-size: 0.9rem;
  }

  .contact-action {
    font-size: 0.85rem;
  }

  .modal__content {
    max-height: 90vh;
    overflow-y: auto;
    padding: 24px;
  }

  .modal__panel {
    width: min(90vw, 100%);
    margin: 0;
    border-radius: 20px;
  }


  .modal__close {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
    top: 16px;
    right: 16px;
  }

  .modal__images {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0;
  }

  .modal__image-card {
    aspect-ratio: 4/3;
    border-radius: 12px;
  }

  .modal__content h3 {
    font-size: 1.2rem;
    margin: 0 0 10px;
  }

  .modal__content p {
    font-size: 0.9rem;
  }

  .project-modal-gallery {
    gap: 12px;
  }

  .project-modal-gallery img {
    max-height: 200px;
  }

  .reveal {
    animation: fadeInUp 0.6s ease 0.1s backwards;
  }

  .footer__content{
    display: flex;
    justify-content: space-around;
    align-items: center;
  }

}

@media (max-width: 480px) {
    body{
        text-align: center;
    }
  .page-shell {
    padding: 12px 10px 32px;
  }

  .topbar {
    position: relative;
    top: auto;
    padding: 10px 10px;
    border-radius: 16px;
    gap: 6px;
  }

  .brand {
    font-size: 0.85rem;
    margin-left: 4px;
  }

  .topnav {
    width: 100%;
    font-size: 0.75rem;
    gap: 4px;
  }

  .topnav a {
    padding: 4px 6px;
  }

  .section {
    padding-top: 40px;
  }

  .section-heading {
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
  }

  .section-heading h2 {
    font-size: 2rem;
    
}

  .section-title {
    font-size: clamp(1.3rem, 3.5vw, 1.6rem);
    margin-bottom: 12px;
  }

  .hero h1 {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin: 0 0 12px;
  }

  .hero p {
    font-size: 0.9rem;
    margin: 0 0 16px;
  }

  .eyebrow {
    padding: 6px 10px;
    font-size: 0.75rem;
    margin-bottom: 12px;
  }

  .hero__stats {
    gap: 6px;
    margin-top: 12px;
    display: flex;
    justify-content: center;
  }

  .hero__stats span {
    padding: 6px 15px;
    font-size: 1rem;
  }

  .hero__actions {
    display: none;

  }

  .button,
  .hero-button,
  .hero-button--primary {
    padding: 8px 12px;
    font-size: 0.85rem;
  }

  .about-card,
  .contact-card,
  .skill-card,
  .project-card__body,
  .testimonial-card {
    padding: 14px 12px;
  }

  .about-stat {
    padding: 12px 14px;
  }

  .about-list {
    display: flex;
    justify-content: center;
  }

  .about-stat strong {
    font-size: 1.1rem;
  }

  .projects-grid {
    gap: 12px;
  }

  .project-card{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .project-card__image {
    /* height: 190px; */
    
  }

  .project-card {
    border-radius: 16px;
  }

  .project-card:hover,
  .project-card:focus-within {
    transform: translateY(-4px) scale(1.005);
  }

  .testimonials-nav {
    gap: 8px;
  }

  .testimonials-arrow {
    width: 32px;
    height: 32px;
    min-width: 32px;
  }

  .testimonials-arrow svg {
    width: 14px;
    height: 14px;
  }

  .testimonials-swiper {
    padding: 12px 0 40px;
  }

  .testimonial-card {
    gap: 12px;
  }

  .testimonial-card__avatar {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .testimonial-card__meta h3 {
    font-size: 0.85rem;
  }

  .testimonial-card__meta p {
    font-size: 0.75rem;
  }

  .testimonial-card__text {
    font-size: 0.85rem;
    /* line-height: 1.5; */
  }

  .cert-card {
    padding: 14px 12px;
    gap: 8px;
    border-radius: 16px;
  }

  .cert-card__header {
    gap: 8px;
  }

  .cert-card__icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    border-radius: 12px;
  }

  .cert-card__year {
    padding: 3px 6px;
    font-size: 0.75rem;
    border-radius: 6px;
  }

  .cert-card h3 {
    font-size: 0.9rem;
    margin-bottom: 4px;
  }

  .cert-card__issuer-row {
    font-size: 0.8rem;
    gap: 3px;
  }

  .cert-card__issuer-row svg {
    width: 12px;
    height: 12px;
  }

  .cert-card__stack {
    gap: 6px;
    margin-top: 2px;
  }

  .cert-card__stack span {
    padding: 3px 6px;
    font-size: 0.7rem;
    border-radius: 12px;
  }

  .cert-card__button {
    padding: 7px 8px;
    font-size: 0.8rem;
    margin-top: 2px;
    border-radius: 8px;
  }

  .skill-card {
    padding: 14px 12px;
  }

  .skill-card__header {
    gap: 6px;
    margin-bottom: 10px;
  }

  .skill-card__header h3 {
    font-size: 0.9rem;
  }

  .skill-card__caption {
    font-size: 0.75rem;
  }

  .skill-row {
    gap: 6px;
  }

  .skill-row__meta {
    font-size: 0.85rem;
    gap: 6px;
  }

  .skill-bar {
    height: 4px;
    border-radius: 2px;
  }

  .contact-card {
    border-radius: 16px;
  }

  #contact-email{
    width: 300px;
  }

  #email-icon{
    margin-left: 0px;
  }

  .contact-card h2 {
    font-size: 1.05rem;
  }

  .contact-card p {
    font-size: 0.85rem;
  }

  .contact-action {
    font-size: 0.8rem;
  }

  .contact-action a {
    padding: 8px 12px;
  }

  .footer {
    padding: 16px;
  }

  .footer__content {
    gap: 12px;
    margin-bottom: 12px;
  }

  .footer__brand {
    font-size: 0.9rem;
  }

  .footer__brand span {
    font-size: 0.75rem;
  }

  .footer__bottom {
    font-size: 0.75rem;
    gap: 8px;
  }

  .modal__panel {
    margin: 16px;
    border-radius: 12px;
    width: 100%;
    max-height: 95vh;
  }

  .modal__content {
    padding: 16px 14px;
    overflow-y: auto;
  }

  .modal__close {
    width: 36px;
    height: 36px;
    min-width: 36px;
    font-size: 1.1rem;
    top: 10px;
    right: 10px;
    background: var(--accent);
    color: white;
  }

  .modal__images {
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 14px 0;
  }

  .modal__image-card {
    aspect-ratio: 16/9;
    border-radius: 10px;
    max-height: 180px;
  }

  .modal__content h3 {
    font-size: 1.1rem;
    margin: 0 0 8px;
  }

  .modal__content p {
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0 0 10px;
  }

  .project-modal-gallery {
    gap: 8px;
  }

  .project-modal-gallery img {
    max-height: 150px;
    border-radius: 10px;
  }

  .footer__content{
    display: flex;
    justify-content: space-around;
    align-items: center;
  }
}

.whatsapp-btn{
    position: fixed;
    bottom: 25px;
    right: 25px;

    width: 80px;
    height: 80px;

    display: flex;
    justify-content: center;
    align-items: center;

    border-radius: 50%;
    background: var(--accent);
    color: #fff;

    font-size: 30px;
    text-decoration: none;

    box-shadow: 0 8px 20px rgba(0,0,0,.25);

    transition: .3s ease;

    z-index: 999;
}

.whatsapp-btn:hover{
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 12px 30px rgba(0,0,0,.35);
}

.whatsapp-btn::before{
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--accent-strong);
    animation: pulse 2s infinite;
    z-index: -1;
}

@keyframes pulse{
    0%{
        transform: scale(1);
        opacity: .6;
    }
    70%{
        transform: scale(1.6);
        opacity: 0;
    }
    100%{
        opacity: 0;
    }
}

#scrollTopBtn{
    position:fixed;
    right:35px;
    bottom:115px;

    width:60px;
    height:60px;

    border:none;
    border-radius:50%;
    background:#273338;

    display:flex;
    justify-content:center;
    align-items:center;

    cursor:pointer;

    opacity:0;
    visibility:hidden;

    transform:translateY(20px);

    transition:.35s ease;

    z-index:999;
}

#scrollTopBtn.show{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

#scrollTopBtn:hover{
    transform:translateY(-5px) scale(1.08);
}

#scrollTopBtn i{
    position:absolute;
    color:#fff;
    font-size:20px;
    z-index:2;
}

.progress-ring{
    position:absolute;
    inset:0;
    transform:rotate(-90deg);
}

.progress-ring-bg{
    fill:none;
    stroke:rgba(255,255,255,.15);
    stroke-width:4;
}

.progress-ring-circle{
    fill:none;
    stroke:#6A6F38;   /* Your accent color */
    stroke-width:4;
    stroke-linecap:round;

    stroke-dasharray:170;
    stroke-dashoffset:170;

    transition:stroke-dashoffset .15s linear;
}