/* ============================================
   Page Loader
   ============================================ */

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(59, 122, 188, 0.98) 0%, rgba(45, 95, 143, 0.98) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.loader-content {
    position: relative;
    z-index: 1;
    text-align: center;
    animation: loaderFadeIn 0.5s ease forwards;
}

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

.loader-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto var(--spacing-lg);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: logoPulseLoader 2s ease-in-out infinite;
    position: relative;
}

.loader-logo::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    border-radius: 50%;
    z-index: -1;
    animation: logoRingPulse 2s ease-in-out infinite;
}

@keyframes logoPulseLoader {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes logoRingPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.5;
    }
}

.loader-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.loader-spinner {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-lg);
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid transparent;
    border-top-color: var(--bg-white);
    border-radius: 50%;
    animation: spinnerRotate 1.5s linear infinite;
}

.spinner-ring:nth-child(1) {
    animation-duration: 1.5s;
    border-top-color: var(--bg-white);
    opacity: 1;
}

.spinner-ring:nth-child(2) {
    animation-duration: 1.2s;
    border-top-color: rgba(255, 255, 255, 0.7);
    animation-direction: reverse;
    width: 70px;
    height: 70px;
    top: 5px;
    left: 5px;
}

.spinner-ring:nth-child(3) {
    animation-duration: 1.8s;
    border-top-color: rgba(255, 255, 255, 0.5);
    width: 60px;
    height: 60px;
    top: 10px;
    left: 10px;
}

@keyframes spinnerRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.loader-text {
    margin-bottom: var(--spacing-md);
}

.loader-percentage {
    display: block;
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--bg-white);
    margin-bottom: var(--spacing-xs);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: percentagePulse 1s ease-in-out infinite;
}

@keyframes percentagePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.loader-message {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-weight: 500;
}

.loader-progress {
    width: 300px;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.loader-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--bg-white) 0%, rgba(255, 255, 255, 0.8) 100%);
    border-radius: 10px;
    width: 0%;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    animation: progressShine 2s ease-in-out infinite;
}

@keyframes progressShine {
    0% {
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
    }
    100% {
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    }
}

/* Responsive Loader */
@media (max-width: 768px) {
    .loader-logo {
        width: 100px;
        height: 100px;
        padding: var(--spacing-sm);
    }
    
    .loader-spinner {
        width: 60px;
        height: 60px;
    }
    
    .spinner-ring {
        border-width: 3px;
    }
    
    .spinner-ring:nth-child(2) {
        width: 50px;
        height: 50px;
        top: 5px;
        left: 5px;
    }
    
    .spinner-ring:nth-child(3) {
        width: 40px;
        height: 40px;
        top: 10px;
        left: 10px;
    }
    
    .loader-percentage {
        font-size: var(--font-size-3xl);
    }
    
    .loader-message {
        font-size: var(--font-size-base);
    }
    
    .loader-progress {
        width: 250px;
        height: 5px;
    }
}

@media (max-width: 480px) {
    .loader-logo {
        width: 80px;
        height: 80px;
        padding: var(--spacing-xs);
    }
    
    .loader-spinner {
        width: 50px;
        height: 50px;
        margin-bottom: var(--spacing-md);
    }
    
    .loader-percentage {
        font-size: var(--font-size-2xl);
    }
    
    .loader-message {
        font-size: var(--font-size-sm);
    }
    
    .loader-progress {
        width: 200px;
        height: 4px;
    }
}

/* ============================================
   Landing Page Pop-up
   ============================================ */

.landing-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.landing-popup.active {
    opacity: 1;
    visibility: visible;
}

.landing-popup.hiding {
    opacity: 0;
    visibility: hidden;
}

.landing-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(59, 122, 188, 0.95) 0%, rgba(45, 95, 143, 0.98) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: overlayFadeIn 0.6s ease forwards;
}

@keyframes overlayFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.landing-content {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: var(--spacing-2xl) var(--spacing-xl);
    max-width: 600px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
    transform: scale(0.8) translateY(30px);
    opacity: 0;
    animation: popupSlideIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s forwards;
    overflow: hidden;
}

@keyframes popupSlideIn {
    0% {
        transform: scale(0.8) translateY(30px);
        opacity: 0;
    }
    60% {
        transform: scale(1.05) translateY(-5px);
        opacity: 0.9;
    }
    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.landing-logo {
    width: 150px;
    height: 150px;
    margin: 0 auto var(--spacing-lg);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(59, 122, 188, 0.3);
    animation: logoFloat 3s ease-in-out infinite;
    position: relative;
    padding: var(--spacing-md);
    overflow: hidden;
}

.landing-logo::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    z-index: -1;
    opacity: 0.2;
    animation: logoPulse 2s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.05);
    }
}

@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.2;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.3;
    }
}

.landing-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: logoFadeIn 1s ease 0.5s both;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

@keyframes logoFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.landing-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-xs);
    opacity: 0;
    animation: titleFadeIn 0.8s ease 0.6s forwards;
}

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

.landing-subtitle {
    font-size: var(--font-size-3xl);
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    opacity: 0;
    animation: titleFadeIn 0.8s ease 0.8s forwards;
}

.landing-subtitle span {
    color: var(--primary-dark);
}

.landing-description {
    font-size: var(--font-size-lg);
    color: var(--text-gray);
    margin-bottom: var(--spacing-xl);
    line-height: 1.6;
    opacity: 0;
    animation: titleFadeIn 0.8s ease 1s forwards;
}

.landing-features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
    opacity: 0;
    animation: titleFadeIn 0.8s ease 1.2s forwards;
}

.landing-feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-base);
    color: var(--text-dark);
    padding: var(--spacing-xs) 0;
}

.landing-feature-item i {
    color: var(--primary-color);
    font-size: var(--font-size-lg);
    animation: checkBounce 0.6s ease 1.4s both;
}

.landing-feature-item:nth-child(2) i {
    animation-delay: 1.5s;
}

.landing-feature-item:nth-child(3) i {
    animation-delay: 1.6s;
}

@keyframes checkBounce {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.landing-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--bg-white);
    border: none;
    padding: var(--spacing-md) var(--spacing-2xl);
    border-radius: 50px;
    font-size: var(--font-size-lg);
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    box-shadow: 0 10px 30px rgba(59, 122, 188, 0.4);
    transition: all var(--transition-base);
    opacity: 0;
    animation: titleFadeIn 0.8s ease 1.4s forwards;
    position: relative;
    overflow: hidden;
}

.landing-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.landing-btn:hover::before {
    width: 300px;
    height: 300px;
}

.landing-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(59, 122, 188, 0.5);
}

.landing-btn:active {
    transform: translateY(-1px);
}

.landing-btn span,
.landing-btn i {
    position: relative;
    z-index: 1;
}

