/* Fonts */
:root {
    --default-font: "Noto 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";
    --heading-font: "Jost", sans-serif;
    --nav-font: "Poppins", sans-serif;
}
:root {
    /* Base surfaces */
    --background-color: #0b0f14;
    /* page background (pure near-black) */
    --surface-color: #0f172a;
    /* cards/panels (slate-900) */

    /* Text */
    --default-color: #cbd5e1;
    /* slate-300 */
    --heading-color: #f8fafc;
    /* slate-50 */

    /* Accent (non‑blue) */
    --accent-color: #e879f9;
    /* fuchsia-400 as solid fallback */
    --accent-2: #8b5cf6;
    /* violet-500 for depth */
    --accent-gradient: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);

    /* Contrast for text placed on accent surfaces */
    --contrast-color: #ffffff;

    /* Nav */
    --nav-color: #e5e7eb;
    --nav-hover-color: #e879f9;
    --nav-mobile-background-color: #0b0f14;
    --nav-dropdown-background-color: #0f172a;
    --nav-dropdown-color: #cbd5e1;
    --nav-dropdown-hover-color: #e879f9;
}

/* Make even “light” sections dark to eliminate white panes */
.light-background {
    --background-color: #0f172a;
    --surface-color: #111827;
}

/* Dark sections should not be blue‑tinted */
.dark-background {
    --background-color: #0b0f14;
    --default-color: #e5e7eb;
    --heading-color: #f8fafc;
    --surface-color: #111827;
    --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
    scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
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 Messages
------------------------------*/
.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);
    }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
    --background-color: #3d4d6a;
    --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: 36px;
    margin-right: 8px;
}

.header .logo h1 {
    font-size: 30px;
    margin: 0;
    font-weight: 500;
    color: var(--heading-color);
    letter-spacing: 2px;
    text-transform: uppercase;
}

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

.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover {
    color: var(--contrast-color);
    background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

@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;
    }
}

/* Index Page Header
------------------------------*/
.index-page .header {
    --background-color: rgba(255, 255, 255, 0);
    --heading-color: #ffffff;
    --nav-color: #ffffff;
}

/* Index Page Header on Scroll
------------------------------*/
.index-page.scrolled .header {
    --background-color: rgba(40, 58, 90, 0.9);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
@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: 15px;
        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: 0px 0px 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;
    }

    .navmenu .megamenu {
        position: static;
    }

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

    .navmenu .megamenu ul li {
        flex: 1;
    }

    .navmenu .megamenu ul li a,
    .navmenu .megamenu ul li:hover > a {
        padding: 10px 20px;
        font-size: 15px;
        color: var(--nav-dropdown-color);
    }

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

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

    .navmenu .dd-box-shadow {
        box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
    }
}

/* Mobile Navigation */
@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: 0px 0px 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: #fff;
        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;
    }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
    color: var(--default-color);
    background-color: var(--background-color);
    font-size: 14px;
    padding-bottom: 50px;
    position: relative;
    min-height: 100vh;
}

.footer .footer-newsletter {
    background-color: color-mix(in srgb, var(--heading-color), transparent 95%);
    padding: 50px 0;
}

.footer .footer-newsletter h4 {
    font-size: 24px;
}

.footer .footer-newsletter .newsletter-form {
    margin-top: 30px;
    margin-bottom: 15px;
    padding: 6px 8px;
    position: relative;
    background-color: color-mix(
        in srgb,
        var(--background-color),
        transparent 50%
    );
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: 0px 2px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    transition: 0.3s;
    border-radius: 50px;
}

.footer .footer-newsletter .newsletter-form:focus-within {
    border-color: var(--accent-color);
}

.footer .footer-newsletter .newsletter-form input[type="email"] {
    border: 0;
    padding: 4px;
    width: 100%;
    background-color: color-mix(
        in srgb,
        var(--background-color),
        transparent 50%
    );
    color: var(--default-color);
}

.footer .footer-newsletter .newsletter-form input[type="email"]:focus-visible {
    outline: none;
}

.footer .footer-newsletter .newsletter-form input[type="submit"] {
    border: 0;
    font-size: 16px;
    padding: 0 20px;
    margin: -7px -8px -7px 0;
    background: var(--accent-color);
    color: var(--contrast-color);
    transition: 0.3s;
    border-radius: 50px;
}

.footer .footer-newsletter .newsletter-form input[type="submit"]:hover {
    background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.footer .footer-top {
    padding-top: 150px;
}

.footer .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
    font-size: 16px;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    margin-right: 10px;
    transition: 0.3s;
}

.footer .social-links a:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.footer h4 {
    font-size: 16px;
    font-weight: bold;
    position: relative;
    padding-bottom: 12px;
}

.footer .footer-links {
    margin-bottom: 30px;
}

.footer .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer .footer-links ul i {
    margin-right: 3px;
    font-size: 12px;
    line-height: 0;
    color: var(--accent-color);
}

.footer .footer-links ul li {
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.footer .footer-links ul li:first-child {
    padding-top: 0;
}

.footer .footer-links ul a {
    display: inline-block;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    line-height: 1;
}

.footer .footer-links ul a:hover {
    color: var(--accent-color);
}

.footer .footer-about a {
    color: var(--heading-color);
    font-family: var(--heading-font);
}

.footer .footer-contact p {
    margin-bottom: 5px;
}

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

.footer .copyright p {
    margin-bottom: 0;
}

.footer .credits {
    margin-top: 6px;
    font-size: 13px;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    overflow: hidden;
    background: 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 #ffffff;
    border-color: var(--accent-color) transparent var(--accent-color)
        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);
    }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.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;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
    [data-aos-delay] {
        transition-delay: 0 !important;
    }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
    --background-color: color-mix(
        in srgb,
        var(--default-color),
        transparent 96%
    );
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 20px 0;
    position: relative;
}

.page-title h1 {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}

.page-title .breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0 0 10px 0;
    margin: 0;
    font-size: 14px;
}

.page-title .breadcrumbs ol li + li {
    padding-left: 10px;
}

.page-title .breadcrumbs ol li + li::before {
    content: "/";
    display: inline-block;
    padding-right: 10px;
    color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 60px 0;
    scroll-margin-top: 88px;
    overflow: clip;
    min-height: 100vh;
}

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

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.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;
    text-transform: uppercase;
    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 Section
--------------------------------------------------------------*/
.hero {
    width: 100%;
    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;
}

.hero p {
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    margin: 5px 0 30px 0;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 600;
    font-family: "Times New Roman", Times, serif;
}

.hero .btn-get-started {
    color: var(--contrast-color);
    background: var(--accent-color);
    font-family: var(--heading-font);
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 10px 28px 12px 28px;
    border-radius: 50px;
    transition: 0.5s;
}

