/********** Template CSS **********/
:root {
    --primary: #1758a5;
    --secondary: #001064;
    --light: #F6F7F8;
    --dark: #010A35;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover,
.btn.btn-secondary,
.btn.btn-outline-secondary:hover {
    color: #FFFFFF;
}

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

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

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/*** Fonts ***/
@font-face {
  font-family: 'Garet';
  src: url('../fonts/Garet-Book.woff2') format('woff2'),
       url('../fonts/Garet-Book.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Garet';
  src: url('../fonts/Garet-Heavy.woff2') format('woff2'),
       url('../fonts/Garet-Heavy.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: 'Garet', sans-serif;
}

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


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand img {
    max-height: 60px;
}

.navbar .navbar-nav .nav-link {
    margin-left: 25px;
    padding: 10px 0;
    color: #696E77;
    font-weight: 400;
    outline: none;
}

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

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-brand img {
        max-height: 45px;
    }

    .navbar .navbar-nav {
        margin-top: 20px;
        margin-bottom: 15px;
    }

    .navbar .nav-item .dropdown-menu {
        padding-left: 30px;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        right: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(1, 10, 53, .8);
    z-index: 1;
}

/* Per-slide overlay colors (significantly different) */
.carousel-caption.caption-1 {
    background: linear-gradient(rgba(1, 10, 53, .85), rgba(23, 88, 165, .82));
}

.carousel-caption.caption-2 {
    background: linear-gradient(rgba(4, 63, 66, .85), rgba(13, 122, 116, .82));
}

.carousel-caption.caption-3 {
    background: linear-gradient(rgba(66, 40, 4, .88), rgba(150, 96, 12, .82));
}

/* Value summary pills on slide 3 */
.value-pill {
    display: inline-block;
    color: #fff;
    font-weight: 500;
    font-size: 1rem;
    padding: 8px 18px;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 30px;
    background: rgba(255, 255, 255, .12);
}

/* Indicator dots */
.carousel-indicators {
    z-index: 2;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #fff;
    background-color: transparent;
    opacity: .8;
}

.carousel-indicators .active {
    background-color: #fff;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--dark);
    border: 12px solid var(--dark);
    border-radius: 3rem;
}

/* Pengaturan default untuk Desktop */
#header-carousel .carousel-item img {
    width: 100%;
    height: 600px; /* Anda bisa mengubah angka ini sesuai kebutuhan tinggi carousel di desktop */
    object-fit: cover;
    object-position: center; /* Memastikan bagian tengah gambar yang selalu terlihat */
}

/* Pengaturan khusus untuk Mobile (Layar kecil) */
@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px; /* Tinggi carousel di HP */
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background: linear-gradient(rgba(1, 10, 53, .8), rgba(1, 10, 53, .8)), url(../img/carousel-3.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item a,
.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.page-header .breadcrumb-item a:hover,
.page-header .breadcrumb-item.active {
    color: var(--primary);
}


/*** Facts ***/
.facts {
    background: rgba(1, 10, 53, .8);
}


/*** Quote ***/
@media (min-width: 992px) {
    .container.quote {
        max-width: 100% !important;
    }

    .container.quote .quote-text {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }

    .container.quote .quote-form {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .container.quote .quote-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }

    .container.quote .quote-form  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .container.quote .quote-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }

    .container.quote .quote-form  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}

.container.quote .quote-text {
    background: rgba(1, 10, 53, .8);
}

.container.quote .quote-form {
    background: rgba(255, 255, 255, .8);
}

.container.quote .quote-text .h-100,
.container.quote .quote-form .h-100 {
    padding: 6rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


/*** Service ***/
.service-item .service-icon {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-item .service-icon img {
    max-width: 60px;
    max-height: 60px;
}

.service-item img {
    width: 100%;             /* Memastikan gambar memenuhi lebar kontainer (grid Bootstrap) */
    aspect-ratio: 1 / 1;     /* Membuat semua gambar menjadi bentuk persegi (kotak sempurna). Anda bisa ganti ke 4/3 atau 16/9 sesuai selera */
    object-fit: cover;       /* Ini adalah kunci! Memotong gambar secara otomatis agar pas dengan ukuran tanpa membuatnya gepeng/stretch */
    object-position: center; /* Memastikan bagian tengah gambar yang selalu ditampilkan */
}


/*** Team ***/
.team-item .team-img::before,
.team-item .team-img::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(1, 10, 53, .8);
    transition: .5s;
}

.team-item .team-img::after {
    left: auto;
    right: 0;
}

.team-item:hover .team-img::before,
.team-item:hover .team-img::after {
    width: 50%;
}

.team-item .team-img .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
    z-index: 3;
    opacity: 0;
}

.team-item:hover .team-img .team-social {
    transition-delay: .3s;
    opacity: 1;
}


/*** Testimonial ***/
.animated.pulse {
    animation-duration: 1.5s;
}

.testimonial-left,
.testimonial-right {
    position: relative;
}

.testimonial-left img,
.testimonial-right img {
    position: absolute;
    border-radius: 70px;
}

.testimonial-left img:nth-child(1),
.testimonial-right img:nth-child(3) {
    width: 70px;
    height: 70px;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-left img:nth-child(2),
.testimonial-right img:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
}

.testimonial-left img:nth-child(3),
.testimonial-right img:nth-child(1) {
    width: 50px;
    height: 50px;
    bottom: 10%;
    right: 10%;
}

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
    border-radius: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
}


/*** Footer ***/
.footer {
    color: #7F8499;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #7F8499;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #7F8499;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .btn.btn-square {
    color: #7F8499;
    border: 1px solid #7F8499;
}

.footer .btn.btn-square:hover {
    color: var(--light);
    border-color: var(--primary);
}

.footer .copyright {
    padding: 25px 0;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--primary);
}

