:root {
    scroll-behavior: smooth;
    --default-font: 'Inter', 'Source Sans 3', Arial, sans-serif;
    --heading-font: 'Cormorant Garamond', Georgia, serif;
    --nav-font: 'Inter', sans-serif;
    --cybil-navy: #0d2438;
    --cybil-gold: #c7a16e;
    --cybil-cream: #f5ead6;
    --cybil-text: #eef4f8;
    --background-color: #ffffff;
    --default-color: #444444;
    --heading-color: #213b52;
    --accent-color: var(--cybil-gold);
    --surface-color: #ffffff;
    --contrast-color: #ffffff;
    --nav-color: #e7f4ff;
    --nav-hover-color: var(--cybil-gold);
    --nav-mobile-background-color: #ffffff;
    --nav-dropdown-background-color: #ffffff;
    --nav-dropdown-color: #444444;
    --nav-dropdown-hover-color: var(--cybil-gold);
}

.light-background {
    --background-color: #f5f9fc;
    --surface-color: #ffffff;
}

.dark-background {
    --background-color: #0e2238;
    --default-color: #ffffff;
    --heading-color: #ffffff;
    --surface-color: #315575;
    --contrast-color: #223b51;
}

body {
    color: var(--default-color);
    background-color: var(--background-color);
    font-family: var(--default-font);
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: 0.3s;
}

    a:hover {
        color: color-mix(in srgb, var(--accent-color), transparent 25%);
        text-decoration: none;
    }

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--heading-color);
    font-family: var(--heading-font);
}

