/* ID ADVENTURE - Custom Stylesheet */

/* --- Custom Properties (Design System) --- */
:root {
    --primary-color: #F7C600;
    --primary-hover: #E5B700;
    --primary-light: #FFF9E6;
    
    --bg-dark: #0F1115;
    --bg-dark-offset: #1A1D24;
    --bg-dark-card: #222630;
    
    --bg-light: #FFFFFF;
    --bg-light-offset: #F6F8FA;
    
    --text-dark: #1E2229;
    --text-light: #F3F4F6;
    --text-muted-dark: #64748B;
    --text-muted-light: #94A3B8;
    
    --font-title: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    font-weight: 700;
    line-height: 1.25;
}

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

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

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    outline: none;
    border: none;
    background: none;
}

/* --- Utility Classes --- */
.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-padding {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

.text-highlight {
    color: var(--primary-color);
}

/* --- Section Headers --- */
.section-header {
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-tagline {
    font-family: var(--font-title);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    background-color: var(--primary-light);
    padding: 6px 16px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.title-underline {
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 0 auto;
    border-radius: 2px;
}

.title-underline.left {
    margin: 0;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-muted-dark);
    margin-top: 20px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-dark);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(247, 198, 0, 0.25);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    background-color: rgba(247, 198, 0, 0.05);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* --- Header / Navbar --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    padding: 20px 0;
}

.site-header.scrolled {
    background-color: rgba(15, 17, 21, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 12px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-light);
    letter-spacing: -0.5px;
}

.logo-accent {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: var(--text-muted-light);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
    color: var(--text-light);
}

.nav-link.active::after {
    width: 100%;
}

.btn-nav {
    padding: 10px 20px;
    font-size: 0.9rem;
    border-radius: var(--border-radius-sm);
}

/* Language Dropdown Switcher */
.lang-dropdown {
    position: relative;
    display: inline-block;
}

.lang-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted-light);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-dropdown-trigger:hover, .lang-dropdown.active .lang-dropdown-trigger {
    color: var(--text-light);
    border-color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.05);
}

.lang-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background-color: var(--bg-dark-offset);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-sm);
    min-width: 150px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-smooth);
    z-index: 1001;
    overflow: hidden;
}

/* Show dropdown menu on hover */
.lang-dropdown:hover .lang-dropdown-menu,
.lang-dropdown.active .lang-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    font-size: 0.9rem;
    color: var(--text-muted-light);
    font-weight: 500;
    transition: var(--transition-smooth);
    text-align: left;
    width: 100%;
}

.lang-dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--primary-color);
}

.lang-dropdown-item.active {
    color: var(--primary-color);
    background-color: rgba(247, 198, 0, 0.05);
}

.lang-flag {
    font-size: 1.1rem;
    line-height: 1;
}

.mobile-nav-toggle {
    display: none;
    color: var(--text-light);
    font-size: 1.8rem;
    cursor: pointer;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    color: var(--text-light);
    background-color: var(--bg-dark);
    /* Set hero background image. Will fallback to gradient if image fails */
    background-image: url('https://images.unsplash.com/photo-1604999333679-b86d54738315?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Default gorgeous golden sunrise gradient as fallback in case image is missing */
.hero-section:not([style*="background-image"]) {
    background: radial-gradient(circle at 80% 20%, rgba(247, 198, 0, 0.15) 0%, rgba(15, 17, 21, 0) 60%),
                linear-gradient(135deg, #0f1115 0%, #1e222b 100%);
}

/* Hero Slideshow / Background Slider */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 2s ease-in-out, transform 8s ease-out;
    transform: scale(1.08); /* Pre-scale for Ken Burns zoom-out effect */
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1); /* Smoothly zoom out to normal scale */
    z-index: 1;
}

.hero-slide.fade-out {
    opacity: 0;
    z-index: 0;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15, 17, 21, 0.9) 0%, rgba(15, 17, 21, 0.7) 40%, rgba(15, 17, 21, 0.3) 100%),
                linear-gradient(to top, rgba(15, 17, 21, 1) 0%, rgba(15, 17, 21, 0) 20%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding-top: 80px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(247, 198, 0, 0.15);
    border: 1px solid rgba(247, 198, 0, 0.3);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted-light);
    margin-bottom: 40px;
    max-width: 650px;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    gap: 16px;
}

.scroll-indicator {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition-smooth);
}

.scroll-indicator:hover {
    opacity: 1;
    bottom: 115px;
}

.scroll-mouse {
    width: 26px;
    height: 44px;
    border: 2px solid var(--text-muted-light);
    border-radius: 20px;
    display: block;
    position: relative;
}

