body {
  margin: 0;
  overflow-x: hidden;
  background:black;
}
.curve {
    width: 30%;
    margin-left: 81%;
    margin-top: -3.5%;
}
.logo {
  margin-top: 7px;
}

#name {
  color: #16b1b5;
  margin-right: 40%;
}

.navbar {
  color: white;
  width: 90%;
  height: 60px;
  background-color: rgb(0, 0, 0);
  border-radius: 7px;
  margin-left: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between; /* logo left, links right */
  z-index: 9999999;
  margin-top: 1%;
  padding-top: 16px;
  padding-bottom: 16px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  box-sizing: border-box;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 1);
  border-color: #113D5C;
}

.desktop-nav {
  display: inline-flex;
  gap: 30px;
  margin-right: 30px;
}

.desktop-nav a {
  font-weight: bold;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: white;
  text-decoration: none;
  font-size: 18px;
  transition: color 0.3s;
}

.desktop-nav a:hover {
  color: #16b1b5;
}
/*section footer*/
.div-block-65 {
    grid-column-gap: 48px;
    grid-row-gap: 48px;
    flex-flow: row;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 24px;
    display: flex
;
}
.div-block-66 {
    flex-flow: column;
    flex: 1;
    justify-content: space-between;
    align-self: stretch;
    align-items: flex-start;
    display: flex
;
}
.div-block-33 {
  
    flex-flow: column;
    justify-content: flex-start;
    align-items: flex-start;
    display: flex
;
}
.div-block-45 {
  margin-top: 4%;
  margin-left: 30%;
    grid-column-gap: 250px;
    grid-row-gap: 64px;
    justify-content: center;
    align-items: flex-start;
    display: flex
;
}
.div-block-45 a {
text-decoration: none;
}
.menu-itm-head {
    color: #16b1b5;
    font-family: Sora, sans-serif;
    font-weight: 700;
}
.menu-itm-heads {
    color: #16b1b5;
    font-family: Sora, sans-serif;
    font-weight: 700;
    margin-bottom: 30%;
}
.meni-tem-txt {
  line-height: 50px;
  gap: 30px;
    color: #fffaf2;
    font-family: Sora, sans-serif;
    text-decoration: none;
}

.logos img {
  display: inline-block;
    margin-top: 120px;
    margin-left: 5%;
    width: 100px;
    height: 100px;
}
#names {
    color: #16b1b5;
    margin-left: 13%;
    margin-top: -6%;
font-size: 40px;
font-family: Georgia, 'Times New Roman', Times, serif;
font-weight: bold;
}
#introps {
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.25rem;
    text-align: justify;
    line-height: 150%;
    margin-left: 12.5%;
    margin-top: -2%;
    font-weight: lighter;
}
 @import url("https://fonts.googleapis.com/css?famiyl=Poppins:200,300,400,500,600,700,800,900&display=swap");
