/* ============================
   GNM (Global Nararya Multitrading) LANDING PAGE STYLES
   ============================ */

:root {
    /* Colors */
    --gnm-navy: #2C3E6B;
    --gnm-navy-dark: #1E2D4F;
    --gnm-navy-light: #3D5289;
    --gnm-gold: #C5A33C;
    --gnm-green: #2D6B3F;
    --gnm-gray-bg: #F7F8FA;
    --gnm-gray-light: #E8EAF0;
    --gnm-text: #1A1A2E;
    --gnm-text-muted: #6B7280;
    --gnm-white: #FFFFFF;

    /* Layout */
    --gnm-gutter-desktop: 110px;
    --gnm-gutter-tablet: 40px;
    --gnm-gutter-mobile: 20px;
    --gnm-max-container: 1320px;
}

/* ============================
   GLOBAL
   ============================ */
.gnm-section {
    padding: 80px 0;
}

.gnm-badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--gnm-navy);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.gnm-badge-light {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.gnm-section-title {
    font-size: 36px;
    font-weight: 500;
    color: var(--gnm-text);
    margin-bottom: 16px;
    line-height: 1.3;
}

.gnm-section-subtitle {
    font-size: 16px;
    color: var(--gnm-text-muted);
    max-width: 700px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

/* ============================
   NAVBAR (GNM override)
   ============================ */
.gnm-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.gnm-navbar.scrolled {
    background: var(--gnm-navy-dark);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.gnm-navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.gnm-navbar-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 32px;
}

.gnm-navbar .navbar-brand img {
    height: 40px;
}

.gnm-navbar .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
    text-decoration: none;
}

.gnm-navbar .nav-link:hover,
.gnm-navbar .nav-link.active {
    color: #FFFFFF;
}

.gnm-btn-wa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.gnm-btn-wa:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
}

.gnm-navbar .navbar-toggler {
    border: none;
    padding: 4px;
    color: #FFFFFF;
}

.gnm-navbar .navbar-toggler:focus {
    box-shadow: none;
}

/* ============================
   SECTION 1: HERO
   ============================ */
#gnm-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 0;
}

#gnm-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 180px;
    background: linear-gradient(to bottom, transparent 0%, #ffffff 100%);
    z-index: 1;
    pointer-events: none;
}

.gnm-hero-bg-wrapper {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.gnm-hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gnm-hero-overlay {
    display: none;
}

.gnm-hero-content {
    position: relative;
    z-index: 2;
    padding: 120px 0 80px;
}

.gnm-hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 52px;
    font-weight: 500;
    color: #FFFFFF;
    line-height: 1.2;
    margin-bottom: 20px;
}

.gnm-hero-desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

.gnm-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    border-radius: 8px;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
    background: rgba(255, 255, 255, 0.08);
}

.gnm-btn-outline:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: #FFFFFF;
    color: #FFFFFF;
    transform: translateY(-1px);
}

.gnm-btn-outline-dark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: 1.5px solid var(--gnm-navy);
    border-radius: 8px;
    color: var(--gnm-navy);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.gnm-btn-outline-dark:hover {
    background: var(--gnm-navy);
    color: #FFFFFF;
}

.gnm-btn-glass-navy {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    background: rgba(44, 62, 107, 0.08);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(44, 62, 107, 0.2);
    color: var(--gnm-navy);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.gnm-btn-glass-navy:hover {
    background: rgba(44, 62, 107, 0.15);
    color: var(--gnm-navy-dark);
}

.gnm-hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    gap: 10px;
}

.gnm-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transition: background 0.3s;
}

.gnm-dot.active {
    background: #FFFFFF;
}

/* ============================
   STATS BAR
   ============================ */
#gnm-stats {
    position: relative;
    margin-top: -60px;
    z-index: 10;
    padding-bottom: 40px;
}

.gnm-stats-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 30px 50px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
    gap: 40px;
}

.gnm-stat-item {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    justify-content: center;
}

.gnm-stat-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    font-size: 20px;
    color: #FFFFFF;
}

.gnm-stat-number {
    font-size: 32px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1;
}

.gnm-stat-label {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 4px;
}

.gnm-stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.25);
}

/* ============================
   SECTION 2: ABOUT
   ============================ */
