﻿/*
 CSS for the main interaction
*/
.tabset > input[type="radio"] {
    position: absolute;
    left: -200vw;
}

.tabset .tab-panel {
    display: none;
}

.tabset > input:first-child:checked ~ .tab-panels > .tab-panel:first-child,
.tabset > input:nth-child(3):checked ~ .tab-panels > .tab-panel:nth-child(2),
.tabset > input:nth-child(5):checked ~ .tab-panels > .tab-panel:nth-child(3),
.tabset > input:nth-child(7):checked ~ .tab-panels > .tab-panel:nth-child(4),
.tabset > input:nth-child(9):checked ~ .tab-panels > .tab-panel:nth-child(5),
.tabset > input:nth-child(11):checked ~ .tab-panels > .tab-panel:nth-child(6) {
    display: block;
}

/*
 Styling
*/
body {
    font: 16px/1.5em "Overpass", "Open Sans", Helvetica, sans-serif;
    color: #333;
    font-weight: 300;
}
/* Hide all tab content initially */
.tab-panel {
    display: none;
}

/* Show selected tab content */
#tab1:checked ~ .tab-panels #policies,
#tab2:checked ~ .tab-panels #notices,
#tab3:checked ~ .tab-panels #statutory-filing,
#tab4:checked ~ .tab-panels #investor-contacts,
#tab5:checked ~ .tab-panels #details-of-business,
#tab6:checked ~ .tab-panels #moa-aoa,
#tab7:checked ~ .tab-panels #brief-pro􀏐ile-of-directors-including-other-directorships,
#tab8:checked ~ .tab-panels #terms-and-conditions-of-appointment-of-independent-directors {
    display: block;
}

/* Hide default radio buttons */
.tabset input {
    display: none;
}

/* Tab styling */
.tabset label {
    display: inline-block;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 600;
    color: var(--bs-primary);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 2px 3px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(var(--bs-primary-rgb), 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 5px;
}

/* Active tab styling */
.tabset input:checked + label {
    background-color: var(--bs-primary);
    color: white;
    box-shadow: 2px 4px 12px rgba(0, 0, 0, 0.2);
}

/* Hover effect */
.tabset label:hover {
    background-color: rgba(var(--bs-primary-rgb), 0.2);
    transform: translateY(-3px);
}
h1, h2, li, h3, h4 {
    color: var(--text-color) !important;
}
/* Tab Content Styling */
.tab-panels {
    width: 100%;
    margin-top: 20px;
    padding: 20px;
    background: var(--graient-color);
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

.tabset > label {
    position: relative;
    display: inline-block;
    padding: 15px 15px 25px;
    border: 1px solid transparent;
    border-bottom: 0;
    cursor: pointer;
    font-weight: 600;
}

    .tabset > label::after {
        content: "";
        position: absolute;
        left: 15px;
        bottom: 10px;
        width: 22px;
        height: 4px;
        background: #8d8d8d;
    }

input:focus-visible + label {
    outline: 2px solid rgba(0,102,204,1);
    border-radius: 3px;
}

.tabset > label:hover,
.tabset > input:focus + label,
.tabset > input:checked + label {
    color: #fff;
}

    .tabset > label:hover::after,
    .tabset > input:focus + label::after,
    .tabset > input:checked + label::after {
        background: var(--primary-blue);
    }

.tabset > input:checked + label {
    border-color: #ccc;
    border-bottom: 1px solid #fff;
    margin-bottom: -1px;
}

.tab-panel {
    padding: 30px 0;
    border-top: 1px solid #ccc;
}

/*
 Demo purposes only
*/
*,
*:before,
*:after {
    box-sizing: border-box;
}



.tabset {
    max-width: 65em;
}
.sidebar-nav {
    width: 220px;
    border-right: 3px solid var(--bs-primary);
    background: var(--gradient-color);
    padding-top: 20px;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
}

    .sidebar-nav .tab-button {
        width: 100%;
        text-align: left;
        padding: 14px 20px;
        border: none;
        background: none;
        font-weight: 600;
        color: var(--text-color);
        transition: 0.3s;
        position: relative;
        cursor: pointer;
        display: block;
        font-size: 16px;
    }

        .sidebar-nav .tab-button:hover,
        .sidebar-nav .tab-button.active {
            color: var(--bs-white);
            background-color: var(--bs-primary);
            border-radius: 5px;
        }

            .sidebar-nav .tab-button.active::after {
                content: "";
                position: absolute;
                right: 0;
                top: 0;
                height: 100%;
                width: 4px;
                background-color: var(--bs-danger);
                border-radius: 2px 0 0 2px;
            }

/* Content Section */
.tab-container {
    flex-grow: 1;
    border-radius: 8px;
   /* background: var(--gradient-color);*/
    padding: 30px;
    box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .sidebar-nav {
        flex-direction: row; /* Make it horizontal */
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
        border-right: none;
        border-bottom: 3px solid var(--bs-primary);
        padding: 10px 0;
        box-shadow: none;
        display: flex;
        justify-content: flex-start; /* Left-aligned tabs */
        align-items: center;
        gap: 10px;
        position: absolute;
        left: 0;
        right: 0;
        background-color: white;
        z-index: 1000;
        padding: 10px;
    }

        .sidebar-nav::-webkit-scrollbar {
            display: none; /* Hide scrollbar for a clean look */
        }

        .sidebar-nav .tab-button {
            display: inline-block;
            width: auto;
            flex: 0 0 auto;
            padding: 10px 15px;
            font-size: 14px;
            text-align: center;
            white-space: nowrap;
        }

            .sidebar-nav .tab-button.active::after {
                width: 100%;
                height: 3px;
                bottom: 0;
                top: auto;
                left: 0;
                border-radius: 2px;
            }

    /* Adjust the content so it doesn’t hide under fixed navbar */
    .tab-container {
        margin-top: 50px;
    }
}


.category-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #ffc107;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
}

.content-card {
    position: relative;
    color: white;
}

.content-overlay {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 5px;
}

p {
    color: var(--text-color)
}

.img-fluid {
    width: 100%;
    height: 200px; /* Adjust as needed */
    object-fit: cover;
    border-radius: 5px;
}

.slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 40px 0;
    white-space: nowrap;
}

