@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* Custom Styles */
:root {
  --bg: #F8FAFC;
  --bg-alt: #F1F5F9;
  --text: #0F172A;
  --accent: #FF5349;
  --btn: #349b91;
  --btn-text: #F8FAFC;
  --strong-text: #FF5349;
  --code-text: #F8FAFC;
  --card-bg: #F8FAFC;
  --card-bg-alt: #F1F5F9;
  --grid: rgba(15, 23, 42, 0.05);
  --theme-mode-bg: #f8fafc;
  --theme-container-bg: rgba(15, 23, 42, 0.1);
}

.dark {
  --bg: #080808;                   
  --bg-alt: #080808;            
  --text: #F5F5F5;               
  --accent: #df5a4e;             
  --btn-text: #F5F5F5;  
  --card-bg: #131313;
  --card-bg-alt: #131313;          
  --strong-text: #FF6A5C;      
  --code-text: #080808;
  --grid: rgba(248, 250, 252, 0.02);
  --theme-mode-bg: rgba(248, 250, 252, 0.20);
  --theme-container-bg: rgba(255, 255, 255, 0.04);
}


a,
button {
  -webkit-tap-highlight-color: transparent;
  -moz-tap-highlight-color: transparent;
  -ms-tap-highlight-color: transparent;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  line-height: 1.25;
}

h1 {
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 3.6rem;
}

h2 {
  max-width: 30rem;
  font-size: 1.45rem;
  margin-bottom: 0.5rem;
}

h3 {
  font-family: "Fraunces", serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1rem;
}

p {
  font-size: 1rem;
}

.intro-text {
  display: none;
}

  #main-text h2 {
    font-family: 'Fraunces', serif;
    font-weight: 600;
  }

.section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 2.5rem;
}

.mobile-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  background: var(--card-bg-alt);
  box-shadow: 0 4px 6px rgba(8, 8, 8, 0.1);
  z-index: 10000;
}

.logo {
  color: var(--text);
  font-family: "Fraunces", serif;
  font-size: 1.5rem;
  font-weight: 600;
  text-decoration: none;
  padding-left: 1rem;
}

.hamburger-menu {
  padding-right: 1rem;
}

.theme-mode {
  background: var(--theme-mode-bg);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
}

#theme-toggle-lg svg,
#theme-toggle-sm svg {
  border: none;
  padding: 0.2rem;
  border-radius: 50px;
}

#theme-toggle-sm {
    display: flex;
    gap: 1.5rem;
    background: var(--theme-container-bg);
    padding: 0.2rem;
    border-radius: 50px;
}

#headshot-img {
  height: 300px;
}

.main-content {
  background-image: 
    linear-gradient(to right, var(--grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
  background-size: 70px 70px;
  background-position: center;
}

.about-text {
  max-width: 25rem;
  text-align: center;
  padding-top: 0.5rem;
}

.social-icons {
  display: flex;
  flex-direction: column;
  padding: 0.3rem 0.6rem;
  border-radius: 8px;
  transition: all 0.4s ease;
}

.social-icons a {
  color: var(--btn);
  font-size: 0.8rem;
  padding: 5px 8px;
  transition: all 0.4s ease;
}

.menu-line {
  width: 25px;
  height: 3px;
  margin: 4px auto;
  background: var(--text);
  border-radius: 100px;
  transition: all 0.4s ease;
}

.menu-line:nth-child(2) {
  width: 12px;
}

.close .menu-line:nth-child(1) {
  transform: rotate(45deg) translate(1px, 10px);
  background: var(--text);
}

.close .menu-line:nth-child(2) {
  opacity: 0;
}

.close .menu-line:nth-child(3) {
  transform: rotate(-45deg) translate(1px, -10px);
  background: var(--text);
}

nav {
  background: var(--bg-alt);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  height: 100vh;
}

.nav-list {
  display: flex;
  justify-content: center;
  align-items: end;
  gap: 2rem;
  transform: translate3d(0, -100%, 0);
}

.nav-list-sm {
  position: fixed;
  top: 0;
  width: 100vw;
  visibility: hidden;
  padding: 2.5rem 1rem 0 1rem;
  z-index: 999;
  opacity: 0.90;
  transition: all 0.4s ease;
}

.nav-list-sm.open {
  visibility: visible;
  background: var(--grid);
  border-radius: 1.2rem;
}

.nav-list-lg {
  display: none;
}

.nav-list.open {
  transform: translate3d(0, 0, 0);
}

.nav-link {
  display: flex;
  align-items: end;
  text-decoration: none;
  color: var(--text);
  font-size: 1rem;
  padding: 2.3rem 0 1rem 0;
  border-radius: 50px;
  transition: all 0.4s ease-in-out;
}

#header-hero {
  display: none;
}

.hero-home {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  align-items: center;
}

#theme-toggle-lg {
  display: none;
}