#gnm-about {
    padding: 60px 0 80px;
}

.gnm-about-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.gnm-about-logo {
    flex-shrink: 0;
    width: 220px;
}

.gnm-about-logo img {
    width: 100%;
    height: auto;
}

.gnm-about-divider {
    width: 1px;
    min-height: 120px;
    background: var(--gnm-gray-light);
    flex-shrink: 0;
    align-self: stretch;
}

.gnm-about-text {
    flex: 1;
}

.gnm-about-text h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--gnm-text);
    margin-bottom: 16px;
}

.gnm-about-text p {
    font-size: 15px;
    color: var(--gnm-text-muted);
    line-height: 1.8;
}

/* ============================
   SECTION 3: LAYANAN
   ============================ */
#gnm-layanan {
    background: var(--gnm-gray-bg);
}

.gnm-layanan-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 420px;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.gnm-layanan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.gnm-layanan-card-img {
    position: absolute;
    inset: 0;
}

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

.gnm-layanan-card-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    border-radius: 8px;
    transition: background 0.3s ease;
    text-align: center;
}

.gnm-layanan-card:hover .gnm-layanan-card-overlay {
    background: rgba(255, 255, 255, 0.18);
}

.gnm-layanan-card-overlay h3 {
    font-size: 15px;
    font-weight: 500;
    color: #FFFFFF;
    margin: 0 0 4px;
}

.gnm-layanan-card-overlay p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.5;
}

/* ============================
   SECTION 4: PORTFOLIO
   ============================ */
#gnm-portfolio {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.gnm-portfolio-bg-wrapper {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.gnm-portfolio-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gnm-portfolio-bg-next {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 1;
}

.gnm-portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(30, 45, 79, 0.85) 0%, rgba(44, 62, 107, 0.55) 100%);
    z-index: 2;
}

.gnm-portfolio-content {
    position: relative;
    z-index: 2;
    padding: 80px 0;
}

.gnm-portfolio-title {
    font-size: 32px;
    font-weight: 500;
    color: #FFFFFF;
    margin-bottom: 32px;
    line-height: 100%;
}

/* --- Portfolio wheel list --- */
.gnm-portfolio-list {
    position: relative;
    height: 260px;      /* 5 visible slots × 52 px */
    overflow: hidden;
}



/* fixed center indicator — arrow stays still */
.gnm-portfolio-active-line {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(50% - 26px);   /* aligns with center slot */
    height: 52px;
    border-left: 3px solid #FFFFFF;
    z-index: 4;
    pointer-events: none;
}
.gnm-portfolio-active-line::before {
    content: "→";
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #FFFFFF;
    font-size: 16px;
    line-height: 1;
}

/* sliding track — JS sets translateY */
.gnm-portfolio-track {
    position: relative;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.gnm-portfolio-item {
    height: 52px;
    display: flex;
    align-items: center;
    padding-left: 36px;   /* indent past the fixed arrow */
    color: rgba(255, 255, 255, 0.4);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.4s ease, opacity 0.4s ease, font-weight 0.4s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    user-select: none;
}

.gnm-portfolio-item:hover {
    color: rgba(255, 255, 255, 0.75);
}

.gnm-portfolio-item.active {
    color: #FFFFFF;
    font-weight: 600;
    opacity: 1;
}

.gnm-portfolio-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 40px 32px;
    max-width: 400px;
    width: 100%;
    text-align: center;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.gnm-portfolio-card-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.gnm-portfolio-card-logo img {
    height: 80px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.gnm-portfolio-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 8px;
}

.gnm-portfolio-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin: 0;
}

/* ============================
   SECTION 5: BUSINESS FLOW
   ============================ */
#gnm-business-flow {
    background-image: url('../img/logo/bg_company.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.gnm-flow-diagram {
    margin-top: 48px;
    overflow-x: auto;
    padding-bottom: 20px;
}

.gnm-flow-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: nowrap;
    min-width: 900px;
}

.gnm-flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    min-width: 100px;
}

.gnm-flow-step span {
    font-size: 12px;
    font-weight: 600;
    color: var(--gnm-text);
    max-width: 130px;
}

.gnm-flow-step-logo {
    min-width: 140px;
}

.gnm-flow-company-logo {
    max-height: 48px;
    width: auto;
}

