* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  scroll-behavior: smooth;
  font-family: "Poppins", sans-serif;
}

html,
body {
  overflow-x: hidden;
  overflow-y: scroll; 
}

/* Hide scrollbar but allow scrolling */
body {
  -ms-overflow-style: none;  /* IE, Edge */
  scrollbar-width: none;     /* Firefox */
}

/* for Chrome, Edge, Safari */
body::-webkit-scrollbar {
   display: none; /* Chrome, Safari */
}

.header {
  z-index: 1;
  text-align: center;
  color: #fff;
  position: absolute;
  font-family: "Rubik", sans-serif;
  width: 80%;
  top: 50%;
  left: 50%;
  margin: 0 auto;
  max-width: 95%;
  padding: 0 10px;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.header .site-title {
  font-family: "Great Vibes", cursive;
  font-size: 60px;
  color: #fff;
  text-align: center;
  letter-spacing: 1px;
}

@media only screen and (min-width: 550px) {
  .header .site-title {
    margin: 0;
    font-size: 85px;
  }
}

.site-excel-at {
  font-size: 18px;
  margin-top: 10px;
  color: #aad4ff;
  font-weight: 500;
}

.header .site-description {
  font-size: 20px;
  display: block;
  line-height: 1.4;
  color: #fff;
  margin-top: 10px;
  font-weight: 400;
  letter-spacing: 0.5px;
}

@media only screen and (min-width: 550px) {
  .header .site-description {
    font-size: 22px;
  }
}

.header-links {
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  margin-top: 20px;
}

.header-links .link {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  margin: 10px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.header-links .link:hover {
  color: #aad4ff;
}

@media only screen and (min-width: 550px) {
  .header-links .link {
    font-size: 20px;
  }
}

.header-icons {
  display: flex;
  justify-content: center;
  text-align: center;
}

.down,
.header-icons .icon {
  color: #fff;
  text-align: center;
}

.header-icons .icon {
  height: 60px;
  width: 60px;
  border-radius: 50%;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: #fff;
  margin: 8px;
  transition: all 0.3s ease;
  padding: 0;
  /* make sure there's no extra padding */
  box-sizing: border-box;
  /* ensures borders don’t add extra space */
}

.header-icons .icon:active,
.header-icons .icon:hover {
  color: #1488cc;
  background: #fff;
}

@media screen and (max-width: 500px) {
  .header-icons .icon {
    height: 40px;
    width: 40px;
    font-size: 28px;
  }
}

#particles-js {
  background: #1f2224;
  display: flex;
  width: 100%;
  height: 100vh;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

#particles-js .particles-js-canvas-el {
  position: absolute; /* overlay the section */
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100vh !important;
}

.down {
  position: absolute;
  bottom: 25px;
  width: 100%;
  text-align: center;
  cursor: pointer;
}

.down-arrow:hover {
  color: #2c3e50;
}

.down-arrow {
  font-size: 30px;
  animation: downBlink 1.5s infinite ease-in-out;
}

@keyframes downBlink {

  0%,
  100% {
    opacity: 1;
    transform: translateY(0);
  }

  50% {
    opacity: 0.3;
    transform: translateY(10px);
    /* move down 10px */
  }
}

/* navbar styling */
nav {
  position: fixed;
  width: 100%;
  padding: 20px 0;
  z-index: 998;
  font-family: "Ubuntu", sans-serif;
  background-color: rgba(31,
      34,
      36,
      0.95);
  /* match #1f2224 with slight transparency */
  color: #f0f0f0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  /* subtle shadow for separation */
  backdrop-filter: blur(4px);
  /* elegant glass-like effect */
  transition: all 0.3s ease;
}

nav.sticky {
  background: #4070f4;
  padding: 13px 0;
}

nav .navbar {
  width: 90%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: auto;
}

nav .navbar .logo a {
  font-weight: 500;
  font-size: 20px;
  color: #fbfafa;
}

nav.sticky .navbar .logo a {
  color: #fff;
}

nav .navbar .menu {
  display: flex;
  position: relative;
}

nav .navbar .menu li {
  list-style: none;
  margin: 0 8px;
}

.navbar .menu a {
  font-size: 18px;
  font-weight: 500;
  color: #fbfafa;
  padding: 6px 0;
  transition: all 0.4s ease;
}

.menu a.active-page {
  border-bottom: 2px solid #4070f4;
  padding-bottom: 2px;           
  transition: all 0.3s ease;
}

.navbar .menu a:hover {
  color: #4070f4;
}

nav.sticky .menu a {
  color: #fff;
}

nav.sticky .menu a:hover {
  color: #0e2431;
}

.navbar .media-icons a {
  color: #4070f4;
  font-size: 18px;
  margin: 0 6px;
}

nav.sticky .media-icons a {
  color: #fff;
}

/* Side Navigation Menu Button CSS */
nav .menu-btn,
.navbar .menu .cancel-btn {
  position: absolute;
  color: #fff;
  right: 30px;
  top: 20px;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: none;
}

nav .menu-btn {
  color: #4070f4;
}

nav.sticky .menu-btn {
  color: #fff;
}

.navbar .menu .menu-btn {
  color: #fff;
}

@media (max-width: 768px) {
  nav {
    padding: 10px 0;
    background: rgba(31, 34, 36, 0.95);
    width: 100vw;
  }

  nav .navbar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  nav .menu-btn {
    display: block;
    font-size: 24px;
    cursor: pointer;
  }

  /* Hide menu by default */
  nav .navbar .menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 0;
    background: rgba(31, 34, 36, 0.95);
    width: 100%;
    padding: 20px 0;
    text-align: center;
    z-index: 999;
  }

  /* Show menu when active */
  nav .navbar .menu.active {
    display: flex;
  }

  nav .navbar .menu li {
    margin: 15px 0;
  }
}