.landing-btn i {
    transition: transform var(--transition-base);
}

.landing-btn:hover i {
    transform: translateX(5px);
}

.landing-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(59, 122, 188, 0.1), rgba(90, 157, 212, 0.1));
    animation: circleFloat 6s ease-in-out infinite;
}

.circle-1 {
    width: 200px;
    height: 200px;
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.circle-2 {
    width: 150px;
    height: 150px;
    bottom: -75px;
    left: -75px;
    animation-delay: 2s;
}

.circle-3 {
    width: 100px;
    height: 100px;
    top: 50%;
    left: -50px;
    animation-delay: 4s;
}

@keyframes circleFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(20px, -20px) scale(1.1);
        opacity: 0.5;
    }
}

/* Responsive Landing Pop-up */
@media (max-width: 768px) {
    .landing-content {
        padding: var(--spacing-xl) var(--spacing-lg);
        border-radius: 25px;
        max-width: 90%;
    }
    
    .landing-logo {
        width: 120px;
        height: 120px;
        margin-bottom: var(--spacing-md);
        padding: var(--spacing-sm);
    }
    
    .landing-logo-img {
        width: 100%;
        height: 100%;
    }
    
    .landing-title {
        font-size: var(--font-size-3xl);
    }
    
    .landing-subtitle {
        font-size: var(--font-size-2xl);
    }
    
    .landing-description {
        font-size: var(--font-size-base);
    }
    
    .landing-feature-item {
        font-size: var(--font-size-sm);
    }
    
    .landing-btn {
        padding: var(--spacing-sm) var(--spacing-xl);
        font-size: var(--font-size-base);
    }
    
    .circle-1 {
        width: 150px;
        height: 150px;
    }
    
    .circle-2 {
        width: 120px;
        height: 120px;
    }
    
    .circle-3 {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 480px) {
    .landing-content {
        padding: var(--spacing-lg) var(--spacing-md);
        border-radius: 20px;
    }
    
    .landing-logo {
        width: 100px;
        height: 100px;
        padding: var(--spacing-xs);
    }
    
    .landing-logo-img {
        width: 100%;
        height: 100%;
    }
    
    .landing-title {
        font-size: var(--font-size-2xl);
    }
    
    .landing-subtitle {
        font-size: var(--font-size-xl);
    }
    
    .landing-description {
        font-size: var(--font-size-sm);
        margin-bottom: var(--spacing-md);
    }
    
    .landing-features {
        margin-bottom: var(--spacing-md);
    }
    
    .landing-feature-item {
        font-size: var(--font-size-xs);
        padding: 0.25rem 0;
    }
}

/* ============================================
   CSS Variables & Reset
   ============================================ */

:root {
    /* Primary Colors */
    --primary-color: #3b7abc;
    --primary-dark: #2d5f8f;
    --primary-light: #5a9dd4;
    --primary-lighter: #7ab3e0;
    
    /* Secondary Colors */
    --secondary-color: #2563eb;
    --accent-color: #f59e0b;
    --accent-hover: #d97706;
    
    /* Neutral Colors */
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --text-light: #9ca3af;
    --bg-white: #ffffff;
    --bg-light: #f9fafb;
    --bg-gray: #f3f4f6;
    --border-color: #e5e7eb;
    
    /* Typography */
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
    position: relative;
}

/* Background Pattern dengan Tema Imigrasi - Sharpened */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        url('data:image/svg+xml,<svg width="200" height="200" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="globe-pattern" x="0" y="0" width="200" height="200" patternUnits="userSpaceOnUse"><circle cx="100" cy="100" r="80" fill="none" stroke="%233b7abc" stroke-width="2" opacity="0.08"/><path d="M100 20 Q120 60 100 100 Q80 60 100 20" fill="none" stroke="%233b7abc" stroke-width="1.2" opacity="0.08"/><path d="M100 100 Q120 140 100 180 Q80 140 100 100" fill="none" stroke="%233b7abc" stroke-width="1.2" opacity="0.08"/><line x1="20" y1="100" x2="180" y2="100" stroke="%233b7abc" stroke-width="1.2" opacity="0.08"/><line x1="100" y1="20" x2="100" y2="180" stroke="%233b7abc" stroke-width="1.2" opacity="0.08"/></pattern></defs><rect width="100%" height="100%" fill="url(%23globe-pattern)"/></svg>');
    background-size: 400px 400px;
    background-position: 0 0;
    background-repeat: repeat;
    z-index: -1;
    pointer-events: none;
    opacity: 0.4;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(59, 122, 188, 0.12) 0%, transparent 55%),
        radial-gradient(circle at 80% 80%, rgba(90, 157, 212, 0.09) 0%, transparent 55%),
        radial-gradient(circle at 40% 20%, rgba(122, 179, 224, 0.07) 0%, transparent 55%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(249, 250, 251, 0.03) 100%);
    z-index: -1;
    pointer-events: none;
    animation: backgroundMove 20s ease-in-out infinite alternate;
}

@keyframes backgroundMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(-20px, -20px);
    }
}

/* Ensure content is above background */
.container {
    position: relative;
    z-index: 1;
}

section {
    position: relative;
    z-index: 1;
}

header {
    position: relative;
    z-index: 1000;
}

footer {
    position: relative;
    z-index: 1;
}

/* Ensure all content sections are visible */
.about-content,
.about-text,
.about-image,
.services-grid,
.service-card,
.gallery-grid,
.gallery-item,
.news-grid,
.news-card,
.news-slider-container,
.contact-content,
.contact-info,
.contact-form,
.stats,
.stat-item,
.section-header,
.section-title,
.section-subtitle {
    position: relative;
    z-index: 2;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Ensure grid and flex containers maintain their display */
.about-content {
    display: grid !important;
}

.services-grid {
    display: grid !important;
}

.gallery-grid {
    display: grid !important;
}

.news-grid {
    display: grid !important;
}

.contact-content {
    display: grid !important;
}

.stats {
    display: grid !important;
}

.contact-info {
    display: flex !important;
}

.info-item {
    display: flex !important;
}

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

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

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 {
    font-size: var(--font-size-4xl);
}

h2 {
    font-size: var(--font-size-3xl);
}

h3 {
    font-size: var(--font-size-2xl);
}

h4 {
    font-size: var(--font-size-xl);
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-gray);
}

/* ============================================
   Container & Layout
   ============================================ */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--spacing-lg);
    }
}

