.header {
    width: 80%;
    background-color: #fff;
    box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
    z-index: 997;
    padding: 15px 20px;
}

.header .nav-link.active {
    /* color: #cf1818; */
    background: linear-gradient(65deg, #4e2949, #f07fce);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: bold;
    /* border-bottom: 2px solid #f953c6; */
}
.header .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0; /* Position at the bottom */
    left: 0;
    width: 100%;
    height: 2px; /* Border height */
    background: linear-gradient(65deg, #4e2949, #f07fce); /* Gradient on the bottom */
  }
  
.header .nav-link:hover {
    /* color: #e74ceb; */
    color:rgb(139,0,139);
}

.navmenu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.navmenu ul li a {
    text-decoration: none;
    /* color: #333; */
    background: linear-gradient(45deg, #ad5389, #3c1053);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: color 0.3s;
    font-size: 15px;
    /* font-weight: bold; */
}

/* Responsive Design */
@media (max-width: 1280px) {
    .fix-appointment-btn {
        padding: 0.25em;
        min-width: 40px;
        text-indent: -9999px;
        background-size: contain;
    }
    .fix-appointment-btn::before {
        content: "\f274";
        font-family: "Bootstrap Icons";
        font-size: 1.5em;
        text-indent: 0;
        display: block;
        color: #fff;
    }
}

@media (max-width: 768px) {
    .navmenu ul {
        flex-direction: column;
    }
}

/* Active state for mobile view */
/* .navmenu .nav-link.active {
    color: #cf1818;
    font-weight: bold;
} */

.fix-appointment-btn {
    white-space: nowrap!important; /* Ensures the text stays on one line */
    overflow: hidden!important; /* Prevents overflow of text */
    text-overflow: ellipsis!important; /* Adds an ellipsis if the text overflows */
}

/* .header .nav-link:not(.active) {
    position: relative; 
} */

.header .nav-link:not(.active)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #be05a2, #f07fce);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.header .nav-link:not(.active):hover::after {
    width: 100%;
}