.services-section {
    position: relative; 
    top:100px;
    width: 100%;
    background-color: #252734;
    padding: 40px 20px 20px 0; 
    height: 200px;
    z-index: 111;
}

 .service-text {
   position: relative;
    margin: 0 auto;
    text-align: center;
    width: 300px;
    margin-top: 100px;
   
 }
 h1 {
    color: #ffffff;
    font-size: 70px;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    white-space: nowrap;
 }
 .border-text {
    display: flex;
    position: relative;
    left: -50px;
    padding: 20px 40px;
    background-color: #2a2c39;
    border-radius: 40px;
    gap: 20px;
        font-size: 18px;
     font-family: 'Inter', sans-serif;
     white-space: nowrap;
     margin-left: 90px;
 }
  .border-text span {
    color: #76867e;
  }
  .border-text p {
    color: #76867e;
    font-size: 14px;
    transition: 0.3s ease-in-out;
  }
  h5 {
    color:#ffffff;
  }
  
 .border-text a {
    text-decoration: none;
  
 }
.border-text p:hover {
    color: #fff;
  }

                                  /* PROJECTS CSS HERE */

.title-project-query {
    position: relative;
    top: 150px;
    left: 0;
    width: 70%;
    margin: auto;
    height: 100px;
}


                         
 .filters {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 20px;
            margin-top: 30px;
        }
        
        .filter-btn {
            padding: 12px 24px;
            background-color: #ecf0f1;
            border: none;
            border-radius: 30px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s ease;
            color: #34495e;
        }
        
        .filter-btn:hover {
            background-color: #3498db;
            color: white;
        }
        
        .filter-btn.active {
            background-color: #2c3e50;
            color: white;
        }


.project-section {
    margin-top: 270px;
    width: 100%;
    height: 3250px;
    background-color: #2a2c39;
}  
  .boxes{
    position: relative;
    top: 150px;
    width: 70%;
    margin: auto;
    height: 80%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 28px;
}    


.projects-box {
    width: 100%;
    background-color: #252734;
}

.box {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.4s, transform 0.4s;
  will-change: opacity, transform;
  display: block;
}

.box.hide {
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
}

.box.show {
  opacity: 1;
  transform: scale(1);
  animation: fadeInScale 0.4s;
}
.image-link {
    width: 80%;
    margin-left: 50px;
    margin-top: 50px;
    height: 470px;
}

.project1-image {
    border-radius: 12px;
    margin: auto;
    width: 100%;
    height: 100%;
    object-fit: 90%;
}

.latest-updates {
  width: 100%;
  height: 300px;
}

.updates-header {
  width: 30%;
  height: 70px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 10px;
}
.updates-header h3 {
  font-size: 16px;
  color: darkgray;  
  font-family: 'Inter', sans-serif;
}
.updates-header span {
  margin-top: -4px;
  color: darkgray;
  font-size: 20px;
  font-weight: bold;
}

.update-contact {
  margin-top: 20px;
  width: 80%;
  height: 200px;
  margin: auto;
  display: flex;
}

.num {
  width: 30%;
  height: 100%;
  display: flex;
}

.num i {
  border: 0.5px solid #76867e;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 25px;
  color: #fff;
  transition: 0.3s ease-in-out;
  margin-left: 20px;
  margin-top: 60px;
}

.num i:hover {
  border: none;
  background-color: #fff;
  color: #000;
  transform: scale(1.1);
}
.num span {
  color: #fff;
  margin-top: 85px;
  margin-left: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 20px;
}


.num2 {
  width: 40%;
  height: 100%;
  display: flex;
}
.num2 a {
  text-decoration: none;
}

.num2 i {
  border: 0.5px solid #76867e;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 25px;
  color: #fff;
  transition: 0.3s ease-in-out;
  margin-left: 20px;
  margin-top: 60px;
}

.num2 i:hover {
  border: none;
  background-color: #fff;
  color: #000;
  transform: scale(1.1);
}
.num2 span {
  color: #fff;
  margin-top: 85px;
  margin-left: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 20px;
}

.num .num-email {
  color: #fff;
  margin-top: 85px;
  margin-left: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
}
.icons-email-update {
  width: 30%;
  margin-left: 120px;
  height: 100%;
  display: flex;
  gap: 15px;
}

.icons-email-update i {
  border: 0.5px solid #76867e;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  color: #fff;
  transition: 0.3s ease-in-out;
  margin-left: 27px;
  margin-top: 70px;
}