/* ============================================
   Header & Navigation
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1), 0 4px 40px rgba(59, 122, 188, 0.15);
    z-index: 1000;
    transition: var(--transition-base);
    border-bottom: 2px solid rgba(59, 122, 188, 0.2);
}

.header.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15), 0 6px 50px rgba(59, 122, 188, 0.2);
    border-bottom: 2px solid rgba(59, 122, 188, 0.3);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-sm) 0;
    min-height: 70px;
    height: 70px;
}

.logo {
    margin-left: calc(-1 * var(--spacing-md));
    padding-left: var(--spacing-md);
    position: relative;
}

.logo a {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    line-height: 1;
    letter-spacing: -0.02em;
}

.logo span {
    color: var(--primary-dark);
    margin-left: 2px;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-list > li {
    position: relative;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    font-size: var(--font-size-base);
    position: relative;
    padding: var(--spacing-xs) 0.75rem;
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    gap: 3px;
    border-radius: var(--radius-md);
    background: transparent;
}

.nav-link .arrow {
    font-size: var(--font-size-xs);
    transition: var(--transition-base);
    margin-left: 2px;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.75rem;
    width: 0;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--primary-light));
    border-radius: 2px 2px 0 0;
    transition: var(--transition-base);
}

.nav-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 122, 188, 0.05) 0%, rgba(90, 157, 212, 0.05) 100%);
    border-radius: var(--radius-md);
    opacity: 0;
    transition: var(--transition-base);
    z-index: -1;
}

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

.nav-link:hover::after,
.nav-link.active::after {
    opacity: 1;
}

.nav-link:hover::before,
.nav-link.active::before {
    width: calc(100% - 1.5rem);
}

/* Sub Menu */
.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-white);
    min-width: 220px;
    box-shadow: var(--shadow-xl);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm) 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-base);
    z-index: 1000;
    margin-top: var(--spacing-xs);
}

.nav-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li {
    position: relative;
}

.sub-menu a {
    display: block;
    padding: var(--spacing-sm) var(--spacing-lg);
    color: var(--text-dark);
    font-size: var(--font-size-sm);
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sub-menu a:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
    padding-left: var(--spacing-xl);
}

/* Sub Sub Menu */
.sub-sub-menu {
    position: absolute;
    left: 100%;
    top: 0;
    background-color: var(--bg-white);
    min-width: 200px;
    max-width: 250px;
    box-shadow: var(--shadow-xl);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm) 0;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateX(-10px);
    transition: all var(--transition-base);
    z-index: 1001;
    margin-left: var(--spacing-xs);
    pointer-events: none;
}

.sub-item-has-children:hover .sub-sub-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(0);
    pointer-events: auto;
}

/* Responsive: Sub-sub-menu positioning untuk viewport kecil */
@media (max-width: 1200px) {
    .sub-sub-menu {
        left: auto;
        right: 100%;
        margin-left: 0;
        margin-right: var(--spacing-xs);
        transform: translateX(10px);
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none;
    }
    
    .sub-item-has-children:hover .sub-sub-menu {
        transform: translateX(0);
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto;
    }
}

/* Untuk viewport yang sangat kecil, posisikan di bawah */
@media (max-width: 1024px) {
    .sub-sub-menu {
        left: 0;
        right: auto;
        top: 100%;
        margin-left: 0;
        margin-right: 0;
        margin-top: var(--spacing-xs);
        transform: translateY(-10px);
        min-width: 100%;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none;
    }
    
    .sub-item-has-children:hover .sub-sub-menu {
        transform: translateY(0);
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto;
    }
}

.sub-item-has-children .arrow {
    transform: rotate(0deg);
    transition: var(--transition-base);
}

.sub-item-has-children:hover .arrow {
    transform: rotate(90deg);
}

.sub-sub-menu a {
    padding: var(--spacing-sm) var(--spacing-lg);
}

.sub-sub-menu a:hover {
    padding-left: var(--spacing-xl);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 30px;
    height: 30px;
    padding: 0;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition-base);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ============================================
   Hero Section & Slider
   ============================================ */

.hero {
    margin-top: var(--spacing-md);
    padding-top: 70px;
    position: relative;
    height: calc(100vh - 70px - var(--spacing-md));
    min-height: calc(600px - 70px - var(--spacing-md));
    max-height: calc(800px - 70px - var(--spacing-md));
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    height: 100%;
    margin: 0 auto;
    padding: 6px;
}

/* Frame Border - Gradient dengan tema imigrasi - Halus */
.slider-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 22px;
    padding: 2.5px;
    background: linear-gradient(135deg, 
        rgba(59, 122, 188, 0.4) 0%, 
        rgba(90, 157, 212, 0.35) 25%,
        rgba(59, 122, 188, 0.45) 50%,
        rgba(90, 157, 212, 0.35) 75%,
        rgba(59, 122, 188, 0.4) 100%);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    z-index: 0;
    opacity: 0.5;
    filter: blur(0.5px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.6s ease;
}

.slider-container::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    border-radius: 18px;
    border: 1.5px solid transparent;
    background: linear-gradient(135deg, 
        rgba(59, 122, 188, 0.08) 0%, 
        rgba(90, 157, 212, 0.06) 50%,
        rgba(59, 122, 188, 0.08) 100%);
    background-clip: padding-box;
    z-index: 0;
    pointer-events: none;
    opacity: 0.3;
    filter: blur(1px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.6s ease;
}

.slider-container:hover::before {
    opacity: 0.7;
    filter: blur(0.3px);
    animation: frameGlow 4s ease-in-out infinite;
}

.slider-container:hover::after {
    opacity: 0.45;
    filter: blur(0.8px);
}

@keyframes frameGlow {
    0%, 100% {
        background: linear-gradient(135deg, 
            rgba(59, 122, 188, 0.4) 0%, 
            rgba(90, 157, 212, 0.35) 25%,
            rgba(59, 122, 188, 0.45) 50%,
            rgba(90, 157, 212, 0.35) 75%,
            rgba(59, 122, 188, 0.4) 100%);
    }
    50% {
        background: linear-gradient(135deg, 
            rgba(90, 157, 212, 0.45) 0%, 
            rgba(59, 122, 188, 0.4) 25%,
            rgba(90, 157, 212, 0.5) 50%,
            rgba(59, 122, 188, 0.4) 75%,
            rgba(90, 157, 212, 0.45) 100%);
    }
}

.slider-container:hover .slider-wrapper {
    box-shadow: 
        0 30px 100px rgba(59, 122, 188, 0.12),
        0 20px 60px rgba(0, 0, 0, 0.08),
        0 12px 30px rgba(0, 0, 0, 0.06),
        0 4px 10px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.08),
        0 15px 45px rgba(0, 0, 0, 0.06),
        0 8px 20px rgba(0, 0, 0, 0.04),
        0 2px 6px rgba(0, 0, 0, 0.03),
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset 0 0 30px rgba(59, 122, 188, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1), border 0.4s ease;
    z-index: 1;
}

