body {
    background-color: #000;
    color: #fff;
    font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}

.container-fluid {
    display: flex;
    gap: 50px;
    padding: 50px;
    opacity: 0;
    transform: translateY(30px);
    animation: pageFadeIn 1s ease forwards;
}

@keyframes pageFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sidebar styles */
.sticky-icon-bar {
    position: sticky;
    width: 450px;
}

.sidebar-box {
    background-color: #1a1a1a;
    border-radius: 12px;
    padding: 20px;
}

.sidebar-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin: 10px 0px 40px 0px;

    /* Gradient Text */
    background: linear-gradient(90deg, #ff5f15 0%, #ffa802 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    /* For non-Webkit browsers */
    background-clip: text;
    color: transparent;
}

.sidebar-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* ✅ 2 icons per row */
    gap: 40px;
}

.iconDiv {
    background: #1a1a1a;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.iconDiv.active,
.iconDiv:hover {
    background-color: #ff7f00;
    transform: scale(1.05);
}

.iconDiv img {
    width: 56px;
    height: 56px;
    margin-bottom: 10px;
    transition: filter 0.3s ease;
}

.iconDiv.active img,
.iconDiv:hover img {
    filter: grayscale(0%) brightness(10);
    /* ✅ White icon for active or hover */
}

.iconDiv span {
    font-size: 18px;
    text-align: center;
    color: #fff;
}

/* Main Content */
.main-content {
    flex: 1;
    background-color: #1a1a1a;
    border-radius: 12px;
    padding: 20px;
}

.tab-content {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.tab-content h3 {
    font-size: 36px;
    font-weight: 700;
    margin: 10px 20px;

    /* Gradient Text */
    background: linear-gradient(90deg, #ff5f15 0%, #ffa802 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    background-clip: text;
    /* For Firefox */
    color: transparent;
}

/* Animation Classes */
.tab-content.animate-in {
    animation: fadeInUp 0.5s ease forwards;
}

.tab-content.animate-out {
    animation: fadeOutDown 0.3s ease forwards;
}

/* Fade In Up Animation */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade Out Down Animation */
@keyframes fadeOutDown {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(20px);
    }
}


.tab-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.utilities-grid {
    list-style: none;
    padding: 20px;
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 4fr));
    gap: 50px;
}

.utility-item {
    background: #1a1a1a;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.utility-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    padding: 20px;
}

.utility-item:hover {
    transform: scale(1.1);
    box-shadow: 0 0 50px #ff870e;
}

.utility-item img {
    width: 90px;
    height: 90px;
    margin-bottom: 10px;
}

.utility-item span {
    font-size: 25px;
    margin-top: 8px;
}

/* Responsive adjustments */
@media screen and (max-width: 992px) {
    .container-fluid {
        flex-direction: column;
    }

    .sticky-icon-bar {
        grid-template-columns: repeat(2, 1fr);
        /* ✅ Keep 2 per row in sidebar */
        width: 100%;
        position: relative;
        top: auto;
    }

    .main-content {
        margin-top: 20px;
    }
}

@media screen and (max-width: 576px) {
    .iconDiv img {
        width: 35px;
        height: 35px;
    }

    .iconDiv span {
        font-size: 10px;
    }

    .utility-item img {
        width: 40px;
        height: 40px;
    }

    .utility-item span {
        font-size: 12px;
    }
}