/** Font import **/
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto+Condensed:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/** Root variable **/
:root{
    /* Main colors */
    --main-color-dark:#1D293F;
    --main-color-light:#F9F9F9;
    --main-color-black:#000000;
    --main-color-white:#FFFFFF;

    /* Header colors */
    --header-background-color:#FFFFFF;
    --header-company-name-light:#FFFFFF;
    --header-company-name-dark:#000000;
    --header-link-light:#FFFFFF;
    --header-link-dark:#000000;
    --header-button-light-background:#F9F9F9;
    --header-button-light-text:#1D293F;
    --header-button-dark-background:#1D293F;
    --header-button-dark-text:#F9F9F9;

    /* Hero colors */
    --hero-background-color:#1D293F;
    --hero-title:#FFFFFF;
    --hero-subtitle:#FFFFFF;
    --hero-button-background:#F9F9F9;
    --hero-button-text:#1D293F;

    /* All Buttons - dark */
    --button-dark-background:#1D293F;
    --button-dark-text:#FFFFFF;

    /* All button - light */
    --button-light-background:#F9F9F9;
    --button-light-text:#1D293F;

    /* For all sections */
    --section-title-dark:#1D293F;
    --section-title-light:#FFFFFF;
    --section-subtitle:#1D293F;
    --section-description:#1D293F;
    --section-background-1:#FFFFFF;
    --section-background-2:#F9F9F9;
    --section-divider:#1D293F;

    /* Pricing */
    --pricing-background:#1D293F;
    --pricing-section-title:#FFFFFF;
    --pricing-text:#FFFFFF;

    /* Blog */
    --blog-time:#1D293F;
    --blog-title:#1D293F;
    --blog-description:#1D293F;

    /* Testimonial */
    --testimonial-background-color:#111;
    --testimonial-client-text:#FFFFFF;
    --testimonial-client-name:#FFB32F;
    --testimonial-client-time:#FFFFFF;

    /* Contact */
    --contact-title:#1D293F;
    --contact-subtitle:#1D293F;
    --contact-content:#1D293F;
}

/** Keep header and footer always on top and bottom ***************************************************************/
body {
    font-family: 'Poppins', sans-serif;
    min-height: 100vh; /* make minmun height is 100% of viewport hight(vh) */
    display: flex; /* make page flex */
    flex-direction: column; /* main flow is vertical */
    background-color: var(--main-color-white);
}

main{
    flex-grow: 1; /* make sure main part stay full of screen */
    overflow: hidden;
}

/** Global ********************************************************************************************************/

/* scroll bar style ***********************************************************************************************/
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-thumb:horizontal{
    background: rgba(29, 41, 63,0.5);
}

::-webkit-scrollbar-thumb:vertical{
    background: rgba(29, 41, 63,0.5);
}

/* a ***************************************************************************************************************/
a{
    text-decoration: none!important;
    color: var(--main-color-black);
}

a:hover{
    opacity: 0.5;
    color: var(--main-color-black);
    cursor: pointer!important;
}

p{
    margin: 0;
}

section {
    min-height: 50vh;
}

label{
    color: #999999!important;
}

/* Border round *********************************************************/
.border-round{
    border-radius: 10px;
}

.op-08{
    opacity: 0.8;
}

.op-1{
    opacity: 1;
}

.hover-op-1:hover{
    opacity: 1!important;
}

.mw-900px{
    max-width: 900px;
}

.mw-700px{
    max-width: 700px;
}

.border-none{
    border-bottom: none!important;
}

.mh-45vh{
    min-height: 45vh!important;
}
.z-index-2{
    z-index: 2;
}

.z-index-1{
    z-index: 1;
}

.fw-700{
    font-weight: 700;
}

.scroll-stopper{
    padding-top: 5rem; 
    margin-top: -5rem;
    visibility: hidden;
}

/** For all sections *************************************************************************************************/
/* Text **************************************************************************************************************/
.section-title-dark{
    text-transform: uppercase;
    font-size: 32px;
    font-weight: 500; 
    color: var(--section-title-dark);
    margin-bottom: 10px;
}

.section-title-light{
    text-transform: uppercase;
    font-size: 32px;
    font-weight: 500; 
    color: var(--section-title-light);
    margin-bottom: 10px;
}

.section-subtitle{
    font-size: 20px;
    font-weight: 300; 
    opacity: 0.8;
    color: var(--section-subtitle);
    margin-bottom: 25px;
}

.section-description {
    font-size: 16px;
    line-height: 25px; 
    font-weight: 300; 
    text-align: justify; 
    opacity: 0.7;
    color: var(--section-description);
}

/** Buttons ********************************************************************************************************/
.button-light{
    color: var(--button-light-text);
    background-color: var(--button-light-background);
    transition: opacity ease-in-out 0.2s;
}

.button-light:hover{
    opacity: 0.8;
    color: var(--button-light-text);
    background-color: var(--button-light-background);
}

.button-dark{ 
    color: var(--button-dark-text);
    background-color: var(--button-dark-background);
    transition: opacity ease-in-out 0.2s;
}

