@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700;900&display=swap');

*{
    padding: 0;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: #fff;
    background: url('./assets/icons/bg1.jpg') no-repeat center center fixed;
    background-size: cover;
}

::selection {
    background: rgb(6, 156, 237);
}

.hover {
    background-color: rgb(67, 67, 67);
    opacity: 0.3;
}

.mt-20 {
    margin-top: 20px;
}
.mt-40 {
    margin-top: 40px;
}
.mt-60 {
    margin-top: 60px;
}
.mt-80 {
    margin-top: 80px;
}

/* section hero */
.section-hero {
    margin-top: 25vh;
    margin-left: 10%;
    width: 150%;
    
}
.section-hero h1 {
    font-size:4.5rem;
    font-weight: 1000;
    position: relative;
    transition: 200ms all;
}

/* Typing Animation */
.hero-skill-heading {
  font-size: 5rem;
  font-weight: 1000;
  color: #00eaff;
  display: inline-block;
}

.typed-text {
  color: #00eaff;
  font-weight: 1000;
}

.cursor {
  display: inline-block;
  width: 5px;
  background-color:darkblue;
  margin-left: 5px;
  animation: blink 0.7s infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.t-gradient1 {
    background: linear-gradient(90deg,#2908a1 30%,#1a55f8 60%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.t-gradient2 {
    background: linear-gradient(90deg,#f4d01d 0%,#f71381 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.t-gradient3 {
    background: linear-gradient(90deg,#3617ff 10%,#0b9e0b 60%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
/* section hero */

/* section: technologies */
.section-technologies {
    margin-top: 250px;
    text-align: center;
}

.section-headings {
    margin-bottom: 50px;
}

.section-headings h1 {
    text-transform: uppercase;
    font-size: 5.5rem;
    font-weight: 900;
    text-align: center;
}

.heading-stroke-only {
    color: transparent;
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: #000;
    text-align: center;
}

.row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px;
    flex-wrap: wrap;
}

.column {
    flex: 50%;
}
.tech-icon-img {
    height: 75px;
}

/* section: portfolio */
.section-portfolio {
    margin-top: 250px;
    text-align: center;
}
.link-more {
    text-decoration: none;
    color: #000;
    font-size: 3rem;
    font-weight: 900;
    position: relative;
    transition: 200ms;
}
.link-more::after {
    content: attr(data-text);
    position: absolute;
    font-size: 6rem;
    color: transparent;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #000;
    opacity: 0.1;
    z-index: -1;
    left: -50%;
    top: -50%;
}
.link-more:hover::after {
    content: attr(data-text);
    position: absolute;
    font-size: 6rem;
    color: #000;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #000;
    opacity: 0.1;
    z-index: -1;
    left: -50%;
    top: -50%;
}
.section-portfolio-grid {
    margin-top: 40px;
    margin-bottom: 80px;
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 0 80px;
}
.portfolio-card {
    text-decoration: none;
    background:#fff;
    width: 310px;
    border-radius: 40px;
    padding: 20px;
    transition: 200ms;
}
.portfolio-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    border-radius: 20px;
    margin-bottom: 20px;
    transition: 200ms;
}
.portfolio-card .portfolio-card-details  h4 {
    color: #fff;
    font-weight: 400;
}

/* section: footer */
.footer {
    padding: 40px 60px;
    text-align: center;
    color: #d8d8d8;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.footer p {
    font-size: 1rem;
    opacity: 0.5;

}
.footer .footer-logo {
    width: 40px;
    opacity: 0.5;
}
.footer .social-links {
    display: flex;
    align-items: center;
    gap: 20px;
}
.footer .social-link {
    text-decoration: none;
    color: #fff;
    outline: none;
}
.footer .social-link svg {
    fill: #fff;
    width: 24px;
    height: 24px;
}
/* section: footer */


/* section: navbar */
.navbar {
    position: fixed;
    top: 0;
    margin-left: 20px;
    margin-right: 20px;
    width:100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 50px;
}

.navbar-logo {
    width: 50px;
}
/* .nav-links {

} */
.nav-link {
    margin-left: 20px;
    margin-right: 20px;
    color: #000;
    text-decoration: none;
    text-transform: uppercase;
    text-decoration:double;
    text-shadow: black;
    transition: 200ms;
}
.nav-link:hover {
    color: #fff;
    text-shadow: white;
}
.navbar .nav-link-btn {
    background: none;
    border: none;
    display: none;
}
.navbar .nav-link-btn img {
    width: 24px;
}
/* section: navbar */


/* full screen navigation */
.nav-full-screen {
    width: 100%;
    height: 100%;
    overflow: scroll;
    position: fixed;
    background: #000;
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    z-index: 99;
    display: none;
}
.nav-full-screen .nav-link {
    font-size: 4rem;
    font-weight: 700;
    text-transform: uppercase;
    display: block;
    margin-top: 40px;
    margin-left: 100px;
}
.nav-link-active {
    color: #fff !important;
    position: relative;
}
.nav-fullscreen-open {
    animation: nav-fullscreen-slide-down .5s ease-out;
    display: block;
}
.nav-full-screen .close {
    position: absolute;
    right: 20px;
    top: 20px;
    background: transparent;
    outline: none;
    border: none;
}
@keyframes nav-fullscreen-slide-down {
    from {
        top:-100vh;
        left: 0;
    }
    to {
        top:0;
        left: 0;
    }
}

.nav-full-screen .social-links {
    margin-top: 50px;
    margin-left: 100px;
    display: flex;
    align-items: center;
    gap: 20px;
}
.nav-full-screen .social-link {
    text-decoration: none;
    color: #fff;
    outline: none;
}
.nav-full-screen .social-link svg {
    fill: #fff;
    width: 24px;
    height: 24px;
}
/* full screen navigation */

/* section: about */
.section-about {
    margin-top: 200px;
    text-align: center;
    margin-bottom: 100px;
    color: black;
}
.section-about-details {
    display: flex;
    /* padding: 0px 90px; */
    align-items:center;
}
.section-about-image img {
    width: 400px;
    opacity: .5;
}
.section-about-texts {
    text-align: justify;
    width: 60%;
    margin:auto;
}
.section-about-texts p {
    line-height: 2rem;
    font-size: 1rem;
    text-align: justify;
    color: #fff;
    margin:auto;
}
/* section: about */
.Resume{
  background-color: white; 
  font-weight: bolder;
  color: black; 
  border: 2px solid white; 
  padding: 10px 25px; 
  border-radius: 8px; 
  cursor: pointer; 
  transition: 0.3s; 
  margin: 2% auto; 
  font-family: 'Inter' sans-serif; 
  font-size: 0.8rem;
  display: block; 
  width: 30%;
  
}

button:hover {
    color: white;
    border: 2px solid rgb(19, 182, 236);
}
button:hover a {
    color: white;
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}

.social-links a {
    margin: 0 15px;
}

.social-icon {
    width: 50px;
    filter: invert(100%);
    transition: transform 0.3s ease;
}

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


/* Qualifications & Expertise Section */
.section-qualifications {
  padding: 80px 10%;
  color:white;
  box-shadow: 0px 0px 20px lightblue;
}

.qualifications-box, .skills-box {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 12px;
  transition: 0.3s ease-in-out;
  margin-bottom: 50px;
  box-shadow: 0px 0px 20px lightblue;
}

.qualifications-box:hover, .skills-box:hover {
  box-shadow: 0px 0px 20px lightblue;
}

.subheading {
  font-size: 24px;
  color: black;
  margin-bottom: 20px;
  text-transform: uppercase;
}

/* Qualification Details */
.qualification {
  display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.qualification h3 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 5px;
}

.qualification p {
  font-size: 16px;
  color:black;
  margin: 5px 0;
}

.qualification-logos {
  display: flex;
  gap: 10px;
}

.qualification-logos img {
  width: 150px;
  height: 100px;
}

/* Skills Grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.skill-category {
  background: rgba(255, 255, 255, 0.1);
  padding: 15px;
  border-radius: 8px;
  transition: 0.3s ease-in-out;
}

.skill-category:hover {
  background: rgba(255, 255, 255, 0.2);
}

.skill-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.skill-header img {
  width: 50px;
  height: 50px;
}

.skill-header h3 {
  font-size: 18px;
  color: black;
  margin-bottom: 10px;
}

.skill-category ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.skill-category ul li {
  font-size: 16px;
  color: white;
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.skill-category ul li:last-child {
  border-bottom: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .qualification {
      flex-direction: column;
      align-items: flex-start;
  }
  
  .qualification-logos {
      margin-top: 10px;
  }

  .skills-grid {
      grid-template-columns: 1fr;
  }
}

/* Technologies Section */
.section-technologies {
  padding: 80px 10%;
  color: white;
}

/* Category Headings */
.tech-category {
  margin-bottom: 40px;
}

.tech-category h2 {
  font-size: 24px;
  color: black;
  margin-bottom: 40px;
  text-transform: uppercase;
  text-align: center;
}

/* Tech Grid */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  justify-items: center;
}

/* Individual Tech Item */
.tech-item {
  text-align: center;
  transition: 0.3s ease-in-out;
  width: 130px;
}

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

/* Tech Logos */
.tech-item img {
  width: 60px;
  height: 60px;
  margin-bottom: 10px;
  transition: 0.3s ease-in-out;
}

.tech-item img:hover {
  transform: scale(1.1);
}

/* Tech Names */
.tech-item span {
  font-size: 16px;
  color: white;
  display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
  .tech-grid {
      grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }
}

/* Projects & Experience Section */
.section-portfolio {
  padding: 80px 10%;
  color: white;
  margin-bottom: 20%;
}

/* Portfolio Grid */
.section-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

/* Individual Project Cards */
.portfolio-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  transition: 0.3s ease-in-out;
}

.portfolio-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
  box-shadow: white;
}