.site-excel-at{
line-height: 1.7;
}

/* About Section Styling */
.title span {
  font-family: "Poppins", sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #4070f4;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}

.title span::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: #4070f4;
}

.about .content {
  max-width: 1100px;
  margin: auto;
  padding: 40px 20px;
}

.about-details {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
}

.about-details .left img {
  width: 250px;
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.about-details .right {
  flex: 1;
}

.about .topic {
  font-size: 23px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #4070f4;
}

.about-section .intro {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 25px;
  color: #444;
  letter-spacing: 0.3px;
  /* Reduced from too much */
}

.box-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 15px;
}

.box {
  background: #f7f9fc;
  border-left: 4px solid #4070f4;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.07);
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.box .icon {
  font-size: 22px;
  color: #4070f4;
  margin-top: 3px;
}

.box span {
  font-weight: 600;
  color: #333;
  font-size: 15px;
}

.row-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.row-box .icon {
  margin-top: 5px;
  font-size: 20px;
  color: #4070f4;
}

.row-box .text p {
  margin: 4px 0;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .box-container {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .box {
    width: calc(50% - 10px);
  }
}

.box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

section .button button {
  outline: none;
  padding: 10px 20px;
  border-radius: 30px;
  /* Rounded pill shape */
  font-size: 18px;
  font-weight: 500;
  background: linear-gradient(135deg, #4070f4, #6a8eff);
  color: #fff;
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

section .button button:hover {
  transform: scale(1.05);
  background: #fff;
  color: #4070f4;
  border: 2px solid #4070f4;
}

/* Projects Section Styling */
#projects {
  padding: 60px 20px;
  color: #fff;
  background-color: #f1f3f6; 
  text-align: center;
  font-family: "Poppins", sans-serif;
}

#projects .section-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #4070f4;
  margin-bottom: 40px;
  position: relative;
  text-transform: uppercase;
}

#projects .section-title::after {
  content: "";
  width: 80px;
  height: 3px;
  background: #4070f4;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px;
}

.projects-container {
  display: grid;
  /* grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); */
  grid-template-columns: repeat(2, 1fr);
  /* 2 projects per row */
  gap: 30px;
  max-width: 1100px;
  margin: auto;
}

@media (max-width: 768px) {
  .projects-container {
    grid-template-columns: 1fr;
    /* stack on smaller screens */
  }
}

.project-card {
  position: relative;
  overflow: hidden;
  padding: 25px;
  min-height: 320px;
  /* Increased from default */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #08081a;
}

.project-card img {
  width: 100%;
  height: auto;         
  max-height: 280px;       
  object-fit: contain;     
  border-radius: 10px;
  background: #000;    
}

.project-info {
  position: absolute;
  bottom: -100%;
  left: 0;
  right: 0;
  padding: 20px;
  background: rgba(0, 0, 0, 0.85);
  transition: bottom 0.4s ease;
  text-align: center;
}

.project-info h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #FFFFFF;
}