.gnm-flow-icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--gnm-gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gnm-flow-icon-circle img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.gnm-flow-arrow {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
}

.gnm-flow-3fork {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.gnm-flow-fork-svg {
    flex-shrink: 0;
}

.gnm-flow-fork-rows {
    display: flex;
    flex-direction: column;
}

.gnm-flow-fork-row {
    height: 110px;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ============================
   SECTION 5+6: FLOW + MITRA WRAPPER
   ============================ */
.gnm-flow-mitra-wrapper {
    /* wrapper — no shared background */
}

/* ============================
   SECTION 6: MITRA
   ============================ */
#gnm-mitra {
    padding: 0 0 60px;
}

.gnm-mitra-box {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    padding: 56px 48px;
}

.gnm-mitra-bg-wrapper {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.gnm-mitra-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gnm-mitra-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30, 45, 79, 0.9) 0%, rgba(44, 62, 107, 0.85) 100%);
}

.gnm-mitra-swiper {
    position: relative;
    z-index: 1;
}

.gnm-mitra-swiper .swiper-wrapper {
    transition-timing-function: linear !important;
}

.gnm-mitra-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    padding: 8px 0px;
}

.gnm-mitra-logo img {
    max-height: 45px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: opacity 0.3s;
}

.gnm-mitra-logo img:hover {
    opacity: 1;
}

/* ============================
   SECTION 7: TARGET MARKET
   ============================ */
#gnm-target-market {
    padding-bottom: 60px;
}

.gnm-market-grid {
    display: flex;
    width: 100%;
    margin-top: 32px;
}

.gnm-market-card {
    position: relative;
    flex: 1;
    height: 280px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    cursor: pointer;
}

/* Blue glow that fades in from the bottom on hover */
.gnm-market-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(17, 34, 85, 0.92) 0%, rgba(17, 34, 85, 0.5) 55%, transparent 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.gnm-market-card:hover::after {
    opacity: 1;
}

/* Overlay: always-on dark gradient + flex center for the label */
.gnm-market-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 55%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

/* Label: starts near bottom (center + 108px), slides to center on hover */
.gnm-market-card-overlay span {
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    position: relative;
    z-index: 3;
    transform: translateY(108px);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                text-shadow 0.5s ease;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.gnm-market-card:hover .gnm-market-card-overlay span {
    transform: translateY(0);
    text-shadow: 0 4px 20px rgba(17, 34, 85, 0.9);
}

/* ============================
   SECTION 8: BERITA
   ============================ */
#gnm-berita {
    background: var(--gnm-gray-bg);
}

.gnm-berita-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 400px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gnm-berita-card:hover {
    transform: translateY(-4px);
}

.gnm-berita-card-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gnm-berita-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(44, 62, 107, 0.5) 0%, rgba(30, 45, 79, 0.85) 100%);
}

.gnm-berita-card-body {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
    z-index: 1;
}

.gnm-berita-meta {
    display: flex;
    gap: 12px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
}

.gnm-berita-card-body h3 {
    font-size: 18px;
    font-weight: 600;
    color: #FFFFFF;
    line-height: 1.4;
    flex: 1;
    display: flex;
    align-items: flex-start;
    padding-top: 16px;
}

.gnm-berita-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.gnm-berita-link:hover {
    color: #FFFFFF;
}

/* ============================
   SECTION 9: CTA
   ============================ */
#gnm-cta {
    position: relative;
    min-height: 350px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.gnm-cta-bg-wrapper {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.gnm-cta-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gnm-cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(30, 45, 79, 0.85) 0%, rgba(44, 62, 107, 0.75) 100%);
}

.gnm-cta-content {
    position: relative;
    z-index: 2;
    padding: 60px 0;
}

#gnm-cta h2 {
    font-size: 36px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 16px;
}

#gnm-cta p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 28px;
    line-height: 1.6;
}

/* ============================
   FOOTER
   ============================ */
.gnm-footer {
    padding: 60px 0 0;
    background: #FFFFFF;
}

.gnm-footer-wrapper {
    display: flex;
    gap: 60px;
    padding-bottom: 40px;
}

.gnm-footer-brand {
    flex-shrink: 0;
}

.gnm-footer-brand img {
    height: 80px;
    width: auto;
}

