/* ==========================================================================
   Global Reset & Base Setup
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-image: url('../images/bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #f3f4f6;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}



/* ==========================================================================
   Header & Navigation (Shared across all pages)
   ========================================================================== */
header {
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
}

.brand-logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    flex: 1;
}

.nav-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    list-style: none;
    flex: 2;
}

.nav-item a {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
}

.nav-item a:hover,
.nav-item a.active {
    color: #38bdf8;
}

.nav-item-social {
    display: flex;
    align-items: center;
}

.social-linkedin {
    color: #d1d5db;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease;
}

.social-linkedin svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    transition: fill 0.2s ease;
}

.social-linkedin:hover {
    color: #38bdf8;
}

.tcg-logo {
    display: flex;
    justify-content: flex-end;
    flex: 1;
}

.tcg-logo img {
    filter: brightness(0) invert(1);
    opacity: 0.9;
}


/* Mobile menu */
/* --- Hamburger Toggle Button (Desktop: Hidden) --- */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

/* Transform hamburger to 'X' when open */
.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background-color: #38bdf8;
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background-color: #38bdf8;
}

/* --- Mobile Navigation Drawer (<= 900px) --- */
@media (max-width: 900px) {
    header {
        padding: 20px 24px;
        position: fixed;
        width: 100%;
        background: rgba(6, 11, 25, 0.85);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        flex-direction: row;
        transform: none;
        left: 0;
        top: 0;
    }

    .brand-logo img {
        width: 160px !important;
    }

    .tcg-logo {
        display: none; /* Hidden on mobile header to preserve room for toggle */
    }

    .mobile-menu-btn {
        display: flex;
    }

    /* Slide-in Navigation Panel */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-left: 1px solid rgba(56, 189, 248, 0.25);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 150px 2px 0px 15px;
        gap: 24px;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.6);
        z-index: 1000;
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-item {
        width: 100%;
    }

    .nav-item a {
        font-size: 18px;
        display: block;
        padding: 8px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .nav-item-social {
        margin-top: 12px;
    }

    /* Prevent content overlap with fixed header */
    .hero-container,
    .page-container {
        padding-top: 120px !important;
    }
}

/* ==========================================================================
   Shared Typography & Badges
   ========================================================================== */
.badge {
    display: inline-block;
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: #38bdf8;
    padding: 6px 16px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
    text-transform: uppercase;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.1);
}