.php-email-form .error-message {
    display: none;
    background: #df1529;
    color: #ffffff;
    text-align: left;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

.php-email-form .sent-message {
    display: none;
    color: #ffffff;
    background: #059652;
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

.php-email-form .loading {
    display: none;
    background: var(--surface-color);
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
}

    .php-email-form .loading:before {
        content: "";
        display: inline-block;
        border-radius: 50%;
        width: 24px;
        height: 24px;
        margin: 0 10px -6px 0;
        border: 3px solid var(--accent-color);
        border-top-color: var(--surface-color);
        animation: php-email-form-loading 1s linear infinite;
    }

@keyframes php-email-form-loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.header {
    --background-color: #0e2238;
    --default-color: #ffffff;
    --heading-color: #ffffff;
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 15px 0;
    transition: all 0.5s;
    z-index: 997;
}

    .header .logo {
        line-height: 1;
    }

        .header .logo img {
            max-height: 56px;
            margin-right: 8px;
        }

        .header .logo h1 {
            font-size: 30px;
            margin: 0;
            font-weight: 700;
            color: var(--heading-color);
        }

        .header .logo span {
            color: var(--accent-color);
            font-size: 30px;
            font-weight: 700;
        }

    .header .btn-getstarted,
    .header .btn-getstarted:focus {
        color: var(--contrast-color);
        font-size: 14px;
        padding: 6px 30px;
        margin: 0 0 0 30px;
        border-radius: 50px;
        transition: 0.3s;
        border: 2px solid var(--accent-color);
    }

        .header .btn-getstarted:hover,
        .header .btn-getstarted:focus:hover {
            color: var(--contrast-color);
            background: var(--accent-color);
        }

.scrolled .header {
    --background-color: rgba(34, 59, 81, 0.9);
}

@media (max-width: 1200px) {
    .header .logo {
        order: 1;
    }

    .header .btn-getstarted {
        order: 2;
        margin: 0 15px 0 0;
        padding: 6px 15px;
    }

    .header .navmenu {
        order: 3;
    }
}

@media (min-width: 1200px) {
    .navmenu {
        padding: 0;
    }

        .navmenu ul {
            margin: 0;
            padding: 0;
            display: flex;
            list-style: none;
            align-items: center;
        }

        .navmenu li {
            position: relative;
        }

        .navmenu a,
        .navmenu a:focus {
            color: var(--nav-color);
            padding: 18px 15px;
            font-size: 16px;
            font-family: var(--nav-font);
            font-weight: 400;
            display: flex;
            align-items: center;
            justify-content: space-between;
            white-space: nowrap;
            transition: 0.3s;
        }

            .navmenu a i,
            .navmenu a:focus i {
                font-size: 12px;
                line-height: 0;
                margin-left: 5px;
                transition: 0.3s;
            }

        .navmenu li:last-child a {
            padding-right: 0;
        }

        .navmenu li:hover > a,
        .navmenu .active,
        .navmenu .active:focus {
            color: var(--nav-hover-color);
        }

        .navmenu .dropdown ul {
            margin: 0;
            padding: 10px 0;
            background: var(--nav-dropdown-background-color);
            display: block;
            position: absolute;
            visibility: hidden;
            left: 14px;
            top: 130%;
            opacity: 0;
            transition: 0.3s;
            border-radius: 4px;
            z-index: 99;
            box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
        }

            .navmenu .dropdown ul li {
                min-width: 200px;
            }

            .navmenu .dropdown ul a {
                padding: 10px 20px;
                font-size: 15px;
                text-transform: none;
                color: var(--nav-dropdown-color);
            }

                .navmenu .dropdown ul a i {
                    font-size: 12px;
                }

                .navmenu .dropdown ul a:hover,
                .navmenu .dropdown ul .active:hover,
                .navmenu .dropdown ul li:hover > a {
                    color: var(--nav-dropdown-hover-color);
                }

        .navmenu .dropdown:hover > ul {
            opacity: 1;
            top: 100%;
            visibility: visible;
        }

        .navmenu .dropdown .dropdown ul {
            top: 0;
            left: -90%;
            visibility: hidden;
        }

        .navmenu .dropdown .dropdown:hover > ul {
            opacity: 1;
            top: 0;
            left: -100%;
            visibility: visible;
        }
}

@media (max-width: 1199px) {
    .mobile-nav-toggle {
        color: var(--nav-color);
        font-size: 28px;
        line-height: 0;
        margin-right: 10px;
        cursor: pointer;
        transition: color 0.3s;
    }

    .navmenu {
        padding: 0;
        z-index: 9997;
    }

        .navmenu ul {
            display: none;
            list-style: none;
            position: absolute;
            inset: 60px 20px 20px 20px;
            padding: 10px 0;
            margin: 0;
            border-radius: 6px;
            background-color: var(--nav-mobile-background-color);
            overflow-y: auto;
            transition: 0.3s;
            z-index: 9998;
            box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
        }

        .navmenu a,
        .navmenu a:focus {
            color: var(--nav-dropdown-color);
            padding: 10px 20px;
            font-family: var(--nav-font);
            font-size: 17px;
            font-weight: 500;
            display: flex;
            align-items: center;
            justify-content: space-between;
            white-space: nowrap;
            transition: 0.3s;
        }

            .navmenu a i,
            .navmenu a:focus i {
                font-size: 12px;
                line-height: 0;
                margin-left: 5px;
                width: 30px;
                height: 30px;
                display: flex;
                align-items: center;
                justify-content: center;
                border-radius: 50%;
                transition: 0.3s;
                background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
            }

                .navmenu a i:hover,
                .navmenu a:focus i:hover {
                    background-color: var(--accent-color);
                    color: var(--contrast-color);
                }

            .navmenu a:hover,
            .navmenu .active,
            .navmenu .active:focus {
                color: var(--nav-dropdown-hover-color);
            }

                .navmenu .active i,
                .navmenu .active:focus i {
                    background-color: var(--accent-color);
                    color: var(--contrast-color);
                    transform: rotate(180deg);
                }

        .navmenu .dropdown ul {
            position: static;
            display: none;
            z-index: 99;
            padding: 10px 0;
            margin: 10px 20px;
            background-color: var(--nav-dropdown-background-color);
            border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
            box-shadow: none;
            transition: all 0.5s ease-in-out;
        }

            .navmenu .dropdown ul ul {
                background-color: rgba(33, 37, 41, 0.1);
            }

        .navmenu .dropdown > .dropdown-active {
            display: block;
            background-color: rgba(33, 37, 41, 0.03);
        }

    .mobile-nav-active {
        overflow: hidden;
    }

        .mobile-nav-active .mobile-nav-toggle {
            color: #ffffff;
            position: absolute;
            font-size: 32px;
            top: 15px;
            right: 15px;
            margin-right: 0;
            z-index: 9999;
        }

        .mobile-nav-active .navmenu {
            position: fixed;
            overflow: hidden;
            inset: 0;
            background: rgba(33, 37, 41, 0.8);
            transition: 0.3s;
        }

            .mobile-nav-active .navmenu > ul {
                display: block;
            }
}

.footer {
    color: var(--default-color);
    background-color: var(--background-color);
    background: url("../img/footer-bg.jpg") center center no-repeat;
    background-size: cover;
    font-size: 14px;
    text-align: center;
    padding: 60px 0 30px 0;
    position: relative;
}

    .footer:before {
        content: "";
        background: color-mix(in srgb, var(--background-color), transparent 20%);
        position: absolute;
        inset: 0;
    }

    .footer .container {
        position: relative;
    }

    .footer h3 {
        font-size: 36px;
        font-weight: 700;
        position: relative;
        padding: 0;
        margin: 0 0 15px 0;
    }

    .footer p {
        font-size: 15px;
        font-style: italic;
        padding: 0;
        margin: 0 0 30px 0;
    }

    .footer .social-links {
        margin: 0 0 30px 0;
    }

        .footer .social-links a {
            font-size: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--accent-color);
            color: var(--contrast-color);
            line-height: 1;
            margin: 0 4px;
            border-radius: 50%;
            text-align: center;
            width: 36px;
            height: 36px;
            transition: 0.3s;
        }

            .footer .social-links a:hover {
                background: color-mix(in srgb, var(--accent-color), transparent 20%);
                text-decoration: none;
            }

    .footer .copyright {
        padding-top: 25px;
        border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    }

#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    overflow: hidden;
    background-color: var(--background-color);
    transition: all 0.6s ease-out;
}

    #preloader:before {
        content: "";
        position: fixed;
        top: calc(50% - 30px);
        left: calc(50% - 30px);
        border: 6px solid var(--accent-color);
        border-top-color: color-mix(in srgb, var(--accent-color), transparent 90%);
        border-radius: 50%;
        width: 60px;
        height: 60px;
        animation: animate-preloader 1s linear infinite;
    }

