﻿
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    /*background: url('https://res.cloudinary.com/dc3ijuowd/image/upload/v1764577278/SVPEC11_iio3t1.png') no-repeat center center/cover !important;*/

    background: url('imgs/spc4.png') no-repeat center center/cover !important;
    /*background: url('img/buile.png') no-repeat center center/cover !important;*/
    z-index: 1;
    filter: none !important;
    opacity: 1 !important;
}

.hero-section, .hero-bg {
    background-blend-mode: normal !important;
    mix-blend-mode: normal !important;
    filter: none !important;
}



.header-container {
    width: 100%;
    padding: 0 clamp(16px, 3vw, 48px);
    box-sizing: border-box;
}



/* ================= 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: 28px;
    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;
}




/* TABLE */
.pdf-table table {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
}

.pdf-table th {
    background: #111;
    padding: 14px;
    text-align: left;
}

.pdf-table td {
    background: #1a1a1a;
    padding: 14px;
    border-bottom: 1px solid #333;
}

.pdf-table a {
    background: #000;
    padding: 6px 14px;
    border-radius: 20px;
    color: #fff;
    text-decoration: none;
}

    .pdf-table a:hover {
        background: #444;
    }

 
/* ===== Title ===== */
.cg-dark-title {
    color: #fff;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
}

.cg-dark-title:after {
    content: "";
    width: 70px;
    height: 3px;
    background: linear-gradient(90deg,#00bcd4,#f5c542);
    display: block;
    margin-top: 8px;
    border-radius: 3px;
}

/* ===== Main Card ===== */
.eligibility-dark-card {
    background: rgba(255,255,255,0.04);
    border-radius: 18px;
    padding: 35px;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.08);
}

/* ===== Blocks ===== */
.eligibility-block {
    margin-bottom: 35px;
}

    .eligibility-block h4 {
        color: #f5c542;
        font-weight: 600;
        margin-bottom: 18px;
    }

    .eligibility-block i {
        margin-right: 10px;
        color: #f5c542;
    }

/* ===== List Style ===== */
.eligibility-list {
    list-style: none;
    padding-left: 0;
}

    .eligibility-list li {
        position: relative;
        padding-left: 28px;
        margin-bottom: 12px;
        color: #d6d6d6;
        line-height: 1.7;
    }

        /* Custom Bullet */
        .eligibility-list li:before {
            content: "✔";
            position: absolute;
            left: 0;
            color: #00e676;
            font-size: 14px;
        }

/* Not Eligible Highlight */
.not-eligible {
    color: #ff6b6b !important;
    font-weight: 600;
}

    .not-eligible:before {
        content: "✖";
        color: #ff6b6b;
    }

/* ===== Age Highlight Box ===== */
.age-highlight {
    background: rgba(255,255,255,0.06);
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #f5c542;
    color: #e0e0e0;
    line-height: 1.7;
}

    .age-highlight span {
        font-size: 13px;
        color: #aaa;
    }

/* ===== Responsive ===== */
@media(max-width:768px) {

    .eligibility-dark-card {
        padding: 25px;
    }
}
/* ===== Reservation Card ===== */

.reservation-dark-card {
    background: rgba(255,255,255,0.04);
    padding: 35px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
}

.reservation-intro {
    color: #d0d0d0;
    margin-bottom: 30px;
}

/* ===== Grid Reservation ===== */

.reservation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(120px,1fr));
    gap: 18px;
    margin-bottom: 40px;
}

.res-item {
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    text-align: center;
    padding: 20px;
    transition: .3s;
    border: 1px solid rgba(255,255,255,0.08);
}

    .res-item span {
        display: block;
        color: #aaa;
        font-size: 14px;
    }

    .res-item strong {
        font-size: 26px;
        color: #f5c542;
    }

    .res-item:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    }

/* ===== Special Reservation Cards ===== */

.special-reservation {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.special-card {
    background: rgba(255,255,255,0.05);
    padding: 25px;
    border-radius: 14px;
    border-left: 4px solid #00bcd4;
    transition: .3s;
}

    .special-card i {
        font-size: 22px;
        color: #f5c542;
        margin-bottom: 10px;
    }

    .special-card h4 {
        color: #fff;
        margin-bottom: 8px;
        font-size: 17px;
    }

    .special-card p {
        color: #cfcfcf;
        font-size: 14px;
    }

    .special-card:hover {
        transform: translateY(-3px);
    }

/* ===== Warning Note ===== */

.reservation-note {
    background: rgba(255,0,0,0.08);
    padding: 18px;
    border-left: 4px solid #ff6b6b;
    color: #ff8a8a;
    border-radius: 10px;
    font-size: 14px;
}

/* ===== Admission Main Card ===== */

.admission-dark-card {
    background: rgba(255,255,255,0.04);
    padding: 35px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
}


/* ===== Admission Steps ===== */

.admission-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.step-card {
    background: rgba(255,255,255,0.05);
    padding: 25px;
    border-radius: 14px;
    border-left: 4px solid #f5c542;
    position: relative;
    transition: .3s;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 20px;
    background: #f5c542;
    color: #000;
    font-weight: bold;
    padding: 6px 14px;
    border-radius: 25px;
    font-size: 14px;
}

.step-card p {
    color: #d8d8d8;
    margin-top: 12px;
    font-size: 15px;
}

.step-card:hover {
    transform: translateY(-3px);
}


/* ===== Allocation Section ===== */

.allocation-title {
    color: #fff;
    margin-bottom: 20px;
}

.allocation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 20px;
}

