﻿
/* ================= HERO SECTION ================= */
.hero1-section {
    width: 100%;
    background: linear-gradient(90deg, #6FC3B4, #D8D268, #F8C640, #E79129);
    padding: 30px 0;
}

/* White box */
.hero1-box {
    max-width: 1300px;
    margin: 0 auto;
    border-radius: 18px;
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 60px; /* <-- NOT BIG */
}


/* LEFT SIDE */
.hero1-left {
    flex: 1;
}

.hero1-title {
    font-size: 26px;
    font-weight: 800;
    color: #000;
    margin-bottom: 20px;
}



.hero1-text {
    max-width: none; /* REMOVE LIMIT */
    width: 100%; /* USE FULL SPACE */
    line-height: 1.6;
    font-size: 18px;
    color: #333;
    margin-bottom: 30px;
}



/* BUTTONS */
.hero1-buttons {
    display: flex;
    gap: 20px;
}

.btn-black {
    background: #000;
    color: #fff;
    padding: 14px 28px;
    border-radius: 40px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

    .btn-black:hover {
        transform: translateY(-3px);
    }

.btn-outline {
    border: 2px solid #000;
    padding: 14px 28px;
    border-radius: 40px;
    font-weight: 600;
    color: #000;
    transition: 0.3s;
}

    .btn-outline:hover {
        background: #000;
        color: #fff;
    }

/* RIGHT IMAGE */
.hero1-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero1-img {
    width: 100%;
    max-width: 400px;
    max-height: 300px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* RESPONSIVE */
@media(max-width: 992px) {
    .hero1-box {
        flex-direction: column;
        text-align: center;
    }

    .hero1-buttons {
        justify-content: center;
    }

    .hero1-img {
        max-width: 240px;
    }
}

.hero1-image {
    width: 400px;
    height: 400px;
    border-radius: 18px;
    object-fit: cover;
}

/* PARENT SECTION */
.hero1-section {
    padding: 40px 0;
}

/* WHITE BOX */
.hero1-box {
    width: 70%;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 60px;
    gap: 50px;
}

/* LEFT SIDE WIDER */
.hero1-left {
    flex: 65%; /* Increased width */
}

/* RIGHT SIDE SMALLER */
.hero1-right {
    flex: 35%; /* Reduced width */
    display: flex;
    justify-content: flex-end;
}

/* IMAGE STYLE */
.hero1-img {
    width: 85%; /* Reduce image size */
    height: auto;
    object-fit: contain;
}

/* BUTTON */
.hero1-buttons .btn-black {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* MOBILE RESPONSIVE */
@media (max-width: 992px) {
    .hero1-box {
        flex-direction: column;
        padding: 30px 20px;
    }

    .hero1-left,
    .hero1-right {
        flex: 100%;
        text-align: center;
    }

    .hero1-img {
        width: 70%;
        margin: 0 auto;
    }
}

.hero1-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.08);
}

/* LEFT SECTION */
.hero1-left {
    flex: 75%;
    padding-right: 40px;
}

/* RIGHT SECTION */
.hero1-right {
    flex: 25%;
    display: flex;
    justify-content: center;
}

/* IMPORTANT: THIS PREVENTS IMAGE FROM DISAPPEARING */
.hero1-img-box {
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 6px 30px rgba(0,0,0,0.12);
    min-width: 320px; /* <-- prevents collapsing */
    min-height: 320px;
}

/* IMAGE INSIDE BOX */
.hero1-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 14px;
}

@media (max-width: 992px) {
    .hero1-box {
        flex-direction: column;
        text-align: center;
    }

    .hero1-left, .hero1-right {
        flex: 100%;
        padding: 0;
    }

    .hero1-img-box {
        margin-top: 30px;
        min-width: 250px;
    }
}

.btn-black {
    text-decoration: none !important;
}

    .btn-black:hover {
        text-decoration: none !important;
    }


/* DEFAULT DESKTOP (already working) */
.hero1-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

/* MOBILE & TABLET FIX */
@media (max-width: 991px) {

    .hero1-box {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding: 40px 20px;
    }

    .hero1-left {
        max-width: 100%;
        width: 100%;
    }

    .hero1-title {
        font-size: 30px;
        line-height: 1.2;
    }

    .hero1-text {
        font-size: 18px;
        line-height: 1.6;
        margin: 0 auto;
        max-width: 90%;
    }

    .hero1-buttons {
        justify-content: center;
    }

    .btn-black {
        margin: 0 auto;
    }

    .hero1-right {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .hero1-img {
        width: 85%;
        max-width: 350px;
    }
}

/* SMALL MOBILE FIX */
@media (max-width: 600px) {

    .hero1-box {
        padding: 20px;
        border-radius: 16px;
    }

    .hero1-title {
        font-size: 25px;
    }

    .hero1-text {
        font-size: 17px;
    }

    .hero1-img {
        width: 90%;
        max-width: 320px;
    }
}

@media (max-width: 991px) {
    .hero1-right {
        display: none !important;
    }
}

@media (max-width: 575px) {
    .hero1-buttons {
        margin-top: 20px !important; /* Increase space */
    }
}

.hero1-text {
    font-size: 17px;
    color: #444;
    line-height: 1.7;
    margin-bottom: 30px;
    text-align: justify;
}

.cg-menu-wrapper {
    position: sticky !important;
    top: 180px; /* DESKTOP STICKY SAFE ZONE */
    padding-left: 20px;
}




.section-title {
    font-weight: 700;
    margin-bottom: 20px;
}

.library-about-card {
    border-radius: 14px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(2,6,23,.08);
}

.library-highlight {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    border-bottom: 1px solid #eee;
    padding-bottom: 18px;
    margin-bottom: 20px;
}

    .library-highlight i {
        font-size: 28px;
        color: #ffae00;
        margin-top: 4px;
    }

.library-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 16px;
}

.library-box {
    background: #000;
    padding: 16px;
    border-radius: 10px;
    transition: .3s;
}

    .library-box:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 18px rgba(0,0,0,.08);
    }

    .library-box h5 {
        font-weight: 600;
        margin-bottom: 6px;
    }

