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

body{
    overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

/* Style the whole scrollbar */
::-webkit-scrollbar {
  width: 12px;  /* Vertical scrollbar width */
  height: 12px; /* Horizontal scrollbar height */
}

/* Track (the background of the scrollbar) */
::-webkit-scrollbar-track {
  background: #111;         /* Dark background */
}

/* Handle (the draggable part) */
::-webkit-scrollbar-thumb {
  background-color: rgb(153, 60, 60);   /* Gray thumb */
  border-radius: 10px;
  border: 2px solid #111;   /* Creates a border effect */
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background-color: rgb(221, 85, 85);
}

/* For Firefox only */
.scrollable-container {
  scrollbar-color: #888 #111; /* thumb color, track color */
  scrollbar-width: thin;
}

/* Hero Section */

.header {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 150px;
  background-color: #000;
  padding: 0 16px;
  position: relative;
  z-index: 9999;
}

/* Group image and links together and center them */
.nav-container {
  display: flex;
  align-items: center;
  gap: 40px; /* adjust this to control spacing between logo and links */
}

/* Logo */
.nav-container img {
  width: 140px;
  height: auto;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-links a {
  padding: 10px 12px;
  color: #fff;
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
}

.nav-links a:hover {
  color: red;
}

.nav-links a.border {
  border: 2px solid #fff;
  border-radius: 18px;
  display: inline-block;
  line-height: 1;
  padding: 10px 20px;
}

.nav-links a.border:hover {
  border-color: red;
}

/* Hamburger button on far right */
.hamburger {
  display: none;
  font-size: 28px;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
}

.close-menu {
  display: none;
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1200; /* above nav-links */
  padding: 0;
  line-height: 1;
}

/* Mobile styles */
@media (max-width: 974px) {
  .header {
    margin-top: 0;
    justify-content: space-between;
  }
  .hamburger {
    display: block;
  }
  .close-menu {
  display:block;
  }

  /* Hide nav in mobile by default */
   .nav-links {
    display: flex; /* Keep flex for layout */
    flex-direction: column;
    position: fixed;      /* Fix to viewport */
    top: 0;
    right: 0;            /* Start offscreen to right */
    height: 100vh;       /* Full viewport height */
    width: 250px;        /* Fixed width */
    background-color: #242424; /* Dark grey */
    padding: 80px 20px 20px 20px;  /* Leave space for hamburger */
    gap: 20px;
    transform: translateX(100%); /* Hide offscreen right */
    transition: transform 0.3s ease-in-out;
    box-shadow: -4px 0 8px rgba(0,0,0,0.3);
    z-index: 9999;
  }

   .nav-links.show {
    transform: translateX(0); /* Slide in */
  }

   .nav-links a {
    color: white;
    font-size: 1.2rem;
    padding: 10px 0;
    border-bottom: 1px solid #444;
  }

  /* Show nav when toggled */
  .nav-links.show {
    display: flex;
  }

  /* Collapse desktop layout in nav-container */
  .nav-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
  }
}


/* Home Section Section */

.home-section{
    background-color: #000;
    height: 920px;
    z-index: 1;
    position: relative;
    overflow: hidden;
}

.deco-text{
    position: relative;
    left: 43%;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    color: #fff;
    width: 200px;
    border-style: solid;
    border-width: 1px;
    border-color: #fff;
    border-radius: 15px;
    padding: 5px;
    font-weight: 100;
}

.bg-text{
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    font-size: 170px;
    margin-top: 50px;
}

.home-section img{
    position: absolute;
    top: 70px;
    left: 600px;
    width: 800px;
    height: 1000px;
    z-index: 0;
    overflow-y: hidden;
}

.description{
    color: #fff;
    margin-top: 50px;
    font-family: Arial, Helvetica, sans-serif;
    position: relative;
    left: 50px;
}

.home-section a{
    font-family: Arial, Helvetica, sans-serif;
    color: #fff;
    text-decoration: none;
    background-color: red;
    padding: 10px;
    border-style: solid;
    border-color: red;
    border-width: 1px;
    border-radius: 20px;
    position: relative;
    left: 50px;
    top: 40px;
}

.home-section a:hover{
    color: red;
    background-color: #fff;
}

.section-divider {
  all: unset; /* Reset all default styles */
  display: block;
  height: 2px;
  width: 80%;
  background-color: #fff;
  margin: 0 auto;
}


@media (max-width: 974px) {
  .home-section {
    height: auto;
    padding: 40px 20px;
  }

  .home-section img {
    animation: none !important;
  }

 .section-divider {
    width: 90%;
  }

  .bg-text {
    font-size: 48px;
    margin-top: 20px;
  }

  .deco-text {
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    padding: 6px 16px;
    font-size: 14px;
  }

  .description {
    left: 0;
    margin: 30px auto 0;
    text-align: center;
    padding: 0 12px;
  }

  .home-section a {
    display: block;
    margin: 30px auto 0;
    left: 0;
    top: 0;
    text-align: center;
    width: fit-content;
  }

  .home-section img {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    margin-top: 20px;
  }
}


/* About Section Section */

.about-section{
    margin-bottom: 60px;
}

.why-choose-me{
    position: relative;
    left: 6%;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    color: #000;
    width: 200px;
    border: 1px solid #000;
    border-radius: 15px;
    padding: 5px;
    margin-top: 80px;
}

.about-section i{
    font-size: 50px;
    padding: 20px;
    color: red;
}

.about-section h1{
    font-family: Arial, Helvetica, sans-serif;
    margin-left: 90px;
    font-size: 3rem;
    font-weight: 100;
}

.big-box{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    margin-top: 40px;
}

.container{
    font-family: Arial, Helvetica, sans-serif;
    box-shadow: 0 2px 10px black;
    width: 300px;
    height: fit-content;
    text-align: center;
    padding: 20px;
    border-radius: 15px;
}

.container h2{
    font-size: medium;
    padding-bottom: 10px;
}

@media (max-width: 974px) {
  .why-choose-me {
    left: 0;
    margin: 20px auto;
    width: fit-content;
    font-size: 14px;
  }

  .about-section h1 {
    margin-left: 0;
    text-align: center;
    font-size: 2rem;
    padding: 0 10px;
  }

  .big-box {
    flex-direction: column;
    gap: 24px;
    padding: 0 16px;
    margin-top: 30px;
  }

  .container {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
  }

  .about-section i {
    font-size: 36px;
    padding: 16px;
  }
}


/* Projects Section Section */

.projects{
    background-color: #000;
    font-family: Arial, Helvetica, sans-serif;
    color: #fff;
    padding-top: 80px;
    height: 1600px;
}

.work-deco{
    position: relative;
    left: 6%;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    color: #fff;
    width: 250px;
    border: 1px solid #fff;
    border-radius: 15px;
    padding: 5px;
}

.projects h1{
    font-family: Arial, Helvetica, sans-serif;
    margin-left: 90px;
    font-size: 50px;
    font-weight: 100;
    padding-bottom: 20px;
}

.project-container {
  width: 35%;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  border: 1px solid #fff;
  border-radius: 15px;
  overflow: hidden;
  background-color: #111;
  cursor: pointer;
}


.project-big-box{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.project-header {
  padding: 15px;
  border-bottom: 1px solid #fff;
  text-align: center;
  background-color: #111;
}

.project-header p {
  margin: 0;
  font-size: 1.1rem;
  color: #fff;
}

.project-image-wrapper {
  position: relative;
  width: 100%;
  height: 350px; /* Now it has height! */
  overflow: hidden;
}

.project-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0 auto; /* center horizontally */
}

.all-work-button {
    color: #fff;
    text-decoration: none;
    background-color: red;
    padding: 10px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    top: 60px;
    margin: 60px auto 0; /* top margin matches 'top:60px' for consistency */
    display: block;       /* make it block to allow auto margins */
    width: fit-content;   /* shrink to content width */
}


.project-container p{
    text-align: center;
    padding: 20px 0;
    border-bottom: 1px solid #fff;
}

.project-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  left: 0;
  bottom: 0;
}

