/**
* Template Name: UpConstruction
* Updated: Mar 10 2023 with Bootstrap v5.2.3
* Template URL: https://bootstrapmade.com/upconstruction-bootstrap-construction-website-template/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Set main reusable colors and fonts using CSS variables
# Learn more about CSS variables at https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_custom_properties
--------------------------------------------------------------*/
/* Fonts */
:root {
    --font-default: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif,
        "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
        "Noto Color Emoji";
    --font-primary: "Roboto", sans-serif;
    --font-secondary: "Work Sans", sans-serif;
}

/* Colors */
:root {
    --color-default: #364d59;
    --color-primary: #ff0000;
    --color-secondary: #52565e;
}

/* Smooth scroll behavior */
:root {
    scroll-behavior: smooth;
}

/* Navbar Animations */
@keyframes navbar-float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-3px);
    }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(255, 0, 0, 0.3);
    }
    50% {
        box-shadow: 0 0 15px rgba(255, 0, 0, 0.6);
    }
}

@keyframes slide-in {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
    font-family: var(--font-default);
    color: var(--color-default);
    overflow-x: hidden;
}

a {
    color: var(--color-primary);
    text-decoration: none;
}

a:hover {
    color: #ffc732;
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
}

/*--------------------------------------------------------------
# Sections & Section Header
--------------------------------------------------------------*/
section {
    padding: 80px 0;
    overflow: hidden;
}

.section-bg {
    background-color: #f5f6f7;
}

.section-header {
    text-align: center;
    padding-bottom: 70px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 700;
    position: relative;
    color: #2e3135;
}

.section-header h2:before,
.section-header h2:after {
    content: "";
    width: 50px;
    height: 2px;
    background: var(--color-primary);
    display: inline-block;
}

.section-header h2:before {
    margin: 0 15px 10px 0;
}

.section-header h2:after {
    margin: 0 0 10px 15px;
}

.section-header p {
    margin: 0 auto 0 auto;
}

@media (min-width: 1199px) {
    .section-header p {
        max-width: 60%;
    }
}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
    padding: 140px 0 60px 0;
    min-height: 30vh;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.breadcrumbs:before {
    content: "";
    background-color: rgba(0, 0, 0, 0.6);
    position: absolute;
    inset: 0;
}

.breadcrumbs h2 {
    font-size: 56px;
    font-weight: 500;
    color: #fff;
    font-family: var(--font-secondary);
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0 0 10px 0;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-primary);
}

.breadcrumbs ol a {
    color: rgba(255, 255, 255, 0.8);
    transition: 0.3s;
}

.breadcrumbs ol a:hover {
    text-decoration: underline;
}

.breadcrumbs ol li + li {
    padding-left: 10px;
}

.breadcrumbs ol li + li::before {
    display: inline-block;
    padding-right: 10px;
    color: #fff;
    content: "/";
}

/*--------------------------------------------------------------
# Scroll top button
--------------------------------------------------------------*/
.scroll-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 99999;
    background: var(--color-primary);
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: all 0.4s;
}

.scroll-top i {
    font-size: 24px;
    color: var(--color-secondary);
    line-height: 0;
}

.scroll-top:hover {
    background: #ffc732;
    color: #fff;
}

.scroll-top.active {
    visibility: visible;
    opacity: 1;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    overflow: hidden;
    background: #fff;
    transition: all 0.6s ease-out;
}

#preloader:before {
    content: "";
    position: fixed;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
    border: 6px solid #fff;
    border-color: var(--color-primary) transparent var(--color-primary)
        transparent;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
    [data-aos-delay] {
        transition-delay: 0 !important;
    }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.header {
    z-index: 997;
    position: absolute;
    padding: 30px 0;
    top: 0;
    left: 0;
    right: 0;
}

.header .logo img {
    max-height: 32px;
    margin-right: 6px;
}

.header .logo h1 {
    font-size: 20px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 0;
    font-family: var(--font-primary);
}

.header .logo h1 span {
    color: #800020;
}

/*--------------------------------------------------------------
# Desktop Navigation
--------------------------------------------------------------*/
@media (min-width: 1280px) {
    .header {
        margin: 1rem 2rem;
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        z-index: 99999;
        position: fixed;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        top: 20px;
        left: 0;
        right: 0;
        padding: 0.5rem 2rem;
        background: #ffffff;
        border-radius: 15px;
        border: 1px solid rgba(128, 0, 32, 0.1);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }

    .header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, 
            rgba(255, 255, 255, 0.1) 0%, 
            transparent 50%, 
            rgba(255, 255, 255, 0.1) 100%);
        border-radius: 20px;
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
    }

    .header:hover::before {
        opacity: 1;
    }

    .header:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.5),
                    0 4px 16px 0 rgba(31, 38, 135, 0.2);
    }
    .navbar {
        padding: 0;
    }

    .navbar ul {
        margin: 0;
        padding: 0;
        display: flex;
        list-style: none;
        align-items: center;
    }

    .navbar li {
        position: relative;
    }

    .navbar > ul > li {
        white-space: nowrap;
        padding: 8px 0 8px 20px;
    }

    .navbar a,
    .navbar a:focus {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 8px 16px;
        font-family: var(--font-primary);
        font-size: 13px;
        font-weight: 600;
        color: #333333;
        text-transform: uppercase;
        white-space: nowrap;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        border-radius: 10px;
        letter-spacing: 0.5px;
    }

    .navbar a::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: #800020;
        border-radius: 10px;
        opacity: 0;
        transition: all 0.3s ease;
        z-index: -1;
    }

    .navbar a:hover::before,
    .navbar .active::before {
        opacity: 1;
    }

    .navbar a:hover,
    .navbar .active,
    .navbar .active:focus,
    .navbar li:hover > a {
        color: #ffffff;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(128, 0, 32, 0.4);
    }

    .navbar a i,
    .navbar a:focus i {
        font-size: 14px;
        line-height: 0;
        margin-right: 6px;
        transition: all 0.3s ease;
    }

    .navbar a:hover i {
        transform: scale(1.1);
        color: inherit;
    }

    .navbar .dropdown ul {
        display: block;
        position: absolute;
        left: 28px;
        top: calc(100% + 30px);
        margin: 0;
        padding: 10px 0;
        z-index: 99;
        opacity: 0;
        visibility: hidden;
        /* background: #fff; */
        backdrop-filter: blur(8px) saturate(200%);
        -webkit-backdrop-filter: blur(8px) saturate(200%);
        background-color: #ffffff;
        border-radius: 12px;
        box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(128, 0, 32, 0.1);
        transition: 0.3s;
    }

    .navbar .dropdown ul li {
        min-width: 200px;
    }

    .navbar .dropdown ul a {
        padding: 10px 20px;
        font-size: 15px;
        text-transform: none;
        color: #333333;
        font-weight: 400;
    }

    .navbar .dropdown ul a i {
        font-size: 12px;
    }

    .navbar .dropdown ul a:hover,
    .navbar .dropdown ul .active:hover,
    .navbar .dropdown ul li:hover > a {
        color: #ffffff;
        background-color: #800020;
        border-radius: 8px;
    }

    .navbar .dropdown:hover > ul {
        opacity: 1;
        top: 100%;
        visibility: visible;
    }

    .navbar .dropdown .dropdown ul {
        top: 0;
        left: calc(100% - 30px);
        visibility: hidden;
    }

    .navbar .dropdown .dropdown:hover > ul {
        opacity: 1;
        top: 0;
        left: 100%;
        visibility: visible;
    }
}

@media (min-width: 1280px) and (max-width: 1366px) {
    .navbar .dropdown .dropdown ul {
        left: -90%;
    }

    .navbar .dropdown .dropdown:hover > ul {
        left: -100%;
    }
}