.project-info a {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 25px;
  background: #4070f4;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: background 0.3s ease;
}

.project-info a:hover {
  background: #2c50c0;
}

.project-tech {
  font-size: 1 rem;
  color: #60A5FA;
  margin: 5px 0;
}

.project-desc {
  font-size: 0.95rem;
  color: #d1d5db;
  margin-bottom: 10px;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

/* .project-card:hover img {
  transform: scale(1.1);
} */

.project-card:hover .project-info {
  bottom: 0;
}

.project-btn {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 25px;
  background: #4070f4;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.project-btn:hover {
  background: #2c50c0;
}

/* Disabled / Private */
.project-btn.disabled {
  background: #555;
  cursor: not-allowed;
  opacity: 0.8;
}

.project-btn.disabled:hover {
  background: #555;
}

/* Experience Section Styling */
#experience {
  background-color: #1f2224;
  padding: 60px 20px;
  color: #fff;
  font-family: "Poppins", sans-serif;
}

#experience .section-title {
  text-align: center;
  font-size: 2.8rem;
  font-weight: 700;
  color: #4070f4;
  margin-bottom: 50px;
  position: relative;
  text-transform: uppercase;
}

#experience .section-title::after {
  content: "";
  width: 80px;
  height: 3px;
  background: #4070f4;
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.experience-container {
  max-width: 1000px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.experience-card {
  background-color: #0b0423;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.experience-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.experience-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.experience-card h3 {
  font-size: 1.3rem;
  color: #61dafb;
}

.experience-card h4 {
  font-size: 1rem;
  color: #fdd835;
  margin: 10px 0;
}

.experience-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #ccc;
}

/* Contact Us Section Styling */
.contact-section {
  background: #ffffff;
  padding: 40px 20px 20px;
  font-family: "Poppins", sans-serif;
}

.contact-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  /* space between left and right */
  border-radius: 16px;
  padding: 20px;
}

.contact-heading {
  text-align: center;
  margin-bottom: 30px;
}

#contact .section-title {
  text-align: center;
  font-size: 2.8rem;
  font-weight: 700;
  color: #4070f4;
  margin-bottom: 10px;
  position: relative;
  text-transform: uppercase;
}

#contact .section-title::after {
  content: "";
  width: 80px;
  height: 3px;
  background: #4070f4;
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.subtext-wrapper {
  max-width: 710px;
  margin: 20px auto 0 auto;
}

.section-subtext {
  font-size: 15px;
  font-weight: bolder;
  color: #4070f4;
  margin-bottom: 20px;
  line-height: 1.5;
  text-align: center;
}

