@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
}


* {
  font-family: "Poppins", sans-serif;
}


body {
  min-height: 100vh;
  background: #ffffff;
  overflow-x: hidden;
}

section {
  padding: 80px 20px;
}

@media (min-width: 768px) {
  section {
    padding: 100px;
  }
}

@media (min-width: 1024px) {
  section {
    padding: 100px 200px;
  }
}

/* Header and Navigation */
header {
  z-index: 999;
  position: fixed;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 0.5s ease;
}

.header-logo {
  width: 90px; /* Adjust as needed */
  height: auto;
  display: block;
}

@media (min-width: 1024px) {
  header {
    padding: 15px 200px;
  }
  
  header.sticky {
    padding: 10px 200px;
  }
}

header.sticky {
  background: #3a6cf4;
  padding: 10px 20px;
}

header .brand {
  color: #fff;
  font-size: 1.8em;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
}

header .navigation {
  position: relative;
}

header .navigation a {
  color: #fff;
  font-size: 1em;
  font-weight: 500;
  text-decoration: none;
  margin-left: 30px;
}

header .navigation a:hover {
  color: #3a6cf4;
}

header.sticky .navigation a:hover {
  color: #000;
}

/* Mobile Navigation */
.menu-btn {
  position: absolute;
  background: url(https://static.thenounproject.com/png/604152-200.png) no-repeat;
  background-size: 30px;
  background-position: center;
  width: 40px;
  height: 40px;
  right: 20px;
  top: 15px;
  cursor: pointer;
  transition: 0.3s ease;
  display: block;
  z-index: 1000;
}

@media (min-width: 1040px) {
  .menu-btn {
    display: none;
  }
}

.menu-btn.active {
  z-index: 1001;
  background: url(https://www.freeiconspng.com/uploads/close-button-png-25.png) no-repeat;
  background-size: 25px;
  background-position: center;
  transition: 0.3s ease;
  filter: invert(1);
}

header .navigation {
  display: none;
}

header .navigation.active {
  z-index: 999;
  position: fixed;
  background-color: #2355de8e;
  top: 0;
  right: 0;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.2);
  transition: 0.3s ease;
  padding: 50px 0;
  overflow-y: auto;
}

@media (min-width: 1040px) {
  header .navigation {
    display: flex;
    position: relative;
    background-color: transparent;
    width: auto;
    height: auto;
    box-shadow: none;
    flex-direction: row;
    padding: 0;
  }
}

header .navigation a {
  color: #fff;
  font-size: 1.2em;
  margin: 15px 0;
  padding: 8px 20px;
  border-radius: 20px;
  width: 80%;
  text-align: center;
  transition: 0.3s ease;
}

@media (min-width: 1040px) {
  header .navigation a {
    margin: 0 10px;
    width: auto;
  }
}

header .navigation.active a {
  color: #fff;
  display: block;
}

header .navigation a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: 0.3s ease;
}

header .navigation.active a:hover {
  background: rgba(0, 0, 0, 0.1);
  color: #fff;
}

/* Add this to ensure the header has proper z-index */
header {
  z-index: 998;
}



/* Main Section */
.main {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: left;
  overflow: hidden;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .main {
      padding: 0 100px;
  }
}

#background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.main .content {
  max-width: 100%;
  z-index: 1;
}

@media (min-width: 768px) {
  .main .content {
      max-width: 720px;
  }
}

.main .content h2 {
  color: #fff;
  font-size: 1.5em;
  font-weight: 500;
}

@media (min-width: 768px) {
  .main .content h2 {
      font-size: 2em;
  }
}

.main .content h2 span {
  font-size: 1.5em;
  font-weight: 600;
}

@media (min-width: 768px) {
  .main .content h2 span {
      font-size: 1.8em;
  }
}

.animated-text {
  position: relative;
  height: 70px;
  overflow: hidden;
}

