
    /* ---------------------------------- */
    /* Define a custom property for your main color */
    /* Change this value to easily update the whole theme */
    /* ---------------------------------- */
    :root {
        --main-color: #7c266a; /* Your primary brand color */
        --light-grey: #f8f9fa;
        --dark-grey: #495057;
        --border-color: #dee2e6;
    }

    /* ---------------------------------- */
    /* Main Tabs (DARI MAKKAH, DARI MADINAH) */
    /* ---------------------------------- */
    .attractive-tabs-underline .nav-link {
        border: none;
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--dark-grey);
        position: relative;
        transition: color 0.3s ease;
    }

    .attractive-tabs-underline .nav-link:hover {
        color: var(--main-color);
    }

    .attractive-tabs-underline .nav-link.active {
        color: var(--main-color);
    }

    /* The elegant underline for the active tab */
    .attractive-tabs-underline .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 3px;
        background-color: var(--main-color);
        border-radius: 2px;
        transition: width 0.3s ease;
    }
    
    .attractive-tabs-underline .nav-link.active::after {
        width: calc(100% - 2rem); /* Underline is slightly shorter than the tab width for style */
    }

    /* ---------------------------------- */
    /* Nested Pill Tabs (9H7M, 11H9M, etc.) */
    /* ---------------------------------- */
    .attractive-tabs-pill .nav-link {
        border-radius: 50px;
        padding: 0.75rem 1.5rem;
        background-color: var(--light-grey);
        color: var(--dark-grey);
        font-weight: 500;
        transition: all 0.3s ease;
        border: 1px solid var(--border-color);
    }

    .attractive-tabs-pill .nav-item {
        margin-right: 0.5rem; /* Space between pills */
        margin-bottom: 0.5rem;
    }

    .attractive-tabs-pill .nav-link:hover {
        background-color: #e9ecef;
        color: #343a40;
    }

    .attractive-tabs-pill .nav-link.active {
        background-color: var(--main-color);
        color: #fff;
        font-weight: 600;
        border-color: var(--main-color);
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }
    
    /* ---------------------------------- */
    /* Timeline styles */
    /* ---------------------------------- */
    .timeline-container .timeline-block {
        margin-bottom: 30px;
    }

    .timeline-divider .circle {
        border: 2px solid var(--main-color);
    }

    .text-maincolor {
        color: var(--main-color) !important;
    }

    .bg-maincolor {
        background-color: var(--main-color) !important;
    }

    /* --- RESPONSIVE STYLES FOR MOBILE (Screens smaller than 768px) --- */
    @media (max-width: 767.98px) {
        
        .attractive-tabs-underline .nav-link {
            font-size: 1rem;
            padding: 0.75rem 1rem;
            text-align: center;
        }

        .attractive-tabs-pill .nav-link {
            padding: 0.5rem 1rem;
            font-size: 0.9rem;
        }

        .attractive-tabs-underline .nav-link.active::after {
            width: 80%; /* Adjust underline for mobile tabs */
        }
        
        /* Stack timeline content vertically */
        .timeline-container .timeline-block .col-4,
        .timeline-container .timeline-block .col-8 {
            flex: 0 0 100%;
            max-width: 100%;
        }

        /* Center all timeline content on mobile */
        .timeline-container .timeline-block .col-4 {
            justify-content: center !important;
        }
        
        .timeline-container .timeline-block .text-end,
        .timeline-container .timeline-block .text-start {
            text-align: center !important;
        }
        
        /* Adjust timeline divider for mobile */
        .timeline-divider {
            justify-content: center !important;
            margin-bottom: 1rem;
        }

        /* Hide the line on the reversed timeline blocks on mobile */
        .timeline-divider.reverse .line {
            display: none;
        }
        
        .timeline-divider.reverse .circle {
            margin-left: 0;
        }

        .timeline-container .timeline-block .text-start div {
            margin-left: 0 !important;
        }

        /* Center timeline images on mobile */
        .timeline-container .timeline-block img {
            max-width: 100%;
            height: auto;
        }
    }


