@import url("https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@100;400&display=swap");

@import url('https://fonts.googleapis.com/css2?family=Catamaran:wght@800&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Sevillana&display=swap');

/* Font display optimization to prevent CLS */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-display: swap;
}

@font-face {
  font-family: 'Catamaran';
  font-display: swap;
}

@font-face {
  font-family: 'Sevillana';
  font-display: swap;
}






* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Be Vietnam Pro", sans-serif;
  color: white;
  scroll-behavior: smooth;
  /* CSS containment for better performance */
  contain: layout style;
  /* user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-user-drag: none; */
}

:root {
  --bgOrange: #e84949;
}

.wrapper {
  width: 100%;
  height: 100vh;
  background-color: black;
  position: relative;

  /* width: 100vw; dont do this*/
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.outerSectionDiv {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

















/* ===============================custom scrollbar ===================================*/
::-webkit-scrollbar {
  width: 11px;
}

::-webkit-scrollbar-track {
  background: #19191911;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(#00000000, #79006be8);
  border-radius: 10px;
}

/* ------------------custom scrollbar -------------------------------------*/



















.navbar {
  display: flex;
  width: 100%;
  max-width: 1500px;
  padding-left: 20px;
  padding-right: 20px;
  /* max-width: 1300px; */
  left: 50%;
  /* to center horizontally */
  transform: translate(-50%, 0%);
  /* to center horizontally */
  justify-content: space-between;
  align-items: center;
  /* padding-top: 1rem; */
  height: 50px;
  background-color: rgba(0, 0, 0, 0.134);
  /* background-color: rgb(0, 0, 0); */
  backdrop-filter: blur(10px);
  z-index: 10;
  position: fixed;
}


.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.5s;
}


.logo {
  width: 28px;
  margin: 0 0.7rem;
  border-radius: 100px;
  filter: drop-shadow(0px 0px 12px #e8ab03);
}

.logo-text {
  /* margin-left: -1.2rem; */
  /* font-size: 28px; */
  color: rgba(243, 244, 238, 0.707);
}

.logo-text:hover {
  color: rgba(246, 230, 230, 0.858);
}

.nav-items {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  gap: 1.5rem;
  /* position: relative; */
  background-color: rgba(0, 0, 0, 0.178);
  border: 1px solid rgba(0, 0, 0, 0.375);
  backdrop-filter: blur(11px);
  height: 35px;
  width: 600px;
  /* padding: 5px; */
  align-items: center;
  border-radius: 16px;
  padding: 0 1.5rem 0 3.4rem;
  flex-wrap: nowrap;
}

.nav-item {
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-item a {
  cursor: pointer;
  position: relative;
  /* width: 30px; */
  /* background-color: #544aec; */
  font-size: 1rem;
  color: rgba(241, 242, 238, 0.677);
  /* font-weight: 400; */
  white-space: nowrap;
}

a {
  text-decoration: none;
}

.nav-item a:hover {
  /* transition: 0.3s;  */
  /* letter-spacing: 1px; */
  color: rgba(246, 230, 230, 0.858);
}

.nav-links {
  display: flex;
  justify-content: center;
  margin-right: 1rem;
  gap: 1.5rem;
}

.nav-icon {
  cursor: pointer;
  color: rgba(255, 255, 255, 0.819);
  font-size: 17px;
  transition: 0.3s;
}

.nav-icon:hover {
  color: rgb(255, 255, 255);
  transform: scale(0.9);
  filter: drop-shadow(0px 0px 7px #ffffff);
}

.nav-icon:active {
  transform: scale(0.8);
}

/* Platform-specific hover colors - subtle */
.nav-icon.fa-envelope:hover {
  color: #ea4335;
  filter: drop-shadow(0px 0px 7px #ea4335);
}

.nav-icon.fa-linkedin:hover {
  color: #0077b5;
  filter: drop-shadow(0px 0px 7px #0077b5);
}

.nav-icon.fa-instagram:hover {
  color: #e4405f;
  filter: drop-shadow(0px 0px 7px #e4405f);
}

.nav-icon.fa-facebook:hover {
  color: #1877f2;
  filter: drop-shadow(0px 0px 7px #1877f2);
}

.nav-icon.fa-weixin:hover {
  color: #25d366;
  filter: drop-shadow(0px 0px 7px #25d366);
}

.hamburger-icon {
  display: none;
}

@media (max-width:900px) {
  .nav-items {
    display: none;
  }

  .navbar {
    padding: 1rem 0.5rem;
  }

  .hamburger-icon {
    display: block;
  }
}

/*===============================Header End =================================*/


























/*================================== Hero Section Start==========================================  */

.hero {
  /* top: 0%; */
  position: relative;
  padding: 12rem 3rem;
}

.hero-section {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  position: relative;
  flex-direction: row;
  /* padding-top: 12rem; */
  /* gap: 5rem; */
  /* margin: 4rem auto; */
  /* padding: 0 1rem; */
  /* padding-bottom: 4rem; */
}

.space video {
  /* position: absolute; */
  /* z-index: -11; */
  /* filter:opacity(85%); */
  /* width: 100%; */
  /* transform:rotate(180deg); */
  /* transform: scale(1.5); */
  /* transform: translateY(-321px) rotate(180deg); */
  position: absolute;
  width: 100%;
  /* top: -22%; */
  top: 50%;
  left: 50%;
  filter: opacity(80%);
  filter: contrast(115%);
  transform: translate(-50%, -82%) scale(0.7);
  z-index: 0;
  opacity: 80%;
}


.faded-text {
  user-select: none;
  font-size: 6.5em;
  color: rgb(11, 11, 11);
  /* color:gb(18, 18, 18); */
  bottom: -3.4%;
  left: -5.5%;
  font-weight: bold;
  /* transition: all 3s; */
}

.hero-section-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
  z-index: 1;
}

.hero-section-heading {
  /* -webkit-text-stroke: 1px var(#37FF8B); */
  font-size: 35px;
  color: #700343;
  line-height: 30px;
}

.role {
  /* color: #4e45d5; */
  /* background-image: linear-gradient();
   */
  /* background: -webkit-linear-gradient(#eee, #333); */
  background: linear-gradient(43deg, rgb(65, 88, 208) 0%, rgb(200, 80, 192) 46%, rgb(255, 204, 112) 100%);

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  
  /* Reserve space for typing animation to prevent CLS */
  min-height: 1.2em;
  min-width: 300px;
  display: inline-block;
  vertical-align: top;
}

.absolute {
  position: absolute;
}

.hero-section-sub-heading {
  font-size: 45px;
  line-height: 40px;
}

.hero-section-description {
  font-size: 1rem;
  margin-top: 2rem;
  width: 70%;
  font-weight: 500;
  opacity: 75%;
}



/* ----------------------aayush button starts-------------------*/

.btn {
  background-color: #110101;
  border-color: rgb(238, 181, 245);
  border-width: 2px;
  border-style: solid;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  color: #eacaf7d3;
  /* width: 180px; */
  /* margin-top: 1rem; */
  min-width: 180px;
  max-width: 250px;
  padding: 1rem 2.5rem;
  border-radius: 30px;
  font-family: gillroy, Verdana, Geneva, Tahoma, sans-serif;
  font-weight: 700;
  box-shadow: 0px 0px 140px 80px rgba(236, 17, 17, 0.256);
  position: relative;
  cursor: pointer;
  z-index: 1;
  letter-spacing: 1px;
  margin-top: 1.5rem;
}

.btn:hover {
  /* transition: 0.4s 0.5s; */
  transition: 0.5s;
  scale: 1.0;
  letter-spacing: 2px;
  background-color: rgba(0, 0, 0, 0.574);
  /* border-color: rgb(241, 193, 247);
  color: #ffffffef; */
}

.btn::before {
  content: "";
  position: absolute;
  /* top: 0;
  left: 0;
  right: 0;
  bottom: 0;   OR*/
  height: 100%;
  width: 100%;
  /* transform: scaleY(0.14); */
  transform: translate(0%, 82%);
  transform-origin: bottom;
  /* transition: 0.3s ease; */
  transition: 0.5s cubic-bezier(0.23, 1, 0.320, 1);
  /* border-radius: 80px; */
  z-index: -1;
  background-image: linear-gradient(135deg, #7b4397, #dc2430);
  /* border-radius: inherit; */
}

.btn:hover::before {
  /* transform: scaleY(1); */
  transform: translate(0%, 0%);
}

.btn:active {
  transform: scale(0.9) rotate(3deg);
  /* background: radial-gradient( circle farthest-corner at 10% 20%,  rgba(255,94,247,1) 17.8%, rgba(2,245,255,1) 100.2% ); */
  transition: 0.3s;
  letter-spacing: 1px;
  box-shadow: 0px 0px 0px 0px rgba(236, 17, 17, 0.256);
}

/* aayush button ends*/









































.hero-section-right {
  position: relative;
  /* margin-right: 5rem; */
  /* padding-right: 5rem; */
}


.myCard {
  background-color: transparent;
  /* width: 190px;
  height: 254px; */
  height: 23rem;
  width: 16rem;
  perspective: 1000px;
  animation: float 6s ease-in-out infinite;
}

.title {
  font-size: 1.2em;
  font-weight: 900;
  text-align: center;
  margin: 0;
  line-height: 1.2;
  letter-spacing: 1px;
}

.subtitle {
  font-size: 1em;
  font-weight: 600;
  text-align: center;
  margin: 0;
  margin-top: 8px;
  opacity: 0.9;
  letter-spacing: 0.5px;
}

.card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
}

.innerCard {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 1.5s;
  transform-style: preserve-3d;
  cursor: pointer;
}

.myCard:hover .innerCard {
  transform: rotateY(180deg);
  /* transform: rotateY(180deg) rotateZ(180deg); */
}

.frontSide,
.backSide {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 1rem;
  color: white;
  box-shadow: 0 0 0.3em rgba(255, 255, 255, 0.5);
  font-weight: 700;
  overflow: hidden;
  padding: 20px;
  box-sizing: border-box;
}


.frontSide,
.frontSide::before {
  background-image: url("../assets/images/profile_background_optimized.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 1em;
  /* Reserve space to prevent CLS */
  min-height: 400px;
  aspect-ratio: 1 / 1;
  /* background: linear-gradient(43deg, rgb(65, 88, 208) 0%, rgb(200, 80, 192) 46%, rgb(255, 204, 112) 100%); */
}

.profile-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 2;
  position: relative;
}

.backSide,
.backSide::before {
  /* background-image: linear-gradient(43deg, rgb(65, 88, 208) 0%, rgb(200, 80, 192) 46%, rgb(255, 204, 112) 100%); */
  /* background-color: #ffd700; */
  background: linear-gradient(143.42deg, #4AB1F1 0.58%, #566CEC 37.22%, #D749AF 73.87%, #FF7C51 112.26%);
  /* background: linear-gradient(140deg, #03001e, #7303c0, #ec38bc,white); */
}

.backSide {
  transform: rotateY(180deg);
  /* transform: rotateY(180deg) rotateZ(180deg); */
}

.frontSide::before,
.backSide::before {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  content: '';
  width: 110%;
  height: 110%;
  position: absolute;
  z-index: -1;
  border-radius: 1em;
  filter: blur(30px);
  animation: animate 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translatey(0px);
  }

  50% {
    transform: translatey(-20px);
  }

  100% {
    transform: translatey(0px);
  }
}

@keyframes animate {
  0% {
    opacity: 0.3;
    /* transform: translate(20px); */
  }

  50% {
    opacity: 0.8;
  }

  100% {
    opacity: 0.3;
  }
}


@media (max-width:900px) {
  .hero {
    padding: 11rem 1.5rem;
  }

  .hero-section {
    display: flex;
    flex-direction: column;
    padding-top: 0;
  }

  .space video {
    transform: translate(-50%, -160%) scale(1.1);
  }

  .hero-section-heading {
    font-size: 18px;
    line-height: 18px;
  }

  .role,
  .hero-section-sub-heading {
    font-size: 18px;
  }

  .hero-section-sub-heading {
    max-height: 18px;
    /* overflow-x: hidden; */
  }

  .hero-section-left {
    align-items: center;
    justify-content: center;
    top: -10%;
    gap: 1rem;
  }

  .hero-section-description {
    font-size: 13px;
    width: 95%;
    max-width: 480px;
    text-align: center;
  }

  .btn {
    font-size: 12px;
    margin-bottom: 2.5rem;
    padding: 0.9rem 2rem;

  }

  .faded-text {
    /* position: relative; */
    font-size: 3.5rem;
    width: 100%;
    text-align: center;
    bottom: -1.6%;
    left: 0%;
  }

  .myCard {
    height: 22rem;
    width: 15rem;
  }
}




























/*=============================== Projects Section =============================== */


.projectSection {
  /* margin-top: 5rem; */
  /* background-color: #000000; */
  /* background-color:  rgb(30, 30, 30); */
  background: linear-gradient(rgb(11, 11, 11) 10%, rgb(15, 15, 15), rgb(5, 5, 5), black, black, black, black);
}

/* Education Section - Extra spacing */
#education {
  padding-bottom: 6rem;
  margin-bottom: 4rem;
}

#education1 {
  background-image: url("../assets/images/MASTER OF edu_BUSINESS ADMINISTRATION .png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#education2 {
  background-image: url("../assets/images/edu_BACHELOR OF PETROLEUM ENGINEERING.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#education .outerSectionDiv {
  padding-bottom: 4rem;
}

.projectTitle {
  padding-top: 6rem;
  /* color: rgb(255, 255, 255);  
  text-shadow: 0 0 10px #a101a1, 0 0 20px #a002a0, 0 0 40px #a802a8; */

  background: linear-gradient(43deg, rgb(65, 88, 208) 0%, rgb(200, 80, 192) 46%, rgb(255, 204, 112) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  width: fit-content;
  margin: 0 auto;
  /* -webkit-text-stroke: 0.4px rgb(188, 12, 223); */
  font-weight: 700;
  font-size: 80px;
  /* line-height: 75px; */
  /* padding: 50px 0 30px; */
  text-align: center;
  color: rgb(235, 196, 247);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: 'Catamaran', sans-serif;

}

.projectContainer {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 120px;
}

#project1 {
  background-image: url(../assets/images/project_razorpay_1651x914.jpg);
  right: 5%;
  margin-top: 5rem;
}

#project2 {
  background-image: url(../assets/images/project_password_generator_1806x954.jpg);
  left: 5%;
}

#project3 {
  background-image: url(../assets/images/project_discord_1777x942.jpg);
  right: 5%;
}

#project4 {
  background-image: url(../assets/images/project_4_1920x1397.jpg);
  left: 5%;
}

#project5 {
  background-image: url(../assets/images/project_3_1920x1279.jpg);
  right: 5%;
}

.projectCard {
  width: 80%;
  height: 500px;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  background-color: rgba(255, 255, 255, 0);
  border-radius: 20px;
  margin: 2rem auto;
  z-index: 1;
  transition: 1s;
  /* Reserve space to prevent CLS */
  min-height: 500px;
  aspect-ratio: 16 / 9;
}

.projectCard:hover {
  box-shadow: 0px 0px 1000px rgba(102, 5, 53, 0.765);
}

.projectCard::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  /* background: linear-gradient(45deg, #343d68, #343d68be, #343d687c); */
  background: linear-gradient(90deg, #000000b0, rgba(0, 0, 0, 0.266), #95969600);
  z-index: 1;
  transition: 0.5s;
  border-radius: 18px;

  transform-origin: left;
  transform: scaleX(0);
  /* transform: translate(-83%, 0%); */
}

.projectCard:hover::before {
  transform: scaleX(1);
  /* transform: translate(0%, 0%); */
}


.projectNumber {
  position: absolute;
  font-size: 180px;
  font-weight: 600;
  color: rgba(245, 217, 231, 0.506);
  display: none;
  z-index: 10;
  transition: 0.8s;
}

.rightNumber {
  top: -60px;
  right: -65px;
}

.leftNumber {
  top: -60px;
  left: -65px;
}

.projectCard:hover .projectNumber {
  display: block;
}

.projectCard::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #1f1f1f9a;
  border-radius: 20px;
  z-index: 0;
}

.projectContent {
  display: flex;
  flex-direction: column;
  background-color: rgba(255, 255, 255, 0);
  gap: 1rem;
  color: rgb(255, 255, 255);
  padding: 2em;
  bottom: 20%;
  position: absolute;
  z-index: 5;
  transition: 0.4s;
  max-width: 80%;
  bottom: 7%;
}

.leftProjectContent {
  left: 5%;
}

.rightProjectContent {
  right: 5%;
}

.projectSkillsContainer {
  display: flex;
  flex-wrap: wrap;
  max-width: 100%;
  gap: 8px;
  margin-bottom: 15px;
}

.projectSkill {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s ease;
  white-space: nowrap;
  min-width: fit-content;
  color: #fff;
}




/* Certificate Small Images */
.certificate-image-small {
  position: relative;
  width: 100%;
  max-width: 200px;
  height: 120px;
  border-radius: 10px;
  overflow: hidden;
  margin: 15px auto;
  cursor: pointer;
  transition: all 0.3s ease;
}

.certificate-image-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.certificate-image-small:hover img {
  transform: scale(1.05);
}

.certificate-overlay-small {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.certificate-image-small:hover .certificate-overlay-small {
  opacity: 1;
}

.certificate-overlay-small i {
  font-size: 1.5rem;
  color: #e84949;
}

/* Certificate Modal */
.certificate-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  position: relative;
  margin: 3% auto;
  width: 90%;
  max-width: 1200px;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  animation: slideIn 0.4s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

@keyframes slideIn {
  from { transform: translateY(-50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 2.5rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10001;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-modal:hover {
  color: #e84949;
  background: rgba(232, 73, 73, 0.2);
  transform: scale(1.1);
}

.modal-image {
  max-width: 100%;
  max-height: 70vh;
  width: auto;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  margin-bottom: 20px;
  object-fit: contain;
}

#modalImage {
  max-width: 100%;
  max-height: 70vh;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  margin-bottom: 20px;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.modal-info {
  text-align: center;
  color: #fff;
  width: 100%;
}

.modal-info h3 {
  color: #fff;
  font-size: 1.8rem;
  margin: 0 0 15px 0;
  font-weight: 600;
  background: linear-gradient(43deg, rgb(65, 88, 208) 0%, rgb(200, 80, 192) 46%, rgb(255, 204, 112) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.modal-info p {
  color: #ccc;
  margin: 8px 0;
  font-size: 1.1rem;
  line-height: 1.6;
}

.modal-info p:first-of-type {
  color: #fff;
  font-weight: 500;
  font-size: 1.2rem;
}

.modal-info p:last-of-type {
  color: #aaa;
  font-style: italic;
}

/* Certificate Cards - Use Experience Section Style */
#certificates .projectCard {
  cursor: pointer;
}

/* Add more space between certificates and contact section */
#certificates {
  margin-bottom: 8rem;
  padding-bottom: 4rem;
}


/* Responsive Design */
@media (max-width: 768px) {
  
  .modal-content {
    width: 95%;
    margin: 10% auto;
    padding: 20px;
  }
  
  #modalImage {
    max-height: 60vh;
  }
}

/* Footer Chinese name visibility control */
.secondLast>a>h3 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  display: none; /* Hidden by default in English */
}

/* Show h3 in Chinese version */
.language-zh .secondLast>a>h3 {
  display: block;
  margin-top: 10px;
}

.projectSkill:hover {
  background: rgba(232, 73, 73, 0.2);
  border-color: rgba(232, 73, 73, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(232, 73, 73, 0.2);
}

.projectHeading {
  font-size: 50px;
  font-weight: bold;
  line-height: 3rem;
  font-family: 'Catamaran', sans-serif;
}

.projectSubHeading {
  font-size: 16px;
  font-style: italic;
  width: 70%;
  opacity: 70%;
  border-radius: 6px;
  backdrop-filter: blur(8px);
}

.projectCard:hover .projectContent {
  transform: scale(1.05);
}

.btnGroup {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 1rem;
}

.projectBtn {
  border-radius: 40px;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.65em 1.5em;
  letter-spacing: 1px;
  border: none;
  background-position: left;
  background-size: 300%;
  background-image: linear-gradient(135deg, #9419d2, #dc2430, #dc2449, #9a31cf);
  transition: 0.3s;
  cursor: pointer;
}

.projectBtn:hover {
  scale: 0.96;
  background-position: right;
  filter: drop-shadow(0px 0px 20px #2101017e);
}

.icon {
  cursor: pointer;
  color: white;
  font-size: 32px;
  transition: 0.3s;
  /* font-size: 18px; */
}

.github {
  display: flex;
  justify-content: start;
  align-items: center;
  background-color: #11010100;
  border-radius: 40px;
  cursor: pointer;
  font-size: 0.80rem;
  font-weight: 600;
  letter-spacing: 1.8px;
  transform-origin: left;
  transition: 0.3s;
}

.github:hover {
  padding: 0.15em 1em;
  background-color: #110101;
  filter: drop-shadow(0px 0px 20px #0000006c);
}

.github:hover::after {
  content: "Github";
  padding-left: 0.6em;
}

.icon:hover,
.github:hover .icon {
  /* font-size: 18px; */
  scale: 0.6;
}

@media (max-width:900px) {
  .projectTitle {
    font-size: 50px;
    /* filter: drop-shadow(0px 0px 7px #780159); */
  }

  .projectContainer {
    max-width: 650px;
    margin: 0 auto;
    padding: 0 0;
    gap: 2rem;
  }

  #project1,
  #project2,
  #project3,
  #project4 {
    left: 0%;
    right: 0%;
  }

  .projectCard {
    margin: 2rem auto;
    height: 250px;
    margin: 0 auto;
    box-shadow: 0px 0px 100px rgba(61, 0, 66, 0.682);
  }

  /* .projectCard:hover .projectNumber {
    display: none;
  } */
  .projectCard::before {
    transform: scaleX(1);
  }

  .projectCard::after {
    background-color: #1f1f1f7c;
  }

  .projectContent {
    gap: 0rem;
    padding: 0.5em;
    bottom: 2%;

    transform: scale(1.05);

  }

  .projectNumber {
    font-size: 50px;
    display: block;
    filter: drop-shadow(0px 0px 19px #ffffff);

  }

  .rightNumber,
  .leftNumber {
    top: -20px;
    left: 85%;
  }

  .leftProjectContent,
  .rightProjectContent {
    left: 4%;
  }

  .btnGroup {
    margin-top: 0.4em;
  }

  .projectBtn {
    height: 20px;
    min-width: none;
    font-size: 0.5em;

  }

  .projectSkillsContainer {
    gap: 0.35em;
  }

  .projectSkill {
    width: 17px;
  }

  .projectHeading {
    font-size: 16px;
  }

  .projectSubHeading {
    font-size: 9px;
  }

  .icon {
    font-size: 16px;
    filter: drop-shadow(0px 0px 8px #ffffff);
  }

  .github:hover {
    padding: 0 0;
    background-color: #110101;
    filter: drop-shadow(0px 0px 20px #00000000);
  }

  .github:hover::after {
    content: "";
    padding-left: 0em;
  }

  .icon:hover,
  .github:hover .icon {
    font-size: 16px;
    scale: none;
  }
}

/*====================== Project Section End ============================= */





































/*============================= Skill Section Start  =================================*/



.skillContainer {
  position: relative;
  display: flex;
  padding: 6rem 3rem 2rem 2rem;
  margin: 8rem auto;
  gap: 30px;
  z-index: 0;
  background-color: rgb(0, 0, 0);
}

.skillFadedText {
  font-size: 9rem;
  right: -5%;
  bottom: -10%;
  user-select: none;
  /* color: #c2c2c225; */
  background: linear-gradient(#c2c2c225 0%, #c2c2c213 20%, rgb(0, 0, 0) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
  filter: contrast(105%);
}

.leftSkillContainer {
  display: flex;
  flex-direction: column;
  width: 55%;
}

.skillHeading {
  /* color: #8a06be; */
  background: linear-gradient(43deg, rgb(65, 88, 208) 0%, rgb(200, 80, 192) 46%, rgb(255, 204, 112) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  width: fit-content;
  font-weight: 700;
  font-size: 50px;
  line-height: 60px;
}

.skillHeading::first-letter {
  font-size: 90px;
}

.skillSubHeading {
  margin-top: 1rem;
  width: 85%;

}

.skillSubHeading p {
  margin: 15px 0;
  color: rgb(179, 177, 177);
  text-align: justify;
}



/* .blobStyle {
  position: absolute;
  width: 280px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  animation: blobAnimation 3s linear infinite;
}

@keyframes blobAnimation {
  50% {
    top: 54%;
    left: 46%;
  }
} */
.rightSkillContainer {
  margin-right: 75px;
  margin-top: 40px;
  height: 480px;
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  width: 45%;
  position: relative;
  justify-content: center;
  align-items: center;
}

.skillsLogo {
  width: 65px;
  /* height: 65px; */
  transition: 0.4s;
  /* scale: 0.9; */
}

.skillsLogo:hover {
  transform: scale(0.85);
}

/* Skills Container */
.rightSkillContainer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-items: center;
  max-width: 100%;
  padding: 20px;
}

.skill-item {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 6px 12px;
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s ease;
  display: inline-block;
  min-width: 80px;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

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

.skill-item:hover::before {
  left: 100%;
}

.skill-item:hover {
  transform: translateY(-2px) scale(1.03);
  background: rgba(232, 73, 73, 0.15);
  border-color: rgba(232, 73, 73, 0.4);
  box-shadow: 0 5px 15px rgba(232, 73, 73, 0.2);
  color: #ff6b6b;
}

/* Leadership & Management - Modern Red Theme (items 1-4) */
.skill-item:nth-child(1),
.skill-item:nth-child(2),
.skill-item:nth-child(3),
.skill-item:nth-child(4) {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.25), rgba(220, 38, 38, 0.2));
  border-color: rgba(239, 68, 68, 0.5);
  color: #ef4444;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.1);
}

.skill-item:nth-child(1):hover,
.skill-item:nth-child(2):hover,
.skill-item:nth-child(3):hover,
.skill-item:nth-child(4):hover {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.4), rgba(220, 38, 38, 0.35));
  border-color: rgba(239, 68, 68, 0.8);
  color: #fff;
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.3);
  transform: translateY(-2px) scale(1.05);
}

/* Business Development - Modern Blue Theme (items 5-9) */
.skill-item:nth-child(5),
.skill-item:nth-child(6),
.skill-item:nth-child(7),
.skill-item:nth-child(8),
.skill-item:nth-child(9) {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(37, 99, 235, 0.2));
  border-color: rgba(59, 130, 246, 0.5);
  color: #3b82f6;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
}

.skill-item:nth-child(5):hover,
.skill-item:nth-child(6):hover,
.skill-item:nth-child(7):hover,
.skill-item:nth-child(8):hover,
.skill-item:nth-child(9):hover {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.4), rgba(37, 99, 235, 0.35));
  border-color: rgba(59, 130, 246, 0.8);
  color: #fff;
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
  transform: translateY(-2px) scale(1.05);
}

/* Localization & Translation - Modern Purple Theme (items 10-13) */
.skill-item:nth-child(10),
.skill-item:nth-child(11),
.skill-item:nth-child(12),
.skill-item:nth-child(13) {
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.25), rgba(124, 58, 237, 0.2));
  border-color: rgba(147, 51, 234, 0.5);
  color: #9333ea;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(147, 51, 234, 0.1);
}

.skill-item:nth-child(10):hover,
.skill-item:nth-child(11):hover,
.skill-item:nth-child(12):hover,
.skill-item:nth-child(13):hover {
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.4), rgba(124, 58, 237, 0.35));
  border-color: rgba(147, 51, 234, 0.8);
  color: #fff;
  box-shadow: 0 6px 20px rgba(147, 51, 234, 0.3);
  transform: translateY(-2px) scale(1.05);
}

/* Cross-Cultural & Communication - Modern Teal Theme (items 14-20) */
.skill-item:nth-child(14),
.skill-item:nth-child(15),
.skill-item:nth-child(16),
.skill-item:nth-child(17),
.skill-item:nth-child(18),
.skill-item:nth-child(19),
.skill-item:nth-child(20) {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.25), rgba(6, 182, 212, 0.2));
  border-color: rgba(20, 184, 166, 0.5);
  color: #14b8a6;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(20, 184, 166, 0.1);
}