.portfolio-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

.portfolio-card-details h4 {
  font-size: 20px;
  color: white;
}

.portfolio-card-details p {
  font-size: 15px;
  color: black;
}

/* Achievements & Publications Section */
.section-achievements {
  padding: 80px 10%;
  color: white;
}

/* Category Headings */
.achievements-category {
  margin-bottom: 50px;
}

.achievements-category h2 {
  font-size: 24px;
  color: black;
  margin-bottom: 20px;
  text-transform: uppercase;
  text-align: center;
}

/* Achievements Grid */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 50px;
  justify-items: center;
}

/* Individual Achievement Card */
.achievement-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 15px;
  border-radius: 10px;
  text-align: left;
  transition: 0.3s ease-in-out;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  width: 100%;
  max-width: 500px;
}

.achievement-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}

/* Logos */
.achievement-card img {
  width: 120px;
  height: 100px;
  margin-right: 15px;
  border-radius: 8px;
}

/* Titles */
.achievement-text h3 {
  font-size: 18px;
  margin-bottom: 5px;
  color: #fff;
}

/* Descriptions */
.achievement-text p {
  font-size: 14px;
  color: black;
}

/* Responsive */
@media (max-width: 768px) {
  .achievements-grid {
      grid-template-columns: 1fr;
  }
}

