*, 
*:before, 
*:after{
    box-sizing: border-box;
}
html{
    font-size: 16px;
}
body {
  font-family: 'Roboto', sans-serif;
  background: #1e1e1e;
  color: white;
  height: 100vh;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  height: 105vh;
  background-image: url("../assets/images/img.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  z-index: -1;

  /* animation */
  animation: bgFloat 3s linear infinite alternate;
  transform-origin: center;
}

@keyframes bgFloat {
  from {
    transform: scale(1) translate(0, 0);
  }
  to {
    transform: scale(1.1) translate(-10px, -10px);
  }
}


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

  html {
    scroll-behavior: smooth;
  }


  #particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* behind all content */
  }

/* Header container */

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  width: 100%;
  background-color: rgb(11, 11, 11); /* add background so it's visible on scroll */
  position: fixed; /* keeps nav fixed at top */
  top: 0;          /* position at the very top */
  left: 0;         /* align to left */
  z-index: 999;    /* stay above other content */
}
  .logo img {
    width: auto;
    height: 50px;
  }
  
  .nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
    white-space: nowrap;
  }
  
  .nav-links a {
    text-decoration: none;
    color: white;
    font-size: 15px;
  }
/* Desktop nav on right */
.desktop-nav {
  display: flex;
  gap: 2rem;
  margin-left: auto ;
}

 

  h2 {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 40px;
    padding: 10px;
    display: inline-block;
    text-align: center;
   
  }

  p {
    font-size: 18px;
    font-weight: 400;
  }

  .section-title {
    font-size: 2rem; /* adjust as needed */
    font-weight: 400; /* normal */
  }
  
  .section-title .bold {
    font-weight: 700; /* bold */
  }
  
  

  /* Hero Section */
  #hero {
    height: 100vh;
    display: flex;
    align-items: center;
  }
  
  .hero-overlay {
    position: relative; /* FIX */
    top: auto;
    left: auto;
    transform: none;
  
    width: 100%;
    padding: 0 5%;
  
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .hero-text {
    max-width: 65%;
  }
  .hero-overlay h3 {
    font-size: 50px;
  }
  
  .hero-text h1 {
    font-size: 60px;  /* bigger main name */
    margin: 20px 0;
    font-weight: 900;
}

.hero-text p.hero-skill {
    font-size: 23px;  /* bigger skill text */
}
/* Logo container */
.logo-container {
  position: relative;
  display: flex;
  align-items: center;
  height: 50px; /* same as logo height */
}

/* Logo */
#header-logo {
  display: block;
  height: 50px;
  transition: opacity 0.5s ease;
}


.hero-orbit {
  position: relative;
  width: 450px;
  height: 450px;
}

/* CENTER PHOTO */
.hero-photo {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
}

/* SVG */
.orbit-svg {
  width: 100%;
  height: 100%;
  animation: rotateCircle 20s linear infinite;
}

.orbit-svg circle {
  fill: none;
  stroke: #28abe1;
  stroke-width: 2;
  stroke-dasharray: 6 10; /* DASHED LINE */
  stroke-linecap: round;
}

/* ICON */
.orbit-icon {
  position: absolute;
  width: 46px;
  height: 46px;

  backdrop-filter: blur(6px);
  border-radius: 50%;
  color: #fff;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* ACTIVE ICON */
.orbit-icon.active {
  opacity: 1;
  transform: scale(1);
}

/* ROTATION */
@keyframes rotateCircle {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}




/* Name text hidden by default */
#header-name {
  display: none;
  position: absolute;
  top: 0;      /* exactly over logo */
  left: 0;
  font-size: 1.5rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* Different colors */
#header-name .first-name {
  color: #28abe1;
}

#header-name .last-name {
  color: #f5a142; 
}


  
.swiper {
  width: 100%;
  padding: 3.125rem 0;
}

.swiper-slide {
   position: relative; 
   width: 18rem; 
   height: 25rem; /* or any height you want */ 
   border-radius: 1rem; 
   padding: 1rem;
  
  
   background-color: white;

   overflow: hidden; }



.swiper-slide:hover img{
  transform: scale(1.12);
  filter: brightness(0.7);
}

.title {
  position: absolute;
  bottom: 0.625rem;
  left: 50%;
  transform: translate(-50%, -20%);
  padding: 0.625rem 1.125rem;
  background-color: #1e1e1e;
  border-radius: 0.5rem;
  border: 0.125rem solid rgba(40, 171, 225, 0.5);
  transition: all 0.5s linear;
}