.skill-item:nth-child(14):hover,
.skill-item:nth-child(15):hover,
.skill-item:nth-child(16):hover,
.skill-item:nth-child(17):hover,
.skill-item:nth-child(18):hover,
.skill-item:nth-child(19):hover,
.skill-item:nth-child(20):hover {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.35), rgba(6, 182, 212, 0.3));
  border-color: rgba(20, 184, 166, 0.7);
  color: #fff;
  box-shadow: 0 4px 16px rgba(20, 184, 166, 0.3);
  transform: translateY(-2px) scale(1.05);
}

/* Languages - Modern 2026 UI Theme (items 21-23) */
.skill-item:nth-child(21),
.skill-item:nth-child(22),
.skill-item:nth-child(23) {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.25), rgba(139, 92, 246, 0.2));
  border-color: rgba(168, 85, 247, 0.5);
  color: #a855f7;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(168, 85, 247, 0.15);
  position: relative;
  overflow: hidden;
}

.skill-item:nth-child(21)::before,
.skill-item:nth-child(22)::before,
.skill-item:nth-child(23)::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: left 0.8s ease;
}

.skill-item:nth-child(21):hover::before,
.skill-item:nth-child(22):hover::before,
.skill-item:nth-child(23):hover::before {
  left: 100%;
}