.gnm-footer-contact {
    flex: 1;
}

.gnm-footer-contact h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--gnm-text);
    margin-bottom: 20px;
}

.gnm-footer-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.gnm-footer-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gnm-navy);
    font-size: 16px;
}

.gnm-footer-item strong {
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
    color: var(--gnm-text);
}

.gnm-footer-item p {
    font-size: 14px;
    color: var(--gnm-text-muted);
    line-height: 1.6;
    margin: 0;
}

.gnm-footer-copyright {
    border-top: 1px solid var(--gnm-gray-light);
    padding: 20px 0;
    text-align: center;
}

.gnm-footer-copyright span {
    font-size: 14px;
    color: var(--gnm-text-muted);
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 991px) {
    .gnm-hero-title {
        font-size: 36px;
    }

    .gnm-hero-desc {
        font-size: 15px;
    }

    .gnm-section-title {
        font-size: 28px;
    }

    .gnm-stats-bar {
        flex-direction: column;
        gap: 20px;
        padding: 24px 30px;
    }

    .gnm-stat-divider {
        width: 80%;
        height: 1px;
        background: rgba(255, 255, 255, 0.25);
    }

    #gnm-portfolio .col-lg-5 {
        padding-left: 20px;
        padding-right: 20px;
    }

    .gnm-about-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .gnm-about-logo {
        width: 160px;
    }

    .gnm-about-divider {
        width: 80px;
        height: 1px;
        min-height: auto;
    }

    #gnm-portfolio .row {
        flex-direction: column;
    }

    .gnm-portfolio-title {
        font-size: 28px;
    }

    .gnm-portfolio-card {
        max-width: 100%;
        margin-top: 24px;
    }

    .gnm-footer-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .gnm-footer-item {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .gnm-section {
        padding: 50px 0;
    }

    #gnm-hero {
        min-height: 70vh;
        margin-top: 0;
    }

    .gnm-hero-title {
        font-size: 28px;
    }

    .gnm-hero-desc {
        font-size: 14px;
    }

    .gnm-hero-content {
        padding: 40px 0;
    }

    /* Stats: remove negative overlap, give solid dark bg so white text is visible */
    #gnm-stats {
        margin-top: 0;
        background: var(--gnm-navy-dark);
        padding-top: 0;
        padding-bottom: 0;
    }

    .gnm-stats-bar {
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 28px 20px;
        border-radius: 0;
        gap: 16px;
    }

    .gnm-stat-number {
        font-size: 24px;
    }

    .gnm-layanan-card {
        height: 320px;
    }

    .gnm-berita-card {
        height: 320px;
    }

    /* Portfolio: ensure left padding on mobile */
    .gnm-portfolio-content {
        padding: 48px 16px;
    }

    .gnm-portfolio-list {
        height: 260px;
    }

    /* Business flow: keep min-width so it scrolls, but section must not clip */
    .gnm-flow-diagram {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .gnm-flow-main {
        min-width: 760px;
        justify-content: flex-start;
    }

    /* Target market: 2-col grid on mobile */
    .gnm-market-grid {
        flex-wrap: wrap;
    }

    .gnm-market-card {
        flex: 0 0 50%;
        height: 200px;
    }

    /* Last card full width if odd count */
    .gnm-market-card:last-child:nth-child(odd) {
        flex: 0 0 100%;
    }

    /* Label always visible on mobile (no hover) */
    .gnm-market-card-overlay span {
        transform: translateY(0);
    }

    #gnm-cta h2 {
        font-size: 26px;
    }

    /* Footer: prevent long email from overflowing */
    .gnm-footer-item p,
    .gnm-footer-item strong {
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    .gnm-footer-wrapper {
        gap: 32px;
    }
}

@media (max-width: 575px) {
    .gnm-hero-title {
        font-size: 24px;
    }

    .gnm-section-title {
        font-size: 24px;
    }

    .gnm-about-logo {
        width: 120px;
    }

    .gnm-stats-bar {
        margin-left: 16px;
        margin-right: 16px;
    }
}

/* ===================================================
   NEWS PAGE — /berita
   =================================================== */

