/* Custom CSS Variables */
:root {
    --primary-blue: #014f8d;
    --primary-blue-light: #0157a3;
    --primary-blue-dark: #013d6b;
    --neutral-50: #fafafa;
    --neutral-500: #8e8e8e;
    --neutral-600: #4b4b4b;
    --neutral-700: #1f1f1f;
}

/* Typography */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
}

.display-3 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
}

.display-5 {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
}

/* Custom Colors */
.bg-primary-blue {
    background-color: var(--primary-blue) !important;
}

.text-primary-blue {
    color: var(--primary-blue) !important;
}

.btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-primary:hover {
    background-color: var(--primary-blue-dark);
    border-color: var(--primary-blue-dark);
}

.btn-outline-primary {
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-outline-primary:hover {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

/* Hero Section - Now part of header */
.hero-section {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Hero Subtitle Styling */
.hero-subtitle {
    display: block;
    margin-bottom: 2rem;
}

.hero-subtitle-text {
    display: inline-block;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 1px;
    line-height: 1.4;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('img/bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    /* Fallback jika gambar tidak dimuat */
    background-color: var(--primary-blue);
}

.hero-background-footer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('public/bg-maps-1.png');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(1, 79, 141, 0.3);
    z-index: 2;
}

/* Gradient Backgrounds */
.bg-gradient-primary {
    background: linear-gradient(90deg, rgba(85, 142, 188, 1) 0%, rgba(1, 79, 141, 1) 100%) !important;
}

/* Card Styles */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

/* Button Styles */
.btn {
    transition: all 0.3s ease;
}

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
}

.rounded-pill {
    border-radius: 50rem !important;
}

.rounded-4 {
    border-radius: 1.5rem !important;
}

/* Shadow Utilities */
.shadow-sm {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08) !important;
}

.shadow {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important;
}

/* Process Section Buttons */
.btn.active {
    background-color: var(--primary-blue) !important;
    border-color: var(--primary-blue) !important;
    color: white !important;
}

/* Accordion Customization */
.accordion-button {
    background-color: #f8f9fa;
    border: none;
    font-size: 1.25rem;
    padding: 1.5rem;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-blue);
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-item {
    border: none;
    margin-bottom: 1rem;
}

/* Form Styles */
.form-control-lg {
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
}

.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(1, 79, 141, 0.25);
}

/* Responsive Design */
@media (max-width: 768px) {
    .display-3 {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .hero-section {
        min-height: 80vh;
    }
    
    .btn-lg {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }
    
    .hero-subtitle-text {
        font-size: 1.25rem;
        letter-spacing: 0.5px;
    }
    
    .img-fluid {
        max-height: 40vh;
    }
    
    .team-working-img {
        max-height: 35vh;
    }
    
    .rounded-image-container {
        border-radius: 1rem;
    }
}

@media (max-width: 576px) {
    .display-3 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .hero-subtitle-text {
        font-size: 1.1rem;
        letter-spacing: 0.3px;
        text-align: center;
    }
    
    .img-fluid {
        max-height: 30vh;
    }
    
    .team-working-img {
        max-height: 25vh;
    }
    
    .rounded-image-container {
        border-radius: 0.75rem;
    }
}

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

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

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Link Styles */
a {
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    text-decoration: none;
}

/* Hero Header */
.hero-header {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    background-image: url('img/bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Navigation Styles */
.navbar {
    background-color: transparent !important;
    box-shadow: none !important;
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-dark {
    background-color: transparent !important;
}

.navbar-dark .navbar-nav .nav-link {
    color: white !important;
    transition: color 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Scrolled Navigation */
.navbar.scrolled {
    background-color: white !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    padding: 0.5rem 0;
}

.navbar.scrolled .navbar-nav .nav-link {
    color: var(--primary-blue) !important;
}

.navbar.scrolled .navbar-nav .nav-link:hover {
    color: var(--primary-blue-dark) !important;
}

.navbar.scrolled .navbar-brand img {
    filter: none;
}

/* Navbar Brand Logo */
.navbar-brand img {
    transition: filter 0.3s ease;
}

.navbar-dark .navbar-brand img {
    filter: brightness(0) invert(1);
}

/* Button Styles for Navbar */
.navbar-dark .btn-outline-light {
    border-color: white;
    color: white;
}

.navbar.scrolled .btn-outline-light {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.navbar.scrolled .btn-outline-light:hover {
    background-color: var(--primary-blue);
    color: white;
}

/* Navbar Customization */
.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Footer Styles */
footer {
    position: relative;
    overflow: hidden;
}

footer .container {
    position: relative;
    z-index: 2;
}

/* Badge Styles */
.badge {
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Image Styles */
img {
    max-width: 100%;
    height: auto;
}

/* Reduce image height to 60% of current size */
.img-fluid {
    max-height: 60vh;
    width: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 1.5rem;
    overflow: hidden;
}

/* Specific styling for team working image */
.team-working-img {
    max-height: 50vh;
    width: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 1.5rem;
    overflow: hidden;
}

/* Container for rounded image masking */
.rounded-image-container {
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

/* Utility Classes */
.text-light {
    color: rgba(255, 255, 255, 0.9) !important;
}

.opacity-75 {
    opacity: 0.75 !important;
}

.lh-base {
    line-height: 1.5 !important;
}

.lh-lg {
    line-height: 1.8 !important;
}