@import url("https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700,800");

:root {
    --primary-color: #F49320;
    --primary-color-lighter: #FAA74F;
    --title-color: #0887EF;
    --text-color: #677284;
    --text-warning-color: #f00;
    --section-bg-color: #F7F7FD;
    --white-color: #fff;
    --black-color: #000;
    --overlay-color: #000000C9;
    --overlay-color-light: #00000055;
    --form-input-border: 1px solid var(--text-color);
    --form-input-border-focused: 1px solid var(--primary-color);
    --box-shadow-color: rgba(0, 0, 0, 0.1);
    --grid-gap: 20px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    font-weight: normal;
    font-style: normal;
    color: var(--text-color);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    max-width: 100%;
}

a:focus, input:focus, textarea:focus, button:focus {
    text-decoration: none;
    outline: none;
}

a:focus, a:hover {
    text-decoration: none;
}

i, span, a {
    display: inline-block;
}

a, a:hover {
    color: var(--primary-color);
    text-decoration: none;
    background-color: transparent;
}

img, svg {
    vertical-align: middle;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Poppins", sans-serif;
    color: var(--title-color);
    margin: 0;
}

h1 {
    font-size: clamp(32px, 4vw, 48px);
}

h2 {
    font-size: clamp(28px, 3.5vw, 36px);
}

h3 {
    font-size: clamp(22px, 2.8vw, 28px);
}

h4 {
    font-size: clamp(18px, 2.2vw, 22px);
}

h5 {
    font-size: clamp(16px, 1.8vw, 18px);
}

h6 {
    font-size: clamp(14px, 1.5vw, 16px);
}