/* Contact Section */
.section-contact {
  padding: 60px 10%;
  color: white;
  text-align: center;
}

/* Contact Links - Aligned in One Row */
.section-contact-links {
  display: flex;
  justify-content: center;
  gap: 40px; /* Equal spacing between items */
  margin-top: 20px;
  flex-wrap: wrap; /* Ensures responsiveness on smaller screens */
}

/* Individual Contact Items */
.contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  color: white;
  text-decoration: none;
  transition: 0.3s ease-in-out;
  padding: 10px 15px;
}

.contact-link:hover {
  color: #000;
  transform: scale(1.05);
}

/* Icons */
.contact-link img {
  width: 30px;
  height: 30px;
  transition: 0.3s ease-in-out;
}

.contact-link:hover img {
  transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .section-contact-links {
      gap: 20px;
  }

  .contact-link {
      font-size: 16px;
  }
}

@media (max-width: 768px) {
  .section-contact-links {
      flex-direction: column;
      align-items: center;
      gap: 15px;
  }

  .contact-link {
      font-size: 16px;
  }
}


/* Responsive adjustments */
@media (max-width: 600px) {
    .social-icon {
        width: 40px;
    }

    .social-links a {
        margin: 0 10px;
    }
}

@media (max-width: 400px) {
    .social-icon {
        width: 35px;
    }

    .social-links a {
        margin: 0 5px;
    }
}