.skill-item:nth-child(21):hover,
.skill-item:nth-child(22):hover,
.skill-item:nth-child(23):hover {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.4), rgba(139, 92, 246, 0.35));
  border-color: rgba(168, 85, 247, 0.8);
  color: #fff;
  box-shadow: 0 6px 20px rgba(168, 85, 247, 0.4);
  transform: translateY(-3px) scale(1.08);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .rightSkillContainer {
    padding: 15px;
    gap: 6px;
  }
  
  .skill-item {
    font-size: 11px;
    padding: 5px 10px;
    min-width: 70px;
    border-radius: 15px;
  }
}

@media (max-width: 480px) {
  .rightSkillContainer {
    padding: 10px;
    gap: 4px;
  }
  
  .skill-item {
    font-size: 10px;
    padding: 4px 8px;
    min-width: 60px;
    border-radius: 12px;
  }
}

/* Language Dropdown Styles */
.nav-item.language-dropdown {
  position: relative;
  display: inline-block;
  margin-left: auto;
  margin-right: 0;
}

.language-btn {
  background: none;
  border: none;
  color: rgba(241, 242, 238, 0.677);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  padding: 0;
  margin: 0;
}

.language-btn:hover {
  color: rgba(246, 230, 230, 0.858);
}

.language-icon {
  width: 20px;
  height: 20px;
  transition: all 0.3s ease;
  filter: brightness(0) invert(1) opacity(0.677);
}

