/* =============================================
   REJEKI CETAK – Global Stylesheet
   ============================================= */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ---------- CSS Variables ---------- */
:root {
    --color-primary: #ff5e15;
    --color-primary-dark: #e54b0c;
    --color-accent: #ff8c42;
    --color-dark-blue: #001659;
    --color-mid-blue: #1d2a58;
    --color-dark: #1a1a2e;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-text-muted: #999999;
    --color-bg: #ffffff;
    --color-bg-light: #f8f9fa;
    --color-border: #e8e8e8;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    --shadow-hover: 0 12px 48px rgba(0, 0, 0, 0.16);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
    font-size: 16px;
    overflow-x: hidden;
}

body.home main {
    position: relative;
    z-index: 1;
}

/* Intersection Observer for stats animation */
.stats-inview .stat-item__number {
    animation: countUp 2s ease-out forwards;
}

@keyframes countUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.stats__grid {
    opacity: 0;
}

.stats-inview .stats__grid {
    opacity: 1;
}


img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity var(--transition);
}

a:hover {
    opacity: 0.8;
}

/* ---------- CONTAINER ---------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- SECTION SPACING ---------- */
.section {
    padding: 80px 0;
}

.section--small {
    padding: 60px 0;
}

.section--dark {
    background: var(--color-dark-blue);
    color: white;
}


/* =============================================
   SLIDER (existing)
   ============================================= */
.slider {
    position: relative;
}

.slide {
    position: relative;
}

.slide img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    min-height: 600px;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    max-width: 800px;
    z-index: 2;
}

.content h1 {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
}

.content p {
    font-size: clamp(16px, 2.5vw, 20px);
    margin-bottom: 32px;
    opacity: 0.95;
}

.btn {
    display: inline-block;
    background: var(--color-primary);
    color: white;
    padding: 16px 36px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 16px;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.btn:hover {
    background: var(--color-primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* Swiper overrides */
.swiper-slide {
    position: relative;
}

.swiper-slide img,
.swiper-slide picture {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    min-height: 600px;
}

/* =============================================
   LAYANAN (existing, minor update)
   ============================================= */
.layanan {
    padding: 100px 0;
    background: var(--color-bg-light);
    position: relative;
    overflow: hidden;
}

.layanan::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 5px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    border-radius: 3px;
}

.layanan__header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.layanan__badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.layanan__title {
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 800;
    color: var(--color-dark);
    line-height: 1.25;
    margin-bottom: 20px;
}

.layanan__subtitle {
    font-size: 18px;
    color: var(--color-text-light);
    line-height: 1.7;
    font-weight: 400;
}

/* Card Grid (existing styles continue...) */
.layanan__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 40px;
}

/* =============================================
   SERVICES SECTION
   ============================================= */

.services {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8fbff 0%, #f0f4f8 100%);
}

.services__header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 80px;
}

.services__badge {
    display: inline-block;
    background: var(--color-primary);
    color: white;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 8px 24px;
    border-radius: 50px;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.services__title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-dark-blue), var(--color-mid-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    margin-bottom: 16px;
}

.services__subtitle {
    font-size: 18px;
    color: var(--color-text-light);
    font-weight: 400;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.service-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--color-primary);
    transform: scaleX(0);
    transition: transform var(--transition);
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-primary);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    box-shadow: 0 8px 24px rgba(255, 94, 21, 0.3);
    transition: transform var(--transition);
}

.service-card:hover .service-card__icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card__icon svg {
    width: 36px;
    height: 36px;
}

.service-card__title {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 16px;
    line-height: 1.3;
}

.service-card__text {
    color: var(--color-text-light);
    line-height: 1.7;
    font-size: 15px;
    margin-bottom: 24px;
}

.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    color: var(--color-primary);
    transition: all var(--transition);
}

.service-card__link:hover {
    color: var(--color-primary-dark);
    gap: 12px;
}

.service-card__link svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition);
}

.service-card__link:hover svg {
    transform: translateX(4px);
}

/* =============================================
   RESPONSIVE
   ============================================= */

/* =============================================
   STATS SECTION
   ============================================= */

.stats {
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.stats__grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-item__number {
    font-size: clamp(36px, 10vw, 64px);
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #ff5e15, #ff8c42);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item__label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Counter animation */
.stat-item__number {
    counter-reset: count 0;
}

.animate .stat-item__number {
    counter-increment: count;
}

.animate .stat-item__number::after {
    content: counter(count);
}

/* =============================================
   RESPONSIVE
   ============================================= */

/* =============================================
   TESTIMONIALS SECTION
   ============================================= */

.testimonials {
    padding: 120px 0;
    background: var(--color-bg-light);
}

.testimonials__header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 60px;
}

.testimonials__badge {
    display: inline-block;
    background: var(--color-primary);
    color: white;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 8px 24px;
    border-radius: 50px;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.testimonials__title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    color: var(--color-dark);
    line-height: 1.2;
    margin-bottom: 16px;
}

.testimonials__subtitle {
    font-size: 18px;
    color: var(--color-text-light);
    font-weight: 400;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

.testimonials__swiper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.testimonial-card__head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.testimonial-card__avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--color-primary);
    box-shadow: var(--shadow-sm);
}

.testimonial-card__info {
    flex: 1;
    min-width: 0;
}

.testimonial-card__name {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 4px;
    line-height: 1.3;
}

