/* ==========================================================================
   1. VARIABLES & RESET (GLOBAL)
   Digunakan di: Semua Halaman
   Fungsi: Mengatur warna dasar, font, dan reset CSS default.
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;700;800&display=swap');

:root {
    /* Palette Warna Utama */
    --primary-color: #ffea00;
    --secondary-color: #dab315;
    --third-color: #6200ff;
    --fourth-color: #22e2ff;
    
    /* Warna Netral */
    --dark-color: #222;
    --light-color: #f9f9f9;
    --text-color: #444; /* Default text #444, tapi di body #333. Diseragamkan ke #333 */
    --white-color: #fff;
    --border-color: #e0e0e0;
    
    /* Warna Spesifik Brand */
    --color-gold: #D4AF37;
    --color-black: #1a1a1a;
    --primary-yellow: #f1c40f; /* Warna kuning khas security */
    --dark-bg: #1a1a1a;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Plus Jakarta Sans', sans-serif; 
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Poppins', sans-serif; /* Override font utama */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: var(--white-color);
}

.container {
    width: 90%;
    margin: 0 auto;
    max-width: 1200px;
    height: 100%;
}

/* ==========================================================================
   2. HEADER & NAVIGATION (GLOBAL)
   Digunakan di: nav.php (Terpasang di semua halaman)
   Fungsi: Mengatur tampilan menu atas, logo, dan sidebar mobile.
   ========================================================================== */