.language-btn:hover .language-icon {
  transform: rotate(360deg);
  filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(320deg) opacity(0.858);
}

.language-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 10px 0;
  margin-top: 10px;
  min-width: 140px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.95);
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.language-dropdown:hover .language-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.language-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  border-radius: 8px;
  margin: 0 8px;
  position: relative;
  overflow: hidden;
}

.language-option::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(232, 73, 73, 0.1), transparent);
  transition: left 0.5s ease;
}

.language-option:hover::before {
  left: 100%;
}

.language-option:hover {
  background: rgba(232, 73, 73, 0.15);
  color: #e84949;
  transform: translateX(5px);
}

.language-option i {
  font-size: 16px;
  transition: all 0.3s ease;
}

.language-option:hover i {
  transform: scale(1.1);
}


.space2 video {
  /* position: absolute; */
  /* z-index: -11; */
  /* width: 1000px; */
  /* transform:rotate(180deg); */
  /* filter: opacity(80%); */
  /* transform: scale(1.5); */
  /* transform: translateX(350px) translateY(130px); */

  position: absolute;
  width: 200%;
  top: 50%;
  left: 50%;
  filter: opacity(80%);
  filter: contrast(125%);
  transform: translate(-50%, -15%);
  z-index: -1;
}

@media (max-width:900px) {
  .skillContainer {
    padding: 6rem 3rem 2rem 2rem;
    margin: 1rem auto;
    margin-bottom: 15rem;
    gap: 10px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .leftSkillContainer {
    width: 100%;
    max-width: 600px;
  }

  .skillHeading {
    font-size: 35px;
    line-height: 50px;
  }

  .skillHeading span {
    font-size: 60px;
  }

  .skillSubHeading {
    width: 100%;
    /* margin: 0 auto; */
  }

  .skillSubHeading p {
    font-size: 14px;
    margin: 15px auto;
  }

  .rightSkillContainer {
    margin-right: 0px;
    margin-top: 40px;
    padding: 20px;
    gap: 30px;
    width: 100%;
    max-width: 500px;
    height: auto;
    /* overflow: hidden; */
  }

  .skillsLogo {
    width: 40px;
  }

  .space2 video {
    transform: translate(-50%, -15%) scale(1.3);
    max-width: 800px;
  }

  .skillFadedText {
    /* position: relative; */
    font-size: 8rem;
    width: 100%;
    text-align: center;
    left: 1%;
    bottom: -155px;
  }
}

/* =============================Skill Section End======================= */





































/* ==============================WeChat Dropdown Styles ================================================*/

.wechat-dropdown {
  position: relative;
  display: inline-block;
}

.wechat-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wechat-btn .nav-icon {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.819);
  transition: 0.3s;
}

