:root,
[data-bs-theme=light] {
  --bs-primary: #0f5132;
  /* Pine Green as primary base */
  --bs-primary-rgb: 15, 81, 50;
  --bs-body-bg: #f5f5f5;
  /* White Smoke */
  --bs-body-color: #212529;

  /* Custom Palette */
  --swt-pine: #0f5132;
  --swt-charcoal: #3d3b38;
  /* Charcoal Brownish */
  --swt-smoke: #f5f5f5;
  --swt-accent: #0f5132;
}

[data-bs-theme=dark] {
  --bs-primary: #0f5132;
  --bs-primary-rgb: 15, 81, 50;
  --bs-body-bg: #3d3b38;
  /* Charcoal Brown */
  --bs-body-color: #f5f5f5;
}

/* Typography */
body,
.navbar,
.navbar-brand,
.nav-link,
.dropdown-menu,
.dropdown-item,
footer,
.footer {
  font-family: 'Poppins', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

/* Header/Navbar Styles */
.navbar-brand .smart,
.navbar-brand .workz {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.5px;
}

/* Footer Styles */
footer h3,
.footer h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

footer a,
.footer a,
footer p,
.footer p {
  font-family: 'Poppins', sans-serif;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Utility Classes */
.text-pine {
  color: var(--swt-pine) !important;
}

.bg-pine {
  background-color: var(--swt-pine) !important;
}

.bg-charcoal {
  background-color: var(--swt-charcoal) !important;
}

.text-charcoal {
  color: var(--swt-charcoal) !important;
}

.transition-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.transition-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175) !important;
}

.custom-btn {
  border-radius: 50px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.bg-pine-light {
  background-color: rgba(15, 81, 50, 0.1) !important;
}

/* User Requested: 100VH and Rounded Sections */
.vh-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  border-radius: 3rem;
  /* Large rounded corners for differentiation */
  margin-bottom: 1.5rem;
  /* Gap between sections */
  padding-top: 5rem;
  padding-bottom: 5rem;
  overflow: hidden;
  position: relative;
  justify-content: center;
}

/* Mobile responsiveness for vh-sections to allow scrolling if content overflows */
@media (max-width: 991.98px) {
  .vh-section {
    min-height: auto;
    /* Allow auto height on mobile */
    padding-top: 4rem;
    padding-bottom: 4rem;
    border-radius: 2rem;
    margin-bottom: 1rem;
  }
}

/* Header Navigation Hover */
.navbar-dark .nav-link:hover,
.navbar-dark .nav-link:focus {
  color: #a8e6cf !important;
}

/* Footer Link Hover */
footer a:hover,
.footer a:hover,
.text-white-50:hover {
  color: #a8e6cf !important;
}

/* Outline button visibility fix */
.btn-outline-dark {
  border-color: #212529;
  color: #212529;
}

.btn-outline-dark:hover {
  background-color: #212529;
  color: #fff;
}

/* Floating Contact Button */
.floating-contact-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #ffffff;
  color: var(--swt-pine);
  border: 2px solid var(--swt-pine);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease;
  text-decoration: none;
}

.floating-contact-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(15, 81, 50, 0.3);
  background-color: var(--swt-pine);
  color: #ffffff;
  border-color: var(--swt-pine);
}

.floating-contact-btn i {
  line-height: 1;
}