*
#pro {
  font-size: 80px;
  color: #16b1b5;
  margin-top: -20%;
  margin-left: 35%;
  font-family: Arial, Helvetica, sans-serif;
}
.pcontain {
  margin-top: -5%;
 gap: 200px;
  display: inline-block;

}
.card {
  margin-left: 12%;
  position: relative;
  width: 600px;
  height: 370px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.5s;
  transition-delay: 0.5s;
}
.card:hover {
  width: 600px;
  transition-delay: 0.5s;
}
.card .circle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.card .circle::before {
  content: "";
  position: absolute;
  top: 30;
  left: 2;
  right: 2;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: #191919;
  border: 8px solid var(--clr);
  filter: drop-shadow(0 0 10px var(--clr)) drop-shadow(0 0 60px var(--clr));
  transition: 0.5s, background 0.5s;
  transition-delay: 0.75s, 1s;
}
.card:hover .circle::before {
  transition-delay: 0.5s;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background: var(--clr);
}
.card .circle .logo {
  background-color: black;
  position: relative;
  width: 350px;
  transition: 0.5s;
  transition-delay: 0.5s;
}
.card:hover .circle .logo {
  transform: scale(0);
  transition-delay: 0s;
}
.card .product_img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0) rotate(315deg);
  height: 300px;
  transition: 0.5s ease-in-out;
}
.card:hover .product_img {
  transition-delay: 0.75s;
  top: 50%;
  left: 80%;
  height: 350px;
  transform: translate(-50%, -50%) scale(1) rotate(1deg);
}
.card .content {
  position: absolute;
  width: 50%;
  left: 20%;
  padding: 20px 20px 20px 20px;
  opacity: 0;
  transition: 0.5s;
  visibility: hidden;
}
.card:hover .content {
  transition-delay: 0.75s;
  opacity: 1;
  visibility: visible;
  left: 20px;
}
.card .content h2 {
  
  text-transform: uppercase;
  font-size: 2.5em;
  line-height: 1em;
}
.card .content p {
  color: #fff;
}
.card .content a {
  position: relative;
  color: #111;
    background: #16b1b5;
 
  padding: 10px 20px;
  border-radius: 10px;
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  margin-top: 10px;
  
}
.circle {
    color: #111;

    border: 2px solid #16b1b5;
}
h2 {
  display: inline-block;
  width: 800px;
  color: #16b1b5;
    margin-top: -10%;
}
p {
     margin-top: -3%;
}
/* 2ND CARD */
.cards {
  margin-left : 125%;
  margin-top: -62%;
  position: relative;
  width: 600px;
  height: 370px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.5s;
  transition-delay: 0.5s;
}
.cards:hover {
  width: 600px;
  transition-delay: 0.5s;
}
.cards .circle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.cards .circle::before {
  content: "";
  position: absolute;
  top: 30;
  left: 2;
  right: 2;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: #191919;
  border: 8px solid var(--clr);
  filter: drop-shadow(0 0 10px var(--clr)) drop-shadow(0 0 60px var(--clr));
  transition: 0.5s, background 0.5s;
  transition-delay: 0.75s, 1s;
}
.cards:hover .circle::before {
  transition-delay: 0.5s;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background: var(--clr);
}
.cards .circle .logos {
  background-color: black;
  position: relative;
  width: 350px;
  transition: 0.5s;
  transition-delay: 0.5s;
}
.cards:hover .circle .logos {
  transform: scale(0);
  transition-delay: 0s;
}
.cards .products_img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0) rotate(315deg);
  height: 300px;
  transition: 0.5s ease-in-out;
}
.cards:hover .products_img {
  transition-delay: 0.75s;
  top: 50%;
  left: 75%;
  height: 400px;
  transform: translate(-50%, -50%) scale(1) rotate(1deg);
}
.cards .content {
  position: absolute;
  width: 50%;
  left: 20%;
  padding: 20px 20px 20px 20px;
  opacity: 0;
  transition: 0.5s;
  visibility: hidden;
}
.cards:hover .content {
  transition-delay: 0.75s;
  opacity: 1;
  visibility: visible;
  left: 20px;
}
.cards .content h2 {
  
  text-transform: uppercase;
  font-size: 2.5em;
  line-height: 1em;
}
.cards .content p {
  color: #fff;
}
.cards .content a {
  position: relative;
  color: #111;
  background: #16b1b5;
  padding: 10px 20px;
  border-radius: 10px;
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  margin-top: 10px;
  
}
.circle {
    color: #111;

    border: 2px solid #16b1b5;
}
h2 {
  width: 260px;
    color: #16b1b5;
    margin-top: -10%;
}
p {
     margin-top: -3%;
}
 