.wechat-btn:hover .nav-icon {
  color: #25d366;
  transform: scale(0.9);
  filter: drop-shadow(0px 0px 7px #25d366);
}

.wechat-dropdown-content {
  display: none;
  position: absolute;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
  top: 100%;
  right: 0;
  margin-top: 10px;
  min-width: 200px;
  animation: fadeInUp 0.3s ease;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.wechat-dropdown-content.show {
  display: block !important;
  opacity: 1;
  visibility: visible;
}

/* Footer WeChat Dropup */
#wechatDropdownFooter {
  top: auto;
  bottom: 100%;
  margin-top: 0;
  margin-bottom: 10px;
}

/* Larger Footer Social Media Buttons */
.last-links .nav-icon {
  font-size: 1.8rem;
  padding: 8px;
  transition: all 0.3s ease;
}

.last-links .nav-icon:hover {
  transform: scale(1.1);
  filter: drop-shadow(0px 0px 12px currentColor);
}

.last-links .wechat-btn .nav-icon {
  font-size: 1.8rem;
  padding: 8px;
  transition: all 0.3s ease;
}

.last-links .wechat-btn:hover .nav-icon {
  transform: scale(1.1);
  filter: drop-shadow(0px 0px 12px #25d366);
}

/* Infinite Scroll Certificates Animation - Based on Cruip Tutorial */
@keyframes infinite-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

.certificates-scroll-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0%, black 128px, black calc(100% - 128px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 128px, black calc(100% - 128px), transparent 100%);
}

.certificates-scroll-wrapper {
  display: flex;
  width: 200%; /* Double width to accommodate duplicate */
  animation: infinite-scroll 25s linear infinite;
}

.certificates-scroll-content {
  display: flex;
  flex: 1;
  gap: 2rem;
  padding: 0 1rem;
  align-items: center;
}

/* Certificate cards using experience section theme */
.certificates-scroll-content .projectCard {
  flex: 0 0 350px; /* Fixed width for consistent scrolling */
  height: 250px;
  margin: 0;
  width: 350px;
  border-radius: 20px;
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: rgba(255, 255, 255, 0);
  z-index: 1;
  transition: 1s;
  box-shadow: 0px 0px 100px rgba(61, 0, 66, 0.682);
}

.certificates-scroll-content .projectCard::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background: linear-gradient(90deg, #000000b0, rgba(0, 0, 0, 0.266), #95969600);
  z-index: 1;
  transition: 0.5s;
  border-radius: 18px;
  transform-origin: left;
  transform: scaleX(0);
}

.certificates-scroll-content .projectCard::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  z-index: 0;
}

