/* Base Styles */
html {
    scroll-behavior: smooth;
}

:root {
    --font-family-sans-serif: 'Poppins', sans-serif;
}

body {
    margin: 0;
    font-family: var(--font-family-sans-serif);
}

code,
pre {
    font-family: var(--font-family-sans-serif);
}

h1,
h2,
h3 {
    font-weight: 700;
}

p,
li {
    font-weight: 400;
}

button {
    font-weight: 500;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 9999;
    overflow: hidden;
    background: none;
    transition: transform 0.8s ease-in-out, opacity 0.8s ease-in-out;
}

.hero.hidden {
    transform: translateY(-100%);
    opacity: 0;
}

#bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

/* Overlay transparan */
.hero-overlay {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 0;
}

/* Initial state of logo */
#logo-bws {
    width: 300px;
    /*Ukuranlogosaatmulai*/transition: transform 2s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 2s ease-in-out;
    /*Transisiuntuktransformdanopacity*/position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    /*Logodimulaidenganscale(0)*/opacity: 0;
      /* Logo tidak terlihat */:;
    -webkit-transform: translate(-50%, -50%) scale(0);
    -moz-transform: translate(-50%, -50%) scale(0);
    -ms-transform: translate(-50%, -50%) scale(0);
    -o-transform: translate(-50%, -50%) scale(0);
}

/* After 10 seconds, enlarge the logo and move it upwards */
#logo-bws.shrink {
    transform: translate(-50%, -150%) scale(1); /* Memindahkan logo ke atas dan membesarkan ukuran */
    opacity: 1; /* Membuat logo terlihat sepenuhnya */
}


.content {
    margin-top: 100vh;
    transition: margin-top 0.8s ease-in-out;
    background-color: #f9fafb;
    position: relative;
    overflow: hidden;
}

.section {
    padding: 60px 0;
}

/* Card Styling */
.card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05),
        0 6px 6px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-bottom: 25px;
    background: #ffffff;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 86, 179, 0.15),
        0 10px 10px rgba(0, 0, 0, 0.08);
}

.card-img-container {
    padding: 30px 20px 0;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 180px;
    overflow: hidden;
    position: relative;
}

.card-img-top {
    max-width: 200px !important;
    max-height: 130px !important;
    object-fit: contain;
    transition: transform 0.5s ease;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.1));
}

.card:hover .card-img-top {
    transform: scale(1.1) translateY(-5px);
}

.card-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    background: #fff;
}

.card-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #172b4d;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.card-text {
    font-size: 0.95rem;
    color: #5e6c84;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(90deg, #0056b3, #0099ff);
    border: none;
    border-radius: 50px;
    padding: 10px 24px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    align-self: flex-start;
    margin-top: auto;
}

.btn-primary:hover {
    background: linear-gradient(90deg, #004494, #0077cc);
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0, 123, 255, 0.4);
}

.btn-primary:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(0, 123, 255, 0.2);
}

.custom-btn {
    background: linear-gradient(135deg, #ffe53b, #ff2525);
    border: none;
    color: white;
    padding: 12px 24px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 30px;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease-in-out;
}

.custom-btn:hover {
    background: linear-gradient(135deg, #ffd700, #cc0000);
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 123, 255, 0.4);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 50px;
    background: #ffffff00;
    transition: all 0.3s ease-in-out;
    border-radius: 5px;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: rgb(255, 255, 255) !important;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    /* Menyelaraskan gambar dan teks di tengah */
    gap: 10px;
    /* Memberikan jarak antara gambar dan teks */
}

.navbar-brand img {
    height: 40px;
    /* Menyesuaikan tinggi gambar logo agar pas */
    width: auto;
    /* Memastikan proporsi gambar tetap terjaga */
}


.navbar-toggler {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.5)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

.navbar-nav .nav-link {
    color: rgb(255, 255, 255) !important;
    font-size: 1rem;
    font-weight: 500;
    margin: 0 15px;
    transition: 0.3s;
    display: flex;
    align-items: center;
    height: 40px;
}

.navbar-nav .nav-img {
    padding: 5px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-nav .nav-img img {
    height: 30px;
    width: auto;
    object-fit: contain;
    vertical-align: middle;
}

.navbar-nav .nav-link:hover {
    color: #ffcc00 !important;
    transform: scale(0.9);
}

.navbar.scrolled {
    background: #fff !important;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.200);
}

.navbar.scrolled .navbar-brand,
.navbar.scrolled .navbar-nav .nav-link {
    color: #333 !important;
}

/* Services Section */
#services {
    padding: 90px 0;
    position: relative;
}

#services::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232083fe' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.8;
    z-index: 0;
}