.navbar {
    background-color: var(--white-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    padding-top: 5px;
    position: fixed;
    top: 0;
    left: 0;
    height: 60px;
    width: 100%;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: black;
    text-decoration: none;
}

/* Menu Desktop */
.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    text-decoration: none;
    color: rgb(0, 0, 0);
    font-weight: 600;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-image: linear-gradient(to right, var(--third-color), var(--fourth-color));
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active { /* State aktif */
    color: var(--primary-color);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Hamburger Menu (Mobile Trigger) */
.menu-toggle {
    display: none; /* Hidden di desktop */
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    cursor: pointer;
    z-index: 2001;
}

.menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--dark-color);
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

/* Sidebar Mobile */
.sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background: rgba(10, 10, 20, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.sidebar.active {
    right: 0;
}

.sidebar a {
    color: var(--white-color);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 20px 0;
    padding: 10px 20px;
    border-radius: 5px;
}

.sidebar a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.sidebar .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

/* Animasi Hamburger menjadi X */
.menu-toggle.active .bar:nth-child(1) { transform: rotate(45deg) translate(6px, 7px); }
.menu-toggle.active .bar:nth-child(2) { opacity: 0; }
.menu-toggle.active .bar:nth-child(3) { transform: rotate(-45deg) translate(6px, -7px); }


/* Styling Tombol Bahasa Desktop */
.btn-lang {
    background: transparent;
    border: 1px solid var(--dark-color);
    padding: 5px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-lang:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Styling Tombol Bahasa Mobile */
.btn-lang-mobile {
    color: var(--primary-color) !important;
    border: 1px solid var(--primary-color);
    margin: 20px auto !important;
    display: inline-block;
    width: auto !important;
}


/* ==========================================================================
   3. FOOTER (GLOBAL)
   Digunakan di: footer.php (Terpasang di semua halaman)
   Fungsi: Styling bagian kontak bawah (warna hitam) dan copyright footer.
   ========================================================================== */

.contact-section-tech {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    padding: 4rem;
    background: #161616;
    color: rgba(255, 255, 255, 0.8);
    position: relative; 
}

.contact-section-tech::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.3;
}

.contact-left, .contact-right {
    position: relative;
    z-index: 1;
}

.contact-left h2 {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.contact-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 3rem;
    max-width: 500px;
}

.contact-info-group {
    margin-bottom: 2rem;
}

.contact-info-group h4 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.2rem;
    color: #ffff00;
    margin-bottom: 0.5rem;
}

.contact-info-group p {
    padding-left: 2rem;
    line-height: 1.6;
}

.contact-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Kartu Aksi di Footer (Call Us / Email Us) */
.contact-action-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    text-decoration: none;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    background: rgba(30, 30, 30, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease-out;
}

.contact-action-card:hover {
    transform: scale(1.05);
    background: rgba(35, 35, 35, 0.7);
    border-color: rgba(255, 230, 0, 0.5);
    box-shadow: 0 0 25px rgba(255, 174, 0, 0.3);
}

.contact-action-card i {
    font-size: 1.5rem;
    color: yellow;
    transition: all 0.3s ease-out;
}

.contact-action-card:hover i {
    text-shadow: 0 0 15px yellow;
}

.services-links {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.services-links h4 {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.services-links ul {
    list-style: none;
    padding: 0;
}

.services-links li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.services-links li a:hover {
    color: yellow;
}

footer {
    background-color: #8f8f8fe7;
    color: var(--light-color);
    text-align: center;
    padding: 0.5rem 0;
}


/* ==========================================================================
   4. UI ELEMENTS & COMPONENTS (SHARED)
   Digunakan di: Berbagai tombol di index.php, services.php, dll.
   ========================================================================== */

/* Hero Section (Shared Base) */
.hero {
    position: relative;
    color: var(--white-color);
    text-align: center;
    overflow: hidden;
    padding: 8rem 0 6rem 0;
    margin-top: 60px; /* Jarak dari navbar */
    min-height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url(img/hero.jpeg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom-left-radius: 60% 30px;
    border-bottom-right-radius: 60% 30px;
    box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.15);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 242, 0, 0.836), rgba(0, 0, 0, 0.348));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: #f0f0f0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Tombol CTA (Call to Action) */
.cta-button, 
.cta-button-home-service {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--white-color);
    padding: 14px 35px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.cta-button-home-service:hover,
.cta-button:hover {
    background-color: var(--primary-color);
    color: var(--dark-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Tombol Back to Top */
#backToTopBtn {
    position: fixed; 
    bottom: 20px;
    right: 20px;
    background-color: var(--secondary-color); 
    color: black;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 100;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Section Dasar */
.content-section {
    padding: 5rem 0;
    text-align: center;
}

.content-section h2 {
    font-size: 2.8rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

/* Tombol Pill (Tentang & Layanan) */
#button-tentang, #button-layanan {
    display: inline-block;
    padding: 12px 28px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    margin-top: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

#button-tentang {
    background-color: #e3dc0b;
    color: #333;
}

#button-tentang:hover {
    background-color: #fff200ea;
    transform: translateY(-3px);
}

#button-layanan {
    background-color: var(--white-color);
    color: var(--dark-color);
    border: 1px solid var(--dark-color);
}

#button-layanan:hover {
    background-color: var(--dark-color);
    color: var(--white-color);
    transform: translateY(-3px);
}


/* ==========================================================================
   5. HALAMAN HOME (index.php)
   Fungsi: Styling khusus bagian About ringkas, Grid Layanan (Preview), Slider Logo.
   ========================================================================== */

/* Bagian "Tentang Kami" (Versi Home) */
.tentang-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
    text-align: left;
}

.tentang-text,
.tentang-image {
    flex: 1;
    min-width: 0;
}

.tentang-text h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.tentang-text p {
    text-align: justify;
    font-size: larger;
    line-height: 1.8;
    margin-bottom: 20px;
    margin-right: 80px;
}

.tentang-image img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    display: block;
    border-radius: 12px;
}

/* Section Layanan (Preview di Home) - Background Gelap + Grid */
.services-section {
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.75)), url('https://jurnalsecurity.com/go/wp-content/uploads/2024/03/satpam-baris.jpg');
    padding: 80px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 15px;
}

.section-header h2 {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #f1c40f;
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-header p {
    color: #e0e0e0;
    text-align: justify;
    font-size: 1.2rem;
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.8;
    font-weight: 300;
}

/* Grid Card Layanan */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); 
    gap: 30px;
    width: 100%;
    align-items: stretch;
}

