
:root {
  --bg: #0b1020;
  --card: #131d32;
  --text: #f4f6ff;
  --muted: #a8b4ca;
  --accent: #7c9cff;
  --green: #61e5c2;
  --border: rgba(255,255,255,.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
    Arial, sans-serif;
  line-height: 1.7;
}

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

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

button, input, textarea {
  font: inherit;
}

.container,
.nav-container {
  width: min(1120px, 92%);
  margin: auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11,16,32,.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(15px);
}

.nav-container {
  min-height: 76px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.logo {
  font-size: 28px;
  font-weight: 900;
  color: var(--text);
}

.logo span {
  color: var(--green);
}

#navigation {
  display: flex;
  gap: 5px;
  align-items: center;
}

#navigation a {
  padding: 9px 10px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  transition: .2s;
}

#navigation a:hover,
#navigation a.active {
  background: rgba(124,156,255,.15);
  color: white;
}

.menu-toggle {
  display: none;
  color: white;
  background: var(--card);
  border: 1px solid var(--border);
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
}

.section {
  padding: 80px 0;
}

.kicker {
  color: var(--green);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 800;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 18px;
}

.intro {
  color: var(--muted);
  max-width: 720px;
  margin-bottom: 35px;
}

.gradient {
  background: linear-gradient(90deg, var(--green), var(--accent));
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
}

.hero {
  padding: 85px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 55px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.08;
  letter-spacing: -2px;
  margin: 18px 0;
}

.hero p {
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 24px;
}

.eyebrow {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.hero-photo {
  width: 100%;
  max-width: 390px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  border-radius: 28px;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
  margin: auto;
}

.photo-placeholder {
  min-height: 300px;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 25px;
  border: 1px dashed var(--border);
  border-radius: 20px;
  color: var(--muted);
  background: var(--card);
}

.buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 25px;
}

.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 13px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: .2s;
}

.btn-primary {
  background: linear-gradient(110deg, var(--green), var(--accent));
  color: #08101c;
  border: 0;
}

.btn-secondary {
  background: var(--card);
  color: white;
}

.btn:hover {
  transform: translateY(-3px);
}

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

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  min-width: 0;
  background: linear-gradient(145deg, #152039, #10182a);
  border: 1px solid var(--border);
  padding: 23px;
  border-radius: 18px;
  transition: .25s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.card h3 {
  font-size: 19px;
  margin-bottom: 9px;
}

.card p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 15px;
}

.icon {
  font-size: 25px;
  color: var(--green);
  margin-bottom: 14px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 15px 0;
}

.tag {
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 10px;
  color: #c8d4e9;
  font-size: 11px;
}

.text-link {
  display: inline-block;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  margin-top: 8px;
}

.about-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.about-photo {
  width: 100%;
  max-width: 350px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: var(--card);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 25px;
}

.info-item {
  background: var(--card);
  padding: 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.info-item small {
  display: block;
  color: var(--muted);
}

.info-item strong {
  font-size: 13px;
}

.project-image,
.certificate-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  background: #202b40;
  margin-bottom: 18px;
  cursor: zoom-in;
}

.certificate-image {
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #f3f5f9;
}

.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-item {
  padding: 9px 13px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--card);
  font-size: 13px;
}

.timeline {
  border-left: 2px solid var(--accent);
  padding-left: 22px;
  margin: 25px 0;
}

.timeline-item {
  margin-bottom: 24px;
}

.timeline-item p {
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 22px;
}

.contact-form label {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin: 14px 0 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  background: var(--bg);
  color: white;
  border: 1px solid var(--border);
  border-radius: 9px;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 25px 4%;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}

.loading {
  min-height: 60vh;
  display: grid;
  place-content: center;
  text-align: center;
  color: var(--muted);
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,.9);
  padding: 25px;
  align-items: center;
  justify-content: center;
}

.modal.show {
  display: flex;
}

.modal img {
  max-width: 95%;
  max-height: 85vh;
  object-fit: contain;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 25px;
  color: white;
  font-size: 35px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

@media (max-width: 950px) {
  #navigation a {
    padding: 8px 6px;
    font-size: 11px;
  }

  .hero-grid {
    gap: 30px;
  }
}

