body {
    font-family: Arial, Helvetica, sans-serif;
    color: #333;
    margin: 0;
    padding: 0;
}


.home-intro {
    padding: 20px;
    max-width: 1200px;
    margin: auto;
}
.home-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}
.home-text {
    flex: 1 1 500px;
    min-width: 300px;
    padding: 10px;
}
.home-text h1 {
    font-size: 36px;
    margin-bottom: 15px;
}
.home-text .highlight {
    font-family: cursive;
    color: #f63622;
}
.home-text p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}
.home-buttons a {
    background: linear-gradient(45deg, #f63622, #ff8c2e);
    color: white;
    padding: 12px 25px;
    font-size: 18px;
    border-radius: 10px;
    text-decoration: none;
    margin: 5px;
    display: inline-block;
}
.home-image {
    flex: 1 1 300px;
    text-align: center;
    width: 100%; 
    overflow: hidden; 
}
.home-image img {
    width: 100%; 
    height: auto; 
    max-width: 500px; 
    display: block; 
    margin: 0 auto; 
}


.video-section {
    padding: 20px;
    text-align: center;
}
.video-wrapper {
    display: inline-block;
    position: relative;
}
.video-wrapper img {
    width: 100%;
    max-width: 900px;
    border-radius: 10px;
}
.play-btn {
    position: absolute;
    top: 50%;
    left: 40%;
    transform: translate(-50%, -50%);
    background: linear-gradient(45deg, #f63622, #ff8c2e);
    color: white;
    font-size: 50px;
    padding: 25px 30px;
    border-radius: 50%;
    text-decoration: none;
}
.play-btn:hover {
    background: linear-gradient(45deg, #0008ffff, #00c6ff); 
    color: #fff; 
}


.activities-section-wrapper {
    background-color: #f5f5f5; 
    padding: 50px 20px; 
}
.activities-section {
    padding: 20px;
    max-width: 800px; 
    margin: auto;
}
.activities-section h3 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
    font-weight: bold;
}
.activities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px; 
}
.activities-column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 15px;
}
.image-box {
    background: linear-gradient(to bottom, #f63622, #ff8c2e);
    border-radius: 12px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
.image-box img {
    width: 100%;
    height: 48%;
    border-radius: 8px;
}
.middle-column .tile-row {
    display: flex;
    gap: 15px;
    flex: 1;
}
.tile {
    background: linear-gradient(to top, #f63622, #ff8c2e);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}
.tile img {
    margin-bottom: 10px;
}
.tile img:first-child {
    width: 90px;
}
.tile img:last-child {
    width: 90px;
}


.call-to-action {
    padding: 60px 20px;
    max-width: 1200px;
    margin: auto;
}

.cta-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap; 
}

.cta-text {
    flex: 1 1 45%;
    min-width: 300px;
    text-align: left;
}

.cta-text h1 {
    font-weight: 700;
    font-size: 48px;
    line-height: 1.3;
    margin-bottom: 30px;
    color: #333;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}


.cta-buttons a {
    background: linear-gradient(45deg, #f63622, #ff8c2e);
    color: white;
    text-align: center;
    text-decoration: none;
    padding: 12px 30px;
    font-size: 18px;
    border-radius: 12px;
    display: inline-block;
    transition: background 0.3s ease;
}


@media (max-width: 768px) {
    .cta-buttons-mobile {
        align-items: center;
    }
}

.icons-grid {
    flex: 1 1 50%;
    display: flex;
    justify-content: space-around;
    gap: 30px;
}

.icon-box {
    text-align: center;
    flex: 1 1 30%;
    max-width: 180px;
}

.icon-box img {
    width: 100%;
    height: auto;
    /* max-width: 150px; */
}

.icon-box h2 {
    font-size: 20px;
    margin-top: 10px;
    color: #333;
    line-height: 1.4;
    font-weight: 600;
}


@media (max-width: 768px) {
    .cta-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .cta-text {
        text-align: center;
    }

    .icons-grid {
        justify-content: center;
        flex-wrap: wrap;
        
    }

    .icon-box {
        max-width: 140px;
        margin-bottom: 20px;
    }

    .icon-box img {
        /* max-width: 120px; */
    }

    .cta-buttons {
        justify-content: center;
    }
}


@media (max-width: 939px) {
    html, body {
        overflow-x: hidden; 
    }

    .home-wrapper, .cta-wrapper {
        flex-direction: column; 
        text-align: center;
        overflow-x: hidden;
    }

    .home-image {
        width: 100%; 
        padding: 0; 
    }

    .home-image img {
        width: 100%; 
        max-width: 400px; 
        height: auto; 
        max-height: 50vh;
        object-fit: contain; 
        display: block;
        margin: 0 auto;
    }

    .icons-grid {
        justify-content: center;
    }

    .activities-grid {
        grid-template-columns: 1fr;
    }

    .play-btn {
        font-size: 40px;
        padding: 15px 20px;
    }
}


@media (min-width: 940px) {
    .home-wrapper {
        flex-direction: row; 
        align-items: center; 
        gap: 20px; 
    }

    .home-text {
        flex: 1 1 50%;
        min-width: 300px;
    }

    .home-image {
        flex: 1 1 40%; 
        min-width: 300px;
    }

    .home-image img {
        max-width: 500px; 
        height: auto;
        object-fit: contain; 
    }
}


@media (min-width: 701px) and (max-width: 938px) {
    .icons-grid {
        justify-content: center; 
        gap: 20px; 
    }

    .icon-box {
        flex: 1 1 30%; 
        min-width: 180px; 
        max-width: 200px; 
    }

    .icon-box img {
        width: 180px;
        height: 230px;
    }

    .icon-box h2 {
        font-size: 24px; 
        width: 140px; 
    }
}
        .main-wrapper-membership {
            width: 100%;
            max-width: 1360px;
            margin: 0 auto;
            font-family: sans-serif;
            display: grid;
            grid-template-columns: 16fr 1fr;
        }
        .member-col-left {
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100%; 
        }
        .ag-format-container-membership {
            width: 100%;
            max-width: 1300px;
            margin: 0 auto;
            padding: 10px;
            box-sizing: border-box;
        }
        .h3-membership-3,
        .h3-membership-1 {
            font-size: 1.5rem;
            text-align: center;
            margin-bottom: 15px;
        }
        .ag-courses_box {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 10px;
        }
        .ag-courses_item {
            flex: 1 1 300px;
            max-width: 200px;
            max-height: 180px;
            background: #ff4a3d;
            border-radius: 12px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            text-align: center;
            padding: 20px;
            color: #fff;
            transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
            box-sizing: border-box;
        }
        .ag-courses-item_link {
            text-decoration: none;
            color: inherit;
            display: block;
        }
        .ag-courses-item_title-membership {
            font-size: 1rem;
            font-weight: bold;
        }
        .ag-courses_item:hover {
            background: #e2841ee2; 
            color: #fff; 
        }
        .ag-courses_item:hover * {
            background: transparent !important; 
            color: #fff; 
        }
        .ag-courses_item.active {
            background: #e2841ee2;
            color: #fff;
        }
        .ag-courses_item.active * {
            background: transparent !important;
            color: #fff;
        }
        @media (max-width: 600px) {
            .ag-courses_item {
                flex: 1 1 100%;
                max-width: 100%;
            }
            .main-wrapper-membership {
                grid-template-columns: 1fr; 
            }
            .member-col-left {
                min-height: auto; 
                padding: 20px; 
            }
        }
        .membership-plan .member-sec .membership__container .col-three {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 40px;
        }
        .membership-plan .member-sec .membership__container .col-three .box {
            position: relative;
            min-height: 550px;
            background-color: #fff;
            box-shadow: 0 0 10px 5px #eef2f7;
            display: flex;
            justify-content: space-around;
            align-items: center;
            flex-direction: column;
            border-radius: 15px;
            padding-inline: 30px;
        }
        .membership-plan .member-sec .membership__container .col-three .box .top h3 {
            font-size: 25px;
            margin-bottom: 10px;
        }
        .membership-plan .member-sec .membership__container .col-three .box .top ul li {
            padding-left: 10px;
            font-size: 18px;
            margin-bottom: 10px;
        }
        .membership-plan .member-sec .membership__container .col-three .box .top ul li::marker {
            content: "";
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            color: #0f0;
        }
        .membership-plan .member-sec .membership__container .col-three .box .bottom {
            position: relative;
        }
        .membership-plan .member-sec .membership__container .col-three .box .bottom h2 {
            color: #2a64b2;
            font-weight: 600;
        }
        .membership-plan .member-sec .membership__container .col-three .box .bottom p {
            color: #1a2838;
            margin-bottom: 10px;
        }
        .membership-plan .member-sec .membership__container .col-three .box .bottom a {
            display: inline-block;
            background-color: #f4b743;
            padding: 14px 22px;
            font-size: 18px;
            font-weight: 600;
            border-radius: 10px;
            text-align: center;
            width: 100%;
        }
        .membership-plan .member-sec .membership__container .col-three .box.dark {
            background-color: #fe4734;
        }
        .membership-plan .member-sec .membership__container .col-three .box.dark .bottom h2 {
            color: #fff;
        }
        .membership-plan .member-sec .membership__container .col-three .box .extra_info {
            position: absolute;
            bottom: 10px;
            top: auto;
            left: 50%;
            transform: translate(-50%);
            width: 100%;
            text-align: center;
            color: #63bf45;
            font-size: 18px;
        }
        .membership-plan .member-sec .membership__container .col-three .box .extra_info i {
            color: #ff0;
            padding-right: 10px;
        }
        .span-membership {
            color: #fff;
        }
        .membership-plan .member-sec .membership__container .col-three .box.dark:before {
            content: attr(data-title);
            font-weight: 500;
            font-size: 18px;
            color: #fff;
            background-color: #0086b2;
            box-shadow: 0 0 3px 5px #63bf45;
            min-width: 200px;
            padding-block: 12px;
            text-align: center;
            position: absolute;
            top: -20px;
            border-radius: 10px;
            left: 50%;
            transform: translate(-50%);
        }
        .membership-plan .member-sec .membership__container .col-three .box.dark .top>* {
            color: #fff;
        }
        .membership-plan .member-sec .membership__container .col-three .box.dark .bottom p {
            color: #fff;
        }

        .table-container,
.users_data {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

@media (max-width: 768px) {
    .content {
        display: flex;
        flex-direction: column;
        gap: 10px;
        border-bottom: 1px solid #ddd;
        padding: 10px 0;
    }

    .content .item {
        width: 100%;
        text-align: left;
    }
    .content .item img {
        max-width: 100%;
        height: auto;
    }
    .users_data h3 {
        font-size: 1.2rem;
        margin: 10px 0;
    }
}