/* Corner decorations dihilangkan */

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s ease, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 0;
    z-index: 0;
    pointer-events: none;
    transform: scale(1.1);
    overflow: hidden;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
    pointer-events: auto;
    transform: scale(1);
    animation: slideIn 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    transform: scale(1.1);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide.active .slide-bg-image {
    transform: scale(1);
}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: scale(1.1) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes slideOut {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.95);
    }
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>'),
        radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    opacity: 0.4;
    animation: slidePattern 25s linear infinite;
}

@keyframes slidePattern {
    0% {
        background-position: 0 0, 0 0, 0 0;
    }
    100% {
        background-position: 100px 100px, 50px 50px, -50px -50px;
    }
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
    pointer-events: none;
}

.slide-content {
    position: absolute !important;
    bottom: var(--spacing-lg);
    right: var(--spacing-lg);
    left: auto !important;
    top: auto !important;
    z-index: 2;
    text-align: left;
    color: var(--text-dark);
    max-width: 60%;
    min-width: 450px;
    width: auto;
    padding: 0;
    margin: 0;
    animation: slideContentIn 1s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    min-height: 0;
    transform: none;
    opacity: 0;
}

.slide.active .slide-content {
    opacity: 1;
    animation: slideContentIn 1s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

@keyframes slideContentIn {
    0% {
        opacity: 0;
        transform: translateX(50px) translateY(30px) scale(0.95);
    }
    60% {
        opacity: 0.8;
        transform: translateX(-5px) translateY(-5px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateX(0) translateY(0) scale(1);
    }
}

/* Caption background box - oval shape with transparent background */
.slide-content::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.65) 0%,
        rgba(255, 255, 255, 0.55) 100%
    );
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    z-index: -1;
    border-radius: 80px 0 0 0;
    box-shadow: 
        4px 4px 20px rgba(0, 0, 0, 0.08),
        2px 2px 10px rgba(0, 0, 0, 0.06),
        inset 0 1px 2px rgba(255, 255, 255, 0.5),
        inset -1px -1px 2px rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
    outline: 1px solid rgba(255, 255, 255, 0.15);
    outline-offset: -1px;
    opacity: 0;
    transform: translateX(40px) translateY(25px) scale(0.92) rotate(1deg);
    transition: 
        opacity 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s,
        transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s,
        box-shadow 0.8s ease 0.15s,
        border-radius 0.8s ease 0.15s,
        border 0.8s ease 0.15s;
}

.slide.active .slide-content::before {
    opacity: 1;
    transform: translateX(0) translateY(0) scale(1) rotate(0deg);
    border-radius: 100px 0 0 0;
    box-shadow: 
        4px 4px 24px rgba(0, 0, 0, 0.1),
        2px 2px 12px rgba(0, 0, 0, 0.08),
        inset 0 1px 3px rgba(255, 255, 255, 0.6),
        inset -1px -1px 3px rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.4);
    outline: 1px solid rgba(255, 255, 255, 0.2);
}

/* Additional subtle shadow layer */
.slide-content::after {
    content: '';
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: calc(100% + 8px);
    height: calc(100% + 8px);
    background: transparent;
    z-index: -2;
    border-radius: 80px 0 0 0;
    box-shadow: 
        8px 8px 30px rgba(0, 0, 0, 0.08),
        4px 4px 15px rgba(0, 0, 0, 0.06),
        0 0 20px rgba(0, 0, 0, 0.04);
    pointer-events: none;
    opacity: 0;
    transform: translateX(20px) translateY(15px) scale(0.96);
    transition: 
        opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.25s,
        transform 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.25s,
        border-radius 0.7s ease 0.25s;
}

.slide.active .slide-content::after {
    opacity: 1;
    transform: translateX(0) translateY(0) scale(1);
    border-radius: 100px 0 0 0;
}


.slide-title {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    margin: 0;
    padding: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    padding-left: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    color: #5F8080;
    text-shadow: none;
    position: relative;
    z-index: 3;
    max-width: 100%;
    width: 100%;
    text-align: left;
    line-height: 1.4;
    box-sizing: border-box;
    letter-spacing: -0.01em;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.5s, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.5s;
}

.slide.active .slide-title {
    opacity: 1;
    transform: translateY(0);
}

.slider-controls {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1400px;
    display: flex;
    justify-content: space-between;
    padding: 0 var(--spacing-xl);
    z-index: 10;
    pointer-events: none;
}

.slider-btn {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-2xl);
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: all;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.12),
        0 2px 8px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.slider-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
    z-index: -1;
}

.slider-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: width 0.3s ease, height 0.3s ease;
    z-index: -1;
}

.slider-btn:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.95) 100%);
    transform: scale(1.15) translateY(-2px);
    box-shadow: 
        0 8px 24px rgba(59, 122, 188, 0.2),
        0 4px 12px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    color: var(--primary-color);
}

.slider-btn:hover::before {
    opacity: 0.1;
}

.slider-btn:hover::after {
    width: 100%;
    height: 100%;
}

.slider-btn:active {
    transform: scale(1.05) translateY(0);
}

.slider-btn.prev {
    margin-left: var(--spacing-md);
}

.slider-btn.next {
    margin-right: var(--spacing-md);
}

.slider-dots {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--spacing-sm);
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition-base);
}

.dot.active,
.dot:hover {
    background-color: var(--bg-white);
    transform: scale(1.2);
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: var(--font-size-base);
    font-weight: 600;
    text-align: center;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-white);
    box-shadow: var(--shadow-md);
}

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

.btn-block {
    display: block;
    width: 100%;
}

/* ============================================
   Section Styles
   ============================================ */

section {
    padding: var(--spacing-xl) 0;
}

@media (min-width: 768px) {
    section {
        padding: var(--spacing-2xl) 0;
    }
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    width: 100%;
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: var(--font-size-4xl);
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--primary-light));
    border-radius: 2px;
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-gray);
    margin-top: var(--spacing-md);
}

/* ============================================
   About Section
   ============================================ */

.about {
    background: linear-gradient(135deg, rgba(249, 250, 251, 0.95) 0%, rgba(243, 244, 246, 0.95) 100%);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 122, 188, 0.12) 0%, transparent 65%);
    border-radius: 50%;
    z-index: 0;
    opacity: 0.8;
}

.about::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(90, 157, 212, 0.1) 0%, transparent 65%);
    border-radius: 50%;
    z-index: 0;
    opacity: 0.8;
}

.about .container {
    position: relative;
    z-index: 1;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 2;
}

.about-text h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-2xl);
}

.about-text p {
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
    width: 100%;
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    border: 1px solid rgba(59, 122, 188, 0.1);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, var(--primary-light), var(--primary-color));
    transform: scaleX(0);
    transition: var(--transition-base);
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: var(--font-size-sm);
    color: var(--text-gray);
    font-weight: 500;
}