#about,
#skills,
#projects,
#contact,
#thoughts,
#what-others-say {
    padding: 3rem 1.5rem;
}

#skills, 
#thoughts {
  background: var(--bg-alt);
}

.skills-cards {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 0.5rem;

}

.card {
  background: var(--card-bg-alt);
  padding: 2rem;
  width: 15rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: all 0.4s ease-in-out;
}

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

.tailwindcss-logo,
.mongodb-logo {
  width: 40px;
}

.tailwindcss-about,
.mongodb-about {
  width: 45px;
}

#tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.tools-title {
  color: var(--accent);
  margin-bottom: 0;
  padding-top: 4rem;
}

.tool-icon {
  color: var(--btn);
  transition: color 0.4s ease-in-out;
}

.projects-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.project-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  background: var(--card-bg);
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease-in-out;
  width: 15rem;
  overflow: hidden;
}

.project-card-image {
  width: 100%;
  height: 160px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--bg);
}

.project-card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 0.5rem;
}

.project-card img {
  width: 100%;
  transition: all 0.4s ease;
  cursor: pointer;
  border-radius: 10px;
}

.project-card p {
  padding: 0.5rem 1rem;
}

.project-card a {
  text-decoration: none;
  color: var(--btn);
  padding-bottom: 0.5rem;
  transition: all 0.4s ease-in-out;
}

.more-projects {
  margin-top: 1.5rem;
  text-align: center;
}

.more-projects a {
  color: var(--btn);
  transition: all 0.4s ease-in-out;
}

.thoughts-posts-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
  width: 100%;
}

.thought-post-card {
  display: flex;
  flex-direction: column;
  width: 15rem;
  background: var(--card-bg-alt);
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: all 0.4s ease-in-out;
}

.thought-post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
    opacity: 0.85;
}

.thought-post-image {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
}

.thought-post-content {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  gap: 0.75rem;
}

.thought-post-content h3 {
  color: var(--text);
  margin: 0;
}

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

.read-more {
  font-size: 0.9rem;
  color: var(--btn);
  transition: color 0.3s ease;
}

.thought-post-card:hover .read-more {
  color: var(--accent);
}


