/* ========================================================== */
/* PT PERSADA - MAIN STYLESHEET v3.1 (FIXED & COMPLETE) */
/* All sections with light backgrounds */
/* ========================================================== */

/* ========================================================== */
/* A. CSS RESET & VARIABLES */
/* ========================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

* { 
    -webkit-font-smoothing: antialiased; 
    -moz-osx-font-smoothing: grayscale; 
}

html {
    font-size: 16px !important; 
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
}

:root {
    --brand-primary: #0061F2;
    --brand-primary-dark: #004ab3;
    --brand-primary-light: #3385ff;
    --brand-primary-rgb: 0, 97, 242;
    --brand-accent: #00E0FF;
    --brand-secondary-accent: #6900FF;
    --brand-dark: #111827;
    --brand-dark-blue: #0F172A;
    --brand-light: #F8FAFC;
    --brand-light-blue: #EFF6FF;
    --brand-white: #ffffff;
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-muted: #6b7280;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 50px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --z-fixed: 1030;
    --z-chat: 9999;
}

body { 
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; 
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    background-color: var(--brand-white);
    overflow-x: hidden; 
    margin: 0;
    padding: 0;
    padding-top: 0 !important; /* No padding for hero fullscreen */
}

/* Ensure no extra space above hero */
main,
#main-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

h1, h2, h3, h4, h5, h6 { 
    color: var(--brand-dark); 
    font-weight: 700; 
    margin-top: 0;
    line-height: 1.3;
}

a { 
    text-decoration: none; 
    transition: var(--transition-normal);
    color: var(--brand-primary);
}

a:hover {
    color: var(--brand-primary-dark);
}

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

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--brand-primary);
    color: var(--brand-white);
    padding: 8px 16px;
    z-index: 10000;
}

.skip-link:focus {
    top: 0;
}

/* ========================================================== */
/* B. NAVBAR */
/* ========================================================== */
.navbar {
    padding: 8px 0;
    transition: all 0.4s ease;
    background: var(--brand-white);
    z-index: var(--z-fixed);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 97, 242, 0.08);
    padding: 5px 0;
}

.navbar .container {
    max-width: 1400px;
}

.navbar-brand img,
.navbar-logo {
    height: 40px;
    width: auto;
    transition: var(--transition-normal);
    object-fit: contain;
}

.navbar.scrolled .navbar-logo {
    height: 35px;
}

.navbar-toggler { 
    border: none; 
    padding: 0; 
}

.navbar-toggler:focus { 
    box-shadow: none; 
    outline: 2px solid var(--brand-primary);
}

.navbar-nav .nav-link {
    color: var(--brand-dark) !important; 
    font-weight: 500;
    font-size: 0.82rem;
    margin-left: 0.2rem;
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0.5rem 0.35rem;
    white-space: nowrap;
}

.navbar-nav .nav-link i {
    font-size: 0.85rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--brand-primary) !important;
}

.dropdown-toggle::after {
    margin-left: 0.2em;
    border-top: 0.25em solid;
    border-right: 0.25em solid transparent;
    border-left: 0.25em solid transparent;
    transition: transform 0.3s;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
    transition: width 0.3s;
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
    width: 100%;
}

/* Search */
.search-input {
    width: 90px;
    height: 32px;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-full);
    padding: 0 30px 0 12px;
    font-size: 0.75rem;
    transition: all 0.3s;
    background: var(--brand-light);
}

.search-input:focus {
    width: 130px;
    border-color: var(--brand-primary);
    outline: none;
    background: var(--brand-white);
}

.search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.8rem;
}

/* CTA Button */
.btn-persada {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary-accent));
    color: var(--brand-white) !important;
    font-weight: 600;
    font-size: 0.75rem;
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-full);
    margin-left: 0.4rem;
    transition: all var(--transition-normal);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 97, 242, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.btn-persada:hover {
    background: linear-gradient(135deg, var(--brand-secondary-accent), var(--brand-primary));
    transform: translateY(-2px);
    color: var(--brand-white) !important;
}

#langDropdown {
    padding: 0.35rem 0.4rem;
    font-size: 0.8rem;
}

.dropdown-menu {
    border: none;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0, 97, 242, 0.1);
    padding: 0.75rem 0;
    margin-top: 10px;
    border-top: 3px solid var(--brand-primary);
    min-width: 200px;
}