.animated-text h3 {
  color: #4e9eff;
  font-size: 2em;
  font-weight: 700;
  line-height: 70px;
  letter-spacing: 1px;
  margin: 0; /* Reset default margin */
}

@media (min-width: 768px) {
  .animated-text h3 {
      font-size: 3em;
  }
}

.animated-text h3:nth-child(1) {
  animation: text-move 15s infinite; /* Increased animation duration */
}

@keyframes text-move {
  0% {
      margin-top: 0;
  }

  20% {
      margin-top: -70px;
  }

  40% {
      margin-top: -140px;
  }

  60% {
      margin-top: -210px;
  }

  80% {
      margin-top: -280px;
  }

  100% {
      margin-top: 0;
  }
}

.text {
  display: inline-block;
  animation: text-move 4s ease-in-out infinite;
}

.btn {
  color: #fff;
  background: #3a6cf4;
  font-size: 1em;
  font-weight: 600;
  display: inline-block;
  padding: 10px 20px;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 1px;
  border-radius: 2px;
  margin-top: 30px;
  transition: 0.5s ease;
}

.btn:hover {
  background: #0d1f52;
}

.media-icons {
  margin-top: 50px;
}

.media-icons a {
  color: #3bebff;
  font-size: 25px;
  margin-right: 30px;
}

/* Social Media Icons */
.example-2 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: rgba(95, 95, 95, 0.19);
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  list-style: none;
}

@media (min-width: 768px) {
  .example-2 {
    flex-direction: row;
  }
}

.example-2 .icon-content {
  margin: 5px;
  position: relative;
}

@media (min-width: 768px) {
  .example-2 .icon-content {
    margin: 0 10px;
  }
}

.example-2 .icon-content .tooltip {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  padding: 6px 10px;
  border-radius: 5px;
  opacity: 0;
  visibility: hidden;
  font-size: 14px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.example-2 .icon-content:hover .tooltip {
  opacity: 1;
  visibility: visible;
  top: -50px;
}

.example-2 .icon-content a {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  color: #313131;
  background-color: #fff;
  transition: all 0.3s ease-in-out;
  text-decoration: none;
}

.example-2 .icon-content a:hover {
  box-shadow: 3px 2px 45px 0px rgba(0, 0, 0, 0.12);
  color: white;
}

.example-2 .icon-content a svg {
  position: relative;
  z-index: 1;
  width: 20px;
  height: 20px;
}

.example-2 .icon-content a .filled {
  position: absolute;
  top: auto;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: #000;
  transition: all 0.3s ease-in-out;
}

.example-2 .icon-content a:hover .filled {
  height: 100%;
}

.example-2 .icon-content a[data-social="linkedin"] .filled,
.example-2 .icon-content a[data-social="linkedin"] ~ .tooltip {
  background-color: #0274b3;
}

.example-2 .icon-content a[data-social="github"] .filled,
.example-2 .icon-content a[data-social="github"] ~ .tooltip {
  background-color: #24262a;
}

.example-2 .icon-content a[data-social="instagram"] .filled,
.example-2 .icon-content a[data-social="instagram"] ~ .tooltip {
  background: linear-gradient(
    45deg,
    #405de6,
    #5b51db,
    #b33ab4,
    #c135b4,
    #e1306c,
    #fd1f1f
  );
}

.example-2 .icon-content a[data-social="youtube"] .filled,
.example-2 .icon-content a[data-social="youtube"] ~ .tooltip {
  background-color: #ff0000;
}


/* Section Title */
.title {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.section-title {
  position: relative;
  color: #3a6cf4;
  font-size: 1.8em;
  font-weight: 800;
  margin-bottom: 60px;
  text-align: center;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.2em;
  }
}

.section-title:before {
  content: '';
  position: absolute;
  top: 56px;
  left: 50%;
  width: 140px;
  height: 4px;
  background: #3a6cf4;
  transform: translateX(-50%);
}

.section-title:after {
  content: '';
  position: absolute;
  top: 50px;
  left: 50%;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #3a6cf4;
  transform: translateX(-50%);
}

.title p {
  font-size: 1em;
  width: 80%;
  text-align: center;
}

/* About Section */
.about {
  background: #ffffff;
}

.about .content {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-top: 20px;
}

@media (min-width: 768px) {
  .about .content {
    flex-direction: row;
  }
}

.about .content .col-left {
  position: relative;
  width: 100%;
}

@media (min-width: 768px) {
  .about .content .col-left {
    width: 45%;
  }
}

.about .content .col-right {
  position: relative;
  width: 100%;
  margin-top: 40px;
}

@media (min-width: 768px) {
  .about .content .col-right {
    width: 50%;
    margin-top: 0;
  }
}

.about .content .col-left .img-card {
  position: relative;
  width: 100%;
  min-height: 300px;
}

@media (min-width: 768px) {
  .about .content .col-left .img-card {
    min-height: 450px;
  }
}

.about .content .col-left .img-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.about .content .col-right .content-title {
  font-size: 1.5em;
  font-weight: 800;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .about .content .col-right .content-title {
    font-size: 2em;
  }
}

.about .content .col-right .paragraph-text {
  font-size: 1em;
}

/* Skills Section */
.skills {
  background: #000016;
}

.skills .content {
  position: relative;
  width: 100%;
  display: flex;
  line-height: 1.5;
  flex-direction: column;
  justify-content: space-between;
  color: white;
  margin-top: 20px;
}

@media (min-width: 768px) {
  .skills .content {
    flex-direction: row;
  }
}

.skills .content .col-left {
  position: relative;
  width: 100%;
}

@media (min-width: 768px) {
  .skills .content .col-left {
    width: 46%;
  }
}

.skills .content .col-left .content-title {
  margin-bottom: 20px;
}

.skills .content .col-right {
  position: relative;
  width: 100%;
  margin-top: 40px;
}

@media (min-width: 768px) {
  .skills .content .col-right {
    width: 46%;
    margin-top: 0;
  }
}

.skills .content .col-right .bar {
  margin-bottom: 15px;
  padding: 10px;
}

.skills .content .col-right .bar .info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5px;
}