@media (min-width: 1280px) {
    .mobile-nav-show,
    .mobile-nav-hide {
        display: none;
    }

    /* Login & Register Button Styling */
    .navbar .login-btn,
    .navbar .register-btn {
        padding: 6px 16px;
        border-radius: 20px;
        font-weight: 600;
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border: 2px solid transparent;
        position: relative;
        overflow: hidden;
        margin-left: 8px;
    }

    .navbar .login-btn {
        background: linear-gradient(135deg, 
            rgba(128, 0, 32, 0.1) 0%, 
            rgba(128, 0, 32, 0.05) 100%);
        color: #800020;
        border-color: #800020;
        box-shadow: 0 2px 8px rgba(128, 0, 32, 0.2);
    }

    .navbar .register-btn {
        background: linear-gradient(135deg, 
            #800020 0%, 
            #600018 100%);
        color: white;
        border-color: #800020;
        box-shadow: 0 4px 12px rgba(128, 0, 32, 0.3);
    }

    .navbar .login-btn:hover {
        background: linear-gradient(135deg, 
            #800020 0%, 
            #600018 100%);
        color: white;
        border-color: #800020;
        transform: translateY(-2px) scale(1.05);
        box-shadow: 0 8px 20px rgba(128, 0, 32, 0.4);
    }

    .navbar .register-btn:hover {
        background: linear-gradient(135deg, 
            #a00028 0%, 
            #800020 100%);
        transform: translateY(-2px) scale(1.05);
        box-shadow: 0 8px 20px rgba(128, 0, 32, 0.5);
    }

    .navbar .login-btn::before,
    .navbar .register-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, 
            transparent, 
            rgba(255, 255, 255, 0.4), 
            transparent);
        transition: left 0.5s ease;
    }

    .navbar .login-btn:hover::before,
    .navbar .register-btn:hover::before {
        left: 100%;
    }
}

/*--------------------------------------------------------------
# Mobile Navigation
--------------------------------------------------------------*/
@media (max-width: 1279px) {
    .navbar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 400px;
        bottom: 0;
        transition: 0.3s;
        z-index: 9997;
    }

    .navbar ul {
        position: absolute;
        inset: 0;
        padding: 50px 0 10px 0;
        margin: 0;
        background-color: #ffffff;
        border: 1px solid rgba(128, 0, 32, 0.1);
        overflow-y: auto;
        transition: 0.3s;
        z-index: 9998;
    }

    .navbar a,
    .navbar a:focus {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 20px;
        font-family: var(--font-primary);
        font-size: 15px;
        font-weight: 500;
        color: #333333;
        white-space: nowrap;
        text-transform: uppercase;
        transition: 0.3s;
    }

    .navbar a i,
    .navbar a:focus i {
        font-size: 16px;
        line-height: 0;
        margin-right: 8px;
    }

    .navbar a:hover,
    .navbar .active,
    .navbar .active:focus,
    .navbar li:hover > a {
        color: #ffffff;
        background-color: #800020;
        border-radius: 8px;
    }

    .navbar .dropdown ul,
    .navbar .dropdown .dropdown ul {
        position: static;
        display: none;
        padding: 10px 0;
        margin: 10px 20px;
        border-radius: 10px;
        transition: all 0.5s ease-in-out;
        /* border: 1px solid #222428; */
    }

    .navbar .dropdown > .dropdown-active,
    .navbar .dropdown .dropdown > .dropdown-active {
        display: block;
    }

    .mobile-nav-show {
        position: relative;
        color: #9898988d;
        font-size: 28px;
        cursor: pointer;
        line-height: 0;
        transition: 0.5s;
        z-index: 9999;
        padding-right: 10px;
    }

    .mobile-nav-hide {
        color: #737373;
        font-size: 32px;
        cursor: pointer;
        line-height: 0;
        transition: 0.5s;
        position: fixed;
        right: 20px;
        top: 20px;
        z-index: 9999;
    }

    .mobile-nav-active {
        overflow: hidden;
    }

    .mobile-nav-active .navbar {
        right: 0;
    }

    .c-nav-active .navbar:before {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.6);
        z-index: 9996;
    }
    /* humburgermenu */
    .humburger {
        /* display: none; */
        flex-direction: column;
        height: 20px;
        justify-content: space-between;
        transform: scale(0.8);
        position: relative;
        padding-right: 10px;

        z-index: 200000;
    }
    .humburger span {
        display: block;
        margin-bottom: 0.35em;
        background-color: #800020;
        width: 28px;
        height: 3px;
        border-radius: 3px;
        /* transform untuk animasi */
        transition: all 0.7s;
    }
    .humburger:hover span {
        background-color: #600018;
    }

    .humburger input {
        position: absolute;
        width: 40px;
        height: 28px;
        opacity: 100;
        left: -7px;
        display: block;
        cursor: pointer;
        z-index: 2;
    }

    /* .humburger animasi */

    .humburger input:checked ~ span:nth-child(2) {
        transform-origin: 0 0;
        transform: rotate(45deg) translate(-1px, -1px);
    }
    .humburger input:checked ~ span:nth-child(3) {
        transform: scale(0);
        opacity: 0;
    }
    .humburger input:checked ~ span:last-child {
        transform-origin: 0 100%;
        transform: rotate(-45deg) translate(-1px, 0);
    }
}
.humburger input {
    opacity: 0;
}