@media (max-width: 780px) {
  .menu-toggle {
    display: block;
  }

  #navigation {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    padding: 15px 4%;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
  }

  #navigation.open {
    display: flex;
  }

  #navigation a {
    font-size: 13px;
    padding: 10px;
  }

  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-photo {
    max-width: 310px;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section {
    padding: 60px 0;
  }
}

@media (max-width: 520px) {
  .grid,
  .grid.two,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    letter-spacing: -1.5px;
  }

  .hero p {
    font-size: 15px;
  }

  .card {
    padding: 19px;
  }
}






/* ABOUT PAGE */

.about-section {
  width: min(1120px, 92%);
  margin: 0 auto;
  padding: 55px 0 80px;
  color: #e8edf7;
}

.about-hero {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr;
  align-items: center;
  gap: 50px;
  padding: 35px 0 75px;
}

.section-label {
  display: inline-block;
  margin-bottom: 14px;
  color: #69a8ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
}

.about-hero h1 {
  margin: 0 0 15px;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.1;
}

.about-hero h2 {
  color: #a9bad4;
  font-size: clamp(17px, 2.5vw, 22px);
  line-height: 1.6;
}

.about-hero p,
.about-story p {
  color: #aebbd0;
  font-size: 15px;
  line-height: 1.9;
}

.about-hero-image {
  padding: 12px;
  border: 1px solid #283b58;
  border-radius: 24px;
  background: #111c2d;
}

.about-profile-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
}

.image-caption {
  display: flex;
  justify-content: space-around;
  gap: 8px;
  padding: 15px 5px 5px;
  color: #aebbd0;
  font-size: 12px;
}

.about-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 25px;
}

.about-btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 9px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.about-btn.primary {
  background: #3478f6;
  color: white;
}

.about-btn.secondary {
  border: 1px solid #3b4d68;
  color: #e8edf7;
}

.about-block {
  padding: 45px 0;
  border-top: 1px solid #24344b;
}

.about-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.about-heading h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 4vw, 38px);
}

.about-heading p,
.about-note {
  color: #aebbd0;
  line-height: 1.8;
}

.about-info-grid,
.about-project-grid,
.about-skills-grid,
.about-research-grid,
.about-goals-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.about-info-card,
.about-project-card,
.about-skill-item,
.about-research-card,
.about-goal-card,
.about-highlight-card {
  overflow: hidden;
  border: 1px solid #293b55;
  border-radius: 16px;
  background: #111c2d;
}

.about-info-card,
.about-skill-item,
.about-research-card,
.about-goal-card {
  padding: 24px;
}

.about-card-number,
.about-goal-card > span {
  color: #69a8ff;
  font-size: 13px;
  font-weight: 700;
}

.about-info-card h3,
.about-skill-item h3,
.about-research-card h3,
.about-goal-card h3,
.about-project-card h3 {
  margin: 12px 0;
  color: #f0f4fb;
}

.about-info-card p,
.about-skill-item p,
.about-research-card p,
.about-goal-card p,
.about-project-body p {
  color: #aebbd0;
  font-size: 14px;
  line-height: 1.8;
}

.about-timeline {
  position: relative;
  margin-left: 8px;
  padding-left: 28px;
  border-left: 1px solid #3c5373;
}

.about-timeline-item {
  position: relative;
  padding: 0 0 32px;
}

.timeline-dot {
  position: absolute;
  top: 5px;
  left: -34px;
  width: 11px;
  height: 11px;
  border: 3px solid #69a8ff;
  border-radius: 50%;
  background: #0b1220;
}

.timeline-date {
  color: #69a8ff;
  font-size: 12px;
  font-weight: 700;
}

.timeline-content h3 {
  margin-bottom: 6px;
}

.timeline-content h4 {
  margin-top: 0;
  color: #aebbd0;
  font-weight: 500;
}

.timeline-content p {
  color: #aebbd0;
  line-height: 1.8;
}

.about-story {
  max-width: 900px;
}

