body {
  background: #5f9cad;
  background: -webkit-linear-gradient(
    90deg,
    rgba(95, 156, 173, 1) 0%,
    rgba(242, 164, 85, 1) 65%,
    rgba(255, 204, 230, 1) 100%
  );
  background: -moz-linear-gradient(
    90deg,
    rgba(95, 156, 173, 1) 0%,
    rgba(242, 164, 85, 1) 65%,
    rgba(255, 204, 230, 1) 100%
  );
  background: linear-gradient(
    90deg,
    rgba(95, 156, 173, 1) 0%,
    rgba(242, 164, 85, 1) 65%,
    rgba(255, 204, 230, 1) 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#5F9CAD", endColorstr="#FFCCE6", GradientType=1);
  color: white;
  padding: 0 3rem 0; /* remove bottom padding to eliminate gap under footer */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.25rem 0 0.75rem; /* tighter top and bottom */
  width: 100%; /* keep right gutter from body's padding */
  margin-left: -3rem; /* only counter body left padding (flush left) */
  margin-right: 0; /* preserve right padding so button isn't flush */
}

.logo img {
  height: 200px;
  width: auto;
  display: block; /* remove default inline-gap */
}

.contact-btn {
  padding: 0.5rem 2rem;
  font-size: 1rem;
  background-color: rgba(143, 143, 143, 0.2);
  border: 1px solid rgba(255, 248, 248, 0.5);
  border-radius: 50px;
  cursor: pointer;
  color: rgb(252, 251, 251);
  transition: 0.3s;
}

.contact-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(250, 248, 248, 0.5);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Main Section */
main {
  overflow: hidden;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  min-height: 85vh;
}

.title-section {
  margin-top: 3rem;
}

main h1 {
  text-align: center;
  font-size: 10rem;
  font-weight: 900;
  letter-spacing: 5px;
  line-height: 1;
  background-image: linear-gradient(
    rgba(32, 131, 145, 0.979),
    rgb(211, 69, 164)
  );
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.location {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.location p {
  background-image: linear-gradient(
    to right,
    rgb(177, 21, 177),
    rgb(59, 58, 58),
    rgb(88, 159, 253)
  );
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  font-size: 1.5rem;
}

.bio-section {
  margin-top: auto;
  margin-bottom: 2rem;
}

.bio {
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 300;
  letter-spacing: 1px;
  max-width: 22rem;
}

/* 3D Model */

.planet-3D {
  position: absolute;
  top: 15%;
  right: -20%;
  width: 130%;
  height: 130%;
}

.about-section {
  width: 100%;
  margin-top: 20rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.about-title {
  margin-bottom: 5%;
  font-size: 5rem;
  background-image: linear-gradient(
    rgba(32, 131, 145, 0.979),
    rgb(211, 69, 164)
  );
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.bento-grid {
  position: relative;
  display: grid;
  height: 90vh;
  width: 90%;
  grid-template-columns: repeat(3, 1fr);
  grid-template-areas:
    "intro intro tech"
    "time passion tech";
  gap: 1.5rem;
}

.card {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.05)
  );
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Card Specific Areas */
.intro {
  grid-area: intro;
  min-height: 300px;
}
.tech {
  grid-area: tech;
  min-height: 450px;
}
.time {
  grid-area: time;
  min-height: 250px;
}
.passion {
  grid-area: passion;
  min-height: 250px;
}

/* Card Hover Effects */
.card:hover {
  border-color: transparent;
  box-shadow: 0 10px 32px rgba(255, 255, 255, 0.2);
  transform: translateY(-10px);
}

/*Spotlight Effect*/
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at var(--mouse-x) var(--mouse-y),
    rgba(255, 255, 255, 0.2),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.card:hover::before {
  opacity: 1;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 2rem;
  color: white;
}

.card-text {
  color: #424242;
  font: bold;
  line-height: 1.6;
  margin-top: 2rem;
  max-width: 30rem;
  font-size: 1rem;
  z-index: 3;
  position: relative;
}

.card .resume-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
  color: white;
  text-decoration: none;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  z-index: 2;
}

.card .resume-link:hover {
  transform: translateY(-3px);
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

.card .resume-link svg {
  width: 28px;
  height: 28px;
}

.card .resume-link span {
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.bento-grid .background-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 110%;
  height: 110%;
  object-fit: cover;
  opacity: 0.3;
  z-index: -2;
  border-radius: 24px;
  filter: blur(0.5px) brightness(0.4) contrast(1.5);
  mix-blend-mode: overlay;
  mix-blend-mode: multiply;
}

.model-box {
  position: relative;
  right: 15%;
  top: -180%;
  height: 60rem;
  width: 60rem;
}

.info-3D {
  width: 150%;
  height: 150%;
}

.bento-grid .skills-group {
  position: absolute;
  bottom: 5%;
  left: 10%;
  width: 70%;
  filter: brightness(1.3) contrast(1.2) saturate(1.1);
  z-index: 2;
}

/*Projects Section*/

.projects-section {
  width: 100%;
  margin-top: 20rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.projects-section h3 {
  font-size: 5rem;
  margin-bottom: 5%;
  background-image: linear-gradient(
    rgba(32, 131, 145, 0.979),
    rgb(211, 69, 164)
  );
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.slider {
  height: var(--height);
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 10% 90%, transparent);
}

.slider .list {
  display: flex;
  min-width: calc(var(--width) * var(--quantity));
  position: relative;
}

.slider .list .item {
  width: var(--width);
  height: var(--height);
  position: absolute;
  left: 80%;
  animation: autoRun 15s linear infinite;
  transition: filter 0.5s;
  animation-delay: calc(
    (15s / var(--quantity)) * (var(--position) - 1) - 15s
  ) !important;
  transition: filter 0.5s;
}

.slider .list .item video {
  margin-top: 4rem;
  width: 100%;
  border-radius: 1rem;
  display: block;
  background-color: rgba(0, 0, 0, 0.25);
}

@keyframes autoRun {
  from {
    left: 100%;
  }
  to {
    left: calc(var(--width) * -1);
  }
}

.slider:hover .item {
  animation-play-state: paused !important;
  filter: grayscale(1);
}

.slider .item:hover {
  filter: grayscale(0);
  scale: 1.2;
}

/* Project Links */
.project-link {
  text-decoration: none;
  display: block;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.project-link:hover .item {
  transform: scale(1.05);
}

.project-link .item {
  transition: transform 0.3s ease;
}

/*Contact Section*/

.contact-section {
  padding: 60px 0;
  margin-top: 20rem;
  margin-bottom: 10rem;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h3 {
  font-size: 5rem;
  font-weight: 700;
  margin-bottom: 15px;
  background-image: linear-gradient(
    rgba(32, 131, 145, 0.979),
    rgb(211, 69, 164)
  );
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.section-header p {
  font-size: 1.2rem;
  color: #ddd;
  max-width: 600px;
  margin: 0 auto;
}

/* Contact Grid */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.info-card {
  background-color: #3f3e3e;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  }

.info-card:hover {
  transform: translateY(-10px);
}

.info-card {
  padding: 30px;
}

.info-card h3 {
  margin-bottom: 4rem;
  font-size: 1.5rem;
  color: lightgray;
}

.contact-item {
  margin-bottom: 3rem;
}

.contact-item p {
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: rgba(78, 183, 197, 0.979) ;
}

.contact-item a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: #fff;
  text-decoration: underline;
}

.social-link {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .social-link p {
    margin-bottom: 15px;
    color: rgba(78, 183, 197, 0.979);
    font-weight: 600;
  }

  .social-link a {
    display: inline-block;
    margin-right: 15px;
    color: rgba(245, 189, 86, 0.979);
    text-decoration: none;
    padding: 8px 15px;
    background-color: rgba(143, 143, 143, 0.2);
    border-radius: 50px;
    transition: all 0.3s ease;
  }

  .social-link a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    color: #fff;
  }

  /* Form Styles */

  .form-group {
    margin-bottom: 20px;
  }

  .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
    background-color: rgba(255, 255, 255, 0.1);
    color: #faf8f8;
  }

.form-control:focus {
    outline: none;
    color: #7ce9e6;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.message-btn {
    width: 100%;
    padding: 12px;
    background-color: rgba(124, 233, 230, 0.1);
    color: #7ce9e6;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.message-btn:hover {
    background-color: #7ce9e6;
    color: #131314;
}

.success-message {
    background-color: rgba(16, 185, 129, 0.2);
    color: #10b981;
    padding: 12px;
    border-radius: 8px;
    margin-top: 20px;
    display: none;
}

/* Footer Styles */
footer {
    background: linear-gradient(
        135deg,
        rgba(44, 44, 44, 0.8) 0%,
        rgba(30, 30, 30, 0.9) 100%
    );
    padding: 20px 0 15px;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.footer-social {
    display: flex;
    gap: 20px;
    margin-bottom: 5px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

.social-icon svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.social-icon:hover svg {
    transform: scale(1.1);
}

/* Specific hover colors for each platform */
.social-icon:nth-child(1):hover {
    background: rgba(89, 105, 64, 0.9); /* GitHub dark */
    border-color: #24292e;
}

.social-icon:nth-child(2):hover {
    background: rgba(0, 119, 181, 0.9); /* LinkedIn blue */
    border-color: #0077b5;
}

.social-icon:nth-child(3):hover {
    background: rgba(220, 53, 69, 0.9); /* PDF red */
    border-color: #dc3545;
}

.footer-copyright {
    text-align: center;
    margin-top: 10px;
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

/* ===========================================
   COMPREHENSIVE RESPONSIVE DESIGN
   =========================================== */

/* Laptops (1280px and below) */
@media (max-width: 1280px) {
  /* Spline Animation Scaling */
  .planet-3D {
    top: 40%;
    right: -12%;
    width: 115%;
    height: 115%;
  }

  /* Typography Scaling */
  main h1 {
    font-size: clamp(6rem, 9vw, 9rem);
    letter-spacing: 3px;
  }

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

  .section-header h3 {
    font-size: 4.5rem;
  }

  .projects-section h3 {
    font-size: 4.5rem;
  }

  /* Header Adjustments */
  .logo img {
    height: 180px;
  }

  .contact-btn {
    padding: 0.45rem 1.8rem;
    font-size: 1rem;
  }

  /* Bio Section */
  .bio {
    font-size: 1rem;
    max-width: 20rem;
  }

  /* Bento Grid */
  .bento-grid {
    width: 98%;
    height: 80vh;
  }

  .model-box {
    right: -4%;
    top: -180%;
    width: 42rem;
    height: 42rem;
  }

  .info-3D {
    width: 125%;
    height: 125%;
  }

  /* Bento Grid Cards */
  .card {
    padding: 1.8rem;
    min-height: 350px;
  }

  .card.intro {
    min-height: 350px;
  }

  .card-title {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    line-height: 1.2;
  }

  .card-text {
    font-size: 0.85rem;
    line-height: 1.5;
    max-width: 28rem;
    margin-top: 1rem;
  }

  /* About Section */
  .about-section {
    margin-top: 18rem;
  }

  /* Projects Section */
  .projects-section {
    margin-top: 18rem;
  }

  /* Project Slider */
  .slider {
    --width: 70vw;
    --height: 40vw;
  }

  .slider .list .item {
    width: 70vw;
    height: 40vw;
  }

  .slider .list .item video {
    margin-top: 2rem;
  }

  /* Contact Form */
  .contact-section {
    margin-top: 18rem;
    padding: 50px 0;
  }

  .info-card {
    padding: 25px;
  }

  .info-card h3 {
    font-size: 1.5rem;
  }
}

/* Tablet and Small Desktop (1024px and below) */
@media (max-width: 1024px) {
  /* Spline Animation Scaling */
  .planet-3D {
    top: 20%;
    right: -10%;
    width: 100%;
    height: 100%;
  }

  /* Typography Scaling */
  main h1 {
    font-size: clamp(4rem, 8vw, 8rem);
    letter-spacing: 2px;
  }

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

  .section-header h3 {
    font-size: 4rem;
  }

  /* Header Adjustments */
  .logo img {
    height: 150px;
  }

  .contact-btn {
    padding: 0.4rem 1.5rem;
    font-size: 0.9rem;
  }

  /* Bio Section */
  .bio {
    font-size: 0.9rem;
    max-width: 18rem;
  }

  /* Bento Grid */
  .bento-grid {
    width: 95%;
    height: 70vh;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "intro tech"
      "time passion";
  }

  .model-box {
    right: -2%;
    top: -90%;
    width: 30rem;
    height: 30rem;
  }

  .info-3D {
    width: 115%;
    height: 115%;
  }

  /* Bento Grid Cards */
  .card {
    padding: 1.2rem;
    min-height: 250px;
  }

  .card-title {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    line-height: 1.1;
  }

  .card-text {
    font-size: 0.8rem;
    line-height: 1.3;
    max-width: 20rem;
    margin-top: 0.8rem;
  }

  /* Contact Form */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* Project Slider */
  .projects-section h3 {
    font-size: 3rem;
  }

  .slider {
    --width: 90vw;
    --height: 50vw;
  }

  .slider .list .item {
    width: 80vw;
    height: 45vw;
  }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
  /* Body and Layout */
  body {
    padding: 0 1.5rem 0;
  }

  header {
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    padding: 0.5rem 1.5rem 0.5rem;
  }

  /* Spline Animation Scaling */
  .planet-3D {
    top: 25%;
    right: 0;
    width: 80%;
    height: 80%;
    transform: translateX(10%);
  }

  
  /* Typography Scaling */
  main h1 {
    font-size: clamp(3rem, 10vw, 6rem);
    letter-spacing: 1px;
  }

  .about-title {
    font-size: 3rem;
    margin-bottom: 2rem;
  }

  .section-header h3 {
    font-size: 2.5rem;
  }

  .projects-section h3 {
    font-size: 2.5rem;
  }

  /* Header Adjustments */
  .logo img {
    height: 120px;
  }

  .contact-btn {
    padding: 0.4rem 1.2rem;
    font-size: 0.8rem;
  }

  /* Bio Section */
  .bio {
    font-size: 0.8rem;
    max-width: 16rem;
  }

  /* Bento Grid - Stack Vertically */
  .bento-grid {
    width: 100%;
    height: auto;
    grid-template-columns: 1fr;
    grid-template-areas:
      "intro"
      "tech"
      "time"
      "passion";
    gap: 1rem;
  }

  .card {
    min-height: 280px;
    padding: 1.5rem;
  }

  .card-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.2;
  }

  .card-text {
    font-size: 0.85rem;
    line-height: 1.4;
    max-width: 100%;
    margin-top: 1rem;
  }


  /* Model Box */
  .model-box {
    position: relative;
    right: 0;
    top: 0;
    width: 100%;
    height: 320px;
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
  }

  .info-3D {
    width: 100%;
    height: 100%;
  }

  /* Sections Spacing */
  .about-section {
    margin-top: 10rem;
  }

  .projects-section {
    margin-top: 5rem;
  }

  .contact-section {
    margin-top: 5rem;
    padding: 40px 0;
  }

  /* Contact Form */
  .info-card {
    padding: 20px;
  }

  .info-card h3 {
    font-size: 1.3rem;
    margin-bottom: 3rem;
  }

  .contact-item {
    margin-bottom: 2rem;
  }

  .form-group {
    margin-bottom: 1rem;
  }

  .message-btn {
    width: 100%;
    padding: 0.8rem;
  }

  /* Project Slider */
  .slider {
    --width: 100vw !important;
    --height: auto !important;
    height: auto;
    mask-image: none;
    -webkit-mask-image: none;
    overflow: visible;
  }

  .slider .list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    min-width: 0;
    overflow: visible;
    padding-bottom: 0;
  }

  .slider .list .item {
    position: static;
    left: auto;
    animation: none;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .slider .list .item video {
    width: 100%;
    height: auto;
    margin-top: 0;
    border-radius: 0.8rem;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    min-height: 200px;
  }

  .project-details {
    position: static;
    background: transparent;
    backdrop-filter: none;
    border: 0;
    padding: 0;
    color: #f8f8f8;
  }

  .project-name {
    font-size: 1.1rem;
  }

  .project-tags {
    font-size: 0.85rem;
    color: rgba(235, 235, 235, 0.9);
  }

  /* Footer */
  .footer-content {
    padding: 0 1.5rem;
  }

  .footer-social {
    gap: 15px;
  }

  .social-icon {
    width: 45px;
    height: 45px;
  }

  .social-icon svg {
    width: 20px;
    height: 20px;
  }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
  /* Spline Animation Scaling */
  .planet-3D {
    top: 20%;
    right: 15%;
    width: 70%;
    height: 70%;
    transform: translateX(0);
  }

  /* Typography Scaling */
  main h1 {
    font-size: clamp(2.5rem, 12vw, 5rem);
  }

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

  .section-header h3 {
    font-size: 2rem;
  }

  .projects-section h3 {
    font-size: 2rem;
  }

  /* Header Adjustments */
  .logo img {
    height: 100px;
  }

  .contact-btn {
    padding: 0.3rem 1rem;
    font-size: 0.7rem;
  }

  /* Bio Section */
  .bio {
    font-size: 0.7rem;
    max-width: 14rem;
  }

  /* Bento Grid Cards */
  .card {
    padding: 1.2rem;
    min-height: 260px;
  }

  .card-title {
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    line-height: 1.1;
  }

  .card-text {
    font-size: 0.75rem;
    line-height: 1.3;
    max-width: 100%;
    margin-top: 0.8rem;
  }



  /* Contact Form */
  .info-card h3 {
    font-size: 1.2rem;
  }

  /* Project Slider */
  .slider {
    --width: 100vw !important;
  }

  .slider .list .item video {
    border-radius: 0.6rem;
  }

  /* Footer */
  .footer-content {
    padding: 0 1rem;
  }

  .social-icon {
    width: 40px;
    height: 40px;
  }

  .social-icon svg {
    width: 18px;
    height: 18px;
  }
}

/* Extra Small Mobile (380px and below) */
@media (max-width: 380px) {
  body {
    padding: 1rem;
  }

  main h2 {
    font-size: 6rem;
  }

  .logo {
    font-size: 1.2rem;
  }

  .location p {
    font-size: 1rem;
  }

  .contact-btn {
    padding: 0.4rem 1.5rem;
    font-size: 0.9rem;
  }

  .model-box {
    right: 0;
    top: 0;
    height: 260px;
  }

  .planet-3D {
    top: 35%;
    right: 10%;
    width: 60%;
    height: 60%;
  }

  /* Typography */
  .about-title {
    font-size: 2rem;
  }

  .section-header h3 {
    font-size: 1.8rem;
  }

  /* Bento Grid Cards */
  .card {
    padding: 1rem;
    min-height: 240px;
  }

  .card-title {
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
    line-height: 1.1;
  }

  .card-text {
    font-size: 0.7rem;
    line-height: 1.2;
    max-width: 100%;
    margin-top: 0.6rem;
  }



  /* Contact Form */
  .contact-grid {
    gap: 20px;
  }

  .info-card {
    padding: 15px;
  }

  /* Project Slider */
  .slider {
    --width: 100vw !important;
  }

  .slider .list .item video {
    border-radius: 0.5rem;
  }
}