.swiper-slide-active {
  bottom: -0.625rem;
  box-shadow: 0 1rem 1rem 0rem rgba(40, 171, 225, 0.5);
}

.swiper-pagination-bullet {
  width: 0.875rem;
  height: 0.875rem;
  background-color: #fff;
  border-radius: 50%;
}

.swiper-pagination-bullet-active {
  width: 2rem;
  background-color: #28abe1;
  border-radius: 0.875rem;
}

/* Default slide state */
.swiper-slide {
  transition: all 0.4s ease;
  opacity: 1;
  filter: blur(1px);
  transform: scale(0.85);

}

/* Active (front) slide */
.swiper-slide-active {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
  z-index: 2;
}





  
  /* Featured Portfolio Section */
#portfolio {
  text-align: center;
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
  }


  .main-image {
    width: 100vw;
    height: 100vh;
    background: url('../assets/images/min img.jpg') center center no-repeat;
    background-size: cover; /* cover ensures full width & height */
    position: relative;     /* needed for absolute positioning of overlay */
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .image-overlay {
    position: absolute;
    top: 60%;        /* adjust vertical placement */
    left: 20%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
  }
  
  .image-overlay h2 {
    font-size: 48px;
    margin-bottom: 20px;
  }
  
  .image-overlay p {
    font-size: 18px;
    margin-bottom: 30px;
  }

  .hero-skill {
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
  }
  
  /* Fixed-width container so text length doesn't shift layout */
  .skill-wrapper {
    display: inline-block;
    min-width: 200px; /* adjust if needed */
    text-align: left;
  }
  
  /* Animated text */
  #rotating-skill {
    font-weight: 700;
    color: #f7941d;
    opacity: 1;
    transition: opacity 0.4s ease-in-out;
  }
  
  

  .hero-skill {
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
  }
  
  
  
  /* Typed text */
  #rotating-skill {
    font-weight: 700;
    color: #f7941d;
  }
  
  /* Cursor animation */
  .cursor {
    margin-left: 2px;
    animation: blink 1s infinite;
    color: #f7941d;
  }
  
  @keyframes blink {
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0; }
  }
  
 
  
  
  .swiper-slide:hover img {
    transform: scale(1.1);
  }

 
  
  
  /* About Me */
  .about-section {
    width: 100%;
 
    padding: 60px 0;
  }
  
  .about-container {
    width: 85%;
    height: 400px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 40px;
  }
  
  .about-left {
    width: 40%;
  }
  
  .about-photo {
    
      width: 400px;
      height: 400px;
      border-radius: 50%;
      object-fit: cover;
      border: solid 2px #4a89a5 ;
      
    }


/* _   vanished       __*/