/* Mobile Login & Register Button Styling */
@media (max-width: 1279px) {
    .navbar .login-btn,
    .navbar .register-btn {
        padding: 12px 24px;
        border-radius: 25px;
        font-weight: 600;
        font-size: 14px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        transition: all 0.3s ease;
        border: 2px solid transparent;
        margin: 5px 10px;
        display: block;
        text-align: center;
    }

    .navbar .login-btn {
        background: linear-gradient(135deg, 
            rgba(255, 255, 255, 0.3) 0%, 
            rgba(255, 255, 255, 0.2) 100%);
        color: rgba(0, 0, 0, 0.8);
        border-color: rgba(255, 255, 255, 0.4);
    }

    .navbar .register-btn {
        background: linear-gradient(135deg, 
            var(--color-primary) 0%, 
            #ff3333 100%);
        color: white;
        border-color: var(--color-primary);
    }

    .navbar .login-btn:hover {
        background: linear-gradient(135deg, 
            rgba(255, 255, 255, 0.5) 0%, 
            rgba(255, 255, 255, 0.4) 100%);
        color: var(--color-primary);
        border-color: var(--color-primary);
        transform: scale(1.02);
    }

    .navbar .register-btn:hover {
        background: linear-gradient(135deg, 
            #ff3333 0%, 
            #ff0000 100%);
        transform: scale(1.02);
    }
}
/*--------------------------------------------------------------
# Get Started Section
--------------------------------------------------------------*/
.get-started .content {
    padding: 30px 0;
}

.get-started .content h3 {
    font-size: 36px;
    color: var(--color-secondary);
    font-weight: 600;
    margin-bottom: 25px;
    padding-bottom: 25px;
    position: relative;
}

.get-started .content h3:after {
    content: "";
    position: absolute;
    display: block;
    width: 60px;
    height: 4px;
    background: var(--color-primary);
    left: 0;
    bottom: 0;
}

.get-started .content p {
    font-size: 14px;
}

.get-started .php-email-form {
    background: #fff;
    padding: 30px;
    height: 100%;
}

@media (max-width: 575px) {
    .get-started .php-email-form {
        padding: 20px;
    }
}

.get-started .php-email-form h3 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.get-started .php-email-form p {
    font-size: 14px;
    margin-bottom: 20px;
}

.get-started .php-email-form .error-message {
    display: none;
    color: #fff;
    background: #df1529;
    text-align: left;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

.get-started .php-email-form .sent-message {
    display: none;
    color: #fff;
    background: #059652;
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

.get-started .php-email-form .loading {
    display: none;
    background: #fff;
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
}

.get-started .php-email-form .loading:before {
    content: "";
    display: inline-block;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    margin: 0 10px -6px 0;
    border: 3px solid #059652;
    border-top-color: #fff;
    animation: animate-loading 1s linear infinite;
}

.get-started .php-email-form input,
.get-started .php-email-form textarea {
    border-radius: 0;
    box-shadow: none;
    font-size: 14px;
    border-radius: 0;
}

.get-started .php-email-form input:focus,
.get-started .php-email-form textarea:focus {
    border-color: var(--color-primary);
}

.get-started .php-email-form input {
    padding: 12px 15px;
}

.get-started .php-email-form textarea {
    padding: 12px 15px;
}

.get-started .php-email-form button[type="submit"] {
    background: var(--color-primary);
    border: 0;
    padding: 10px 30px;
    color: #fff;
    transition: 0.4s;
    border-radius: 4px;
}

.get-started .php-email-form button[type="submit"]:hover {
    background: rgba(254, 185, 0, 0.8);
}

@keyframes animate-loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*--------------------------------------------------------------
# Constructions Section
--------------------------------------------------------------*/
.constructions .card-item {
    border: 1px solid rgba(82, 86, 94, 0.2);
    background: #fff;
    position: relative;
    border-radius: 0;
}

.constructions .card-item .card-bg {
    min-height: 300px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.constructions .card-item .card-body {
    padding: 30px;
}

.constructions .card-item h4 {
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--color-secondary);
}

.constructions .card-item p {
    color: var(--color-secondary);
    margin: 0;
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
    padding: 40px;
    background: #fff;
    height: 100%;
}

.services .service-item .icon {
    width: 48px;
    height: 48px;
    position: relative;
    margin-bottom: 50px;
}

.services .service-item .icon i {
    color: var(--color-secondary);
    font-size: 40px;
    transition: ease-in-out 0.3s;
    z-index: 2;
    position: relative;
    line-height: 1.8;
}

.services .service-item .icon:before {
    position: absolute;
    content: "";
    height: 100%;
    width: 100%;
    background: #f0f1f2;
    border-radius: 50px;
    z-index: 1;
    top: 10px;
    right: -15px;
    transition: 0.3s;
}

.services .service-item h3 {
    color: var(--color-default);
    font-weight: 700;
    margin: 0 0 20px 0;
    padding-bottom: 8px;
    font-size: 22px;
    position: relative;
    display: inline-block;
    border-bottom: 4px solid #ebebed;
    transition: 0.3s;
}

.services .service-item p {
    line-height: 24px;
    font-size: 14px;
    margin-bottom: 0;
}

.services .service-item .readmore {
    margin-top: 15px;
    display: inline-block;
    color: var(--color-primary);
}

.services .service-item:hover .icon:before {
    background: var(--color-primary);
}

.services .service-item:hover h3 {
    border-color: var(--color-primary);
}

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features .nav-tabs {
    border: 0;
}

.features .nav-link {
    padding: 15px 0;
    transition: 0.3s;
    color: var(--color-secondary);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    height: 100%;
    border: 0;
    border-bottom: 4px solid #e2e4e6;
}

.features .nav-link i {
    padding-right: 15px;
    font-size: 48px;
}

.features .nav-link h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

@media (max-width: 575px) {
    .features .nav-link h4 {
        font-size: 16px;
    }
}

.features .nav-link:hover {
    color: var(--color-primary);
}

.features .nav-link.active {
    color: var(--color-primary);
    background-color: transparent;
    border-color: var(--color-primary);
}

.features .tab-content {
    margin-top: 30px;
}

.features .tab-pane h3 {
    font-weight: 700;
    font-size: 32px;
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.features .tab-pane h3:after {
    content: "";
    position: absolute;
    display: block;
    width: 60px;
    height: 3px;
    background: var(--color-primary);
    left: 0;
    bottom: 0;
}

.features .tab-pane ul {
    list-style: none;
    padding: 0;
}

.features .tab-pane ul li {
    padding-top: 10px;
}

.features .tab-pane ul i {
    font-size: 20px;
    padding-right: 4px;
    color: var(--color-primary);
}

.features .tab-pane p:last-child {
    margin-bottom: 0;
}

/*--------------------------------------------------------------
# Our Projects Section
--------------------------------------------------------------*/
.projects .portfolio-flters {
    padding: 0;
    margin: 0 auto 20px auto;
    list-style: none;
    text-align: center;
}

.projects .portfolio-flters li {
    cursor: pointer;
    display: inline-block;
    padding: 0;
    font-size: 18px;
    font-weight: 500;
    margin: 0 10px;
    line-height: 1;
    margin-bottom: 5px;
    transition: all 0.3s ease-in-out;
}

.projects .portfolio-flters li:hover,
.projects .portfolio-flters li.filter-active {
    color: var(--color-primary);
}

.projects .portfolio-flters li:first-child {
    margin-left: 0;
}

.projects .portfolio-flters li:last-child {
    margin-right: 0;
}

@media (max-width: 575px) {
    .projects .portfolio-flters li {
        font-size: 14px;
        margin: 0 5px;
    }
}

.projects .portfolio-content {
    position: relative;
    overflow: hidden;
}

.projects .portfolio-content img {
    transition: 0.3s;
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.projects .portfolio-content .portfolio-info {
    opacity: 0;
    position: absolute;
    inset: 0;
    z-index: 3;
    transition: all ease-in-out 0.3s;
    background: rgba(0, 0, 0, 0.6);
    padding: 15px;
}

.projects .portfolio-content .portfolio-info h4 {
    font-size: 14px;
    padding: 5px 10px;
    font-weight: 400;
    color: #fff;
    display: inline-block;
    background-color: var(--color-primary);
}

.projects .portfolio-content .portfolio-info p {
    position: absolute;
    bottom: 10px;
    text-align: center;
    display: inline-block;
    left: 0;
    right: 0;
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.projects .portfolio-content .portfolio-info .preview-link,
.projects .portfolio-content .portfolio-info .details-link {
    position: absolute;
    left: calc(50% - 40px);
    font-size: 26px;
    top: calc(50% - 14px);
    color: #fff;
    transition: 0.3s;
    line-height: 1.2;
}

.projects .portfolio-content .portfolio-info .preview-link:hover,
.projects .portfolio-content .portfolio-info .details-link:hover {
    color: var(--color-primary);
}

.projects .portfolio-content .portfolio-info .details-link {
    left: 50%;
    font-size: 34px;
    line-height: 0;
}

.projects .portfolio-content:hover .portfolio-info {
    opacity: 1;
}

.projects .portfolio-content:hover img {
    transform: scale(1.1);
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonial-wrap {
    padding-left: 50px;
}

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
    overflow: hidden;
}

.testimonials .testimonial-item {
    box-sizing: content-box;
    padding: 30px 30px 30px 60px;
    margin: 0 15px 30px 0;
    min-height: 200px;
    box-shadow: 0px 2px 20px rgba(82, 86, 94, 0.1);
    position: relative;
    background: #fff;
}

.testimonials .testimonial-item .testimonial-img {
    width: 90px;
    border-radius: 10px;
    border: 6px solid #fff;
    position: absolute;
    left: -45px;
}

.testimonials .testimonial-item h3 {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0 5px 0;
    color: #000;
}

.testimonials .testimonial-item h4 {
    font-size: 14px;
    color: #999;
    margin: 0;
}

.testimonials .testimonial-item .stars {
    margin: 10px 0;
}

.testimonials .testimonial-item .stars i {
    color: #ffc107;
    margin: 0 1px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
    color: #ffd565;
    font-size: 26px;
    line-height: 0;
}

.testimonials .testimonial-item .quote-icon-left {
    display: inline-block;
    left: -5px;
    position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
    display: inline-block;
    right: -5px;
    position: relative;
    top: 10px;
    transform: scale(-1, -1);
}

.testimonials .testimonial-item p {
    font-style: italic;
    margin: 15px auto 15px auto;
}

.testimonials .swiper-pagination {
    margin-top: 20px;
    position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: #d5d7da;
    opacity: 1;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
    background-color: var(--color-primary);
}

@media (max-width: 767px) {
    .testimonials .testimonial-wrap {
        padding-left: 0;
    }

    .testimonials .testimonials-carousel,
    .testimonials .testimonials-slider {
        overflow: hidden;
    }

    .testimonials .testimonial-item {
        padding: 30px;
        margin: 15px;
    }

    .testimonials .testimonial-item .testimonial-img {
        position: static;
        left: auto;
    }
}

/*--------------------------------------------------------------
# Alt Services Section
--------------------------------------------------------------*/
.alt-services .img-bg {
    background-size: cover;
    background-position: center center;
    min-height: 400px;
}

.alt-services h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 20px;
    padding-bottom: 20px;
    position: relative;
}

.alt-services h3:after {
    content: "";
    position: absolute;
    display: block;
    width: 50px;
    height: 3px;
    background: var(--color-primary);
    left: 0;
    bottom: 0;
}

.alt-services .icon-box {
    margin-top: 50px;
}

.alt-services .icon-box i {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    margin-right: 25px;
    font-size: 28px;
    width: 56px;
    height: 56px;
    border-radius: 4px;
    line-height: 0;
    box-shadow: 0px 2px 30px rgba(0, 0, 0, 0.08);
    background-color: #fff;
    transition: 0.3s;
}

.alt-services .icon-box:hover i {
    background-color: var(--color-primary);
    color: #fff;
}

.alt-services .icon-box h4 {
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 18px;
}

.alt-services .icon-box h4 a {
    color: #000;
    transition: 0.3s;
}

.alt-services .icon-box h4 a:hover {
    color: var(--color-primary);
}

.alt-services .icon-box p {
    line-height: 24px;
    font-size: 14px;
    margin-bottom: 0;
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about h2 {
    font-size: 48px;
    font-weight: 700;
    font-family: var(--font-secondary);
    margin: 30px 0;
}

@media (min-width: 991px) {
    .about h2 {
        max-width: 65%;
        margin: 0 0 80px 0;
    }
}

.about .our-story {
    padding: 40px;
    background-color: #f5f6f7;
}

@media (min-width: 991px) {
    .about .our-story {
        padding-right: 35%;
    }
}

.about .our-story h4 {
    text-transform: uppercase;
    font-size: 18px;
    color: #838893;
}

.about .our-story h3 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-secondary);
}

.about .our-story p:last-child {
    margin-bottom: 0;
}

.about ul {
    list-style: none;
    padding: 0;
    font-size: 15px;
}

.about ul li {
    padding: 5px 0;
    display: flex;
    align-items: center;
}

.about ul i {
    font-size: 20px;
    margin-right: 4px;
    color: var(--color-primary);
}

.about .watch-video i {
    font-size: 32px;
    transition: 0.3s;
    color: var(--color-primary);
}

.about .watch-video a {
    font-weight: 600;
    color: var(--color-secondary);
    margin-left: 8px;
    transition: 0.3s;
}

.about .watch-video:hover a {
    color: var(--color-primary);
}

.about .about-img {
    min-height: 600px;
    background-size: cover;
    background-position: center;
}

@media (min-width: 992px) {
    .about .about-img {
        position: absolute;
        top: 0;
        right: 0;
    }
}

/*--------------------------------------------------------------
# Stats Counter Section
--------------------------------------------------------------*/
.stats-counter .stats-item {
    background: #fff;
    box-shadow: 0px 0 30px rgba(82, 86, 94, 0.05);
    padding: 30px;
}

.stats-counter .stats-item i {
    font-size: 42px;
    line-height: 0;
    margin-right: 20px;
    color: var(--color-primary);
}

.stats-counter .stats-item span {
    font-size: 36px;
    display: block;
    font-weight: 600;
    color: var(--color-secondary);
}

.stats-counter .stats-item p {
    padding: 0;
    margin: 0;
    font-family: var(--font-primary);
    font-size: 14px;
}

/*--------------------------------------------------------------
# Our Team Section
--------------------------------------------------------------*/
.team .member {
    position: relative;
}

.team .member .member-img {
    margin: 0 80px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
}

@media (max-width: 1024px) {
    .team .member .member-img {
        margin: 0 60px;
    }
}

.team .member .member-img img {
    position: relative;
    z-index: 1;
}

.team .member .member-img .social {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    z-index: 2;
    padding-bottom: 20px;
    transition: 0.3s;
    visibility: hidden;
    opacity: 0;
}
.team .member .member-img .social .action {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team .member .member-img .social a {
    transition: 0.3s;
    color: #fff;
    font-size: 20px;
    margin: 0 8px;
}

.team .member .member-img .social a:hover {
    color: var(--color-primary);
}

.team .member .member-info {
    margin-top: 30px;
}

.team .member .member-info h4 {
    font-weight: 700;
    margin-bottom: 6px;
    font-size: 18px;
    color: var(--color-secondary);
}

.team .member .member-info span {
    font-style: italic;
    display: block;
    font-size: 15px;
    color: #838893;
    margin-bottom: 10px;
}

.team .member .member-info p {
    margin-bottom: 0;
    font-size: 14px;
}

.team .member:hover .member-img .social {
    padding-bottom: 0;
    visibility: visible;
    opacity: 1;
}

/*--------------------------------------------------------------
# Servie Cards Section
--------------------------------------------------------------*/
.services-cards h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-secondary);
}

.services-cards p {
    font-size: 15px;
}

.services-cards ul li {
    display: flex;
    align-items: center;
    font-size: 14px;
    padding-top: 10px;
}

.services-cards ul li i {
    font-size: 16px;
    color: var(--color-primary);
    margin-right: 6px;
}

/*--------------------------------------------------------------
# Projet Details Section
--------------------------------------------------------------*/
.project-details .portfolio-details-slider img {
    width: 100%;
}

.project-details
    .portfolio-details-slider
    .swiper-pagination
    .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.7);
    opacity: 1;
}

.project-details
    .portfolio-details-slider
    .swiper-pagination
    .swiper-pagination-bullet-active {
    background-color: var(--color-primary);
}

.project-details .swiper-button-prev,
.project-details .swiper-button-next {
    width: 48px;
    height: 48px;
}

.project-details .swiper-button-prev:after,
.project-details .swiper-button-next:after {
    color: rgba(255, 255, 255, 0.8);
    background-color: rgba(0, 0, 0, 0.2);
    font-size: 24px;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.project-details .swiper-button-prev:hover:after,
.project-details .swiper-button-next:hover:after {
    background-color: rgba(0, 0, 0, 0.6);
}

@media (max-width: 575px) {
    .project-details .swiper-button-prev,
    .project-details .swiper-button-next {
        display: none;
    }
}

.project-details .portfolio-info h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 20px;
    position: relative;
}

.project-details .portfolio-info h3:after {
    content: "";
    position: absolute;
    display: block;
    width: 50px;
    height: 3px;
    background: var(--color-primary);
    left: 0;
    bottom: 0;
}

.project-details .portfolio-info ul {
    list-style: none;
    padding: 0;
    font-size: 15px;
}

.project-details .portfolio-info ul li {
    display: flex;
    flex-direction: column;
    padding-bottom: 15px;
}

.project-details .portfolio-info ul strong {
    text-transform: uppercase;
    font-weight: 400;
    color: #838893;
    font-size: 14px;
}

.project-details .portfolio-info .btn-visit {
    padding: 8px 40px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 50px;
    transition: 0.3s;
}

.project-details .portfolio-info .btn-visit:hover {
    background: #ffc019;
}

.project-details .portfolio-description h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-secondary);
}

