/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

/* Base styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    background-color: #f5f7fa;
    color: #333;
}

header {
    width: 100%;
    background-color: #ffffff;
    padding: 5px 10px;
    box-sizing: border-box;
    position: fixed;
    /* Fixed position to ensure it stays at the top */
    top: 0;
    left: 0;
    z-index: 1001;
    /* Higher z-index to ensure it's above the sidebar */
}

/* Adjust header content for consistent alignment */
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    /* Optional: Set a max-width for better alignment */
    margin: 0 auto;
    /* Center the header content */
}

/* Centering the logo */
.logo img {
    max-width: 100px;
    height: auto;
}

/* Social media icons on the right */
.social-links {
    flex: 1;
    text-align: right;
}

.social-links a {
    margin-left: 10px;
    font-size: 18px;
    color: #992873;
}

.social-links a:hover {
    color: #ccc;
}

.current-time {
    font-size: 14px;
    flex: 1;
    text-align: left;
}

/* Front page layout */
.front-page {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    padding: 20px;
    box-sizing: border-box;
    margin-top: 120px;
    /* Add top margin to account for fixed header */
}

/* Sidebar filter section */
aside {
    width: 300px;
    position: fixed;
    left: 0;
    top: 120px;
    bottom: 0;
    padding: 20px;
    box-sizing: border-box;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    /* Ensure the sidebar is below the header */
    overflow-y: auto;
    /* Allow scrolling if the content overflows */
}

aside input,
aside select {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: border-color 0.3s;
}

aside input:focus,
aside select:focus {
    border-color: #803EB7;
}

/* Banner styles */
.banner {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.additional-images {
    display: flex;
    align-items: center;
    width: 100%;
    margin-top: 10px;
}

.small-image {
    width: 15px;
    height: 15px;
    object-fit: cover;
    margin-right: 5px;
    transition: transform 0.2s;
}

.small-image:last-child {
    margin-right: 0;
}

.small-image:hover {
    transform: scale(1.1);
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.filter-buttons button {
    flex: 1 1 calc(50% - 10px);
    padding: 10px;
    background: #ededed;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: rgb(0, 0, 0);
    text-align: center;
    background-clip: padding-box;
    /* Ensure the gradient fills the button */
}


.filter-buttons button:hover {
    background: #cecece;
}

.filter-buttons button.active {
    background: #afafaf;
    color: #fff;
}

/* Package list */
.package-list-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    width: calc(100% - 300px);
    margin-left: 300px;
    padding: 20px;
    box-sizing: border-box;
}

.package-item .container .container {
    border-radius: 10px;
    overflow: hidden;
}

.package-item .header {
    background-color: white;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.package-item .header .logo {
    height: 50px;
}

.package-item .header .offer-title {
    height: 50px;
}

.package-item .header .offer-title .highlight {
    color: #FF0062;
}

.package-item .main-content-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.package-item .main-content {
    flex: 1 1 calc(50% - 10px);
    padding: 20px;
    color: #ffffff;
    background: linear-gradient(135deg, #803EB7 0%, #64184b 100%);
    border-radius: 12px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.package-item .main-content:hover {
    transform: translateY(-5px);
    box-shadow: 0px 15px 40px rgba(0, 0, 0, 0.2);
}


.package-item .main-content .socialbg {
    margin: 20px 0;
}

.package-item .main-content .social-icons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    /* Space between rows */
    background-color: #ffffff;
    padding: 5px;
    border-radius: 10px;
}

.package-item .main-content .social-icons .social-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    /* Space between items */
    flex-wrap: wrap;
    /* Allow items to wrap if there's not enough space */
    width: 100%;
    /* Ensure it takes the full width */
}

.package-item .main-content .social-icons .social-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 80px;
    /* Adjust width as needed */
}

.package-item .main-content .social-icons i {
    font-size: 20px;
    padding: 10px;
    background-color: #fff;
    /* color: #803EB7; */
    border-radius: 50%;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
    margin-bottom: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.package-item .main-content .social-icons i:hover {
    background-color: #ffffff;
    color: #803EB7;
    transform: scale(1.1);
}

.package-item .main-content .social-icons .social-text {
    font-size: 14px;
    color: #803EB7;
}


.package-item .main-content .data-plan {
    font-weight: bolder;
    font-size: 28px;
    margin: 25px 0;
    color: #ffffff;
}

.package-item .main-content .price {
    font-size: 22px;
    font-weight: bold;
    color: #FF0062;
    margin: 25px 0;
    text-align: center;
    background-color: #ffffff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
}

.package-item .main-content .note {
    font-size: 16px;
    color: #ffffff;
    margin: 15px 0;
    text-align: center;
}

/* Ensure the social-media-type text is centered */
.social-media-type {
    font-size: 18px;
    font-weight: bold;
    color: #000;
    text-align: center;
    margin-top: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Define styles for Unlimited and Limited text */
.unlimited-text {
    font-size: 15px;
    font-weight: bold;
    color: #000000;
    /* Gold color for Unlimited */
    text-transform: uppercase;
}

.limited-text {
    font-size: 15px;
    font-weight: bold;
    color: #8f0303;
    /* Orange-red for Limited */
    text-transform: uppercase;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .front-page {
        flex-direction: column;
        align-items: stretch;
    }

    aside {
        width: 100%;
        margin-bottom: 20px;
        position: relative;
        top: auto;
        left: auto;
        bottom: auto;
    }

    .package-list-wrapper {
        margin-left: 0;
        width: 100%;
    }

    .filter-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .filter-buttons button {
        flex: 1 1 calc(50% - 10px);
    }
}

@media (max-width: 480px) {
    header {
        flex-direction: column;
        align-items: center;
    }

    .current-time {
        display: none;
    }

    .social-links {
        padding-top: 20px;
    }

    .filter-buttons button {
        flex: 1 1 calc(50% - 10px);
        font-size: 14px;
    }

    .social-links a {
        font-size: 20px;
    }

    .package-item .main-content .unlimited {
        font-size: 30px;
    }

    .package-item .main-content .data-plan {
        font-size: 22px;
    }

    .package-item .main-content .price {
        font-size: 20px;
    }
}

/* for filter */
.package-list-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    width: calc(100% - 300px);
    margin-left: 300px;
    padding: 20px;
    box-sizing: border-box;
}

#package-list .container .container {
    border-radius: 10px;
    overflow: hidden;
}

#package-list .header {
    background-color: white;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#package-list .header .logo {
    height: 50px;
}