.project-container:hover img{
  transform: scale(1.05) translateY(-10px);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-align: center;
  padding: 20px;
}


.project-image-wrapper:hover img {
  transform: scale(1.05) translateY(-10px);
}

.project-image-wrapper:hover .overlay {
  opacity: 1;
}


.overlay a{
  text-align: center;
  width: 100px;
  padding: 10px;
  background: #fff;
  color: #000;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.overlay a:hover{
  background: #e1e1e1;
}

.overlay p{
  font-size: 1.2rem;
  font-weight: bold;
}

@media (max-width: 768px) {
  .projects {
    padding: 60px 16px;
    height: auto;
  }

  .work-deco {
    left: 0;
    margin: 0 auto;
    width: fit-content;
    font-size: 14px;
  }

  .projects h1 {
    margin-left: 0;
    text-align: center;
    font-size: 2rem;
  }

  .project-big-box {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }

  .project-container {
    width: 100%;
    min-height: 400px;
  }

  .project-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .project-image-wrapper {
    margin: 0 auto;
  }

  .all-work-button {
    position: static;
    margin: 40px auto 0;
    display: block;
    width: fit-content;
    padding: 12px 24px;
    font-size: 14px;
  }

  .overlay {
    padding: 12px;
  }

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

  .overlay a {
    width: auto;
    padding: 8px 16px;
    font-size: 14px;
  }
}

