/* ===== Color Utility Classes ===== */
/* Primary Color */
.color-primary { color: #cce8b2; }
.bg-primary { background-color: #cce8b2; }
.border-primary { border-color: #cce8b2; }

/* Secondary Color */
.color-secondary { color: #2d3b35; }
.bg-secondary { background-color: #2d3b35; }
.border-secondary { border-color: #2d3b35; }

/* White/Dark Colors */
.color-white { color: #ffffff; }
.bg-white { background-color: #ffffff; }
.color-dark { color: #212529; }
.bg-dark { background-color: #212529; }

/* ===== Component Styles ===== */
/* Spinner */
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-out, visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.8s ease-out, visibility 0s linear 0s;
}

/* Buttons */
.btn {
  font-weight: 600;
  transition: 0.5s;
  cursor: pointer;
}

/* Square Buttons */
.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
}

.btn-square { width: 38px; height: 38px; }
.btn-sm-square { width: 32px; height: 32px; }
.btn-md-square { width: 46px; height: 46px; }
.btn-lg-square { width: 58px; height: 58px; }

/* Back to Top */
.back-to-top {
  position: fixed;
  width: 50px;
  height: 50px;
  right: 30px;
  bottom: 30px;
  z-index: 99;
}

/* Navbar */
.navbar .navbar-nav {
  padding: 15px 0;
}

.navbar .navbar-nav .nav-link {
  padding: 10px;
  font-size: 18px;
  color: inherit; /* Color will come from utility class */
}

.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  vertical-align: middle;
  margin-left: 8px;
}

/* Services */
.services .services-item {
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  padding: 10px 0;
  position: relative;
}

.services-content::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 0;
  top: 0;
  left: 0;
  background: rgba(45, 59, 53, 0.8);
  transition: 0.5s;
  z-index: -1;
}

.services-item:hover .services-content::after {
  height: 100%;
}

/* Team Section */
.team-item {
  border-top: 30px solid #cce8b2 !important;
  background: rgba(239, 239, 241, 0.8);
}

.team-content::before {
  height: 100px;
  display: block;
  content: "";
  position: relative;
  top: -50px;
  background: #cce8b2;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  -webkit-clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  margin-bottom: -50px;
}

.team-img {
  border: 15px solid #ffffff;
}

.team-img img {
  border: 10px solid #cce8b2;
  transition: 0.5s;
}

/* Footer Links */
.footer a:hover {
  transition: all 0.3s;
}

.footer .short-link a:hover,
.footer .help-link a:hover,
.footer .contact-link a:hover {
  letter-spacing: 1px;
}