.scroll-wheel {
    width: 6px;
    height: 10px;
    background-color: var(--primary-color);
    border-radius: 3px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel-anim 1.5s infinite;
}

@keyframes scroll-wheel-anim {
    0% { top: 8px; opacity: 1; }
    50% { top: 18px; opacity: 0; }
    100% { top: 8px; opacity: 1; }
}

/* --- Stats Section --- */
.stats-section {
    background-color: var(--bg-dark);
    position: relative;
    z-index: 3;
    padding-top: 60px;
    padding-bottom: 60px;
}

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

.stat-card, .stat-card-safety {
    background-color: var(--bg-dark-offset);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-md);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-smooth);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(247, 198, 0, 0.2);
}

.stat-card-safety {
    background: linear-gradient(135deg, var(--primary-color) 0%, #D4A700 100%);
    border: none;
    color: var(--bg-dark);
}

.stat-card-safety:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(247, 198, 0, 0.2);
}

.stat-icon-wrapper {
    width: 54px;
    height: 54px;
    border-radius: 50px;
    background-color: rgba(247, 198, 0, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    font-size: 1.5rem;
}

.stat-icon-wrapper.safety {
    background-color: rgba(15, 17, 21, 0.1);
    color: var(--bg-dark);
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    font-family: var(--font-title);
    margin-bottom: 8px;
    color: var(--text-light);
    letter-spacing: -1px;
}

.stat-number.highlight {
    color: var(--bg-dark);
}

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

.stat-card-safety .stat-label {
    color: rgba(15, 17, 21, 0.8);
}

/* --- About Section --- */
.about-section {
    background-color: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image-card {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 1;
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

/* Fallback card content when image path is empty/not copied */
.image-fallback {
    background: linear-gradient(135deg, var(--bg-dark-offset) 0%, var(--bg-dark) 100%);
    position: relative;
}

.image-fallback::after {
    content: '\eb1c'; /* Lucide users icon equivalent code in font or CSS styling */
    font-family: sans-serif;
    color: var(--primary-color);
    font-size: 3rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.image-fallback::before {
    content: 'ID ADVENTURE';
    position: absolute;
    bottom: 40px;
    left: 40px;
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-light);
    z-index: 2;
}

.about-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 17, 21, 0.6) 0%, rgba(15, 17, 21, 0) 50%);
    pointer-events: none;
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary-color);
    color: var(--bg-dark);
    padding: 16px 24px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.1;
    z-index: 2;
}

.badge-num {
    font-size: 1.8rem;
    font-weight: 800;
    font-family: var(--font-title);
}

.badge-text {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-lead {
    font-size: 1.25rem;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.6;
}

.about-text {
    color: var(--text-muted-dark);
    margin-bottom: 30px;
}

/* Tab Component */
.about-tabs {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--border-radius-md);
    overflow: hidden;
}

.tab-headers {
    display: flex;
    background-color: var(--bg-light-offset);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.tab-btn {
    flex: 1;
    padding: 16px;
    font-weight: 600;
    color: var(--text-muted-dark);
    cursor: pointer;
    text-align: center;
    transition: var(--transition-smooth);
}

.tab-btn.active {
    color: var(--bg-dark);
    background-color: var(--bg-light);
    border-bottom: 3px solid var(--primary-color);
}

.tab-contents {
    padding: 24px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

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

.tab-pane ul {
    list-style: none;
}

.tab-pane li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text-muted-dark);
}

.tab-pane li:last-child {
    margin-bottom: 0;
}

.list-icon {
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 3px;
    width: 18px;
    height: 18px;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 16px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background-color: var(--bg-light-offset);
    border-radius: var(--border-radius-sm);
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
}

.value-item i {
    color: var(--primary-color);
    width: 20px;
    height: 20px;
}

/* --- Methodology Section --- */
.methodology-section {
    background-color: var(--bg-light-offset);
}

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

.method-card {
    background-color: var(--bg-light);
    padding: 40px 32px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.method-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(247, 198, 0, 0.15);
}

.method-number {
    position: absolute;
    top: 24px;
    right: 32px;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(247, 198, 0, 0.12);
    font-family: var(--font-title);
    line-height: 1;
}

.method-icon {
    width: 56px;
    height: 56px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 24px;
}

.method-icon i {
    width: 28px;
    height: 28px;
}

.method-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.method-card p {
    color: var(--text-muted-dark);
    font-size: 0.95rem;
}

/* --- Services Section --- */
.services-section {
    background-color: var(--bg-light);
}

.services-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 48px;
}

.filter-btn {
    padding: 10px 24px;
    background-color: var(--bg-light-offset);
    border: 1px solid rgba(0, 0, 0, 0.06);
    color: var(--text-muted-dark);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--bg-dark);
}