#package-list .header .offer-title {
    height: 50px;
}

#package-list .header .offer-title .highlight {
    color: #FF0062;
}

#package-list .main-content-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: space-between;
}

#package-list .main-content {
    flex: 1 1 calc(50% - 10px);
    padding: 20px;
    color: #242424;
    background: linear-gradient(135deg, #803EB7 0%, #64184b 100%);
    border-radius: 12px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

#package-list .main-content:hover {
    transform: translateY(-5px);
    box-shadow: 0px 15px 40px rgba(0, 0, 0, 0.2);
}

#package-list .main-content .unlimited {
    font-size: 40px;
    font-weight: bold;
    color: #FFD700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

#package-list .main-content .socialbg {
    margin: 20px 0;
}

#package-list .main-content .social-icons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    /* Space between rows */
    background-color: #ffffff;
    padding: 5px;
    border-radius: 10px;
}

#package-list .main-content .social-icons .social-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    /* Space between items */
    flex-wrap: wrap;
    /* Allow items to wrap if there's not enough space */
    width: 100%;
    /* Ensure it takes the full width */
}

#package-list .main-content .social-icons .social-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 80px;
    /* Adjust width as needed */
}

#package-list .main-content .social-icons i {
    font-size: 20px;
    padding: 10px;
    background-color: #fff;
    /* color: #803EB7; */
    border-radius: 50%;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
    margin-bottom: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#package-list .main-content .social-icons i:hover {
    background-color: #ffffff;
    color: #803EB7;
    transform: scale(1.1);
}

#package-list .main-content .social-icons .social-text {
    font-size: 14px;
    color: #803EB7;
}

#package-list .main-content .data-plan {
    font-weight: bolder;
    font-size: 28px;
    margin: 25px 0;
    color: #ffffff;
}

#package-list .main-content .price {
    font-size: 22px;
    font-weight: bold;
    color: #FF0062;
    margin: 25px 0;
    text-align: center;
    background-color: #ffffff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
}

#package-list .main-content .note {
    font-size: 16px;
    color: #ffffff;
    margin: 15px 0;
    text-align: center;
}


/* Responsive Styles */
@media (max-width: 768px) {
    .front-page {
        flex-direction: column;
        align-items: stretch;
    }

    aside {
        width: 100%;
        margin-bottom: 20px;
        position: relative;
        top: auto;
        left: auto;
        bottom: auto;
    }

    .package-list-wrapper {
        margin-left: 0;
        width: 100%;
    }

    .filter-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .filter-buttons button {
        flex: 1 1 calc(50% - 10px);
    }
}

@media (max-width: 480px) {
    header {
        flex-direction: column;
        align-items: center;
    }

    .current-time {
        display: none;
    }

    .social-links {
        padding-top: 20px;
    }

    .filter-buttons button {
        flex: 1 1 calc(50% - 10px);
        font-size: 14px;
    }

    .social-links a {
        font-size: 20px;
    }

    .package-item .main-content .unlimited {
        font-size: 30px;
    }

    .package-item .main-content .data-plan {
        font-size: 22px;
    }

    .package-item .main-content .price {
        font-size: 20px;
    }
}