
    * {
      box-sizing: border-box;
    }
    body {
      background-color: #f5f5f5;
      font-family: 'Ubuntu', sans-serif;
    }
    .custom-navbar {
      padding-top: 1.563rem;
      padding-bottom: 15px;
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 1030;
    }
    .nav-desktop, .nav-mobile {
      display: none;
    }
     .nav-desktop {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .first-nav-div {
    flex-shrink: 0;
    font-size: 1.5rem;
    white-space: nowrap;
    }

    .second-nav-div {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 0.5rem 1rem;
    font-size: 0.95rem;
    }
    a.scrollLink {
      text-transform: uppercase;
      text-decoration: none;
      font-weight: 600;
      transition: color 0.3s ease;
    }
    .hero-section {
      background: url('../images/overlay/home-bg.jpeg') center center / cover no-repeat fixed;
      height: 100vh;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      text-align: center;
    }
    .hero-section::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.6);
      z-index: 1;
    }
    .hero-content {
      position: relative;
      z-index: 2;
    }
    .hero-content p span.blink {
      display: inline-block;
      margin-left: 5px;
    }
    .line-mf {
      width: 40px;
      height: 5px;
      background-color: #24b67e;
      margin: 0 auto 1rem;
    }
    .btn-demo {
      background-color: #24b67e;
      color: white;
    }
    .btn-demo:hover {
      background-color: #1d9a6c;
    }
    #templates {
      display: none;
    }
    .card-img-top {
      height: 328px;
      object-fit: inherit;
    }
    h1 {
        font-size: 2.5rem;
    }
    #phraseWrapper {
      font-size: 2.1rem;
      min-height: 48px;
      font-style: italic;
      font-weight: 300;
      white-space: nowrap;
      display: inline-block;
    }
    #phraseGenerator {
      display: inline;
    }
    .blink {
      display: inline-block;
      margin-left: 4px;
    }
    .custom-navbar.white-bg {
      background-color: white !important;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      transition: background-color 0.3s ease, box-shadow 0.3s ease;
    }
    .custom-navbar {
      transition: background-color 0.3s ease, box-shadow 0.3s ease;
    }
    .custom-navbar a {
      position: relative;
      text-decoration: none;
      font-weight: 600;
      transition: color 0.3s ease;
    }
    /* Desktop nav: white on homepage, green on other sections */
    .nav-desktop .scrollLink {
      color: white !important;
    }
    .nav-desktop .scrollLink {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  backface-visibility: hidden;
  will-change: transform;
  text-shadow: 0 0 1px rgba(0,0,0,0.4);
  font-weight: 600;
  letter-spacing: 0.03em;
}
    .custom-navbar.white-bg .scrollLink {
      color: #24b67e !important;
    }
    /* Desktop nav: white underline on homepage, green on other sections */
    .custom-navbar a::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -4px;
      width: 50%;
      height: 2px;
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.4s ease;
      opacity: 0.9;
    }
    .custom-navbar:not(.white-bg) a.active::after {
      background-color: white;
      transform: scaleX(1);
    }
    .custom-navbar.white-bg .nav-desktop a.active::after {
      background-color: #24b67e;
      transform: scaleX(1);
    }
    .box-shadow-full {
      margin-top: 4rem;
      position: relative;
      background-color: #fff;
      margin-bottom: 3rem;
      z-index: 2;
      box-shadow: 0 1px 1px 0 rgb(0 0 0 / 6%), 0 2px 5px 0 rgb(0 0 0 / 20%);
      padding: 64px 48px;
    }
    .ico-circle {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background-color: white;
      box-shadow: 0 0 0 3px #24b67e;
      display: flex;
      justify-content: center;
      align-items: center;
    }
    .about-ico {
      font-size: 2rem;
      color: black;
    }
    .list-inline-item a,
    .list-inline-item a:hover,
    .list-inline-item a:focus {
      text-decoration: none !important;
      border: none !important;
    }
    /* Mobile nav: black on homepage, green on other sections */
    .nav-mobile .nav-link {
      color: #212529 !important; /* Default to black */
    }
    .nav-mobile .nav-link.text-green {
      color: #24b67e !important;
    }
    .nav-mobile .navbar-brand {
      color: #212529 !important; /* Default to black */
    }
    .nav-mobile .navbar-brand.text-green {
      color: #24b67e !important;
    }
    /* Mobile nav: active state with green border */
    .nav-mobile .nav-item {
      border: 2px solid transparent;
    }
    .nav-mobile .nav-item.border-green {
      border-color: #24b67e !important;
    }
    .contact-bg {
      background: url('../images/overlay/contact-bg-2.jpeg') center center / cover no-repeat fixed;
      position: relative;
      padding: 5rem 0;
      color: white;
    }
    .contact-bg::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(36, 182, 126, 0.7);
      z-index: 0;
    }
    .contact-content {
      position: relative;
      z-index: 2;
    }
    .contact-white-box {
      background-color: white;
      box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 2px 5px rgba(0, 0, 0, 0.2);
      padding: 3rem;
      border-radius: 0.5rem;
      max-width: 800px;
      width: 100%;
    }
    .thank-you-heading {
      color: black;
      margin-bottom: 0.5rem;
    }
    .thank-you-underline {
      height: 3px;
      background-color: #24b67e;
      width: 100px;
      margin: 0 auto 1rem;
    }
    .contact-info {
      list-style: none;
      padding: 0;
      font-weight: 600;
      font-size: 1.1rem;
      color: #24b67e;
      margin-bottom: 2rem;
    }
    .contact-info li {
      margin-bottom: 0.5rem;
    }
    .social-icons {
      display: flex;
      justify-content: center;
      gap: 1rem;
    }
    .ico-circle {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background-color: white;
      box-shadow: 0 0 0 3px #24b67e;
      display: flex;
      justify-content: center;
      align-items: center;
      text-decoration: none;
    }
    .about-ico {
      font-size: 1.5rem;
      color: black;
    }
    .text-green {
      color: #24b67e !important;
    }
    .text-white {
      color: white !important;
    }
    /* Mobile nav hover effect */
    .nav-mobile .nav-item:hover {
      background-color: rgba(36, 182, 126, 0.05);
    }
    .text-black {
      color: #000 !important;
    }

