.padding-5 {
  padding: 5px;
}
.padding-10 {
  padding: 10px;
}
.text-justify {
  text-align: justify;
}

/* ================= LOGO IMAGE ================= */
.h-title {
  font-size: 30px;
  font-weight: bold;
}
.logo-img {
  height: 50px; /* recommended height for good balance */
  width: 50px; /* keep square ratio */
  border-radius: 50%; /* optional – makes it circular */
  object-fit: cover; /* ensures proper cropping */
  margin-top: 7px; /* small vertical alignment fix */
  margin-left: 12px; /* spacing from left edge */
}

.about-me-img {
  margin-top: 65px;
  height: 180px; /* set desired height */
  width: 180px; /* set desired width */
  border-radius: 50%; /* makes it circular */
  object-fit: cover; /* ensures proper cropping */
}

#home-section,
#about,
#services,
#job-support,
#how-it-works,
#tech-stack,
#projects,
#certifications,
#contact {
  scroll-margin-top: 65px;
}

/* ================= HEADER STYLES ================= */
nav {
  box-shadow: 1;
}

.brand-logo {
  /* margin-top: 10px; */
  font-weight: 600;
  letter-spacing: 0.5px;
}

nav ul li a {
  font-size: 15px;
  font-weight: 500;
}

/* nav ul li a i {
  margin-right: 4px;
} */

.btn {
  text-transform: none;
  border-radius: 8px;
  font-weight: 600;
}

.sidenav a i {
  color: brown; /* Blue icon colour for mobile nav */
}

#hero-section {
  /* background-image: url('../assets/blurred/office.png'); */
  background-image: url("../assets/images/hero-background.png");

  /* Prevents the image from tiling */
  background-repeat: no-repeat;

  /* Centers the image within the container */
  background-position: center center;

  /* Makes the image scale to cover the entire container */
  background-size: cover;

  /* OPTIONAL: To make the image fixed as you scroll (Parallax effect) */
  background-attachment: fixed;
}

/* ----------------
  3. Content Styles for Readability (Crucial)
---------------- */
.hero-content {
  /* Make the text centered and legible */
  text-align: center;
  color: black;
  /* padding: 20px; */
}

/* 1. Default (Desktop/Larger Screen) Size */
.hero-name {
  /* Use the size you want for desktops */
  font-size: 3.5rem;
  /* font-family: Georgia, "Times New Roman", Times, serif; */
}

.project-title {
  font-weight: bold;
}

.tagline {
  font-family: "Comic Sans MS", "Comic Sans";
}

.code-icon {
  height: 75px;
  width: 75px;
  border-radius: 50%;
  object-fit: cover;
  margin: 5px;
  flex-shrink: 0;
}
.icon-marquee {
  overflow: hidden;
  width: 100%;
  /* Prevents mobile blue highlight tap effect */
  -webkit-tap-highlight-color: transparent;
}
.icon-track {
  display: flex;
  align-items: center;
  gap: 24px;
  width: max-content;
  animation: scroll-code-icon 12s linear infinite;
}
.icon-marquee:active .icon-track {
  animation-play-state: paused;
}

/* Floating Telegram Button */
.telegram-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
}
/* Go To Top Button */
.go-top-btn {
  position: fixed;
  bottom: 95px; /* above telegram button */
  right: 25px;
  z-index: 999;

  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;

  transition: opacity 0.3s ease, transform 0.3s ease;
}
/* Visible State */
.go-top-btn.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.dm-icons {
  margin-left: 5px;
  margin-right: 5px;
  font-size: 20px;
}

@media (hover: hover) {
  .icon-marquee:hover .icon-track {
    animation-play-state: paused;
  }
}

/* 2. Media Query for Mobile View */
/* This CSS will only apply when the screen width is 600px or less */
@media screen and (max-width: 600px) {
  .dm-icons {
    margin-left: 2.5px;
    margin-right: 2.5px;
    font-size: 18px;
  }
  .about-me-img {
    margin-top: 0px;
  }
  .hero-name {
    /* Reduce the size for mobile screens */
    font-size: 2.5rem; /* Change this value to fit your needs */
  }
  .logo-img {
    margin-top: 3px;
  }
  .code-icon {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin: 5px;
  }
}

@keyframes scroll-code-icon {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