.filter-btn.active {
    background-color: var(--primary-color);
    color: var(--bg-dark);
    border-color: var(--primary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background-color: var(--bg-light);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--border-radius-md);
    padding: 32px;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(247, 198, 0, 0.06);
}

.service-card[data-focus] {
    border: 2px solid var(--primary-color);
    background-color: var(--primary-light);
}

.service-icon {
    width: 48px;
    height: 48px;
    background-color: var(--bg-light-offset);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 20px;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
    background-color: var(--primary-color);
    color: var(--bg-dark);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-muted-dark);
    font-size: 0.95rem;
    flex-grow: 1;
}

/* --- Reason Section --- */
.reason-section {
    background-color: var(--bg-light-offset);
    overflow: hidden;
}

.reason-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.reason-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.reason-item {
    display: flex;
    gap: 20px;
}

.reason-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    background-color: var(--primary-light);
    width: 48px;
    height: 48px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-family: var(--font-title);
}

.reason-desc h4 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.reason-desc p {
    color: var(--text-muted-dark);
    font-size: 0.95rem;
}

.reason-visual {
    position: relative;
    height: 480px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background-image: url('https://images.unsplash.com/photo-1604999333679-b86d54738315?auto=format&fit=crop&w=1920&q=80'); /* fallback image reuse */
    background-size: cover;
    background-position: center;
}

.reason-visual:not([style*="background-image"]) {
    background: linear-gradient(135deg, var(--bg-dark-offset) 0%, var(--bg-dark) 100%);
}

.visual-card {
    position: absolute;
    bottom: 40px;
    left: 40px;
    right: 40px;
    background-color: rgba(15, 17, 21, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 32px;
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

.visual-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 17, 21, 0.7) 0%, rgba(15, 17, 21, 0.2) 100%);
    pointer-events: none;
}

.visual-quote {
    position: relative;
}

.quote-icon {
    color: var(--primary-color);
    margin-bottom: 12px;
    opacity: 0.8;
}

.visual-quote p {
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.5;
    font-style: italic;
}

/* --- Portfolio Section --- */
.portfolio-section {
    background-color: var(--bg-light);
}

.portfolio-search-container {
    max-width: 500px;
    margin: 0 auto 40px auto;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 20px;
    color: var(--text-muted-dark);
    pointer-events: none;
    width: 20px;
    height: 20px;
}

#client-search {
    width: 100%;
    padding: 16px 20px 16px 54px;
    border-radius: 50px;
    background-color: var(--bg-light-offset);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--text-dark);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

#client-search:focus {
    border-color: var(--primary-color);
    background-color: var(--bg-light);
    box-shadow: 0 0 0 4px rgba(247, 198, 0, 0.1);
}

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

.client-item-card {
    background-color: var(--bg-light-offset);
    padding: 24px;
    border-radius: var(--border-radius-sm);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.03);
    font-family: var(--font-title);
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    transition: var(--transition-smooth);
}

.client-item-card:hover {
    background-color: var(--bg-light);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
    color: var(--primary-color);
}