/* Heading Styles */
.heading-style {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    color: #172b4d;
    text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.8);
    text-align: center;
    font-family: 'Poppins', sans-serif;
    line-height: 1.2;
}

.heading-style strong {
    color: #0056b3;
    position: relative;
    font-weight: bold;
}

.heading-style strong::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0056b3, #00a0ff);
    border-radius: 2px;
}

/* Intro Section */

#intro {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #031141;
    /* Warna latar belakang */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    /* padding: 80px 0 120px; */
    overflow: hidden;
}

.intro-container {
    margin-top: 15vh;
    margin-bottom: 10vh;
}


/* Wave effect at the bottom */
.intro-wave-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,120V83.71c47.79-22.2,103.59-32.17,158-28,70.36,5.37,136.33,33.31,206.8,37.5C438.64,87.57,512.34,66.33,583,47.95c69.27-18,138.3-24.88,209.4-13.08,36.15,6,69.85,17.84,104.45,29.34C989.49,95,1113,134.29,1200,67.53V120Z' opacity='.25' fill='%23f9fafb'/%3E%3Cpath d='M0,120V104.19C13,83.08,27.64,63.14,47.69,47.95,99.41,8.73,165,8.99,224.58,28.41c31.15,10.15,60.09,26.07,89.67,39.8,40.92,19,84.73,46,130.83,49.67,36.26,2.85,70.9-9.42,98.6-31.56,31.77-25.39,62.32-62,103.63-73,40.44-10.79,81.35,6.69,119.13,24.28s75.16,39,116.92,43.05c59.73,5.85,113.28-22.88,168.9-38.84,30.2-8.66,59-6.17,87.09,7.5,22.43,10.89,48,26.93,60.65,49.24V120Z' opacity='.5' fill='%23f9fafb'/%3E%3Cpath d='M0,120V114.37C149.93,61,314.09,48.68,475.83,77.43c43,7.64,84.23,20.12,127.61,26.46,59,8.63,112.48-12.24,165.56-35.4C827.93,42.78,886,24.76,951.2,30c86.53,7,172.46,45.71,248.8,84.81V120Z' fill='%23f9fafb'/%3E%3C/svg%3E");
    background-size: cover;
    transform: rotateY(180deg);
    z-index: 6;
}

/* Title styling */
.intro-title {
    color: #ffd700;
    font-size: 3rem;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    display: inline-block;
    margin-bottom: 25px;
}

.intro-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ffd700, transparent);
    border-radius: 2px;
}

/* Content styling */
.intro-content {
    color: #fffacd;
    background-color: rgba(0, 42, 92, 0.4);
    backdrop-filter: blur(5px);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-left: 4px solid #ffd700;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.lead {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.highlight-box {
    background-color: rgba(255, 215, 0, 0.15);
    border-radius: 8px;
    padding: 15px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.highlight-box:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.2), transparent);
}

/* Image styling */
.image-container {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    transform: perspective(1000px) rotateY(-3deg);
    transition: all 0.5s ease;
}

.image-container:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

#logo {
    display: block;
    border-radius: 16px;
    transition: all 0.5s ease;
    animation: subtle-float 5s ease-in-out infinite alternate;
}


.image-container:hover .image-glow {
    opacity: 0.8;
}

@keyframes subtle-float {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(-10px);
    }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    #intro {
        padding: 50px 20px 10px;
    }

    .intro-title {
        font-size: 2.5rem;
        text-align: center;
    }

    .intro-title:after {
        left: 50%;
        transform: translateX(-50%);
    }

    .intro-content {
        margin-bottom: 40px;
    }

    .intro-container {
        margin-top: 5vh;
    }
}