.testimonial-card__rating {
    display: flex;
    gap: 4px;
}

.testimonial-card__rating svg {
    width: 18px;
    height: 18px;
    color: var(--color-accent);
    fill: var(--color-accent);
}

.testimonial-card__text {
    font-style: italic;
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    font-weight: 400;
    flex: 1;
}

/* Swiper navigation */
.testimonials__nav-prev,
.testimonials__nav-next {
    color: var(--color-primary);
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    transition: all var(--transition);
    margin-top: -24px;
}

.testimonials__nav-prev:hover,
.testimonials__nav-next:hover {
    background: var(--color-primary);
    color: white;
    box-shadow: var(--shadow-lg);
    transform: scale(1.1);
}

.testimonials__pagination {
    bottom: -60px;
}

.testimonials__pagination .swiper-pagination-bullet {
    background: var(--color-text-muted);
    opacity: 0.5;
    width: 12px;
    height: 12px;
}

.testimonials__pagination .swiper-pagination-bullet-active {
    background: var(--color-primary);
    opacity: 1;
}

/* =============================================
   RESPONSIVE
   ============================================= */

/* =============================================
   WORKHOURS SECTION
   ============================================= */

.workhours {
    background: linear-gradient(135deg, #001659 0%, #1d2a58 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.workhours::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255,255,255,0.1);
}

.workhours__grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    max-width: 800px;
    margin: 0 auto;
}

.workhour-card {
    text-align: center;
    position: relative;
}

.workhour-card:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -32px;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 60px;
    background: rgba(255,255,255,0.2);
}

.workhour-card__number {
    font-size: clamp(36px, 8vw, 64px);
    font-weight: 800;
    line-height: 1;
    display: block;
    margin-bottom: 8px;
}

.workhour-card__number.primary {
    color: #ff5e15;
    background: linear-gradient(135deg, #ff5e15, #ff8c42);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.workhour-card__number.accent {
    color: #00d4ff;
}

.workhour-card__label {
    font-size: 16px;
    font-weight: 500;
    opacity: 0.9;
    margin-bottom: 8px;
}

.workhour-card__days {
    display: block;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}

.workhour-card__desc {
    font-size: 14px;
    opacity: 0.7;
    font-weight: 400;
    margin: 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* =============================================
   RESPONSIVE
   ============================================= */

/* =============================================
   CLIENTS MARQUEE SECTION
   ============================================= */

.clients {
    background: var(--color-dark-blue);
    color: white;
    position: relative;
}

.clients__header {
    text-align: center;
    padding: 60px 0 40px;
}

.clients__badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 6px 20px;
    border-radius: 20px;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
}

.clients__title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: white;
    line-height: 1.3;
}

.clients__marquee {
    overflow: hidden;
    position: relative;
    padding: 40px 0;
}

.clients__track {
    display: flex;
    animation: marquee 25s linear infinite;
}

.clients__track:hover {
    animation-play-state: paused;
}

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

.clients__logos {
    display: flex;
    gap: 60px;
    align-items: center;
    min-width: max-content;
    flex-shrink: 0;
}

.clients__logos img {
    height: 48px;
    max-width: 140px;
    width: auto;
    opacity: 0.5;
    filter: grayscale(1);
    transition: all var(--transition);
}

.clients__logos img:hover {
    opacity: 1;
    filter: grayscale(0);
    transform: scale(1.05);
}

/* =============================================
   RESPONSIVE
   ============================================= */

/* =============================================
   FOOTER
   ============================================= */

.footer {
    background: var(--color-dark-blue);
    color: white;
    font-size: 15px;
}

.footer__top {
    position: relative;
    height: 120px;
    overflow: hidden;
}

.footer__map {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 200px;
    opacity: 0.05;
    object-fit: cover;
}

.footer__main {
    padding: 60px 0 40px;
}

.footer__row {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: 60px;
}

.footer__col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer__brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer__logo {
    height: 48px;
    width: auto;
}

.footer__desc {
    line-height: 1.6;
    opacity: 0.9;
    font-size: 15px;
}

.footer__social {
    display: flex;
    gap: 16px;
}

.footer__social a {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer__social img {
    filter: brightness(0) invert(1);
    width: 20px;
    height: 20px;
}

.footer__social a:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.footer__col-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
}

.footer__col-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--color-primary);
}

.footer__links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__links a {
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition);
    font-weight: 400;
}

.footer__links a:hover {
    color: white;
    padding-left: 8px;
}

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer__icon {
    width: 24px;
    height: 24px;
    color: var(--color-accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer__contact-item div {
    line-height: 1.6;
}

.footer__contact-item a {
    color: rgba(255, 255, 255, 0.9);
    transition: color var(--transition);
    display: block;
}

.footer__contact-item a:hover {
    color: var(--color-primary);
}

.footer__bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer__bottom p {
    opacity: 0.7;
    margin: 0;
}

/* =============================================
   RESPONSIVE
   ============================================= */

/* Tablet & Mobile Nav */
@media (max-width: 768px) {
    .layanan {
        padding: 80px 0;
    }

    .layanan__header {
        margin-bottom: 60px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .container {
        padding: 0 16px;
    }

    .section {
        padding: 60px 0;
    }

    .layanan {
        padding: 60px 0;
    }

    .layanan__header {
        margin-bottom: 40px;
    }

    .layanan__title {
        font-size: 28px;
    }

    .layanan__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

