
/* Back Button Styling */
.back-btn {
    background: linear-gradient(135deg, #1a6b8c, #2489ad);
    border: none;
    color: white;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 12px rgba(26, 107, 140, 0.3);
    gap: 8px;
    min-width: 120px;
    font-family: 'Inter', sans-serif;
}

/* Hover effect */
.back-btn:hover {
    background: linear-gradient(135deg, #155570, #1a6b8c);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(26, 107, 140, 0.4);
}

/* Clicking animation */
.back-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(26, 107, 140, 0.3);
}

/* Arrow animation */
.back-btn i {
    transition: transform 0.3s ease-in-out;
}

.back-btn:hover i {
    transform: translateX(-3px);
}


/* Responsive Design */
@media screen and (max-width: 768px) {
    .back-btn {
        padding: 10px 16px;
        font-size: 13px;
        min-width: 100px;
    }
}

@media screen and (max-width: 480px) {
    .back-btn {
        padding: 8px 12px;
        font-size: 12px;
        min-width: 90px;
    }
}


/* Navbar Hover Effect */
.ftco-navbar-light .navbar-nav > .nav-item > .nav-link {
    position: relative;
    transition: all 0.3s ease-in-out;
    border-radius: 5px;
    white-space: nowrap; /* keep each label on a single line */
}

/* Hover effect with background highlight */
.ftco-navbar-light .navbar-nav > .nav-item > .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Keep navbar items on one row and adjust spacing */
.ftco-navbar-light .navbar-nav {
    flex-wrap: nowrap; /* prevent wrapping to a new line */
}

.ftco-navbar-light .navbar-nav > .nav-item {
    margin-right: 8px; /* subtle spacing between items */
}

.ftco-navbar-light .navbar-nav > .nav-item:last-child {
    margin-right: 0;
}

/* Slightly tighten padding so long labels fit comfortably */
.ftco-navbar-light .navbar-nav > .nav-item > .nav-link {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

/* Responsive tweak before collapse to avoid wrap */
@media (max-width: 1200px) {
    .ftco-navbar-light .navbar-nav > .nav-item > .nav-link {
        padding-left: 0.55rem;
        padding-right: 0.55rem;
        font-size: 0.95rem;
    }
}

/* Active state styling */
.ftco-navbar-light .navbar-nav > .nav-item > .nav-link.active {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* Underline effect on hover (alternative/additional effect) */
.ftco-navbar-light .navbar-nav > .nav-item > .nav-link::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s ease-in-out;
    transform: translateX(-50%);
}

.ftco-navbar-light .navbar-nav > .nav-item > .nav-link:hover::after {
    width: 70%;
}

/* Responsive adjustments for hover effect */
@media (max-width: 991.98px) {
    .ftco-navbar-light .navbar-nav > .nav-item > .nav-link:hover {
        background-color: transparent !important;
        transform: none;
        box-shadow: none;
    }
    
    .ftco-navbar-light .navbar-nav > .nav-item > .nav-link::after {
        bottom: 5px;
    }
}