/* Graphic Design Section Section */

.my-designs-deco{
    position: relative;
    left: 6%;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    color: #000;
    width: 150px;
    border: 1px solid #000;
    border-radius: 15px;
    padding: 5px;
    margin-top: 80px;
}

.graphic-designs h1{
    font-family: Arial, Helvetica, sans-serif;
    margin-left: 90px;
    font-size: 50px;
    font-weight: 100;
}

.flipbook-container {
  max-width: 70%;
  margin: 0 auto;
  border: 4px solid #000;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 20px #000;
  aspect-ratio: 16 / 9;
  margin-top: 40px;
  margin-bottom: 60px;
}


.flipbook-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 974px) {
  .my-designs-deco {
    left: 0;
    margin: 40px auto;
    font-size: 14px;
    width: fit-content;
  }

  .graphic-designs h1 {
    margin-left: 0;
    text-align: center;
    font-size: 2rem;
    padding: 0 16px;
  }

  .flipbook-container {
    max-width: 90%;
    margin: 30px auto 40px;
    border-width: 2px;
    border-radius: 12px;
    box-shadow: 0 0 10px #000;
    aspect-ratio: 16 / 9;
  }
}


/* Experience Section Section */

.experience{
    background-color: rgb(156, 27, 27);
    padding-top: 80px;
    padding-bottom: 80px;
}

.what-i-offer{
    position: relative;
    left: 56%;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    color: #fff;
    width: 170px;
    border: 1px solid #fff;
    border-radius: 15px;
    padding: 5px;
    margin-bottom: 10px;
}

.experience h1{
    font-family: Arial, Helvetica, sans-serif;
    margin-left: 770px;
    font-size: 50px;
    font-weight: 100;
    padding-bottom: 20px;
}

.experience .desc{
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    text-align: right;
    margin-right: 150px;
    color: #fff;
}

.experience .icons{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 30px;
    margin-right: 250px;
    padding: 10px 20px;
    font-size: 50px;
    text-align: right;
    margin-top: 30px;
    margin-bottom: 30px;
}

.experience .icons i:nth-child(2){
    color: #fff;
}

.experience .icons i:nth-child(4){
    color: #fff;
}

.exp-big-container{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    margin-left: 50px;
    font-family: Arial, Helvetica, sans-serif;
}

.exp-container:nth-of-type(1){
    width: 300px;
    height: 450px;
    background-color: #fff;
    border: 1px solid #fff;
    border-radius: 20px;
}

.exp-container:nth-of-type(2){
    width: 300px;
    height: 450px;
    background-color: #2d2d2d;
    color: #fff;
    border: 1px solid #2d2d2d;
    border-radius: 20px;
}


.exp-container:nth-of-type(3){
    width: 300px;
    height: 450px;
    background-color: #000;
    color: #fff;
    border: 1px solid #000;
    border-radius: 20px;
}

.exp-container{
    width: 300px;
    height: 450px;
    border: 1px solid #000;
    border-radius: 20px;
}

.exp-container h2{
    font-size: 1.5rem;
    padding: 10px;
    margin-left: 20px;
}

.exp-container p{
    font-size: 0.9rem;
    padding: 10px;
    margin-left: 20px;
}

.exp-container #icon1{
    font-size: 2rem;
    padding: 10px;
    color: #000;
    margin-top: 60px;
    margin-left: 20px;
}

.exp-container #icon2{
    font-size: 2rem;
    padding: 10px;
    color: #fff;
    margin-top: 60px;
    margin-left: 20px;
}

.exp-container #icon3{
    font-size: 2rem;
    padding: 10px;
    color: #fff;
    margin-top: 60px;
    margin-left: 20px;
}