/* Hero */
.gnm-news-hero {
    position: relative;
    background: linear-gradient(135deg, var(--gnm-navy-dark) 0%, var(--gnm-navy) 60%, var(--gnm-navy-light) 100%);
    min-height: 280px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.gnm-news-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1.5' fill='rgba(255,255,255,0.07)'/%3E%3C/svg%3E") repeat;
    pointer-events: none;
}

.gnm-news-hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(61, 82, 137, 0.4) 0%, transparent 70%);
    pointer-events: none;
}

.gnm-news-hero-content {
    position: relative;
    z-index: 1;
    padding-top: 112px;
    padding-bottom: 64px;
}

.gnm-news-hero-title {
    font-family: 'Inter', sans-serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.25;
    color: #ffffff;
    margin: 12px 0 16px;
}

.gnm-news-hero-desc {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.75);
    max-width: 560px;
    margin: 0;
    line-height: 1.6;
}

/* Section */
.gnm-news-section {
    background: var(--gnm-gray-bg);
    padding: 72px 0;
}

/* Skeleton loader */
.gnm-news-skeleton {
    height: 400px;
    border-radius: 16px;
    background: linear-gradient(90deg, #e2e5ec 25%, #edf0f4 50%, #e2e5ec 75%);
    background-size: 200% 100%;
    animation: gnm-skeleton-shimmer 1.4s infinite;
}

@keyframes gnm-skeleton-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* GNM Pagination */
.gnm-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.gnm-pagination li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: var(--gnm-navy);
    background: rgba(44, 62, 107, 0.1);
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.gnm-pagination li.active a {
    background: var(--gnm-navy);
    color: #ffffff;
}

.gnm-pagination li.disabled a {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

.gnm-pagination li:not(.disabled):not(.active) a:hover {
    background: rgba(44, 62, 107, 0.2);
    color: var(--gnm-navy-dark);
}

/* Responsive — news page */
@media (max-width: 767px) {
    .gnm-news-hero {
        min-height: 220px;
    }

    .gnm-news-hero-title {
        font-size: 26px;
    }

    .gnm-news-hero-desc {
        font-size: 14px;
    }

    .gnm-news-section {
        padding: 48px 0;
    }

    .gnm-news-skeleton {
        height: 280px;
    }
}

/* ===================================================
   ARTICLE DETAIL PAGE — /berita/detail
   =================================================== */

.gnm-detail-page {
    background: #ffffff;
    padding-top: 112px;
    padding-bottom: 80px;
    min-height: 70vh;
}

.gnm-detail-page .container {
    max-width: 800px;
}

/* Breadcrumb */
.gnm-detail-breadcrumb {
    margin-bottom: 32px;
}

.gnm-detail-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--gnm-navy);
    text-decoration: none;
    transition: color 0.2s;
}

.gnm-detail-breadcrumb a:hover {
    color: var(--gnm-navy-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Loading skeleton */
.gnm-detail-loading {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gnm-detail-skeleton {
    border-radius: 8px;
    background: linear-gradient(90deg, #e2e5ec 25%, #edf0f4 50%, #e2e5ec 75%);
    background-size: 200% 100%;
    animation: gnm-skeleton-shimmer 1.4s infinite;
}

.gnm-detail-skeleton-title  { height: 44px; width: 80%; }
.gnm-detail-skeleton-meta   { height: 20px; width: 30%; }
.gnm-detail-skeleton-img    { height: 420px; border-radius: 16px; }
.gnm-detail-skeleton-text   { height: 18px; }
.gnm-detail-skeleton-text.w-75 { width: 75%; }

/* Article */
.gnm-detail-title {
    font-family: 'Inter', sans-serif;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.5px;
    color: var(--gnm-navy-dark);
    margin-bottom: 12px;
}

.gnm-detail-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.gnm-detail-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #888888;
}

.gnm-detail-img-wrapper {
    width: 100%;
    margin-bottom: 36px;
}

.gnm-detail-img {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

/* Article body typography */
.gnm-detail-content {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #3a3a3a;
}

.gnm-detail-content h1,
.gnm-detail-content h2,
.gnm-detail-content h3,
.gnm-detail-content h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: var(--gnm-navy-dark);
    margin-top: 32px;
    margin-bottom: 14px;
    line-height: 1.4;
}

.gnm-detail-content h1 { font-size: 26px; }
.gnm-detail-content h2 { font-size: 23px; }
.gnm-detail-content h3 { font-size: 20px; }
.gnm-detail-content h4 { font-size: 18px; }

.gnm-detail-content p  { margin-bottom: 20px; }

.gnm-detail-content ul,
.gnm-detail-content ol  { margin-bottom: 20px; padding-left: 24px; }

.gnm-detail-content li  { margin-bottom: 8px; }

.gnm-detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 16px 0;
}

.gnm-detail-content blockquote {
    border-left: 4px solid var(--gnm-navy);
    margin: 24px 0;
    padding: 12px 20px;
    background: rgba(44, 62, 107, 0.05);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--gnm-navy);
}

/* Error */
.gnm-detail-error {
    text-align: center;
    padding: 60px 0;
    color: #888;
}

.gnm-detail-error p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    margin-bottom: 24px;
}