@media (max-width: 768px) {
    #intro {
        min-height: auto;
    }

    .intro-title {
        font-size: 2rem;
    }

    .image-container {
        transform: none;
        max-width: 80%;
        margin: 0 auto;
    }

    .intro-wave-bottom {
        height: 60px;
    }

    .intro-container {
        margin-top: 5vh;
    }
}

/* Footer Styling */
footer {
    position: relative;
    padding: 70px 0 30px;
    /* margin-top: 80px; */
    z-index: 5;
    background-image: linear-gradient(135deg, #0056b3, #0099ff 60%, #00c6ff);
    color: #f9fafb;
    overflow: hidden;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

/* Wave effect at the top */
.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='%23ffffff'/%3E%3C/svg%3E");
    background-size: cover;
    transform: rotateY(180deg);
    z-index: 6;
}

.footer-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/batik_transparent.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.1;
    z-index: 1;
    animation: slowFloat 60s infinite alternate linear;
}

@keyframes slowFloat {
    0% {
        transform: scale(1) rotate(0deg);
    }

    100% {
        transform: scale(1.05) rotate(1deg);
    }
}

.footer-content {
    position: relative;
    z-index: 10;
}

/* Column styling */
.footer-column {
    padding: 0 20px;
}

/* Heading styling */
.footer-heading {
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    padding-bottom: 12px;
    position: relative;
    display: flex;
    align-items: center;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 60px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 5px;
}

.heading-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    margin-right: 12px;
    font-size: 0.9rem;
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.05);
}

/* Contact list styling */
.contact-list {
    margin-top: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    line-height: 1.5;
}

.contact-icon {
    font-size: 1.2rem;
    min-width: 30px;
    margin-right: 10px;
    color: rgba(255, 255, 255, 0.85);
}

/* Social links styling */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.social-link:hover {
    transform: translateY(-5px);
    text-decoration: none;
    color: white;
}

.social-link.facebook:hover {
    background: #3b5998;
}

.social-link.twitter:hover {
    background: #1da1f2;
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

/* Stats styling */
.stats-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 15px;
    margin-top: 20px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.7);
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
}

/* Footer divider */
.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    margin: 30px 0;
}

/* Copyright section */
.copyright {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 15px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.logo-small {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    padding: 8px;
}

.logo-small img {
    filter: brightness(0) invert(1);
    max-width: 100%;
    height: auto;
}

.video-container video {
    width: 100%;
    max-width: 600px;
    /* Batas lebar maksimum */
    height: auto;
    /* Menjaga rasio aspek */
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    footer {
        padding-top: 60px;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767.98px) {
    .footer-column {
        padding: 0 15px;
        margin-bottom: 40px;
    }

    .social-links {
        justify-content: center;
    }

    .footer-heading {
        justify-content: center;
    }

    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .contact-list {
        text-align: center;
    }

    .contact-item {
        justify-content: center;
    }

    .copyright {
        flex-direction: column;
    }
}

@media (max-width: 575.98px) {
    .stats-container {
        grid-template-columns: 1fr;
    }
}


/* Responsive Styles */
@media (max-width: 991.98px) {
    .navbar {
        padding-left: 20px;
        padding-right: 20px;
    }

    .navbar-nav .nav-link {
        color: rgb(0, 0, 0) !important;
        height: 45px;
        margin: 5px 0;
        justify-content: flex-start;
    }

    .navbar-nav .nav-img {
        padding: 5px 0;
        justify-content: flex-start;
    }

    .navbar-nav .nav-img img {
        height: 28px;
    }

    .navbar-collapse {
        background-color: #e4e4e4;
        padding-top: 0px;
        padding-left: 15px;
        border-radius: 5px;
        margin-top: 10px;
    }
}

@media (max-width: 768px) {
    #services {
        padding: 60px 0;
    }

    .heading-style {
        font-size: 2rem;
        line-height: 30px;
    }

    .card-img-container {
        height: 150px;
    }

    .card-img-top {
        max-width: 100px !important;
        max-height: 100px !important;
    }

    footer {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 12px;
    }

    .heading-style {
        font-size: 1.75rem;
        line-height: 25px;
    }

    .heading-style strong::after {
        height: 3px;
        bottom: -8px;
    }

    .card-title {
        font-size: 1.2rem;
    }

    .btn-primary {
        width: 100%;
        text-align: center;
    }
}