.hero-overlay {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  padding: 40px;
  z-index: 5;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
  







  
  
  .about-right {
    width: 60%;
    color: #fff;
  }
  
  .about-right h2 {
    font-size: 32px;
    margin-bottom: 20px;
  }
  
  .about-desc {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 18px;
    color: #eaeaea;
  }
  
  .about-buttons {
    margin-top: 20px;
    display: flex;
    gap: 15px;
  }
  
  .btn {
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: bold;
  }
  
  
  
  /* Orange Download CV */
  .cv-btn {
    background: #e8902f;
    color: #ffffff;
  }
  

  /* Skills */

  .section-title{
    text-align: center;

  }

  .skills-layout {
    display: flex;
   
    justify-content: space-between;
   
    gap: 50px;
    max-width: 1100px;
    margin: 0 auto;
  }
  
  .skills-text {
    width: 50%;
    
  }
  
  .skills-desc {
    font-size: 18px;
    line-height: 1.7;
    color: #eaeaea;
  }
  
  .skills-icons {
    width: 50%;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    flex-wrap: wrap;
  }
  
  .skills-icons img {
    height: 70px;
    width: auto;
  }
  








  /* Contact */
/* CONTACT */
#contact .contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.contact-left, .contact-right {
  flex: 1 1 45%;
  background-color: #e0e0e0;
  border: 2px dashed #999;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

footer {
  background: #1e1e1e;
  text-align: center;
  padding: 20px;

}

.contact-right form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-right input,
.contact-right textarea {
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.contact-right button {
  padding: 10px;
  font-size: 16px;
  background-color: #f7941d;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.contact-right button:hover {
  background-color: #e07a00;
}

#formResponse {
  margin-top: 10px;
  font-size: 14px;
  color: green;
}

/* Section background */
.contact-section {
padding: 60px 0;
display: flex;
flex-direction: column;
align-items: center;
}

/* Title */
h2 {
color: #fff;
font-size: 36px;
margin-bottom: 40px;
font-weight: 700;
display: block;
}

/* Wrapper */
.contact-wrapper {
width: 90%;
max-width: 1100px;
display: flex;
gap: 40px;
align-items: stretch;
}

/* LEFT PANEL */
.contact-info-box {
background: #28abe1;
flex: 1;
border-radius: 35px;
padding: 70px 50px;
color: #fff;
text-align: center;
}

.contact-info-box h3 {
margin-top: 100px;
font-size: 48px;
margin-bottom: 20px;
font-weight: 700;
}

.contact-info-box p {
font-size: 18px;
line-height: 1.5;
}

/* RIGHT FORM */
.contact-form {
flex: 1;
display: flex;
flex-direction: column;
gap: 20px;
}

.contact-form input,
.contact-form textarea {
width: 100%;
padding: 18px;
background: #ffffff;
border: 1px solid #444;
border-radius: 6px;
color: #000000;
font-size: 16px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
color: #969696;
}



/* Submit Button */
.contact-form button {
width: 150px;
background: #f5a142;
color: #ffffff;
font-size: 18px;
font-weight: bold;
border: none;
border-radius: 10px;
padding: 12px 0;
cursor: pointer;
transition: 0.3s ease;
}

.contact-form button:hover {
background: #ffb75d;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
  font-size: 14px;
  margin-top: 30px;
}


  .mobile-nav {
    display: none;
    flex-direction: column;
    gap: 10px;
    background-color: #d9d9d9;
    position: absolute;
    top: 60px;
    right: 20px;
    padding: 15px;
    border: 1px solid #999;
    border-radius: 8px;
    z-index: 20;
  }
  .mobile-nav.active {
    display: flex;
}

/* Mobile nav links styling */
.mobile-nav a {
    display: block;           /* make links full width */
    text-align: left;         /* align text left for vertical menu */
    padding: 10px 0;
    font-weight: bold;
    text-decoration: none;
    color: #333;
}

.mobile-nav a:hover {
    background-color: #ccc;
    border-radius: 4px;
}
  
  .hamburger {
    display: none;
    font-size: 28px;
    cursor: pointer;
    position: absolute;
    right: 20px;

  } 



  /* Footer Styling */
  footer {
    text-align: center;
    background-color: #000000;
    color: white;
    padding: 1rem;
    margin-top: 20px;
  }
  .project-details {
    display: none;
  }

  p{
    font-size: 18px;
  }
  








  /* Mobile & Tablet Responsive Styles */

/* Tablets (768px - 1024px) */
@media screen and (max-width: 1024px) {
    /* Portfolio Grid: 2 columns */
    .portfolio-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
    }
  
    /* About Section: Stack columns */
    #about .about-container {
      flex-direction: column;
      gap: 15px;
    }
  
    .about-image, .about-text {
      flex: 1 1 100%;
      height: 200px;
    }
  
    /* Skills grid: smaller padding */
    .skill-box {
      padding: 30px;
      min-width: 100px;
    }
  
    /* Experience boxes */
    .exp-box {
      flex: 1 1 100%;
      height: 120px;
    }
  
    /* Contact boxes */
    .contact-left, .contact-right {
      flex: 1 1 100%;
      height: 250px;
    }
  }
  
  /* Mobile Phones (max-width: 767px) */
  @media screen and (max-width: 767px) {


     
  .hamburger {
      display: block;
      margin-top: -60px; /* show hamburger */
  }

    nav {
      flex-direction: column;
      gap: 10px;
    }
  
    /* Portfolio Grid: 1 column */
    .portfolio-grid {
      grid-template-columns: 1fr;
      gap: 15px;
    }
      
    .project-box {
        height: 250px;
    }
  
    /* Hero section padding smaller */
    #hero {
      padding: 80px 10px;
    }
  
    #hero .hero-box {
      padding: 40px 20px;
    }
  
    /* About Section: stack vertically */
   
    
    .about-image, .about-text {
      height: 500px;
    }
  
    /* Buttons stack */
    .about-buttons {
      flex-direction: column;
      gap: 10px;
      align-items: center;
    }
  
    .button-box {
      width: 50%;
      padding: 12px 20px;
    }
  
    /* Skills grid: 1 column */
    .skills-grid {
      flex-direction: column;
      gap: 15px;
      align-items: center;

    }
  
    .skill-box {
      width: 50%;
      padding: 30px;


    }
  
    /* Experience section: 1 column */
    .experience-section {
      flex-direction: column;
      gap: 15px;
    }
  
    .exp-box {
        flex: none;
      height: 200px;
    }
  
    /* Contact section: 1 column */
    .contact-container {
      flex-direction: column;
      gap: 15px;
    }
  
    .contact-left, .contact-right {
      height: 500px;
    }
     .desktop-nav {
    display: flex;
    gap: 2rem;
     }
  
    .desktop-nav {
      display: none; /* hide desktop nav */
    }
    .hamburger {
      display: block; /* show hamburger */
    }
    .contact-left, .contact-right {
        flex: none;
        height: 300px ;
      }
      #about .about-container {
        flex-direction: column; /* stack vertically */
        height: auto;           /* container expands with children */
    }

    .about-image,
    .about-text {
        flex: none;       /* prevent flex from shrinking */
        height: 300px;
        width: 300px;    /* increased height for mobile */
    }
    /* Image Section: Stack all images vertically */
    .image-section {
        display: flex;
        flex-direction: column;  /* stack vertically */
        gap: 20px;               /* space between images */
        align-items: center;     /* center horizontally */
    }

    .image-left, .image-right {
        width: 100%;             /* full width container */
        display: flex;
        flex-direction: column;  /* stack images inside */
        gap: 20px;  
        height: 220px;             /* space between images */
    }

    .image-left img, 
    .image-right img {
        width: 100%;             /* full width */
        max-width: 400px;        /* optional max width */
        height: 150px;           /* same height for all images */
        object-fit: cover;       /* maintain aspect ratio */
        border-radius: 5px;
        margin: 0 auto;
    }
    .exp-box {
      height: auto;
    }
    .skills-layout {
      flex-direction: column;
      text-align: center;
    }
  
    .skills-text,
    .skills-icons {
      width: 100%;
    }
  
    .skills-icons {
      justify-content: center;
      margin-top: 20px;
    }
}

  
/* Portfolio project titles */
.swiper-slide .title h3 {
  color: #28abe1; /* change to any color you like */
  font-size: 1.2rem;
  transition: all 0.3s ease; /* smooth transition for hover */
  text-transform: uppercase; /* optional for style */
  letter-spacing: 1px; /* optional */
}