.dropdown-item {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.dropdown-item:hover {
    background: var(--brand-light);
    color: var(--brand-primary);
    transform: translateX(5px);
}

.dropdown-item i {
    width: 22px;
    color: var(--brand-primary);
}

/* ========================================================== */
/* C. HERO SECTION - TRUE FULLSCREEN */
/* ========================================================== */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 500px;
    max-height: none;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.carousel,
.carousel-inner,
.carousel-item {
    height: 100%;
}

.carousel-item {
    background-color: #000;
}

.hero-layer-1-bg {
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: zoomEffect 20s infinite alternate;
}

@keyframes zoomEffect {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.hero-layer-2-overlay {
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    z-index: 1;
    background: linear-gradient(135deg, 
        rgba(15, 23, 42, 0.88) 0%,
        rgba(0, 97, 242, 0.7) 25%,
        rgba(105, 0, 255, 0.6) 50%,
        rgba(0, 224, 255, 0.5) 75%,
        rgba(15, 23, 42, 0.88) 100%
    );
    background-size: 300% 300%;
    animation: cyberFlow 10s linear infinite;
}

@keyframes cyberFlow {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

.hero-layer-3-content {
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 1rem 60px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    color: var(--brand-white);
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: clamp(0.9rem, 1.8vw, 1.15rem);
    color: #facc15;
    margin-bottom: 1.75rem;
    max-width: 600px;
    font-weight: 400;
    margin-left: auto; 
    margin-right: auto;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

/* Video Profile Button */
.btn-outline-light-custom {
    background: rgba(255, 255, 255, 0.15);
    color: var(--brand-white) !important;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.7rem 1.5rem;
    border-radius: var(--radius-full);
    border: 2px solid rgba(255, 255, 255, 0.6);
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
}

.btn-outline-light-custom:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: var(--brand-white);
    color: var(--brand-white) !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-outline-light-custom i {
    font-size: 1.1rem;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 45px;
    height: 45px;
    background: rgba(0, 97, 242, 0.4);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: var(--transition-normal);
}

.carousel-control-prev { left: 15px; }
.carousel-control-next { right: 15px; }

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: var(--brand-primary);
    opacity: 1;
}

/* Carousel Indicators - SMALLER */
.carousel-indicators {
    bottom: 20px;
    margin-bottom: 0;
}

.carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    margin: 0 5px;
    padding: 0;
    transition: var(--transition-normal);
}

.carousel-indicators button.active {
    background: var(--brand-white);
    width: 28px;
    border-radius: 5px;
}

/* ========================================================== */
/* D. STATS SECTION */
/* ========================================================== */
.stats-section {
    position: relative;
    z-index: 10;
    margin-top: -70px;
    padding-bottom: 2rem;
}

.stats-merged-card {
    background: var(--brand-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.stat-item {
    flex: 1;
    min-width: 130px;
    text-align: center;
    padding: 1rem 0.5rem;
    border-right: 1px solid #eee;
    transition: var(--transition-normal);
}

.stat-item:last-child {
    border-right: none;
}

.stat-item:hover {
    background: var(--brand-light);
}

.stat-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.6rem;
    color: var(--brand-white);
    font-size: 1.1rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--brand-dark);
    margin-bottom: 0.15rem;
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ========================================================== */
/* E. SECTIONS */
/* ========================================================== */
section {
    padding: 4rem 0;
}

.section-title {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 0.5rem;
}

/* ========================================================== */
/* F. SERVICE CARDS */
/* ========================================================== */
.services-section {
    background: var(--brand-light);
}

.service-card {
    position: relative;
    height: 300px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

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

.service-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.service-card:hover .service-bg {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.25rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 50%, transparent 100%);
    color: var(--brand-white);
    transition: var(--transition-normal);
}

.service-card:hover .service-overlay {
    background: linear-gradient(to top, rgba(0, 97, 242, 0.95) 0%, rgba(0, 97, 242, 0.7) 50%, transparent 100%);
}

.service-overlay h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: var(--brand-white);
}

.service-overlay p {
    font-size: 0.8rem;
    margin-bottom: 0.6rem;
    opacity: 0.9;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.service-overlay a {
    color: var(--brand-accent);
    font-weight: 600;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.service-overlay a:hover {
    color: var(--brand-white);
    gap: 10px;
}

/* ========================================================== */
/* G. WORKFLOW SECTION - LIGHT BACKGROUND */
/* ========================================================== */
.workflow-section {
    background: linear-gradient(135deg, var(--brand-light-blue) 0%, var(--brand-light) 100%);
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
}

.workflow-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230061F2' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.workflow-section .section-title,
.workflow-section h2 {
    color: var(--brand-dark) !important;
}

.workflow-section .text-muted {
    color: var(--text-muted) !important;
}

.workflow-section span[style*="color: var(--brand-primary)"] {
    color: var(--brand-primary) !important;
}

/* Step Card - Light Theme */
.step-card {
    text-align: center;
    padding: 1.75rem 1.25rem;
    background: var(--brand-white);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 97, 242, 0.1);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    height: 100%;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--brand-primary);
}

.step-icon-wrapper {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    transition: var(--transition-normal);
    box-shadow: 0 8px 25px rgba(0, 97, 242, 0.25);
}

.step-icon-wrapper i {
    font-size: 1.75rem;
    color: var(--brand-white);
}

.step-card:hover .step-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(0, 97, 242, 0.35);
}

.step-card h3 {
    color: var(--brand-dark) !important;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.step-card p {
    color: var(--text-muted) !important;
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.5;
}

/* ========================================================== */
/* H. CLIENTS SECTION */
/* ========================================================== */
.clients-section {
    background: var(--brand-white);
    padding: 3rem 0;
}

.clients-section h2 {
    color: var(--text-muted);
    font-weight: 600;
}

.marquee-wrapper {
    overflow: hidden;
    padding: 1.5rem 0;
    position: relative;
}

.marquee-wrapper::before,
.marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

.marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--brand-white), transparent);
}

.marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--brand-white), transparent);
}

.marquee-content {
    display: flex;
    animation: marqueeScroll 25s linear infinite;
    width: fit-content;
}

.marquee-content:hover {
    animation-play-state: paused;
}

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

.client-logo {
    height: 45px;
    width: auto;
    margin: 0 2.5rem;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: var(--transition-normal);
}

.client-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* ========================================================== */
/* I. NEWS SECTION */
/* ========================================================== */
.news-section {
    background: var(--brand-light);
}

.news-card {
    background: var(--brand-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    height: 100%;
    border: none;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.news-img {
    height: 200px;
    object-fit: cover;
    width: 100%;
    transition: transform 0.5s;
}

.news-card:hover .news-img {
    transform: scale(1.05);
}

.news-body {
    padding: 1.25rem 1.25rem 1.5rem;
}

.news-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
}

.news-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--brand-dark);
    margin-bottom: 0.6rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

.read-more-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand-primary);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.read-more-link:hover {
    color: var(--brand-primary-dark);
    gap: 8px;
}

/* ========================================================== */
/* J. TESTIMONIALS SECTION - CAROUSEL SLIDESHOW */
/* ========================================================== */
.testimonials-section {
    background: var(--brand-white) !important;
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(0, 97, 242, 0.05), rgba(0, 224, 255, 0.05));
    border-radius: 50%;
    pointer-events: none;
}

.testimonials-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, rgba(105, 0, 255, 0.05), rgba(0, 97, 242, 0.05));
    border-radius: 50%;
    pointer-events: none;
}

/* Testimonial Carousel - Remove any dark backgrounds */
#testimonialCarousel {
    position: relative;
    padding: 0 50px;
    background: transparent !important;
}

#testimonialCarousel .carousel-inner {
    overflow: visible;
    background: transparent !important;
}

#testimonialCarousel .carousel-item {
    transition: transform 1.2s ease-in-out, opacity 0.8s ease-in-out;
    background: transparent !important;
}

#testimonialCarousel .row {
    background: transparent !important;
}

/* Testimonial Card */
.testimonial-card {
    background: var(--brand-white) !important;
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    height: 100%;
    border: 1px solid #e5e7eb;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 4rem;
    font-family: Georgia, serif;
    color: var(--brand-primary);
    opacity: 0.1;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-primary);
}

/* Quote */
.testimonial-quote {
    position: relative;
    z-index: 1;
    margin-bottom: 1.5rem;
    min-height: 100px;
    background: transparent !important;
}

.testimonial-quote p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-style: italic;
    margin: 0;
}

/* Author */
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.25rem;
    border-top: 1px solid #f3f4f6;
    background: transparent !important;
}

.testimonial-author img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--brand-light);
    box-shadow: var(--shadow-sm);
}

.testimonial-info {
    background: transparent !important;
}

.testimonial-info h6 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--brand-dark);
    margin: 0 0 0.2rem 0;
}