@keyframes animate-preloader {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.scroll-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: -15px;
    z-index: 99999;
    background-color: var(--accent-color);
    width: 44px;
    height: 44px;
    border-radius: 50px;
    transition: all 0.4s;
}

    .scroll-top i {
        font-size: 24px;
        color: var(--contrast-color);
        line-height: 0;
    }

    .scroll-top:hover {
        background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
        color: var(--contrast-color);
    }

    .scroll-top.active {
        visibility: visible;
        opacity: 1;
        bottom: 15px;
    }

@media screen and (max-width: 768px) {
    [data-aos-delay] {
        transition-delay: 0 !important;
    }
}

section,
.section {
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 60px 0;
    scroll-margin-top: 90px;
    overflow: clip;
}

@media (max-width: 1199px) {
    section,
    .section {
        scroll-margin-top: 67px;
    }
}

.section-title {
    text-align: center;
    padding-bottom: 60px;
    position: relative;
}

    .section-title h2 {
        font-size: 32px;
        font-weight: 700;
        margin-bottom: 20px;
        padding-bottom: 20px;
        position: relative;
    }

        .section-title h2:before {
            content: "";
            position: absolute;
            display: block;
            width: 160px;
            height: 1px;
            background: color-mix(in srgb, var(--default-color), transparent 60%);
            left: 0;
            right: 0;
            bottom: 1px;
            margin: auto;
        }

        .section-title h2::after {
            content: "";
            position: absolute;
            display: block;
            width: 60px;
            height: 3px;
            background: var(--accent-color);
            left: 0;
            right: 0;
            bottom: 0;
            margin: auto;
        }

    .section-title p {
        margin-bottom: 0;
    }

.hero {
    width: 100%;
    min-height: 70vh;
    position: relative;
    padding: 120px 0 60px 0;
    display: flex;
    align-items: center;
}

    .hero h1 {
        margin: 0;
        font-size: 48px;
        font-weight: 700;
        line-height: 56px;
        color: var(--cybil-cream);
    }

    .hero p {
        color: color-mix(in srgb, var(--default-color), transparent 30%);
        margin: 5px 0 30px 0;
        font-size: 20px;
        font-weight: 400;
    }

    .hero .btn-get-started {
        color: var(--cybil-cream);
        background: var(--accent-color);
        font-weight: 400;
        font-size: 15px;
        letter-spacing: 1px;
        display: inline-block;
        padding: 10px 28px 12px 28px;
        border-radius: 50px;
        transition: 0.5s;
        box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
    }

        .hero .btn-get-started:hover {
            color: var(--contrast-color);
            background: color-mix(in srgb, var(--accent-color), transparent 15%);
            box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
        }

    .hero .animated {
        animation: up-down 2s ease-in-out infinite alternate-reverse both;
    }

    .hero .cybil {
        color: var(--cybil-gold);
    }

@media (max-width: 640px) {
    .hero h1 {
        font-size: 28px;
        line-height: 36px;
    }

    .hero p {
        font-size: 18px;
        line-height: 24px;
        margin-bottom: 30px;
    }

    .hero .btn-get-started {
        font-size: 13px;
    }
}

@keyframes up-down {
    0% {
        transform: translateY(10px);
    }

    100% {
        transform: translateY(-10px);
    }
}

.features .features-item {
    color: color-mix(in srgb, var(--default-color), transparent 20%);
}

    .features .features-item + .features-item {
        margin-top: 50px;
    }

@media (max-width: 640px) {
    .features .features-item + .features-item {
        margin-top: 40px;
    }
}

.features .features-item h3 {
    font-weight: 700;
    font-size: 26px;
}

.features .features-item ul {
    list-style: none;
    padding: 0;
}

    .features .features-item ul li {
        padding-bottom: 10px;
        display: flex;
        align-items: center;
    }

        .features .features-item ul li:last-child {
            padding-bottom: 0;
        }

    .features .features-item ul i {
        font-size: 20px;
        padding-right: 4px;
        color: var(--accent-color);
    }