.project-details .portfolio-description p {
    padding: 0;
}

.project-details .portfolio-description .testimonial-item {
    padding: 30px 30px 0 30px;
    position: relative;
    background: #f5f6f7;
    height: 100%;
    margin-bottom: 50px;
}

.project-details .portfolio-description .testimonial-item .testimonial-img {
    width: 90px;
    border-radius: 50px;
    border: 6px solid #fff;
    float: left;
    margin: 0 10px 0 0;
}

.project-details .portfolio-description .testimonial-item h3 {
    font-size: 18px;
    font-weight: bold;
    margin: 15px 0 5px 0;
    padding-top: 20px;
}

.project-details .portfolio-description .testimonial-item h4 {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
}

.project-details .portfolio-description .testimonial-item .quote-icon-left,
.project-details .portfolio-description .testimonial-item .quote-icon-right {
    color: #ffd565;
    font-size: 26px;
    line-height: 0;
}

.project-details .portfolio-description .testimonial-item .quote-icon-left {
    display: inline-block;
    left: -5px;
    position: relative;
}

.project-details .portfolio-description .testimonial-item .quote-icon-right {
    display: inline-block;
    right: -5px;
    position: relative;
    top: 10px;
    transform: scale(-1, -1);
}

.project-details .portfolio-description .testimonial-item p {
    font-style: italic;
    margin: 0 0 15px 0 0 0;
    padding: 0;
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .services-list {
    padding: 10px 30px;
    border: 1px solid #d5d7da;
    margin-bottom: 20px;
}

.service-details .services-list a {
    display: block;
    line-height: 1;
    padding: 8px 0 8px 15px;
    border-left: 3px solid #d9e3e8;
    margin: 20px 0;
    color: var(--color-secondary);
    transition: 0.3s;
}

.service-details .services-list a.active {
    font-weight: 700;
    border-color: var(--color-primary);
}

.service-details .services-list a:hover {
    border-color: var(--color-primary);
}

.service-details .services-img {
    margin-bottom: 20px;
}

.service-details h3 {
    font-size: 28px;
    font-weight: 700;
}

.service-details h4 {
    font-size: 20px;
    font-weight: 700;
}

.service-details p {
    font-size: 15px;
}

.service-details ul {
    list-style: none;
    padding: 0;
    font-size: 15px;
}

.service-details ul li {
    padding: 5px 0;
    display: flex;
    align-items: center;
}

.service-details ul i {
    font-size: 20px;
    margin-right: 8px;
    color: var(--color-primary);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-item {
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.08);
    padding: 20px 0 30px 0;
}

.contact .info-item i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    font-size: 24px;
    line-height: 0;
    color: var(--color-primary);
    border-radius: 50%;
    border: 2px dotted #ffd565;
}

.contact .info-item h3 {
    font-size: 20px;
    color: #6c757d;
    font-weight: 700;
    margin: 10px 0;
}

.contact .info-item p {
    padding: 0;
    line-height: 24px;
    font-size: 14px;
    margin-bottom: 0;
}

.contact .php-email-form {
    width: 100%;
    background: #fff;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.08);
    padding: 30px;
}

.contact .php-email-form .form-group {
    padding-bottom: 20px;
}

.contact .php-email-form .error-message {
    display: none;
    color: #fff;
    background: #df1529;
    text-align: left;
    padding: 15px;
    font-weight: 600;
}

.contact .php-email-form .error-message br + br {
    margin-top: 25px;
}

.contact .php-email-form .sent-message {
    display: none;
    color: #fff;
    background: #059652;
    text-align: center;
    padding: 15px;
    font-weight: 600;
}

.contact .php-email-form .loading {
    display: none;
    background: #fff;
    text-align: center;
    padding: 15px;
}

.contact .php-email-form .loading:before {
    content: "";
    display: inline-block;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    margin: 0 10px -6px 0;
    border: 3px solid #059652;
    border-top-color: #fff;
    animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
    border-radius: 0;
    box-shadow: none;
    font-size: 14px;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
    border-color: var(--color-primary);
}

.contact .php-email-form input {
    height: 44px;
}

.contact .php-email-form textarea {
    padding: 10px 12px;
}

.contact .php-email-form button[type="submit"] {
    background: var(--color-primary);
    border: 0;
    padding: 10px 35px;
    color: #fff;
    transition: 0.4s;
    border-radius: 5px;
}

.contact .php-email-form button[type="submit"]:hover {
    background: rgba(254, 185, 0, 0.8);
}

@keyframes animate-loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*--------------------------------------------------------------
# Recent Blog Posts Section
--------------------------------------------------------------*/
.recent-blog-posts .post-item {
    box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.06);
    transition: 0.3s;
}

.recent-blog-posts .post-item .post-img img {
    transition: 0.5s;
}

.recent-blog-posts .post-item .post-date {
    position: absolute;
    right: 0;
    bottom: 0;
    background-color: var(--color-primary);
    color: #fff;
    text-transform: uppercase;
    font-size: 13px;
    padding: 6px 12px;
    font-weight: 500;
}

.recent-blog-posts .post-item .post-content {
    padding: 30px;
}

.recent-blog-posts .post-item .post-title {
    font-size: 24px;
    color: var(--color-secondary);
    font-weight: 700;
    transition: 0.3s;
    margin-bottom: 15px;
}

.recent-blog-posts .post-item .meta i {
    font-size: 16px;
    color: var(--color-primary);
}

.recent-blog-posts .post-item .meta span {
    font-size: 15px;
    color: #838893;
}

.recent-blog-posts .post-item hr {
    color: #888;
    margin: 20px 0;
}

.recent-blog-posts .post-item .readmore {
    display: flex;
    align-items: center;
    font-weight: 600;
    line-height: 1;
    transition: 0.3s;
    color: #838893;
}

.recent-blog-posts .post-item .readmore i {
    line-height: 0;
    margin-left: 6px;
    font-size: 16px;
}