.skills .content .col-right .bar .info span {
  font-size: 18px;
  font-weight: 500;
}

.skills .content .col-right .bar .line {
  position: relative;
  width: 100%;
  height: 15px;
  background: #ccc;
  border-radius: 2px;
  overflow: hidden;
}

.skills .content .col-right .bar .line:before {
  content: '';
  position: absolute;
  height: 100%;
  top: 0;
  left: 0;
  border-radius: 2px;
  width: 0;
  transition: width 3s ease-in-out;
}

.skills .content .col-right .bar .html:before {
  background: #e45126;
}

.skills .content .col-right .bar .css:before {
  background: #0c73b8;
}

.skills .content .col-right .bar .javascript:before {
  background: #e3a324;
}

.skills .content .col-right .bar .jquery:before {
  background: #30dd6d;
}

.skills .content .col-right .bar .php:before {
  background: #6d7eb8;
}

/* Animation trigger on scroll using CSS */
@keyframes grow {
  from {
    width: 0;
  }
  to {
    width: var(--target-width);
  }
}

.skills .content .col-right .bar .line:before {
  animation: grow 2s ease-in-out forwards;
  animation-play-state: paused;
}

.skills:hover .content .col-right .bar .line:before,
.skills.active .content .col-right .bar .line:before {
  animation-play-state: running;
}

.skills .content .col-right .bar .html:before {
  --target-width: 95%;
}

.skills .content .col-right .bar .css:before {
  --target-width: 90%;
}

.skills .content .col-right .bar .javascript:before {
  --target-width: 80%;
}

.skills .content .col-right .bar .jquery:before {
  --target-width: 80%;
}

.skills .content .col-right .bar .php:before {
  --target-width: 75%;
}

/* Services Section */