.vm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
    gap: 20px;
}

.vm-card {
    background: #000;
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(2,6,23,.08);
    transition: .3s;
}

    .vm-card:hover {
        transform: translateY(-4px);
    }

.vm-icon {
    font-size: 26px;
    color: #ffae00;
    margin-bottom: 10px;
}

.vm-card h4 {
    font-weight: 700;
    margin-bottom: 8px;
}

.vision {
    border-top: 4px solid #ffae00;
}

.mission {
    border-top: 4px solid #ffae00;
}


.lib-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 18px;
}

.lib-card {
    background: #000;
    color: #fff;
    padding: 18px;
    border-radius: 12px;
    text-align: center;
    transition: .3s;
    border: 1px solid #111;
}

    .lib-card i {
        font-size: 26px;
        color: #FDBC01;
        margin-bottom: 10px;
    }

    .lib-card:hover {
        transform: translateY(-4px);
        border-color: #FDBC01;
        box-shadow: 0 8px 20px rgba(0,0,0,.3);
    }

.section-title {
    font-weight: 700;
    margin-bottom: 18px;
}

.rules-card {
    background: #000;
    padding: 20px;
    border-radius: 12px;
}

.rules-list {
    color: #fff;
    padding-left: 18px;
}

    .rules-list li {
        margin-bottom: 8px;
    }

.timing-card {
    background: #000;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(2,6,23,.08);
}

.time-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

    .time-row:last-child {
        border-bottom: none;
    }

.resource-card {
    background: #000;
    color: #fff;
    padding: 22px;
    border-radius: 12px;
}

.gold-btn {
    display: inline-block;
    margin-top: 10px;
    background: #FDBC01;
    color: #000;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
    gap: 18px;
}

.contact-card {
    background: #000;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 10px 30px rgba(2,6,23,.08);
}

.library-photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
    gap: 18px;
}

.library-photo {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,.25);
}

    .library-photo img {
        width: 100%;
        height: 220px;
        object-fit: cover;
    }