.service-item {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    height: 100%;
    border-top: 4px solid #f1c40f;
    position: relative;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(241, 196, 15, 0.15);
}

.img-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.img-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
}

.service-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-item:hover img {
    transform: scale(1.1);
}

.service-content {
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1; 
}

.service-content h3 {
    color: #333;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.4;
    min-height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-service {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 30px;
    background-color: #1a1a1a;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: auto; /* Push ke bawah */
    align-self: center;
}

.btn-service:hover {
    background-color: #f1c40f;
    color: #111;
    box-shadow: 0 5px 15px rgba(241, 196, 15, 0.4);
    transform: translateY(-2px);
}

/* Logo Slider (Partners) */
.logo-slider-section {
    background-color: #f7f7f7;
    padding: 60px 0;
    text-align: center;
}

.logo-slider-section h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 40px;
}

.logo-slider {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.logo-slider:before,
.logo-slider:after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

.logo-slider:before {
    left: 0;
    background: linear-gradient(to left, rgba(247,247,247,0), #f7f7f7);
}

.logo-slider:after {
    right: 0;
    background: linear-gradient(to right, rgba(247,247,247,0), #f7f7f7);
}

.logo-slider:hover .logo-slide-track {
    animation-play-state: paused;
}

.logo-slide-track {
    display: flex;
    width: calc(250px * 37); /* Jumlah total slide */
    animation: scroll 30s linear infinite;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 37)); }
}

.slide {
    height: 150px;
    width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.slide img {
    max-width: 150px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.slide:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* Galeri / Swiper */
#galeri h2, #galeri p {
    text-align: center;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #eee;
    border-radius: 15px;
    overflow: hidden;
    height: 600px;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color) !important;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color) !important;
}


/* ==========================================================================
   6. HALAMAN ABOUT (about.php)
   Fungsi: Timeline Sejarah, Grid Nilai Perusahaan, Tab Visi Misi.
   ========================================================================== */
.about-page .about-content-section {
    padding: 4rem 0;
    background-color: var(--light-color);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 2rem auto;
}

.about-page .about-story {
    display: flex;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-page .about-story .about-text {
    flex: 1;
}

.about-page .about-story .about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 0.5rem;
}

.about-page .about-story .about-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background-image: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.about-page .about-story .about-image {
    flex: 1;
}

.about-page .about-story .about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    object-fit: cover;
    height: auto;
}

/* Values Grid (SMART, Client, Peace) */
.about-page .about-values h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 3rem;
}

.about-page .values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.about-page .value-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 5px solid var(--secondary-color);
}

