@import url("https://fonts.googleapis.com/css2?family=Rubik:wgt@400;500;600;700&display=swap");

:root {
  --primary-bg: #020024;
  --secondary-bg: #020019;
  --decor-color: #fdbf05;
  --color-white: #ffff;
  --border-bg: #1e1e2f;
  --border-bg2: #0f0a3d;

  --header-height: 3.5rem;

  --body-font: "Rubik", sans-serif;
  --h1-font-size: 2.25rem;
  --h2-font-size: 1.75rem;
  --h3-font-size: 1.25rem;
  --normal-font-size: 1rem;
  --small-font-size: 0.875rem;

  --font-medium: 400;
  --font-semi-bold: 600;

  --m-0-5: 0.5rem;
  --m-0-75: 0.75rem;
  --m-1: 1rem;
  --m-1-5: 1.5rem;
  --m-2: 2rem;
  --m-2-5: 2.5rem;

  --card-padding: 1.9rem 0.95rem;

  --border-radius: 1.25rem;

  --box-shadow: 0px 5px 20px 0px rgba(69, 67, 96, 0.1);

  /* Shared glow shadow matching blog card */
  --card-glow:
    0 25px 50px rgba(130, 117, 245, 0.37), 0 0 25px rgba(209, 161, 15, 0.76);
}

::-webkit-scrollbar {
  width: 0.6rem;
  background: var(--color-white);
}

::-webkit-scrollbar {
  background: var(--primary-bg);
  border-radius: 0.5rem;
}

@media screen and (max-width: 1029px) {
  :root {
    --h1-font-size: 1.75rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1rem;
    --normal-font-size: 0.938rem;
    --small-font-size: 0.813rem;
  }
}

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

html {
  scroll-behavior: smooth;
}

body,
button,
input,
textarea {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}
body {
  background-color: var(--primary-bg);
  color: var(--decor-color);
  line-height: 1.7;
  font-weight: var(--font-medium);
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: var(--color-white);
}

h1,
h2,
h3 {
  font-weight: var(--font-semi-bold);
}

h1 {
  font-size: var(--h1-font-size);
}

h2 {
  font-size: var(--h2-font-size);
}

h3 {
  font-size: var(--h3-font-size);
}

.section-about {
  background-color: var(--secondary-bg);
}

.section-experience {
  background-color: var(--primary-bg);
}

.section-project {
  background-color: var(--secondary-bg);
}

.section-contact {
  background-color: var(--primary-bg);
}

.container {
  max-width: 90%;
  margin: auto;
}

.row {
  display: flex;
  flex-wrap: wrap;
}

.section .container {
  padding-top: 1.9rem;
  padding-bottom: 4.75rem;
}

.section-title {
  font-size: var(--h1-font-size);
  margin-left: var(--m-0-75);
  margin-bottom: 1rem;
}

.padd-15 {
  padding-left: 15px;
  padding-right: 15px;
}

.btn {
  padding: 0.75rem 2rem;
  line-height: 1.5;
  border-radius: 0.9rem;
}

.btn:focus {
  outline: 0;
}

@keyframes button-push {
  50% {
    transform: scale(0.8);
  }
  100% {
    transform: scale(1);
  }
}

.btn-default {
  color: #fff;
  vertical-align: middle;
  display: inline-block;
  border: 3px solid var(--decor-color);
  transform: perspective(1px) translateZ(0);
}

.btn-default:hover {
  animation-name: button-push;
  animation-duration: 0.3s;
  animation-timing-function: linear;
  animation-iteration-count: 1;
}

/* ===================== HEADER / NAV ===================== */

.header {
  width: 100%;
  background-color: #02001998;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
}