.exp-container .btn1{
    font-size: 1rem;
    padding: 10px;
    color: #fff;
    width: 100px;
    background-color:  #000;
    margin: 20px 20px;
    border: 1px solid #fff;
    border-radius: 20px;
    text-decoration: none;
    position: relative;
    top: 20px;
}

.exp-container .btn2{
    font-size: 1rem;
    padding: 10px;
    color: #000;
    background-color:  #fff;
    margin: 20px 20px;
    border: 1px solid #fff;
    border-radius: 20px;
    text-decoration: none;
    position: relative;
    top: 20px;
}

.exp-container .btn3{
    font-size: 1rem;
    padding: 10px;
    color: #fff;
    background-color:  #2d2d2d;
    margin: 20px 20px;
    border: 1px solid #2d2d2d;
    border-radius: 20px;
    text-decoration: none;
    position: relative;
    top: 20px;
}

.progress{
    display: flex;
    margin-top: 80px;
    justify-content: center;
    align-items: center;
    gap: 40px;
    color: #fff;
    font-family: monospace;
}

.progress .col {
  flex: 1 1 150px;      /* flex-grow, flex-shrink, flex-basis */
  max-width: 200px;     /* max width to keep them smaller */
  min-width: 150px;     /* prevent too small */
  box-sizing: border-box;
  padding: 0 10px;
  text-align: center;
}

.col h3{
    font-size: 80px;
    border-bottom: 5px solid #fff;
    margin-bottom: 10px;
}

.col h4{
    font-size: 30px;
    font-weight: 100;
}

@media (max-width: 974px) {
  .experience {
    padding: 40px 16px;
  }

  .what-i-offer {
    left: 0;
    margin: 0 auto 20px;
    width: fit-content;
    font-size: 14px;
  }

  .experience h1 {
    margin-left: 0;
    text-align: center;
    font-size: 2.5rem;
    padding-bottom: 20px;
  }

  .experience .desc {
    margin-right: 0;
    text-align: center;
    padding: 0 16px;
    font-size: 0.9rem;
  }

  .experience .icons {
    justify-content: center;
    margin-right: 0;
    gap: 20px;
    font-size: 36px;
    padding: 10px 0;
  }

  .exp-big-container {
    flex-direction: column;
    gap: 20px;
    margin-left: 0;
    align-items: center;
  }

  .exp-container {
    width: 100%;
    max-width: 320px;
    height: auto;
    padding-bottom: 20px;
  }

  .exp-container h2,
  .exp-container p,
  .exp-container #icon1,
  .exp-container #icon2,
  .exp-container #icon3 {
    margin-left: 0;
    padding-left: 16px;
    padding-right: 16px;
  }

  .exp-container #icon1,
  .exp-container #icon2,
  .exp-container #icon3 {
    font-size: 1.8rem;
    margin-top: 40px;
  }

.exp-container .btn1,
.exp-container .btn2,
.exp-container .btn3 {
  display: block;            /* Make them block elements */
  width: fit-content;       /* Shrink to fit content */
  margin: 20px auto 0;      /* Center horizontally, margin-top 20px */
  position: static;         /* Remove relative positioning */
  top: 0;                  /* Reset offset */
  text-align: center;      /* Center text inside button */
}


  .progress {
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
  }

  .col h3 {
    font-size: 48px;
    border-bottom-width: 3px;
  }

  .col h4 {
    font-size: 20px;
  }
}


/* Contact Section */

.contact {
    background-color: #2d2d2d; 
    padding: 80px 20px;
}

.contact h1 {
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    font-size: 50px;
    font-weight: 100;
    color: #fff;
    margin-bottom: 30px;
}

.contact-container {
    background-color: #000;
    color: #fff;
    width: 70%;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
}

.contact-container form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.contact-container input,
.contact-container textarea {
    background-color: #000;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 10px;
    padding: 10px;
    width: 100%;
    max-width: 600px;
    font-size: 1rem;
}

.contact-container textarea {
    height: 200px;
    resize: vertical;
}

.contact-container button {
    background-color: red;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 20px;
    padding: 10px 20px;
    width: 120px;
    height: 50px;
    margin-top: 20px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
    font-family: Arial, Helvetica, sans-serif;
}

.contact-container button:hover {
    background-color: darkred;
}

.project-in-mind {
    margin: 40px auto 20px;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    color: #fff;
    width: fit-content;
    border: 1px solid #fff;
    border-radius: 15px;
    padding: 10px 20px;
    font-size: 1rem;
}

