/********** Template CSS **********/
:root {
    --primary: #2C5F8A;      /* Denim Blue */
    --secondary: #6B7280;    /* Abu modern */
    --light: #F8FAFC;        /* Putih kebiruan */
    --dark: #1E293B;         /* Navy gelap */
}

/* Bootstrap Color Override */

.bg-primary {
    background-color: var(--primary) !important;
}

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

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

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

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

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

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

.fw-medium {
    font-weight: 500 !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-black {
    font-weight: 900 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    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 {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary {
    color: #FFFFFF;
}

.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;
}

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

.navbar .navbar-brand {
    height: 75px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: var(--dark);
    font-weight: 500;
    outline: none;
}

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

.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-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

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

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

.navbar .btn:hover {
    color: #FFFFFF !important;
    background: var(--primary) !important;
}

/* Logo Navbar */

.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-logo {
    height: 90px;
    width: auto;
    transition: .3s;
}

.navbar-logo:hover {
    transform: scale(1.05);
}

/* Responsive */

@media (max-width: 991.98px) {

    .navbar-logo {
        height: 45px;
    }

}


/*** Header ***/

/* Hero Section Fixed Height */
.header-carousel .owl-carousel-item {
    position: relative;
    height: 1100px;
}

.header-carousel .owl-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-carousel .carousel-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    background: rgba(30, 41, 59, .70);
}

/* Mobile */
@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        height: 500px;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 14px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    width: 200px;
    height: 45px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary-color);
}

.header-carousel .owl-dots {
    position: absolute;
    height: 45px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 15px;
    transition: .5s;
}

.header-carousel .owl-dot::after {
    position: absolute;
    content: "";
    width: 5px;
    height: 5px;
    top: 4px;
    left: 4px;
    background: #FFFFFF;
    border-radius: 5px;
}

.header-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary-color);
}

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

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}


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

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

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

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


/*** Service ***/

.service-item {
    position: relative;
    overflow: hidden;
    transition: .3s;
    background: #fff;
    border-color: rgba(0, 0, 0, .05) !important;
}

.service-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, .10);
}

.service-price {
    position: absolute;
    left: 0;
    bottom: -70px;
    width: 100%;

    background: var(--primary);
    color: #fff;

    text-align: center;
    font-weight: 600;
    padding: 16px;

    transition: .4s ease;
}

.service-item:hover .service-price {
    bottom: 0;
}


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

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

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

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


/*** Project Portfolio ***/
.portfolio-inner {
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.portfolio-inner img {
    transition: .5s;
}

.portfolio-inner:hover img {
    transform: scale(1.1);
}

.portfolio-inner .portfolio-text {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: -50px;
    opacity: 0;
    transition: .5s;
}

.portfolio-inner:hover .portfolio-text {
    bottom: 0;
    opacity: 1;
}


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

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

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

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

/* Portfolio Equal Card */
.portfolio-container > div {
    display: flex;
}

.portfolio-inner {
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);

    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Samakan ukuran semua gambar */
.portfolio-inner img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: .5s;
}

/* Samakan tinggi area konten */
.portfolio-inner .text-center.p-4 {
    flex: 1;
}

/* Samakan tinggi judul */
.portfolio-inner .text-center h5,
.portfolio-text h5 {
    min-height: 60px;
}

/* Hover */
.portfolio-inner:hover img {
    transform: scale(1.1);
}

.portfolio-inner .portfolio-text {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: -50px;
    opacity: 0;
    transition: .5s;
}

.portfolio-inner:hover .portfolio-text {
    bottom: 0;
    opacity: 1;
}

/*** Team ***/
.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.1);
}

.team-item .team-social {
    position: absolute;
    width: 0;
    height: 0;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(44, 95, 138, .85);
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-social {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 1;
}

.team-item .team-social .btn {
    opacity: 0;
}

.team-item:hover .team-social .btn {
    opacity: 1;
}

/* CTA */

.cta-section img{
    min-height:450px;
    object-fit:cover;
}

.cta-section h5{
    font-size:30px;
    font-family:cursive;
}

.cta-section h1{
    line-height:1.3;
}

.cta-section .btn{
    font-weight:600;
    letter-spacing:1px;
    transition:.3s;
}

.cta-section .btn:hover{
    background:var(--primary);
    border-color:var(--primary);
    color:#fff;
}

@media (max-width:991px){

    .cta-section img{
        min-height:300px;
    }

    .cta-section .p-5{
        padding:2rem!important;
    }

}

@media (max-width:576px){

    .cta-section h1{
        font-size:30px;
    }

    .cta-section h5{
        font-size:24px;
    }

}

/*** Testimonial ***/
.testimonial-carousel {
    display: flex !important;
    flex-direction: column-reverse;
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-carousel .owl-dots {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.testimonial-carousel .owl-dots .owl-dot {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 5px;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-dots .owl-dot::after {
    position: absolute;
    width: 40px;
    height: 40px;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    content: "\f10d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary-color);
    background: #FFFFFF;
    border-radius: 40px;
    transition: .5s;
    opacity: 0;
}

.testimonial-carousel .owl-dots .owl-dot.active::after {
    opacity: 1;
}

.testimonial-carousel .owl-dots .owl-dot img {
    border-radius: 60px;
    opacity: .4;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}


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

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

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

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

/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    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;
    margin-right: 10px;
}

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

.footer-copyright p {
    color: var(--light);
    margin: 0;
}

/* =========================
   Portfolio Modal
========================= */

#portfolioModal .modal-dialog {
    max-width: 1200px;
}

#portfolioModal .modal-content {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,.15);
}

/* Tombol Close */
#portfolioModal .btn-close {
    background-color: rgba(255,255,255,.9);
    border-radius: 50%;
    padding: 12px;
    opacity: 1;
    transition: .3s;
}