.icons-email-update i:hover {
  border: none;
  background-color: #fff;
  color: #000;
  transform: scale(1.1);
}
.icons-email-update a {
  text-decoration: none;
}

.service-footer {
  overflow: hidden;
  width: 100%;
  height: 100px;
  border: 0.1px solid gray;
  border-left: none;
  border-right: none;
}

.service-logo {
  width: 200px;
  height: 200px;
}
.service-content-footer {
  display: flex;
  align-items: center;
  justify-content: space-around;
  position: relative;
  top: 0;
  left: 0;
}
.service-content-footer a {
  text-decoration: none;
}
.service-content-footer p {
  color: gray;
  font-family: 'inter', sans-serif;
  font-size: 17px;
  position: absolute;
  top: 50px;
  left: 90px;
}
.service-content-footer span {
  color: #37bd54;
}

.service-logo {
  position: absolute;
  right: 100px;
  top: -50px;
}


.scroll-to-top-service {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color:#252734;
  border: 1px solid rgb(73, 68, 68);
  color: #fff;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  display: nosne;
  transition: transform 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
  width: 60px;
  height: 60px;
}

.scroll-to-top-service h1 {
  font-size: 24px;
  margin-top: 4px;
}

.scroll-to-top-service:hover {
  transform: translateY(-1px);
  box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}

.header-project {
  color: #fff;
  text-align: center;
  font-family: 'inter', sans-serif;
  font-size: 50px;
  position: relative;
  left: 0;
  top: 100px;
}
.div-title {
  position: relative;
  top: 20px;
  margin: auto;
  width: 80%;
  height: 100px;
   text-align: center;
   line-height: 40px;
}
.div-title h4 {
  color: #fff;
  font-size: 25px;
  font-family: 'inter', sans-serif;
}
.div-title span {
  color: darkgray;
}

.booklist {
  white-space: nowrap;
}
.calculator {
   white-space: nowrap;
}
#weather {

  width: 80%;
  margin: auto;
  height: 470px;
  margin-top: 50px;
  margin-left: 45px;
}

.downloadCode {
  background-color: transparent;
  position: relative;
  top: 30px;
  left: 280px;
  text-decoration: none;
  color: #ffff;
  border: 1px solid lightgray;
  padding: 12px 24px;
  border-radius: 100px;
  transition: 0.3s ease-in-out;
}
.downloadCode a {
  text-decoration: none;
  color: #76867e;
  font-family: 'inter', sans-serif;
  font-size: 14px;
}
.downloadCode:hover {
  color: #9ba7a1;
  background: #34495e;
  border: 1px solid rgb(231, 219, 219);
}
.div-notification {
  background: #252734;
  position: relative;
  top: 200px;
  left: 380px;
  width: 600px;
  height: 140px;
  padding-top: 40px; 
   border-radius: 14px;
   padding-left: 20px;
   padding-right: 20px;
}
.div-notification h3 {
  color: gray;
  font-family: 'inter', sans-serif;
  font-size: 16px;
}

.box.projects-box {
  transition: 0.3s ease-in-out;
  cursor: pointer;
}
.box.projects-box:hover {
  margin-top: -10px;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}


 /* Spider web overlay (non-interactive) */
#spider-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* never intercept clicks */
  z-index: 9999;
  overflow: visible;
}
#spider-overlay line,
#spider-overlay path {
  stroke: rgba(255,255,255,0.14);
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.45));
  mix-blend-mode: screen;
  will-change: stroke-dashoffset, opacity;
}
#spider-overlay .web-group {
  opacity: 1;
  transition: opacity 900ms ease 4s; /* fade out after draw completes */
}
#spider-overlay .web-hidden {
  opacity: 0;
}



 /* Back to Top Button Styles */
        .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #2f2c31 0%, #222324 100%);
            color: white;
            border: none;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 20px rgba(137, 135, 139, 0.4);
            opacity: 0;
            visibility: hidden;
            transform: translateY(20px);
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            z-index: 1000;
        }
        
        .back-to-top.visible {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }
        
        .back-to-top:hover {
            transform: translateY(-5px);
            box-shadow: 0 6px 25px rgba(30, 28, 32, 0.6);
        }
        
        .back-to-top:active {
            transform: translateY(0);
        }
        
        .back-to-top svg {
            width: 24px;
            height: 24px;
            fill: white;
            transition: transform 0.3s ease;
        }
        
        .back-to-top:hover svg {
            transform: translateY(-3px);
        }

















@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* @keyframes fadeInScale { from { transform: scale(1); } to { transform: scale(1.1); } } */
