/* ===================================
    Table of Content
====================================== */

/*  - Fonts
    - General
    - Social Icon Hover
    - Header And Navigation
    - Slider
    - About
    - Work
    - Clients
    - Price
    - Blog
    - Contact
    - Footer
    - Loader
    - Media Queries   */

/* ===================================
    Google fonts
====================================== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:100,200,300,400,500,600,700,800,900');

@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700');

.font-primary {
    font-family: 'Montserrat', sans-serif;
}
.font-secondary {
    font-family: 'Open Sans', sans-serif;
}

/* ===================================
    General
====================================== */
body {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    color: #666666;
    font-weight: 300;
    line-height: 26px;
    letter-spacing: 0.5px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
ol, ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
section, .section-padding {position: relative; padding: 7.5rem 0; overflow: hidden;}

.portfolio-padding {
    padding: 7.5rem 0 4rem;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
}
h1, h2, h3, h4, h5, h6 {
    line-height: 1;
}
h1 {
    font-size: 72px;
}
.h1 {
    font-size: 4rem;
}
h2 {
    font-size: 3rem;
}
p {
    margin: 0;
    padding: 0;
    font-size: 15px;
    color: #535353;
}

img {
    max-width: 100%;
}

a, a:active, a:focus, a:hover {
    text-decoration: none !important;
    outline: none;
}
a:focus, a:hover {
    color: #212622;
}
a, *::before, *::after, img, span, input, button, .navbar, .fixedmenu, .tp-bullet, .owl-dot, .owl-prev, .owl-next {
    -webkit-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}
i::before, i::after {
    -webkit-transition: all .0s ease;
    -o-transition: all .0s ease;
    transition: all .0s ease;
}
/* transition none */
.no-transition *{transition-timing-function:initial; -moz-transition-timing-function:initial; -webkit-transition-timing-function:initial; -o-transition-timing-function:initial; -ms-transition-timing-function:initial; transition-duration: 0s; -moz-transition-duration: 0s; -webkit-transition-duration: 0s; -o-transition-duration: 0s; -ms-transition-duration: 0s;}
.no-animation {animation: none !important;}
.no-transform {transform: none !important;}
::-webkit-scrollbar-track {background-color: #e9edf0;border-left: 1px solid #ededed;}
::-webkit-scrollbar {width: 7px;}
::-webkit-scrollbar-thumb {background: #1dbd9e;}

/* center block */
.center-block {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}



/* img wrap */
.image {
    overflow: hidden;
}
a.image{
    display: block;
}
.image img {
    width: 100%;
    height: 100%;
    display: block;
}
.image, .image img {
    position: relative;
}


/* opacity */
.opacity-1 { opacity: .1 !important;}
.opacity-2 { opacity: .2 !important;}
.opacity-3 { opacity: .3 !important;}
.opacity-4 { opacity: .4 !important;}
.opacity-5 { opacity: .5 !important;}
.opacity-6 { opacity: .6 !important;}
.opacity-7 { opacity: .7 !important;}
.opacity-8 { opacity: .8 !important;}
.opacity-9 { opacity: .9 !important;}

.z-index-0{
    z-index: 0 !important;
}
/* buttons */
.btn:hover, .btn:active, .btn:focus {
    outline: none;
    box-shadow: none;
}
button {
    cursor: pointer;
}
button:hover, button:active, button:focus {
    outline: none;
}
.btn-setting {
    padding: 10px 25px !important;
    width: auto;
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    line-height: 25px;
    font-size: 13px !important;
    text-align: center;
    -webkit-border-radius: 36px;
    border-radius: 36px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid #acacac;
    -webkit-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease !important;
}

.btn-light-green{
    background-color: #1dbd9e;
    color: #ffffff !important;
    border: 1px solid #1dbd9e;
}

.btn-light-green:hover{
    background-color: #3F55B6;
    border-color: #3F55B6;
}

/* slider social */
.slider-social {
    z-index: 99;
}

.slider-social a {
    display: block;
    position: relative;
    text-align: center;
    color: #212622;
    font-size: 15px;
    -webkit-transition: background-color .2s ease-in-out;
    -moz-transition: background-color .2s ease-in-out;
    -o-transition: background-color .2s ease-in-out;
    transition: background-color .2s ease-in-out;
}

.slider-social i{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50% , -50%);
    color: #ffffff;
}

/* ===================================
    Cursor
====================================== */

/* Cursor */
#animated-cursor {
    position: absolute;
    left: 0;
    display: none;
    top: 0;
    width: 30px;
    height: 30px;
    pointer-events: none;
    z-index: 10000;
    -webkit-transition: opacity 0.2s ease-in-out 0.5s;
    transition: opacity 0.2s ease-in-out 0.5s;
}

.cursor-light:hover ~ #animated-cursor{
    display: inline-block;
}