#portfolioModal .btn-close:hover {
    transform: rotate(90deg);
}

/* =========================
   Carousel
========================= */

#portfolioCarousel {
    height: 100%;
}

#portfolioCarousel .carousel-inner {
    height: 100%;
}

#portfolioCarousel .carousel-item {
    height: 100%;
}

#portfolioCarousel img {
    width: 100%;
    height: 650px;
    object-fit: cover;
}

/* Tombol Navigasi */

#portfolioCarousel .carousel-control-prev,
#portfolioCarousel .carousel-control-next {
    width: 60px;
}

#portfolioCarousel .carousel-control-prev-icon,
#portfolioCarousel .carousel-control-next-icon {
    width: 50px;
    height: 50px;

    background-color: rgba(44,95,138,.8);
    border-radius: 50%;
    padding: 12px;
}

/* =========================
   Content
========================= */

#modalCategory {
    display: inline-block;

    background: rgba(44,95,138,.1);
    color: var(--primary);

    padding: 6px 14px;
    border-radius: 30px;

    font-size: 14px;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 1px;
}

#modalTitle {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark);
    margin-top: 15px;
    margin-bottom: 20px;
}

#modalDescription {
    color: var(--secondary);
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Tombol Link */

#modalLink {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
}

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

@media (max-width: 991px) {

    #portfolioCarousel img {
        height: 400px;
    }

    #modalTitle {
        font-size: 26px;
    }

}

@media (max-width: 768px) {

    #portfolioCarousel img {
        height: 280px;
    }

    #portfolioModal .modal-dialog {
        margin: 10px;
    }

    #portfolioModal .modal-content {
        border-radius: 15px;
    }

    #modalTitle {
        font-size: 22px;
    }

    #modalDescription {
        font-size: 14px;
    }

    #modalLink {
        width: 100%;
        text-align: center;
    }

}

/* ==================================
   Portfolio Modal Responsive
================================== */

/* Tablet */
@media (max-width: 991.98px) {

    #portfolioModal .modal-dialog {
        max-width: 95%;
        margin: 1rem auto;
    }

    #portfolioCarousel img {
        height: 400px;
    }

    #modalTitle {
        font-size: 26px;
    }

    #modalDescription {
        font-size: 15px;
        line-height: 1.7;
    }

}

/* Mobile */
@media (max-width: 767.98px) {

    #portfolioModal .modal-dialog {
        max-width: 100%;
        margin: 10px;
    }

    #portfolioModal .modal-content {
        border-radius: 15px;
    }

    /* Carousel */
    #portfolioCarousel img {
        height: 250px;
        object-fit: cover;
    }

    /* Content */
    #portfolioModal .p-4,
    #portfolioModal .p-lg-5 {
        padding: 1.25rem !important;
    }

    #modalCategory {
        font-size: 12px;
        padding: 5px 12px;
    }

    #modalTitle {
        font-size: 22px;
        line-height: 1.4;
        margin-bottom: 15px;
    }

    #modalDescription {
        font-size: 14px;
        line-height: 1.7;
        margin-bottom: 20px;
    }

    /* Tombol Link */
    #modalLink {
        width: 100%;
        display: block;
        text-align: center;
    }

    /* Tombol Carousel */
    #portfolioCarousel .carousel-control-prev,
    #portfolioCarousel .carousel-control-next {
        width: 40px;
    }

    #portfolioCarousel .carousel-control-prev-icon,
    #portfolioCarousel .carousel-control-next-icon {
        width: 35px;
        height: 35px;
        padding: 8px;
    }

}

/* HP Kecil */
@media (max-width: 480px) {

    #portfolioCarousel img {
        height: 220px;
    }

    #modalTitle {
        font-size: 20px;
    }

    #modalDescription {
        font-size: 13px;
    }

    #modalCategory {
        font-size: 11px;
    }

}

#portfolioModal .row {
    min-height: 600px;
}

#portfolioModal .col-lg-5 {
    display: flex;
    align-items: center;
}

@media (max-width: 991.98px) {

    #portfolioModal .row {
        min-height: auto;
    }

    #portfolioModal .col-lg-5 {
        display: block;
    }

}