.highlight-blue {
    color: #38bdf8;
    font-weight: 600;
}



   /* ================= CORE ADVANTAGES SECTION ================= */
        .advantages-section {
            max-width: 1850px;
            margin: 0 auto;
            /* padding: 40px 40px 220px 40px; */
            position: relative;
            z-index: 10;
            margin-top: 120px;
        }

        .advantages-header {
            margin-bottom: 60px;
            max-width: 900px;
        }

        .advantages-header .section-title {
            font-size: clamp(32px, 4.2vw, 46px);
            font-weight: 700;
            color: #ffffff;
            letter-spacing: -0.02em;
            margin-bottom: 12px;
        }

        .advantages-header .section-subtitle {
            font-size: clamp(18px, 2.2vw, 22px);
            font-weight: 400;
            color: #94a3b8;
            margin-bottom: 16px;
        }

        .advantages-header .section-description {
            font-size: clamp(15px, 1.8vw, 16.5px);
            color: #cbd5e1;
            line-height: 1.65;
        }

        /* Stacking Container */
        .stack-container {
            display: flex;
            flex-direction: column;
            position: relative;
        }

        .advantage-card {
            position: sticky;
            top: 130px;
            margin-bottom: 50px;
            transform-origin: center top;
            transition: transform 0.15s ease-out, filter 0.15s ease-out, opacity 0.15s ease-out;
        }

        .card-inner {
            display: grid;
            grid-template-columns: 1.15fr 1fr;
            gap: 40px;
            background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(8, 14, 28, 0.98));
            border: 1px solid rgba(56, 189, 248, 0.25);
            border-radius: 24px;
            padding: 44px;
            box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.85);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            align-items: center;
        }

        .card-content {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }

        .card-title {
            font-size: clamp(22px, 2.4vw, 28px);
            font-weight: 700;
            color: #ffffff;
            margin-bottom: 16px;
            letter-spacing: -0.01em;
            line-height: 1.25;
        }

        .card-text {
            font-size: clamp(14px, 1.5vw, 15.5px);
            color: #94a3b8;
            line-height: 1.65;
            margin-bottom: 28px;
        }

        .know-more-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(56, 189, 248, 0.12);
            border: 1px solid rgba(56, 189, 248, 0.4);
            color: #38bdf8;
            padding: 10px 24px;
            border-radius: 99px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .know-more-btn:hover {
            background: rgba(56, 189, 248, 0.25);
            border-color: #38bdf8;
            box-shadow: 0 0 20px rgba(56, 189, 248, 0.3);
            transform: translateY(-1px);
        }

        .card-visual {
            display: flex;
            border-radius: 16px;
            overflow: hidden;
            position: relative;
            border: 1px solid rgba(56, 189, 248, 0.25);
            height: 300px;
            background: #081324;
        }

        .card-visual img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }



         /* ================= MOVING LOGOS TICKER (Matching Reference) ================= */
        .bottom-carousel-ribbon {
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            /* background: rgba(4, 8, 18, 0.95); */
                /* background: linear-gradient(rgba(21, 58, 78), rgba(1, 102, 153)); */
            
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            padding: 4px 0;
            overflow: hidden;
            z-index: 90;
        }

        .carousel-track-wrapper {
            display: flex;
            width: max-content;
        }

        .carousel-nodes {
            display: flex;
            align-items: center;
            gap: 20px;
            padding-right: 20px;
            animation: continuousLoop 32s linear infinite;
        }

        .bottom-carousel-ribbon:hover .carousel-nodes {
            animation-play-state: paused;
        }

        /* Reference style: rounded bordered card with vertical inner divider */
        .logo-badge-container {
            display: inline-flex;
            align-items: center;
            /* background: #090e17; */
            /* border: 1px solid rgba(255, 255, 255, 0.12); */
            /* border-radius: 12px; */
                 /* background: linear-gradient(rgba(21, 58, 78), rgba(1, 102, 153)); */
            
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            padding: 8px 0px;
            box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.6);
        }

        .logo-item {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 15px;
            font-weight: 700;
            letter-spacing: 0.03em;
            color: #ffffff;
            padding: 4px 14px;
            white-space: nowrap;
        }

        .logo-item svg {
            height: 20px;
            width: auto;
            fill: #ffffff;
        }

        .logo-divider {
         
            height: 26px;
        }

        @keyframes continuousLoop {
            0% { transform: translateX(0); }
            100% { transform: translateX(-50%); }
        }

            /* ================= POPUP MODAL ================= */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(6, 11, 25, 0.85);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .modal-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .modal-content {
            background: rgba(15, 23, 42, 0.98);
            border: 1px solid rgba(56, 189, 248, 0.5);
            border-radius: 20px;
            padding: 40px;
            max-width: 650px;
            width: 90%;
            max-height: 85vh;
            overflow-y: auto;
            position: relative;
            box-shadow: 0 0 40px rgba(56, 189, 248, 0.25);
            transform: translateY(20px);
            transition: transform 0.3s ease;
        }

        .modal-overlay.active .modal-content {
            transform: translateY(0);
        }

        .modal-close-btn {
            position: absolute;
            top: 20px;
            right: 20px;
            background: transparent;
            border: none;
            color: #9ca3af;
            font-size: 26px;
            cursor: pointer;
            transition: color 0.2s ease;
        }

        .modal-close-btn:hover {
            color: #38bdf8;
        }

        .modal-title {
            color: #ffffff;
            font-size: 22px;
            font-weight: 700;
            margin-bottom: 8px;
        }

        .modal-badge {
            color: #38bdf8;
            font-size: 13px;
            font-weight: 600;
            margin-bottom: 20px;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        .modal-body p {
            color: #cbd5e1;
            font-size: 14.5px;
            line-height: 1.7;
            margin-bottom: 16px;
        }

        .modal-body ul {
            list-style: none;
            margin-bottom: 16px;
        }

        .modal-body ul li {
            position: relative;
            padding-left: 18px;
            color: #cbd5e1;
            font-size: 14px;
            line-height: 1.6;
            margin-bottom: 8px;
        }

        .modal-body ul li::before {
            content: "•";
            position: absolute;
            left: 0;
            color: #38bdf8;
            font-size: 16px;
        }

        @media (max-width: 950px) {
            header {
                padding: 24px;
                flex-direction: column;
                gap: 16px;
                position: relative;
                transform: none;
                left: 0;
            }
            .hero-container {
                padding: 40px 24px 60px 24px;
            }
            .card-inner {
                grid-template-columns: 1fr;
                padding: 32px 24px;
            }
            .card-visual {
                height: 230px;
            }
        }


        .carousel-nodes img{
            width: 90px;
        }
/* ==========================================================================
   About Page Layout & Components
   ========================================================================== */
/* .page-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 170px 0px 80px 0px;
} */

.hero-section {
    margin-bottom: 48px;
}

.hero-section .badge {
    margin-bottom: 20px;
}

.main-heading {
    font-size: clamp(32px, 4.5vw, 48px);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.15;
}

.description {
    color: #d1d5db;
    font-size: clamp(16px, 1.8vw, 18px);
    max-width: 1080px;
    line-height: 1.6;
}

/* Info Grid */
.info-grid {
    display: grid;
    /* grid-template-columns: 1fr 1fr; */
    gap: 28px;
    margin-bottom: 64px;
    align-items: stretch;
}

.info-card {
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 36px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.info-card h3 {
    color: #38bdf8;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.info-card p {
    color: #cbd5e1;
    font-size: 14.5px;
    line-height: 1.7;
}

.info-grid-t {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 64px;
    align-items: stretch;
}

.info-card-t {
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 36px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.info-card-t h3 {
    color: #38bdf8;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.info-card-t p {
    color: #cbd5e1;
    font-size: 14.5px;
    line-height: 1.7;
}



/* Executive Leadership Section */
.leadership-section {
  width: 100%;
    max-width: 1400px;
    margin: 0 auto 64px auto;
}

.leadership-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

.leadership-card {
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(56, 189, 248, 0.4);
    border-radius: 16px;
    padding: 36px;
    display: flex;
    gap: 32px;
    align-items: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 0 25px rgba(56, 189, 248, 0.15);
}

.leadership-avatar-wrapper {
    width: 175px;
    height: 175px;
    border-radius: 16px;
    overflow: hidden;
    border: 3px solid rgba(56, 189, 248, 0.6);
    background-color: #1e293b;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.leadership-avatar-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.leadership-content {
    flex-grow: 1;
}

.leadership-name {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.leadership-role {
    font-size: 12px;
    font-weight: 700;
    color: #38bdf8;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 16px;
}

.leadership-details {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px 24px;
    margin-bottom: 20px;
}

.leadership-details li {
    font-size: 13px;
    color: #cbd5e1;
    line-height: 1.5;
    position: relative;
    padding-left: 14px;
}

.leadership-details li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #38bdf8;
    font-size: 16px;
}

.leadership-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.linkedin-link {
    color: #9ca3af;
    font-size: 18px;
    transition: color 0.3s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.linkedin-link:hover {
    color: #38bdf8;
    transform: scale(1.1);
}

.know-more-btn {
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.4);
    color: #38bdf8;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.know-more-btn:hover {
    background: rgba(56, 189, 248, 0.3);
    border-color: #38bdf8;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
}

/* Supervisory Board Section */
.board-section-title {
    color: #ffffff;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.board-section-desc {
    color: #9ca3af;
    font-size: 15px;
    margin-bottom: 36px;
}

.board-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    align-items: stretch;
}

.board-card {
    background: rgba(13, 27, 42, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 26px 16px 20px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.board-card:hover {
    border-color: #38bdf8;
    box-shadow: 0 0 24px rgba(56, 189, 248, 0.25), inset 0 0 12px rgba(56, 189, 248, 0.05);
    transform: translateY(-4px);
    background: rgba(13, 27, 42, 0.85);
}

.avatar-wrapper {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    border: 2px solid rgba(56, 189, 248, 0.4);
    padding: 3px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, transparent 70%);
    flex-shrink: 0;
    transition: border-color 0.3s ease;
}

.board-card:hover .avatar-wrapper {
    border-color: #38bdf8;
}

.avatar-wrapper img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background-color: #1e293b;
}

.member-name {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.member-role {
    font-size: 9.5px;
    font-weight: 700;
    color: #38bdf8;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 18px;
    line-height: 1.35;
    min-height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.member-details {
    list-style: none;
    text-align: left;
    width: 100%;
    margin-bottom: 22px;
    flex-grow: 1;
}

.member-details li {
    font-size: 12px;
    color: #cbd5e1;
    line-height: 1.5;
    margin-bottom: 10px;
    position: relative;
    padding-left: 14px;
}

.member-details li:last-child {
    margin-bottom: 0;
}

.member-details li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: -1px;
    color: #38bdf8;
    font-size: 14px;
}

.board-card .linkedin-link {
    margin-top: auto;
}

/* Modal Overlay & Card */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 11, 25, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(56, 189, 248, 0.5);
    border-radius: 20px;
    padding: 40px;
    max-width: 700px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 0 40px rgba(56, 189, 248, 0.25);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: #9ca3af;
    font-size: 24px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.modal-close-btn:hover {
    color: #38bdf8;
}

.modal-avatar-container {
    width: 90px;
    height: 90px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(56, 189, 248, 0.6);
    margin-bottom: 16px;
    background-color: #1e293b;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.modal-avatar-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-title {
    color: #ffffff;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 6px;
}

.modal-subtitle {
    color: #38bdf8;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    line-height: 1.4;
}

.modal-body p {
    color: #cbd5e1;
    font-size: 14.5px;
    line-height: 1.7;
    margin-bottom: 18px;
}

.modal-body h4 {
    color: #38bdf8;
    font-size: 16px;
    font-weight: 700;
    margin-top: 24px;
    margin-bottom: 10px;
}

/* Solution section  */
  /* =====================================================
       MAIN SECTION
    ===================================================== */

    .nes-services {
      width: 100%;
      padding: 90px 0 65px;
      overflow: hidden;
    }


    /* =====================================================
       HEADER
    ===================================================== */

    .nes-services-header {
      width: 100%;
      max-width: 1150px;
      margin: 0 auto 24px;
      padding: 0 20px;
      text-align: center;
    }

    .nes-services-header h2 {
      margin: 0 0 17px;
      color: #fff;
      font-size: clamp(32px, 3.2vw, 52px);
      line-height: 1.05;
      padding-top: 54px;
      font-weight: 700;
      letter-spacing: -1.5px;
    }

    .nes-services-header p {
      max-width: 1050px;
      margin: 0 auto;

      color: #fff;

      font-size: 17px;
      line-height: 1.45;

      font-weight: 400;
    }


    /* =====================================================
       SERVICES GRID
    ===================================================== */

    .nes-services-grid {
      width: calc(100% - 18px);
      max-width: 1900px;

      height: 465px;

      margin: 0 auto;

      display: flex;

      overflow: hidden;

      border-radius: 18px;

      background: #1736cf;
    }


    /* =====================================================
       SERVICE CARD
    ===================================================== */

    .nes-service-card {
      position: relative;

      height: 100%;

      flex: 1 1 0;

      min-width: 0;

      overflow: hidden;

      display: flex;
      align-items: center;
      justify-content: center;

      color: #ffffff;

      text-decoration: none;

      border-right: 1px solid rgba(255,255,255,0.20);

      transition:
        flex 0.55s cubic-bezier(.2,.8,.2,1),
        background 0.45s ease;
    }

    .nes-service-card:last-child {
      border-right: none;
    }


    /* =====================================================
       ORIGINAL PANEL COLORS
    ===================================================== */

    .nes-service-card.cloud {
      background: #3158f5;
    }

    .nes-service-card.security {
      background: #2d52e7;
    }

    .nes-service-card.finops {
      background: #294bd1;
    }

    .nes-service-card.devops {
      background: #203d9a;
    }

    .nes-service-card.disaster {
      background: #182d70;
    }

    .nes-service-card.aiml {
      background: #080f23;
    }


    /* =====================================================
       HOVER PANEL EXPANSION
    ===================================================== */

    .nes-service-card:hover {
      flex: 1.40;
      z-index: 5;
    }


    /* =====================================================
       IMAGE BACKGROUND
    ===================================================== */

    .service-bg {
      position: absolute;

      inset: 0;

      width: 100%;
      height: 100%;

      background-position: center;
      background-size: cover;
      background-repeat: no-repeat;

      opacity: 0;

      transform: scale(1.16);

      transition:
        opacity 0.55s ease,
        transform 0.9s cubic-bezier(.2,.8,.2,1);
    }


    /* =====================================================
       SERVICE IMAGES
    ===================================================== */

    .cloud .service-bg {
      background-image:
        url("https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=1600&q=85");
    }

    .security .service-bg {
      background-image:
        url("https://images.unsplash.com/photo-1563013544-824ae1b704d3?auto=format&fit=crop&w=1600&q=85");
    }

    .finops .service-bg {
      background-image:
        url("https://images.unsplash.com/photo-1559526324-593bc073d938?auto=format&fit=crop&w=1600&q=85");
    }

    .devops .service-bg {
      background-image:
        url("https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1600&q=85");
    }

    .disaster .service-bg {
      background-image:
        url("https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=1600&q=85");
    }

    .aiml .service-bg {
      background-image:
        url("https://images.unsplash.com/photo-1677442136019-21780ecad995?auto=format&fit=crop&w=1600&q=85");
    }


    /* =====================================================
       DARK IMAGE OVERLAY
    ===================================================== */

    .service-bg::after {
      content: "";

      position: absolute;

      inset: 0;

      background:
        linear-gradient(
          180deg,
          rgba(5,18,65,0.20) 0%,
          rgba(5,18,65,0.45) 40%,
          rgba(3,10,35,0.90) 100%
        );
    }


    /* SHOW IMAGE ON HOVER */

    .nes-service-card:hover .service-bg {
      opacity: 1;

      transform: scale(1);
    }


    /* =====================================================
       CONTENT
    ===================================================== */

    .service-content {
      position: relative;

      z-index: 3;

      width: 100%;
      height: 100%;
    }


    /* =====================================================
       DEFAULT VERTICAL TITLE
    ===================================================== */

    .service-title {
      position: absolute;

      left: 50%;
      top: 50%;

      transform:
        translate(-50%, -50%)
        rotate(-90deg);

      white-space: nowrap;

      color: #ffffff;

      font-size: 24px;
      line-height: 1;

      font-weight: 400;

      letter-spacing: 0.1px;

      opacity: 1;

      transition:
        opacity 0.25s ease,
        transform 0.45s ease;
    }


    /* =====================================================
       HOVER CONTENT
    ===================================================== */

    .service-hover-content {
      position: absolute;

      left: 38px;
      right: 38px;
      bottom: 72px;

      opacity: 0;
      visibility: hidden;

      transform: translateY(35px);

      color: #ffffff;

      transition:
        opacity 0.45s ease 0.10s,
        transform 0.55s cubic-bezier(.2,.8,.2,1) 0.10s,
        visibility 0.45s ease;
    }


    /* HOVER HEADING */

    .service-hover-content h3 {
      margin: 0 0 13px;

      color: #ffffff;

      font-size: 29px;
      line-height: 1.1;

      font-weight: 600;

      letter-spacing: -0.5px;
    }


    /* HOVER PARAGRAPH */

    .service-hover-content p {
      max-width: 390px;

      margin: 0;

      color: rgba(255,255,255,0.92);

      font-size: 15px;
      line-height: 1.55;

      font-weight: 400;
    }


    /* =====================================================
       HOVER STATE
    ===================================================== */

    .nes-service-card:hover .service-hover-content {
      opacity: 1;

      visibility: visible;

      transform: translateY(0);
    }


    /* Hide vertical title */

    .nes-service-card:hover .service-title {
      opacity: 0;

      transform:
        translate(-50%, -50%)
        rotate(-90deg)
        translateX(25px);
    }


    /* =====================================================
       ARROW
    ===================================================== */

    .service-arrow {
      position: absolute;

      left: 50%;
      bottom: 25px;

      transform: translateX(-50%);

      color: rgba(255,255,255,0.88);

      font-size: 29px;

      line-height: 1;

      font-weight: 300;

      z-index: 10;

      transition:
        transform 0.35s ease,
        color 0.35s ease;
    }


    /* Arrow hover */

    .nes-service-card:hover .service-arrow {
      transform:
        translateX(-50%)
        translateY(-6px);

      color: #ffffff;
    }


    /* =====================================================
       SUBTLE SHINE EFFECT
    ===================================================== */

    .nes-service-card::before {
      content: "";

      position: absolute;

      top: 0;
      left: -120%;

      width: 70%;
      height: 100%;

      z-index: 4;

      pointer-events: none;

      background:
        linear-gradient(
          90deg,
          transparent,
          rgba(255,255,255,0.08),
          transparent
        );

      transform: skewX(-15deg);

      transition: left 0.8s ease;
    }

    .nes-service-card:hover::before {
      left: 140%;
    }


    /* =====================================================
       TABLET
    ===================================================== */

    @media (max-width: 1100px) {

      .nes-services {
        padding: 60px 0;
      }

      .nes-services-grid {
        height: 420px;
      }

      .service-title {
        font-size: 20px;
      }

      .service-hover-content {
        left: 25px;
        right: 25px;
        bottom: 65px;
      }

      .service-hover-content h3 {
        font-size: 23px;
      }

      .service-hover-content p {
        font-size: 14px;
      }

    }


    /* =====================================================
       MOBILE / TABLET
    ===================================================== */

    @media (max-width: 700px) {

      .nes-services {
        padding: 50px 0;
      }

      .nes-services-header {
        padding: 0 20px;
      }

      .nes-services-header h2 {
        font-size: 34px;
        letter-spacing: -0.8px;
      }

      .nes-services-header p {
        font-size: 15px;
      }

      .nes-services-grid {

        width: calc(100% - 24px);

        height: auto;

        display: grid;

        grid-template-columns: repeat(2, 1fr);

        border-radius: 16px;
      }

      .nes-service-card {

        height: 270px;

        min-height: 270px;

        flex: none;

        border-right:
          1px solid rgba(255,255,255,0.20);

        border-bottom:
          1px solid rgba(255,255,255,0.20);
      }

      .nes-service-card:nth-child(2n) {
        border-right: none;
      }

      .nes-service-card:hover {
        flex: none;
      }

      .service-title {
        font-size: 19px;
      }

      .service-hover-content {
        left: 22px;
        right: 22px;
        bottom: 60px;
      }

      .service-hover-content h3 {
        font-size: 21px;
      }

      .service-hover-content p {
        font-size: 13px;
        line-height: 1.45;
      }

    }


    /* =====================================================
       SMALL MOBILE
    ===================================================== */

    @media (max-width: 480px) {

      .nes-services {
        padding: 40px 0;
      }

      .nes-services-header h2 {
        font-size: 28px;
      }

      .nes-services-header p {
        font-size: 14px;
        line-height: 1.5;
      }

      .nes-services-grid {

        width: calc(100% - 20px);

        display: grid;

        grid-template-columns: 1fr;

        border-radius: 14px;
      }

      .nes-service-card {

        height: 220px;
        min-height: 220px;

        border-right: none !important;

        border-bottom:
          1px solid rgba(255,255,255,0.20);
      }

      .nes-service-card:last-child {
        border-bottom: none;
      }

      /* Horizontal title on mobile */

      .service-title {

        transform:
          translate(-50%, -50%);

        font-size: 21px;
      }

      .nes-service-card:hover .service-title {

        transform:
          translate(-50%, -50%)
          translateY(-10px);
      }

      .service-hover-content {

        left: 20px;
        right: 20px;

        bottom: 50px;
      }

      .service-hover-content h3 {
        font-size: 21px;
        margin-bottom: 8px;
      }

      .service-hover-content p {
        font-size: 13px;
        line-height: 1.45;
      }

      .service-arrow {

        left: auto;
        right: 18px;
        bottom: 17px;

        transform: none;

        font-size: 25px;
      }

      .nes-service-card:hover .service-arrow {

        transform:
          translateY(-5px);
      }

    }

/* ==========================================================================
   Home & Chairman Page Hero Components
   ========================================================================== */
.hero-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 220px 40px 120px 40px;
    max-width: 1800px;
    margin: 0 auto;
}

.headline-title {
    font-size: 58px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #ffffff;
    max-width: 1080px;
    margin-bottom: 20px;
}

.small-headline {
    font-size: 18px;
    font-weight: 300;
    color: #9ca3af;
    display: block;
    margin-top: 4px;
    letter-spacing: 0.9px;
}

.headline-subtitle {
    font-size: 20px;
    color: #d1d5db;
    max-width: fit-content;
    text-align: justify;
    line-height: 1.6;
    margin-bottom: 32px;
}

/* Feature Highlights (Home Page) */
.feature-highlights {
    list-style: none;
    max-width: 850px;
    margin-bottom: 48px;
}

.feature-highlights li {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 16px;
    color: #e5e7eb;
    display: flex;
    align-items: flex-start;
}

.feature-highlights li::before {
    content: "✦";
    color: #38bdf8;
    font-weight: bold;
    display: inline-block;
    width: 24px;
    min-width: 24px;
    margin-top: 2px;
}

/* ==========================================================================
   Chairman Message Layout & Media Card
   ========================================================================== */
.message-wrapper {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    max-width: 1450px;
    width: 100%;
}

.message-content {
    flex: 1.6;
}

.message-paragraph {
    font-size: clamp(15px, 1.8vw, 16.5px);
    color: #e5e7eb;
    line-height: 1.85;
    margin-bottom: 20px;
}

.quote-callout {
    border-left: 3px solid #38bdf8;
    background: rgba(56, 189, 248, 0.05);
    padding: 20px 24px;
    margin: 28px 0;
    border-radius: 0 8px 8px 0;
    font-size: 18px;
    font-style: italic;
    color: #38bdf8;
    line-height: 1.6;
}

.sign-off {
    margin-top: 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.chairman-name {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
}

.chairman-title {
    font-size: 14px;
    color: #38bdf8;
    margin-top: 4px;
    letter-spacing: 0.05em;
}

.chairman-media {
    flex: 1;
    max-width: 420px;
    width: 100%;
    position: sticky;
    top: 140px;
}

.chairman-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 16px;
    padding: 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: border-color 0.3s ease;
}

.chairman-card:hover {
    border-color: rgba(56, 189, 248, 0.5);
}

.chairman-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    background-color: #1e293b;
}

.chairman-caption {
    text-align: center;
    margin-top: 14px;
    padding: 4px 0 6px;
}

.chairman-caption-name {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
}

.chairman-caption-role {
    font-size: 13px;
    color: #38bdf8;
    margin-top: 4px;
    letter-spacing: 0.03em;
}

/* ==========================================================================
   Infinite Logo Carousel (Home Page)
   ========================================================================== */
.bottom-carousel-ribbon {
    bottom: 0;
    left: 0;
    width: 100%;
    /* backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px); */
         /* background: linear-gradient(rgba(21, 58, 78), rgba(1, 102, 153)); */
            
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
    padding: 0;
    overflow: hidden;
    z-index: 90;
}

.carousel-track-wrapper {
    display: flex;
    width: max-content;
}

.carousel-nodes {
    display: flex;
    gap: 50px;
    padding-right: 0;
    animation: continuousLoop 30s linear infinite;
}

.node-item {
    white-space: nowrap;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.node-item img {
    width: 90px;
}

.carousel-nodes img {
    filter: brightness(0) invert(1);
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.carousel-nodes img:hover {
    opacity: 1;
}

@keyframes continuousLoop {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1280px) {
    .board-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1200px) {
    .leadership-details {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 950px) {
    header {
        padding: 24px;
        flex-direction: column;
        gap: 16px;
        position: relative;
        transform: none;
        left: 0;
    }

    .brand-logo,
    .tcg-logo {
        justify-content: center;
        flex: none;
    }

    .brand-logo img {
        width: 220px !important;
    }

    .tcg-logo img {
        width: 100px !important;
    }

    .nav-menu {
        gap: 20px;
        flex: none;
        margin: 8px 0;
    }

    .hero-container {
        padding: 40px 24px 180px 24px;
        min-height: calc(100vh - 180px);
    }

    .page-container {
        padding: 30px 24px 80px 24px;
    }

    .message-wrapper {
        flex-direction: column-reverse;
        gap: 40px;
    }

    .chairman-media {
        max-width: 100%;
        position: static;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .leadership-card {
        flex-direction: column;
        text-align: center;
    }

    .leadership-details {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .leadership-actions {
        justify-content: center;
    }

    .board-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .carousel-nodes {
        gap: 50px;
        padding-right: 50px;
    }
}

@media (max-width: 540px) {
    .board-grid {
        grid-template-columns: 1fr;
    }
}