/* Base styles and resets */
:root {
  /* --primary-bg: #00010f; */
  --secondary-bg: #202337;
  --text-color: #ffffff;
  --accent-gradient: linear-gradient(90deg, #BCEDB7, #8CA0FC);
  --border-radius: 20px;
  --transition-speed: 300ms;
}



canvas {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  /* Ensures it stays behind your content */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: var(--primary-bg);
}

body {
  /* background-color: var(--primary-bg); */
  /* background-color: white !important; */
  background: hsla(210, 79%, 5%, 1);

  background: linear-gradient(180deg, hsla(210, 79%, 5%, 1) 0%, rgb(7, 17, 34) 100%);


  /* filter: progid: DXImageTransform.Microsoft.gradient(startColorstr="#030E19", endColorstr="#0C2249", GradientType=1); */
  color: var(--text-color);
  font-family: 'Poppins', sans-serif;
}

/* Layout containers */
.home-main-box {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  min-height: 100vh;
}

.about-main-box,
.pp-main-box {
  margin-top: 122px;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

/* Profile image */
.home-image {
  width: 200px;
  border-radius: 75px;
  transition: transform var(--transition-speed);
}

.home-image:hover {
  transform: scale(1.05);
}

/* Typography */
.home-name {
  font-size: 30px;
  padding-top: 50px;
  font-weight: bold;
  margin-bottom: 0;
  color: var(--text-color);
}

.role-home {
  font-size: 18px;
  font-weight: bold;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0;
}

.country-home {
  font-size: 17px;
  padding-bottom: 10px;
  margin-bottom: 12px;
  color: var(--text-color);

}

.hash {
  color: rgba(130, 197, 226, 0.896);
  /* font-size: ; */
}

.jobs-home {
  color: rgba(255, 255, 255, 0.74);
}

/* Button styles */
.button-box {
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
  flex-direction: column;
  margin-top: 20px;
}

.first-two {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.first-two-links {
  background-color: var(--secondary-bg);
  color: rgba(255, 255, 255, 0.6) !important;
  font-weight: bold;
  font-size: 17px;
  border-radius: var(--border-radius);
  margin-bottom: 13px;
  width: 185px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--transition-speed);
}

.first-two-links:hover {
  color: white !important;
  transform: translateY(-5px);
}

.last-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: var(--border-radius);
  transition: all var(--transition-speed);
  background-color: var(--secondary-bg);
}

.last-link {
  width: 370px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  font-size: 17px;
  font-weight: bold;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  border-radius: var(--border-radius);
  transition: all var(--transition-speed);
}

.last-link:hover {
  color: #202337;
  background: var(--accent-gradient);
  transform: translateY(-5px);
  /* background-color: linear-gradient(90deg, #BCEDB7, #8CA0FC);; */

}

/* Content containers */
.margin-sides {
  text-align: center;
  padding: 0 20px;
  margin: 0 18px;
  width: fit-content;
  font-size: 20px;
  max-width: 1200px;
  color: var(--text-color);
}

/* Services listing */
.jobs-about {
  font-size: 19px;
  font-weight: bold;
  text-align: left !important;
  color: var(--text-color);

}

.service-item {
  text-align: left !important;
  padding: 5px 0;
  display: block;
  width: 100%;
}

.service-item i {
  margin-right: 10px;
  width: 20px;
  text-align: center;
  color: #306bec;
}

/* Style for the unordered list */
.services-list {
  list-style-type: none;
  /* Remove default bullets */
  padding-left: 0;
  /* Remove default padding */
  margin-bottom: 0;
  /* Remove default margin */
}

/* Style for each service item */
.services-list .service-item {
  display: flex;
  align-items: center;
  padding: 5px 0;
  margin-bottom: 5px;
}

/* Style for the icons */
.services-list .service-item i {
  margin-right: 10px;
  width: 20px;
  text-align: center;
  color: #306bec;
}

/* Style for h5 inside service items */
.services-list .service-item h5 {
  display: inline;
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
}

/* Form elements */
input,
textarea,
select {
  width: 350px;
  border: none;
  background-color: var(--secondary-bg);
  border-radius: var(--border-radius);
  color: white;
}

input {
  height: 48px;
  padding: 6px 10px 5px 15px;
}

textarea {
  padding: 15px 10px 5px 15px;
}

select {
  height: 45px;
  padding: 6px 35px 5px 15px !important;
  color: rgb(164, 157, 157);
}

select:focus {
  color: white;
}

form {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 15px;
}

/* Button variations */
.submit-contact {
  background: var(--accent-gradient);
  color: rgba(32, 35, 55, 0.84) !important;
}

.submit-contact:hover {
  color: #202337 !important;
}

button:hover {
  transform: translateY(-3px);
}

/* Project styles */
.project-name {
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 0;
}

.project-cat-title {
  border-left: 4px solid #306bec;
  /* border-top: 5px solid #306bec; */
  /* border-radius: 5px; */
  margin-top: 20px;
  padding-left: 25px;
  color: #BCEDB7;
  font-weight: bolder;
  font-size: 20px;
  text-align: left;
  margin-bottom: 10px;
}

.project-cat-items {
  padding-left: 20px;
  color: var(--text-color);
}


.ppte {
  text-align: left;
  margin-top: 4px;
  list-style: none;
}

.project-link {
  width: 108px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  padding: 0 10px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  background-color: rgba(242, 242, 244, 0.82) !important;
  color: transparent;
  border-radius: var(--border-radius);
}

#pl:hover {
  transform: none;
}