.swiper-slide:hover .title h3 {
  color: #f7941d; /* changes color on hover */
  transform: scale(1.1); /* makes the text pop */
  text-shadow: 2px 2px 5px rgba(0,0,0,0.5); /* adds glow/shadow */
}


.swiper-slide .title h3 {
  position: relative;
}

.swiper-slide .title h3::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background-color: #f7941d;
  left: 0;
  bottom: -5px;
  transition: width 0.3s ease;
}

.swiper-slide:hover .title h3::after {
  width: 100%; /* underline grows on hover */
}



/* Scroll Explore Button */
.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  text-decoration: none;
  color: #fff;
}

.explore-text {
  display: block;
  font-family: lato;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 6px;
  opacity: 0.8;
}

/* Arrow */
.scroll-down .arrow {
  display: block;
  width: 16px;
  height: 16px;
  border-left: 3px solid white;
  border-bottom: 3px solid white;
  transform: rotate(-45deg);
  margin: auto;
  animation: arrowMove 1.5s infinite;
}

@keyframes arrowMove {
  0% {
    opacity: 0;
    transform: translateY(0) rotate(-45deg);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(10px) rotate(-45deg);
  }
}


/* Project Card */
.project-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: white;
}

/* Image */
.project-image {
  height: 50%;
  width: 100%;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  border-radius: 0.7rem;
  
  object-fit: cover;
  transition: 0.4s ease;
}

/* Content */
.project-content {
  height: 50%;

  padding: 15px;
 
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

/* Title */
.project-content h3 {
  font-size: 1.3rem;
  color: #28abe1;
  transition: 0.3s;
  display: flex;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

/* Description */
.project-content p {
  font-size: 1rem;
  color: #141313;
}

/* Hover Effects */
.project-card:hover img {
  transform: scale(1.1);
  border-radius: 0.7rem;
}

.project-card:hover h3 {
  color: #f7941d;
}

.project-card:hover .project-image {
  border-radius: 0.7rem;
}

.swiper-button-next,
.swiper-button-prev {
  color: #28abe1;

  width: 50px;
  height: 50px;
  border-radius: 50%;
}

/* arrow icon */
.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 20px;
  font-weight: bold;
}

/* hover effect */
.swiper-button-next:hover,
.swiper-button-prev:hover {
  color: #f7941d;
}
.swiper-button-next,
.swiper-button-prev {
  transition: 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  transform: scale(1.1);
}

.orbit-center-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  
  font-size: 24px;
  font-weight: bold;
  color: #fff;

  text-align: center;
  z-index: 3;

  transition: all 0.3s ease;
}

