/* Button and Box Sensitivity Improvements */
.navbar-link, .mobile-menu-link {
    position: relative;
    padding: 8px 16px;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.navbar-link:hover, .mobile-menu-link:hover {
    background-color: rgba(26, 26, 46, 0.05);
}

.navbar-link:active, .mobile-menu-link:active {
    background-color: rgba(26, 26, 46, 0.1);
}

/* Increase clickable area */
.navbar-link::before, .mobile-menu-link::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    z-index: -1;
}

/* Service card improvements */
.service-card {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Fix for buttons */
.btn {
    position: relative;
    overflow: visible;
    z-index: 2;
    cursor: pointer;
}

/* Improve mobile menu button */
.mobile-menu-btn {
    padding: 10px;
    border-radius: 4px;
}

.mobile-menu-btn span {
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover span {
    background-color: #1a1a2e;
}

/* Fix hero buttons */
.hero-cta .btn, #scheduleConsultationBtn, #exploreServicesBtn {
    min-width: 180px;
    text-align: center;
    margin: 10px 10px 10px 0;
    padding: 16px 32px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    transform-origin: center;
    display: inline-block;
}

/* Improve hover effect for hero buttons */
.hero-cta .btn:hover, #scheduleConsultationBtn:hover, #exploreServicesBtn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Active state for better feedback */
.hero-cta .btn:active, #scheduleConsultationBtn:active, #exploreServicesBtn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.1s ease;
}

/* Improve timeline node sensitivity */
.timeline-node {
    cursor: pointer;
    position: relative;
    width: 0;
    height: 0;
    transition: transform 0.3s ease, background-color 0.3s ease;
    display: none;
}

.timeline-node:hover {
    transform: scale(1.2);
}

/* Fix for service links */
.service-link {
    display: inline-block;
    padding: 8px 0;
    position: relative;
}

.service-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #1a1a2e;
    transition: width 0.3s ease;
}

.service-link:hover::after {
    width: 100%;
}