.contact-left,
.contact-right {
  flex: 1;
  background: #121212;
  color: #fff;
  padding: 30px;
  border-radius: 12px;
  min-width: 300px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

/* Left section */
.contact-left h2 {
  font-size: 26px;
  color: #03a9f4;
  margin-bottom: 20px;
}

.contact-left h3 {
  font-size: 16px;
  color: #90caf9;
  margin-bottom: 20px;
  line-height: 1.6;
}

.contact-left p {
  font-size: 14px;
  margin: 12px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #e0e0e0;
}

.social-section {
  margin-top: 30px;
}

.social-section h3 {
  font-size: 16px;
  color: #90caf9;
  margin-bottom: 10px;
}

.contact-icon {
  background: #03a9f4;
  color: white;
  border-radius: 50%;
  padding: 6px;
  font-size: 16px;
  width: 28px;
  height: 28px;
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease;
}

.contact-icon:hover {
  background: #0288d1;
  transform: scale(1.2);
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  /* wrap icons on small screens */
}

.social-icons a {
  font-size: 20px;
  color: #90caf9;
  transition: 0.3s ease;
}

.social-icons a:hover {
  color: #03a9f4;
  transform: scale(1.1);
}

.hire-section {
  background: linear-gradient(135deg, #1e1e1e, #2c3e50);
  color: #ffffff;
  padding: 25px 20px;
  margin: 40px auto;
  text-align: center;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  max-width: 600px;
}

.hire-section p {
  font-size: 18px;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
  color: #90caf9;
}

.hire-section strong {
  color: #03a9f4;
}

.hire-me-btn {
  background-color: #03a9f4;
  color: white;
  padding: 15px 24px;
  border-radius: 30px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 12px rgba(3, 169, 244, 0.4);
}

.hire-me-btn:hover {
  background-color: #0288d1;
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(2, 136, 209, 0.5);
}

.contact-quote {
  margin-top: 50px;
  font-size: 14px;
  color: #90caf9;
  font-style: italic;
  text-align: center;
}

/* Right section */
.contact-right h2 {
  font-size: 26px;
  margin-bottom: 20px;
  color: #03a9f4;
}

.required {
  color: red;
  font-weight: bold;
}

form label {
  display: block;
  margin-bottom: 6px;
  color: #ccc;
  font-size: 14px;
  margin-top: 10px;
}

.contact-right input,
.contact-right textarea {
  width: 100%;
  background: #1f1f1f;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 20px;
  font-size: 15px;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
}

.contact-right input::placeholder,
.contact-right textarea::placeholder {
  color: #bbb;
}

textarea {
  resize: none;
  overflow: hidden;
}

.form-button-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 0;
}

.contact-right button {
  background: #03a9f4;
  border: none;
  padding: 12px 28px;
  border-radius: 30px;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.contact-right button:hover {
  background: #0288d1;
}

.hire-text {
  font-size: 18px;
  color: #E5E7EB;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  text-align: center;
}

.muted {
  color: #9CA3AF;
}

.highlight {
  color: #60A5FA;
  font-weight: 600;
}

.divider {
  color: #6B7280;
}



/* Responsive */
@media (max-width: 1024px) {
  .contact-container {
    gap: 25px;
    padding: 15px;
  }
}

@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    gap: 30px;
    align-items: center;
    padding: 10px;
  }

  .contact-left,
  .contact-right {
    min-width: 100%;
    max-width: 100%;
    padding: 15px 20px;
    box-sizing: border-box;
  }
}

@media (max-width: 500px) {

  .contact-left,
  .contact-right {
    padding: 20px;
  }

  #contact .section-title {
    font-size: 2rem;
    /* smaller heading on small screens */
  }

  .hire-section p {
    font-size: 14px;
    text-align: center;
    flex-wrap: wrap;
  }

  .hire-me-btn {
    font-size: 16px;
    padding: 12px 20px;
  }
}

/* Footer Section Styling */
.footer {
  background: #0d0d0d;
  color: #ccc;
  font-family: "Poppins", sans-serif;
  padding: 40px 20px 20px;
  text-align: center;
}