.about-page .value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.about-page .value-card i {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-page .value-card h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

/* Horizontal Timeline */
.milestone-section-horizontal {
    padding: 80px 0;
    overflow: hidden;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #000000;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 40px;
}

.horizontal-timeline-wrapper {
    display: flex;
    align-items: center;
    padding: 20px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Custom Scrollbar Timeline */
.horizontal-timeline-wrapper::-webkit-scrollbar { height: 8px; }
.horizontal-timeline-wrapper::-webkit-scrollbar-track { background: #e0e0e0; border-radius: 4px; }
.horizontal-timeline-wrapper::-webkit-scrollbar-thumb { background: #D4AF37; border-radius: 4px; }
.horizontal-timeline-wrapper::-webkit-scrollbar-thumb:hover { background: #b89a30; }

.timeline-track {
    display: inline-flex;
    align-items: stretch;
    padding: 0 40px;
    position: relative;
}

.timeline-track::before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 3px;
    background-color: #e0e0e0;
    width: 100%;
    left: 0;
    z-index: 1;
}

.milestone-card {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 320px;
    margin: 0 30px;
    padding: 25px;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.milestone-card:nth-child(1) { animation-delay: 0.1s; }
.milestone-card:nth-child(2) { animation-delay: 0.2s; }
/* ... (lanjutkan delay jika perlu) */

.milestone-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.card-year {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 20px;
    background-color: #1a1a1a;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 20px;
    border: 2px solid #fff;
    box-shadow: 0 0 0 3px #1a1a1a;
}

.card-content {
    text-align: center;
    margin-top: 30px;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Visi Misi Tabs */
.vision-mission-goals {
    margin-top: 4rem;
    padding: 2.5rem;
    background: #121212;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.vision-mission-goals input[type="radio"] { display: none; }

.vmg-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.vmg-tab {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.1rem;
    font-weight: 600;
    position: relative;
    transition: color 0.4s ease;
}

.vmg-tab:hover { color: rgba(255, 255, 255, 0.8); }

.vmg-tab::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ffff00;
    box-shadow: 0 0 15px #fbff00;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Logic Tab Checked */
#tab-visi:checked ~ .vmg-tabs label[for="tab-visi"],
#tab-misi:checked ~ .vmg-tabs label[for="tab-misi"],
#tab-tujuan:checked ~ .vmg-tabs label[for="tab-tujuan"],
#tab-nilai:checked ~ .vmg-tabs label[for="tab-nilai"] {
    color: #ffffff;
}

#tab-visi:checked ~ .vmg-tabs label[for="tab-visi"]::after,
#tab-misi:checked ~ .vmg-tabs label[for="tab-misi"]::after,
#tab-tujuan:checked ~ .vmg-tabs label[for="tab-tujuan"]::after,
#tab-nilai:checked ~ .vmg-tabs label[for="tab-nilai"]::after {
    transform: scaleX(1);
}

.vmg-panel {
    display: none;
    padding: 1rem;
    text-align: center;
    animation: fadeIn 0.6s ease-in-out;
}

#tab-visi:checked ~ .vmg-content-panels #panel-visi,
#tab-misi:checked ~ .vmg-content-panels #panel-misi,
#tab-tujuan:checked ~ .vmg-content-panels #panel-tujuan,
#tab-nilai:checked ~ .vmg-content-panels #panel-nilai {
    display: block;
}

.vmg-panel h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.vmg-panel p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin: 0 auto;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   7. HALAMAN LAYANAN (services.php)
   Fungsi: Sticky Navigation Sidebar & Detail Konten Layanan.
   ========================================================================== */
.service-page-wrapper {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 40px 40px 40px;
}

.service-nav-sticky {
    position: sticky;
    top: 80px;
    align-self: start;
    height: calc(100vh - 80px);
}

.service-nav-sticky ul {
    list-style: none;
    padding: 0;
    margin: 0;
    border-left: 2px solid var(--border-color);
}

.service-nav-sticky .nav-link {
    display: block;
    padding: 15px 25px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    transition: all 0.3s ease;
}

.service-nav-sticky .nav-link::before {
    content: '';
    position: absolute;
    left: -2px;
    top: 0;
    width: 2px;
    height: 100%;
    background-color: var(--color-gold);
    transform: scaleY(0);
    transform-origin: center;
    transition: transform 0.4s ease;
}

.service-nav-sticky .nav-link.active,
.service-nav-sticky .nav-link:hover {
    color: var(--color-black);
    background-color: #f9f9f9;
}

.service-nav-sticky .nav-link.active { font-weight: 700; }
.service-nav-sticky .nav-link.active::before { transform: scaleY(1); }

/* Detail Section per Layanan */
.service-section {
    min-height: 90vh;
    margin-bottom: 10vh;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.service-image {
    width: 100%;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-details h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--color-black);
    margin: 0 0 10px 0;
}

.tagline {
    font-size: 1.2rem;
    margin: 0 0 25px 0;
    color: #555;
}

.feature-pills {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.feature-pills span {
    padding: 8px 18px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.service-details p {
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 70ch;
}

.cta-button .arrow {
    transition: transform 0.3s ease;
    display: inline-block;
    margin-left: 8px;
}
.cta-button:hover .arrow {
    transform: translateX(5px);
}

/* ==========================================================================
   8. HALAMAN CONTACT (contact.php)
   ========================================================================== */

   /* ================= LAYOUT UTAMA ================= */
        .content-section {
            max-width: 1200px;
            margin: 0 auto;
        }

        .contact-map-wrapper {
            display: flex;
            gap: 30px;
            align-items: flex-start;
            position: relative;
        }

        /* ================= SIDEBAR (KIRI) ================= */
        .branch-sidebar {
            width: 320px;
            flex-shrink: 0;
            position: sticky;
            top: 20px;
            background: var(--white-color);
            padding: 20px;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.05);
        }

        .branch-sidebar h3 {
            font-size: 1.1rem;
            font-weight: 800;
            color: var(--dark-color);
            margin-bottom: 1.5rem;
            padding-left: 15px;
            border-left: 4px solid var(--primary-color);
            line-height: 1.4;
            text-transform: uppercase;
        }

        .branch-list-container {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        /* Tombol Tab */
        .branch-tab-btn {
            width: 100%;
            text-align: left;
            padding: 14px 20px;
            border-radius: 10px;
            font-size: 0.95rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border: 1px solid var(--border-color);
            background: var(--white-color);
            color: #666;
            outline: none;
        }

        .branch-tab-btn i {
            font-size: 0.8rem;
            opacity: 0;
            transform: translateX(-10px);
            transition: all 0.3s ease;
        }

        /* Hover State */
        .branch-tab-btn:hover {
            border-color: var(--secondary-color);
            color: var(--dark-color);
            background-color: #fff9c4;
            padding-left: 25px;
        }

        .branch-tab-btn:hover i {
            opacity: 1;
            transform: translateX(0);
        }

        /* Active State */
        .branch-tab-btn.active {
            background-color: var(--dark-color);
            color: var(--primary-color);
            border-color: var(--dark-color);
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
            transform: scale(1.02);
        }

        .branch-tab-btn.active i {
            opacity: 1;
            transform: translateX(0);
            color: var(--primary-color);
        }

        .mobile-swipe-hint {
            display: none;
            text-align: center;
            font-size: 0.75rem;
            color: #999;
            margin-top: 15px;
            animation: pulse 2s infinite;
        }

        /* ================= MAIN CONTENT (KANAN) ================= */
        .branch-content-area {
            flex: 1;
            width: 100%;
        }

        .branch-card {
            background: var(--white-color);
            border-radius: 20px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
            overflow: hidden;
            border: 1px solid var(--border-color);
        }

        /* Animasi Slide In */
        @keyframes slideInUp {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .content-animate {
            animation: slideInUp 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
        }

        /* ================= PETA & LOADER ================= */
        .map-frame-wrapper {
            position: relative;
            height: 400px;
            width: 100%;
            background-color: #eee;
            border-bottom: 4px solid var(--primary-color);
        }

        .map-frame-wrapper iframe {
            width: 100%;
            height: 100%;
            border: none;
            object-fit: cover;
            transition: opacity 0.3s ease;
        }

        .map-loader-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            background-color: #f4f4f4;
            z-index: 10;
            transition: opacity 0.3s ease;
        }

        .map-loader-overlay.hidden {
            opacity: 0;
            pointer-events: none;
        }

        /* ================= DETAIL INFO ================= */
        .branch-details {
            padding: 35px;
        }

        .branch-header {
            margin-bottom: 30px;
            border-bottom: 1px solid #eee;
            padding-bottom: 15px;
        }

        .badge-office {
            font-size: 0.7rem;
            font-weight: 800;
            letter-spacing: 1px;
            color: #856404;
            background-color: #fff3cd;
            padding: 5px 10px;
            border-radius: 4px;
            text-transform: uppercase;
            display: inline-block;
            margin-bottom: 10px;
        }

        .branch-header h2 {
            font-size: 1.8rem;
            color: var(--dark-color);
            line-height: 1.3;
            margin: 0;
        }

        .info-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 25px;
        }

        .info-item {
            display: flex;
            align-items: flex-start;
            gap: 15px;
            padding: 10px;
            border-radius: 8px;
            transition: background 0.2s;
        }

        .info-item:hover {
            background-color: #f9f9f9;
        }

        .info-item.full-width {
            grid-column: span 2;
        }

        /* Icons */
        .icon-circle {
            width: 45px;
            height: 45px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            font-size: 1.1rem;
            box-shadow: 0 4px 6px rgba(0,0,0,0.05);
        }

        .icon-yellow { background: #fffbe6; color: #d4b106; border: 1px solid #ffe58f; }
        .icon-blue { background: #e6f7ff; color: #1890ff; border: 1px solid #91d5ff; }
        .icon-green { background: #f6ffed; color: #52c41a; border: 1px solid #b7eb8f; }
        .icon-purple { background: #f9f0ff; color: #722ed1; border: 1px solid #d3adf7; }

        .info-text .label {
            font-size: 0.75rem;
            color: #999;
            font-weight: 700;
            text-transform: uppercase;
            margin-bottom: 5px;
            letter-spacing: 0.5px;
        }

        .info-text .value {
            font-size: 0.95rem;
            color: var(--text-color);
            font-weight: 500;
            line-height: 1.5;
            word-break: break-word;
        }

        @keyframes pulse {
            0% { opacity: 1; }
            50% { opacity: 0.5; }
            100% { opacity: 1; }
        }

        /* ================= RESPONSIVE (MEDIA QUERIES) ================= */
        
        /* Tablet & Laptop Kecil */
        @media (max-width: 1024px) {
            .contact-map-wrapper {
                flex-direction: column;
                gap: 20px;
            }

            .branch-sidebar {
                width: 100%;
                position: static;
                padding: 15px;
            }

            .branch-list-container {
                flex-direction: row;
                overflow-x: auto;
                padding-bottom: 15px;
                scroll-snap-type: x mandatory;
                gap: 15px;
            }

            .branch-list-container::-webkit-scrollbar { height: 4px; }
            .branch-list-container::-webkit-scrollbar-thumb { background: #ccc; border-radius: 4px; }

            .branch-tab-btn {
                width: auto;
                min-width: 200px;
                flex-shrink: 0;
                scroll-snap-align: center;
                white-space: nowrap;
            }

            .branch-tab-btn:hover { padding-left: 20px; }
            
            .mobile-swipe-hint { display: block; }
        }

        /* Mobile */
        @media (max-width: 768px) {
            body { padding: 20px 10px; }
            
            .branch-tab-btn { min-width: 80%; }

            .info-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .info-item.full-width { grid-column: span 1; }

            .branch-details { padding: 25px 20px; }
            
            .map-frame-wrapper { height: 250px; }

            .branch-header h2 { font-size: 1.5rem; }
        }

/* Formulir Karir dan Email */

/* ==========================================================================
   9. RESPONSIVE DESIGN (MEDIA QUERIES)
   Fungsi: Penyesuaian tampilan untuk Tablet dan Mobile.
   ========================================================================== */

/* --- TABLET & SMALL LAPTOP (max-width: 1024px) --- */
@media (max-width: 1024px) {
    /* Services Page: Sticky Sidebar berubah jadi Horizontal Scroll Menu */
    .service-page-wrapper {
        grid-template-columns: 1fr;
        padding: 80px 20px 20px 20px;
    }

    .service-nav-sticky {
        position: sticky;
        top: 60px;
        background-color: #ffffff;
        box-shadow: 0 4px 10px rgba(0,0,0,0.05);
        height: auto;
        z-index: 998;
        padding: 10px 0;
        align-self: auto;
        width: 100vw;
        margin-left: -20px;
        margin-bottom: 2rem;
    }

    .service-nav-sticky ul {
        display: flex;
        justify-content: center;
        gap: 10px;
        align-items: center;
        border: none;
        margin: 0;
        padding: 0 0px;
        overflow-x: auto;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .service-nav-sticky ul::-webkit-scrollbar { display: none; }

    .service-nav-sticky .nav-link {
        padding: 8px 18px;
        border-radius: 50px;
        white-space: nowrap;
        background-color: #f5f5f5;
        border: 1px solid #e0e0e0;
    }

    .service-nav-sticky .nav-link.active {
        background-color: var(--primary-color);
        box-shadow: 0 4px 12px rgba(205, 198, 3, 0.382);
        transform: scale(1.05);
    }

    .service-nav-sticky .nav-link::before { display: none; }
    
    .service-image { height: 250px; max-width: 100%; }
    .contact-section-tech { grid-template-columns: 1fr; padding: 2.5rem; }

    .contact-map-wrapper {
        flex-direction: column;
        padding: 0;
    }

    .branch-sidebar {
        width: 100%;
        position: static;
        margin-bottom: 20px;
    }

    .branch-list-container {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 10px;
        scroll-snap-type: x mandatory;
        gap: 15px;
    }

    /* Scrollbar hidden styling for cleaner look */
    .branch-list-container::-webkit-scrollbar { height: 4px; }
    .branch-list-container::-webkit-scrollbar-thumb { background: #ccc; border-radius: 4px; }

    .branch-tab-btn {
        width: auto;
        min-width: 200px;
        flex-shrink: 0;
        scroll-snap-align: center;
        white-space: nowrap;
    }

    .branch-tab-btn:hover {
        padding-left: 20px; /* Reset padding effect on touch */
    }
    
    .mobile-swipe-hint {
        display: block; /* Tampilkan hint geser */
    }

    .info-item.full-width {
        grid-column: span 2; 
    }
}

/* --- MOBILE (max-width: 768px) --- */
@media (max-width: 768px) {
    /* Navbar */
    .navbar .container { padding: 0 15px; }
    .nav-links { display: none; }
    .menu-toggle { display: flex; }

    /* Hero */
    .hero {
        padding: 6rem 0;
        min-height: 100px;
        border-bottom-left-radius: 30% 20px;
        border-bottom-right-radius: 30% 20px;
    }
    .hero h1 { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.1rem; }

    /* Typography Global Mobile */
    .content-section h2, .services-section h2, .contact-left h2 {
        font-size: 2.2rem;
        line-height: 1.3;
    }

    /* About Section */
    .tentang-wrapper,
    .about-page .about-story {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .tentang-text p { text-align: center; margin-right: 0; }
    
    .about-page .about-story .about-text h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    /* Services Grid */
    .services-section p { text-align: center; font-size: 1.1rem; }
    .service-item { padding: 25px; }

    /* Timeline Horizontal Mobile */
    .milestone-section-horizontal { padding: 60px 0; }
    .timeline-track { padding: 0 20px; }
    .milestone-card { min-width: 280px; margin: 0 15px; }

    /* Visi Misi Mobile */
    .vmg-tabs { flex-direction: column; gap: 0; }
    .vmg-tab { justify-content: center; }

    /* Contact & Maps */
    .info-maps-grid { grid-template-columns: 1fr; }
    .map-container { height: 350px; }
    
    /* Footer */
    .contact-section-tech { padding: 2rem; }

    .branch-tab-btn {
        min-width: 80%; /* Tombol lebih lebar di HP */
    }

    .info-grid {
        grid-template-columns: 1fr; /* Stack 1 kolom */
        gap: 20px;
    }

    .info-item.full-width {
        grid-column: span 1;
    }

    .branch-details {
        padding: 25px 20px;
    }
    
    .map-frame-wrapper {
        height: 250px; /* Peta lebih pendek di HP */
    }

    .branch-header h2 {
        font-size: 1.5rem;
    }
}

/* --- SMALL MOBILE (max-width: 480px) --- */
@media (max-width: 480px) {
    .hero h1 { font-size: 2rem; line-height: 1.2; }
    .content-section h2 { font-size: 1.8rem; }
    .cta-button-home-service { padding: 12px 30px; font-size: 0.9rem; }
    .logo-group { gap: 10px; }
    .logo { font-size: 1.3rem; }
}