ul, ol {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

p {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: var(--text-color);
    margin: 0;
}

.paragraphs {
    white-space: pre-line;
}

.ss-center-v {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ss-center-h {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.ss-center-vh {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.ss-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ss-right-h {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.ss-container {
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(20px, 3vw, 48px);;
    padding-right: clamp(20px, 3vw, 48px);;

    @media (min-width: 768px) {
        width: 750px;
    }

    @media (min-width: 992px) {
        width: 970px;
    }

    @media (min-width: 1200px) {
        width: 1170px;
    }

    .ss-row {
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        grid-gap: var(--grid-gap);

        > * {
            grid-column: span 12;
        }

        .ss-col-xs-12 {
            grid-column: span 12
        }

        .ss-col-xs-11 {
            grid-column: span 11;
        }

        .ss-col-xs-10 {
            grid-column: span 10
        }

        .ss-col-xs-9 {
            grid-column: span 9
        }

        .ss-col-xs-8 {
            grid-column: span 8
        }

        .ss-col-xs-7 {
            grid-column: span 7
        }

        .ss-col-xs-6 {
            grid-column: span 6
        }

        .ss-col-xs-5 {
            grid-column: span 5
        }

        .ss-col-xs-4 {
            grid-column: span 4
        }

        .ss-col-xs-3 {
            grid-column: span 3
        }

        .ss-col-xs-2 {
            grid-column: span 2
        }

        .ss-col-xs-1 {
            grid-column: span 1
        }

        @media (min-width: 768px) {
            .ss-col-sm-12 {
                grid-column: span 12
            }

            .ss-col-sm-11 {
                grid-column: span 11;
            }

            .ss-col-sm-10 {
                grid-column: span 10
            }

            .ss-col-sm-9 {
                grid-column: span 9
            }

            .ss-col-sm-8 {
                grid-column: span 8
            }

            .ss-col-sm-7 {
                grid-column: span 7
            }

            .ss-col-sm-6 {
                grid-column: span 6
            }

            .ss-col-sm-5 {
                grid-column: span 5
            }

            .ss-col-sm-4 {
                grid-column: span 4
            }

            .ss-col-sm-3 {
                grid-column: span 3
            }

            .ss-col-sm-2 {
                grid-column: span 2
            }

            .ss-col-sm-1 {
                grid-column: span 1
            }
        }

        @media (min-width: 992px) {
            .ss-col-md-12 {
                grid-column: span 12
            }

            .ss-col-md-11 {
                grid-column: span 11;
            }

            .ss-col-md-10 {
                grid-column: span 10
            }

            .ss-col-md-9 {
                grid-column: span 9
            }

            .ss-col-md-8 {
                grid-column: span 8
            }

            .ss-col-md-7 {
                grid-column: span 7
            }

            .ss-col-md-6 {
                grid-column: span 6
            }

            .ss-col-md-5 {
                grid-column: span 5
            }

            .ss-col-md-4 {
                grid-column: span 4
            }

            .ss-col-md-3 {
                grid-column: span 3
            }

            .ss-col-md-2 {
                grid-column: span 2
            }

            .ss-col-md-1 {
                grid-column: span 1
            }
        }

        @media (min-width: 1200px) {
            .ss-col-lg-12 {
                grid-column: span 12
            }

            .ss-col-lg-11 {
                grid-column: span 11;
            }

            .ss-col-lg-10 {
                grid-column: span 10
            }

            .ss-col-lg-9 {
                grid-column: span 9
            }

            .ss-col-lg-8 {
                grid-column: span 8
            }

            .ss-col-lg-7 {
                grid-column: span 7
            }

            .ss-col-lg-6 {
                grid-column: span 6
            }

            .ss-col-lg-5 {
                grid-column: span 5
            }

            .ss-col-lg-4 {
                grid-column: span 4
            }

            .ss-col-lg-3 {
                grid-column: span 3
            }

            .ss-col-lg-2 {
                grid-column: span 2
            }

            .ss-col-lg-1 {
                grid-column: span 1
            }
        }
    }
}

.color-overlay {
    z-index: 0;

    &::before {
        position: absolute;
        content: '';
        background-color: var(--overlay-color);
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        z-index: -1;
    }
}

.color-overlay-focus {

    &::before {
        position: absolute;
        content: '';
        background-color: var(--overlay-color-light);
        width: 0;
        height: 100%;
        left: 0;
        top: 0;
        transition: .5s ease;
    }

    &:hover, &:focus {
        z-index: 0;

        &::before {
            width: 100%;
        }
    }
}

#body_content {
    display: flex;
    flex-direction: column;
    gap: 120px;

    section.bg-image {
        position: relative;
        padding: 120px 0;
        background-image: url(/static/images/pexels-interior.jpg);
        background-position: center center;
        background-size: cover;
        background-repeat: no-repeat;
        background-attachment: fixed;

        p, span {
            color: var(--white-color);
        }
    }
}

.bg_cover {
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
}

.main-btn {
    display: inline-block;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 0;
    padding: 0 40px;
    font-size: 16px;
    line-height: 48px;
    border-radius: 5px;
    color: var(--white-color);
    cursor: pointer;
    z-index: 5;
    transition: all 0.4s ease-out 0s;
    background-color: var(--primary-color);

    &:hover {
        background-color: var(--primary-color-lighter);
        color: var(--white-color);
    }

    &.main-btn-2 {
        background-color: var(--white-color);
        color: var(--primary-color);
        border-color: var(--primary-color);

        &:hover {
            background-color: var(--primary-color);
            border-color: var(--primary-color);
            color: var(--white-color);
        }
    }
}

.section-title {
    margin-bottom: 3rem;

    &.section-title-2 * {
        color: var(--white-color);
    }
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99;
    transition: all 0.3s ease-out 0s;
    background-color: var(--overlay-color);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 30px;

    &.light {
        background-color: unset;
    }

    .logo {
        padding: 0;

        img {
            width: 150px;
            display: block;
        }
    }

    #nav-toggle {
        display: none;

        &:checked ~ ul {
            height: 100vh;

            label.hamburger {
                .toggler-icon:nth-of-type(1) {
                    transform: rotate(45deg);
                    top: 7px;
                }

                .toggler-icon:nth-of-type(2) {
                    opacity: 0;
                }

                .toggler-icon:nth-of-type(3) {
                    transform: rotate(135deg);
                    top: -7px;
                }
            }

            li:not(:first-child) {
                display: flex;
            }
        }
    }

    label.hamburger {
        padding: 0;
        cursor: pointer;

        .toggler-icon {
            width: 30px;
            height: 2px;
            background-color: var(--white-color);
            display: block;
            margin: 5px 0;
            position: relative;
            transition: all 0.3s ease-out 0s;
        }
    }

    ul#main-nav {
        display: flex;
        flex-direction: row;
        gap: 40px;
        margin-top: calc((90px - 44px) / 2);
        height: fit-content;

        > li {
            &:first-child {
                display: none;
            }

            a, label {
                font-size: 16px;
                font-weight: 400;
                color: var(--white-color);
                transition: all 0.3s ease-out 0s;
                padding: 10px 0;
                position: relative;
                display: inline-block;
                cursor: pointer;

                @media (max-width: 991px) {
                    display: block;
                    padding: 4px 0;
                }

                &::before {
                    position: absolute;
                    content: '';
                    bottom: 0;
                    left: 0;
                    width: 0;
                    height: 3px;
                    background-color: var(--primary-color);
                    transition: all 0.3s ease-out 0s;

                    @media (max-width: 991px) {
                        display: none;
                    }
                }
            }

            &.active, &:hover {
                > a, > label {
                    color: var(--primary-color);
                }

                > a::before, > label::before {
                    width: 100%;
                }
            }

            &.portfolio-menu {
                width: 90px;

                .sub-menu {
                    display: none;
                    width: 250px;
                }

                #sub-menu-toggle {
                    display: none;

                    &:checked ~ .sub-menu {
                        display: flex;
                        flex-direction: column;
                        gap: 10px;

                        @media (max-width: 991px) {
                            position: absolute;
                            left: 30px;
                            width: 150px;
                        }
                    }
                }

                label[for=sub-menu-toggle] {
                    position: relative;

                    &::after {
                        content: "▾";
                        display: inline-block;
                        transform: rotate(0deg);
                        margin-left: 5px;
                    }

                    @media (max-width: 991px) {
                        &::after {
                            transform: rotate(90deg);
                            margin-right: 5px;
                            position: absolute;
                            left: -20px;
                        }
                    }
                }
            }
        }

        @media (max-width: 991px) {
            flex-direction: column;

            > li:first-child {
                display: list-item;
                align-self: flex-end;
            }

            > li:not(:first-child) {
                display: none;
            }
        }
    }
}

.header-area {
    background-image: url(/static/images/pexels-house.jpg);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    width: 100%;
    min-height: 100vh;
    position: relative;

    .header-content {
        padding: 150px 0 120px;
        position: relative;
        overflow: hidden;
        min-height: 100vh;
        height: fit-content;
        border-bottom-left-radius: 0;

        p {
            font-size: 16px;
            color: var(--white-color);
            white-space: pre-line;
            margin-top: 1rem;

            @media (max-width: 767px) {
                font-size: 16px;
            }
        }

        .slider_title {
            font-size: 60px;
            color: var(--white-color);
            margin-top: 15px;

            @media only screen and (min-width: 992px) and (max-width: 1199px) {
                font-size: 44px;
            }

            @media only screen and (min-width: 768px) and (max-width: 991px) {
                font-size: 40px;
            }

            @media (max-width: 767px) {
                font-size: 30px;
            }

            @media only screen and (min-width: 576px) and (max-width: 767px) {
                font-size: 40px;
            }
        }

        .main-btn {
            margin-top: 45px;
        }
    }

    .scroll-down {
        position: absolute;
        bottom: 2rem;
        left: calc(50% - (50px / 2));
        font-size: 2rem;
        color: var(--white-color);
        text-decoration: none;
        animation: bounce 1.5s infinite;
        cursor: pointer;
        opacity: 0.5;
        transition: opacity 0.3s;
        width: 50px;
        height: 50px;
        text-align: center;
        border-radius: 50%;
        border: solid 2px var(--white-color);
    }

    .scroll-down:hover {
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.rounded-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 40px;
    object-fit: cover;
    object-position: center;
}

.about-area {
    position: relative;
    z-index: 5;

    .about_bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 50%;
        height: 100%;
        z-index: -1;
        opacity: 0.2;
        padding-right: 280px;

        .about_bg_image {
            width: 100%;
            height: 100%;
        }
    }

    .about_image img {
        width: 100%;
        border-radius: 40px 40px 0 40px;
    }

    .about-content {
        padding-left: 45px;

        .sub-title {
            font-size: 38px;
            font-weight: 400;
            position: relative;

            @media only screen and (min-width: 992px) and (max-width: 1199px) {
                font-size: 32px;
            }

            @media (max-width: 767px) {
                font-size: 24px;
            }

            &::before {
                position: absolute;
                content: '';
                width: 9px;
                height: 100%;
                left: -45px;
                top: 0;
                background-color: var(--title-color);
            }

            span {
                font-size: 70px;
                font-weight: 800;
                color: var(--primary-color);

                @media only screen and (min-width: 992px) and (max-width: 1199px) {
                    font-size: 60px;
                }

                @media (max-width: 767px) {
                    font-size: 44px;
                }
            }
        }

        .main_title {
            font-size: 40px;
            margin-top: 25px;

            @media only screen and (min-width: 992px) and (max-width: 1199px) {
                font-size: 32px;
            }

            @media (max-width: 767px) {
                font-size: 24px;
            }
        }

        p {
            margin-top: 25px;
        }

        .main-btn {
            margin-top: 45px;
        }
    }
}

.title-content {
    h4 {
        color: var(--primary-color);
    }

    p {
        margin-top: var(--grid-gap);
    }
}

.counter-area {
    .single-counter {
        .counter-icon {
            font-size: 60px;
            line-height: 60px;
            color: var(--white-color);

            @media (max-width: 991px) {
                font-size: 44px;
                line-height: 50px;
            }
        }

        .counter-content {
            margin-top: var(--grid-gap);
            text-align: center;

            span {
                font-size: 44px;
                font-weight: 700;

                @media (max-width: 991px) {
                    font-size: 38px;
                }
            }

            p, span {
                color: var(--white-color);
            }
        }
    }
}

footer {
    position: relative;
    overflow: hidden;
    color: var(--white-color);
    padding-top: 120px;
    margin-top: 120px;
    width: 100%;
    background-image: url(/static/images/pexels-wip.jpg);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;

    p, a {
        color: var(--white-color);
    }

    .footer-copyright {
        border-top: 1px solid var(--primary-color-lighter);
        padding: var(--grid-gap) 0;
        margin-top: var(--grid-gap);
    }

    form {
        display: flex;
        flex-direction: column;
        gap: var(--grid-gap);

        input[type=submit] {
            background-color: var(--primary-color);
            border: none;
            color: var(--white-color);
            height: 45px;
        }
    }

    .contact-info {
        display: flex;
        flex-direction: column;
        gap: var(--grid-gap);
        align-items: flex-end;

        @media (max-width: 992px) {
            align-items: flex-start;
        }

        > div {
            display: flex;
            flex-direction: column;
            gap: var(--grid-gap);

            .contacts {
                display: flex;
                flex-direction: column;
                gap: var(--grid-gap);
            }

            .social-media-icons {
                display: flex;
                flex-direction: row;
                gap: var(--grid-gap);

                .info-icon {
                    width: 45px;
                    height: 45px;
                    line-height: 45px;
                    text-align: center;
                    font-size: 20px;
                    border-radius: 5px;
                    background-color: var(--primary-color);
                    color: var(--white-color);
                }
            }
        }
    }
}

.dashboard-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;

    .card {
        background: var(--white-color);
        border-radius: 1rem;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
        padding: 1.5rem;
        flex: 1 1 calc(25% - 1.5rem);
        display: flex;
        align-items: center;
        gap: 1rem;
        transition: transform 0.2s ease;
        text-decoration: none;
        cursor: pointer;
    }

    .card:hover {
        transform: translateY(-5px);
    }

    .card-icon {
        font-size: 2rem;
        color: var(--primary-color);
        background: var(--section-bg-color);
        padding: 1rem;
        border-radius: 50%;
        width: 80px;
        height: 80px;
        text-align: center;
    }

    .card-content h3 {
        margin: 0;
        font-size: 1.2rem;
        color: #333;
    }

    .card-content p {
        margin: 0.3rem 0 0;
        font-size: 1.1rem;
    }
}