.footer .copyright a:hover {
    color: #FFFFFF;
}

/*** TAMBAHAN MUSHAB ***/

/* ukuran container ikon */
.icon1-svg {
    width: 52px;
    height: 52px;
}

/* svg mengikuti ukuran container */
.icon1-svg svg {
    width: 100%;
    height: 100%;
}

/* ukuran container ikon */
.icon2-svg {
    width: 52px;
    height: 52px;
}

/* svg mengikuti ukuran container */
.icon2-svg svg {
    width: 100%;
    height: 100%;
}

.bg-primary {
    background-color: #1758a5 !important;
}
.btn-primary {
    background-color: #1758a5 !important;
    border-color: #1758a5 !important;
}

/* WARNA ICON SOSIAL DI NAVBAR */
.navbar .btn-square i {
    color: #1758a5 !important;
}

/* BORDER CIRCLE JUGA BIRU */
.navbar .btn-square {
    border: 1px solid #1758a5 !important;
}

/* HOVER - Biru solid, icon putih */
.navbar .btn-square:hover {
    background-color: #1758a5 !important;
}
.navbar .btn-square:hover i {
    color: #ffffff !important;
}

.facts span {
    color: #6FB6FF !important; /* biru muda */
    font-weight: 500;
}

#naration {
    scroll-margin-top: 130px;
}

#quote {
    scroll-margin-top: 130px;
}

.contact-action {
  border: 1px solid rgba(0,0,0,0.08);
  background: #fff;
  transition: all .2s ease;
}

.contact-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  border-color: rgba(13,118,240,0.35);
}

.contact-action h5 {
  word-break: break-all;      /* paksa pecah jika kepanjangan */
  overflow-wrap: anywhere;    /* modern & aman */
}

.contact-action > div:last-child {
  min-width: 0;
}

.hero-cta{
  border: 1px solid rgba(0,0,0,0.08);
  background: #fff;
  transition: all .2s ease;
}

.hero-cta:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  border-color: rgba(13,118,240,0.35);
}



/*** Value Accordion ***/
.value-accordion .accordion-item {
    border: none;
    border-radius: 10px;
    margin-bottom: 14px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(1, 10, 53, .06);
}

.value-accordion .accordion-button {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--dark);
    background: #fff;
    padding: 1.1rem 1.25rem;
}

.value-accordion .accordion-button:not(.collapsed) {
    color: #fff;
    background: var(--primary);
    box-shadow: none;
}

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

.value-accordion .accordion-button::after {
    width: 1.4rem;
    height: 1.4rem;
    background-size: 1.4rem;
}

.value-accordion .accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

.value-accordion .value-icon {
    width: 42px;
    height: 42px;
    margin-right: 16px;
    object-fit: contain;
    flex-shrink: 0;
    background: var(--light);
    border-radius: 50%;
    padding: 6px;
}

.value-accordion .accordion-button:not(.collapsed) .value-icon {
    background: rgba(255, 255, 255, .18);
}

.value-accordion .accordion-body {
    padding: 1.1rem 1.25rem 1.35rem;
    color: #696E77;
    line-height: 1.7;
}

/* Offset anchor scroll so sticky navbar doesn't cover the quote form */
#quote {
    scroll-margin-top: 90px;
}

/*** Testimonial star rating ***/
.testimonial-stars {
    color: #f5a623;
    font-size: 1.05rem;
    letter-spacing: 2px;
}

/* Mengatur thumbnail agar ukurannya seragam (kotak) */
.gallery-thumb {
    aspect-ratio: 1 / 1; /* Membuat gambar menjadi kotak (persegi panjang sama sisi) */
    object-fit: cover;   /* Memotong gambar secara otomatis agar tidak gepeng/tertarik */
    object-position: center; /* Memastikan bagian tengah gambar yang ditampilkan */
}

/* Opsi tambahan: Jika Anda juga ingin gambar utama ukurannya selalu tetap/seragam */
.main-image {
    aspect-ratio: 4 / 3; /* Contoh rasio untuk gambar utama, bisa disesuaikan */
    object-fit: cover;
}

/*** Logo Marquee ***/
.logo-strip {
    padding: 54px 0;
    background: var(--light);
}

.logo-strip .eyebrow {
    text-align: center;
    font-size: .8rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #7F8499;
    font-weight: 700;
    margin-bottom: 30px;
}

.logo-marquee {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}

.logo-track {
    display: flex;
    width: max-content;
    align-items: center;
    animation: logo-scroll 32s linear infinite;
}

/* margin-right seragam (BUKAN gap) supaya translateX(-50%) presisi & loop mulus */
.logo-item {
    flex: 0 0 auto;
    margin-right: 72px;
    filter: grayscale(100%);
    opacity: .62;
    transition: filter .3s ease, opacity .3s ease;
}

.logo-item img {
    display: block;
    height: 56px;
    width: auto;
}

.logo-item:hover {
    filter: grayscale(0);
    opacity: 1;
}

@keyframes logo-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.logo-marquee:hover .logo-track {
    animation-play-state: paused;
}

@media (max-width: 575.98px) {
    .logo-item {
        margin-right: 44px;
    }

    .logo-item img {
        height: 42px;
    }

    .logo-strip {
        padding: 40px 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .logo-track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .logo-item {
        margin: 12px 24px;
    }
}


