﻿
.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;
    }

.cg-menu-wrapper {
    position: sticky !important;
    top: 200px; /* DESKTOP STICKY SAFE ZONE */
    padding-left: 20px;
}
/* YEAR HEADING */
.placement-year {
    margin-top: 30px;
    margin-bottom: 12px;
    color: #ffae00;
    font-size: 20px;
    font-weight: 600;
}

/* TABLE WRAPPER */
.placement-table-wrapper {
    overflow-x: auto;
    margin-bottom: 25px;
}

/* TABLE */
.placement-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 650px;
}

    /* HEADER */
    .placement-table th {
        background: #111;
        padding: 14px;
        text-align: left;
        color: #fff;
        font-weight: 600;
    }

    /* ROW */
    .placement-table td {
        background: #1a1a1a;
        padding: 14px;
        border-bottom: 1px solid #333;
        color: #ccc;
    }

    /* HOVER */
    .placement-table tbody tr:hover td {
        background: #222;
        transition: 0.3s;
    }

/* MOBILE */
@media(max-width:768px) {
    .placement-table {
        min-width: 600px;
    }
}

/* INFRA GRID */
.infra-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
    gap: 22px;
    margin-top: 25px;
}

/* INFRA CARD */
.infra-card {
    background: #1a1a1a;
    padding: 25px;
    border-radius: 16px;
    transition: 0.3s;
    border: 1px solid #2a2a2a;
}

    /* HOVER EFFECT */
    .infra-card:hover {
        transform: translateY(-6px);
        background: #202020;
    }

    /* TITLE */
    .infra-card h4 {
        color: #ffae00;
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 10px;
    }

    /* TEXT */
    .infra-card p {
        color: #ccc;
        font-size: 15px;
        line-height: 1.6;
    }

.about-placement p {
    text-align: justify;
    line-height: 1.75;
    color: #ccc;
    font-size: 15.8px;
    margin-bottom: 18px;
}

.about-placement strong {
    color: #ffae00;
    font-weight: 600;
}

.about-placement p:first-child {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #ffae00;
}
/* OBJECTIVES GRID */
.cg-objectives {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
    gap: 18px;
    margin-top: 25px;
}

/* OBJECTIVE CARD */
.cg-obj-item {
    background: #1a1a1a;
    padding: 18px 20px;
    border-radius: 12px;
    font-size: 15.5px;
    line-height: 1.6;
    color: #ddd;
    position: relative;
    transition: .3s;
    border: 1px solid #2a2a2a;
}

    /* LEFT TICK STYLE */
    .cg-obj-item::before {
        content: "✔";
        position: absolute;
        left: -10px;
        top: 18px;
        background: #ffae00;
        color: #000;
        font-size: 13px;
        font-weight: 700;
        width: 22px;
        height: 22px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
    }

    /* HOVER EFFECT */
    .cg-obj-item:hover {
        background: #222;
        transform: translateY(-4px);
        box-shadow: 0 8px 18px rgba(0,0,0,0.35);
    }

/* FUNCTIONS GRID */
.cg-functions {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
    gap: 18px;
    margin-top: 25px;
}

/* FUNCTION CARD */
.cg-func-item {
    background: #1a1a1a;
    padding: 18px 20px;
    border-radius: 12px;
    font-size: 15.5px;
    line-height: 1.6;
    color: #ddd;
    position: relative;
    transition: .3s;
    border: 1px solid #2a2a2a;
    text-align: justify;
}

    /* ICON BULLET */
    .cg-func-item::before {
        content: "★";
        position: absolute;
        left: -10px;
        top: 18px;
        background: #ffae00;
        color: #000;
        font-size: 13px;
        font-weight: 700;
        width: 22px;
        height: 22px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
    }

    /* HOVER */
    .cg-func-item:hover {
        background: #222;
        transform: translateY(-4px);
        box-shadow: 0 8px 18px rgba(0,0,0,0.35);
    }

/* CONTACT WRAPPER */
.cg-contact-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    margin-top: 25px;
}

/* LEFT TEXT */
.cg-contact-info p {
    color: #ccc;
    font-size: 15.5px;
    line-height: 1.7;
    text-align: justify;
    margin-bottom: 18px;
}

/* CONTACT CARD */
.cg-contact-card {
    background: #1a1a1a;
    border-radius: 16px;
    padding: 25px;
    border: 1px solid #2a2a2a;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    transition: .3s;
}

    .cg-contact-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 28px rgba(0,0,0,0.45);
    }

    /* CARD TEXT */
    .cg-contact-card h4 {
        font-size: 14px;
        letter-spacing: 1px;
        color: #00b4ff;
        text-transform: uppercase;
        margin-bottom: 8px;
    }

    .cg-contact-card h5 {
        font-size: 20px;
        font-weight: 700;
        color: #fff;
        margin-bottom: 15px;
    }

.cg-contact-line {
    margin-bottom: 10px;
    font-size: 15px;
    color: #ddd;
}

    .cg-contact-line a {
        color: #ffae00;
        text-decoration: none;
    }

        .cg-contact-line a:hover {
            text-decoration: underline;
        }

/* CTA BUTTON */
.cg-contact-btn {
    display: inline-block;
    margin-top: 15px;
    background: #ffae00;
    padding: 10px 18px;
    border-radius: 25px;
    color: #000;
    font-weight: 600;
    text-decoration: none;
    transition: .3s;
}

    .cg-contact-btn:hover {
        transform: translateY(-2px);
    }

/* MOBILE */
@media(max-width:991px) {

    .cg-contact-wrapper {
        grid-template-columns: 1fr;
    }
}
/* GALLERY GRID */
.cg-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
    margin-top: 25px;
}

/* IMAGE BOX */
.cg-gallery-box {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    transition: .3s;
}

    /* IMAGE */
    .cg-gallery-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: .4s;
    }

    /* HOVER EFFECT */
    .cg-gallery-box:hover img {
        transform: scale(1.08);
    }

/* TABLET */
@media(max-width:992px) {
    .cg-gallery-grid {
        grid-template-columns: repeat(2,1fr);
    }
}

/* MOBILE */
@media(max-width:576px) {
    .cg-gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* COMPANY BANNER WRAPPER */
.cg-company-banner {
    width: 100%;
    margin-top: 25px;
    border-radius: 16px;
    overflow: visible; /* allow full image */
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    background: transparent; /* remove dark background */
}

    .cg-company-banner img {
        width: 100%;
        height: auto; /* VERY IMPORTANT */
        max-height: none;
        object-fit: contain; /* keep full image */
        display: block;
        border-radius: 16px;
    }

/* MOBILE SPACING */
@media(max-width:768px) {
    .cg-company-banner {
        border-radius: 12px;
    }
}
/* ===== COMPANY BANNER FULL IMAGE FIX ===== */
#cg5 .cg-company-banner {
    width: 100%;
    margin-top: 20px;
    background: transparent;
    box-shadow: none;
    overflow: visible;
    padding: 0;
}

    /* Override cg-section image rule */
    #cg5 .cg-company-banner img {
        width: 100%;
        height: auto !important;
        max-height: none !important;
        object-fit: contain !important;
        display: block;
        border-radius: 12px;
    }


.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;
}



@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;
    }
}

/* FORCE FULL COMPANY IMAGE */
.cg-company-banner {
    overflow: visible !important;
    background: transparent !important;
    box-shadow: none !important;
}

    .cg-company-banner img {
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        object-fit: contain !important;
        display: block !important;
    }