/* Base underline setup for all desktop nav links */
.nav-desktop .scrollLink::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 50%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease, background-color 0.3s ease;
  opacity: 0.9;
}

/* Hover + active state when NOT on home (green underline) */
.custom-navbar.white-bg .nav-desktop .scrollLink:hover::after,
.custom-navbar.white-bg .nav-desktop .scrollLink.active::after {
  background-color: #24b67e;
  transform: scaleX(1);
}

/* Hover + active state when ON home (white underline) */
.custom-navbar:not(.white-bg) .nav-desktop .scrollLink:hover::after,
.custom-navbar:not(.white-bg) .nav-desktop .scrollLink.active::after {
  background-color: white;
  transform: scaleX(1);
}

.project-template .tech-stack-wrapper {
  min-height: 2rem;
}
.badge-tech {
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  font-size: 0.75rem;
  cursor: pointer;
  transition: background-color 0.3s;
}
.badge-tech:hover {
  background-color: #e6f4ea;
}

#backToTop {
    width: 3rem;
    height: 3rem;
    padding: 0.75rem;
    font-size: 1.1rem;
    border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.custom-icon-grid {
  --bs-gutter-x: 0.75rem; 
  row-gap: 1.5rem;
  text-align: center;
}

.contact-info a {
  text-decoration: none;
  color: inherit;
}
.contact-info a:hover {
  text-decoration: underline;
}

.tech-stack-template {
  flex: 0 0 auto;
  width: 290px;
  margin: 0 auto 2rem;
}

.service-box {
  background-color: white;
  border-radius: 1rem;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 2px 5px rgba(0, 0, 0, 0.2);
  padding: 2.5rem 1.3rem;
  text-align: center;
}

    .service-box p {
      font-size: 0.83rem;
      text-align: center;
      color: #4e4e4e;
    }
.icon-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: white;
  box-shadow: 0 0 0 10px #24b67e;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 1rem;
}
.img-icons {
  width: 64px;
  height: auto;
}

.s-title {
  font-size: 1.25rem;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
}

.bg-education {
  background-color: #0d6efd !important;
}

.education-card {
  border-left: 6px solid #0d6efd !important;
  border-top: none !important;
  border-right: none !important;
  border-bottom: none !important;
}

.certificates .cert-btn {
  border-color: #0d6efd !important;
  color: #0d6efd;
}

.certificates .cert-btn:hover {
  background-color: #0d6efd;
  color: white;
}

.certificates .btn-outline-primary.toggle-details {
  transition: background-color 0.3s, color 0.3s;
  border-color: #0d6efd;
  color: #0d6efd;
}

.certificates .btn-outline-primary.toggle-details:hover {
  background-color: #0d6efd;
  color: white;
}

.relocation-message {
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
  text-align: center;
  max-width: 90%;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}
@media (max-width: 1149.98px) {
  .navbar-collapse {
    box-shadow: none !important;
    border-bottom: none !important;
    margin-bottom: 0 !important;
  }

  .navbar.nav-mobile {
    box-shadow: none !important;
  }

  .nav-mobile .nav-link {
    font-size: 1.25rem !important;
    font-weight: 600;
  }

  .nav-mobile .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    font-size: 1.05rem;
    font-weight: 500;
  }

  .navbar-light .navbar-toggler {
    border: none;
    outline: none;
  }

  .custom-navbar {
    padding-top: 0;
    padding-bottom: 0;
  }
  .nav-desktop { display: none !important; }
  .nav-mobile { display: flex !important; }
}

@media (max-width: 575.98px) {
  .nav-mobile .nav-link {
    font-size: 1rem !important;
    padding: 0.5rem 0.5rem !important;
  }
}
@media (max-width: 300px) {
  .nav-mobile .nav-link {
    font-size: .5rem !important;
  }
}

@media (min-width: 1150px) {
  .nav-desktop {
    display: flex;
    max-width: 1320px;
    margin: 0 auto;
    width: 100%;
  }
}
@media (max-width: 575.98px) {
  .nav-mobile .nav-link {
    font-size: 0.85rem !important;
    padding: 0.5rem 0.25rem !important;
  }
}

.nav-mobile .nav-link {
  white-space: nowrap;
  font-size: 0.78rem;
  padding: 0.45rem 0.3rem;
  width: 100%;
  display: inline-block;
  text-align: center;
}

@media (max-width: 534px) {
  .nav-mobile .row-cols-sm-4 {
    --bs-columns: 2;
  }
}

@media (max-width: 400px) {
  .nav-mobile .nav-link {
    font-size: 0.7rem;
    padding: 0.4rem 0.2rem;
  }
}
