/* Custom Variables */
:root {
    --primary-gradient: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
    --navbar-height: 56px
  }

body {
  padding-top: var(--navbar-height);
  
}

/* Ensure all elements stay within viewport */
.container {
  max-width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

/* Extra protection for images */
img {
  max-width: 100%;
  height: auto;
}
  
/* Text Gradient */
.text-gradient-primary {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
  
/* Card Effects */
.hover-shadow {
  transition: transform 0.2s, box-shadow 0.2s;
}

.hover-shadow:hover {
  transform: translateY(-5px);
  box-shadow: 0 1rem 3rem rgba(0,0,0,.125)!important;
}

/* Feature Cards */
.feature-card {
  border: 1px solid rgba(0,0,0,.075);
  border-radius: 0.75rem;
  transition: all 0.3s ease;
}

.feature-card:hover {
  background: #f8f9fa;
  border-color: #0d6efd;
}

/* Responsive Typography */
@media (min-width: 768px) {
  .display-4 {
    font-size: 3.5rem;
  }
}

/* Sticky positioning with navbar offset */
.sticky-top-custom {
  position: -webkit-sticky;
  position: sticky;
  top: calc(var(--navbar-height) + 1rem); /* Adds 16px gap below navbar */
  z-index: 1020; /* Ensure sidebar stays above content but below navbar */
}

/* Maintain navbar visibility */
.fixed-top {
  z-index: 1030;
}

/* CTA View Profile Button */
.cta-button {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  background-color: #2563eb;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

/* CTA Hover Effects */
.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
  background-color: #1d4ed8;
}

/* Add a subtle "lift" animation */
.cta-button::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  box-shadow: 0 8px 20px -3px rgba(37, 99, 235, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cta-button:hover::after {
  opacity: 1;
}

/* Arrow Animaton */
.cta-button:hover .fa-arrow-right {
  transform: translateX(3px);
}

.fa-arrow-right {
  transition: transform 0.3s ease;
  margin-left: 0.5rem;
}