.about-image {
    position: relative;
    z-index: 1;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    border-radius: var(--radius-xl);
    opacity: 0.1;
    z-index: -1;
    transform: rotate(5deg);
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-size: var(--font-size-xl);
    font-weight: 600;
    box-shadow: var(--shadow-xl);
}

/* ============================================
   Services Section
   ============================================ */

.services {
    position: relative;
    overflow: hidden;
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(249, 250, 251, 0.98) 100%),
        url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="passport-pattern" x="0" y="0" width="100" height="100" patternUnits="userSpaceOnUse"><rect width="100" height="100" fill="none"/><path d="M10 20 L90 20 M10 40 L90 40 M10 60 L90 60 M10 80 L90 80" stroke="%233b7abc" stroke-width="0.5" opacity="0.03"/><circle cx="50" cy="50" r="30" fill="none" stroke="%233b7abc" stroke-width="1" opacity="0.03"/></pattern></defs><rect width="100%" height="100%" fill="url(%23passport-pattern)"/></svg>');
    background-size: 200px 200px, 300px 300px;
}

.services::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 122, 188, 0.1) 0%, transparent 65%);
    border-radius: 50%;
    z-index: 0;
    animation: float 15s ease-in-out infinite;
    opacity: 0.85;
}

.services::after {
    content: '';
    position: absolute;
    bottom: 15%;
    left: 8%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(122, 179, 224, 0.08) 0%, transparent 65%);
    border-radius: 50%;
    z-index: 0;
    animation: float 18s ease-in-out infinite reverse;
    opacity: 0.85;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(30px, -30px) scale(1.1);
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 0 auto;
}

.service-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    text-align: center;
    border: 2px solid rgba(59, 122, 188, 0.1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 122, 188, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition-base);
}

.service-card:hover::before {
    opacity: 1;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    transition: var(--transition-base);
}

.service-icon svg {
    width: 40px;
    height: 40px;
}

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

.service-title {
    font-size: var(--font-size-xl);
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.service-description {
    color: var(--text-gray);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: var(--font-size-sm);
    transition: var(--transition-base);
}

.service-link:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

/* ============================================
   Gallery Section
   ============================================ */

.gallery {
    background: 
        linear-gradient(135deg, rgba(249, 250, 251, 0.95) 0%, rgba(243, 244, 246, 0.95) 100%),
        url('data:image/svg+xml,<svg width="150" height="150" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="stamp-pattern" x="0" y="0" width="150" height="150" patternUnits="userSpaceOnUse"><rect width="150" height="150" fill="none"/><rect x="20" y="20" width="110" height="110" rx="5" fill="none" stroke="%233b7abc" stroke-width="2" opacity="0.04"/><text x="75" y="80" font-family="Arial" font-size="40" fill="%233b7abc" opacity="0.04" text-anchor="middle">✓</text></pattern></defs><rect width="100%" height="100%" fill="url(%23stamp-pattern)"/></svg>');
    background-size: 250px 250px;
    position: relative;
    overflow: hidden;
}

.gallery::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 122, 188, 0.1) 0%, transparent 65%);
    border-radius: 50%;
    z-index: 0;
    opacity: 0.8;
}

.gallery .container {
    position: relative;
    z-index: 1;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
}

.filter-btn {
    padding: var(--spacing-xs) var(--spacing-md);
    background-color: var(--bg-white);
    color: var(--text-gray);
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: var(--transition-base);
    border: 2px solid var(--border-color);
}

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

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-md);
    width: 100%;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    cursor: pointer;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    border: 2px solid rgba(59, 122, 188, 0.1);
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 122, 188, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition-base);
    z-index: 1;
    pointer-events: none;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item.hidden {
    display: none;
}

.gallery-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

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

.gallery-image .image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-weight: 600;
    transition: var(--transition-slow);
}

.gallery-item:hover .gallery-image img,
.gallery-item:hover .gallery-image .image-placeholder {
    transform: scale(1.1);
}

/* Video Play Icon */
.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-2xl);
    color: var(--primary-color);
    z-index: 2;
    transition: var(--transition-base);
    box-shadow: var(--shadow-lg);
}

.gallery-item:hover .video-play-icon {
    background-color: var(--primary-color);
    color: var(--bg-white);
    transform: translate(-50%, -50%) scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: var(--spacing-lg);
    color: var(--bg-white);
    transform: translateY(100%);
    transition: var(--transition-base);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-category {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-sm);
    background-color: var(--primary-color);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.gallery-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.gallery-description {
    font-size: var(--font-size-sm);
    opacity: 0.9;
    line-height: 1.5;
}

/* ============================================
   News Section
   ============================================ */

/* News Slider */
.news-slider-container {
    position: relative;
    margin-bottom: var(--spacing-2xl);
}

.news-slider-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    min-height: 400px;
}

.news-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.news-slide.active {
    display: block;
    opacity: 1;
    animation: fadeIn 0.6s ease;
}

.news-card.featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.news-card.featured .news-image {
    height: 100%;
    min-height: 400px;
}

.news-card.featured .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card.featured .news-content {
    padding: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 var(--spacing-md);
    pointer-events: none;
    z-index: 10;
}

.news-slider-btn {
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-2xl);
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition-base);
    pointer-events: all;
    box-shadow: var(--shadow-md);
    font-weight: bold;
}

.news-slider-btn:hover {
    background-color: var(--bg-white);
    transform: scale(1.1);
}

.news-slider-dots {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-md);
}

.news-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--text-light);
    cursor: pointer;
    transition: var(--transition-base);
}

.news-dot.active,
.news-dot:hover {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

.news {
    position: relative;
    overflow: hidden;
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(249, 250, 251, 0.98) 100%),
        url('data:image/svg+xml,<svg width="120" height="120" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="document-pattern" x="0" y="0" width="120" height="120" patternUnits="userSpaceOnUse"><rect width="120" height="120" fill="none"/><path d="M20 30 L100 30 M20 50 L100 50 M20 70 L100 70 M20 90 L100 90" stroke="%233b7abc" stroke-width="1" opacity="0.03"/><rect x="15" y="15" width="90" height="100" rx="2" fill="none" stroke="%233b7abc" stroke-width="1" opacity="0.03"/></pattern></defs><rect width="100%" height="100%" fill="url(%23document-pattern)"/></svg>');
    background-size: 200px 200px;
}

.news::before {
    content: '';
    position: absolute;
    top: 20%;
    left: -5%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(90, 157, 212, 0.1) 0%, transparent 65%);
    border-radius: 50%;
    z-index: 0;
    animation: float 20s ease-in-out infinite;
    opacity: 0.85;
}

.news .container {
    position: relative;
    z-index: 1;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    position: relative;
    z-index: 1;
}

.news-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(59, 122, 188, 0.1);
    position: relative;
}

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