.thoughts-hero-img {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.blog-main {
  padding: 2rem 1.5rem;
  max-width: 800px;
  margin: 0 auto 5rem;
}

.blog-section {
  margin-bottom: 2.5rem;
  text-align: left;
}

.blog-section .section-title {
  font-family: "Fraunces", serif;
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.blog-section .section-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 1rem;
}

.blog-section .section-text.highlight {
  background: var(--bg-alt);
  padding: 1rem;
  border-left: 4px solid var(--accent);
  border-radius: 4px;
  margin: 1rem 0;
}

.blog-section .section-list {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.blog-section .section-list li {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.blog-section .section-list li strong {
  color: var(--strong-text);
}

.blog-footer {
  text-align: center;
  padding: 1rem;
  background: var(--card-bg-alt);
  color: var(--text);
  font-size: 0.9rem;
}

.email {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.footer-sm {
  position: fixed;
  bottom: 0;
  width: 100vw;
  z-index: 1000;
  text-align: center;
  padding: 1rem;
  background: var(--card-bg-alt);
  color: var(--text);
  font-size: 0.1rem;
  box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
}

.footer-lg {
  display: none;
}

.project-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--bg-alt);
  color: var(--text);
  padding: 2rem 1rem;
}

.project-header .header-content {
  margin-bottom: 1.5rem;
}

.project-header .project-title {
  font-family: "Fraunces", serif;
  font-size: 2.5rem;
  margin: 1rem 0;
  color: var(--accent);
}

.project-header .project-subtitle {
  font-size: 1.2rem;
  margin: 0 auto;
}

.project-header .header-image img {
  width: 100%;
  max-width: 800px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.project-main {
  padding: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.project-section {
  margin-bottom: 2rem;
}

.project-card h3 {
  color: var(--text);
  margin-top: 0.7rem;
  margin-bottom: 0 !important;
}

.section-title {
  font-family: "Fraunces", serif;
  font-size: 1.75rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-text {
  font-size: 1rem;
  line-height: 1.5;
}

.section-list {
  padding: 0;
  margin: 1rem 0;
}

.section-list li {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.section-list li a {
  color: var(--btn);
  text-decoration: underline;
  transition: color 0.4s ease;
}

.project-link {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  gap: 1.75rem;
}

.tech-stack {
  display: flex;
  justify-content: start;
  align-items: end;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.tech-item {
  text-align: center;
  color: var(--btn);
}

.tech-item p {
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

.project-footer {
  text-align: center;
  padding: 1rem;
  background: var(--card-bg-alt);
  color: var(--text);
  font-size: 0.9rem;
}

code {
  background: var(--text);
  color: var(--code-text);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-family: "Courier New", Courier, monospace;
}

strong {
  color: var(--strong-text);
}

.back-link {
  display: block;
  margin-top: 2rem;
  text-align: center;
}

.back-link a {
  color: var(--btn);
  text-decoration: none;
  transition: color 0.4s ease;
}

.render-link {
  color: var(--btn);
  transition: color 0.4s ease;
}

iframe,
.thoughts-hero-img {
  width: 100%;
  height: 450px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.contact-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  margin-bottom: 5rem;
}

.contact-form {
  padding: 0 1rem;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}

.contact-form h2 {
  margin-bottom: 0;
  color: var(--accent);
}

.timeline {
  display: none;
}

.form-group {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 0.5rem;
}

.form-group label {
  align-self: start;
  font-size: 0.9rem;
  transition: 0.2s;
}

.form-group input,
.form-group textarea {
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  color: var(--text);
  font-size: 1rem;
  outline: none;
  border: 1px solid var(--text);
}

.form-group input:focus,
.form-group textarea:focus {
  border: 1.5px solid #14b8a6;
  box-shadow: 0 0 12px rgba(61, 127, 127, 0.4);
}

.form-group:focus-within label {
  color: #14b8a6;
  font-weight: 600;
  font-size: 1rem;
}

.submit-btn {
  padding: 10px 0;
  width: 100%;
  border: none;
  border-radius: 100px;
  background: var(--btn);
  color: var(--btn-text);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.4s ease-in-out;
}

.thank-you .submit-btn {
  max-width: 20rem;
  margin-top: 1rem;
  text-decoration: none;
}

.form-status.error {
  color: var(--accent);
  font-size: 1rem;
}

.form-status.success {
  color: #14b8a6;
  font-size: 1rem;
}

.icon-bar {
  display: none;
}

@media screen and (min-width: 768px) {
  html {
    font-size: 16.5px;
  }

  h2 {
    font-size: 2rem;
    max-width: 35rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  #main-text h2 {
    font-size: 3rem;
  }

  .mobile-navbar {
    padding: 2rem 0;
  }

  .hamburger-menu {
    padding-right: 2rem;
  }

  .logo {
    font-size: 2rem;
    padding-left: 2rem;
  }

  #headshot-img {
    height: 450px;
  }

  .nav-list-sm {
    padding: 5.5rem 1rem 0 1rem;
  }

  .nav-list {
    gap: 4rem;
  }

  .social-icons a {
    font-size: 1rem;
    padding: 8px 12px;
  }

  .about-text {
    max-width: 35rem;
  }
  
  .skills-cards {
    flex-direction: row;
  }

  .card {
    width: 12rem;
  }

  .projects-container {
    padding: 2rem;
    gap: 4rem;
  }

  .project-card {
    width: 30rem;
    padding: 1rem;
  }

  .project-card-image {
    height: 200px;
  }

  .thoughts-posts-container {
    gap: 2rem;
  }

  .thought-post-card {
    width: 30rem;
  }

  .more-projects {
    margin-top: 2rem;
  }

  .project-link {
    gap: 3rem;
  }

  .contact-form {
    padding: 0 5rem;
  }

  .submit-btn {
    font-size: 1.2rem;
    padding: 15px 0;
  }

  .blog-header {
    padding: 4rem 2rem;
  }

  .blog-title {
    font-size: 2.8rem;
  }

  .blog-main {
    padding: 3rem 2rem;
    max-width: 900px;
  }

  .blog-section .section-title {
    font-size: 1.6rem;
  }

  .blog-section .section-text {
    font-size: 1.05rem;
  }
}

@media screen and (min-width: 1024px) {
  h2 {
    font-size: 1.45rem;
    max-width: 40rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  #toggle-container-sm {
    display: none;
  }

  #skills,
  #thoughts {
    background-color: transparent;
  }

  #about, 
  #projects,
  #contact {
    background: var(--bg-alt);
  }

  #theme-toggle-sm {
    display: none;
  }

  #toggle-container {
    display: flex;
    justify-content: end;
    width: 100%;
  }

  #theme-toggle-lg {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: var(--theme-container-bg);
    padding: 0.2rem;
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 9999;
    border-radius: 50px;
  }

  #theme-toggle-lg svg {
    padding: 0.2rem;
    cursor: pointer;
  }

  #main-text h2 {
    font-size: 1.45rem;
  }

  .mobile-navbar {
    display: none;
  }

  .nav-list-lg {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
    padding: 1rem;
    transition: all 0.4s ease;
  }

  .nav-list-lg:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    transform: scale(1.05);
  }

  .nav-list-sm {
    display: none;
  }

  .intro-text {
    display: block;
    margin: 0.75rem 0;
  }


  #content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
  }

  #headshot-img {
    height: 200px;
  }

  @keyframes gradientMove {
    0% {
      background-position: 0% 50%;
    }

    25% {
      background-position: 50% 0%;
    }

    50% {
      background-position: 100% 50%;
    }

    75% {
      background-position: 50% 100%;
    }

    100% {
      background-position: 0% 50%;
    }
  }

  nav {
    align-items: center;
    padding: 0 1.5rem;
    max-width: 50vw;
    width: 25vw;
    background: linear-gradient(145deg, var(--bg-alt), var(--btn), #4A3E73, var(--accent), var(--text));
    background-size: 400% 400%;
    animation: gradientMove 15s ease infinite;
  }

  .hero-home {
    flex-direction: column;
    gap: 0.3rem;
  }

  .social-icons {
    align-items: center;
    justify-content: center;
    flex-direction: row;
    padding: 0.3rem 1rem;
    transition: all 0.4s ease-in-out;
  }

  .social-icons:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
    border-radius: 50px;
    transform: scale(1.05);
  }

  .social-icons a {
    color: var(--btn-text);
    font-size: 0.9rem;
    padding: 5px 10px;
    transition: all 0.4s ease-in-out;
  }

  .social-icons a:hover {
    color: var(--text);
    transform: scale(1.1);
  }

  #main-text {
    text-align: center;
    color: var(--btn-text);
  }

  .resume-link {
    font-size: 1.2rem;
    color: var(--btn-text);
    text-decoration: none;
    margin-top: 1rem;
    transition: all 0.3s ease-in-out;
  }

  .nav-list {
    transform: none;
  }

  .nav-item {
    transition: all 0.4s ease-in-out;
  }

  .nav-item:hover {
    transform: scale(1.3);
  }

  .nav-link {
    color: var(--btn-text);
    padding: 0;
    transition: all 0.4s ease-in-out;
  }

  .nav-link:hover {
    color: var(--text);
  }

  #header-hero {
    display: flex;
  }

  #header-hero h1 {
    display: flex;
    align-items: start;
    gap: 0.3rem;
  }

  .hero-links {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
  }
    
  .hero-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text);
    font-weight: bold;
    text-decoration: none;
    border: 1px solid var(--btn);
    border-radius: 50px 0 50px 0;
    padding: 0.6rem 3rem;
    margin-bottom: 0.4rem;
    transition: all 0.4s ease;
  }

  .hero-links a:nth-child(1) {
    background: var(--btn);
    color: var(--btn-text);
    border: none;
    padding: 0 4.3rem;
  }

  .hero-links a:nth-child(2):hover,
  .hero-links a:nth-child(1):hover {
    box-shadow: 0 0 15px rgba(255, 83, 73, 0.4);
    transform: scale(0.95);
  }

  .hero-links a:nth-child(1):hover {
    background: var(--accent);
  }
  .hero-links a:nth-child(2):hover {
    border-color: var(--accent);
    color: var(--accent);
  }

  .fa-quote-left {
    font-size: 2rem;
    color: var(--accent);
  }

  #about,
  #skills,
  #projects,
  #contact,
  #thoughts,
  #what-others-say {
    padding: 0;
  }

  #about h2 {
    max-width: 20rem;
  }

  .skills-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
    align-items: center;
  }

  .card {
    background: var(--card-bg);
  }

  .card:hover {
    opacity: 0.85;
    transform: translateY(-10px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
  }

  .projects-container {
    flex-direction: row;
    gap: 1rem;
    padding: 0;
    padding-top: 1rem;
  }

  .project-card {
    width: 12rem;
    padding: 0.5rem;
    height: 20rem;
    justify-content: start;
    background: var(--card-bg-alt);
  }

  .project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
    opacity: 0.85;
  }

  .project-card p {
    padding: 0.5rem;
  }

  .project-card-image {
    height: 140px;
  }

  .project-header .project-subtitle {
    width: 75%;
  }

  .project-card a:hover {
    color: var(--accent);
  }

  .more-projects {
    width: 50%;
    margin-top: 2rem;
  }

  .thoughts-posts-container {
    flex-direction: row;
    gap: 3rem;
    justify-content: center;
  }

  .thought-post-card {
    width: 25rem;
    background: var(--card-bg);
  }

  .thought-post-image {
    height: 220px;
  }

  .more-projects a:hover {
    color: var(--accent);
  }

  .contact-container {
    margin: 0.6rem 0;
  }

  .contact-form {
    padding: 0 1rem;
  }

  .main-content {
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    height: 100vh;
    width: 100vw;
    scroll-behavior: smooth;
    padding: 0;
  }

  .section {
    scroll-snap-align: start;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.5rem;
  }

  .footer-sm {
    display: none;
  }