.hero .btn-get-started:hover {
    color: var(--contrast-color);
    background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

.hero .btn-watch-video {
    font-size: 16px;
    transition: 0.5s;
    margin-left: 25px;
    color: var(--default-color);
    font-weight: 600;
}

.hero .btn-watch-video i {
    color: var(--contrast-color);
    font-size: 32px;
    transition: 0.3s;
    line-height: 0;
    margin-right: 8px;
}

.hero .btn-watch-video:hover {
    color: var(--accent-color);
}

.hero .btn-watch-video:hover i {
    color: color-mix(in srgb, var(--accent-color), transparent 15%);
}

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

@media (max-width: 640px) {
    .hero h1 {
        font-size: 28px;
        line-height: 36px;
        font-family: "Times New Roman", Times, serif;
    }

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

    .hero .btn-get-started,
    .hero .btn-watch-video {
        font-size: 13px;
        margin-left: 33%;
        margin-top: 50px;
    }
}

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

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

/*--------------------------------------------------------------
# Clients Section
--------------------------------------------------------------*/
.clients {
    padding: 12px 0;
}

.clients .swiper {
    padding: 10px 0;
}

.clients .swiper-wrapper {
    height: auto;
}

.clients .swiper-slide img {
    transition: 0.3s;
    padding: 0 10px;
}

.clients .swiper-slide img:hover {
    transform: scale(1.1);
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about ul {
    list-style: none;
    padding: 0;
}

.about ul li {
    padding-bottom: 5px;
    display: flex;
    align-items: center;
}

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

.about .read-more {
    color: var(--accent-color);
    font-family: var(--heading-font);
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 1px;
    padding: 8px 28px;
    border-radius: 5px;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--accent-color);
}

.about .read-more i {
    font-size: 18px;
    margin-left: 5px;
    line-height: 0;
    transition: 0.3s;
}

.about .read-more:hover {
    background: var(--accent-color);
    color: var(--contrast-color);
}

.about .read-more:hover i {
    transform: translate(5px, 0);
}

/*--------------------------------------------------------------
# Why Us Section
--------------------------------------------------------------*/
.why-us {
    padding: 30px 0;
}

.why-us {
    padding: 120px 0;
    position: relative;
    clip-path: inset(0);
}

.why-us .earth {
    position: fixed;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.why-us:before {
    content: "";
    background: color-mix(in srgb, var(--background-color), transparent 35%);
    position: absolute;
    inset: 0;
    z-index: 2;
}

.why-us .container-fluid {
    position: relative;
    z-index: 3;
    background-color: var(--background-color);
    padding: 60px 30px;
}

.why-us .content h3 {
    font-weight: 400;
    font-size: 34px;
}

.why-us .content p {
    color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.why-us .faq-container .faq-item {
    background-color: var(--surface-color);
    position: relative;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0px 5px 25px 0px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.why-us .faq-container .faq-item:last-child {
    margin-bottom: 0;
}

.why-us .faq-container .faq-item h3 {
    font-weight: 500;
    font-size: 17px;
    line-height: 24px;
    margin: 0 30px 0 0;
    transition: 0.3s;
    cursor: pointer;
}

.why-us .faq-container .faq-item h3 span {
    color: var(--accent-color);
    padding-right: 5px;
    font-weight: 600;
}

.why-us .faq-container .faq-item h3:hover {
    color: var(--accent-color);
}

.why-us .faq-container .faq-item .faq-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: 0.3s ease-in-out;
    visibility: hidden;
    opacity: 0;
}

.why-us .faq-container .faq-item .faq-content p {
    margin-bottom: 0;
    overflow: hidden;
}

.why-us .faq-container .faq-item .faq-icon {
    position: absolute;
    top: 22px;
    left: 20px;
    font-size: 22px;
    line-height: 0;
    transition: 0.3s;
    color: var(--accent-color);
}

.why-us .faq-container .faq-item .faq-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 16px;
    line-height: 0;
    transition: 0.3s;
    cursor: pointer;
}

.why-us .faq-container .faq-item .faq-toggle:hover {
    color: var(--accent-color);
}

.why-us .faq-container .faq-active h3 {
    color: var(--accent-color);
}

.why-us .faq-container .faq-active .faq-content {
    grid-template-rows: 1fr;
    visibility: visible;
    opacity: 1;
    padding-top: 10px;
}

.why-us .faq-container .faq-active .faq-toggle {
    transform: rotate(90deg);
    color: var(--accent-color);
}

.why-us .why-us-img {
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-us .why-us-img img {
    max-height: 70%;
}

/*--------------------------------------------------------------
# Skills Section
--------------------------------------------------------------*/
.skills .content h3 {
    font-size: 2rem;
    font-weight: 700;
}

.skills .content p {
    color: color-mix(in srgb, var(--default-color), transparent 30%);
}

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

.skills .content ul {
    list-style: none;
    padding: 0;
}

.skills .content ul li {
    padding-bottom: 10px;
}

.skills .progress {
    height: 60px;
    display: block;
    background: none;
    border-radius: 0;
}

.skills .progress .skill {
    color: var(--default-color);
    padding: 0;
    margin: 0 0 6px 0;
    text-transform: uppercase;
    display: block;
    font-weight: 600;
    font-family: var(--heading-font);
}

.skills .progress .skill .val {
    float: right;
    font-style: normal;
}

.skills .progress-bar-wrap {
    background: color-mix(in srgb, var(--heading-color), transparent 90%);
    height: 10px;
}

.skills .progress-bar {
    width: 1px;
    height: 10px;
    transition: 0.9s;
    background-color: var(--heading-color);
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
    background-color: var(--surface-color);
    box-shadow: 0px 5px 90px 0px rgba(0, 0, 0, 0.1);
    padding: 50px 30px;
    transition: all ease-in-out 0.4s;
    height: 100%;
}

.services .service-item .icon {
    margin-bottom: 10px;
}

.services .service-item .icon i {
    color: var(--accent-color);
    font-size: 36px;
    transition: 0.3s;
}

.services .service-item h4 {
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 20px;
}

.services .service-item h4 a {
    color: var(--heading-color);
    transition: ease-in-out 0.3s;
}

.services .service-item p {
    line-height: 24px;
    font-size: 14px;
    margin-bottom: 0;
}

.services .service-item:hover {
    transform: translateY(-10px);
}

.services .service-item:hover h4 a {
    color: var(--accent-color);
}

/*--------------------------------------------------------------
# Work Process Section
--------------------------------------------------------------*/
.work-process .steps-item {
    background: var(--surface-color);
    border-radius: 20px;
    height: 100%;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 5px 20px
        color-mix(in srgb, var(--default-color), transparent 92%);
}

.work-process .steps-item .steps-image {
    border-radius: 20px 20px 0 0;
    overflow: hidden;
}

.work-process .steps-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px
        color-mix(in srgb, var(--accent-color), transparent 85%);
}

.work-process .steps-item:hover .steps-number {
    background: var(--accent-color);
    color: var(--contrast-color);
}

.work-process .steps-item:hover .steps-image img {
    transform: scale(1.1);
}

.work-process .steps-image {
    position: relative;
    height: 280px;
}

.work-process .steps-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    background-color: #fff;
}

.work-process .steps-content {
    position: relative;
    padding: 40px 30px 30px;
}

.work-process .steps-content .steps-number {
    position: absolute;
    left: 30px;
    top: -30px;
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    color: var(--contrast-color);
    border-radius: 50%;
    font-family: var(--heading-font);
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease-in-out;
}

.work-process .steps-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.work-process .steps-content p {
    font-size: 15px;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    margin-bottom: 25px;
}

.work-process .steps-features .feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.work-process .steps-features .feature-item:last-child {
    margin-bottom: 0;
}

.work-process .steps-features .feature-item i {
    color: var(--accent-color);
    font-size: 18px;
    margin-right: 10px;
}

.work-process .steps-features .feature-item span {
    font-size: 14px;
    color: color-mix(in srgb, var(--default-color), transparent 15%);
}

@media (max-width: 1199px) {
    .work-process .steps-image {
        height: 240px;
    }

    .work-process .steps-content {
        padding: 35px 25px 25px;
    }

    .work-process .steps-content h3 {
        font-size: 22px;
    }
}

@media (max-width: 991px) {
    .work-process .steps-item {
        margin-bottom: 30px;
    }

    .work-process .steps-image {
        height: 220px;
    }

    .work-process .steps-content {
        padding: 30px 20px 20px;
    }

    .work-process .steps-content .steps-number {
        width: 50px;
        height: 50px;
        font-size: 20px;
        left: 25px;
        top: -25px;
    }

    .work-process .steps-content h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .work-process .steps-content p {
        font-size: 14px;
        margin-bottom: 20px;
    }
}

/*--------------------------------------------------------------
# Call To Action Section
--------------------------------------------------------------*/
.call-to-action {
    padding: 120px 0;
    position: relative;
    clip-path: inset(0);
}

.call-to-action img {
    position: fixed;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.call-to-action:before {
    content: "";
    background: color-mix(in srgb, var(--background-color), transparent 35%);
    position: absolute;
    inset: 0;
    z-index: 2;
}

.call-to-action .container {
    position: relative;
    z-index: 3;
    margin: 20vh 16vh;
}

.call-to-action h3 {
    color: var(--default-color);
    font-size: 28px;
    font-weight: 700;
}

.call-to-action p {
    color: var(--default-color);
}

.call-to-action .cta-btn {
    font-family: var(--heading-font);
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 12px 40px;
    border-radius: 50px;
    transition: 0.5s;
    margin: 10px;
    border: 2px solid var(--contrast-color);
    color: var(--contrast-color);
}

.call-to-action .cta-btn:hover {
    background: var(--accent-color);
    border: 2px solid var(--accent-color);
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-filters {
    padding: 0;
    margin: 0 auto 20px auto;
    list-style: none;
    text-align: center;
}

.portfolio .portfolio-filters li {
    cursor: pointer;
    display: inline-block;
    padding: 8px 20px 10px 20px;
    margin: 0;
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 5px;
    border-radius: 50px;
    transition: all 0.3s ease-in-out;
    font-family: var(--heading-font);
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
    color: var(--contrast-color);
    background-color: var(--accent-color);
}

.portfolio .portfolio-filters li:first-child {
    margin-left: 0;
}

.portfolio .portfolio-filters li:last-child {
    margin-right: 0;
}

@media (max-width: 575px) {
    .portfolio .portfolio-filters li {
        font-size: 14px;
        margin: 0 0 10px 0;
    }
}

.portfolio .portfolio-item {
    position: relative;
    overflow: hidden;
}

.portfolio .portfolio-item .portfolio-info {
    opacity: 0;
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: -100%;
    z-index: 3;
    transition: all ease-in-out 0.5s;
    background: color-mix(in srgb, var(--background-color), transparent 10%);
    padding: 15px;
}

.portfolio .portfolio-item .portfolio-info h4 {
    font-size: 18px;
    font-weight: 600;
    padding-right: 50px;
}

.portfolio .portfolio-item .portfolio-info p {
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    font-size: 14px;
    margin-bottom: 0;
    padding-right: 50px;
}

.portfolio .portfolio-item .portfolio-info .preview-link,
.portfolio .portfolio-item .portfolio-info .details-link {
    position: absolute;
    right: 50px;
    font-size: 24px;
    top: calc(50% - 14px);
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    transition: 0.3s;
    line-height: 0;
}

.portfolio .portfolio-item .portfolio-info .preview-link:hover,
.portfolio .portfolio-item .portfolio-info .details-link:hover {
    color: var(--accent-color);
}

.portfolio .portfolio-item .portfolio-info .details-link {
    right: 14px;
    font-size: 28px;
}

.portfolio .portfolio-item:hover .portfolio-info {
    opacity: 1;
    bottom: 0;
}

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team .team-member {
    background-color: var(--surface-color);
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    border-radius: 5px;
    transition: 0.5s;
    padding: 30px;
    height: 100%;
}

@media (max-width: 468px) {
    .team .team-member {
        flex-direction: column;
        justify-content: center !important;
        align-items: center !important;
    }
}

.team .team-member .pic {
    overflow: hidden;
    width: 150px;
    border-radius: 50%;
    flex-shrink: 0;
}

.team .team-member .pic img {
    transition: ease-in-out 0.3s;
}

.team .team-member:hover {
    transform: translateY(-10px);
}

.team .team-member .member-info {
    padding-left: 30px;
}

@media (max-width: 468px) {
    .team .team-member .member-info {
        padding: 30px 0 0 0;
        text-align: center;
    }
}

.team .team-member h4 {
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 20px;
}

.team .team-member span {
    display: block;
    font-size: 15px;
    padding-bottom: 10px;
    position: relative;
    font-weight: 500;
}

.team .team-member span::after {
    content: "";
    position: absolute;
    display: block;
    width: 50px;
    height: 1px;
    background: color-mix(in srgb, var(--default-color), transparent 85%);
    bottom: 0;
    left: 0;
}

@media (max-width: 468px) {
    .team .team-member span::after {
        left: calc(50% - 25px);
    }
}

.team .team-member p {
    margin: 10px 0 0 0;
    font-size: 14px;
}

.team .team-member .social {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: start;
    width: 100%;
}

@media (max-width: 468px) {
    .team .team-member .social {
        justify-content: center;
    }
}

.team .team-member .social a {
    background: color-mix(in srgb, var(--default-color), transparent 94%);
    transition: ease-in-out 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    width: 36px;
    height: 36px;
}

.team .team-member .social a i {
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    font-size: 16px;
    margin: 0 2px;
}

.team .team-member .social a:hover {
    background: var(--accent-color);
}

.team .team-member .social a:hover i {
    color: var(--contrast-color);
}

.team .team-member .social a + a {
    margin-left: 8px;
}

/*--------------------------------------------------------------
# Pricing Section
--------------------------------------------------------------*/
.pricing .pricing-item {
    background-color: var(--surface-color);
    box-shadow: 0 3px 20px -2px rgba(0, 0, 0, 0.1);
    border-top: 4px solid var(--background-color);
    padding: 60px 40px;
    height: 100%;
    border-radius: 5px;
}

.pricing h3 {
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 20px;
}

.pricing h4 {
    color: var(--accent-color);
    font-size: 48px;
    font-weight: 400;
    font-family: var(--heading-font);
    margin-bottom: 0;
}

.pricing h4 sup {
    font-size: 28px;
}

.pricing h4 span {
    color: color-mix(in srgb, var(--default-color), transparent 50%);
    font-size: 18px;
}

.pricing ul {
    padding: 20px 0;
    list-style: none;
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    text-align: left;
    line-height: 20px;
}

.pricing ul li {
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.pricing ul i {
    color: #059652;
    font-size: 24px;
    padding-right: 3px;
}

.pricing ul .na {
    color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.pricing ul .na i {
    color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.pricing ul .na span {
    text-decoration: line-through;
}

.pricing .buy-btn {
    color: var(--accent-color);
    display: inline-block;
    padding: 8px 35px 10px 35px;
    border-radius: 50px;
    transition: none;
    font-size: 16px;
    font-weight: 500;
    font-family: var(--heading-font);
    transition: 0.3s;
    border: 1px solid var(--accent-color);
}

.pricing .buy-btn:hover {
    background: var(--accent-color);
    color: var(--contrast-color);
}

.pricing .featured {
    border-top-color: var(--accent-color);
}

.pricing .featured .buy-btn {
    background: var(--accent-color);
    color: var(--contrast-color);
}

@media (max-width: 992px) {
    .pricing .box {
        max-width: 60%;
        margin: 0 auto 30px auto;
    }
}

@media (max-width: 767px) {
    .pricing .box {
        max-width: 80%;
        margin: 0 auto 30px auto;
    }
}

@media (max-width: 420px) {
    .pricing .box {
        max-width: 100%;
        margin: 0 auto 30px auto;
    }
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials {
    padding: 120px 0;
    position: relative;
    clip-path: inset(0);
}

.testimonials img {
    position: fixed;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.testimonials:before {
    content: "";
    background: color-mix(in srgb, var(--background-color), transparent 35%);
    position: absolute;
    inset: 0;
    z-index: 2;
}

.testimonials .container {
    position: relative;
    z-index: 3;
}

.testimonials .aos-animate {
    background-color: transparent !important;
}

.testimonials .section-header {
    margin-bottom: 40px;
}

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
    overflow: hidden;
}

.testimonials .testimonial-item {
    text-align: center;
}

.testimonials .testimonial-item .testimonial-img {
    width: 120px;
    border-radius: 50%;
    border: 4px solid var(--background-color);
    margin: 0 auto;
    position: relative;
}

.testimonials .testimonial-item h3 {
    font-size: 20px;
    font-weight: bold;
    margin: 10px 0 5px 0;
}

.testimonials .testimonial-item h4 {
    font-size: 14px;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
    margin: 0 0 15px 0;
}

.testimonials .testimonial-item .stars {
    margin-bottom: 15px;
}

.testimonials .testimonial-item .stars i {
    color: #ffc107;
    margin: 0 1px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
    color: color-mix(in srgb, var(--accent-color), transparent 50%);
    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: 0 auto 15px auto;
}

.testimonials .swiper-wrapper {
    height: auto;
}

.testimonials .swiper-pagination {
    margin-top: 20px;
    position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    opacity: 1;
    background-color: color-mix(in srgb, var(--default-color), transparent 85%);
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
    background-color: var(--accent-color);
}

@media (min-width: 992px) {
    .testimonials .testimonial-item p {
        width: 80%;
    }
}

/*--------------------------------------------------------------
# Faq 2 Section
--------------------------------------------------------------*/
.faq-2 .faq-container {
    margin-top: 15px;
}

.faq-2 .faq-container .faq-item {
    background-color: var(--surface-color);
    position: relative;
    padding: 20px;
    margin-bottom: 20px;
    overflow: hidden;
}

.faq-2 .faq-container .faq-item:last-child {
    margin-bottom: 0;
}

.faq-2 .faq-container .faq-item h3 {
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
    margin: 0 30px 0 32px;
    transition: 0.3s;
    cursor: pointer;
}

.faq-2 .faq-container .faq-item h3 span {
    color: var(--accent-color);
    padding-right: 5px;
}

.faq-2 .faq-container .faq-item h3:hover {
    color: var(--accent-color);
}

.faq-2 .faq-container .faq-item .faq-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: 0.3s ease-in-out;
    visibility: hidden;
    opacity: 0;
}

.faq-2 .faq-container .faq-item .faq-content p {
    margin-bottom: 0;
    overflow: hidden;
}

.faq-2 .faq-container .faq-item .faq-icon {
    position: absolute;
    top: 22px;
    left: 20px;
    font-size: 20px;
    line-height: 0;
    transition: 0.3s;
    color: var(--accent-color);
}

.faq-2 .faq-container .faq-item .faq-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 16px;
    line-height: 0;
    transition: 0.3s;
    cursor: pointer;
}

.faq-2 .faq-container .faq-item .faq-toggle:hover {
    color: var(--accent-color);
}

.faq-2 .faq-container .faq-active h3 {
    color: var(--accent-color);
}

.faq-2 .faq-container .faq-active .faq-content {
    grid-template-rows: 1fr;
    visibility: visible;
    opacity: 1;
    padding-top: 10px;
}

.faq-2 .faq-container .faq-active .faq-toggle {
    transform: rotate(90deg);
    color: var(--accent-color);
}

/*--------------------------------------------------------------
# Subscribe Section
--------------------------------------------------------------*/
.subscribe .container {
    padding: 80px 80px 0 80px;
    background: color-mix(in srgb, var(--default-color), transparent 96%);
    border-radius: 15px;
}

@media (max-width: 992px) {
    .subscribe .container {
        padding: 60px 60px 0 60px;
    }
}

@media (max-width: 575px) {
    .subscribe .container {
        padding: 25px 15px 0 15px;
        border-radius: 0;
    }
}

.subscribe .cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.subscribe .cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.subscribe .cta-form .form-control {
    height: 50px;
    border-radius: 25px 0 0 25px;
    border: 1px solid var(--accent-color);
    padding-left: 20px;
}

.subscribe .cta-form .form-control:focus {
    box-shadow: none;
    border-color: var(--accent-color);
}

.subscribe .cta-form .btn {
    height: 50px;
    border-radius: 0 25px 25px 0;
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--contrast-color);
    padding: 0 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.subscribe .cta-form .btn:hover {
    background-color: color-mix(in srgb, var(--accent-color), black 10%);
    border-color: color-mix(in srgb, var(--accent-color), black 10%);
}

@media (max-width: 575px) {
    .subscribe .cta-form .btn {
        padding: 0 15px;
    }
}

@media (max-width: 991px) {
    .subscribe .cta-content {
        text-align: center;
        margin-bottom: 2rem;
    }

    .subscribe .cta-image {
        text-align: center;
    }
}

/*--------------------------------------------------------------
# Recent Blog Postst Section
--------------------------------------------------------------*/
.recent-blog-postst .post-item {
    background: var(--surface-color);
    box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.recent-blog-postst .post-item .post-img img {
    transition: 0.5s;
}

.recent-blog-postst .post-item .post-date {
    position: absolute;
    right: 0;
    bottom: 0;
    background-color: var(--accent-color);
    color: var(--contrast-color);
    text-transform: uppercase;
    font-size: 13px;
    padding: 6px 12px;
    font-weight: 500;
}

.recent-blog-postst .post-item .post-content {
    padding: 30px;
}

.recent-blog-postst .post-item .post-title {
    color: var(--heading-color);
    font-size: 20px;
    font-weight: 700;
    transition: 0.3s;
    margin-bottom: 15px;
}

.recent-blog-postst .post-item .meta i {
    font-size: 16px;
    color: var(--accent-color);
}

.recent-blog-postst .post-item .meta span {
    font-size: 15px;
    color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.recent-blog-postst .post-item hr {
    color: color-mix(in srgb, var(--default-color), transparent 80%);
    margin: 20px 0;
}

.recent-blog-postst .post-item .readmore {
    display: flex;
    align-items: center;
    font-weight: 600;
    line-height: 1;
    transition: 0.3s;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.recent-blog-postst .post-item .readmore i {
    line-height: 0;
    margin-left: 6px;
    font-size: 16px;
}

.recent-blog-postst .post-item:hover .post-title,
.recent-blog-postst .post-item:hover .readmore {
    color: var(--accent-color);
}

.recent-blog-postst .post-item:hover .post-img img {
    transform: scale(1.1);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact {
    padding: 120px 0;
    position: relative;
    clip-path: inset(0);
}

.contact img {
    position: fixed;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.contact:before {
    content: "";
    background: color-mix(in srgb, var(--background-color), transparent 35%);
    position: absolute;
    inset: 0;
    z-index: 2;
}

.contact .container {
    position: relative;
    z-index: 3;
    padding: 40px;
}

.contact .info-wrap {
    background-color: var(--surface-color);
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
    border-top: 3px solid var(--accent-color);
    border-bottom: 3px solid var(--accent-color);
    padding: 30px;
    height: 100%;
}

@media (max-width: 575px) {
    .contact .info-wrap {
        padding: 20px;
    }
}

.contact .info-item {
    margin-bottom: 40px;
}

.contact .info-item i {
    font-size: 20px;
    color: var(--accent-color);
    background: color-mix(in srgb, var(--accent-color), transparent 92%);
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    transition: all 0.3s ease-in-out;
    margin-right: 15px;
}

.contact .info-item h3 {
    padding: 0;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.contact .info-item p {
    padding: 0;
    margin-bottom: 0;
    font-size: 14px;
}

.contact .info-item:hover i {
    background: var(--accent-color);
    color: var(--contrast-color);
}

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

@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: color-mix(
        in srgb,
        var(--background-color),
        transparent 50%
    );
    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%);
}

button[type="submit"],
.testimonials button[type="button"] {
    color: var(--contrast-color);
    background: var(--accent-color);
    border: 0;
    padding: 10px 30px;
    transition: 0.4s;
    border-radius: 50px;
}
.button[type="submit"]:hover,
.testimonials button[type="button"]:hover {
    background: color-mix(in srgb, var(--accent-color), transparent 25%);
}

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details .portfolio-details-slider img {
    width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
    margin-top: 20px;
    position: relative;
}

.portfolio-details
    .portfolio-details-slider
    .swiper-pagination
    .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: color-mix(in srgb, var(--default-color), transparent 85%);
    opacity: 1;
}

.portfolio-details
    .portfolio-details-slider
    .swiper-pagination
    .swiper-pagination-bullet-active {
    background-color: var(--accent-color);
}

.portfolio-details .portfolio-info {
    background-color: var(--surface-color);
    padding: 30px;
    box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
}

.portfolio-details .portfolio-info h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid
        color-mix(in srgb, var(--default-color), transparent 85%);
}

.portfolio-details .portfolio-info ul {
    list-style: none;
    padding: 0;
    font-size: 15px;
}

.portfolio-details .portfolio-info ul li + li {
    margin-top: 10px;
}

.portfolio-details .portfolio-description {
    padding-top: 30px;
}

.portfolio-details .portfolio-description h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
    padding: 0;
    color: color-mix(in srgb, var(--default-color), transparent 30%);
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .services-list {
    background-color: var(--surface-color);
    padding: 10px 30px;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    margin-bottom: 20px;
}

.service-details .services-list a {
    display: block;
    line-height: 1;
    padding: 8px 0 8px 15px;
    border-left: 3px solid
        color-mix(in srgb, var(--default-color), transparent 70%);
    margin: 20px 0;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    transition: 0.3s;
}

.service-details .services-list a.active {
    color: var(--heading-color);
    font-weight: 700;
    border-color: var(--accent-color);
}

.service-details .services-list a:hover {
    border-color: var(--accent-color);
}

.service-details .services-img {
    margin-bottom: 20px;
}

.service-details h3 {
    font-size: 26px;
    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(--accent-color);
}

/*--------------------------------------------------------------
# Blog Posts Section
--------------------------------------------------------------*/
.blog-posts article {
    background-color: var(--surface-color);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    padding: 30px;
    height: 100%;
}

.blog-posts .post-img {
    max-height: 440px;
    margin: -30px -30px 0 -30px;
    overflow: hidden;
}

.blog-posts .title {
    font-size: 24px;
    font-weight: 700;
    padding: 0;
    margin: 30px 0;
}

.blog-posts .title a {
    color: var(--heading-color);
    transition: 0.3s;
}

.blog-posts .title a:hover {
    color: var(--accent-color);
}

.blog-posts .meta-top {
    margin-top: 20px;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-posts .meta-top ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    align-items: center;
    padding: 0;
    margin: 0;
}

.blog-posts .meta-top ul li + li {
    padding-left: 20px;
}

.blog-posts .meta-top i {
    font-size: 16px;
    margin-right: 8px;
    line-height: 0;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.blog-posts .meta-top a {
    color: color-mix(in srgb, var(--default-color), transparent 40%);
    font-size: 14px;
    display: inline-block;
    line-height: 1;
}

.blog-posts .content {
    margin-top: 20px;
}

.blog-posts .content .read-more {
    text-align: right;
}

.blog-posts .content .read-more a {
    background: var(--accent-color);
    color: var(--contrast-color);
    display: inline-block;
    padding: 8px 30px;
    transition: 0.3s;
    font-size: 14px;
    border-radius: 4px;
}

.blog-posts .content .read-more a:hover {
    background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

/*--------------------------------------------------------------
# Pagination 2 Section
--------------------------------------------------------------*/
.pagination-2 {
    padding-top: 0;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.pagination-2 ul {
    display: flex;
    padding: 0;
    margin: 0;
    list-style: none;
}

.pagination-2 li {
    margin: 0 5px;
    transition: 0.3s;
}

.pagination-2 li a {
    color: color-mix(in srgb, var(--default-color), transparent 40%);
    padding: 7px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-2 li a.active,
.pagination-2 li a:hover {
    background: var(--accent-color);
    color: var(--contrast-color);
}

.pagination-2 li a.active a,
.pagination-2 li a:hover a {
    color: var(--contrast-color);
}

/*--------------------------------------------------------------
# Blog Details Section
--------------------------------------------------------------*/
.blog-details {
    max-width: 1000px;
    margin: 0 auto;
}

.blog-details .hero-img {
    position: relative;
    width: 100%;
    height: 500px;
    margin: 0 auto 3rem;
    border-radius: 16px;
    overflow: hidden;
}

.blog-details .hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-details .hero-img .meta-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.blog-details .hero-img .meta-overlay .meta-categories .category {
    color: var(--contrast-color);
    background-color: var(--accent-color);
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-details .hero-img .meta-overlay .meta-categories .category:hover {
    background-color: color-mix(in srgb, var(--accent-color), transparent 15%);
}

.blog-details .hero-img .meta-overlay .meta-categories .divider {
    color: var(--contrast-color);
    margin: 0 0.75rem;
}

.blog-details .hero-img .meta-overlay .meta-categories .reading-time {
    color: var(--contrast-color);
    font-size: 0.9rem;
}

.blog-details .hero-img .meta-overlay .meta-categories .reading-time i {
    margin-right: 0.3rem;
}

@media (max-width: 768px) {
    .blog-details .hero-img {
        height: 350px;
        margin-top: -30px;
        margin-bottom: 2rem;
    }
}

.blog-details .article-content {
    padding: 0 1rem;
}

.blog-details .article-content .content-header {
    margin-bottom: 3rem;
}

.blog-details .article-content .content-header .title {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    font-weight: 700;
    color: var(--heading-color);
}

@media (max-width: 768px) {
    .blog-details .article-content .content-header .title {
        font-size: 2rem;
    }
}

.blog-details .article-content .content-header .author-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid
        color-mix(in srgb, var(--default-color), transparent 90%);
}

.blog-details .article-content .content-header .author-info .author-details {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.blog-details
    .article-content
    .content-header
    .author-info
    .author-details
    .author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.blog-details
    .article-content
    .content-header
    .author-info
    .author-details
    .info
    h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--heading-color);
}

.blog-details
    .article-content
    .content-header
    .author-info
    .author-details
    .info
    .role {
    font-size: 0.9rem;
    color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.blog-details .article-content .content-header .author-info .post-meta {
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    font-size: 0.95rem;
}

.blog-details .article-content .content-header .author-info .post-meta i {
    margin-right: 0.3rem;
}

.blog-details
    .article-content
    .content-header
    .author-info
    .post-meta
    .divider {
    margin: 0 0.75rem;
}

.blog-details .article-content .content {
    font-size: 1.15rem;
    line-height: 1.8;
    color: color-mix(in srgb, var(--default-color), transparent 10%);
}

.blog-details .article-content .content .lead {
    font-size: 1.3rem;
    color: var(--heading-color);
    margin-bottom: 2rem;
    font-weight: 500;
}

.blog-details .article-content .content h2 {
    font-size: 2rem;
    color: var(--heading-color);
    margin: 3rem 0 1.5rem;
}

.blog-details .article-content .content p {
    margin-bottom: 1.5rem;
}

.blog-details .article-content .content ul {
    margin-bottom: 2rem;
    padding-left: 1.2rem;
}

.blog-details .article-content .content ul li {
    margin-bottom: 0.75rem;
    position: relative;
}

.blog-details .article-content .content .content-image {
    margin: 2.5rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.blog-details .article-content .content .content-image.right-aligned {
    float: right;
    max-width: 450px;
    margin: 1rem 0 2rem 2rem;
}

@media (max-width: 768px) {
    .blog-details .article-content .content .content-image.right-aligned {
        float: none;
        max-width: 100%;
        margin: 2rem 0;
    }
}

.blog-details .article-content .content .content-image img {
    width: 100%;
    height: auto;
}

.blog-details .article-content .content .content-image figcaption {
    padding: 1rem;
    text-align: center;
    font-size: 0.9rem;
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    background-color: color-mix(in srgb, var(--surface-color), transparent 50%);
}

.blog-details .article-content .content .highlight-box {
    background: color-mix(in srgb, var(--accent-color), transparent 95%);
    border-radius: 12px;
    padding: 2rem;
    margin: 2.5rem 0;
}

.blog-details .article-content .content .highlight-box h3 {
    color: var(--heading-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.blog-details .article-content .content .highlight-box .trend-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-details .article-content .content .highlight-box .trend-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
}

.blog-details .article-content .content .highlight-box .trend-list li i {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-right: 1rem;
}

.blog-details .article-content .content .highlight-box .trend-list li span {
    color: var(--heading-color);
    font-weight: 500;
}

.blog-details .article-content .content .content-grid {
    margin: 3rem 0;
}

.blog-details .article-content .content .content-grid .info-card {
    background: var(--surface-color);
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.blog-details .article-content .content .content-grid .info-card:hover {
    transform: translateY(-5px);
}

.blog-details .article-content .content .content-grid .info-card i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.blog-details .article-content .content .content-grid .info-card h4 {
    color: var(--heading-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.blog-details .article-content .content .content-grid .info-card p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

.blog-details .article-content .content blockquote {
    position: relative;
    margin: 3rem 0;
    padding: 2rem 3rem;
    background: var(--surface-color);
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.blog-details .article-content .content blockquote::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 8rem;
    color: color-mix(in srgb, var(--accent-color), transparent 85%);
    font-family: serif;
    line-height: 1;
}

.blog-details .article-content .content blockquote p {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--heading-color);
    margin: 0 0 1rem;
    position: relative;
}

.blog-details .article-content .content blockquote cite {
    font-style: normal;
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    font-size: 0.95rem;
    display: block;
}

.blog-details .article-content .meta-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid
        color-mix(in srgb, var(--default-color), transparent 90%);
    display: grid;
    gap: 2rem;
}

.blog-details .article-content .meta-bottom h4 {
    color: var(--heading-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.blog-details .article-content .meta-bottom .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.blog-details .article-content .meta-bottom .tags .tag {
    background: color-mix(in srgb, var(--accent-color), transparent 90%);
    color: var(--accent-color);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-details .article-content .meta-bottom .tags .tag:hover {
    background: var(--accent-color);
    color: var(--contrast-color);
}

.blog-details .article-content .meta-bottom .social-links {
    display: flex;
    gap: 1rem;
}

.blog-details .article-content .meta-bottom .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--accent-color), transparent 90%);
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.blog-details .article-content .meta-bottom .social-links a:hover {
    background: var(--accent-color);
    color: var(--contrast-color);
    transform: translateY(-2px);
}

.blog-details .article-content .meta-bottom .social-links a i {
    font-size: 1.2rem;
}

/*--------------------------------------------------------------
# Blog Comments Section
--------------------------------------------------------------*/
.blog-comments {
    padding: 20px 0;
}

.blog-comments .comments-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid
        color-mix(in srgb, var(--default-color), transparent 92%);
}

.blog-comments .comments-header .title {
    color: var(--heading-color);
    font-size: 32px;
    font-weight: 700;
    font-family: var(--heading-font);
    margin: 0;
}

.blog-comments .comments-header .comments-stats {
    background: color-mix(in srgb, var(--default-color), transparent 95%);
    padding: 8px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-comments .comments-header .comments-stats .count {
    font-size: 18px;
    font-weight: 700;
}

.blog-comments .comments-header .comments-stats .label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-comments .comments-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.blog-comments .comment-thread {
    position: relative;
}

.blog-comments .comment-thread:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 25px;
    top: 80px;
    bottom: 0;
    width: 2px;
    background: linear-gradient(
        to bottom,
        color-mix(in srgb, var(--accent-color), transparent 40%),
        color-mix(in srgb, var(--accent-color), transparent 90%)
    );
    z-index: 0;
}

@media (min-width: 768px) {
    .blog-comments .comment-thread:not(:last-child)::after {
        left: 35px;
    }
}

.blog-comments .comment-box {
    position: relative;
    transition: all 0.3s ease;
}

.blog-comments .comment-box.reply {
    margin-left: 50px;
    margin-top: 25px;
}

@media (min-width: 768px) {
    .blog-comments .comment-box.reply {
        margin-left: 70px;
    }
}

.blog-comments .comment-wrapper {
    display: flex;
    gap: 20px;
    position: relative;
}

.blog-comments .avatar-wrapper {
    position: relative;
    flex-shrink: 0;
}

.blog-comments .avatar-wrapper img {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    object-fit: cover;
    border: 3px solid var(--surface-color);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

@media (min-width: 768px) {
    .blog-comments .avatar-wrapper img {
        width: 70px;
        height: 70px;
    }
}

.blog-comments .avatar-wrapper img:hover {
    transform: scale(1.05);
}

.blog-comments .avatar-wrapper .status-indicator {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #4caf50;
    border: 2px solid var(--surface-color);
    z-index: 1;
}

.blog-comments .comment-content {
    flex: 1;
    background-color: var(--surface-color);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.blog-comments .comment-content:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.blog-comments .comment-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.blog-comments .comment-header .user-info h4 {
    color: var(--heading-color);
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 5px;
}

.blog-comments .comment-header .user-info .time-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-comments .comment-header .user-info .time-badge i {
    font-size: 13px;
}

.blog-comments .comment-header .engagement .likes {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background-color: color-mix(in srgb, var(--accent-color), transparent 92%);
    border-radius: 20px;
    color: var(--accent-color);
    font-size: 14px;
    font-weight: 500;
}

.blog-comments .comment-header .engagement .likes i {
    font-size: 13px;
}

.blog-comments .comment-body p {
    color: var(--default-color);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.blog-comments .comment-actions {
    display: flex;
    gap: 15px;
}

.blog-comments .comment-actions .action-btn {
    background: none;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.blog-comments .comment-actions .action-btn i {
    font-size: 15px;
    transition: all 0.3s ease;
}

.blog-comments .comment-actions .action-btn:hover {
    color: var(--accent-color);
    background-color: color-mix(in srgb, var(--accent-color), transparent 92%);
}

.blog-comments .comment-actions .action-btn:hover.like-btn i {
    transform: scale(1.2);
    color: #ff4b6e;
}

.blog-comments .comment-actions .action-btn:hover.reply-btn i {
    transform: translateX(-3px);
}

.blog-comments .comment-actions .action-btn:hover.share-btn i {
    transform: translateY(-2px);
}

.blog-comments .comment-actions .action-btn.like-btn.active {
    color: #ff4b6e;
}

.blog-comments .replies-container {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

@media (max-width: 768px) {
    .blog-comments .comments-header {
        margin-bottom: 30px;
    }

    .blog-comments .comments-header .title {
        font-size: 24px;
    }

    .blog-comments .comments-header .comments-stats {
        padding: 6px 15px;
    }

    .blog-comments .comments-header .comments-stats .count {
        font-size: 20px;
    }

    .blog-comments .comments-header .comments-stats .label {
        font-size: 12px;
    }

    .blog-comments .comment-content {
        padding: 20px;
    }

    .blog-comments .comment-header .user-info h4 {
        font-size: 16px;
    }

    .blog-comments .comment-header .user-info .time-badge {
        font-size: 13px;
    }

    .blog-comments .comment-body p {
        font-size: 14px;
    }

    .blog-comments .comment-actions .action-btn {
        padding: 6px 12px;
        font-size: 13px;
    }
}

/*--------------------------------------------------------------
# Blog Comment Form Section
--------------------------------------------------------------*/
.blog-comment-form {
    max-width: 900px;
    margin: 30px auto 0 auto;
    padding-top: 10px;
}

.blog-comment-form form {
    padding: 2rem;
    background-color: var(--surface-color);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog-comment-form .form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.blog-comment-form .form-header h3 {
    color: var(--heading-color);
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.blog-comment-form .form-header p {
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    font-size: 0.9375rem;
}

.blog-comment-form .input-group {
    margin-bottom: 1rem;
    position: relative;
}

.blog-comment-form .input-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--heading-color);
    font-weight: 500;
    font-size: 0.875rem;
}

.blog-comment-form .input-group input,
.blog-comment-form .input-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid color-mix(in srgb, var(--default-color), transparent 85%);
    border-radius: 8px;
    background-color: var(--surface-color);
    color: var(--default-color);
    font-size: 0.9375rem;
    transition: all 0.2s ease;
}

.blog-comment-form .input-group input::placeholder,
.blog-comment-form .input-group textarea::placeholder {
    color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.blog-comment-form .input-group input:hover,
.blog-comment-form .input-group textarea:hover {
    border-color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.blog-comment-form .input-group input:focus,
.blog-comment-form .input-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px
        color-mix(in srgb, var(--accent-color), transparent 90%);
}

.blog-comment-form .input-group input:invalid:not(:placeholder-shown),
.blog-comment-form .input-group textarea:invalid:not(:placeholder-shown) {
    border-color: #dc3545;
}

.blog-comment-form
    .input-group
    input:invalid:not(:placeholder-shown)
    + .error-text,
.blog-comment-form
    .input-group
    textarea:invalid:not(:placeholder-shown)
    + .error-text {
    opacity: 1;
    transform: translateY(0);
}

.blog-comment-form .input-group textarea {
    min-height: 120px;
    resize: vertical;
}

.blog-comment-form .input-group .error-text {
    position: absolute;
    bottom: -20px;
    left: 0;
    color: #dc3545;
    font-size: 0.75rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.2s ease;
}

button[type="submit"],
.testimonials button[type="button"] {
    background: var(--accent-color);
    color: var(--contrast-color);
    padding: 0.875rem 2.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}
button[type="submit"]:hover,
.testimonials button[type="button"]:hover {
    background: color-mix(in srgb, var(--accent-color), transparent 15%);
    transform: translateY(-2px);
}

button[type="submit"]:active,
.testimonials button[type="button"]:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .blog-comment-form {
        padding: 1.5rem;
    }

    .blog-comment-form .form-header h3 {
        font-size: 1.5rem;
    }

    button[type="submit"],
    button[type="button"] {
        width: 100%;
        padding: 0.875rem 1rem;
    }
    .testimonials .testimonial-item .testimonial-img {
        position: relative;
    }

    .call-to-action .container {
        margin: 16vh 0vh;
    }
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Error 404 Section
--------------------------------------------------------------*/
.error-404 {
    padding: 80px 0;
    margin: 0 auto;
}

.error-404 .error-icon {
    font-size: 5rem;
    color: color-mix(in srgb, var(--accent-color), transparent 15%);
}

.error-404 .error-code {
    font-size: clamp(6rem, 15vw, 12rem);
    font-weight: 800;
    color: color-mix(in srgb, var(--heading-color), transparent 10%);
    font-family: var(--heading-font);
    line-height: 1;
}

.error-404 .error-title {
    font-size: 2rem;
    color: var(--heading-color);
    font-weight: 600;
}

.error-404 .error-text {
    font-size: 1.1rem;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    max-width: 600px;
    margin: 0 auto;
}

.error-404 .search-box {
    max-width: 500px;
    margin: 0 auto;
}

.error-404 .search-box .input-group {
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.error-404 .search-box .form-control {
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    color: var(--default-color);
    background-color: var(--surface-color);
    border-radius: 50px;
}

.error-404 .search-box .form-control:focus {
    box-shadow: none;
    border-color: var(--accent-color);
}

.error-404 .search-box .form-control::placeholder {
    color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.error-404 .search-box .search-btn {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    border: none;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.error-404 .search-box .search-btn:hover {
    background-color: color-mix(in srgb, var(--accent-color), transparent 15%);
}

.error-404 .error-action .btn-primary {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    background-color: var(--accent-color);
    border: none;
    color: var(--contrast-color);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.error-404 .error-action .btn-primary:hover {
    background-color: color-mix(in srgb, var(--accent-color), transparent 15%);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .error-404 {
        padding: 60px 0;
    }

    .error-404 .error-code {
        font-size: clamp(4rem, 12vw, 8rem);
    }

    .error-404 .error-title {
        font-size: 1.5rem;
    }

    .error-404 .error-text {
        font-size: 1rem;
        padding: 0 20px;
    }

    .error-404 .search-box {
        margin: 0 20px;
    }
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widgets-container {
    margin: 60px 0 30px 0;
}

.widget-title {
    color: var(--heading-color);
    font-size: 20px;
    font-weight: 600;
    padding: 0 0 0 10px;
    margin: 0 0 20px 0;
    border-left: 4px solid var(--accent-color);
}

.widget-item {
    margin-bottom: 30px;
    background-color: color-mix(in srgb, var(--default-color), transparent 98%);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    padding: 30px;
    border-radius: 5px;
}

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

.search-widget form {
    background: var(--background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 75%);
    padding: 3px 10px;
    position: relative;
    border-radius: 50px;
    transition: 0.3s;
}

.search-widget form input[type="text"] {
    border: 0;
    padding: 4px 10px;
    border-radius: 4px;
    width: calc(100% - 40px);
    background-color: var(--background-color);
    color: var(--default-color);
}

.search-widget form input[type="text"]:focus {
    outline: none;
}

.search-widget form button {
    background: none;
    color: var(--default-color);
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    border: 0;
    font-size: 16px;
    padding: 0 16px;
    transition: 0.3s;
    line-height: 0;
}

.search-widget form button i {
    line-height: 0;
}

.search-widget form button:hover {
    color: var(--accent-color);
}

.search-widget form:is(:focus-within) {
    border-color: var(--accent-color);
}

.recent-posts-widget .post-item {
    display: flex;
    margin-bottom: 15px;
}

.recent-posts-widget .post-item:last-child {
    margin-bottom: 0;
}

.recent-posts-widget .post-item img {
    width: 80px;
    margin-right: 15px;
}

.recent-posts-widget .post-item h4 {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 5px;
}

.recent-posts-widget .post-item h4 a {
    color: var(--default-color);
    transition: 0.3s;
}

.recent-posts-widget .post-item h4 a:hover {
    color: var(--accent-color);
}

.recent-posts-widget .post-item time {
    display: block;
    font-style: italic;
    font-size: 14px;
    color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.categories-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categories-widget ul li {
    padding-bottom: 10px;
}

.categories-widget ul li:last-child {
    padding-bottom: 0;
}

.categories-widget ul a {
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    transition: 0.3s;
}

.categories-widget ul a:hover {
    color: var(--accent-color);
}

.categories-widget ul a span {
    padding-left: 5px;
    color: color-mix(in srgb, var(--default-color), transparent 50%);
    font-size: 14px;
}

.tags-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tags-widget ul li {
    display: inline-block;
}

.tags-widget ul a {
    background-color: color-mix(in srgb, var(--default-color), transparent 94%);
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    border-radius: 50px;
    font-size: 14px;
    padding: 5px 15px;
    margin: 0 6px 8px 0;
    display: inline-block;
    transition: 0.3s;
}

.tags-widget ul a:hover {
    background: var(--accent-color);
    color: var(--contrast-color);
}

.tags-widget ul a span {
    padding-left: 5px;
    color: color-mix(in srgb, var(--default-color), transparent 60%);
    font-size: 14px;
}

/* Mobile drawer background */
@media (max-width: 1199px) {
    .navmenu ul {
        background-color: var(--nav-mobile-background-color);
        box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04),
            0 20px 60px rgba(0, 0, 0, 0.6);
    }
}

/* Dropdown panels */
@media (min-width: 1200px) {
    .navmenu .dropdown ul,
    .navmenu .megamenu ul {
        background: var(--nav-dropdown-background-color);
        box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
        border: 1px solid rgba(148, 163, 184, 0.1);
    }
}

/* ---------- Global elements ---------- */
body {
    background-color: var(--background-color);
    color: var(--default-color);
}

/* Links */
a {
    color: var(--accent-color);
}

a:hover {
    color: #f0abfc;
}

/* lighter fuchsia */

/* Section title underline bar uses gradient */
.section-title h2::after {
    background: none;
    background-image: var(--accent-gradient);
}

/* Divider lines subtler on black */
.section-title h2::before,
.footer .copyright,
.service-details .services-list {
    background: color-mix(in srgb, var(--default-color), transparent 85%);
    border-color: color-mix(in srgb, var(--default-color), transparent 85%);
    position: absolute;
    left: 0%;
    bottom: 0;
}

/* Shadows tuned for dark surfaces */
.services .service-item,
.team .team-member,
.blog-posts article,
.recent-blog-postst .post-item,
.work-process .steps-item,
.contact .info-wrap,
.contact .php-email-form,
.portfolio-details .portfolio-info {
    background-color: var(--surface-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6),
        0 1px 0 rgba(255, 255, 255, 0.03) inset;
    border: 1px solid rgba(148, 163, 184, 0.1);
}

/* Inputs & fields */
.contact .php-email-form input[type="text"],
.contact .php-email-form input[type="email"],
.contact .php-email-form textarea,
.subscribe .cta-form .form-control {
    background-color: rgba(2, 6, 23, 0.6);
    border-color: rgba(148, 163, 184, 0.18);
    color: var(--default-color);
}

.contact .php-email-form input[type="text"]::placeholder,
.contact .php-email-form input[type="email"]::placeholder,
.contact .php-email-form textarea::placeholder {
    color: rgba(203, 213, 225, 0.55);
}

/* Newsletter band */
.footer .footer-newsletter {
    background-color: rgba(2, 6, 23, 0.6);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6) inset;
}

/* Subscribe section container – remove pale white glass, use subtle outline */
.subscribe .container {
    background: rgba(15, 23, 42, 0.66);
    border: 1px solid rgba(148, 163, 184, 0.1);
}

/* ---------- Accent: turn colored blocks into gradients ---------- */
.header .btn-getstarted,
.hero .btn-get-started,
.about .read-more:hover,
.call-to-action .cta-btn:hover,
.pricing .featured .buy-btn,
.portfolio .portfolio-filters li.filter-active,
.scroll-top,
button[type="submit"],
.testimonials button[type="button"],
.footer .footer-newsletter .newsletter-form input[type="submit"] {
    background-image: var(--accent-gradient);
    background-color: transparent;
    border-color: transparent;
    color: var(--contrast-color);
}

/* Hover/focus brightness for accent buttons */
.header .btn-getstarted:hover,
.hero .btn-get-started:hover,
.about .read-more:hover,
.pricing .featured .buy-btn:hover,
.portfolio .portfolio-filters li.filter-active:hover,
button[type="submit"]:hover,
.testimonials button[type="button"]:hover,
.footer .footer-newsletter .newsletter-form input[type="submit"]:hover {
    filter: brightness(1.05);
}

/* Outline accent elements */
.about .read-more,
.pricing .buy-btn,
.subscribe .cta-form .btn {
    border-color: #f0abfc;
}

.pricing .buy-btn:hover,
.subscribe .cta-form .btn:hover {
    background-image: var(--accent-gradient);
    color: var(--contrast-color);
    border-color: transparent;
}

/* Toggle chips, bullets & small accents */
.testimonials .swiper-pagination .swiper-pagination-bullet-active,
.portfolio-details
    .portfolio-details-slider
    .swiper-pagination
    .swiper-pagination-bullet-active {
    background-image: var(--accent-gradient);
    background-color: transparent;
}

/* Stars remain golden but a bit dimmer on dark */
.testimonials .testimonial-item .stars i {
    color: #eab308;
}

/* ---------- Hero & media overlays ---------- */
.hero p {
    color: rgba(203, 213, 225, 0.8);
}

/* Call-to-action overlay darker */
.call-to-action:before {
    background: rgba(2, 6, 23, 0.55);
}

/* Portfolio info backdrop on hover */
.portfolio .portfolio-item .portfolio-info {
    background: rgba(2, 6, 23, 0.66);
    border: 1px solid rgba(148, 163, 184, 0.1);
}

/* ---------- Footer ---------- */
.footer {
    background-color: var(--background-color);
    color: var(--default-color);
}

.footer .footer-links ul i {
    color: #f0abfc;
}

/* small accent icon */
.footer .social-links a:hover {
    color: var(--contrast-color);
    border-color: transparent;
    background-image: var(--accent-gradient);
}

/* ---------- Utilities ---------- */
/* Optional: add this class on any element to force a gradient border */
.gradient-border {
    position: relative;
}

.gradient-border::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: inherit;
    background: var(--accent-gradient);
    -webkit-mask: linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Remove any stray white backgrounds from images/components that set #fff explicitly */
* {
    /* This is conservative: only affects full-white backgrounds */
    background-color: unset;
}

/* Re-apply for surfaces that need it via variables */
section,
.section,
.card,
.panel,
.box,
.container,
.footer,
.header {
    background-color: var(--background-color);
    color: #cbd5e1;
}

/* Panels/cards */
.card,
.panel,
.box,
.work-process .steps-item,
.services .service-item {
    background-color: var(--surface-color);
}

/* ================== REVEAL ANIMATIONS ================== */

/* =====================================================================
   Section Animations – Reveal on Scroll (black theme friendly)
   Add the class .reveal to any element (sections, rows, cards)
   Optional variants: .reveal-up (default), .reveal-left, .reveal-right, .reveal-zoom
   Stagger: add data-reveal-delay="100" (ms)
   ===================================================================== */

:root {
    --reveal-distance: 24px;
    --reveal-duration: 700ms;
    --reveal-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --section-glow: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal-up,
    .reveal-left,
    .reveal-right,
    .reveal-zoom {
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
    .section-glow::before {
        animation: none !important;
    }
}

/* Base hidden state */
.reveal {
    opacity: 0;
    transform: translateY(var(--reveal-distance));
    transition: opacity var(--reveal-duration) var(--reveal-ease),
        transform var(--reveal-duration) var(--reveal-ease),
        filter var(--reveal-duration) var(--reveal-ease);
    will-change: opacity, transform, filter;
    filter: saturate(0.9) brightness(0.95);
}

/* Variants */
.reveal-up {
    transform: translateY(var(--reveal-distance));
}
.reveal-left {
    transform: translateX(calc(var(--reveal-distance) * -1));
}
.reveal-right {
    transform: translateX(var(--reveal-distance));
}
.reveal-zoom {
    transform: scale(0.96);
}

/* Visible state */
.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: none;
}

/* Nice touch: subtle section glow ribbon you can add to any section */
.section-glow {
    position: relative;
    isolation: isolate;
}
.section-glow::before {
    content: "";
    position: absolute;
    inset: -2px;
    background: var(--section-glow);
    filter: blur(32px);
    opacity: 0.1;
    z-index: -1;
    animation: glowShift 12s ease-in-out infinite alternate;
}
@keyframes glowShift {
    0% {
        transform: translateX(-6%) translateY(-2%) rotate(0deg);
        opacity: 0.08;
    }
    100% {
        transform: translateX(6%) translateY(2%) rotate(3deg);
        opacity: 0.14;
    }
}

/* Animated gradient underline for section titles */
.section-title h2 {
    background-image: linear-gradient(90deg, #f8fafc 0, #f8fafc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
}
.section-title h2::after {
    content: "";
    display: block;
    height: 3px;
    margin-top: 12px;
    border-radius: 999px;
    background-image: var(--section-glow);
    background-size: 200% 100%;
    animation: underlineSweep 4.5s ease-in-out infinite;
}
@keyframes underlineSweep {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Optional: parallax-ish hero media float */
.hero .hero-img {
    transform: translateY(8px);
    animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty {
    0%,
    100% {
        transform: translateY(8px);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* Keep the sticky sun centered and above the starfield */
#hero .earth {
    position: sticky;
    top: 18vh; /* adjust as you like */
    left: 80%;
    transform: translateX(-50%) translateZ(0);
    z-index: 1;
    width: clamp(80px, 12vw, 160px);
    height: auto;
    pointer-events: none;
}

/* Content stays above both */
#hero .container {
    position: relative;
    z-index: 2;
}

/* Optional: ensure twinkles/comets don’t bleed past the clip */
.star,
.comet {
    will-change: transform, opacity;
}

/* If you use big drop-shadows or filters on comets and still see bleed,
   add this (safest cross-browser fallback): */
@supports not (overflow: clip) {
    #starmap {
        overflow: hidden;
    }
}

/* Ensure the hero can host sticky children */
#hero.hero.section {
    position: relative;
    overflow: visible; /* sticky breaks if an ancestor has overflow != visible */
    min-height: 100vh; /* optional: gives some scroll room to see the effect */
}

/* Keep the sun image static (sticky) inside the hero only */
#hero .earth {
    position: absolute;
    top: 60vh;
    left: 70%;
    height: 70%;
    width: auto;
    transform: translate(-50%, -50%) translateZ(0); /* center both axes */
}

/* Keep text and cards above the sun */
#hero .container {
    position: relative;
    z-index: 2;
    background-color: transparent;
}

.footer .copyright {
    background-color: unset;
}

.box-card {
    --cube-size: 120px; /* ⇦ change this to resize the whole cube */
    --half: calc(var(--cube-size) / 2);

    margin: auto;
    width: var(--cube-size);
    height: var(--cube-size);
    position: relative;
    transform-style: preserve-3d;
    transition: transform 1s ease;
    cursor: pointer;
    animation: rotate3d 5s infinite linear;
    position: absolute;
    right: 0;
}

.face {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem; /* smaller text for smaller cube */
    font-weight: bold;
    backface-visibility: visible;
    border-radius: 12px;
    background: linear-gradient(145deg, #2a2a2a, #383838);
    border: 2px solid #9c27b0; /* non-blue accent; adjust if needed */
    transition: all 0.3s ease;
    overflow: hidden;
}

/* sheen effects unchanged */
.face::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    top: -100%;
    left: -100%;
    transition: all 0.5s ease;
    transform: translateZ(20px);
}
.face::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        transparent 0%,
        rgba(255, 255, 255, 0.05) 50%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}
.face:hover::before {
    top: 100%;
    left: 100%;
}
.face:hover::after {
    opacity: 1;
}

/* 3D placement uses half the cube size */
.front {
    transform: translateZ(var(--half));
}
.back {
    transform: translateZ(calc(-1 * var(--half))) rotateY(180deg);
}
.right {
    transform: translateX(var(--half)) rotateY(90deg);
}
.left {
    transform: translateX(calc(-1 * var(--half))) rotateY(-90deg);
}
.top {
    transform: translateY(calc(-1 * var(--half))) rotateX(90deg);
}
.bottom {
    transform: translateY(var(--half)) rotateX(-90deg);
}

/* Optional per-face accent colors (no blue) */
.front {
    border-color: #e879f9;
} /* fuchsia */
.back {
    border-color: #8b5cf6;
} /* violet */
.right {
    border-color: #4caf50;
} /* green */
.left {
    border-color: #ff4081;
} /* pink */
.top {
    border-color: #ffc107;
} /* amber */
.bottom {
    border-color: #9c27b0;
} /* purple */

@keyframes rotate3d {
    0% {
        transform: rotateX(0) rotateY(0);
    }
    25% {
        transform: rotateX(90deg) rotateY(90deg);
    }
    50% {
        transform: rotateX(180deg) rotateY(180deg);
    }
    75% {
        transform: rotateX(270deg) rotateY(270deg);
    }
    100% {
        transform: rotateX(360deg) rotateY(360deg);
    }
}

/* Smaller on mobile (just change the variable) */
@media (max-width: 768px) {
    .box-card {
        --cube-size: 90px;
        position: relative;
    } /* was 150 → now compact */
    .face {
        font-size: 0.9rem;
    }
    .section {
        min-height: 80vh;
    }
    .call-to-action img {
        top: 50%;
        left: 25%;
        height: 400px;
    }

    .testimonials .container {
        position: relative;
        z-index: 3;
    }

    .testimonials .aos-animate {
        opacity: 0.4;
        background-color: transparent !important;
    }
    #hero .earth {
        position: absolute;
        top: 26vh;
        left: 50%;
        height: 29%;
        width: auto;
        transform: translate(-50%, -50%) translateZ(0);
    }

    #hero .container .row.gy-4 {
        margin-top: 130px;
    }
}

#starmap {
    height: 100vh;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
}

#starmap .star {
    position: absolute;
    border-radius: 50%;
    background: #fff;
    opacity: 0.8;

    /* animate twinkle + drift */
    animation-name: twinkle, drift;
    animation-duration: var(--twinkleDur, 2s), var(--driftDur, 10s);
    animation-iteration-count: infinite, infinite;
    animation-timing-function: ease-in-out, linear;
}

@keyframes twinkle {
    from {
        opacity: 0.4;
    }
    to {
        opacity: 1;
    }
}

@keyframes drift {
    from {
        transform: translate(0, 0);
    }
    to {
        transform: translate(var(--dx, -200px), var(--dy, 200px));
    }
}

/* comets */
.comet {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #fff;
    border-radius: 50%;
    filter: drop-shadow(0 0 6px #fff);

    /* per-comet props set from JS */
    --x: 100vw; /* start on the right edge */
    --y: -10vh; /* slightly above top */
    --dx: -140vw; /* move left */
    --dy: 140vh; /* move down */
    --dur: 4s;
    --len: 200px;

    animation: diagonal-fall var(--dur) linear forwards;
}

.comet::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: var(--len);
    height: 3px;
    transform: translate(-100%, -50%) rotate(135deg);
    border-radius: 999px;
    background: linear-gradient(
        to left,
        rgba(255, 255, 255, 0.95),
        rgba(255, 255, 255, 0.5) 40%,
        rgba(255, 255, 255, 0) 100%
    );
}

@keyframes diagonal-fall {
    from {
        transform: translate(var(--x), var(--y));
        opacity: 1;
    }
    to {
        transform: translate(
            calc(var(--x) + var(--dx)),
            calc(var(--y) + var(--dy))
        );
        opacity: 0;
    }
}

#hero.hero.section {
    position: relative;
    overflow: visible; /* keep visible so .earth sticky works */
    isolation: isolate; /* keeps z-index inside hero */
}

/* Starfield layer: clipped to the hero bounds only */
#starmap {
    position: absolute;
    inset: 0; /* fill the hero */
    height: 100%;
    width: 100%;
    overflow: clip; /* or use overflow:hidden for wider support */
    pointer-events: none; /* purely decorative */
    z-index: 0; /* behind content & sun */
    contain: paint; /* clip filter/glows reliably */
}

.card .nav-tabs {
    border-bottom: 0;
    /* we'll draw the border on the content box */
}

.nav-pills .nav-link {
    border-radius: 0.5rem 0.5rem 0 0;
}

.card .nav-tabs .nav-link {
    color: var(--nav-color);
    background: transparent;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-bottom: 0;
    margin-bottom: -1px;
}

.card .nav-tabs .nav-link:hover {
    color: var(--nav-hover-color);
}

.card .nav-tabs .nav-link.active {
    color: var(--nav-hover-color);
    background: var(--surface-color);
    border-color: rgba(148, 163, 184, 0.25);
    border-bottom-color: transparent;
}

/* 3) Single border around the pane (connects seamlessly to active tab) */
.card .tab-content {
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-top: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 0 0 0.5rem 0.5rem;
    background: var(--surface-color);
    padding: 1.25rem;
}

/* Optional: make transitions smooth */
.card .nav-tabs .nav-link,
.card .tab-content {
    transition: all 0.2s ease;
}

.form-control,
.form-control:focus {
    color: #f0f0f0;
    background-color: unset;
}

/* === THEME: Auth modal on dark surfaces === */
.theme-auth .modal-content {
    background: var(--surface-color);
    color: var(--default-color);
    border: 1px solid rgba(148, 163, 184, 0.25);
}
.theme-auth .modal-header,
.theme-auth .modal-footer {
    border-color: rgba(148, 163, 184, 0.18);
}
.theme-auth .btn-close {
    filter: invert(1) opacity(0.85);
}

/* Inputs in dark mode */
.theme-auth .form-control {
    background-color: rgba(2, 6, 23, 0.6);
    border-color: rgba(148, 163, 184, 0.18);
    color: var(--default-color);
}
.theme-auth .form-control::placeholder {
    color: rgba(203, 213, 225, 0.55);
}

/* Primary buttons use your gradient */
.theme-auth .btn.btn-primary {
    background-image: var(--accent-gradient);
    background-color: transparent;
    border: 0;
    color: var(--contrast-color);
}

/* Tabs seam fix (no gap between tabs and content) */
.theme-auth .tabbed-modal-tabs {
    border-bottom: 0;
}
.theme-auth .tabbed-modal-tabs .nav-link {
    color: var(--nav-color);
    background: transparent;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-bottom: 0;
    margin: 0 0.25rem;
    margin-bottom: -1px; /* overlap content border */
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}
.theme-auth .tabbed-modal-tabs .nav-link:hover {
    color: var(--nav-hover-color);
}
.theme-auth .tabbed-modal-tabs .nav-link.active {
    color: var(--heading-color);
    background: var(--surface-color);
    border-color: rgba(148, 163, 184, 0.25);
    border-bottom-color: transparent;
}
.theme-auth .tabbed-modal-content {
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: var(--surface-color);
    border-radius: 0 0 0.5rem 0.5rem;
}

/* Your bottom-border-only button */
.btn-underline,
.btn.btn-underline {
    --underline-w: 0%;
    --underline-h: 2px;
    background: transparent !important;
    border: 0 !important;
    color: var(--heading-color);
    font-weight: 600;
    padding: 0.25rem 0.25rem;
    border-radius: 0;
    position: relative;
    text-decoration: none;
    background-image: var(--accent-gradient);
    background-repeat: no-repeat;
    background-position: left calc(100% - 0px);
    background-size: var(--underline-w) var(--underline-h);
    transition: color 0.25s ease, background-size 0.25s ease;
}
.btn-underline-animate:hover,
.btn-underline-animate:focus {
    --underline-w: 100%;
    color: #fff;
}

/* ================== Global placeholder styling ================== */
/* Tune these if you want slightly lighter/darker placeholders */
:root {
    --placeholder-color: rgba(203, 213, 225, 0.55); /* slate-300 @55% */
    --placeholder-focus: rgba(254, 254, 254, 0.934);
    --placeholder-disabled: rgba(148, 163, 184, 0.5);
    --placeholder-error: rgba(239, 68, 68, 0.8); /* red-500 */
}

/* Modern browsers */
input::placeholder,
textarea::placeholder {
    color: var(--placeholder-color);
    opacity: 1;
}

/* Bootstrap controls */
.form-control::placeholder {
    color: var(--placeholder-color);
    opacity: 1;
}

/* Focus = lighter hint */
input:focus::placeholder,
textarea:focus::placeholder,
.form-control:focus::placeholder {
    color: var(--placeholder-focus);
}

/* Disabled/read-only */
input:disabled::placeholder,
textarea:disabled::placeholder,
.form-control:disabled::placeholder {
    color: var(--placeholder-disabled);
}

/* Error state (Bootstrap’s .is-invalid) */
.form-control.is-invalid::placeholder {
    color: var(--placeholder-error);
}

/* Optional utilities */
.placeholder-sm::placeholder {
    font-size: 0.875rem;
}
.placeholder-lg::placeholder {
    font-size: 1.125rem;
}
.placeholder-italic::placeholder {
    font-style: italic;
}
.placeholder-upper::placeholder {
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Vendor fallbacks for older browsers (safe to include) */
::-webkit-input-placeholder {
    color: var(--placeholder-color);
}
::-moz-placeholder {
    color: var(--placeholder-color);
    opacity: 1;
}
:-ms-input-placeholder {
    color: var(--placeholder-color);
}
::-ms-input-placeholder {
    color: var(--placeholder-color);
}

/* Dark/gradient toast */
.theme-toast {
    background: var(--surface-color);
    color: var(--default-color);
    border: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.theme-toast .toast-header {
    background: rgba(2, 6, 23, 0.6);
    color: var(--default-color);
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}
.theme-toast .btn-close {
    filter: invert(1) opacity(0.85);
}
.theme-toast .toast-body {
    color: var(--default-color);
}

/* Accent dot + optional gradient left border */
.toast-accent {
    position: relative;
}
.toast-accent::before {
    content: "";
    position: absolute;
    inset: 0 0 0 auto;
    width: 0;
}
.toast-accent .toast-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-image: var(--accent-gradient);
    display: inline-block;
    flex: 0 0 auto;
}

/* Compact chip for header button */
.profile-chip {
    display: inline-flex;
    gap: 0.5rem;
    border-radius: 40px !important;
    border: 1px solid;
    margin-left: 10px;
}

/* Gradient initial when no photo */
.avatar-initial {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.9rem;
    background-image: var(--accent-gradient);
    color: var(--contrast-color);
    box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.2) inset;
}

@media (max-width: 1200px) {
    .profile-chip {
        order: 2;
    }
}

/* Container */
.premium-modal .modal-content {
    background: var(--surface-color);
    border: 1px solid rgba(148, 163, 184, 0.22);
}

/* Gradient outline card with glow + lift */
.premium-card {
    position: relative;
    border-radius: 16px;
    background: rgba(2, 6, 23, 0.6);
    backdrop-filter: blur(6px);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.premium-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.premium-card.post-item .post-img {
    border-radius: 16px 16px 0 0;
}

.premium-card.post-item .post-img img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

/* 1px gradient outline using mask trick */
.gradient-outline::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: var(--accent-gradient);
    -webkit-mask: linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Accent icon */
.premium-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 20px;
    color: var(--contrast-color);
    background-image: var(--accent-gradient);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

/* Feature list */
.premium-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.premium-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.25rem 0;
}

.premium-list i {
    color: #22c55e;
}

/* green check */

/* Shine sweep */
.card-shine {
    position: absolute;
    inset: -2px;
    border-radius: 16px;
    pointer-events: none;
    background: linear-gradient(
        110deg,
        transparent 40%,
        rgba(255, 255, 255, 0.08) 50%,
        transparent 60%
    );
    transform: translateX(-100%);
    animation: shine 3.5s ease-in-out infinite;
    opacity: 0.4;
}

@keyframes shine {
    to {
        transform: translateX(100%);
    }
}

/* Badges */
.badge-premium {
    background-image: var(--accent-gradient);
    color: var(--contrast-color);
    border-radius: 999px;
    padding: 0.25rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Buttons inherit your theme; outline tweak */
.premium-modal .btn-outline-light {
    border-color: rgba(148, 163, 184, 0.35);
    color: var(--default-color);
}

.premium-modal .btn-outline-light:hover {
    background: rgba(148, 163, 184, 0.12);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .premium-card,
    .card-shine {
        animation: none !important;
        transition: none !important;
    }
}

/* Card shell */
.purchase-card {
    position: relative;
    border-radius: 16px;
    background: var(--surface-color);
    overflow: hidden;
}
.gradient-outline::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: var(--accent-gradient);
    -webkit-mask: linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Cover + multi-line clamp */
.purchase-cover {
    width: 64px;
    height: 84px;
    object-fit: cover;
    border-radius: 0.5rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}
.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Status badges */
.badge-status {
    border-radius: 999px;
    padding: 0.25rem 0.6rem;
    font-size: 0.7rem;
    font-weight: 700;
}
.badge-status.pending {
    background: rgba(234, 179, 8, 0.15);
    color: #eab308;
    border: 1px solid rgba(234, 179, 8, 0.25);
}
.badge-status.verified {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.25);
}
.badge-status.rejected {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

/* Download link */
.btn-download {
    padding: 0;
    text-decoration: none;
    border-bottom: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 0;
}
.btn-download:hover {
    border-bottom-color: transparent;
    background: linear-gradient(currentColor, currentColor) bottom/100% 1px
            no-repeat,
        var(--accent-gradient);
    -webkit-background-clip: text, border-box;
    background-clip: text, border-box;
    color: var(--contrast-color);
}

.btn-wishlist {
    position: absolute;
    /* right: 0; */
    left: 90%;
    top: 2%;
    border-radius: 16px;
}

.btn-wishlist[aria-pressed="true"] {
    background-image: var(--accent-gradient);
    color: var(--contrast-color);
    border-color: transparent;
}

/* Ensure the image area acts as the positioning context */
.post-img {
    position: relative; /* required for absolute children */
    isolation: isolate; /* creates its own stacking context */
    border-radius: 12px;
    overflow: hidden; /* keep rounded corners */
}

/* Make sure the image doesn’t sit above the badge */
.post-img > img {
    display: block;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 1; /* below the badge */
}

/* If you have a decorative overlay on .post-img::after, keep it below the badge */
.post-img::after {
    /* ...your overlay styles... */
    z-index: 1; /* <= keep this <= image */
}

/* The heart badge: always above */
.wishlist-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 5; /* above image/overlay */
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(2, 6, 23, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.25);
    backdrop-filter: blur(6px);
    color: var(--default-color);
    transition: transform 0.15s ease, box-shadow 0.15s ease,
        background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.wishlist-badge:hover {
    transform: translateY(-1px) scale(1.03);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}
.wishlist-badge[aria-pressed="true"] {
    background-image: var(--accent-gradient);
    color: var(--contrast-color);
    border-color: transparent;
}
.wishlist-badge i {
    font-size: 1rem;
    line-height: 1;
}

.pretty-card {
    position: relative;
    border-radius: 16px;
    background: var(--surface-color);
    overflow: hidden;
}
.gradient-outline::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: var(--accent-gradient);
    -webkit-mask: linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
/* Interactive stars */
.rating-picker .star {
    background: transparent;
    border: 1px solid rgba(148, 163, 184, 0.25);
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: inline-grid;
    place-items: center;
    color: var(--default-color);
    margin-right: 0.25rem;
    transition: transform 0.12s ease, background 0.12s ease,
        border-color 0.12s ease;
}
.rating-picker .star:hover {
    transform: translateY(-1px);
    background: rgba(148, 163, 184, 0.08);
    border-color: rgba(148, 163, 184, 0.35);
}

.rating-picker .bi-star-fill {
    color: yellow;
}