#cursor {
    position: fixed;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border: 2px solid rgba(255, 255, 255, 1);
    border-radius: 50%;
    pointer-events: none;
    opacity: 1;
    box-sizing: border-box;
}
#cursor:before {
    font-family: themify;
    content: "\e649";
    font-size: 6px;
    width: 4px;
    height: 8px;
    line-height: 8px;
    text-align: center;
    position: absolute;
    left: -12px;
    top: 9px;
    color: #ffffff;
    opacity: 0;
    transition: all 0.1s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
}
#hold-event {
    width: 26px;
    height: 26px;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 100%;
    background: rgba(255,255,255,0);
}
#cursor-loader {
    width: 40px;
    height: 40px;
    position: absolute;
    background-color: transparent;
    border-right: 2px solid transparent;
    border-bottom: 2px solid #ffffff;
    border-left: 2px solid transparent;
    border-top: 2px solid transparent;
    border-radius: 50px;
    box-sizing: border-box;
    opacity: 0;
    transform: translate(-9px, -9px) rotate(0deg);
    -webkit-animation: rotating 0.8s ease-in-out infinite;
    animation: rotating 0.8s ease-in-out infinite;
    -webkit-transition: opacity 0s ease-in-out 0s;
    transition: opacity 0s ease-in-out 0s;
}
#cursor:after {
    font-family: themify;
    content: "\e649";
    font-size: 6px;
    width: 4px;
    height: 8px;
    line-height: 8px;
    text-align: center;
    position: absolute;
    right: -10px;
    top: 9px;
    color: #ffffff;
    opacity: 0;
    transition: all 0.2s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
}

@keyframes rotating {
    0% {
        -webkit-transform: translate(-7px, -7px) rotate(0deg);
        transform:  translate(-7px, -7px) rotate(0deg);
    }

    95% {
        -webkit-transform:  translate(-7px, -7px) rotate(350deg);
        transform:  translate(-7px, -7px) rotate(350deg);
    }

    100% {
        -webkit-transform:  translate(-7px, -7px) rotate(360deg);
        transform:  translate(-7px, -7px) rotate(360deg);
    }
}

.header-appear.cursor-light:hover ~ #animated-cursor{
    display: none;
}
.header-appear .animated-wrap, .header-appear .animated-element {
    transform: none !important;
}