/* ================= HERO SECTION ================= */
.hero1-section {
    width: 100%;
    background: linear-gradient(90deg, #6FC3B4, #D8D268, #F8C640, #E79129);
    padding: 30px 0;
}

/* White box */
.hero1-box {
    max-width: 1300px;
    margin: 0 auto;
    border-radius: 18px;
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 60px; /* <-- NOT BIG */
}


/* LEFT SIDE */
.hero1-left {
    flex: 1;
}

.hero1-title {
    font-size: 25px;
    font-weight: 800;
    color: #000;
    margin-bottom: 20px;
}



.hero1-text {
    max-width: none; /* REMOVE LIMIT */
    width: 100%; /* USE FULL SPACE */
    line-height: 1.6;
    font-size: 18px;
    color: #333;
    margin-bottom: 30px;
}



/* BUTTONS */
.hero1-buttons {
    display: flex;
    gap: 20px;
}

.btn-black {
    background: #000;
    color: #fff;
    padding: 14px 28px;
    border-radius: 40px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

    .btn-black:hover {
        transform: translateY(-3px);
    }

.btn-outline {
    border: 2px solid #000;
    padding: 14px 28px;
    border-radius: 40px;
    font-weight: 600;
    color: #000;
    transition: 0.3s;
}

    .btn-outline:hover {
        background: #000;
        color: #fff;
    }

/* RIGHT IMAGE */
.hero1-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero1-img {
    width: 100%;
    max-width: 400px;
    max-height: 300px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* RESPONSIVE */
@media(max-width: 992px) {
    .hero1-box {
        flex-direction: column;
        text-align: center;
    }

    .hero1-buttons {
        justify-content: center;
    }

    .hero1-img {
        max-width: 240px;
    }
}

.hero1-image {
    width: 400px;
    height: 400px;
    border-radius: 18px;
    object-fit: cover;
}

/* PARENT SECTION */
.hero1-section {
    padding: 40px 0;
}

/* WHITE BOX */
.hero1-box {
    width: 70%;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 60px;
    gap: 50px;
}

/* LEFT SIDE WIDER */
.hero1-left {
    flex: 65%; /* Increased width */
}

/* RIGHT SIDE SMALLER */
.hero1-right {
    flex: 35%; /* Reduced width */
    display: flex;
    justify-content: flex-end;
}

/* IMAGE STYLE */
.hero1-img {
    width: 85%; /* Reduce image size */
    height: auto;
    object-fit: contain;
}

/* BUTTON */
.hero1-buttons .btn-black {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* MOBILE RESPONSIVE */
@media (max-width: 992px) {
    .hero1-box {
        flex-direction: column;
        padding: 30px 20px;
    }

    .hero1-left,
    .hero1-right {
        flex: 100%;
        text-align: center;
    }

    .hero1-img {
        width: 70%;
        margin: 0 auto;
    }
}

.hero1-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.08);
}

/* LEFT SECTION */
.hero1-left {
    flex: 75%;
    padding-right: 40px;
}

/* RIGHT SECTION */
.hero1-right {
    flex: 25%;
    display: flex;
    justify-content: center;
}

/* IMPORTANT: THIS PREVENTS IMAGE FROM DISAPPEARING */
.hero1-img-box {
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 6px 30px rgba(0,0,0,0.12);
    min-width: 320px; /* <-- prevents collapsing */
    min-height: 320px;
}

/* IMAGE INSIDE BOX */
.hero1-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 14px;
}

@media (max-width: 992px) {
    .hero1-box {
        flex-direction: column;
        text-align: center;
    }

    .hero1-left, .hero1-right {
        flex: 100%;
        padding: 0;
    }

    .hero1-img-box {
        margin-top: 30px;
        min-width: 250px;
    }
}

.btn-black {
    text-decoration: none !important;
}

    .btn-black:hover {
        text-decoration: none !important;
    }


/* DEFAULT DESKTOP (already working) */
.hero1-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

/* MOBILE & TABLET FIX */
@media (max-width: 991px) {

    .hero1-box {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding: 40px 20px;
    }

    .hero1-left {
        max-width: 100%;
        width: 100%;
    }

    .hero1-title {
        font-size: 30px;
        line-height: 1.2;
    }

    .hero1-text {
        font-size: 18px;
        line-height: 1.6;
        margin: 0 auto;
        max-width: 90%;
    }

    .hero1-buttons {
        justify-content: center;
    }

    .btn-black {
        margin: 0 auto;
    }

    .hero1-right {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .hero1-img {
        width: 85%;
        max-width: 350px;
    }
}

/* SMALL MOBILE FIX */
@media (max-width: 600px) {

    .hero1-box {
        padding: 20px;
        border-radius: 16px;
    }

    .hero1-title {
        font-size: 25px;
    }

    .hero1-text {
        font-size: 17px;
    }

    .hero1-img {
        width: 90%;
        max-width: 320px;
    }
}

@media (max-width: 991px) {
    .hero1-right {
        display: none !important;
    }
}

@media (max-width: 575px) {
    .hero1-buttons {
        margin-top: 20px !important; /* Increase space */
    }
}

.hero1-text {
    font-size: 17px;
    color: #444;
    line-height: 1.7;
    margin-bottom: 30px;
    text-align: justify;
}

/* =========================================
   MOBILE HERO FIX ONLY (NO DESKTOP CHANGE)
========================================= */

@media (max-width: 991px) {

    .hero1-box {
        flex-direction: column !important;
        padding: 25px 20px !important;
        gap: 20px !important;
        width: 100% !important;
    }

    .hero1-left {
        flex: 100% !important;
        padding-right: 0 !important;
    }

    .hero1-right {
        display: none !important; /* prevents long train effect */
    }

    .hero1-title {
        font-size: 24px !important;
    }

    .hero1-text {
        font-size: 16px !important;
        text-align: center !important;
        margin-bottom: 20px !important;
    }

    .hero1-buttons {
        justify-content: center !important;
    }
}