.certificates-scroll-content .projectCard:hover {
  box-shadow: 0px 0px 1000px rgba(102, 5, 53, 0.765);
}

.certificates-scroll-content .projectCard:hover::before {
  transform: scaleX(1);
}

.certificates-scroll-content .projectCard:hover::after {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(15px);
}

/* Project number styling */
.certificates-scroll-content .projectNumber {
  position: absolute;
  font-size: 120px;
  font-weight: 600;
  color: rgba(245, 217, 231, 0.506);
  display: none;
  z-index: 10;
  transition: 0.8s;
}

.certificates-scroll-content .projectCard:hover .projectNumber {
  display: block;
}

/* Project content styling - matching experience theme */
.certificates-scroll-content .projectContent {
  display: flex;
  flex-direction: column;
  background-color: rgba(255, 255, 255, 0);
  gap: 1rem;
  color: rgb(255, 255, 255);
  position: absolute;
  bottom: 5%;
  z-index: 2;
  padding: 0.5em;
  width: 90%;
  left: 5%;
  right: 5%;
}

.certificates-scroll-content .projectHeading {
  font-size: 20px;
  font-weight: bold;
  line-height: 1.2rem;
  margin-bottom: 8px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.certificates-scroll-content .projectSubHeading {
  font-size: 14px;
  font-style: italic;
  width: 70%;
  margin-bottom: 8px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.certificates-scroll-content .projectSkillsContainer {
  display: flex;
  flex-wrap: wrap;
  max-width: 100%;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.certificates-scroll-content .projectSkill {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 4px 8px;
  font-size: 8px;
  font-weight: 500;
  color: rgb(255, 255, 255);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  transition: 0.3s;
}

.certificates-scroll-content .projectSkill:hover {
  background: rgba(232, 73, 73, 0.2);
  border-color: rgba(232, 73, 73, 0.4);
  transform: translateY(-2px);
}

/* Pause animation on hover */
.certificates-scroll-container:hover .certificates-scroll-wrapper {
  animation-play-state: paused;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .certificates-scroll-content .projectCard {
    flex: 0 0 280px;
    height: 200px;
    width: 280px;
  }
  
  .certificates-scroll-content {
    gap: 1rem;
    padding: 0 0.5rem;
  }
  
  .certificates-scroll-wrapper {
    animation-duration: 20s;
  }
  
  .certificates-scroll-content .projectHeading {
    font-size: 16px;
  }
  
  .certificates-scroll-content .projectSubHeading {
    font-size: 12px;
  }
  
  .certificates-scroll-content .projectSkill {
    font-size: 7px;
    padding: 3px 6px;
  }
}

@media (max-width: 480px) {
  .certificates-scroll-content .projectCard {
    flex: 0 0 220px;
    height: 160px;
    width: 220px;
  }
  
  .certificates-scroll-wrapper {
    animation-duration: 15s;
  }
  
  .certificates-scroll-content .projectHeading {
    font-size: 14px;
  }
  
  .certificates-scroll-content .projectSubHeading {
    font-size: 10px;
  }
  
  .certificates-scroll-content .projectSkill {
    font-size: 6px;
    padding: 2px 4px;
  }
}

.qr-code-container {
  text-align: center;
}

.qr-code-image {
  width: 150px;
  height: 150px;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  object-fit: cover;
  margin-bottom: 10px;
}

.qr-text {
  color: white;
  font-size: 0.9rem;
  margin: 0;
  font-weight: 500;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==============================form Section Start ================================================*/

.contactSection {
  /* Modern gradient background instead of image */
  background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #4facfe 100%);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  /* height: 650px; */
  /* margin-top: 7rem; */
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.contactGrad {
  /* Enhanced overlay for better text readability */
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.8) 100%);
  backdrop-filter: blur(1px);
  height: 100%;
  width: 100%;
  padding-top: 1.5rem;
}


.upper {
  /* padding-top: 3.5rem; */
  padding-bottom: 1rem;
  width: 100%;
  font-size: 50px;
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.upper p {
  font-weight: 300;
  display: inline-block;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.upper h3 {
  display: inline-block;
  margin-left: 1rem;
  background: linear-gradient(43deg, rgb(65, 88, 208) 0%, rgb(200, 80, 192) 46%, rgb(255, 204, 112) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}

.lower {
  display: flex;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  padding-bottom: 1rem;
  justify-content: space-around;
  align-items: center;
}

.left_img {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.left_img>img {
  width: 100%;
  max-width: 600px;
  height: auto;
  transition: transform 0.3s ease;
  animation: float 6s ease-in-out infinite;
  /* filter: drop-shadow(10px 10px 60px #2802a6); */
}

.left_img>img:hover {
  transform: scale(1.05);
  animation-play-state: paused;
}

.right>form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(11px);
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 60px rgba(8, 7, 16, 0.662);
  border-radius: 20px;
  padding: 12px;
  min-width: 500px;
  /* border: dotted 3px rgb(238, 181, 245); */
  /* border-image: linear-gradient(145deg, transparent 35%,#e81cff, #40c9ffb6) 30; */
}

input,
textarea {
  /* background-color: rgba(7, 0, 15, 0.136); */
  background-color: rgba(255, 255, 255, 0.07);
  border: solid 1px rgb(165, 165, 165);
  padding: 5px 9px;
  min-width: 100%;
  min-height: 40px;
  margin-bottom: 16px;
  border-radius: 8px;
}

/* input:focus, textarea:focus{
  outline: none;
  border-color: rgb(238, 181, 245);
} */

::placeholder {
  color: #e5e5e5d6;
}

.send-btn {
  font-size: 16px;
  background-image: linear-gradient(135deg, #7b4397, #dc2430);
  color: rgb(235, 181, 245);
  border: 2px solid rgb(238, 181, 245);
  padding: 0.5rem 1.3rem;
  display: flex;
  align-items: center;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.2s;
  cursor: pointer;
  text-decoration: none;
  width: fit-content;
  margin: 0 auto;
}

.send-btn span {
  margin-left: 0.5rem;
  transition: all 0.3s ease-in-out;
}

.send-btn svg {
  display: block;
  /* transform-origin: center center; */
  /* transition: transform 0.3s ease-in-out; */
  transition: 0.3s;
  transform: scale(0.9);
}

.send-btn:hover svg {
  transform: translateX(1.2rem) rotate(45deg) scale(1.2);
}

.send-btn:hover span {
  transform: translateX(5rem);
}

.send-btn:active {
  transform: scale(0.95);
}

@media (max-width:900px) {
  .upper {
    font-size: 40px;
  }

  .left_img {
    display: flex;
    width: 100%;
    margin-bottom: 2rem;
  }
  
  .left_img>img {
    max-width: 400px;
    width: 90%;
  }

  .right>form {
    min-width: 80vw;
    max-width: 450px
  }
}





















/* 
.footer {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  background-color: black;
}

.ft-grad {
  background-image: url(../assets/images/footer_gradient_1440x659.png);
  filter: opacity(90%);
  filter: contrast(125%);
  opacity: 70%;
  background-position: bottom;
  background-size: cover;
  padding-top: 20px;
}

.secondLast {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 300px;
  z-index: 100;
}

.secondLast>a>h2 {
  margin-bottom: 20px;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: linear-gradient(43deg, rgb(65, 88, 208) 0%, rgb(200, 80, 192) 46%, rgb(255, 204, 112) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.secondLast>p {
  font-size: 0.9rem;
  color: rgba(238, 232, 232, 0.673);
  font-weight: 900;
}

.last-links {
  margin-top: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.last-quote {
  display: flex;
  margin-top: 2rem;
  gap: 1.2rem;
  height: 20px;
  margin-top: 5rem;
}

.last-quote>.left-border {
  transform: rotateY(180deg);
}

.last-quote .left-border,
.right-border {
  opacity: 20%;
  margin-top: 4px;
}

.last-quote>p {
  color: #ffffff;
  opacity: 20%;
  text-align: center;
  font-size: small;
  font-weight: 500;
  text-transform: lowercase;
}

.copyright {
  background-color: rgba(16, 16, 16, 0.243);
  display: flex;
  height: 36px;
  align-items: center;
  justify-content: center;
  max-width: 1400px;
  margin: 0 auto;
}

.copyright p {
  font-size: 0.7rem;
  color: gray;
} */


















.footer {
  display: flex;
  flex-direction: column;
  position: relative;
  background-color: black;
  margin-top: 1rem;
}

.ft-grad {
  background-image: url(../assets/images/footer_gradient_1440x659.png);
  filter: opacity(90%);
  filter: contrast(125%);
  opacity: 70%;
  background-position: bottom;
  background-size: cover;
  padding-top: 20px;
}

.secondLast {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 300px;
  z-index: 100;
}

.secondLast>a>h2 {
  margin-bottom: 20px;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: linear-gradient(90.42deg, #4AB1F1 0.58%, #566CEC 37.22%, #D749AF 73.87%, #FF7C51 112.26%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.secondLast>p {
  font-size: 0.9rem;
  color: rgba(238, 232, 232, 0.673);
  font-weight: 900;
}

.last-links {
  margin-top: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.last-quote {
  display: flex;
  margin-top: 2rem;
  gap: 1.2rem;
  height: 20px;
  margin-top: 5rem;
}

.last-quote>.left-border {
  transform: rotateY(180deg);
}

.last-quote .left-border,
.right-border {
  opacity: 20%;
  margin-top: 4px;
}

.last-quote>p {
  color: #ffffff;
  opacity: 40%;
  text-align: center;
  font-size: small;
  font-weight: 500;
  text-transform: lowercase;
}

.copyright {
  background-color: rgba(16, 16, 16, 0.243);
  display: flex;
  height: 40px;
  align-items: center;
  justify-content: center;
  max-width: 1500px;
  margin: 0 auto;
}

.copyright p {
  font-size: 0.7rem;
  color: gray;
}

/* Back-to-top button - reserve space to prevent CLS */
.scroll-to-top-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: linear-gradient(45deg, #667eea, #764ba2);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  font-weight: bold;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.scroll-to-top-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

/* Arabic LTR Support - Keep consistent left-to-right layout */
.language-ar {
  direction: ltr;
  text-align: left;
}

.language-ar .hero-section-left {
  text-align: left;
}

.language-ar .hero-section-description {
  text-align: left;
}

.language-ar .language-menu {
  text-align: left;
}

.language-ar .language-option {
  justify-content: flex-start;
}

/* Role styling is now consolidated above */

/* Prevent layout shifts during loading */
body {
  overflow-x: hidden;
}

/* Ensure consistent spacing for dynamic elements */
.language-menu {
  min-height: 120px;
}

/* Only apply min-height when dropdown is visible to prevent CLS */
.wechat-dropdown-content.show {
  min-height: 200px;
}

/* Language menu show state - moved from JS to prevent CLS */
.language-menu.show {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

/* Modal image stability to prevent CLS */
#modalImage {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* Enhanced Mobile Optimizations */
@media (max-width: 480px) {
  /* Enhanced mobile touch targets */
  .nav-item a, .language-btn, .wechat-btn {
    min-height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Better mobile typography */
  body {
    font-size: 16px;
    line-height: 1.6;
  }
  
  /* Improved mobile spacing */
  .hero {
    padding: 8rem 1rem;
  }
  
  /* Better mobile form inputs */
  input, textarea {
    font-size: 16px; /* Prevents zoom on iOS */
  }
}