.about-project-card {
  display: flex;
  flex-direction: column;
}

.about-project-image {
  overflow: hidden;
  background: #17263b;
}

.about-project-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.about-project-body {
  padding: 22px;
}

.project-category {
  color: #69a8ff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.about-tags span {
  padding: 6px 10px;
  border: 1px solid #30435e;
  border-radius: 7px;
  color: #c4d2e8;
  font-size: 11px;
}

.about-project-link {
  display: inline-block;
  margin-top: 18px;
  color: #80b5ff;
  text-decoration: none;
}

.about-highlight-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 25px;
}

.about-highlight-icon {
  display: grid;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 12px;
  background: #203c65;
  color: #9cc6ff;
  font-size: 25px;
  font-weight: 700;
}

.about-highlight-card p {
  color: #aebbd0;
  line-height: 1.8;
}

.about-note {
  margin-top: 22px;
  font-size: 13px;
}

.about-philosophy {
  margin: 35px 0;
  padding: 35px;
  border: 1px solid #293b55;
  border-radius: 18px;
  background: #111c2d;
}

.about-philosophy blockquote {
  margin: 10px 0 18px;
  font-size: clamp(23px, 4vw, 36px);
  font-weight: 600;
  line-height: 1.5;
}

.about-philosophy p {
  color: #aebbd0;
  line-height: 1.8;
}

.about-social-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.about-social-links a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  border: 1px solid #293b55;
  border-radius: 12px;
  color: #edf3ff;
  text-decoration: none;
  background: #111c2d;
}

.about-social-links a span {
  color: #9aabc3;
  font-size: 12px;
}

.about-social-links a:hover,
.about-info-card:hover,
.about-project-card:hover {
  border-color: #578fe8;
}

@media (max-width: 760px) {
  .about-hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-hero-image {
    max-width: 360px;
  }

  .about-info-grid,
  .about-project-grid,
  .about-skills-grid,
  .about-research-grid,
  .about-goals-grid {
    grid-template-columns: 1fr;
  }

  .about-social-links {
    grid-template-columns: 1fr;
  }

  .about-philosophy {
    padding: 24px;
  }
}






/* ==============================
   CERTIFICATIONS SECTION
============================== */

.certifications-section {
  padding: 90px 24px;
  color: #f5f5f5;
  background: #0b0d12;
  min-height: 100vh;
}

.certifications-container {
  max-width: 1200px;
  margin: 0 auto;
}

.certifications-header {
  max-width: 720px;
  margin: 0 auto 55px;
  text-align: center;
}

.section-tag {
  display: inline-block;
  margin-bottom: 16px;
  color: #6da5ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
}

.certifications-header h1 {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -1.5px;
}

.certifications-header p {
  margin: 0;
  color: #a5adbb;
  font-size: 16px;
  line-height: 1.8;
}

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

.certificate-card {
  overflow: hidden;
  background: #131720;
  border: 1px solid #252b38;
  border-radius: 16px;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.certificate-card:hover {
  transform: translateY(-6px);
  border-color: #4f8cff;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.25);
}

.certificate-image {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: #1a1f2a;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.certificate-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
}

.certificate-info {
  padding: 22px;
}

.certificate-number {
  display: inline-block;
  margin-bottom: 12px;
  color: #7caaff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
}

.certificate-info h3 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 19px;
  line-height: 1.5;
}

.certificate-provider {
  margin: 0;
  color: #a5adbb;
  font-size: 14px;
}

.certificate-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 22px;
  padding: 12px 14px;
  border: 1px solid #3b67a8;
  border-radius: 8px;
  color: #91b9ff;
  background: transparent;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}

.certificate-link:hover {
  color: #ffffff;
  background: #2866c7;
  border-color: #2866c7;
}

.certificate-link span {
  font-size: 18px;
}

.certifications-footer {
  margin-top: 55px;
  text-align: center;
}

.certifications-footer p {
  color: #8e97a7;
  font-size: 14px;
  line-height: 1.7;
}

/* Tablet */
@media (max-width: 900px) {
  .certificates-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .certifications-section {
    padding: 70px 20px;
  }
}