.recent-blog-posts .post-item:hover .post-title,
.recent-blog-posts .post-item:hover .readmore {
    color: var(--color-primary);
}

.recent-blog-posts .post-item:hover .post-img img {
    transform: scale(1.1);
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
    overflow-x: hidden;
    padding: 0;
}

.hero .carousel {
    width: 100%;
    min-height: 100vh;
    padding: 80px 0;
    margin: 0;

    position: relative;
}

.hero .Maincarousel {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    z-index: 1;
    transition-duration: 0.4s;
}

.hero .Maincarousel::before {
    content: "";
    background-color: rgba(0, 0, 0, 0.7);
    position: absolute;
    inset: 0;
}

.hero .Childcarousel {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    z-index: 1;
    transition-duration: 0.4s;
}
.hero .Childcarousel .Maincontenthero {
    width: 100%;
    height: 100%;
    display: flex;
    background-color: #ffffff;
    border-bottom: 1px rgba(0, 0, 0, 0.335) solid;
    justify-content: center;
    align-items: center;
}

.hero .Childcarousel .Maincontenthero .contenthero h2 {
    padding-bottom: 10px;
    font-size: 56px;
    font-weight: 700;
    opacity: 0;
}
.hero .Childcarousel .Maincontenthero .contenthero p {
    font-size: 18px;
    opacity: 0;
}
.hero .Childcarousel .Maincontenthero img {
    width: 50%;
    height: 100%;
    object-fit: cover;
}
/* btn */
.hero .Childcarousel .Maincontenthero .btn-get-started {
    height: 40px;
    width: 120px;
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.8s ease;
    position: relative;
    overflow: hidden;
    transition: all 300ms ease;
    padding: 0 4rem;
    margin-left: -0.1em;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
        rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;

    border-radius: 50px;
    border: 2px solid var(--color-primary);
}
.hero .Childcarousel .Maincontenthero .btn-get-started::before,
.hero .Childcarousel .Maincontenthero .btn-get-started::after {
    position: absolute;
    display: block;
    content: "";
    width: 100%;
    height: 100%;
}
.hero .Childcarousel .Maincontenthero .btn-get-started::after {
    width: 300%;
    height: 300%;
    left: -300%;
    transform: rotate(45deg);
    background-color: var(--color-primary);
    transition: all 300ms ease;
}
.hero .Childcarousel .Maincontenthero .btn-get-started:hover::after {
    left: -100%;
}
.hero .Childcarousel .Maincontenthero .btn-get-started h4 {
    font-family: var(--font-primary);
    font-weight: 500;
    margin: auto;
    font-size: 16px;
    color: var(--color-primary);
}
.hero .Childcarousel .Maincontenthero .btn-get-started:hover {
    border: 2px solid var(--color-primary);
}
.hero .Childcarousel .Maincontenthero .btn-get-started:hover h4 {
    color: #fff;
    z-index: 10;
    font-weight: 400;
}
.carousel .Childcarousel .contenthero {
    width: 50%;
    padding: 0 5rem;
}

.hero .info {
    position: absolute;
    inset: 0;
    z-index: 2;
}

@media (max-width: 768px) {
    .hero .info {
        padding: 0 50px;
    }
}

.hero .info h2 {
    color: #fff;
    margin-bottom: 30px;
    padding-bottom: 30px;
    font-size: 56px;
    font-weight: 700;
    opacity: 0;
    position: relative;
}

.hero .info h2:after {
    content: "";
    position: absolute;
    display: block;
    width: 80px;
    height: 4px;
    background: var(--color-primary);
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}

@media (max-width: 768px) {
    .hero .info h2 {
        font-size: 36px;
    }
    .hero .Childcarousel .Maincontenthero .contenthero h2 {
        font-size: 36px;
    }
    .hero .carousel {
        width: 100%;
        min-height: 100vh;
        margin: 0;
        position: relative;
    }
    .hero .Childcarousel .Maincontenthero {
        width: 100%;
        height: 100%;
        flex-wrap: wrap;
        background-color: #ffffff;
        border-bottom: 1px rgba(0, 0, 0, 0.335) solid;
    }
    .hero .Childcarousel .Maincontenthero .contenthero {
        width: 100%;
        padding: 2rem 1rem;
        order: 2;
        height: 50%;
        /* padding: 0 5rem; */
    }
    .hero .Childcarousel .Maincontenthero img {
        width: 100%;
        height: 50%;
        object-fit: cover;
    }
}

.hero .info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    opacity: 0;
}
.hero .info a {
    opacity: 0;
}

.hero .info .btn-get-started {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 12px 40px;
    border-radius: 50px;
    transition: 0.5s;
    margin: 10px;
    color: #fff;
    border: 2px solid var(--color-primary);
}

.hero .info .btn-get-started:hover {
    background: var(--color-primary);
}
/* animation */

.carousel .carousel-item.active h2,
.carousel .carousel-item.active p,
.carousel .carousel-item.active a {
    transform: translateY(30px);
    filter: blur(20px);
    animation: showContent 0.7s 0.5s ease-in-out 1 forwards;
}
.hero .carousel-item .info h2,
.hero .carousel-item .info p,
.hero .carousel-item .info a {
    opacity: 0;
}
.carousel .carousel-item.active h2 {
    animation-delay: 0.1s;
}
.carousel .carousel-item.active p {
    animation-duration: 0.5s;
}
.carousel .carousel-item.active a {
    animation-duration: 1s;
}
@keyframes showContent {
    to {
        transform: translateY(0);
        filter: blur(0);
        opacity: 1;
    }
}
.hero .carousel-control-prev {
    justify-content: start;
}

@media (min-width: 640px) {
    .hero .carousel-control-prev {
        padding-left: 15px;
    }
}

.hero .carousel-control-next {
    justify-content: end;
}

@media (min-width: 640px) {
    .hero .carousel-control-next {
        padding-right: 15px;
    }
}