.button-dark:hover{
    opacity: 0.8;
    color: var(--button-dark-text);
    background-color: var(--button-dark-background);
}

/* Background color ******************************************************************************************************/
.section-background-1{
    background-color: var(--section-background-1);
}

.section-background-2{
    background-color: var(--section-background-2);
}

/* section divider ********************************************************************************************************/
.section-divider{
    width: 100vw;
    height: 2px;
    opacity: 0.1;
    background-color: var(--section-divider);
}

/** Change from bootstarp ***********************************************************************************************/
[data-bs-theme=dark] .navbar-toggler-icon {
    --bs-navbar-toggler-icon-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28256, 256, 256, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

[data-bs-theme=light] .navbar-toggler-icon {
    --bs-navbar-toggler-icon-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.dropdown-item:hover{
    opacity: 0.5;
    color: var(--main-color-dark);
    background-color: var(--main-color-light);
}

.navbar-toggler:focus{
    border: 1px solid var(--main-color-black);
    box-shadow: none;
}

.dropdown-toggle::after{
    display: none!important;
}

.form-control:focus{
    box-shadow: none;
    border-color: var(--main-color-dark);
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link{
    color: var(--main-color-dark)!important;
    background-color: var(--main-color-light)!important;
}

.dropdown-item{
    color: var(--main-color-dark)!important;
}

.dropdown-item.active, .dropdown-item:active {
    color: var(--main-color-dark)!important;
    background-color: var(--main-color-light)!important;
}

.nav-link {
    padding: 8px 16px 8px 16px!important;
}

.modal-body > i {
    cursor: pointer;
}

/** Header ***********************************************************************************************/
.header{
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000; 
    transition: background-color 0.3s;
}

/* Header background color ******************************************************************************/
.header-background-transparent{
    background: transparent;
}

.header-background-color {
    background-color: var(--header-background-color);
    border-bottom: 1px solid var(--main-color-light);
}

/* Header compamy name Light/Dark ***********************************************************************/
.header-company-name-light{
    color: var(--header-company-name-light);
}

.header-company-name-dark{
    color: var(--header-company-name-dark);
}

/* Header link Light/Dark *******************************************************************************/
.header-link-light{
    color: var(--header-link-light);
}

.header-link-light:hover{
    opacity: 0.8;
    color: var(--header-link-light);
}

.header-link-dark{
    color: var(--header-link-dark);
}

.header-link-dark:hover{
    opacity: 0.8;
    color: var(--header-link-dark);
}

/* Header button Light/Dark ***********************************************************************/
.header-button-light{
    color: var(--header-button-light-text)!important;
    background-color: var(--header-button-light-background)!important;
    transition: opacity ease-in-out 0.2s;
}

.header-button-light:hover{
    opacity: 0.8;
}

.header-button-dark{
    color: var(--header-button-dark-text)!important;
    background-color: var(--header-button-dark-background)!important;
    transition: opacity ease-in-out 0.2s;
}

.header-button-dark:hover{
    opacity: 0.8;
}

/** Hero *****************************************************************************************/
.hero{
    min-height: 100vh;
}

/* Hero title *************************************************************************************/
.hero-title {
    font-size: 3rem;
    color: var(--hero-title);
}

.hero-subtitle {
    font-weight: 200;
    font-size: 2rem;
    color: var(--hero-subtitle);
}

.hero-button {
    color: var(--hero-button-text);
    background-color: var(--hero-button-background);
    transition: opacity ease-in-out 0.2s;
}

.hero-button:hover {
    opacity: 0.8;
    color: var(--hero-button-text);
    background-color: var(--hero-button-background);
}

.hero-background-color {
    background-color: var(--hero-background-color);
}

.bg-hero-img {
    background-size:cover; 
    background-position: center center; 
    background-repeat:no-repeat; 
    background-color:rgba(0, 0, 0, 0.5);
    background-blend-mode: multiply;
}

.bg-carousel{
    background-size:cover; 
    background-position: center center; 
    background-repeat:no-repeat; 
    background-color:rgba(0, 0, 0, 0.5);
    background-blend-mode: multiply;
    transition: all ease-in-out 0.5s;
}

/** Pricing ***************************************************************************************/
.pricing-background{
    background-color: var(--pricing-background);
}

.pricing-section-title{
    text-transform: uppercase;
    font-size: 32px;
    font-weight: 500; 
    color: var(--pricing-section-title);
    margin-bottom: 10px;
}

.pricing-category{
    color: var(--pricing-text);
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 24px;
}

.pricing-title{
    color: var(--pricing-text);
    font-size: 20px;
    font-weight: 400;
}

.pricing-description{
    color: var(--pricing-text);
    font-size: 14px;
    font-weight: 300;
}

.pricing-duration{
    opacity: 0.5;
    color: var(--pricing-text);
    font-size: 13px;
    font-weight: 300;
    font-style: italic;
}
.pricing-price{
    color: var(--pricing-text);
    font-size: 20px;
    font-weight: 500;
}

.pricing-divider{
    opacity: 0.1;
    border-bottom: 2px dotted var(--pricing-text);
    margin-bottom: 12px;
}

/** Blog ***************************************************************************************/
.blog-time{
    opacity: 0.7;
    color: var(--blog-time);
}

.blog-title{
    color: var(--blog-title);
}

.blog-dexcription{
    text-align: justify;
    opacity: 0.8;
    color: var(--blog-description);
    font-size: 14px;
}

/** Testimonial ********************************************************************************************/
.rating-star{
    display: flex;
    justify-content: center;
    color: #FBBC05;
}
.rating-star > i{
    margin-right: 0.5rem;
    margin-left: 0.5rem;
}

.testimonial-background{
    min-height: 20vh;
    color: var(--main-color-white);
    background-size:cover; 
    background-position: center center; 
    background-repeat:no-repeat; 
    background-color:rgba(0, 0, 0, 0.8);
    background-blend-mode: multiply;
}

.testimonial-background-color{
    min-height: 20vh;
    background-color:var(--testimonial-background-color);
}

.testimonial-content{
    text-align: center;
    background-color: rgba(256,256,256,0.1); 
    border-radius:5px; 
    padding-top: 20px; 
    padding-bottom: 20px;
    transition: all ease-in-out 1s;
}

.testimonial-client-text{
    color: var(--testimonial-client-text);
    margin-bottom: 20px;
    font-size:18px; 
    font-weight: 200; 
    line-height: 1.4; 
    text-align: justify;
}

.testimonial-client-name{
    font-size: 0.9rem;
    font-size:20px; 
    color: var(--testimonial-client-name);
}

.testimonial-client-time{
    color: var(--testimonial-client-text);
    font-size: 0.9rem;
}

.slider {
    width: 100%;
    height: auto;
    border-radius: 0.7rem;
    display: flex;
    overflow: hidden;
    scroll-behavior: smooth;
    padding-top: 25px;
    padding-bottom: 25px;
}

.slider > div {
    min-width: 100%;
    object-fit: contain;
    border-radius: 0.7rem;
}

.dots {
    margin-top: 5px;
    padding-left: 0;
    list-style: none;
    display: flex;
    gap: 10px;
    justify-content: center;
}

.dots li {
    width: 10px;
    height: 10px;
    background-color: silver;
    border-radius: 50%;
    cursor: pointer;
}

li.dot--active {
    background-color: #FFB32F;
}

.bi-quote-left{
    font-size: 30px; 
    opacity:0.5;
}

.bi-quote-right{
    font-size: 30px; 
    opacity:0.5; 
    display: inline-block; 
    transform: scale(-1, -1); 
    vertical-align: -5px;
}

.drag-cursor {
    cursor: grab;
}

.dragging-cursor {
    cursor: grabbing;
}

/** contact ************************************************************************************/
.contact-title {
    color: var(--section-title-dark);
}

.contact-subtitle {
    color: var(--section-title-dark);
}

.contact-content {
    color: var(--contact-content);
    font-weight: 300;
}

/** Footer ************************************************************************************/
footer{
    color: var(--main-color-white);
    border-top: 1px solid var(--main-color-light);
    background-color: var(--main-color-dark);
}

/* Social icons */
.social-icon{
    color: var(--main-color-white);
    font-size: 20px;
    transition: color ease-in-out 0.1s;
}

.fb:hover{
    /*color: #4267B2;*/
}

.ig:hover{
    /*color:#DD2A7B ;*/
}

.lk:hover{
    /*color:#0077B5 ;*/
}

.scroll-top-btn {
    display: none;
    position: sticky;
    bottom: 0;
    text-align: end;
    padding-right: 15px;
    padding-bottom: 15px;
    z-index: 1020;
}

.scroll-top-btn > span {
    cursor: pointer;
} 

.scroll-top-btn > span > i {
    font-size: 2rem; 
    color:rgba(0,0,0,0.5);
} 

/* Header video ************************************************************************************/
.hero-video-position {
    position: relative;
    overflow: hidden;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
}

.header-video {
    background-color: transparent;
}

.video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    z-index: -1;
}

/** Gallery **/
.grid {
    background: #FFFFFF;
    min-height: 10vh;
    margin: 0 -10px; /* Adjust margin based on your layout */
}

/* clear fix */
.grid:after {
    content: '';
    display: block;
    clear: both;
}

/* ---- .grid-item ---- */

.grid-sizer,
.grid-item {
    width: 25%;
}

@media (max-width:720px) {
    .grid-sizer,
    .grid-item {
        width: 33.3333333333333%;
    }
}

@media (min-width:992px) {
    .grid-sizer,
    .grid-item {
        width: 20%;
    }
}

.grid-item {
    float: left;
}

.grid-item img {
    display: block;
    max-width: 100%;
}

.zoomable{
    overflow:hidden;
    cursor: pointer;
}

.zoomable img{
    transform:scale(1,1);
    transition: all 0.5s ease-out;
}

.zoomable img:hover{
    transform:scale(1.2,1.2);
}

/* Inactive accounts */
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); 
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.overlay-content {
    color: white;
    font-size: large;
}

.overlay-content p {
    margin: 0;
    text-align: center;
}

/* Carousel */
.carousel-title {
    color: var(--section-title-dark);
    font-weight: 500;
}