:root {
    --primary-dark: #0A2F44;
    --primary-light: #1E5A7D;
    --gray-light: #F8F9FA;
    --gray-border: #E9ECEF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Roboto', system-ui, -apple-system, sans-serif;
    background-color: #ffffff;
    color: #212529;
    padding-top: 76px;
    overflow-x: hidden;
}

/* Navbar Styles */
.navbar {
    background-color: var(--primary-dark);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    transition: transform 0.2s;
}

.navbar-brand:hover {
    transform: scale(1.02);
    color: #FFD966 !important;
}

.nav-link {
    font-weight: 600;
    margin: 0 6px;
    transition: all 0.2s;
    position: relative;
}

.nav-link:hover {
    color: #FFD966 !important;
    transform: translateY(-2px);
}

/* Carousel Styles */
.carousel-img {
    height: 550px;
    object-fit: cover;
    filter: brightness(0.7);
}

.carousel-caption {
    background: linear-gradient(135deg, rgba(10, 47, 68, 0.8), rgba(30, 90, 125, 0.8));
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    bottom: 25%;
    max-width: 60%;
    margin: 0 auto;
}

.carousel-caption h5 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.carousel-caption p {
    font-size: 1.2rem;
    opacity: 0.95;
}

/* Section Title */
.section-title {
    font-weight: 800;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
    font-size: 2rem;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-dark);
    border-radius: 4px;
}

.text-center .section-title:after {
    left: 50%;
    transform: translateX(-50%);
}

/* Custom Buttons */
.btn-primary-custom {
    background-color: var(--primary-dark);
    border: none;
    padding: 12px 32px;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
    color: white;
    letter-spacing: 0.5px;
}

.btn-primary-custom:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(10, 47, 68, 0.2);
    color: white;
}

/* Product Cards */
.product-card {
    border: none;
    border-radius: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-card img {
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-card .card-body {
    padding: 1.5rem;
}

.product-card .card-title {
    font-weight: 700;
    margin-bottom: 0.75rem;
}

/* Service Cards */
.service-card {
    border: none;
    border-radius: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
    background: linear-gradient(135deg, #ffffff, var(--gray-light));
}

/* Portfolio Cards */
.portfolio-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.portfolio-card img {
    transition: all 0.4s ease;
    height: 280px;
    width: 100%;
    object-fit: cover;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(0deg, rgba(10, 47, 68, 0.95), transparent);
    color: white;
    padding: 20px 15px 15px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-card:hover img {
    transform: scale(1.1);
}

.portfolio-overlay h5 {
    font-weight: 700;
    margin-bottom: 5px;
}

/* Feature Box */
.feature-box {
    padding: 2rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature-box:hover {
    background: var(--gray-light);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Contact Info */
.contact-info p {
    margin-bottom: 1.25rem;
    font-size: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-border);
}

/* Footer */
.footer {
    background-color: var(--primary-dark);
    color: #adb5bd;
    margin-top: 4rem;
}

/* Page Transitions */
.page-content {
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Utility Classes */
.bg-primary-custom {
    background-color: var(--primary-dark) !important;
}

.text-primary-custom {
    color: var(--primary-dark) !important;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding-top: 68px;
    }
    
    .carousel-img {
      height: 550px;        /* Ganti angka ini untuk tinggi */
    object-fit: cover;     /* Memastikan gambar tercover penuh */
    filter: brightness(0.7); /* Gelapkan sedikit agar teks terbaca */
    }
    
    /* Mobile */
    @media (max-width: 768px) {
    .carousel-img {
        height: 350px;
    }
}
/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .carousel-img {
        height: 450px;
    }
}

    .carousel-caption {
        bottom: 15%;
        padding: 1rem;
        max-width: 90%;
    }
    
    .carousel-caption h5 {
        font-size: 1.25rem;
    }
    
    .carousel-caption p {
        font-size: 0.875rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .feature-box {
        padding: 1.5rem;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Card Badge */
.badge {
    padding: 6px 12px;
    font-weight: 600;
    border-radius: 8px;
}