.hero .carousel-control-next-icon,
.hero .carousel-control-prev-icon {
    background: none;
    font-size: 26px;
    line-height: 0;
    background: rgba(54, 54, 54, 0.663);
    color: rgba(174, 174, 174, 0.65);
    border-radius: 50px;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero .carousel-control-prev,
.hero .carousel-control-next {
    width: 5%;
    opacity: 0;
    z-index: 3;

    transition: 0.8s;
}

.hero .carousel-control-prev:focus,
.hero .carousel-control-next:focus {
    opacity: 0;
}

.hero .carousel-control-prev:hover,
.hero .carousel-control-next:hover {
    opacity: 0.9;
}

/*--------------------------------------------------------------
# Blog
--------------------------------------------------------------*/
.blog .blog-pagination {
    margin-top: 30px;
    color: #838893;
}

.blog .blog-pagination ul {
    display: flex;
    padding: 0;
    margin: 0;
    list-style: none;
}

.blog .blog-pagination li {
    margin: 0 5px;
    transition: 0.3s;
}

.blog .blog-pagination li a {
    color: var(--color-secondary);
    padding: 7px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog .blog-pagination li.active,
.blog .blog-pagination li:hover {
    background: var(--color-primary);
    color: #fff;
}

.blog .blog-pagination li.active a,
.blog .blog-pagination li:hover a {
    color: var(--color-white);
}

/*--------------------------------------------------------------
# Blog Posts List
--------------------------------------------------------------*/
.blog .posts-list .post-item {
    box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.06);
    transition: 0.3s;
}

.blog .posts-list .post-img img {
    transition: 0.5s;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.blog .posts-list .post-date {
    position: absolute;
    right: 0;
    bottom: 0;
    background-color: var(--color-primary);
    color: #fff;
    text-transform: uppercase;
    font-size: 13px;
    padding: 6px 12px;
    font-weight: 500;
}

.blog .posts-list .post-content {
    padding: 30px;
}

.blog .posts-list .post-title {
    font-size: 24px;
    color: var(--color-secondary);
    font-weight: 700;
    transition: 0.3s;
    margin-bottom: 15px;
}

.blog .posts-list .meta i {
    font-size: 16px;
    color: var(--color-primary);
}

.blog .posts-list .meta span {
    font-size: 15px;
    color: #838893;
}

.blog .posts-list p {
    margin-top: 20px;
}

.blog .posts-list hr {
    color: #888;
    margin-bottom: 20px;
}

.blog .posts-list .readmore {
    display: flex;
    align-items: center;
    font-weight: 600;
    line-height: 1;
    transition: 0.3s;
    color: #838893;
}

.blog .posts-list .readmore i {
    line-height: 0;
    margin-left: 6px;
    font-size: 16px;
}

.blog .posts-list .post-item:hover .post-title,
.blog .posts-list .post-item:hover .readmore {
    color: var(--color-primary);
}

.blog .posts-list .post-item:hover .post-img img {
    transform: scale(1.1);
}

/*--------------------------------------------------------------
# Blog Details
--------------------------------------------------------------*/
.blog .blog-details {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.blog .blog-details .post-img {
    margin: -30px -30px 20px -30px;
    overflow: hidden;
}

.blog .blog-details .title {
    font-size: 28px;
    font-weight: 700;
    padding: 0;
    margin: 20px 0 0 0;
    color: var(--color-secondary);
}

.blog .blog-details .content {
    margin-top: 20px;
}

.blog .blog-details .content h3 {
    font-size: 22px;
    margin-top: 30px;
    font-weight: bold;
}

.blog .blog-details .content blockquote {
    overflow: hidden;
    background-color: rgba(82, 86, 94, 0.06);
    padding: 60px;
    position: relative;
    text-align: center;
    margin: 20px 0;
}

.blog .blog-details .content blockquote p {
    color: var(--color-default);
    line-height: 1.6;
    margin-bottom: 0;
    font-style: italic;
    font-weight: 500;
    font-size: 22px;
}

.blog .blog-details .content blockquote:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: var(--color-primary);
    margin-top: 20px;
    margin-bottom: 20px;
}

.blog .blog-details .meta-top {
    margin-top: 20px;
    color: #6c757d;
}

.blog .blog-details .meta-top ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    align-items: center;
    padding: 0;
    margin: 0;
}

.blog .blog-details .meta-top ul li + li {
    padding-left: 20px;
}

.blog .blog-details .meta-top i {
    font-size: 16px;
    margin-right: 8px;
    line-height: 0;
    color: var(--color-primary);
}

.blog .blog-details .meta-top a {
    color: #6c757d;
    font-size: 14px;
    display: inline-block;
    line-height: 1;
    transition: 0.3s;
}

.blog .blog-details .meta-top a:hover {
    color: var(--color-primary);
}

.blog .blog-details .meta-bottom {
    padding-top: 10px;
    border-top: 1px solid rgba(82, 86, 94, 0.15);
}

.blog .blog-details .meta-bottom i {
    color: #838893;
    display: inline;
}

.blog .blog-details .meta-bottom a {
    color: rgba(82, 86, 94, 0.8);
    transition: 0.3s;
}

.blog .blog-details .meta-bottom a:hover {
    color: var(--color-primary);
}

.blog .blog-details .meta-bottom .cats {
    list-style: none;
    display: inline;
    padding: 0 20px 0 0;
    font-size: 14px;
}

.blog .blog-details .meta-bottom .cats li {
    display: inline-block;
}

.blog .blog-details .meta-bottom .tags {
    list-style: none;
    display: inline;
    padding: 0;
    font-size: 14px;
}

.blog .blog-details .meta-bottom .tags li {
    display: inline-block;
}

.blog .blog-details .meta-bottom .tags li + li::before {
    padding-right: 6px;
    color: var(--color-default);
    content: ",";
}

.blog .blog-details .meta-bottom .share {
    font-size: 16px;
}

.blog .blog-details .meta-bottom .share i {
    padding-left: 5px;
}

.blog .post-author {
    padding: 20px;
    margin-top: 30px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog .post-author img {
    max-width: 120px;
    margin-right: 20px;
}

.blog .post-author h4 {
    font-weight: 600;
    font-size: 22px;
    margin-bottom: 0px;
    padding: 0;
    color: var(--color-secondary);
}

.blog .post-author .social-links {
    margin: 0 10px 10px 0;
}

.blog .post-author .social-links a {
    color: rgba(82, 86, 94, 0.5);
    margin-right: 5px;
}

.blog .post-author p {
    font-style: italic;
    color: rgba(108, 117, 125, 0.8);
    margin-bottom: 0;
}

/*--------------------------------------------------------------
# Blog Sidebar
--------------------------------------------------------------*/
.blog .sidebar {
    padding: 30px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog .sidebar .sidebar-title {
    font-size: 20px;
    font-weight: 700;
    padding: 0;
    margin: 0;
    color: var(--color-secondary);
}

.blog .sidebar .sidebar-item + .sidebar-item {
    margin-top: 40px;
}

.blog .sidebar .search-form form {
    background: #fff;
    border: 1px solid rgba(82, 86, 94, 0.3);
    padding: 3px 10px;
    position: relative;
}

.blog .sidebar .search-form form input[type="text"] {
    border: 0;
    padding: 4px;
    border-radius: 4px;
    width: calc(100% - 40px);
}

.blog .sidebar .search-form form input[type="text"]:focus {
    outline: none;
}

.blog .sidebar .search-form form button {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    border: 0;
    background: none;
    font-size: 16px;
    padding: 0 15px;
    margin: -1px;
    background: var(--color-primary);
    color: var(--color-secondary);
    transition: 0.3s;
    border-radius: 0 4px 4px 0;
    line-height: 0;
}

.blog .sidebar .search-form form button i {
    line-height: 0;
}

.blog .sidebar .search-form form button:hover {
    background: rgba(254, 185, 0, 0.8);
}

.blog .sidebar .categories ul {
    list-style: none;
    padding: 0;
}

.blog .sidebar .categories ul li + li {
    padding-top: 10px;
}

.blog .sidebar .categories ul a {
    color: var(--color-secondary);
    transition: 0.3s;
}

.blog .sidebar .categories ul a:hover {
    color: var(--color-default);
}

.blog .sidebar .categories ul a span {
    padding-left: 5px;
    color: rgba(54, 77, 89, 0.4);
    font-size: 14px;
}

.blog .sidebar .recent-posts .post-item {
    display: flex;
}

.blog .sidebar .recent-posts .post-item + .post-item {
    margin-top: 15px;
}

.blog .sidebar .recent-posts img {
    max-width: 80px;
    margin-right: 15px;
}

.blog .sidebar .recent-posts h4 {
    font-size: 15px;
    font-weight: bold;
}

.blog .sidebar .recent-posts h4 a {
    color: var(--color-secondary);
    transition: 0.3s;
}

.blog .sidebar .recent-posts h4 a:hover {
    color: var(--color-primary);
}

.blog .sidebar .recent-posts time {
    display: block;
    font-style: italic;
    font-size: 14px;
    color: rgba(54, 77, 89, 0.4);
}

.blog .sidebar .tags {
    margin-bottom: -10px;
}

.blog .sidebar .tags ul {
    list-style: none;
    padding: 0;
}

.blog .sidebar .tags ul li {
    display: inline-block;
}

.blog .sidebar .tags ul a {
    color: #838893;
    font-size: 14px;
    padding: 6px 14px;
    margin: 0 6px 8px 0;
    border: 1px solid rgba(131, 136, 147, 0.4);
    display: inline-block;
    transition: 0.3s;
}

.blog .sidebar .tags ul a:hover {
    color: var(--color-secondary);
    border: 1px solid var(--color-primary);
    background: var(--color-primary);
}

.blog .sidebar .tags ul a span {
    padding-left: 5px;
    color: rgba(131, 136, 147, 0.8);
    font-size: 14px;
}

/*--------------------------------------------------------------
# Blog Comments
--------------------------------------------------------------*/
.blog .comments {
    margin-top: 30px;
}

.blog .comments .comments-count {
    font-weight: bold;
}

.blog .comments .comment {
    margin-top: 30px;
    position: relative;
}

.blog .comments .comment .comment-img {
    margin-right: 14px;
}

.blog .comments .comment .comment-img img {
    width: 60px;
}

.blog .comments .comment h5 {
    font-size: 16px;
    margin-bottom: 2px;
}

.blog .comments .comment h5 a {
    font-weight: bold;
    color: var(--color-default);
    transition: 0.3s;
}

.blog .comments .comment h5 a:hover {
    color: var(--color-primary);
}

.blog .comments .comment h5 .reply {
    padding-left: 10px;
    color: var(--color-secondary);
}

.blog .comments .comment h5 .reply i {
    font-size: 20px;
}

.blog .comments .comment time {
    display: block;
    font-size: 14px;
    color: rgba(82, 86, 94, 0.8);
    margin-bottom: 5px;
}

.blog .comments .comment.comment-reply {
    padding-left: 40px;
}

.blog .comments .reply-form {
    margin-top: 30px;
    padding: 30px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog .comments .reply-form h4 {
    font-weight: bold;
    font-size: 22px;
}

.blog .comments .reply-form p {
    font-size: 14px;
}

.blog .comments .reply-form input {
    border-radius: 4px;
    padding: 10px 10px;
    font-size: 14px;
}

.blog .comments .reply-form input:focus {
    box-shadow: none;
    border-color: rgba(254, 185, 0, 0.8);
}

.blog .comments .reply-form textarea {
    border-radius: 4px;
    padding: 10px 10px;
    font-size: 14px;
}

.blog .comments .reply-form textarea:focus {
    box-shadow: none;
    border-color: rgba(254, 185, 0, 0.8);
}

.blog .comments .reply-form .form-group {
    margin-bottom: 25px;
}

.blog .comments .reply-form .btn-primary {
    border-radius: 4px;
    padding: 10px 20px;
    border: 0;
    background-color: var(--color-secondary);
}

.blog .comments .reply-form .btn-primary:hover {
    color: var(--color-secondary);
    background-color: var(--color-primary);
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
    color: #fff;
    background: url("../img/footer-bg.jpg") top center no-repeat;
    background-size: cover;
    font-size: 14px;
    padding: 80px 0 60px 0;
   
}

.footer:before {
    content: "";
    background: rgba(0, 0, 0, 0.8);
    position: absolute;
    inset: 0;
}

.footer .footer-content .footer-info {
    margin-bottom: 30px;
}

.footer .footer-content .footer-info h3 {
    font-size: 28px;
    margin: 0 0 20px 0;
    padding: 2px 0 2px 0;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
}

.footer .footer-content .footer-info h3 span {
    color: var(--color-primary);
}

.footer .footer-content .footer-info p {
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 0;
    font-family: var(--font-primary);
    color: #fff;
}

.footer .footer-content .social-links a {
    font-size: 18px;
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    line-height: 1;
    margin-right: 8px;
    border-radius: 4px;
    width: 36px;
    height: 36px;
    transition: 0.3s;
}

.footer .footer-content .social-links a:hover {
    background: var(--color-primary);
    text-decoration: none;
}

.footer .footer-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    position: relative;
    padding-bottom: 12px;
}

.footer .footer-content .footer-links {
    margin-bottom: 30px;
}

.footer .footer-content .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer .footer-content .footer-links ul li {
    padding: 8px 0;
}

.footer .footer-content .footer-links ul li:first-child {
    padding-top: 0;
}

.footer .footer-content .footer-links ul a {
    color: rgba(255, 255, 255, 0.6);
    transition: 0.3s;
    display: inline-block;
    line-height: 1;
}

.footer .footer-content .footer-links ul a:hover {
    color: #fff;
}

.footer .footer-legal .copyright {
    padding-top: 30px;
    font-size: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer .footer-legal .credits {
    padding-top: 4px;
    font-size: 13px;
    color: #fff;
}

.footer .footer-legal .credits a {
    color: var(--color-primary);
}

.img-size {
    width: 1024px;
    height: 768px;
}

.body1 {
    margin: 0;
    padding: 0;
    min-height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: consolas;
}

.container1 {
    width: 1000px;
    position: relative;
    display: flex;
    justify-content: space-between;
}
.btn-get-started {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 12px 40px;
    border-radius: 50px;
    transition: 0.5s;
    margin: 10px;
    text-align: center;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-get-started:hover {
    background: var(--color-primary);
    color: white;
}
.container1 .card {
    position: relative;
    cursor: pointer;
}

.container1 .card .face {
    width: 100%;
    height: 200px;
    transition: 0.5s;
}

.container1 .card .face.face1 {
    position: relative;
    background: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    transform: translateY(100px);
}

.container1 .card:hover .face.face1 {
    background: #ff0000;
    transform: translateY(0);
}

.container1 .card .face.face1 .content {
    opacity: 0.2;
    transition: 0.5s;
}

.container1 .card:hover .face.face1 .content {
    opacity: 1;
}

.container1 .card .face.face1 .content img {
    max-width: 100px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.container1 .card .face.face1 .content h3 {
    margin: 10px 0 0;
    padding: 0;
    color: #f5f6f7;
    text-align: center;
    font-size: 1.5em;
}

.container1 .card .face.face2 {
    position: relative;
    background: #f5f6f7;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    transform: translateY(-100px);
}

.container1 .card:hover .face.face2 {
    transform: translateY(0);
}

.container1 .card .face.face2 .content p {
    margin: 0;
    padding: 0;
}

.container1 .card .face.face2 .content a {
    margin: 15px 0 0;
    display: inline-block;
    text-decoration: none;
    font-weight: 900;
    color: #333;
    padding: 5px;
    border: 1px solid #333;
}

.container1 .card .face.face2 .content a:hover {
    background: #333;
    color: #f5f6f7;
}

.btn-add {
    padding: 8px 40px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 50px;
    transition: 0.3s;
}

.btn-add:hover {
    background: #990000;
}

.sidebars {
    background-color: transparent;
}

.sidebars .sidebar-title {
    font-size: 20px;
    font-weight: 700;
    padding: 0;
    margin: 0;
    color: var(--color-secondary);
}

.sidebars .sidebar-item + .sidebar-item {
    margin-top: 0px;
}

.sidebars .search-form form {
    width: 23em;
    background: #fff;
    border: 1px solid rgba(82, 86, 94, 0.3);
    border-radius: 4px;
    padding: 0.5em;
    position: relative;
}

.sidebars .search-form form input[type="text"] {
    border: 0;
    border-radius: 4px;
    width: calc(100% - 40px);
}

.sidebars .search-form form input[type="text"]:focus {
    outline: none;
}

.sidebars .search-form form button {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    border: 0;
    background: none;
    font-size: 16px;
    padding: 0 15px;
    margin: -1px;
    background: var(--color-primary);
    color: var(--color-secondary);
    transition: 0.3s;
    border-radius: 0 4px 4px 0;
    line-height: 0;
}

.sidebars .search-form form button i {
    line-height: 0;
}

.sidebars .search-form form button:hover {
    background: rgba(162, 0, 0, 0.8);
}

/* carouselcard */
.carouselsmanage {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.carouselsmanage .carouselscard {
    width: 45%;
    height: 20em;
    border-radius: 0.8em;
    box-shadow: 20px 20px 60px #d7d7d7, -20px -20px 60px #ffffff;
    margin: 2em 1em;
    display: flex;
    flex-wrap: nowrap;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.carouselsmanage .shadow {
    color: white;
}
.carouselsmanage .shadow .conten {
    align-items: center;
    text-align: center;
    justify-content: center;
}
.carouselsmanage .shadow::before {
    content: "";
    background-color: rgba(0, 0, 0, 0.7);
    position: absolute;
    inset: 0;
}
.carouselsmanage .carouselscard .conten {
    display: flex;
    flex-wrap: wrap;
    width: 50%;
    overflow: hidden;
    padding: 1em;
    align-items: center;
    height: 100%;
    position: relative;
}
.carouselsmanage .carouselscard .conten h2 {
    font-size: 1.5em;
}
.carouselsmanage .carouselscard .conten p {
    font-size: 0.8em;
}
.carouselsmanage .carouselscard .conten button a h4 {
    font-size: 0.4em;
    margin: 0;
    padding: 0.2em;
}
.carouselsmanage .carouselscard .img {
    width: 50%;
    overflow: hidden;
    height: 100%;
    border-radius: 0.8em;
    display: flex;
    justify-content: center;
    align-items: center;
}
.carouselsmanage .carouselscard .img img {
    object-fit: cover;
}

.carouselsmanage .carouselscard .info {
    position: absolute;
    top: 0;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    padding: 20px;
    color: #fff;
    text-align: center;
    transition: 0.5s;
    opacity: 0;
}
.carouselsmanage .carouselscard .info:hover {
    opacity: 100;
}
.carouselsmanage .carouselscard .info .button {
    margin: auto;
    display: flex;
    align-items: center;
}
.carouselsmanage .carouselscard .info button {
    font-family: inherit;
    font-size: 20px;
    background: lightgreen;
    margin: auto;
    color: white;
    fill: rgb(255, 255, 255);
    padding: 0.4em 0.8em;
    display: flex;
    align-items: center;
    cursor: pointer;
    border: none;
    border-radius: 10px;
    font-weight: 1000;
}
.carouselsmanage .carouselscard .info .button:last-child button {
    background: var(--color-primary);
}
.carouselsmanage .carouselscard .info button span {
    display: block;
    margin-left: 0.3em;
    transition: all 0.3s ease-in-out;
}

.carouselsmanage .carouselscard button svg {
    display: block;
    transform-origin: center center;
    transition: transform 0.3s ease-in-out;
}

.carouselsmanage .carouselscard .info button:hover {
    background: lightgreen;
}
.carouselsmanage .carouselscard .info .button:last-child:hover button {
    background: var(--color-primary);
}
.carouselsmanage .carouselscard.info button:hover .svg-wrapper {
    transform: scale(1.25);
    transition: 0.5s linear;
}

.carouselsmanage .carouselscard button:hover svg {
    transform: translateX(1.2em) scale(1.1);
}
.carouselsmanage .carouselscard .info .button:last-child:hover button svg {
    transform: translateX(1.8em) scale(1.1);
}

.carouselsmanage .carouselscard .info button:hover span {
    opacity: 0;
    transition: 0.5s linear;
}

.carouselsmanage .carouselscard .info button:active {
    transform: scale(0.95);
}

/* Add carousels */
@import url("https://fonts.googleapis.com/css?family=Montserrat:400,800");

* {
    box-sizing: border-box;
}

.projectscarousels {
    /* background: #f3e0e2; */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    font-family: "Montserrat", sans-serif;
    width: 100%;
}

.projectscarousels h1 {
    font-weight: bold;
    margin: 0;
}

.projectscarousels span {
    font-size: 12px;
    margin-bottom: 2em;
}

.projectscarousels a {
    color: #333;
    font-size: 14px;
    text-decoration: none;
    margin: 15px 0;
}

.projectscarousels button {
    border-radius: 20px;
    border: 1px solid var(--color-primary);
    background-color: var(--color-primary);
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
    padding: 12px 45px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: 0.3s ease-in;
    margin-top: 2em;
}
.projectscarousels button:hover {
    background-color: var(--color-secondary);
    border: 1px solid white;
}

.projectscarousels form {
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 50px;
    height: 100%;
    text-align: center;
}

.projectscarousels input {
    background-color: #eee;
    border: none;
    padding: 12px 15px;
    margin: 8px 0;
    width: 100%;
}

.projectscarousels textarea {
    background-color: #eee;
    border: none;
    padding: 12px 15px;
    margin: 8px 0;
    width: 100%;
}
.projectscarousels .container {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    margin: 2% 10%;
    /* flex-direction: column-reverse; */
    padding: 0;

    /* max-width: 100%; */
    /* height: 600px; */
}

.projectscarousels .form-container {
    width: 50%;
    padding: 2em 0.5em;
}

.projectscarousels .overlay-container {
    margin: 0;
    padding: 0;
    width: 50%;
}

.projectscarousels .overlay {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 0 0;
    color: #ffffff;
    /* position: relative; */
    /* left: -100%; */
    height: 100%;
    width: 100%;
}

.projectscarousels .overlay-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
}
.projectscarousels .form-container label {
    display: flex;
    align-items: center;
    justify-content: left;
    width: 100%;
    font-size: 0.9em;
    font-weight: 400;
}
.projectscarousels .form-container select {
    background-color: #eee;
    border: none;
    padding: 12px 15px;
    margin: 8px 0;
    width: 100%;
}

@media screen and (max-width: 900px) {
    .carouselsmanage .carouselscard {
        width: 80%;
        height: 28em;
        margin: 0.5em 2.3em;
        flex-wrap: wrap;
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
    }
    .carouselsmanage .carouselscard .conten {
        width: 100%;
        height: 50%;
    }
    .carouselsmanage .carouselscard .img {
        width: 100%;
        height: 50%;
    }
    .projectscarousels .container {
        background-color: #fff;
        border-radius: 10px;
        box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25),
            0 10px 10px rgba(0, 0, 0, 0.22);
        position: relative;
        overflow: hidden;
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        margin: 10%;
        flex-direction: column-reverse;
        padding: 0;

        /* max-width: 100%; */
        /* height: 600px; */
    }

    .projectscarousels .form-container {
        width: 100%;
        padding: 2em 0.5em;
    }

    .projectscarousels .overlay-container {
        height: 15em;
        margin: 0;
        padding: 0;
        width: 100%;
    }
}

/* <!-- start About proker --> */

.left {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.right {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.scroll-images {
    position: relative;
    width: 100%;
    padding: 40px 0px;
    height: auto;
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    overflow-x: hidden;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.scroll-images::-webkit-scrollbar {
    width: 5px;
    height: 8px;
    background-color: #aaa;
}

.scroll-images::-webkit-scrollbar-thumb {
    background-color: black;
}
.cover {
    position: relative;
    padding: 0px 30px;
}
.cover button {
    background-color: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 25px;
}
/* .wrapper */
.wrapper .boxx {
    float: left;
    width: 250px;
    shape-outside: margin-box;
    shape-margin: 20px;
    margin-right: 20px;
    margin-bottom: 20px;
}
.item {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 34em;
    height: 24em;
    filter: grayscale(100%);
    /* margin: 1px 2em; */
}
.cover .polaroid img {
    width: 32em;
    height: 20em;
}
.polaroid {
    background: #fff;
    padding: 1rem;
    width: 34em;
    box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.2);
}

.caption {
    font-size: 1.125rem;
    text-align: center;
    line-height: 2em;
}

@media screen and (max-width: 968px) {
    .item {
        width: 16em;
        height: 16em;
    }
    .polaroid {
        width: 16em;
    }
    .cover .polaroid img {
        width: 14em;
        height: 10em;
    }
    .cover .item .polaroid .text {
        max-width: 16em;
        padding: 0.5em;
    }
    .cover .text ul li {
        font-size: 0.8em;
    }
    .cover h4 {
        font-size: 1em;
    }
    .cover .item .polaroid .caption {
        font-size: 1em;
    }
    .scroll-images {
        justify-content: space-between;
        height: 50vh;
        align-items: center;
    }
}

.item .polaroid:before {
    content: "";
    position: absolute;
    z-index: -1;
    transition: all 0.35s;
}

.item:nth-of-type(4n + 1) {
    transform: scale(0.8, 0.8) rotate(5deg);
    transition: all 0.35s;
}

.item:nth-of-type(4n + 1) .polaroid:before {
    transform: rotate(6deg);
    height: 20%;
    width: 47%;
    bottom: 30px;
    right: 12px;
    box-shadow: 0 2.1rem 2rem rgba(0, 0, 0, 0.4);
}

.item:nth-of-type(4n + 2) {
    transform: scale(0.8, 0.8) rotate(-5deg);
    transition: all 0.35s;
}

.item:nth-of-type(4n + 2) .polaroid:before {
    transform: rotate(-6deg);
    height: 20%;
    width: 47%;
    bottom: 30px;
    left: 12px;
    box-shadow: 0 2.1rem 2rem rgba(0, 0, 0, 0.4);
}

.item:nth-of-type(4n + 4) {
    transform: scale(0.8, 0.8) rotate(3deg);
    transition: all 0.35s;
}

.item:nth-of-type(4n + 4) .polaroid:before {
    transform: rotate(4deg);
    height: 20%;
    width: 47%;
    bottom: 30px;
    right: 12px;
    box-shadow: 0 2.1rem 2rem rgba(0, 0, 0, 0.3);
}

.item:nth-of-type(4n + 3) {
    transform: scale(0.8, 0.8) rotate(-3deg);
    transition: all 0.35s;
}

.item:nth-of-type(4n + 3) .polaroid:before {
    transform: rotate(-4deg);
    height: 20%;
    width: 47%;
    bottom: 30px;
    left: 12px;
    box-shadow: 0 2.1rem 2rem rgba(0, 0, 0, 0.3);
}

.cover .item:hover {
    filter: none;
    transform: scale(1, 1) rotate(0deg) !important;
    transition: all 0.35s;
}
.cover .text {
    backdrop-filter: blur(50px);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    padding: 0.8em;
    border-radius: 5px;
    font-size: 0.8em;
    width: 28em;
    opacity: 0;
    transition: opacity 1s ease-in-out; /* transisi untuk opasitas */
}

.cover .item:hover .text {
    opacity: 1;
}
.item:hover .polaroid:before {
    content: "";
    position: absolute;
    z-index: -1;
    transform: rotate(0deg);
    height: 90%;
    width: 90%;
    bottom: 0%;
    right: 5%;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.2);
    transition: all 0.35s;
}

/* Login & Register Button Styling */
    .navbar .login-btn,
    .navbar .register-btn {
        padding: 8px 20px;
        border-radius: 25px;
        font-weight: 600;
        font-size: 13px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border: 2px solid transparent;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        position: relative;
        overflow: hidden;
    }

    .navbar .login-btn {
        background: linear-gradient(135deg, 
            rgba(255, 255, 255, 0.2) 0%, 
            rgba(255, 255, 255, 0.1) 100%);
        color: rgba(0, 0, 0, 0.8);
        border-color: rgba(255, 255, 255, 0.3);
        box-shadow: 0 4px 12px rgba(31, 38, 135, 0.2);
    }

    .navbar .register-btn {
        background: linear-gradient(135deg, 
            var(--color-primary) 0%, 
            #ff3333 100%);
        color: white;
        border-color: var(--color-primary);
        box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
    }

    .navbar .login-btn:hover {
        background: linear-gradient(135deg, 
            rgba(255, 255, 255, 0.4) 0%, 
            rgba(255, 255, 255, 0.3) 100%);
        color: var(--color-primary);
        border-color: var(--color-primary);
        transform: translateY(-2px) scale(1.05);
        box-shadow: 0 8px 20px rgba(255, 0, 0, 0.3);
    }

    .navbar .register-btn:hover {
        background: linear-gradient(135deg, 
            #ff3333 0%, 
            #ff0000 100%);
        transform: translateY(-2px) scale(1.05);
        box-shadow: 0 8px 20px rgba(255, 0, 0, 0.5);
    }

    .navbar .login-btn::before,
    .navbar .register-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, 
            transparent, 
            rgba(255, 255, 255, 0.4), 
            transparent);
        transition: left 0.5s ease;
    }

    .navbar .login-btn:hover::before,
    .navbar .register-btn:hover::before {
        left: 100%;
    }
/* Organizational Structure Layout */
.org-level {
    margin-bottom: 40px;
}

.org-level.level-4 {
    margin-top: 60px;
}

.level-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 40px;
}

/* Bidang Container - Horizontal Layout */
.org-level.level-4 {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.org-level.level-4 .level-title {
    width: 100%;
    margin-bottom: 30px;
}

/* Bidang Sections Container */
.bidang-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    width: 100%;
    max-width: 1200px;
}

/* Individual Bidang Section - Vertical Layout */
.bidang-section {
    flex: 1;
    min-width: 180px;
    max-width: 200px;
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.bidang-title {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-primary);
}

/* Bidang Members - Vertical Stack */
.bidang-row {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

/* Individual Bidang Card */
.bidang-card {
    width: 100%;
    text-align: center;
}

.bidang-card .card-photo {
    width: 100px;
    height: 100px;
    margin: 0 auto 10px auto;
}

.bidang-card .card-info h4 {
    font-size: 14px;
    margin-bottom: 5px;
    color: var(--color-secondary);
}

.bidang-card .card-info .position {
    font-size: 12px;
    color: #666;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .bidang-container {
        gap: 20px;
    }
    
    .bidang-section {
        min-width: 160px;
        max-width: 180px;
    }
}

@media (max-width: 768px) {
    .bidang-container {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .bidang-section {
        min-width: 250px;
        max-width: 300px;
    }
    
    .bidang-card .card-photo {
        width: 80px;
        height: 80px;
    }
}