.news-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-image .image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-weight: 600;
    transition: var(--transition-slow);
}

.news-card:hover .news-image .image-placeholder {
    transform: scale(1.1);
}

.news-category {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    padding: var(--spacing-xs) var(--spacing-sm);
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: 600;
}

.news-content {
    padding: var(--spacing-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-meta {
    display: flex;
    gap: var(--spacing-sm);
    font-size: var(--font-size-sm);
    color: var(--text-light);
    margin-bottom: var(--spacing-sm);
}

.news-date::after {
    content: '•';
    margin-left: var(--spacing-sm);
}

.news-title {
    font-size: var(--font-size-xl);
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
    line-height: 1.4;
}

.news-excerpt {
    color: var(--text-gray);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
    flex: 1;
}

.news-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: var(--font-size-sm);
    transition: var(--transition-base);
    align-self: flex-start;
}

.news-link:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

/* ============================================
   Contact Section
   ============================================ */

.contact {
    background: 
        linear-gradient(135deg, rgba(249, 250, 251, 0.95) 0%, rgba(243, 244, 246, 0.95) 100%),
        url('data:image/svg+xml,<svg width="180" height="180" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="map-pattern" x="0" y="0" width="180" height="180" patternUnits="userSpaceOnUse"><rect width="180" height="180" fill="none"/><circle cx="90" cy="90" r="60" fill="none" stroke="%233b7abc" stroke-width="1" opacity="0.04"/><path d="M30 90 Q60 60 90 90 Q120 120 150 90" fill="none" stroke="%233b7abc" stroke-width="1" opacity="0.04"/><circle cx="50" cy="70" r="3" fill="%233b7abc" opacity="0.04"/><circle cx="130" cy="110" r="3" fill="%233b7abc" opacity="0.04"/></pattern></defs><rect width="100%" height="100%" fill="url(%23map-pattern)"/></svg>');
    background-size: 300px 300px;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 122, 188, 0.12) 0%, transparent 65%);
    border-radius: 50%;
    z-index: 0;
    opacity: 0.8;
}

.contact::after {
    content: '';
    position: absolute;
    bottom: -15%;
    left: -8%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(122, 179, 224, 0.1) 0%, transparent 65%);
    border-radius: 50%;
    z-index: 0;
    animation: float 22s ease-in-out infinite;
    opacity: 0.8;
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
    width: 100%;
    align-items: start;
    position: relative;
    z-index: 2;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    width: 100%;
    position: relative;
    z-index: 2;
}

.info-item {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    flex-shrink: 0;
}

.info-icon svg {
    width: 24px;
    height: 24px;
}

.info-icon i {
    font-size: 1.5rem;
    color: var(--bg-white);
}

.info-content h4 {
    color: var(--text-dark);
    margin-bottom: var(--spacing-xs);
    font-size: var(--font-size-lg);
}

.info-content p {
    color: var(--text-gray);
    line-height: 1.7;
    margin: 0;
}

.contact-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(59, 122, 188, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 122, 188, 0.03) 0%, transparent 70%);
    z-index: 0;
}

.contact-form > * {
    position: relative;
    z-index: 1;
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: var(--spacing-sm);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    transition: var(--transition-base);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 122, 188, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.map-container {
    margin-top: var(--spacing-xl);
    position: relative;
    z-index: 10;
    width: 100%;
    min-height: 400px;
}

.map-placeholder {
    width: 100%;
    height: 400px;
    min-height: 400px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    border-radius: var(--radius-lg);
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-size: var(--font-size-xl);
    font-weight: 600;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 10;
    visibility: visible !important;
    opacity: 1 !important;
    overflow: visible;
}

.map-placeholder::before {
    content: '📍';
    font-size: 4rem;
    margin-bottom: var(--spacing-sm);
    display: block;
    animation: mapIconPulse 2s ease-in-out infinite;
}

@keyframes mapIconPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.map-placeholder span {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-xs);
    display: block;
    font-weight: 700;
}

.map-placeholder p {
    color: rgba(255, 255, 255, 0.95);
    font-size: var(--font-size-base);
    margin-top: var(--spacing-sm);
    display: block;
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background: 
        linear-gradient(135deg, var(--text-dark) 0%, #1a1f2e 100%),
        url('data:image/svg+xml,<svg width="200" height="200" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="footer-pattern" x="0" y="0" width="200" height="200" patternUnits="userSpaceOnUse"><circle cx="100" cy="100" r="90" fill="none" stroke="rgba(59,122,188,0.1)" stroke-width="2"/><path d="M100 10 Q130 50 100 100 Q70 50 100 10" fill="none" stroke="rgba(59,122,188,0.08)" stroke-width="1"/><path d="M100 100 Q130 150 100 190 Q70 150 100 100" fill="none" stroke="rgba(59,122,188,0.08)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23footer-pattern)"/></svg>');
    background-size: 400px 400px;
    color: var(--bg-white);
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(59, 122, 188, 0.3), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--bg-white);
    margin-bottom: var(--spacing-md);
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    transition: var(--transition-base);
}

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

.social-link svg {
    width: 20px;
    height: 20px;
}

.social-link i {
    font-size: 1.125rem;
    color: var(--bg-white);
}

.footer-heading {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--bg-white);
    margin-bottom: var(--spacing-md);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-base);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: var(--spacing-xs);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact svg {
    width: 20px;
    height: 20px;
    color: var(--primary-light);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact i {
    font-size: 1.125rem;
    color: var(--primary-light);
    flex-shrink: 0;
    margin-top: 2px;
    width: 20px;
    text-align: center;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   Lightbox
   ============================================ */

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s ease;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
}

.lightbox.active {
    display: flex;
    opacity: 1;
    visibility: visible;
    background-color: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: lightboxFadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes lightboxFadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(8px);
    }
}