.allocation-card {
    background: rgba(255,255,255,0.05);
    padding: 25px;
    border-radius: 14px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.08);
    transition: .3s;
}

    .allocation-card h5 {
        color: #fff;
        margin-bottom: 10px;
    }

    .allocation-card span {
        font-size: 30px;
        font-weight: bold;
        color: #00d4ff;
    }

    .allocation-card p {
        color: #cfcfcf;
        font-size: 14px;
    }

/* Color Variants */

.primary span {
    color: #ffb300;
}

.secondary span {
    color: #ffb300;
}

.highlight {
    border-left: 4px solid #00d4ff;
}

.allocation-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

/* ===== Section Title ===== */

.cg-dark-title {
    color: #fff;
    margin-bottom: 25px;
    padding-left: 12px;
}

/* ===== Programme Cards ===== */

.programme1-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
    gap: 22px;
}

.programme1-card {
    background: rgba(255,255,255,0.05);
    padding: 25px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.08);
    transition: .3s;
}

    .programme1-card h4 {
        color: #fff;
        margin-bottom: 12px;
    }

    .programme1-card p {
        color: #cfcfcf;
        font-size: 14px;
    }

    .programme1-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    }

/* ===== Fee Section ===== */

.fee-summary-card {
    background: rgba(255,255,255,0.04);
    padding: 30px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.08);
}

/* Total Fee Highlight */

.fee-total {
    text-align: center;
    margin-bottom: 25px;
}

    .fee-total h4 {
        color: #bbb;
    }

    .fee-total span {
        font-size: 42px;
        font-weight: bold;
        color: #f5c542;
    }

/* ===== Fee Table ===== */

.dark-fee-table {
    width: 100%;
    border-collapse: collapse;
}

    .dark-fee-table th {
        background: #111;
        color: #fff;
        padding: 12px;
        text-align: left;
    }

    .dark-fee-table td {
        padding: 10px;
        color: #ddd;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .dark-fee-table tr:hover {
        background: rgba(255,255,255,0.03);
    }

/* GOLD ACCENT FOR CARDS */

.special-card {
    border-left: 4px solid #f5c542;
}

.allocation-card.highlight {
    border-left: 4px solid #f5c542;
}

.special-card:hover,
.allocation-card:hover {
    box-shadow: 0 8px 25px rgba(245,197,66,0.25);
}

/* ================= HERO SECTION ================= */
.hero1-section {
    width: 100%;
    background: linear-gradient(90deg, #6FC3B4, #D8D268, #F8C640, #E79129);
    padding: 30px 0;
}

/* HERO CARD */
.hero1-box {
    max-width: 1200px;
    width: 95%;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 20px 50px;
    box-shadow: 0 10px 28px rgba(0,0,0,.08);
}

/* LEFT CONTENT */
.hero1-left {
    flex: 75%;
}

/* RIGHT IMAGE */
.hero1-right {
    flex: 25%;
    display: flex;
    justify-content: center;
}

/* IMAGE BOX */
.hero1-img-box {
    width: 100%;
    max-width: 320px;
}

/* IMAGE */
.hero1-img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* TEXT */
.hero1-text {
    font-size: 17px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 25px;
    text-align: justify;
}


/* ================= TABLET ================= */
@media (max-width: 992px) {

    .hero1-box {
        flex-direction: column;
        text-align: center;
        padding: 35px 25px;
        border-radius: 0;
    }

    .hero1-text {
        text-align: center;
    }

    .hero1-buttons {
        justify-content: center;
    }

    .hero1-img {
        max-width: 280px;
    }
}

/* ================= MOBILE ================= */
@media (max-width: 576px) {

    .hero1-title {
        font-size: 24px;
    }

    .hero1-text {
        font-size: 16px;
    }

    .hero1-box {
        padding: 25px 18px;
    }

    .hero1-img {
        max-width: 220px;
    }
}


/* =================================================
LEFT MENU RESPONSIVE
================================================= */
@media (max-width:992px) {
    .cg-menu-wrapper {
        position: relative !important;
        top: auto !important;
        margin-bottom: 20px;
    }
}

/* =================================================
TABLE RESPONSIVE
================================================= */
@media (max-width:768px) {
    .pdf-table {
        overflow-x: auto;
    }

        .pdf-table table {
            min-width: 650px;
        }
}

/* =================================================
GRID FIXES
================================================= */
@media (max-width:768px) {

    .reservation-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .special-reservation {
        grid-template-columns: 1fr;
    }

    .admission-steps {
        grid-template-columns: 1fr;
    }

    .allocation-grid {
        grid-template-columns: 1fr;
    }

    .programme1-grid {
        grid-template-columns: 1fr;
    }
}

/* =================================================
CARD PADDING FIX
================================================= */
@media (max-width:576px) {

    .eligibility-dark-card,
    .reservation-dark-card,
    .admission-dark-card,
    .fee-summary-card {
        padding: 20px;
    }
}
/* ================= FEE TABLE RESPONSIVE FIX ================= */

.fee-table-wrap {
    width: 100%;
    overflow-x: auto;
}

/* Prevent table from shrinking too small */
.dark-fee-table {
    min-width: 520px;
}

/* Mobile spacing */
@media (max-width:576px) {

    .fee-summary-card {
        padding: 18px;
    }

    .fee-total span {
        font-size: 32px;
    }
}