.clients-empty-state {
    text-align: center;
    padding: 40px;
    color: var(--text-muted-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.clients-empty-state i {
    width: 48px;
    height: 48px;
}

.portfolio-footer {
    margin-top: 40px;
}

/* --- Legalitas Section --- */
.legal-section {
    background-color: var(--bg-light-offset);
}

.legal-card-container {
    background-color: var(--bg-dark-offset);
    color: var(--text-light);
    border-radius: var(--border-radius-lg);
    padding: 48px;
    display: flex;
    align-items: center;
    gap: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.legal-badge-wrapper {
    width: 80px;
    height: 80px;
    background-color: rgba(247, 198, 0, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.legal-shield-icon {
    width: 40px;
    height: 40px;
}

.legal-info h3 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.legal-tag {
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 8px;
}

.legal-info p {
    color: var(--text-muted-light);
    margin-bottom: 24px;
    max-width: 700px;
}

.legal-grid {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.legal-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.legal-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted-light);
    letter-spacing: 0.5px;
}

.legal-value {
    font-family: var(--font-title);
    font-weight: 600;
    color: var(--text-light);
}

/* --- Contact Section --- */
.contact-section {
    background-color: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
}

.contact-info-panel {
    background-color: var(--bg-dark-offset);
    color: var(--text-light);
    padding: 48px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.contact-info-panel h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
    color: var(--text-light);
}

.contact-panel-desc {
    color: var(--text-muted-light);
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 40px;
}

.contact-detail-item {
    display: flex;
    gap: 20px;
}

.contact-detail-item .item-icon {
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--primary-color);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail-item .item-icon i {
    width: 20px;
    height: 20px;
}

.contact-detail-item .item-text strong {
    font-family: var(--font-title);
    display: block;
    margin-bottom: 6px;
}

.contact-detail-item .item-text p {
    color: var(--text-muted-light);
    font-size: 0.95rem;
}

.coverage-cities {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
}

.coverage-cities strong {
    font-family: var(--font-title);
    display: block;
    margin-bottom: 8px;
    color: var(--text-light);
}

.coverage-cities p {
    color: var(--text-muted-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

.contact-form-panel {
    background-color: var(--bg-light);
    padding: 24px 0;
}

.contact-form-panel h3 {
    font-size: 1.8rem;
    margin-bottom: 32px;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input, .form-group select, .form-group textarea {
    padding: 14px 18px;
    border-radius: var(--border-radius-sm);
    background-color: var(--bg-light-offset);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--text-dark);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--primary-color);
    background-color: var(--bg-light);
    box-shadow: 0 0 0 4px rgba(247, 198, 0, 0.1);
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 16px;
    cursor: pointer;
}

.form-group select:invalid {
    color: var(--text-muted-dark);
}

.btn-submit {
    align-self: flex-start;
    padding: 14px 32px;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 80px 0 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 60px;
}

.footer-brand .footer-logo {
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 1.5rem;
    display: block;
    margin-bottom: 16px;
    color: var(--text-light);
}

.footer-brand p {
    color: var(--text-muted-light);
    font-size: 0.95rem;
    margin-bottom: 24px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50px;
    background-color: var(--bg-dark-offset);
    color: var(--text-muted-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--bg-dark);
    transform: translateY(-2px);
}

.social-links a svg {
    width: 20px;
    height: 20px;
    transition: var(--transition-smooth);
    fill: none;
    stroke: currentColor;
}

.footer-links h4, .footer-newsletter h4 {
    font-size: 1.1rem;
    margin-bottom: 24px;
    color: var(--text-light);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-muted-light);
    font-size: 0.95rem;
    align-self: flex-start;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 4px;
}

.footer-newsletter p {
    color: var(--text-muted-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    background-color: var(--bg-dark-offset);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.newsletter-form input {
    flex-grow: 1;
    padding: 12px 16px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.newsletter-form button {
    background-color: var(--primary-color);
    color: var(--bg-dark);
    padding: 0 16px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.newsletter-form button:hover {
    background-color: var(--primary-hover);
}

.footer-bottom {
    background-color: var(--bg-dark-offset);
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    font-size: 0.85rem;
    color: var(--text-muted-light);
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-meta {
    font-style: normal;
}

/* --- Scroll Animations --- */
[data-fade-in] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-fade-in].appear {
    opacity: 1;
    transform: translateY(0);
}

[data-slide-in="left"] {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-slide-in="left"].appear {
    opacity: 1;
    transform: translateX(0);
}

[data-slide-in="right"] {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-slide-in="right"].appear {
    opacity: 1;
    transform: translateX(0);
}

/* --- FAQ Section --- */
.faq-section {
    background-color: var(--bg-light-offset);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--bg-light);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-dark);
    text-align: left;
    cursor: pointer;
}

.faq-icon {
    transition: var(--transition-smooth);
    width: 20px;
    height: 20px;
    color: var(--text-muted-dark);
    flex-shrink: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    background-color: var(--bg-light);
}

.faq-answer p {
    padding: 0 24px 24px 24px;
    color: var(--text-muted-dark);
    font-size: 0.95rem;
    line-height: 1.6;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    transition: max-height 0.35s ease-in-out;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.2rem;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .stats-section {
        margin-top: -40px;
    }
    .about-grid, .reason-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .reason-visual {
        height: 350px;
    }
    .method-grid, .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 16px 0;
        background-color: rgba(15, 17, 21, 0.95);
        backdrop-filter: blur(12px);
    }
    .mobile-nav-toggle {
        display: block;
    }
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        width: 100%;
        height: calc(100vh - 72px);
        background-color: var(--bg-dark);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        padding: 40px;
        transform: translateY(-120%);
        transition: var(--transition-slow);
        z-index: 999;
    }
    .nav-menu.open {
        transform: translateY(0);
    }
    .btn-nav {
        width: 100%;
        max-width: 250px;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
    .hero-ctas {
        flex-direction: column;
    }
    .section-title {
        font-size: 2rem;
    }
    .legal-card-container {
        flex-direction: column;
        padding: 32px 24px;
        gap: 24px;
    }
    .legal-badge-wrapper {
        width: 60px;
        height: 60px;
    }
    .legal-shield-icon {
        width: 30px;
        height: 30px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .footer-bottom-container {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .method-grid, .services-grid, .clients-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .footer-content {
        grid-template-columns: 1fr;
    }
}