.card-custom {
    position: relative;
    width: 100%;
    height: 500px; /* Fixed height for uniform cards */
    color: white;
    border-radius: 12px;
    overflow: hidden;
}

    .card-custom::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        filter: brightness(0.7); /* Dark overlay for readability */
    }

.card-nature::before {
    background-image: url('https://picsum.photos/900/1600?random=1');
}

.card-tech::before {
    background-image: url('https://picsum.photos/900/1600?random=2');
}

.card-travel::before {
    background-image: url('https://picsum.photos/900/1600?random=3');
}

.card-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px;
}
#cards-docs, .card {
    margin-bottom: 20px;
}
.card-container{
    background: var(--white-color);
}

.blog-post-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

    .blog-post-card:hover {
        transform: translateY(-5px);
    }

.blog-post-info {
    background: linear-gradient(135deg, #2d98da, #3867d6);
    color: white;
    padding: 20px;
    text-align: left;
    border-radius: 12px 12px 0 0;
}

    .blog-post-info h2 {
        font-size: 22px;
        font-weight: bold;
        margin-bottom: 5px;
    }

    .blog-post-info p {
        font-size: 14px;
        opacity: 0.9;
    }

.blog-post-content {
    padding: 20px;
}

    .blog-post-content h4 {
        font-size: 18px;
        font-weight: bold;
        margin-bottom: 8px;
        color: #333;
    }

    .blog-post-content p {
        font-size: 15px;
        color: var(--text-color);
        line-height: 1.5;
    }

.progress {
    height: 6px;
    background-color: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    background-color: #3867d6;
    height: 100%;
    transition: width 0.5s ease-in-out;
}

.blog-post-footer {
    padding: 15px 20px;
    background: #f9f9f9;
    border-radius: 0 0 12px 12px;
    text-align: right;
}

.read-more {
    font-size: 14px;
    color: #2d98da;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

    .read-more:hover {
        color: #3867d6;
    }

.loading {
    text-align: center;
    display: none;
    margin: 20px 0;
    font-weight: bold;
    color: #555;
}