.lightbox-close {
    position: absolute;
    top: var(--spacing-lg);
    right: var(--spacing-lg);
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: var(--bg-white);
    font-size: var(--font-size-3xl);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2001;
    opacity: 0;
    transform: scale(0.8) rotate(0deg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.lightbox.active .lightbox-close {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    animation: lightboxCloseAppear 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

@keyframes lightboxCloseAppear {
    from {
        opacity: 0;
        transform: scale(0.8) rotate(-90deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.lightbox-close:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.1) rotate(90deg);
    border-color: rgba(255, 255, 255, 0.4);
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
    transform: scale(0.8) translateY(20px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}

.lightbox.active .lightbox-content {
    transform: scale(1) translateY(0);
    opacity: 1;
    animation: lightboxContentSlide 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.1s both;
}

@keyframes lightboxContentSlide {
    from {
        transform: scale(0.8) translateY(30px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.lightbox-content img {
    max-width: 100%;
    max-height: 70vh;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-content img {
    animation: lightboxImageZoom 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

@keyframes lightboxImageZoom {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-info {
    background-color: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    margin-top: var(--spacing-md);
    text-align: center;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.lightbox.active .lightbox-info {
    transform: translateY(0);
    opacity: 1;
    animation: lightboxInfoSlide 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

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

.lightbox-info h3 {
    color: var(--text-dark);
    margin-bottom: var(--spacing-xs);
}

.lightbox-info p {
    color: var(--text-gray);
    margin: 0;
}

/* ============================================
   Animations
   ============================================ */

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* Scroll animations */
.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Responsive Design
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    /* Sub-sub-menu positioning untuk viewport kecil */
    .sub-sub-menu {
        left: 0;
        right: auto;
        top: 100%;
        margin-left: 0;
        margin-right: 0;
        margin-top: var(--spacing-xs);
        transform: translateY(-10px);
        min-width: 100%;
        max-width: 100%;
    }
    
    .sub-item-has-children:hover .sub-sub-menu {
        transform: translateY(0);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --font-size-5xl: 2rem;
        --font-size-4xl: 1.75rem;
        --font-size-3xl: 1.5rem;
    }
    
    .logo {
        margin-left: calc(-1 * var(--spacing-sm));
        padding-left: var(--spacing-sm);
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        height: calc(100vh - 70px);
        background-color: var(--bg-white);
        box-shadow: var(--shadow-lg);
        transform: translateX(-100%);
        transition: var(--transition-base);
        z-index: 999;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav.active {
        transform: translateX(0);
    }
    
    .nav-list {
        flex-direction: column;
        padding: var(--spacing-lg);
        gap: 0;
        display: flex !important;
        width: 100%;
        list-style: none;
        margin: 0;
    }
    
    .nav-list > li {
        width: 100%;
        display: block;
    }
    
    .nav-link {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        padding: var(--spacing-md);
        border-bottom: 1px solid var(--border-color);
        width: 100%;
        position: relative;
        text-decoration: none;
        color: var(--text-dark);
    }
    
    .nav-link .arrow {
        transition: transform 0.3s ease;
    }
    
    .nav-item-has-children.active > .nav-link .arrow,
    .sub-item-has-children.active > a .arrow {
        transform: rotate(180deg);
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .nav-item-has-children {
        width: 100%;
    }
    
    .sub-item-has-children {
        width: 100%;
    }
    
    /* Sub Menu Mobile */
    .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: var(--bg-gray);
        margin: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        width: 100%;
        display: block;
    }
    
    .nav-item-has-children.active .sub-menu {
        max-height: 1000px !important;
        padding: var(--spacing-xs) 0 !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        overflow: visible !important;
    }
    
    .sub-menu li {
        width: 100%;
        display: block;
        list-style: none;
        margin: 0;
    }
    
    .sub-menu a {
        padding: var(--spacing-sm) var(--spacing-xl);
        font-size: var(--font-size-sm);
        display: block !important;
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        transition: var(--transition-base);
        pointer-events: auto;
        position: relative;
        z-index: 1;
        text-decoration: none;
        color: var(--text-dark);
    }
    
    .sub-menu a:hover {
        background-color: rgba(59, 122, 188, 0.1);
        padding-left: var(--spacing-2xl);
    }
    
    .sub-sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: var(--bg-light);
        margin: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        width: 100%;
        display: block;
    }
    
    .sub-item-has-children.active .sub-sub-menu {
        max-height: 1000px !important;
        padding: var(--spacing-xs) 0 !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        overflow: visible !important;
    }
    
    .sub-sub-menu li {
        width: 100%;
        display: block;
        list-style: none;
        margin: 0;
    }
    
    .sub-sub-menu a {
        padding: var(--spacing-sm) var(--spacing-2xl);
        display: block !important;
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        transition: var(--transition-base);
        pointer-events: auto;
        position: relative;
        z-index: 1;
        text-decoration: none;
        color: var(--text-dark);
    }
    
    .sub-sub-menu a:hover {
        background-color: rgba(59, 122, 188, 0.1);
        padding-left: calc(var(--spacing-2xl) + var(--spacing-sm));
    }
    
    /* Ensure parent links don't block submenu clicks */
    .nav-item-has-children > .nav-link {
        pointer-events: auto;
        position: relative;
        z-index: 2;
    }
    
    .sub-item-has-children > a {
        pointer-events: auto;
        position: relative;
        z-index: 2;
    }
    
    /* Ensure nav container allows scrolling when active */
    .nav.active {
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    /* Ensure active sub-menus are visible and scrollable */
    .nav.active .nav-item-has-children.active .sub-menu,
    .nav.active .sub-item-has-children.active .sub-sub-menu {
        overflow: visible !important;
    }
    
    .news-card.featured {
        grid-template-columns: 1fr;
    }
    
    .news-card.featured .news-image {
        min-height: 250px;
    }
    
    .hero {
        margin-top: var(--spacing-sm);
        padding-top: 70px;
        height: calc(100vh - 70px - var(--spacing-sm));
        min-height: calc(500px - 70px - var(--spacing-sm));
        max-height: calc(600px - 70px - var(--spacing-sm));
    }
    
    .slider-container {
        padding: var(--spacing-md);
    }
    
    .slider-container::before {
        border-radius: 17px;
        padding: 2px;
        filter: blur(0.4px);
        opacity: 0.45;
    }
    
    .slider-container:hover::before {
        opacity: 0.65;
        filter: blur(0.3px);
    }
    
    .slider-container::after {
        border-radius: 15px;
        top: 5px;
        left: 5px;
        right: 5px;
        bottom: 5px;
        border-width: 1.5px;
        filter: blur(0.8px);
        opacity: 0.25;
    }
    
    .slider-container:hover::after {
        opacity: 0.4;
        filter: blur(0.6px);
    }
    
    .slider-wrapper {
        border-radius: 15px;
        box-shadow: 
            0 18px 50px rgba(0, 0, 0, 0.08),
            0 12px 30px rgba(0, 0, 0, 0.06),
            0 6px 15px rgba(0, 0, 0, 0.04),
            0 2px 5px rgba(0, 0, 0, 0.03),
            inset 0 0 25px rgba(59, 122, 188, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.12);
        transition: box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .slider-container:hover .slider-wrapper {
        box-shadow: 
            0 22px 65px rgba(59, 122, 188, 0.1),
            0 15px 40px rgba(0, 0, 0, 0.08),
            0 8px 20px rgba(0, 0, 0, 0.06),
            0 3px 8px rgba(0, 0, 0, 0.04);
    }
    
    .slider-controls {
        padding: 0 var(--spacing-md);
        max-width: 100%;
    }
    
    .slider-btn {
        width: 48px;
        height: 48px;
        font-size: var(--font-size-xl);
    }
    
    .slider-btn.prev {
        margin-left: var(--spacing-xs);
    }
    
    .slider-btn.next {
        margin-right: var(--spacing-xs);
    }
    
    .slide-content {
        padding: 0;
        position: absolute !important;
        bottom: var(--spacing-md) !important;
        right: var(--spacing-md) !important;
        left: auto !important;
        top: auto !important;
        max-width: 75%;
        min-width: 280px;
        width: auto;
    }
    
    .slide-content::before {
        width: 100%;
        height: 100%;
        bottom: 0;
        right: 0;
        border-radius: 40px 0 0 0;
        opacity: 0;
    }
    
    .slide.active .slide-content::before {
        border-radius: 45px 0 0 0;
        opacity: 1;
    }
    
    .slide-content::after {
        width: 100%;
        height: 100%;
        border-radius: 40px 0 0 0;
        bottom: -3px;
        right: -3px;
        opacity: 0;
    }
    
    .slide.active .slide-content::after {
        border-radius: 45px 0 0 0;
        opacity: 1;
    }
    
    .slide-title {
        max-width: 100%;
        font-size: var(--font-size-xl);
        text-align: left;
        color: #5F8080;
        padding: var(--spacing-sm) var(--spacing-md);
        padding-top: var(--spacing-md);
        padding-left: var(--spacing-md);
        padding-bottom: var(--spacing-md);
        line-height: 1.3;
        margin: 0;
    }
    
    .slider-controls {
        padding: 0 var(--spacing-sm);
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: var(--font-size-xl);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        margin-bottom: var(--spacing-xl);
    }
    
    section {
        padding: var(--spacing-xl) 0;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .slider-container {
        padding: 4px;
        max-width: 100%;
    }
    
    .slider-container::before {
        border-radius: 14px;
        padding: 2px;
        filter: blur(0.4px);
        opacity: 0.4;
    }
    
    .slider-container::after {
        border-radius: 12px;
        top: 4px;
        left: 4px;
        right: 4px;
        bottom: 4px;
        border-width: 1.5px;
        filter: blur(0.8px);
        opacity: 0.2;
    }
    
    .slider-container:hover::before {
        opacity: 0.6;
        filter: blur(0.3px);
    }
    
    .slider-container:hover::after {
        opacity: 0.35;
        filter: blur(0.6px);
    }
    
    .slider-wrapper {
        border-radius: 12px;
        box-shadow: 
            0 15px 40px rgba(0, 0, 0, 0.08),
            0 10px 25px rgba(0, 0, 0, 0.06),
            0 5px 12px rgba(0, 0, 0, 0.04),
            0 2px 4px rgba(0, 0, 0, 0.03),
            inset 0 0 20px rgba(59, 122, 188, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.1);
        transition: box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .slider-container:hover .slider-wrapper {
        box-shadow: 
            0 18px 50px rgba(59, 122, 188, 0.08),
            0 12px 30px rgba(0, 0, 0, 0.06),
            0 6px 15px rgba(0, 0, 0, 0.04),
            0 2px 6px rgba(0, 0, 0, 0.03);
    }
    
    .slider-controls {
        padding: 0 var(--spacing-sm);
    }
    
    .slider-btn {
        width: 44px;
        height: 44px;
        font-size: var(--font-size-lg);
    }
    
    .slider-btn.prev {
        margin-left: 0;
    }
    
    .slider-btn.next {
        margin-right: 0;
    }
    
    .slide-content {
        max-width: 85%;
        min-width: 280px;
        padding: 0;
        bottom: var(--spacing-md);
        right: var(--spacing-md);
        position: absolute !important;
        left: auto !important;
        top: auto !important;
        width: auto;
    }
    
    .slide-content::before {
        width: 100%;
        height: 100%;
        border: 1px solid rgba(255, 255, 255, 0.25);
        border-radius: 35px 0 0 0;
        background: linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.65) 0%,
            rgba(255, 255, 255, 0.55) 100%
        );
        opacity: 0;
        transform: translateX(25px) translateY(18px) scale(0.93) rotate(0.8deg);
    }
    
    .slide.active .slide-content::before {
        opacity: 1;
        transform: translateX(0) translateY(0) scale(1) rotate(0deg);
        border-radius: 40px 0 0 0;
        border: 1px solid rgba(255, 255, 255, 0.35);
    }
    
    .slide-content::after {
        width: 100%;
        height: 100%;
        border-radius: 35px 0 0 0;
        opacity: 0;
        transform: translateX(15px) translateY(12px) scale(0.96);
    }
    
    .slide.active .slide-content::after {
        opacity: 1;
        transform: translateX(0) translateY(0) scale(1);
        border-radius: 40px 0 0 0;
    }
    
    .slide-title {
        text-align: left;
        color: #5F8080;
        padding: var(--spacing-sm) var(--spacing-md);
        padding-top: var(--spacing-md);
        padding-left: var(--spacing-md);
        padding-bottom: var(--spacing-md);
        box-sizing: border-box;
        width: 100%;
        font-size: var(--font-size-xl);
        line-height: 1.3;
        opacity: 0;
        transform: translateY(8px);
        margin: 0;
    }
    
    .slide.active .slide-title {
        opacity: 1;
        transform: translateY(0);
    }
    
    
    .stats {
        grid-template-columns: 1fr;
    }
    
    .gallery-filters {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: var(--spacing-xs);
    }
    
    .filter-btn {
        white-space: nowrap;
    }
    
    .contact-form {
        padding: var(--spacing-md);
    }
    
    /* Reduce background animations on mobile for performance */
    body::before,
    body::after {
        opacity: 0.2;
    }
    
    .about::before,
    .about::after,
    .services::before,
    .services::after,
    .contact::before,
    .contact::after {
        display: none;
    }
}

/* ============================================
   Scroll to Top Button
   ============================================ */

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--bg-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-lg);
    box-shadow: 0 4px 15px rgba(59, 122, 188, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9998;
    overflow: hidden;
}

.scroll-to-top::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.scroll-to-top:hover::before {
    width: 100%;
    height: 100%;
}

.scroll-to-top:hover {
    transform: translateY(0) scale(1.1);
    box-shadow: 0 6px 20px rgba(59, 122, 188, 0.6);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
}

.scroll-to-top:active {
    transform: translateY(0) scale(0.95);
}

.scroll-to-top i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.scroll-to-top:hover i {
    transform: translateY(-3px);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.scroll-to-top.visible:hover {
    transform: translateY(-5px) scale(1.1);
}

/* Responsive Scroll to Top Button */
@media (max-width: 768px) {
    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: var(--font-size-base);
    }
}

@media (max-width: 480px) {
    .scroll-to-top {
        width: 40px;
        height: 40px;
        bottom: 15px;
        right: 15px;
        font-size: var(--font-size-sm);
    }
}