.orbit-center-text::after {
  content: "|";
  margin-left: 5px;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0; }
}









@media screen and (max-width: 767px) {

  .hero-overlay {
    display: flex;
    flex-direction: column;   /* stack */
    justify-content: space-between; /* push top & bottom */
    align-items: center;

    height: 100vh;
    padding: 80px 20px 40px;
    text-align: center;
  }

  .hero-text {
    margin-top: 30px;
  
    max-width: 100%;
  }

  .hero-orbit {
    margin-top: auto; /* pushes orbit to bottom */
  }

  .scroll-down {
    position: absolute;
    bottom: 20px;
    right: 30px;   /* move to right */
    left: auto;    /* remove center alignment */
    transform: none; /* reset translate */
    text-align: right;
  }

   /* Hide text */
   .explore-text {
    display: none;
  }

  .about-photo {
    width: 200px;
    height: 200px;   /* equal width & height = perfect circle */
   
    object-fit: cover;
    display: block;
    margin: 0 auto;  /* center it */
  }

  .about-left {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .about-container {
    width: 100%;      /* remove side gap */
     /* controlled spacing instead */
  }
  .about-right{
    width: 90%;
  }

  .skills-desc{
    display: flex;
    justify-content: center;
    text-align: center;
    width: 90%;

  }


  .skills-icons {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 per row */
    gap: 20px;
    justify-items: center;
  }

  .skills-icons img {
    width: 60px;
    height: auto;
  }
  .contact-wrapper {
    display: flex;
    flex-direction: column; /* stack vertically */
    gap: 20px;
  }

  .contact-info-box {
    order: 1; /* top */
    width: 100%;
  }

  .contact-form {
    order: 2; /* bottom */
    width: 100%;
  }
  .contact-info-box {
    padding: 40px 20px;
  }

}

/* Tablet View: Stack Get in Touch vertically */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .contact-wrapper {
    display: flex;
    flex-direction: column; /* stack vertically */
    gap: 30px; /* more space than mobile */
  }

  .contact-info-box {
    order: 1; /* top */
    width: 100%;
    padding: 50px 30px; /* slightly bigger padding for tablet */
  }

  .contact-form {
    order: 2; /* bottom */
    width: 100%;
    padding: 30px 20px; /* comfortable padding */
  }

  /* Heading resize for tablet */
  .contact-info-box h3 {
    font-size: 40px;
    margin-top: 30px;
  }

  /* Adjust form inputs on tablet */
  .contact-form input,
  .contact-form textarea {
    font-size: 16px;
    padding: 14px;
  }

  .contact-form button {
    font-size: 18px;
    padding: 14px 0;
  }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {

  /* ================= HERO FIX ================= */
  .hero-overlay {
    flex-direction: column;
    text-align: center;
    height: 100vh;
    justify-content: center;
    gap: 40px;
    padding: 100px 30px 40px;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-text h1 {
    font-size: 42px;
  }

  .hero-orbit {
    width: 450px;   /* keep original size */
    height: 450px;
    transform: scale(0.75);  /* shrink visually */
    transform-origin: center;
  }

  /* ================= ABOUT FIX ================= */
  .about-container {
    flex-direction: column;
    height: auto;
    text-align: center;
  }

  .about-left,
  .about-right {
    width: 100%;
  }

  .about-photo {
    width: 280px;
    height: 280px;
    margin: 0 auto;
  }

  /* ================= SKILLS FIX ================= */
  .skills-layout {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .skills-text,
  .skills-icons {
    width: 100%;
    justify-content: center;
  }

  .skills-icons {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
  }

  .skills-icons img {
    height: 55px;
  }

  /* ================= CONTACT FIX ================= */
  .contact-wrapper {
    flex-direction: column;
    gap: 25px;
  }

  .contact-info-box,
  .contact-form {
    width: 100%;
  }

  .contact-info-box {
    padding: 40px 25px;
  }

  .contact-info-box h3 {
    font-size: 34px;
    margin-top: 20px;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 14px;
  }

  .contact-form button {
    width: 100%;
  }

}