/* Project images */
.image-projects {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  margin-bottom: 22px;
}

.proj-img {
  width: 100%;
  max-width: 500px;
  height: auto;
}

#img-proj-1 {
  border-top-left-radius: 20px !important;
  border-bottom-left-radius: var(--border-radius);
}

#img-proj-2 {
  border-top-right-radius: var(--border-radius);
  border-bottom-right-radius: var(--border-radius);
}

/* Loading overlay */
#loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loader-container {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.loader {
  width: 80px;
  height: 80px;
  border: 6px solid rgba(0, 0, 0, 0.1);
  border-top-color: #3498db;
  border-radius: 50%;
  animation: spin 1.2s linear infinite;
  position: relative;
}

.loader::before {
  content: "";
  position: absolute;
  top: -12px;
  left: -12px;
  right: -12px;
  bottom: -12px;
  border: 6px solid transparent;
  border-top-color: #3498db;
  border-radius: 50%;
  opacity: 0.5;
  filter: blur(8px);
  animation: spin 2s linear infinite;
}

.loader::after {
  content: "";
  position: absolute;
  top: -18px;
  left: -18px;
  right: -18px;
  bottom: -18px;
  border: 6px solid transparent;
  border-top-color: #3498db;
  border-radius: 50%;
  opacity: 0.3;
  filter: blur(12px);
  animation: spin 3s linear infinite reverse;
}

.loader-text {
  margin-top: 25px;
  color: #555;
  font-size: 16px;
  font-weight: 500;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px !important;
}

::-webkit-scrollbar-track {
  background: #f1f1f1 !important;
}

::-webkit-scrollbar-thumb {
  background: #306bec !important;
}

::-webkit-scrollbar-thumb:hover {
  background: #1c4bb0 !important;
}

/* Firefox scrollbar */
* {
  scrollbar-width: thin !important;
  scrollbar-color: #306bec #f1f1f1 !important;
}

/* Responsive design */
@media screen and (max-width: 1018px) {

  #img-proj-1,
  #img-proj-2 {
    border-radius: var(--border-radius);
  }
}

@media screen and (max-width: 377px) {

  input,
  textarea {
    width: 330px;
  }

  select {
    width: 360px;
  }

  .first-two-links {
    width: 178px;
  }

  .last-link {
    width: 363px;
  }
}

@media screen and (max-width: 360px) {
  .first-two-links {
    width: 175px;
  }

  .last-link {
    width: 360px;
  }

  select {
    width: 357px;
  }
}

@media screen and (max-width: 350px) {
  .first-two-links {
    width: 160px;
  }

  .last-link {
    width: 357px;
  }

  select {
    width: 354px;
  }
}

.pasan-name {
  color: var(--text-color);
}

#project-further {
  font-size: 20px;
  font-weight: bold;
  background: linear-gradient(90deg, #BCEDB7, #8CA0FC);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  cursor: pointer;
  list-style: none;
  /* text-decoration: none; */
}

.nav-cus {
  padding: 15px 0 15px 0 !important;
  border-radius: 70px !important;
}

.nav-ul-cus {
  justify-content: center;
}


.btn-nav-e {
  margin-right: 15px !important;
}

.nav-ul {
  gap: 20px !important;
  font-weight: 600;
}

.nav-ul li:hover {
  border-bottom: 3px solid white;
  transition: all ease-in-out 400ms;
}

.hero {
  width: auto;
  height: 100vh;
  background-image: url(../img/windows-11-waves-3840x2400-20751.png);
  background-size: cover;
  background-repeat: no-repeat;
}