.testimonial-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Testimonial Carousel Controls */
.testimonial-control {
    width: 45px;
    height: 45px;
    background: var(--brand-primary) !important;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    transition: var(--transition-normal);
}

.testimonial-control:hover {
    background: var(--brand-primary-dark) !important;
    transform: translateY(-50%) scale(1.1);
}

.testimonial-control.carousel-control-prev {
    left: 0;
}

.testimonial-control.carousel-control-next {
    right: 0;
}

/* Testimonial Indicators */
.testimonial-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 2rem;
    background: transparent !important;
}

.testimonial-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d1d5db;
    border: none;
    padding: 0;
    transition: var(--transition-normal);
    cursor: pointer;
}

.testimonial-indicators button:hover {
    background: var(--brand-primary-light);
}

.testimonial-indicators button.active {
    background: var(--brand-primary);
    width: 30px;
    border-radius: 5px;
}

/* ========================================================== */
/* K. CTA SECTION - LIGHT VERSION */
/* ========================================================== */
.cta-section {
    background: linear-gradient(135deg, var(--brand-light-blue), var(--brand-light));
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 97, 242, 0.08), transparent 70%);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    color: var(--brand-dark);
}

.cta-section p {
    color: var(--text-secondary);
}

/* ========================================================== */
/* L. FOOTER - Only for page footer, not card footers */
/* ========================================================== */
body > footer,
footer.site-footer,
footer[role="contentinfo"] {
    background: linear-gradient(135deg, var(--brand-dark-blue), var(--brand-dark));
    padding-top: 3.5rem;
}

/* Reset footer inside cards */
.card footer,
article footer,
.testimonial-card footer {
    background: transparent !important;
    padding-top: 0;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-heading {
    color: var(--brand-white);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1.15rem;
    position: relative;
    padding-bottom: 0.6rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
}

.footer-link {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-link a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    transition: var(--transition-fast);
}

.footer-link a:hover {
    color: var(--brand-accent);
    transform: translateX(5px);
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--brand-white);
    margin-right: 0.4rem;
    transition: var(--transition-normal);
}

.social-link:hover {
    background: var(--brand-primary);
    color: var(--brand-white);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.25rem 0;
    margin-top: 1.5rem;
}

.footer-bottom p,
.footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    margin: 0;
}

.footer-bottom a:hover {
    color: var(--brand-accent);
}

.iso-badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.6rem 0.9rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.iso-badge img {
    height: 35px;
    width: auto;
}

.iso-badge span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
}

/* ========================================================== */
/* M. FLOATING BUTTONS & CHAT */
/* ========================================================== */
.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: var(--z-chat);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-floating {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-white);
    font-size: 1.2rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
    border: none;
    cursor: pointer;
}

.btn-floating:hover {
    transform: scale(1.1);
}

.btn-whatsapp {
    background: #25D366;
}

.btn-whatsapp:hover {
    background: #128C7E;
    color: var(--brand-white);
}

.btn-kurir {
    background: var(--brand-primary);
}

.btn-kurir:hover {
    background: var(--brand-primary-dark);
    color: var(--brand-white);
}

/* Chat Float Container */
.chat-float-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: var(--z-chat);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

/* Chat Pill Buttons */
.chat-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 18px;
    border-radius: var(--radius-full);
    color: var(--brand-white) !important;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all var(--transition-normal);
    min-width: 160px;
    position: relative;
    overflow: hidden;
}

.chat-pill:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    color: var(--brand-white) !important;
}

.chat-pill.general {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    animation: chatPulse 2s ease-in-out infinite;
}

.chat-pill.general:hover {
    animation: none;
}

.chat-pill.courier {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary-accent) 100%);
}

/* Pulse Animation for Chat Button */
@keyframes chatPulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6), 0 0 0 8px rgba(37, 211, 102, 0.1);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    }
}

/* Ripple effect on hover */
.chat-pill::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.chat-pill:hover::before {
    width: 200px;
    height: 200px;
}