/* Experience Section */
.section-experience {
  padding: 80px 10%;
  color: white;
}

/* Experience Container */
.experience-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Experience Cards */
.experience-card {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0px 0px 15px rgba(0, 255, 255, 0.2);
  transition: 0.3s ease-in-out;
}

.experience-card:hover {
  box-shadow: 0px 0px 20px rgba(0, 255, 255, 0.5);
  transform: scale(1.02);
}

/* Experience Logo */
.experience-logo {
  width: 200px;
  height: 100px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 10px;
  margin-right: 20px;
}

.experience-logo img {
  width: 100%;
  height: auto;
  max-height: 60px;
  object-fit: contain;
}

/* Experience Details */
.experience-details h4 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 5px;
}

.experience-details p {
  font-size: 16px;
  color: #000;
  margin: 5px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .experience-card {
      flex-direction: column;
      text-align: center;
      padding: 15px;
  }

  .experience-logo {
      margin-bottom: 15px;
  }

  .experience-logo img {
      max-height: 50px;
  }
}


.macbook {
    position: relative;
    width: 228px;
    height: 260px;
    transform-style: preserve-3d; /* Preserve 3D transformations */
    transition: transform 0.1s ease, translate 2s ease-in-out; /* Smooth transition on rotation and movement */
}

/* To animate the laptop moving in the Y direction */
@keyframes moveY {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0);
    }
}