/* Garis belakang statik */
        .timeline-container::after {
            content: '';
            position: absolute;
            width: 3px;
            top: 0;
            bottom: 0;
            left: 50%;
            margin-left: -1.5px;
            z-index: -1;
        }

        /* Garis animasi */
        .timeline-line-animated {
            position: absolute;
            width: 3px;
            background-color: #7c266a;
            top: 0;
            left: 50%;
            margin-left: -1.5px;
            z-index: 0;
            height: 0;
            transition: height 0.3s ease-out; /* Animasi lancar */
        }

        /* Elemen garis masa */
        .timeline-event {
            padding: 0 40px;
            position: relative;
            width: 50%;
        }

        .timeline-event-left {
            left: 0;
        }

        .timeline-event-right {
            left: 50%;
        }

        /* Titik bulatan pada garis */
        .timeline-event-icon {
            position: absolute;
            width: 40px;
            height: 40px;
            right: -20px;
            background-color: #fff;
            border: 3px solid #7c266a;
            top: 0;
            border-radius: 50%;
            z-index: 2;
            display: flex;
            justify-content: center;
            align-items: center;
            color: #7c266a;
        }

        .timeline-event-right .timeline-event-icon {
            left: -20px;
        }

        /* Kotak kandungan */
        .timeline-content {
            padding: 20px 30px;
            background-color: #fff;
            position: relative;
            border-radius: 6px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

        .timeline-content-heading {
            text-align: center;
            font-size: 1.25rem;
            font-weight: bold;
            color: #333;
        }

        .timeline-content-desc {
            text-align: center;
            color: #555;
            font-size: 0.95rem;
        }
        
        .timeline-content-desc p {
            margin-bottom: 5px;
        }

        /* Animasi semasa skrol */
        .animate-on-scroll {
            opacity: 0;
            transform: translateY(50px);
            transition: opacity 0.6s ease-out, transform 0.6s ease-out;
        }

        .animate-on-scroll.in-view {
            opacity: 1;
            transform: translateY(0);
        }

        /* Skrin mudah alih */
        @media (max-width: 768px) {
            .timeline-container::after,
            .timeline-line-animated {
                left: 15px;
            }
            .timeline-event {
                width: 100%;
                padding-left: 45px;
                padding-right: 15px;
            }
            .timeline-event-right {
                left: 0%;
            }
            .timeline-event-left {
                left: 0%;
            }
            .timeline-event-icon {
                left: -20px;
            }
        }

         :root {
            --primary-color: #2c3e50;
            --secondary-color: #34495e;
            --accent-color: #6a1b9a;
            --text-color: #333;
            --light-bg: #f8f9fa;
            --card-bg: #ffffff;
        }
        body {
            font-family: 'Poppins', sans-serif;
            background-color: var(--light-bg);
            color: var(--text-color);
        }
        .page-title {
            font-weight: 700;
        }
        .info-card, .purpose-card {
            background-color: var(--card-bg);
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            height: 100%;
            display: flex;
            flex-direction: column;
            padding: 20px;
        }
        .info-card:hover, .purpose-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
        }
        .info-card .card-image {
            border-radius: 8px;
            overflow: hidden;
            margin-bottom: 1.5rem;
            height: 200px;
        }
        .info-card .card-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .card-title {
            color: var(--secondary-color);
            font-weight: 600;
            font-size: 1.5rem;
            text-transform: uppercase;
            text-align: center;
            margin-bottom: 1rem;
        }
        .card-text {
            font-size: 0.875rem;
            line-height: 1.6;
            text-align: justify;
            flex-grow: 1;
        }
        .read-more-btn {
            background-color: transparent;
            border: none;
            color: var(--accent-color);
            font-weight: 600;
            text-decoration: none;
            cursor: pointer;
            padding: 0;
            margin-top: 10px;
        }
        .read-more-btn:hover {
            color: var(--primary-color);
        }
        
        /* Gaya Kad 'Sesuai Untuk' */
        .purpose-card {
            text-align: center;
            padding: 25px;
        }
        .purpose-card .icon-container {
            width: 70px;
            height: 70px;
            background-color: #ecf0f1;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            margin: 0 auto 15px;
        }
        .purpose-card .icon-container img {
            width: 50%;
            height: auto;
        }
        .purpose-card p {
            font-weight: 400;
            font-size: 0.9rem;
            line-height: 1.5;
            margin-bottom: 0;
        }
        .separator {
            width: 80px;
            height: 4px;
            background-color: var(--accent-color);
            margin: 0 auto 1.5rem;
            border-radius: 2px;
        }


                      /* General container for the logos */
.logo-row {
    max-width: 1200px; /* Limit the row width on large screens */
    margin: 40px auto; /* Center the container on the page */
    padding: 0 20px;

    /* --- Flexbox Properties for the Row --- */
    display: flex;
    justify-content: space-around; /* Distribute space evenly between logos */
    align-items: center; /* Vertically align logos */
    flex-wrap: wrap; /* Allows logos to wrap to the next line if needed */
}

/* Styling for individual logos */
.logo {
    max-width: 100%;
    height: auto;
    width: 200px; /* Define a maximum width for each logo on desktop */
    margin: 10px;
}

.logo:hover {
    opacity: 1; /* Optional: make the logo fully opaque on hover */
}