iframe,
.thoughts-hero-img{
    width: 800px;
    height: 450px;
  }

  .section-list li a:hover {
    color: #14b8a6;
  }

  .back-link a:hover {
    color: #14b8a6;
  }

  .contact-section {
    max-width: 80%;
    width: 60%;
  }

  .contact-container {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin-top: 1.5rem;
    margin-bottom: 0;
  }

  .timeline {
  display: flex;
  gap: 1rem;
  position: relative;
  padding: 0;
  flex: 0 0 25%;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0 1rem;
}

.timeline::before {
  display: none;
}

.step {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.dot {
  margin-bottom: 0.25rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--btn-text);
  font-size: 24px;
  font-weight: 600;
  padding: 17px;
  flex-shrink: 0;
  position: relative;
  top: 2px;
}

.step p {
  margin-bottom: 0 !important;
}

  .timeline::before {
    display: block;
    content: '';
    position: absolute;
    left: 14px;
    top: 0;
    width: 2px;
    height: 100%;
  }

  .timeline-bar{
    width: 3px;
    height: 3rem;
    background: var(--accent);
    border-radius: 2px;
  }

  .step:nth-child(1) .timeline-bar {
    animation: fadeInDown 3.5s forwards 0.2s;
  }

  .step:nth-child(2) .timeline-bar {
    animation: fadeInDown 5.5s forwards 0.4s;
  }

  .icon-bar {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
    padding: 1rem 0;
    width: 100%;
    border-bottom: 1px solid var(--text);
  }

  .icon {
    position: relative;
    cursor: pointer;
    filter: brightness(0.8);
    transition: filter 0.2s;
    color: var(--btn);
  }

  .icon:hover {
    color: #14b8a6;
  }

  .icon::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -2rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    opacity: 0;
    white-space: nowrap;
    pointer-events: none;
    transition: opacity 0.2s, bottom 0.2s;
  }

  .icon:hover::after {
    opacity: 1;
    bottom: -2.5rem;
  }

  .icon img {
    width: 28px;
    height: 28px;
  }

  .submit-btn {
    padding: 14px 0;
  }

  .submit-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 0 12px rgba(255, 83, 73, 0.4);
    background: var(--accent);
  }

  .blog-header {
    padding: 5rem 3rem;
  }

  .blog-title {
    font-size: 3rem;
  }

  .blog-main {
    padding: 4rem 3rem;
    max-width: 900px;
  }

  .blog-section {
    margin-bottom: 3rem;
  }

  .blog-section .section-title {
    font-size: 1.7rem;
    margin-bottom: 1.2rem;
  }

  .blog-section .section-text {
    font-size: 1.05rem;
    line-height: 1.7;
  }

  .blog-section .section-text.highlight {
    padding: 1.5rem;
  }

  .blog-footer {
    font-size: 1rem;
  }
}

@media screen and (min-width: 1280px) {
    html {
    font-size: 17px;
  }

  nav {
    width: 20vw;
  }

  h2 {
    font-size: 1.50rem;
    max-width: 90%;
    width: 75%;
  }

  h3 {
    font-size: 1.30rem;
  }

  #about h2 {
    max-width: 100%;
  }

  .about-text {
    max-width: 40rem;
  }

  .card {
    width: 17rem;
  }

  #main-text h2 {
    font-size: 1.45rem;
    max-width: 100%;
    width: 100%;
  }

  .project-card {
    width: 15rem;
    padding: 1rem 0.5rem 2rem 0.5rem;
  }

  .project-card img {
    width: 100%;
  }

  .project-card-image {
    height: 160px;
  }

  .thought-post-card {
    width: 17rem;
  }

  .thought-post-image {
    height: 240px;
  }

  .blog-header {
    padding: 6rem 4rem;
  }

  .blog-title {
    font-size: 3.2rem;
  }

  .blog-main {
    padding: 5rem 4rem;
    max-width: 950px;
  }

  .blog-section {
    margin-bottom: 3.5rem;
  }

  .blog-section .section-title {
    font-size: 1.8rem;
  }

  .blog-section .section-text {
    font-size: 1.1rem;
  }
}