.services .content {
  display: flex;
 
  justify-content: center;
  flex-wrap: wrap;
  flex-direction: row;
  margin-top: 20px;
}

.services .content .card {
  background: #ffffff48;
  width: 100%;
  max-width: 330px;
  margin: 10px;
  padding: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  box-shadow: 0 5px 25px rgba(122, 122, 122, 0.5);
  border-radius: 10px;
}

.services .content .card .service-icon {
  color: #3a6cf4;
  font-size: 5em;
  text-align: justify;
  transition: transform 0.5s ease;
}

@media (min-width: 768px) {
  .services .content .card .service-icon {
    font-size: 8em;
  }
}

.services .content .card:hover .service-icon {
  transform: translateY(-10px);
}

.services .content .card .info {
  text-align: center;
}

.services .content .card .info h3 {
  color: #3a6cf4;
  font-size: 1.2em;
  font-weight: 700;
  margin: 10px;
}

/*------------------------------------------------LOGO SLIDING ANIMATION------------------------*/


.section-title {
  margin-top: 5px; /* Adjust as needed */
}
.slider .body {
  align-items: center;
  background: #E3E3E3;
  display: flex;
  height: 100vh;
  justify-content: center;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-220px * 14)); /* 200px img + 20px margin */
  }
}

.slider {
  background: rgb(255, 255, 255);
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.125);
  height: 200px;
  margin: auto;
  overflow: hidden;
  position: relative;
  width: 100%; /* Full width for responsiveness */
  max-width: 1280px;
  border-radius: 20px;
}

.slider::before,
.slider::after {
  background: linear-gradient(to right, white 0%, rgba(255, 255, 255, 0) 100%);
  content: "";
  height: 200px;
  position: absolute;
  width: 150px;
  z-index: 2;
}

.slider::after {
  right: 0;
  top: 0;
  transform: rotateZ(180deg);
}

.slider::before {
  left: 0;
  top: 0;
}

.slide-track {
  display: flex;
  width: calc(220px * 28); /* 200px image + 20px margin * number of slides */
  animation: scroll 25s linear infinite;
  align-items: center;
}

.slide {
  height: 200px;
  width: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 1px;
}

.slide img {
  max-height: 90px;
  max-width: 90px;
  object-fit: contain;
}




/* Work Section------------------------ */

/* Portfolio Section */
.portfolio {
  margin-bottom: 140px;
  padding: 40px 20px;
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease;
  background: #0a0e1a; /* optional dark background */
}

.portfolio.animate {
  opacity: 1;
  transform: translateY(0);
}

/* 🔸 Force cards to go in 1 column layout */