.loader {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    margin-top: 35vh;
    animation: moveY 5s infinite ease-in-out; /* Infinite loop for smooth Y direction movement */
}
  .macbook__topBord {
    position: absolute;
    z-index: 0;
    top: 34px;
    left: 0;
    width: 128px;
    height: 116px;
    border-radius: 6px;
    transform-origin: center;
    background: linear-gradient(-135deg, #c8c9c9 52%, #8c8c8c 56%);
    transform: scale(0) skewY(-30deg);
    animation: topbord 0.4s 1.7s ease-out;
    animation-fill-mode: forwards;
    box-shadow: 0 0 15px 5px rgba(255, 255, 255, 0.6); /* White glow effect */
  }
  .macbook__topBord::before {
    content: "";
    position: absolute;
    z-index: 2;
    top: 8px;
    left: 6px;
    width: 100%;
    height: 100%;
    border-radius: 6px;
    background: #000;
  }
  .macbook__topBord::after {
    content: "";
    position: absolute;
    z-index: 1;
    bottom: -7px;
    left: 8px;
    width: 168px;
    height: 12px;
    transform-origin: left bottom;
    transform: rotate(-42deg) skew(-4deg);
    background: linear-gradient(-135deg, #c8c9c9 52%, #8c8c8c 56%);
  }
  .macbook__display {
    position: absolute;
    z-index: 10;
    top: 17px;
    left: 12px;
    z-index: 2;
    width: calc(100% - 12px);
    height: calc(100% - 18px);
    background: linear-gradient(45deg, #3ba9ff, #c82aff);
  }
  .macbook__display::before {
    content: "";
    position: absolute;
    z-index: 5;
    top: -9px;
    left: -6px;
    width: calc(100% + 12px);
    height: calc(100% + 18px);
    border-radius: 6px;
    background: linear-gradient(
      60deg,
      rgba(255, 255, 255, 0) 60%,
      rgba(255, 255, 255, 0.3) 60%
    );
  }
  .macbook__load {
    position: relative;
    width: 100%;
    height: 100%;
    background: #222;
    animation: display 0.4s 4.3s ease;
    opacity: 1;
    animation-fill-mode: forwards;
  }
  .macbook__load:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 80px;
    height: 6px;
    border-radius: 3px;
    box-sizing: border-box;
    border: solid 1px #fff;
  }
  .macbook__load:after {
    content: "";
    position: absolute;
    top: 0;
    left: 18px;
    bottom: 0;
    margin: auto;
    width: 0;
    height: 6px;
    border-radius: 3px;
    background: #fff;
    animation: load 2s 2s ease-out;
    animation-fill-mode: forwards;
  }
  .macbook__underBord {
    box-shadow: 0 0 15px 5px rgba(255, 255, 255, 0.6); /* White glow effect */
    position: relative;
    left: 42px;
    bottom: -145px;
    width: 150px;
    height: 90px;
    border-radius: 6px;
    transform-origin: center;
    transform: rotate(-30deg) skew(30deg);
    background: linear-gradient(-45deg, #c8c9c9 61%, #8c8c8c 66%);
    animation: modal 0.5s 1s ease-out;
    opacity: 0;
    animation-fill-mode: forwards;
  }
  .macbook__underBord::before {
    content: "";
    position: absolute;
    z-index: 3;
    top: -8px;
    left: 8px;
    width: 100%;
    height: 100%;
    border-radius: 6px;
    background: #dcdede;
  }
  .macbook__underBord::after {
    content: "";
    position: absolute;
    z-index: 2;
    top: -8px;
    left: 12px;
    width: 170px;
    height: 15px;
    transform-origin: top left;
    background: linear-gradient(-45deg, #c8c9c9 61%, #8c8c8c 66%);
    transform: rotate(31deg) skew(-16deg);
  }
  .macbook__keybord {
    box-shadow: 0 0 15px 5px rgba(255, 255, 255, 0.6); /* White glow effect */
    position: relative;
    top: 0;
    left: 16px;
    z-index: 3;
    border-radius: 3px;
    width: calc(100% - 16px);
    height: 45px;
    background: #c8c9c9;
  }
  .macbook__keybord::before {
    content: "";
    position: absolute;
    bottom: -30px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 40px;
    height: 25px;
    border-radius: 3px;
    background: #c8c9c9;
  }
  .keybord {
    position: relative;
    top: 2px;
    left: 2px;
    display: flex;
    flex-direction: column;
    width: calc(100% - 3px);
    height: calc(100% - 4px);
  }
  .keybord__touchbar {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #000;
  }
  .keybord__keyBox {
    display: grid;
    grid-template-rows: 3fr 1fr;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    width: 100%;
    height: 24px;
    margin: 1px 0 0 0;
    padding: 0 0 0 1px;
    box-sizing: border-box;
    list-style: none;
  }
  .keybord__key {
    position: relative;
    width: 8px;
    height: 7px;
    margin: 1px;
    background: #000;
  }
  .keybord__keyBox .keybord__key {
    transform: translate(60px, -60px);
    animation: key 0.2s 1.4s ease-out;
    animation-fill-mode: forwards;
    opacity: 0;
  }
  .keybord__keyBox .keybord__key::before,
  .keybord__keyBox .keybord__key::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
  }
  .keybord__key::before {
    top: 8px;
    transform: translate(20px, -20px);
    animation: key1 0.2s 1.5s ease-out;
    animation-fill-mode: forwards;
  }
  .keybord__key::after {
    top: 16px;
    transform: translate(40px, -40px);
    animation: key2 0.2s 1.6s ease-out;
    animation-fill-mode: forwards;
  }
  .keybord__keyBox .key--12::before {
    width: 10px;
  }
  .keybord__keyBox .key--13::before {
    height: 10px;
  }
  .key--01 {
    grid-row: 1 / 2;
    grid-column: 1 / 2;
  }
  .key--02 {
    grid-row: 1 / 2;
    grid-column: 2 / 3;
  }
  .key--03 {
    grid-row: 1 / 2;
    grid-column: 3 / 4;
  }
  .key--04 {
    grid-row: 1 / 2;
    grid-column: 4 / 5;
  }
  .key--05 {
    grid-row: 1 / 2;
    grid-column: 5 / 6;
  }
  .key--06 {
    grid-row: 1 / 2;
    grid-column: 6 / 7;
  }
  .key--07 {
    grid-row: 1 / 2;
    grid-column: 7 / 8;
  }
  .key--08 {
    grid-row: 1 / 2;
    grid-column: 8 / 9;
  }
  .key--09 {
    grid-row: 1 / 2;
    grid-column: 9 / 10;
  }
  .key--10 {
    grid-row: 1 / 2;
    grid-column: 10 / 11;
  }
  .key--11 {
    grid-row: 1 / 2;
    grid-column: 11 / 12;
  }
  .key--12 {
    grid-row: 1 / 2;
    grid-column: 12 / 13;
  }
  .key--13 {
    grid-row: 1 / 2;
    grid-column: 13 / 14;
  }
  .keybord__keyBox--under {
    margin: 0;
    padding: 0 0 0 1px;
    box-sizing: border-box;
    list-style: none;
    display: flex;
  }
  .keybord__keyBox--under .keybord__key {
    transform: translate(80px, -80px);
    animation: key3 0.3s 1.6s linear;
    animation-fill-mode: forwards;
    opacity: 0;
  }
  .key--19 {
    width: 28px;
  }
  @keyframes topbord {
    0% {
      transform: scale(0) skewY(-30deg);
    }
    30% {
      transform: scale(1.1) skewY(-30deg);
    }
    45% {
      transform: scale(0.9) skewY(-30deg);
    }
    60% {
      transform: scale(1.05) skewY(-30deg);
    }
    75% {
      transform: scale(0.95) skewY(-30deg);
    }
    90% {
      transform: scale(1.02) skewY(-30deg);
    }
    100% {
      transform: scale(1) skewY(-30deg);
    }
  }
  @keyframes display {
    0% {
      opacity: 1;
    }
    100% {
      opacity: 0;
    }
  }
  
  @keyframes load {
    0% {
      width: 0;
    }
    20% {
      width: 40px;
    }
    30% {
      width: 40px;
    }
    60% {
      width: 60px;
    }
    90% {
      width: 60px;
    }
    100% {
      width: 80px;
    }
  }
  
  @keyframes modal {
    0% {
      transform: scale(0) rotate(-30deg) skew(30deg);
      opacity: 0;
    }
    30% {
      transform: scale(1.1) rotate(-30deg) skew(30deg);
      opacity: 1;
    }
    45% {
      transform: scale(0.9) rotate(-30deg) skew(30deg);
      opacity: 1;
    }
    60% {
      transform: scale(1.05) rotate(-30deg) skew(30deg);
      opacity: 1;
    }
    75% {
      transform: scale(0.95) rotate(-30deg) skew(30deg);
      opacity: 1;
    }
    90% {
      transform: scale(1.02) rotate(-30deg) skew(30deg);
      opacity: 1;
    }
    100% {
      transform: scale(1) rotate(-30deg) skew(30deg);
      opacity: 1;
    }
  }
  
  @keyframes key {
    0% {
      transform: translate(60px, -60px);
      opacity: 0;
    }
    100% {
      transform: translate(0px, 0px);
      opacity: 1;
    }
  }
  @keyframes key1 {
    0% {
      transform: translate(20px, -20px);
      opacity: 0;
    }
    100% {
      transform: translate(0px, 0px);
      opacity: 1;
    }
  }
  @keyframes key2 {
    0% {
      transform: translate(40px, -40px);
      opacity: 0;
    }
    100% {
      transform: translate(0px, 0px);
      opacity: 1;
    }
  }
  @keyframes key3 {
    0% {
      transform: translate(80px, -80px);
      opacity: 0;
    }
    100% {
      transform: translate(0px, 0px);
      opacity: 1;
    }
  }

.animation{
    display: flex;
    align-items: center;
}


/* desktop */
@media screen and (min-width: 768px) {
  .section-hero .hero-skill-heading:hover::after {
      content: attr(data-text);
      position: absolute;
      font-size: 12rem;
      color: transparent;
      -webkit-text-stroke-width: 2px;
      -webkit-text-stroke-color: #000;
      opacity: 0.1;
      z-index: -1;
      left: -3rem;
      top: -3rem;
  }
  .portfolio-card:hover img {
      transition: 200ms;
      transform: scale(1.2) rotate(-10deg) ;
      filter: drop-shadow(4px 4px 40px rgba(255,255,255, 0.3));
  }
}


/* mobile, tablet */
@media screen and (max-width: 768px) {
  * {
      cursor: default;
  }
  .cursor {display: none;}
  .cursor2 {display: none;}

  /* show nav open icon */
  .nav-links {
      display: none;
  }
  .navbar .nav-link-btn {
      display: block;
  }

  .section-hero {
    width: 70%; /* Increased width to fit better on mobile */
    margin: auto;
    margin-top: 15vh; /* Reduced margin for smaller screens */
}

.loader {
    margin-top: 10vh;
    height: 20vh;
    width: 40vb; /* Adjust the height to auto for better scaling */
}

.animation {
    flex-direction: column; /* Stack the elements vertically on small screens */
}

  .section-hero h1 {
      font-size: 3rem;
  }
  /* section hero */
  
  /* section: technologies */
  .section-technologies {
      margin-top: 200px;
      text-align: center;
  }
.section-about-texts{
width: 80%;
}

.Resume {
  width: 50%;
  padding: 8px 15px;
  margin: auto;
  margin-top: 15px;
  font-family: 'Inter' sans-serif;
}
  
  .section-headings h1 {
      font-size: 2rem;
  }

  .row {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 40px;
      flex-wrap: wrap;
  }
  
  .column {
      flex: 50%;
  }
  .tech-icon-img {
      width: 85px;
      height: 55px;
      object-fit: contain;
  }
  /* section: technologies */
  
  
  
  /* section: portfolio */
  .section-portfolio {
      margin-top: 200px;
      text-align: center;
  }
  .link-more {
      font-size: 2rem;
  }
  .link-more::after {
      font-size: 4rem;
      color: transparent;
      -webkit-text-stroke-width: 1px;
      -webkit-text-stroke-color: #fff;
      opacity: 0.2;
  }
  .link-more:hover::after {
      font-size: 4rem;
      color: #fff;
      opacity: 0.2;   
  }
  .section-portfolio-grid {
      display: flex;
      flex-direction: column;
      gap: 40px;
      flex-wrap: wrap;
      padding: 0 20px;
  }
  .portfolio-card {
      width: 100%;
      padding: 20px 0;
  }
  /* section: portfolio */
  
  
  /* section: contact */
  .contact-link {
      font-size: 1.5rem;
      margin: 40px 0;
      display: flex;
      align-items: center;
      justify-content: center;
  }
  /* section: contact */
  
  
  /* section: footer */
  .footer {
      margin-top: 80px;
      padding: 40px 60px;
      text-align: center;
      flex-direction: column;
      gap: 20px;
      justify-content: flex-start;
      align-items: center;
  }
  /* section: footer */
  
  
  /* section: navbar */
  .navbar {
      padding: 30px 30px;
  }
  /* section: navbar */
  

  /* full screen navigation */
  .nav-full-screen .nav-link {
      font-size: 2rem;
      display: block;
      margin-top: 30px;
      margin-left: 20px;
  }
  .nav-full-screen .social-links {
      margin-top: 30px;
      margin-left: 20px;
  }
  /* full screen navigation */


  /* section: about */
  .section-about-details {
      flex-direction: column;
  }
  .section-about-image img {
      width: 300px;
  }
  .section-about-image {
      margin-top: 40px;
      margin-bottom: 40px;
  }
  /* section: about */
}

/* About Section Layout */
.about-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%; /* Add horizontal padding */
}

/* Media Container (Photo / Video) */
.about-media {
  flex: 1;
  max-width: 400px;
  padding-left: 20px; /* Prevents it from hugging the edge */
  text-align: center;
}

.about-photo {
  width: 100%;
  max-width: 350px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
  transition: 0.3s ease-in-out;
}

.resume-video {
  width: 100%;
  max-width: 400px;
  height: 250px; 
  border-radius: 12px;
  border: 2px solid #ffffff;
  display: none;
}

/* Play Button */
.play-btn {
  margin-top: 15px;
  background-color: #ffffff;
  border: 2px solid #ffffff;
  padding: 10px 15px;
  color: #0a0a0a;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s, color 0.3s;
  width: 40%;
}

.play-btn:hover {
  background-color: #ffffff;
  color: #0a0a0a;
}

/* Responsive Layout */
@media (max-width: 768px) {
  .about-flex {
      flex-direction: column;
      align-items: center;
      padding: 0 20px;
  }

  .about-media,
  .section-about-texts {
      width: 100%;
      padding: 0;
  }

  .resume-video {
      height: 220px;
  }
}