/* Mobile */
@media (max-width: 580px) {
  .certificates-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .certifications-section {
    padding: 55px 16px;
  }

  .certifications-header {
    margin-bottom: 35px;
  }

  .certificate-info {
    padding: 20px;
  }

  .certificate-info h3 {
    font-size: 18px;
  }
}










/* ==========================
   BLOG CARDS
========================== */

.blog-card {
  overflow: hidden;
  transition: transform 0.3s ease,
              border-color 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  border-color: #648fff;
}

.blog-card-link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.blog-card .project-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #151a25;
}

.blog-card-content {
  padding: 22px;
}

.blog-card-content .tags {
  margin-bottom: 16px;
}

.blog-card-content h2 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.45;
}

.blog-card-content p {
  color: var(--muted, #a5adbb);
  font-size: 14px;
  line-height: 1.8;
}

.blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin: 20px 0;
  padding-top: 14px;
  border-top: 1px solid var(--border, #293142);
  color: var(--muted, #a5adbb);
  font-size: 12px;
}

.blog-card-content .text-link {
  display: inline-block;
  color: #79a7ff;
  font-weight: 700;
}

.blog-card:hover .text-link {
  color: #a8c6ff;
}

@media (max-width: 600px) {
  .blog-card-content {
    padding: 18px;
  }

  .blog-card-content h2 {
    font-size: 20px;
  }
}






/* =====================================
   RESPONSIVE DESIGN
   iPhone, Tablet, MacBook & Large Screens
===================================== */

/* Prevent unwanted horizontal scrolling */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  width: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow-x: clip;
}

img,
video,
iframe,
svg {
  max-width: 100%;
}

img {
  height: auto;
}

button,
input,
textarea,
select {
  max-width: 100%;
  font: inherit;
}

a {
  overflow-wrap: anywhere;
}

/* General responsive containers */
.container,
.section-container,
.section-inner {
  width: min(100% - 48px, 1200px);
  margin-inline: auto;
}

/* Responsive headings */
h1 {
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: 1.12;
  overflow-wrap: anywhere;
}

h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.8rem);
  line-height: 1.2;
}

p {
  line-height: 1.75;
}

/* Responsive project and certificate cards */
.projects-grid,
.project-grid,
.certifications-grid,
.certificates-grid,
.skills-grid,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.projects-grid > *,
.project-grid > *,
.certifications-grid > *,
.certificates-grid > *,
.skills-grid > *,
.blog-grid > * {
  min-width: 0;
}

.project-card img,
.certificate-card img,
.blog-card img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

/* Tablet and small laptop */
@media (max-width: 1024px) {
  .container,
  .section-container,
  .section-inner {
    width: min(100% - 40px, 900px);
  }

  .projects-grid,
  .project-grid,
  .certifications-grid,
  .certificates-grid,
  .skills-grid,
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

/* iPhone and other mobile devices */
@media (max-width: 600px) {
  .container,
  .section-container,
  .section-inner {
    width: calc(100% - 32px);
  }

  section {
    scroll-margin-top: 80px;
  }

  h1 {
    font-size: clamp(2rem, 9vw, 3rem);
    line-height: 1.15;
  }

  h2 {
    font-size: clamp(1.55rem, 7vw, 2.1rem);
  }

  p {
    font-size: 0.96rem;
  }

  .projects-grid,
  .project-grid,
  .certifications-grid,
  .certificates-grid,
  .skills-grid,
  .blog-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  /* Make buttons easier to tap */
  button,
  .btn,
  .button {
    min-height: 44px;
  }

  /* Prevent long text from breaking the layout */
  h1,
  h2,
  h3,
  p,
  .project-card,
  .certificate-card,
  .blog-card {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  /* Avoid oversized images */
  .hero img,
  .hero-photo,
  .hero-photo img {
    max-width: 100%;
  }
}

/* Very small phones */
@media (max-width: 380px) {
  .container,
  .section-container,
  .section-inner {
    width: calc(100% - 24px);
  }

  h1 {
    font-size: 1.9rem;
  }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