.features .features-item p:last-child {
    margin-bottom: 0;
}

.use-cases .use-case-item {
    background-color: var(--surface-color);
    padding: 50px 30px;
    margin-top: 36px;
    transition: all ease-in-out 0.3s;
    position: relative;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
    text-align: center;
}

    .use-cases .use-case-item .icon {
        background: var(--accent-color);
        color: var(--contrast-color);
        margin: 0;
        width: 72px;
        height: 72px;
        border-radius: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 20px;
        font-size: 28px;
        transition: ease-in-out 0.3s;
        position: absolute;
        top: -36px;
        left: calc(50% - 36px);
        border: 6px solid var(--background-color);
    }

    .use-cases .use-case-item h3 {
        font-weight: 700;
        margin: 10px 0 15px 0;
        font-size: 22px;
        transition: ease-in-out 0.3s;
    }

    .use-cases .use-case-item p {
        line-height: 24px;
        font-size: 14px;
        margin-bottom: 0;
    }

    .use-cases .use-case-item:hover {
        background: var(--background-color);
    }

        .use-cases .use-case-item:hover h3 {
            color: var(--accent-color);
        }

        .use-cases .use-case-item:hover .icon {
            background: var(--surface-color);
            border: 2px solid var(--accent-color);
        }

            .use-cases .use-case-item:hover .icon i {
                color: var(--accent-color);
            }

    .use-cases .use-case-item p.example {
        margin-top: 1rem;
        margin-bottom: 0;
        padding-top: 0.75rem;
        border-top: 1px solid rgba(13, 36, 56, 0.08);
        font-size: 0.9rem;
        line-height: 1.45;
        color: #6c757d;
        font-style: italic;
    }

        .use-cases .use-case-item p.example strong {
            color: var(--cybil-navy);
            font-style: normal;
        }

.why-cybil .why-cybil-item {
    padding: 34px;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(13, 36, 56, 0.08);
    border-top: 4px solid var(--accent-color);
    background-color: var(--surface-color);
}

.why-cybil h3 {
    font-size: 24px;
    line-height: 1.25;
    margin-bottom: 20px;
}

.why-cybil ul {
    padding: 14px 0 16px;
    line-height: 1.35;
}

    .why-cybil ul li {
        padding: 5px 0;
        list-style-type: none;
        display: flex;
        align-items: flex-start;
    }

    .why-cybil ul i {
        color: #059652;
        font-size: 17px;
        padding-right: 10px;
        margin-top: 2px;
    }

.why-cybil .why-cybil-item p.example {
    margin-top: 10px;
    margin-bottom: 0;
    padding: 15px 17px;
    border-radius: 10px;
    background: rgba(199, 161, 110, 0.13);
    color: color-mix(in srgb, var(--default-color), transparent 18%);
    line-height: 1.45;
}

    .why-cybil .why-cybil-item p.example strong {
        color: var(--cybil-navy);
        font-style: normal;
        font-weight: 700;
    }

.about .content h3 {
    font-size: 2rem;
    font-weight: 700;
}

.about .content p:last-child {
    margin-bottom: 0;
}

.about img {
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
}

.contact .info-item {
    align-items: flex-start !important;
    text-align: left;
    padding: 28px 30px;
    gap: 20px;
}

    .contact .info-item i {
        flex: 0 0 54px;
        width: 54px;
        height: 54px;
        font-size: 24px;
        margin: 0;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .contact .info-item h3 {
        margin: 0 0 8px;
    }

    .contact .info-item p {
        margin: 0;
        line-height: 1.5;
    }

.contact .php-email-form {
    background-color: var(--surface-color);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    height: 100%;
    padding: 30px;
}

@media (max-width: 575px) {
    .contact .php-email-form {
        padding: 20px;
    }
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
    font-size: 14px;
    padding: 10px 15px;
    box-shadow: none;
    border-radius: 0;
    color: var(--default-color);
    background-color: var(--surface-color);
    border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

    .contact .php-email-form input[type=text]:focus,
    .contact .php-email-form input[type=email]:focus,
    .contact .php-email-form textarea:focus {
        border-color: var(--accent-color);
    }

    .contact .php-email-form input[type=text]::placeholder,
    .contact .php-email-form input[type=email]::placeholder,
    .contact .php-email-form textarea::placeholder {
        color: color-mix(in srgb, var(--default-color), transparent 70%);
    }

.contact .php-email-form button[type=submit] {
    color: var(--contrast-color);
    background: var(--accent-color);
    border: 0;
    padding: 10px 30px;
    transition: 0.4s;
    border-radius: 50px;
}

    .contact .php-email-form button[type=submit]:hover {
        background: color-mix(in srgb, var(--accent-color), transparent 20%);
    }