.notification {
    position: fixed;
    z-index: 1000;
    top: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;

    > label {
        position: relative;
        width: 90%;
        max-width: 500px;
        margin: 0 auto;
        padding: 16px 20px;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        font-family: "Poppins", sans-serif;
        display: flex;
        justify-content: space-between;
        align-items: center;

        cursor: pointer;

        > span:last-of-type {
            font-size: 20px;
            font-weight: bold;
        }

        &.info {
            background-color: #e0f2fe;
            color: #0369a1;
            border: 1px solid #7dd3fc;
        }

        &.success {
            background-color: #dcfce7;
            color: #166534;
            border: 1px solid #86efac;
        }

        &.error {
            background-color: #fee2e2;
            color: #991b1b;
            border: 1px solid #fca5a5;
        }
    }

    > input[type="checkbox"] {
        display: none;
    }

    > input[type="checkbox"]:checked ~ label {
        display: none;
    }
}

.breadcrumb {
    padding: unset;
    background-color: unset;
    border-radius: unset;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-size: smaller;
    margin-bottom: 1rem;

    a {
        color: var(--primary-color);
        text-decoration: none;
    }

    a:hover {
        text-decoration: underline;
    }

    span {
        margin: 0 0.3em;
        color: var(--white-color);
    }

    .current {
        font-weight: bold;
        color: var(--primary-color-lighter);
    }
}

div.configuration {
    overflow: hidden;

    .truncate {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
    }

    a {
        height: 1rem;
        line-height: 1rem;
        text-transform: uppercase;
        font-weight: 700;
        letter-spacing: 0.25em;
    }

    .not-set {
        text-transform: uppercase;
        font-weight: 700;
        color: var(--primary-color);
    }

    > .inline {
        align-items: start;
    }
}

.inline {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 1em;
}

.error-card {
    width: 90%;
    max-width: 400px;
    margin: auto;
    border: 3px solid var(--primary-color);
    font-size: x-large;
    text-align: center;
    padding: 30px;
}

.image-card {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 0 10px var(--box-shadow-color);
    overflow: hidden;
    position: relative;

    img {
        width: 100%;
        aspect-ratio: 16 / 9;
        object-fit: cover;
        object-position: center;
    }

    p {
        padding: 10px;
        width: 100%;
        color: var(--primary-color);
    }
}

.ss-expandable {
    position: relative;
    cursor: pointer;

    .ss-expandable-content {
        display: none;
        padding: 10px;
    }

    .ss-expandable-toggle {
        display: none;

        &:checked ~ .ss-expandable-content {
            display: block;
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1;
            background-color: var(--white-color);
            overflow: scroll;
        }
    }
}