.nav {
  height: calc(var(--header-height) + 1.5rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  column-gap: 3rem;
}

.nav-logo {
  font-size: var(--h2-font-size);
  font-weight: var(--font-semi-bold);
  letter-spacing: 0.125rem;
  position: relative;
}
.nav-logo::after {
  position: absolute;
  content: "";
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
  background-color: var(--decor-color);
  top: 56%;
  right: -0.25rem;
}
.nav-menu {
  margin-left: auto;
}
.nav-list {
  display: flex;
  column-gap: 3rem;
}
.nav-link {
  font-weight: var(--font-medium);
  transition: 0.3s;
}

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

.nav-close {
  font-size: 1rem;
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  cursor: pointer;
  color: #fdbf05;
}

.nav-btns {
  display: inline-flex;
  align-items: center;
  column-gap: 1rem;
}

.change-theme {
  font-size: 1.15rem;
  cursor: pointer;
}

.nav-toggle {
  font-size: 1.2rem;
  cursor: pointer;
}

.nav-close,
.nav-toggle {
  display: none;
}
.active-link {
  position: relative;
}
.active-link::before {
  content: "";
  position: absolute;
  bottom: -0.75rem;
  left: 45%;
  width: 0.3rem;
  height: 0.3rem;
  background-color: var(--decor-color);
  border-radius: 50%;
}

.scroll-header {
  box-shadow: 0 1px 4px rgba(165, 125, 125, 0.02);
}

/* ===================== HOME ===================== */

.container div.home {
  display: flex;
  justify-content: center;
  align-items: center;
}

.home {
  display: flex;
  justify-content: center;
  height: 100vh;
  min-height: 100vh;
}

.intro {
  display: flex;
  align-items: flex-start;
  justify-self: center;
  height: 100%;
  width: 80%;
  text-align: center;
  flex-wrap: wrap;
  overflow: visible;
  margin-bottom: 0;
  padding-top: var(--header-height);
}

.intro .intro-img {
  margin-top: 0;
  flex: 0 0 50%;
  max-width: 50%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.intro-img .img-body img {
  margin-top: 0;
  max-height: 90vh;
  width: auto;
  object-fit: contain;
}

.intro .intro-headline {
  margin-top: 6rem;
  height: auto;
  flex: 0 0 50%;
  max-width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.border-text {
  width: 25.5rem;
  border: 4px solid var(--decor-color);
  border-radius: 1rem;
  padding: 0;
}

.intro-title {
  margin-top: 1rem;
  font-size: 5.5rem;
}

.intro-title span {
  font-weight: 500;
  color: #fff;
  display: inline-block;
  padding: 0;
  margin: 0;
  text-align: left;
  line-height: 0.8;
}

.intro-title span div {
  color: var(--decor-color);
  font-weight: 550;
}
.comment {
  padding-left: 1rem;
  margin-top: 0.5rem;
  font-size: 2rem;
  top: 5px;
  color: #fff;
  display: inline-block;
  text-align: left;
  line-height: 1.2;
}

.home .intro .social-icons {
  margin-top: var(--m-1-5);
  margin-bottom: var(--m-2);
}

.home .intro .social-icons li {
  display: inline-block;
}

.home .intro .social-icons li:not(:last-child) {
  margin-right: var(--m-1-5);
}

.home .intro .social-icons a {
  font-size: var(--h3-font-size);
}

.scroll-down {
  position: absolute;
  bottom: var(--m-2-5);
  left: 0;
  width: 100%;
}

.mouse-wrapper {
  font-size: var(--small-font-size);
  display: block;
  margin: auto;
  max-width: 100px;
  text-align: center;
}

@keyframes ani-mouse {
  0% {
    top: 29%;
  }
  15% {
    top: 50%;
  }
  50% {
    top: 50%;
  }
  100% {
    top: 29%;
  }
}

.mouse {
  border: 2px solid var(--decor-color);
  display: block;
  height: 1.75rem;
  width: 1.25rem;
  margin: auto;
  margin-top: var(--m-0-75);
  border-radius: var(--border-radius);
  position: relative;
}
.mouse .wheel {
  background-color: var(--decor-color);
  border-radius: 50%;
  width: 0.25rem;
  height: 0.25rem;
  position: absolute;
  top: var(--m-0-5);
  left: 40%;
  display: block;
  animation: ani-mouse 2s linear infinite;
}

/* ===================== ABOUT ===================== */

.about-intro {
  flex: 0 0 25%;
  max-width: 25%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-title {
  font-size: 4rem;
}

.about-title span {
  font-weight: 500;
  color: #fff;
  display: inline-block;
  padding: 0;
  margin: 0;
  text-align: right;
  line-height: 1;
}

.about-title span::first-letter {
  color: var(--decor-color);
}
.about-title span div {
  color: var(--decor-color);
  font-weight: 550;
}

.about-icon {
  font-size: 3rem;
}

.about-icon:hover {
  color: var(--decor-color);
}

.about-social ul {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.resume-button {
  border-radius: 0.5rem;
  margin-left: 1rem;
  text-align: center;
}

.about-content {
  flex: 0 0 75%;
  max-width: 75%;
}
.about-content .about-text {
  color: #fff;
  flex: 0 0 100%;
  max-width: 100%;
}

/* ─── Glow shadow added to .rouded ─── */
.rouded {
  background-color: var(--border-bg2);
  padding: var(--card-padding);
  border-radius: var(--border-radius);
  box-shadow: var(--card-glow);
}

.about-text p {
  text-align: justify;
  margin-bottom: var(--m-1);
}

.fact-item {
  flex: 0 0 25%;
  max-width: 25%;
  margin-top: var(--m-2-5);
  text-align: center;
}

.fact-item i {
  font-size: var(--h2-font-size);
  color: var(--color-gray);
}

.services .service-item {
  flex: 0 0 33.33%;
  max-width: 33.33%;
  display: flex;
}

.services .service-item .service-item-inner {
  border-radius: var(--border-radius);
  padding: var(--card-padding);
  text-align: center;
  transform: translateY(0);
  transition: 0.3s;
}
.services .service-item .service-item-inner:hover {
  transform: translateY(-0.625rem);
}

.services .service-item img {
  margin-bottom: var(--m-0-75);
}

.service-item h3 {
  margin-bottom: var(--m-0-5);
  color: #fff;
}

.service-item p {
  color: #fff;
}

.text {
  text-align: center;
  margin-top: var(--m-1-5);
}

.text a {
  color: var(--decor-color);
}

/* ===================== EXPERIENCE / TIMELINE ===================== */

.experience {
  flex: 0 0 100%;
  max-width: 100%;
}

.timeline-box {
  flex: 0 0 100%;
  max-width: 100%;
}

/* ─── Glow shadow added to .timeline ─── */
.timeline {
  background-color: var(--border-bg);
  padding: 1.9rem 0.95rem;
  border-radius: var(--border-radius);
  width: 100%;
  position: relative;
}

.timeline .timeline-item {
  position: relative;
  padding-left: 2.5rem;
  padding-bottom: 1.9rem;
}

.timeline .timeline-item:last-child {
  padding-bottom: 0;
}

.timeline .timeline-item::before {
  content: "";
  width: 1px;
  position: absolute;
  height: 100%;
  left: var(--m-0-5);
  background-color: var(--decor-color);
  top: 0;
}

.timeline .timeline-icon {
  position: absolute;
  left: -0.25rem;
  top: 0;
  font-size: 1.5rem;
  background-color: var(--border-bg);
  color: var(--color-white);
}

.timeline .timeline-date {
  font-size: var(--small-font-size);
  color: #ccc;
}

.timeline .timeline-date .lni {
  margin-right: 0.3rem;
}

.timeline .timeline-title {
  margin: var(--m-0-5);
}

.timeline-text li {
  margin-left: 1rem;
  color: #ccc;
}

/* ===================== CONTACT ===================== */

.contact-box {
  flex: 0 0 40%;
  max-width: 40%;
}

.contact-form {
  flex: 0 0 60%;
  max-width: 60%;
}

.contact-data {
  display: grid;
  row-gap: 0.5rem;
}

/* ─── Glow shadow added to contact wrapper ─── */
.contact-form {
  box-shadow: var(--card-glow);
  border-radius: var(--border-radius);
  padding: 1.5rem;
}

.contact-description {
  display: inline-flex;
  align-items: center;
  column-gap: 1rem;
  color: #ccc;
}

.contact-icon {
  font-size: 1.2rem;
}

.contact-inputs {
  display: grid;
  row-gap: 2rem;
  margin-bottom: var(--m-2-5);
}

.contact-content {
  position: relative;
  height: 3rem;
  border-bottom: 2px solid var(--decor-color);
}

.contact-content span {
  position: absolute;
  bottom: -2px;
  left: 0;
  content: "";
  height: 2px;
  width: 0;
  transition: 0.5s;
  background: var(--decor-color);
}

.contact-input:focus ~ span {
  width: 100%;
}

.contact-input {
  margin-left: 0.5rem;
  position: absolute;
  top: 0;
  left: 1;
  width: 100%;
  height: 100%;
  padding: 1rem 1rem 1rem 0;
  background: none;
  color: #ccc;
  outline: none;
  border: none;
  z-index: 1;
}

.contact-label {
  position: absolute;
  top: 0.4rem;
  width: 100%;
  font-size: var(--small-font-size);
  transition: 0.3s;
}

.contact-area {
  height: 7rem;
}

.contact-area textarea {
  resize: none;
}

.contact-input:focus + .contact-label {
  top: -0.75rem;
  left: 0;
  z-index: 10;
  columns: var(--decor-color);
}

/* ===================== FOOTER ===================== */

.footer {
  padding: 60px 0;
}

.footer-text {
  text-align: center;
  color: aliceblue;
}

/* ===================== GIT / BRAND ===================== */

.git {
  padding-top: 5%;
  flex: 0 0 100%;
  max-width: 100%;
}

.git-img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.brand {
  flex: 0 0 100%;
  max-width: 100%;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.932);
  border-radius: 0.5rem;
}

.brand-track {
  display: flex;
  width: max-content;
  animation: scroll 30s linear infinite;
}

.brand-track img,
.brand-track svg {
  height: 48px;
  width: auto;
  margin: 0 10px;
  vertical-align: middle;
  object-fit: contain;
  transition: 0.3s;
}

.brand-track img:hover,
.brand-track svg:hover {
  filter: grayscale(0);
  opacity: 1;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.brand .brand-track:hover {
  animation-play-state: paused;
}

/* ===================== TOGGLE SWITCH ===================== */

.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
}

.switch input {
  display: none;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: #ccc;
  border-radius: 26px;
  transition: 0.3s;
}

.slider::before {
  content: "";
  position: absolute;
  height: 15px;
  width: 15px;
  bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: 0.3s;
}

input:checked + .slider {
  background: var(--decor-color);
}

input:checked + .slider::before {
  transform: translateX(24px);
}

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

.blog-item {
  width: 100%;
  margin-bottom: 4rem;
}

.blog-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #020024;
  border-radius: 20px;
  padding: 40px;
  overflow: visible;
  border: 3px solid wheat;
  height: 30rem;
  width: 55%;
}

.blog-content {
  width: 55%;
  color: #fff;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 85%;
}

.blog-content .title a {
  color: #fff;
  text-decoration: none;
  border: 2px solid #fdbf05;
  padding: 6px 18px;
  border-radius: 6px;
  display: inline-block;
  transition: 0.3s;
}

.blog-content p {
  font-size: 14px;
  max-height: 15rem;
  overflow: auto;
  width: 100%;
}

.blog-content .title a:hover {
  color: #fdbf05;
}

.meta {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #aaa;
}

/* Live / Repo buttons */
.blog-buttons {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.blog-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  border-radius: 6px;
  font-size: var(--small-font-size);
  font-weight: var(--font-semi-bold);
  text-decoration: none;
  transition: 0.3s;
  border: 2px solid var(--decor-color);
  color: #fff;
  background: transparent;
}

.blog-btn:hover {
  background: var(--decor-color);
  color: #020024;
}

.blog-btn.live {
  background: var(--decor-color);
  color: #020024;
}

.blog-btn.live:hover {
  background: transparent;
  color: var(--decor-color);
}

/* Preview panel — holds either <img> or <iframe> */
.blog-preview {
  box-shadow:
    0 25px 50px rgba(130, 117, 245, 0.37),
    0 0 25px rgba(209, 161, 15, 0.76);
  position: absolute;
  right: -35rem;
  background: #fdbf05;
  border-radius: 20px;
  padding: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  justify-content: center;
  height: 25rem;
  width: 100%;
}

.blog-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

/* YouTube iframe fills the preview box exactly */
.blog-preview iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 10px;
  display: block;
}

/* ====================================================
   RESPONSIVE — TABLET  (max-width: 968px)
   ==================================================== */
@media screen and (max-width: 968px) {
  /* About */
  .about-content,
  .about-intro {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .about-intro {
    text-align: center;
    margin-bottom: var(--m-2-5);
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  /* Resume on top, icon row below — both centered */
  .about-social {
    grid-template-columns: 1fr 1fr; /* keep two columns on tablet too */
    justify-items: center;
  }
  .about-social ul {
    margin-left: 4rem;
    padding-bottom: 1rem;
    justify-content: center;
    text-align: center;
  }

  .about-icon {
    font-size: 3rem;
  }
  .resume-button {
    margin-left: 0;
    display: flex;
    justify-content: center;
    width: 50%;
    border: 3px solid rgba(245, 222, 179, 0);
  }

  /* Intro / Hero — stack on tablet too */
  .intro {
    width: 95%;
    height: auto;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
    overflow: visible;
    padding-top: 0;
  }
  .intro .intro-img {
    order: 1;
    flex: 0 0 100%;
    max-width: 100%;
    height: 20rem;
    margin-top: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow: hidden;
  }
  .intro .intro-img .img-body img {
    margin-top: 0;
    max-height: 20rem;
    width: auto;
    object-fit: contain;
  }
  .intro .intro-headline {
    order: 2;
    flex: 0 0 100%;
    max-width: 100%;
    height: auto;
    margin-top: 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .intro-title {
    font-size: 3.5rem;
    text-align: center;
  }
  .intro-title span {
    text-align: center;
  }
  /* border-text scales to its own content — no forced full width */
  .border-text {
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
  }
  .comment {
    text-align: center;
    padding-left: 0;
  }
  .home .intro .social-icons {
    display: flex;
    justify-content: center;
  }

  /* Contact */
  .contact-box,
  .contact-form {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: var(--m-2);
  }

  /* Services */
  .services .service-item {
    flex: 0 0 50%;
    max-width: 50%;
  }

  /* Blog card — preview on TOP, content below, both same width & height */
  .blog-card {
    width: 100%;
    height: auto;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    overflow: hidden;
  }
  .blog-preview {
    position: static;
    right: unset;
    order: 1;
    width: 100%;
    height: 18rem;
    border-radius: 20px 20px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  .blog-preview img,
  .blog-preview iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    border: none;
  }
  .blog-content {
    order: 2;
    width: 100%;
    height: auto;
    min-height: 10rem;
    margin-bottom: 0;
    padding: 1.5rem;
    overflow-y: auto;
    box-sizing: border-box;
  }
  .blog-buttons {
    flex-wrap: wrap;
  }
}

/* ====================================================
   RESPONSIVE — MOBILE  (max-width: 768px)
   ==================================================== */
@media screen and (max-width: 768px) {
  body {
    margin: var(--header-height) 0 0 0;
  }
  .container {
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .nav {
    height: var(--header-height);
  }
  .nav-list {
    flex-direction: column;
    row-gap: 1.5rem;
  }
  .nav-menu {
    position: fixed;
    background: var(--color-white);
    width: 80%;
    height: 100%;
    top: 0;
    right: -100%;
    padding: 4rem 0 0 3rem;
    border-radius: 1rem 0 0 1rem;
    z-index: 100;
    transition: 0.3s;
  }
  .show-menu {
    right: 0;
    background-color: var(--secondary-bg);
    color: #020019;
  }
  .nav-close,
  .nav-toggle {
    display: inline-flex;
  }

  /* Stack all flex children full-width */
  .contact-data,
  .contact-form,
  .contact-box,
  .education,
  .experience,
  .git,
  .brand,
  .about-content .about-text {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .fact-item,
  .project-item {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .about-content .about-text {
    margin-bottom: var(--m-1-5);
  }

  .contact-data,
  .education {
    margin-bottom: var(--m-2-5);
  }

  /* Hero on mobile — image flush to top, headline block below */
  .intro {
    width: 100%;
    flex-direction: column;
    align-items: center;
    height: auto;
    margin-bottom: 2rem;
    overflow: visible;
    padding-top: 0;
  }
  .intro .intro-img {
    order: 1;
    flex: 0 0 100%;
    max-width: 100%;
    height: 15rem;
    margin-top: -5rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow: hidden;
  }
  .intro .intro-img .img-body img {
    margin-top: 0;
    max-height: 18rem;
    width: auto;
    object-fit: contain;
  }
  .about-social {
    grid-template-columns: 1fr; /* stack on mobile */
  }
  .intro .intro-headline {
    order: 2;
    flex: 0 0 100%;
    max-width: 100%;
    height: auto;
    margin-top: 0.75rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .intro-title {
    font-size: 2.5rem;
    text-align: center;
  }
  .intro-title span {
    text-align: center;
  }
  .border-text {
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
  }
  .comment {
    font-size: 1.2rem;
    text-align: center;
    padding-left: 0;
  }
  .scroll-down {
    display: flex;
    justify-content: center;
    margin-bottom: -5rem;
  }

  /* Services full width on mobile */
  .services .service-item {
    flex: 0 0 100%;
    max-width: 100%;
  }

  /* Blog card — preview on TOP, content below, both same width & height */
  .blog-card {
    width: 100%;
    height: auto;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    overflow: hidden;
  }
  .blog-preview {
    position: static;
    right: unset;
    order: 1;
    width: 100%;
    height: 14rem;
    border-radius: 20px 20px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  .blog-preview img,
  .blog-preview iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    border: none;
  }
  .blog-content {
    order: 2;
    width: 100%;
    height: auto;
    min-height: 8rem;
    margin-bottom: 0;
    padding: 1rem 1.2rem;
    overflow-y: auto;
    box-sizing: border-box;
  }
  .blog-buttons {
    flex-wrap: wrap;
    gap: 0.4rem;
  }
  .blog-btn {
    font-size: 0.75rem;
    padding: 0.3rem 0.75rem;
  }

  /* About title smaller */
  .about-title {
    font-size: 2.5rem;
  }
}

/* ====================================================
   RESPONSIVE — SMALL MOBILE  (max-width: 576px)
   ==================================================== */
@media screen and (max-width: 576px) {
  .git,
  .brand,
  .project-item {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .project-item-inner {
    max-width: 380px;
    margin: 0 auto;
  }

  .timeline {
    padding: 25px 20px;
  }
  .timeline .timeline-item {
    padding-left: 35px;
    padding-bottom: 20px;
  }
  .fact-item {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .intro-title {
    font-size: 2rem;
  }
  .about-title {
    font-size: 2rem;
  }
  .row .about-social  {
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
  }
  .resume-button a {
    padding: 7px;
    width: 8rem;
  }
  .intro-title {
    font-size: 3rem;
    margin-bottom: -1.1rem;
  }
  .border-text h2 {
    font-size: 1rem;
    padding-left: 5px;
    padding-right: 5px;
  }
  .comment {
    font-size: 1rem;
  }
  .about-title {
    font-size: 4rem;
    margin-bottom: -2rem;
    /* btw this is not good practice am pretty sure so dont do it, ma just doing it becuase
      i dont care about it now, i will convert this to react and tailwind anyway
      optimzation will came later */
  }
}

@media screen and (max-width: 360px) {
  
   .about-social ul{
    margin-left: 1.5rem;
  }
}
/* ====================================================
   RESPONSIVE — EXTRA SMALL  (max-width: 320px)
   ==================================================== */
@media screen and (max-width: 320px) {
  .fact-item,
  .brand {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .intro-title {
    font-size: 3rem;
  }
  .about-social ul{
    padding: 0;
    margin: 0;
  }
  .about-title{
    margin-right: 1rem;
    font-size: 3rem;
  }
}