.portfolio-grid {
  display: flex;
  flex-direction: column;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.portfolio-card {
  background: rgba(0, 255, 255, 0.06);
  backdrop-filter: blur(25px);
  border: 2px solid rgba(0, 255, 255, 0.2);
  border-radius: 28px;
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
  box-shadow: 
      0 10px 40px rgba(0, 0, 0, 0.3),
      0 0 30px rgba(0, 255, 255, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
  width: 100%;
}

.portfolio-card:hover {
  transform: translateY(-15px);
  border-color: rgba(0, 255, 255, 0.5);
  box-shadow: 
      0 30px 60px rgba(0, 0, 0, 0.4),
      0 0 80px rgba(0, 255, 255, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.portfolio-image {
  height: 320px;
  overflow: hidden;
  position: relative;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.portfolio-card:hover .portfolio-image img {
  transform: scale(1.1);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(5px);
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

.view-btn {
  background: rgba(0, 255, 255, 0.2);
  backdrop-filter: blur(15px);
  border: 2px solid #00ffff;
  color: #00ffff;
  padding: 14px 28px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.4);
}

.view-btn:hover {
  background: #00ffff;
  color: #0a0e1a;
  transform: scale(1.05);
  box-shadow: 0 0 35px rgba(0, 255, 255, 0.6);
}

.portfolio-content {
  padding: 36px;
}

.portfolio-content h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 14px;
  color: #ffffff;
}

.portfolio-content p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  margin-bottom: 24px;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tech-stack span {
  background: rgba(0, 255, 255, 0.12);
  color: #00ffff;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid rgba(0, 255, 255, 0.3);
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
}











.work {
  
  background: #000016;
}





.work-cards-container {
  
  background: #000016;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.container {
  display: grid;
  place-items: center;
  margin-inline: 1rem;
  padding-block: 3rem;
}

@media (min-width: 768px) {
  .container {
    margin-inline: 1.5rem;
    padding-block: 5rem;
  }
}

.card__container {
  display: grid;
  row-gap: 2rem;
  width: 100%;
}

@media (min-width: 768px) {
  .card__container {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 1.5rem;
    row-gap: 3.5rem;
  }
}

@media (min-width: 1120px) {
  .card__container {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card__article {
  position: relative;
  overflow: hidden;
}

.card__img {
  width: 100%;
  height: auto;
  aspect-ratio: 5/4;
  border-radius: 1.5rem;
  object-fit: cover;
}

@media (min-width: 768px) {
  .card__img {
    height: 300px;
  }
}

@media (min-width: 1120px) {
  .card__img {
    width: 348px;
  }
}

.card__data {
  width: 90%;
  max-width: 280px;
  background-color: rgba(255, 255, 255, 0.882);
  padding: 1.5rem;
  box-shadow: 0 8px 24px hsla(0, 0%, 100%, 0.437);
  border-radius: 1rem;
  position: absolute;
  bottom: -9rem;
  left: 0;
  right: 0;
  margin-inline: auto;
  opacity: 0;
  transition: opacity 1s 1s;
}

@media (min-width: 1120px) {
  .card__data {
    width: 316px;
    padding-inline: 2.5rem;
  }
}

.card__description {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.card__title {
  font-size: 1.5rem;
  font-weight: 500;
  color: #333;
  margin-bottom: 0.75rem;
}

.card__button {
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  color: #3a6cf4;
}

.card__button:hover {
  text-decoration: underline;
}

/* Card animation */
.card__article:hover .card__data {
  animation: show-data 1s forwards;
  opacity: 1;
  transition: opacity 0.3s;
}

.card__article:hover {
  animation: remove-overflow 2s forwards;
}

.card__article:not(:hover) {
  animation: show-overflow 2s forwards;
}

.card__article:not(:hover) .card__data {
  animation: remove-data 1s forwards;
}

@keyframes show-data {
  50% {
    transform: translateY(-10rem);
  }
  100% {
    transform: translateY(-7rem);
  }
}

@keyframes remove-overflow {
  to {
    overflow: initial;
  }
}

@keyframes remove-data {
  0% {
    transform: translateY(-7rem);
  }
  50% {
    transform: translateY(-10rem);
  }
  100% {
    transform: translateY(0.5rem);
  }
}

@keyframes show-overflow {
  0% {
    overflow: initial;
    pointer-events: none;
  }
  50% {
    overflow: hidden;
  }
}

/* Scrolling Items */
.wrapper {
  width: 90%;
  max-width: 1536px;
  margin-inline: auto;
  position: relative;
  height: 500px;
  margin-top: 5rem;
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    rgba(255, 255, 255, 0),
    rgba(0, 0, 0, 1) 20%,
    rgba(0, 0, 0, 1) 80%,
    rgba(0, 0, 0, 0)
  );
}

@keyframes scrollLeft {
  to {
    right: -400px;
  }
}

.item {
  width: 400px;
  height: 400px;
  background-color: rgba(255, 255, 255, 0.981);
  border-radius: 6px;
  position: absolute;
  right: max(calc(400px * 23), 100%);
  animation-name: scrollLeft;
  animation-duration: 60s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

/* Auto-generate delay for each item */
.item1 { animation-delay: calc(60s / 23 * (23 - 1) * -1); }
.item2 { animation-delay: calc(60s / 23 * (23 - 2) * -1); }
.item3 { animation-delay: calc(60s / 23 * (23 - 3) * -1); }
.item4 { animation-delay: calc(60s / 23 * (23 - 4) * -1); }
.item5 { animation-delay: calc(60s / 23 * (23 - 5) * -1); }
.item6 { animation-delay: calc(60s / 23 * (23 - 6) * -1); }
.item7 { animation-delay: calc(60s / 23 * (23 - 7) * -1); }
.item8 { animation-delay: calc(60s / 23 * (23 - 8) * -1); }
.item9 { animation-delay: calc(60s / 23 * (23 - 9) * -1); }
.item10 { animation-delay: calc(60s / 23 * (23 - 10) * -1); }
.item11 { animation-delay: calc(60s / 23 * (23 - 11) * -1); }
.item12 { animation-delay: calc(60s / 23 * (23 - 12) * -1); }
.item13 { animation-delay: calc(60s / 23 * (23 - 13) * -1); }
.item14 { animation-delay: calc(60s / 23 * (23 - 14) * -1); }
.item15 { animation-delay: calc(60s / 23 * (23 - 15) * -1); }
.item16 { animation-delay: calc(60s / 23 * (23 - 16) * -1); }
.item17 { animation-delay: calc(60s / 23 * (23 - 17) * -1); }
.item18 { animation-delay: calc(60s / 23 * (23 - 18) * -1); }
.item19 { animation-delay: calc(60s / 23 * (23 - 19) * -1); }
.item20 { animation-delay: calc(60s / 23 * (23 - 20) * -1); }
.item21 { animation-delay: calc(60s / 23 * (23 - 21) * -1); }
.item22 { animation-delay: calc(60s / 23 * (23 - 22) * -1); }
.item23 { animation-delay: calc(60s / 23 * (23 - 23) * -1); }



/* Contact Section */
.contact {
  padding: 80px 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.contact .title {
  text-align: center;
  margin-bottom: 20px; /* Reduced from 60px */
}



.contact .content {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  flex-direction: column;
  margin-top: 20px;
}

.contact .content .row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 20px;
  margin-bottom: 40px;
}

/* Contact Cards */
/* Contact Cards (Initial State for Animation) */
.contact .content .row .card {
  background: rgba(255, 255, 255, 0.95);
  width: 260px;
  margin: 10px;
  padding: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.385);
  border-radius: 15px;
  transition: all 0.6s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.27);

  /* Initial animation state */
  opacity: 0;
  transform: translateY(50px);
}

/* When in view */
.contact .content .row .card.animate {
  opacity: 1;
  transform: translateY(0);
}


.contact .content .row .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.405);
}

.contact .content .row .card .contact-icon {
  color: #3a6cf4;
  font-size: 3.5em;
  text-align: center;
  transition: all 0.5s ease;
  margin-bottom: 20px;
}

.contact .content .row .card .contact-icon a {
  color: #3a6cf4;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact .content .row .card .contact-icon a:hover {
  color: #562389;
  transform: scale(1.1);
}

.contact .content .row .card:hover .contact-icon {
  transform: scale(1.1) rotate(5deg);
}

.contact .content .row .card .info {
  text-align: center;
}

.contact .content .row .card .info h3 {
  color: #111;
  font-size: 1.4em;
  font-weight: 700;
  margin-bottom: 10px;
}

.contact .content .row .card .info span {
  color: #666;
  font-weight: 500;
  font-size: 1em;
}

/* Contact Form */
.contact-form {
  background: rgba(255, 255, 255, 0.95);
  width: 100%;
  margin-top: 0%;
  max-width: 600px;
  margin: 0 auto;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.473);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

@media (min-width: 768px) {
  .contact-form {
    padding: 50px;
  }
}

.contact-form h3 {
  color: #111;
  font-size: 2em;
  font-weight: 600;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.contact-form h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(45deg, #3a6cf4, #764ba2);
  border-radius: 3px;
}

.contact-form .input-box {
  position: relative;
  width: 100%;
  margin-bottom: 25px;
}

.contact-form .input-box input,
.contact-form .input-box textarea {
  color: #111;
  width: 100%;
  padding: 15px;
  font-size: 1em;
  font-weight: 400;
  outline: none;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  resize: none;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.9);
}

.contact-form .input-box input:focus,
.contact-form .input-box textarea:focus {
  border-color: #3a6cf4;
  box-shadow: 0 0 10px rgba(58, 108, 244, 0.2);
  transform: translateY(-2px);
}

.contact-form .input-box .send-btn {
  color: #fff;
  background: linear-gradient(45deg, #3a6cf4, #764ba2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1.1em;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: 100%;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 15px;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.contact-form .input-box .send-btn::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.5s ease;
}

.contact-form .input-box .send-btn:hover::before {
  left: 100%;
}

.contact-form .input-box .send-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(58, 108, 244, 0.4);
}

.contact-form .input-box .send-btn:active {
  transform: translateY(-1px);
}

.contact-form .input-box .send-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.btn-icon {
  transition: transform 0.3s ease;
}

.contact-form .input-box .send-btn:hover .btn-icon {
  transform: translateX(5px);
}

.result-container {
  margin-top: 20px;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.result-message {
  text-align: center;
  font-size: 1.1em;
  font-weight: 500;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
  padding: 15px;
  border-radius: 10px;
  margin: 0;
}

.result-message.show {
  opacity: 1;
  transform: translateY(0);
}

.result-message.success {
  color: #00cc66;
  background: rgba(0, 204, 102, 0.1);
  border: 1px solid rgba(0, 204, 102, 0.2);
}

.result-message.error {
  color: #cc0000;
  background: rgba(204, 0, 0, 0.1);
  border: 1px solid rgba(204, 0, 0, 0.2);
}

/* Loading animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Success animation */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.success-animation {
  animation: slideInUp 0.6s ease-out;
}

/* Footer */
.footer {
  background: #000016;
  color: #fff;
  text-align: center;
  padding: 2em;
}

.footer .footer-title {
  font-size: 20px;
  font-weight: 600;
}

.footer p {
  font-size: 16px;
  margin-top: 10px;
}

.footer p a {
  color: #3a6cf4;
  font-weight: 600;
  text-decoration: none;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.footer-logo {
  width: 120px;
  height: auto;
  display: block;
  margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .contact .content .row {
    justify-content: center;
  }
  
  .contact .content .row .card {
    width: 250px;
    margin: 8px;
  }
}


@media (max-width: 480px) {
  .contact .content .row .card {
    padding: 20px;
  }
  
  .contact .content .row .card .contact-icon {
    font-size: 3em;
  }
  
  .contact-form {
    padding: 20px 15px;
  }
}
/* Scroll to Top Button */
.scrollToTop-btn {
  z-index: 999;
  position: fixed;
  background: #3a6cf4;
  color: #fff;
  width: 45px;
  height: 45px;
  right: 0;
  bottom: 10px;
  font-size: 22px;
  text-align: center;
  line-height: 45px;
  border-radius: 3px;
  cursor: pointer;
  pointer-events: none;
  opacity: 0;
  transition: all 0.3s ease;
}

.scrollToTop-btn.active {
  right: 20px;
  opacity: 1;
  pointer-events: auto;
}

/* Reveal Animation */
.reveal {
  position: relative;
  transform: translateY(50px);
  opacity: 0;
  transition: all 1.5s ease;
}

.reveal.active {
  transform: translateY(0);
  opacity: 1;
}

/* Media Queries for Responsive Design */
@media (max-width: 340px) {
  .container {
    margin-inline: 1rem;
  }

  .card__data {
    width: 250px;
    padding: 1rem;
  }
}