.contact-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin: 40px auto 0;
    padding: 10px 20px;
    border: 1px solid #fff;
    border-radius: 30px;
    width: fit-content;
    background-color: #111;
}

.contact-icons i {
    color: #BCB8B1;
    font-size: 2rem;
    transition: color 0.3s ease;
}

.contact-icons i:hover {
    color: white;
}

/* Responsive adjustments for Contact Section */
@media (max-width: 768px) {
  .contact {
    padding: 40px 16px;
  }

    .contact p {
    font-size: 0.5rem;
  }


  .contact h1 {
    font-size: 1rem;
    margin-bottom: 20px;
    padding: 0 10px;
  }

  .contact-container {
    width: 90%;
    padding: 30px 20px;
    max-width: none;
    box-shadow: none;
  }

  .contact-container input,
  .contact-container textarea {
    max-width: 100%;
    font-size: 0.9rem;
  }

  .contact-container textarea {
    height: 150px;
  }

  .contact-container button {
    width: 100%;
    max-width: 300px;
    height: 45px;
    font-size: 1rem;
  }

  .project-in-mind {
    width: 90%;
    margin: 20px auto;
    font-size: 0.9rem;
    padding: 8px 16px;
  }

  .contact-icons {
    flex-wrap: wrap;
    gap: 20px;
    padding: 10px;
    width: 90%;
  }

  .contact-icons i {
    font-size: 1.8rem;
  }
}

/* Footer Section Section */

footer{
    background-color: #000;
    color: #fff;
}

.footer-links{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 20px 0;
}

.footer-links a{
    color: #fff;
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
}

.footer-links a:hover{
    color: red;
}

.footer-icons{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding-bottom: 20px;
}

.footer-icons i{
    color: #BCB8B1;
    text-decoration: none; 
    font-size: 2rem;
    padding: 10px;
}

  .footer-icons i:hover{
    transform: scale(1.1) translateY(5px);
    transition: transform 0.2s ease-in-out;
    color: #BE3144;
  }

  hr{
    color: #2d2d2d;
    border-color: #2d2d2d;
    padding: 10px;
  }

 .credits{
    font-family: Arial, Helvetica, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 900px;
    padding: 20px;
  }

  /* Responsive Footer Section */
@media (max-width: 768px) {
  .footer-links {
    flex-wrap: wrap;
    gap: 12px;
    padding: 15px 10px;
    justify-content: center;
  }

  .footer-links a {
    font-size: 0.9rem;
  }

  .footer-icons {
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 15px;
    justify-content: center;
  }

  .footer-icons i {
    font-size: 1.6rem;
    padding: 6px;
  }

  hr {
    margin: 10px 0;
  }

  .credits {
    flex-direction: column;
    gap: 10px;
    padding: 15px 10px;
    font-size: 0.9rem;
  }
}



/*Subtle Animations*/

/* Fade-in for sections */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

section, .big-box, .project-big-box, .exp-big-container {
  animation: fadeIn 1s ease-out forwards;
}

/* Hover effects */
.container:hover, .project-container:hover, .exp-container:hover {
  transform: translateY(-5px);
  transition: transform 0.3s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Pulse animation for CTA buttons */
.home-section a, .all-work-button, .contact button {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Floating hero image */
.home-section img {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

@keyframes slideIn {
  from { transform: translateX(-100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes glow {
  0% { box-shadow: 0 0 5px rgba(221, 85, 85, 0.7); }
  50% { box-shadow: 0 0 20px rgba(221, 85, 85, 0.9); }
  100% { box-shadow: 0 0 5px rgba(221, 85, 85, 0.7); }
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.container,
.project-container,
.exp-container {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.container:hover,
.project-container:hover,
.exp-container:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(255, 0, 0, 0.3);
}

/* Enhanced Animations */
.header a, .footer-links a {
  position: relative;
}

.header a:not(:last-child)::after,
.footer-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: red;
  transition: width 0.3s ease;
}


.header .border:hover{
    color: red ;
    transition: width 0.3s ease ;
}

.header a:hover::after, .footer-links a:hover::after {
  width: 100%;
}

.container i, .exp-container i {
  transition: transform 0.3s ease;
}

.container:hover i, .exp-container:hover i {
  transform: scale(1.2);
  animation: rotate 1s linear 1;
}

.project-container {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.project-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: all 0.6s ease;
}

.project-container:hover::before {
  left: 100%;
}