.chat-main-content {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.chat-main-content i {
    font-size: 1.1rem;
}

/* Schedule text - reduced spacing */
.schedule-text {
    font-size: 0.68rem;
    opacity: 0.9;
    margin-top: 2px;
    line-height: 1;
    position: relative;
    z-index: 1;
}

/* Chat visibility based on time - controlled by JS */
.chat-pill.general.hidden {
    display: none;
}

/* ========================================================== */
/* N. MODAL */
/* ========================================================== */
.modal-content {
    border: none;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.modal-header {
    background: var(--brand-dark);
    border-bottom: none;
    padding: 1rem 1.25rem;
}

.modal-body {
    padding: 0;
}

/* ========================================================== */
/* O. RESPONSIVE */
/* ========================================================== */
@media (max-width: 1399px) {
    .navbar-nav .nav-link {
        font-size: 0.78rem;
        padding: 0.45rem 0.3rem;
    }
    
    .search-input { width: 80px; }
    .search-input:focus { width: 110px; }
    
    .btn-persada {
        font-size: 0.72rem;
        padding: 0.35rem 0.75rem;
    }
}

@media (max-width: 1199px) {
    .navbar-nav .nav-link {
        font-size: 0.75rem;
        padding: 0.4rem 0.25rem;
    }
    
    .btn-persada {
        font-size: 0.7rem;
        padding: 0.3rem 0.65rem;
    }
    
    .search-input { width: 70px; }
    .search-input:focus { width: 100px; }
}

@media (max-width: 991px) {
    .hero-section {
        min-height: 100vh;
        min-height: 100dvh;
    }
    
    .hero-layer-3-content {
        padding: 70px 1rem 2rem;
    }
    
    .stats-section { margin-top: -60px; }
    
    .stat-item { 
        width: 50%;
        flex: none;
        border-right: none;
        border-bottom: 1px solid #eee;
        padding: 1rem 0.5rem;
    }
    
    .stat-item:last-child,
    .stat-item:nth-last-child(2):nth-child(odd) {
        border-bottom: none;
    }
    
    .navbar-collapse {
        background: var(--brand-white);
        padding: 1rem;
        border-radius: var(--radius-md);
        margin-top: 1rem;
        box-shadow: var(--shadow-lg);
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .navbar-nav .nav-link {
        margin-left: 0;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .navbar-nav .nav-link::before {
        display: none;
    }
    
    .btn-persada {
        margin: 1rem 0 0 0;
        width: 100%;
        justify-content: center;
        font-size: 0.9rem;
        padding: 0.75rem 1.5rem;
    }
    
    .navbar form.d-flex { width: 100%; margin: 0.5rem 0; }
    .search-input { width: 100%; }
    .search-input:focus { width: 100%; }
    
    .service-card { height: 280px; }
    
    .step-card {
        margin-bottom: 1rem;
        height: auto; 
    }
    
    .workflow-section .col-lg-2 {
        width: 50%;
        margin-bottom: 1rem;
    }
}

@media (max-width: 767px) {
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 0.9rem; }
    
    .navbar-logo { height: 32px; }
    
    .workflow-section .col-lg-2 {
        width: 100%;
    }
    
    .footer-bottom .d-flex {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .floating-buttons { bottom: 15px; right: 15px; }
    .chat-float-container { bottom: 15px; right: 15px; }
}

/* ========================================================== */
/* P. NESTED DROPDOWN STYLES (REQUIRED FOR DEEP LINKING) */
/* ========================================================== */

/* Desktop View */
@media (min-width: 992px) {
    .dropdown-menu .dropend { 
        position: relative; 
    }
    
    .dropdown-menu .dropend .dropdown-toggle { 
        display: flex; 
        align-items: center; 
        justify-content: flex-start; 
        width: 100%;
        text-align: left; 
    }
    
    .dropdown-menu .dropend .dropdown-toggle::after { 
        content: "\f054"; 
        font-family: "Font Awesome 6 Free"; 
        font-weight: 900; 
        border: none; 
        font-size: 10px; 
        margin-left: auto; 
    }
    
    /* Show submenu on hover */
    .dropdown-menu .dropend .dropdown-menu.show {
        display: block;
        position: absolute;
        top: 0;
        left: 100%;
        margin-top: -5px;
        margin-left: 0;
        border-radius: 0.35rem;
        background: #fff;
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
        min-width: 230px; 
        opacity: 0;
        animation: fadeIn 0.3s forwards;
        z-index: 1050;
    }
}

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

/* Mobile View */
@media (max-width: 991.98px) {
    .dropdown-menu .dropend .dropdown-menu { 
        display: none; 
        margin-left: 15px; 
        border-left: 2px solid #eee; 
        position: static;
        box-shadow: none;
        width: 100%;
        background-color: #f9fafb;
    }
    
    .dropdown-menu .dropend .dropdown-menu.show { 
        display: block; 
    }
    
    .dropdown-menu .dropend .dropdown-toggle::after {
        transform: rotate(90deg);
        transition: transform 0.2s;
    }
}

