/* --- Layout Resets & Shims --- */
.carousel-inner>.item>img,
.carousel-inner>.item>a>img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.col-md-2,
.col-md-3,
.col-md-4,
.col-md-6,
.container {
    padding-left: 0px;
    padding-right: 0px;
}

.carousel-inner .item.active {
    display: flex;
    justify-content: center;
}

/* Shim for legacy row-fluid if needed, though mostly using col-md */
.row-fluid {
    width: 100%;
}

.row-fluid:before,
.row-fluid:after {
    display: table;
    content: "";
    line-height: 0;
}

.row-fluid:after {
    clear: both;
}



/* --- NCS Hero Component (New Person Component) --- */
.ncs-hero-container {
    position: relative;
    width: 100%;
    max-width: 550px;
    margin: 0px auto;
    aspect-ratio: 1 / 0.85;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Connecting Lines (SVG) */
.ncs-hero-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.6;
    /* Fainter lines */
}

.ncs-hero-lines line {
    stroke: #e0e0e0;
    stroke-width: 2;
}

/* Center Planet (Featured Image) - INCREASED SIZE */
.ncs-center-planet {
    position: relative;
    z-index: 10;
    width: 50%;
    /* Increased from 34% */
    height: 58%;
    /* Increased from 34% (relative to container) */
    max-width: 260px;
    max-height: 260px;
    border-radius: 50%;
    background-size: cover;
    background-position: center top;
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.7), 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    cursor: pointer;
}

.ncs-center-planet:hover {
    transform: scale(1.03);
}

/* Overlay Text on Center Image */
/* POsitioned inside the circle */
.ncs-center-overlay {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    min-width: 140px;
    border-radius: 20px;
    padding: 6px 15px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.ncs-center-overlay h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #0680a6;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ncs-center-overlay p {
    margin: 2px 0 0;
    font-size: 11px;
    color: #555;
    font-weight: 600;
}

/* Satellites Cards */
.ncs-satellite {
    position: absolute;
    z-index: 5;
    width: 32%;
    /* Slightly larger */
    max-width: 160px;
    padding: 12px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    text-decoration: none !important;
}

.ncs-satellite:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    z-index: 20;
    border-color: #0680a6;
}

.ncs-satellite h4 {
    margin: 0 0 4px;
    font-size: 13px;
    font-weight: 700;
    color: #002145;
    line-height: 1.2;
}

.ncs-satellite p {
    margin: 0;
    font-size: 11px;
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}

.ncs-satellite .sat-label {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #0680a6;
    display: block;
    margin-bottom: 4px;
    font-weight: 700;
}

/* Adjusted Satellite Positions: CLOSER to Center */
.sat-one {
    top: 8%;
    right: 2%;
    text-align: right;
    align-items: flex-end;
}

.sat-two {
    bottom: 5%;
    right: 0%;
    text-align: right;
    align-items: flex-end;
}

.sat-three {
    bottom: 5%;
    left: 0%;
    text-align: left;
    align-items: flex-start;
}

.sat-four {
    top: 8%;
    left: 2%;
    text-align: left;
    align-items: flex-start;
}

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
    .ncs-hero-container {
        display: block;
        height: auto;
        aspect-ratio: auto;
        margin-top: 20px;
        max-width: 100%;
    }

    .ncs-hero-lines {
        display: none;
    }

    .ncs-center-planet {
        width: 200px;
        height: 200px;
        margin: 0 auto 30px;
        /* Center horizontally */
        border-radius: 50%;
    }

    .ncs-center-overlay {
        width: auto;
        min-width: 140px;
        bottom: 20px;
        position: absolute;
    }

    .ncs-satellite {
        position: relative;
        width: 100%;
        max-width: 100%;
        margin-bottom: 12px;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        text-align: left !important;
        align-items: flex-start !important;
        flex-direction: row;
        /* Horizontal card on mobile */
        justify-content: flex-start;
        align-items: center !important;
        padding: 15px;
    }

    .ncs-satellite div {
        flex: 1;
    }

    .ncs-satellite .sat-label {
        margin-bottom: 2px;
        margin-right: 10px;
    }
}

/* --- News Section Redesign (Modern Unified) --- */
.news {
    padding: 12px;
    position: relative;
    background: #fff !important;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin: 5px;
    /* Tiny margin to show shadow */
}

/* Header with Flexbox for controls alignment */
.news .section-header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 8px;
}

.section-heading {
    font-size: 16px;
    font-weight: 800;
    color: #2c3e50;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
}

.home-page .news .section-content {
    padding: 0px !important
}

/* Blue underline indicator */
.section-heading:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #0680a6;
    position: absolute;
    bottom: -10px;
    /* Overlap border */
    left: 0;
}

/* News Controls - Integrated into header */
.carousel-controls {
    display: flex;
    gap: 5px;
    position: static;
}

.carousel-controls a {
    background: #f8f9fa;
    border: 1px solid #efe;
    color: #777;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.carousel-controls a:hover {
    background: #0680a6;
    border-color: #0680a6;
    color: #fff;
}

.carousel-controls .hide {
    display: none;
}

/* News Card - Simplified since Container is white */
.news-item {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    border: none;
    height: 100%;
    min-height: 160px;
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

/* Thumb (Logo) styling */
.news-item .thumb {
    width: 50px;
    height: 50px;
    object-fit: contain;
    background: #f8f9fa;
    border-radius: 50%;
    padding: 8px;
    border: 1px solid #eaeaea;
    flex-shrink: 0;
}

/* Content wrapper */
.news-content-wrapper {
    flex: 1;
}

.news-item h3.title {
    font-size: 15px;
    margin: 0 0 8px 0;
    font-weight: 700;
    color: #333;
    line-height: 1.3;
}

.news-item p {
    font-size: 13px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    /* overflow: hidden; */
}

.news-item .read-more {
    font-size: 12px;
    font-weight: 700;
    color: #0680a6;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    margin-top: auto;
}

.news-item .read-more:hover {
    text-decoration: underline;
}

.news-item .read-more i {
    margin-left: 5px;
    font-size: 10px;
}