.overlay {
    -webkit-background-size: 100% 100%;
    background-size: 100% 100%;
    background-image: -webkit-linear-gradient(to bottom, #3f55b6 0%, #4fb4af 100%);
    background-image: -moz-linear-gradient(to bottom, #3f55b6 0%, #4fb4af 100%);
    background-image: -o-linear-gradient(to bottom, #3f55b6 0%, #4fb4af 100%);
    background-image: -ms-linear-gradient(to bottom, #3f55b6 0%, #4fb4af 100%);
    background-image: linear-gradient(to bottom, #3f55b6 0%, #4fb4af 100%);
    position: absolute;
    opacity: 1;
    visibility: visible;
    z-index: -99;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
}
.overlay-dark{
    background: #000000;
}

/* ===================================
   Loader
====================================== */
.loader {
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 111111;
    background: #ffffff;
    overflow: hidden !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-box {
    position: relative;
    display: grid;
    grid-template-columns: 33% 33% 33%;
    grid-gap: 2px;
    height: 90px;
    /*margin: 0 50px 100px 0;*/
    width: 90px;
    overflow: hidden;
}

.loader-box li {
    position: relative;
    width: 100%;
    height: 100%;
    background: #3F55B6;
    transform: scale(0);
    transform-origin: center center;
    animation: loader-box-fade 1.5s infinite ease-in-out;
}
.loader-box li:nth-child(1), .loader-box li:nth-child(5), .loader-box li:nth-child(9) {
    animation-delay: 0.4s;
}
.loader-box li:nth-child(4), .loader-box li:nth-child(8) {
    animation-delay: 0.2s;
}
.loader-box li:nth-child(2), .loader-box li:nth-child(6) {
    animation-delay: 0.6s;
}
.loader-box li:nth-child(3) {
    animation-delay: 0.8s;
}
@keyframes loader-box-fade {
    0% {
        transform: scale(0);
        opacity: 0.2;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
    80% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(0);
        opacity: 0.2;
    }
}

#contact p {
    margin-bottom: 1rem;
}

#contact .form-group {
    margin-bottom: 1.5rem;
}

#contact .form-control {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 0.5rem;
    width: 100%;
}

#contact .form-control:focus {
    border-color: #1dbd9e;
    box-shadow: none; /* if you want to remove the default focus glow */
}

#contact button[type="submit"] {
    background-color: #1dbd9e;
    border: none;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
}

#contact button[type="submit"]:hover {
    background-color: #3F55B6;
}

.validation-message {
    display: none; /* Hide by default */
    color: #d9534f; /* Example error color, adjust as needed */
    font-size: 0.875em;
}

.validation-message:empty::before {
    content: none; /* Removes the pseudo-element, so the span truly has no content when empty */
}

.input-validation-error + .validation-message {
    display: block; /* Show when there is a validation error */
}

.recaptcha-container {
    margin-top: 1rem; /* Adjust as needed */
}

.error-message {
    color: red; /* Or any color that fits your design */
    margin-bottom: 1rem;
}

.sent-message {
    color: green; /* Or any color to indicate success */
    margin-bottom: 1rem;
}

/* ===================================
   Media Queries
====================================== */
@media screen and (max-width: 1280px) {

}
@media screen and (max-width: 1199px) {
    h1, .h1{
        font-size: 3.56rem;
    }
    h2 {
        font-size: 2.45rem;
    }
    h3 {
        font-size: 1.65rem;
    }
    h4 {
        font-size: 1.15rem;
    }
    h5, .cbp-l-project-subtitle {
        font-size: 1rem;
    }
}
@media screen and (max-width: 991px) {
    h1, .h1 {
        font-size: 2.95rem;
    }
    h2 {
        font-size: 2.3rem;
    }
    h3 {
        font-size: 1.4rem;
    }
    h4 {
        font-size: 1.125rem;
    }

}
@media screen and (max-width: 767px) {
    body {
        text-align: center;
    }

    h1, .h1 {
        font-size: 2.65rem;
    }

    h2, .main-title.style-two h2, .cbp-l-project-title {
        font-size: 2.2rem;
    }

    h3 {
        font-size: 1.375rem;
    }

    h4 {
        font-size: 1.115rem;
    }
    p {
        font-size: 14px;
    }
    /* Align form labels to the left on mobile */
    .form-group label {
        text-align: left;
        display: block;
    }
    /* Adjust text input fields to full width to match label alignment */
    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group textarea {
        width: 100%;
    }
}

@media screen and (max-width: 567px) {

}