#margin {
  margin-top: 7%;
}
.mobile-menu{
  display: none;
}
.mobile-projects {
  display: none;
}
@media (max-width: 768px) {

  body {
      margin: 0;
  overflow-x: hidden;
  background:black;
  
  }
  .curve {

    display: none;
    width: 60%;
    margin-left: 65%;
    margin-top: 2%;
  }
  

    .desktop-nav {
    display: none;
  }

  .navbar {
       border: 1px solid #16b1b5;
    background-color: rgb(27, 25, 25);
    max-width: 90%;
    margin-left: 5%;
    margin-top: 2%;
    padding: 5px;
    border-radius: 6px;

    display: flex;
    flex-direction: column; /* stack logo, name, menu, links */
    align-items: center;
    height: auto; /* allow stretch */
  }

  .logo img {
    margin-top: -15%;
    margin-left: -230%;
    height: 60px;
  }

  #name {
     margin-left: 10%;
     margin-top: -14%;
    font-size: 18px;
    color: #16b1b5;
    text-align: center;
  }

  /* Mobile menu toggle */
  .mobile-menu {
    display: inline-block;
    width: 100%;
    text-align: center;
  }

  .menu-icon {
     color: #16b1b5;
    margin-left: 90%;
    margin-top: -15%;
    font-size: 26px;
    cursor: pointer;
  
    list-style: none;
    user-select: none;
    padding: 10px 0;
    display: block;
  }

  /* Remove default arrow */
  .menu-icon::-webkit-details-marker {
    display: none;
  }

  /* Links inside same navbar */
  .mobile-menu .navlinks {
    display: none;
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
    padding: 10px 0;
    width: 100%;
    text-align: center;
  }

  .mobile-menu[open] .navlinks {
    display: flex;
    animation: slideDown 0.3s ease;
  }

  .mobile-menu .navlinks a {
    font-size: 16px;
    color: white;
    text-decoration: none;
  }

  .mobile-menu .navlinks a:hover {
    color: #16b1b5;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
#pro {
  font-size: 40px;
  color: #16b1b5;
  margin-top: 30%;
  margin-left: 22%;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

 :root {
  --electric-border-color: #16b1b5;
  --electric-glow-color: rgba(22, 177, 181, 0.8);
}

/* Hide scrollbars but keep scroll behavior */
.mobile-projects {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 15px;
  padding: 10px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.mobile-projects::-webkit-scrollbar {
  display: none;
}

/* ==== Project Card ==== */
.project-card {
  position: relative;
  flex: 0 0 auto;
  width: 300px;
  height: 400px;
  background: #1b1919;
  border-radius: 15px;
  padding: 15px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  transition: transform 0.3s, box-shadow 0.4s ease;
  border: 2px solid transparent;
  z-index: 1;
  isolation: isolate;
}

/* === Glowing electric border === */
.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 15px;
  padding: 2px;
  background: linear-gradient(
    135deg,
    #16b1b5,
    #0ff,
    #16b1b5,
    #00f0ff
  );
  background-size: 300% 300%;
  animation: electricGlow 4s linear infinite;
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
}

/* === Outer blur glow === */
.project-card::after {
  content: "";
  position: absolute;
  margin-top: -30%;
  inset: -6px;
  border-radius: 20px;
  background: radial-gradient(circle, var(--electric-glow-color) 0%, transparent 70%);
  filter: blur(10px);
  opacity: 0.6;
  z-index: -2;
  transition: opacity 0.4s ease;
}

/* Hover: amplify glow */
.project-card:hover {
  transform: scale(1.05);
}

.project-card:hover::after {
  opacity: 1;
}

/* Electric animation */
@keyframes electricGlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Text and layout */
.project-card h3 {
  font-size: 1.2em;
  margin: 10px 0 5px 0;
}

.project-card p {
  padding-top: 10px;
  font-size: 0.9em;
  flex-grow: 1;
}

/* Button */
#bu {
  position: relative;
  color: #111;
  background: #16b1b5;
  padding: 10px 20px;
  border-radius: 10px;
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  margin-top: 0;
}

/* Hide horizontal rules */
hr {
  display: none;
}

/* Hide horizontal rules */
hr {
  display: none;
}

  /* Optional hover effect */
  .project-card:hover {
    transform: scale(1.05);
  }
  /* Footer */
  .div-block-45 {
    flex-direction: row;
    gap: 30px;
    
    margin: 30px 0;
    margin-left: 0;
    margin-top: 20%;
  }
.div-block-45 a {
text-decoration: none;
}
  .logos img {
    margin-left: 12%;
    margin-top: 5%;
    display: inline-block;
    width: 80px;
    height: 80px;
  }

  #names {
    margin-top: -15%;
    text-align: center;
    font-size: 37px;
  }

  #introps {
    margin-top: -5%;
    margin-left: 2%;
    text-align: center;
    font-size: 1rem;
  }


  /* Default (desktop) styles - keep your existing ones */

/* Mobile version */

  .pcontain {
    display: none;
    flex-direction: column; /* stack cards vertically */
    gap: 20px; /* spacing between cards */
    align-items: center; /* center cards */
  }

 .image-box {
  display: flex;
 }
}