.footer-wrapper {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.footer-section {
  flex: 1;
  min-width: 220px;
}

.footer-section h3,
.footer-section h4 {
  color: #03a9f4;
  margin-bottom: 12px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin: 6px 0;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: 0.3s ease;
  font-size: 14px;
}

.footer-links a:hover {
  color: #03a9f4;
}

.footer-contact p {
  font-size: 14px;
  margin: 8px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #ccc;
}

.footer-icons a {
  font-size: 18px;
  margin: 0 8px;
  color: #90caf9;
  transition: 0.3s;
}

.footer-icons a:hover {
  color: #03a9f4;
  transform: scale(1.1);
}

.footer-bottom {
  color: #ccc;
  font-size: 14px;
  margin-top: 20px;
}

.heart {
  display: inline-block;
  animation: pulse 1.4s infinite;
  color: #ff5252;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.3);
    opacity: 1;
  }

  100% {
    transform: scale(1);
    opacity: 0.8;
  }
}

.thank-you-note {
  text-align: center;
  background: #111;
  padding: 20px;
  color: #f1f1f1;
  border-top: 2px solid #03a9f4;
  animation: fadeInUp 1s ease forwards;
}

.thank-you-note h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #03a9f4;
}

.thank-you-note p {
  font-size: 14px;
  line-height: 1.6;
  color: #ccc;
}

.chess-deco {
  margin-top: 15px;
  font-size: 20px;
  color: #90caf9;
  animation: pulse 2s infinite;
}

/* Fade-in effect */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}

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

/* Responsive */
@media (max-width: 768px) {
  .footer-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
  }

  .footer-section {
    margin: 0 auto;
  }
}

#visits:hover {
  color: #03a9f4;
  transform: scale(1.05);
  transition: 0.3s;
}

/* animation */
.text-animate {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s forwards;
  animation-delay: 0.3s;
  /* change per element */
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  [data-aos="fade-left"] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Full screen loader */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0f0f0f;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.5s ease;
}

/* Cube Loader */
.cube-loader {
  position: relative;
  width: 15vw;
  max-width: 120px;
  height: 15vw;
  max-height: 120px;
}

.cube-loader .cube {
  width: 80%;
  height: 80%;
  background: linear-gradient(135deg, #1e90ff, #00e5ff);
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 2rem;
  font-weight: bold;
  transform-style: preserve-3d;
  animation: rotateCube 2s infinite linear;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(30, 144, 255, 0.5), 0 0 40px rgba(0, 229, 255, 0.3);
}

/* Cube letters */
.cube-loader .cube span {
  display: block;
}

/* Orbiting dots */
.cube-loader .orbit {
  position: absolute;
  width: 10%;
  aspect-ratio: 1;
  background: #00e5ff;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  margin: calc(-5%);
  /* half width */
  box-shadow: 0 0 15px #00e5ff, 0 0 25px rgba(0, 229, 255, 0.3);
  animation: orbit 2s linear infinite;
}

.cube-loader .orbit1 {
  animation-delay: 0s;
}

.cube-loader .orbit2 {
  animation-delay: 0.3s;
}

.cube-loader .orbit3 {
  animation-delay: 0.6s;
}

/* Keyframes */
@keyframes rotateCube {
  0% {
    transform: rotateX(0deg) rotateY(0deg);
  }

  25% {
    transform: rotateX(180deg) rotateY(0deg);
  }

  50% {
    transform: rotateX(180deg) rotateY(180deg);
  }

  75% {
    transform: rotateX(0deg) rotateY(180deg);
  }

  100% {
    transform: rotateX(0deg) rotateY(0deg);
  }
}

@keyframes orbit {
  0% {
    transform: rotate(0deg) translateX(3vw) rotate(0deg);
  }

  100% {
    transform: rotate(360deg) translateX(3vw) rotate(-360deg);
  }
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .cube-loader {
    width: 25vw;
    height: 25vw;
  }

  .cube-loader .cube {
    font-size: 1.5rem;
  }

  .cube-loader .orbit {
    animation: orbit 2s linear infinite;
  }

}
