/* Hero banner – full background image with overlay */
.hero-banner {
    position: relative;
    background: linear-gradient(rgba(23, 28, 62, 0.8), rgba(23, 28, 62, 0.85)), 
                url('https://test.icrystal.asia/assets/images/about_us/background_150623.jpg') no-repeat center center/cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 10%;
}

/* Content wrapper */
.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.badge {
    display: inline-block;
    background: #cdae77;
    color: #171c3e;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 24px;
    border-radius: 40px;
    transition: transform 0.2s;
    margin-top: 8px;
}

.badge:hover {
    transform: translateY(-2px);
}

/* fade & slide animation (JS triggered) */
.animate-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1), transform 0.8s ease;
}
.animate-item.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ----- RESPONSIVE (mobile) ----- */
@media (max-width: 768px) {
    .hero-banner {
        padding: 60px 6%;
        min-height: 80vh;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
}

/* ---------- GLOBAL ---------- */
.dashboard-bg {
    background: #171c3e;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 5%;
}

.dashboard-container {
    max-width: 1400px;
    width: 100%;
    background: #ffffff;
    border-radius: 32px;
    padding: 48px 40px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

/* ---------- TOP ROW (3‑col) ---------- */
.top-grid {
    display: grid;
    grid-template-columns: 1fr 2.2fr 1.8fr;
    gap: 40px;
    margin-bottom: 70px;
}

/* Services menu */
.services-menu ul {
    list-style: none;
}
.services-menu li {
    margin-bottom: 16px;
    position: relative;
}
.services-menu a {
    text-decoration: none;
    color: #6b7280;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease-in-out;
    display: inline-block;
}
.services-menu li.active a {
    color: #171c3e;
    font-weight: 700;
}
.services-menu li.active::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 20px;
    background: #cdae77;
    border-radius: 2px;
}
.services-menu a:hover {
    color: #cdae77;
    transform: translateX(4px);
}

/* Featured text column */
.featured-text .eyebrow {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #cdae77;
    font-weight: 600;
    margin-bottom: 12px;
    display: block;
}
.featured-text h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #171c3e;
    margin-bottom: 16px;
    line-height: 1.2;
}
.featured-text p {
    color: #4b5563;
    margin-bottom: 28px;
    line-height: 1.6;
}
#dynamicDesc {
    margin-bottom: 16px;
}
#dynamicDesc ul {
    margin: 10px 0 0 20px;
    padding-left: 0;
}
#dynamicDesc li {
    margin-bottom: 8px;
    color: #4b5563;
}
.dark-pill {
    background: #171c3e;
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}
.dark-pill:hover {
    background: #2d3a5e;
    transform: translateY(-2px);
}

/* Promo card (column 3) */
.promo-card {
    background: #171c3e;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 32px;
    overflow: hidden;
    gap: 20px;
}
.promo-content {
    flex: 1;
}
.promo-content h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}
.promo-content p {
    color: #e5e7eb;
    margin-bottom: 24px;
    font-size: 0.9rem;
}
.light-pill {
    background: white;
    color: #171c3e;
    border: none;
    padding: 10px 24px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}
.light-pill:hover {
    transform: translateY(-2px);
    background: #f0f2f5;
}
.promo-graphic {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 100px;
    background: var(--color-primary);
    border-radius: 20px;
}
.logo-icon {
    width: 70px;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

/* ---------- BOTTOM SECTION ---------- */
.bottom-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}
.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}
.header-left h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #171c3e;
}
.tag-badge {
    background: #f0f2f5;
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #6b7280;
}

/* Grid showcase (4 columns) – PORTRAIT CARDS */
.grid-showcase {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.grid-card {
    background: transparent;
    transition: all 0.3s ease-in-out;
    opacity: 0;
    transform: translateY(20px);
}
.grid-card.fade-in {
    opacity: 1;
    transform: translateY(0);
}
.card-image {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 16px;
}
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.card-image:hover img {
    transform: scale(1.05);
}
.card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #171c3e;
    margin-bottom: 8px;
}
.card-description {
    font-size: 0.8rem;
    color: #6b7280;
    margin-bottom: 16px;
    line-height: 1.4;
}
.card-footer {
    display: flex;
    align-items: center;
}
.icon-capsule {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f0f2f5;
    padding: 4px 12px;
    border-radius: 40px;
    font-size: 0.7rem;
    font-weight: 500;
    color: #171c3e;
}
.icon-capsule svg {
    width: 14px;
    height: 14px;
    stroke: #cdae77;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
    .grid-showcase {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}
@media (max-width: 992px) {
    .top-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .services-menu ul {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
    }
    .services-menu li.active::before {
        display: none;
    }
    .services-menu li.active a {
        background: #cdae77;
        color: #171c3e;
        padding: 6px 16px;
        border-radius: 40px;
    }
    .services-menu a:hover {
        transform: none;
    }
    .promo-card {
        flex-direction: column;
        text-align: center;
    }
    .promo-graphic {
        width: 100%;
        height: 80px;
    }
}
@media (max-width: 768px) {
    .dashboard-container {
        padding: 32px 24px;
    }
    .grid-showcase {
        grid-template-columns: 1fr;
        max-width: 280px;
        margin: 0 auto;
    }
    .bottom-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .featured-text h2 {
        font-size: 1.8rem;
    }
}
@media (max-width: 480px) {
    .dashboard-container {
        padding: 24px 20px;
    }
}