/* Responsive */
@media (max-width: 767px) {
    .gnm-detail-page {
        padding-top: 88px;
        padding-bottom: 48px;
    }

    .gnm-detail-title {
        font-size: 24px;
    }

    .gnm-detail-skeleton-img    { height: 240px; }

    .gnm-detail-img {
        max-height: 260px;
        border-radius: 10px;
    }

    .gnm-detail-content {
        font-size: 15px;
    }
}

/* ============================
   KONTAK KAMI PAGE
   ============================ */

/* Section 1: Info + Maps */
.gnm-contact-info {
    margin-top: 40px;
    padding: 80px 0;
    background: #fff;
}

.gnm-contact-maps {
    width: 100%;
    height: 420px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(44, 62, 107, 0.12);
}

.gnm-contact-maps iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.gnm-contact-info-title {
    font-size: 32px;
    font-weight: 600;
    color: var(--gnm-text);
    margin-bottom: 12px;
    line-height: 1.3;
}

.gnm-contact-info-desc {
    font-size: 15px;
    color: var(--gnm-text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.gnm-contact-divider {
    width: 40px;
    height: 3px;
    background: var(--gnm-navy);
    border-radius: 2px;
    margin-bottom: 28px;
}

.gnm-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.gnm-contact-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: var(--gnm-navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gnm-contact-item-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--gnm-text);
    margin-bottom: 3px;
}

.gnm-contact-item-value {
    font-size: 14px;
    color: var(--gnm-text-muted);
    margin: 0;
    line-height: 1.5;
}

/* Section 2: Form with bg */
.gnm-contact-form-section {
    position: relative;
    padding: 80px 0;
    background: url('/img/bg_all.png') center center / cover no-repeat;
    overflow: hidden;
}

.gnm-contact-form-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(18, 27, 52, 0.75);
}

.gnm-contact-form-section > .container {
    position: relative;
    z-index: 1;
}

.gnm-contact-form-headline {
    font-size: 32px;
    font-weight: 600;
    color: #fff;
    line-height: 1.35;
    margin-bottom: 16px;
}

.gnm-contact-form-subdesc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.65;
    margin: 0;
}

.gnm-contact-card {
    background: rgba(255, 255, 255, 0.13);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 16px;
    padding: 36px 32px;
}

.gnm-contact-card .form-label {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 6px;
}

.gnm-contact-card .form-control {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    color: var(--gnm-text);
    transition: all 0.2s;
}

.gnm-contact-card .form-control:focus {
    background: #fff;
    border-color: var(--gnm-navy);
    box-shadow: 0 0 0 3px rgba(44, 62, 107, 0.15);
    outline: none;
}

.gnm-contact-card .form-control::placeholder {
    color: #9CA3AF;
}

.gnm-contact-card textarea.form-control {
    resize: none;
}

.gnm-contact-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: var(--gnm-navy-dark);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.gnm-contact-submit:hover {
    background: var(--gnm-navy);
    transform: translateY(-1px);
    color: #fff;
}

.gnm-contact-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Responsive */
@media (max-width: 991px) {
    .gnm-contact-maps {
        height: 300px;
        margin-bottom: 8px;
    }

    .gnm-contact-info-title {
        font-size: 26px;
    }

    .gnm-contact-form-headline {
        font-size: 24px;
    }

    .gnm-contact-form-section {
        padding: 60px 0;
    }

    .gnm-contact-card {
        padding: 28px 20px;
    }
}
