/**
* Template Name: MyResume
* Template URL: https://bootstrapmade.com/free-html-bootstrap-template-my-resume/
* Updated: Jun 29 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
    --default-font: "Roboto", 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: "Raleway", sans-serif;
    --nav-font: "Poppins", sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
    --background-color: #ffffff;
    /* Background color for the entire website, including individual sections */
    --default-color: #272829;
    /* Default color used for the majority of the text content across the entire website */
    --heading-color: #45505b;
    /* Color for headings, subheadings and title throughout the website */
    --accent-color: #0563bb;
    /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
    --surface-color: #ffffff;
    /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
    --contrast-color: #ffffff;
    /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
    --nav-color: #45505b;
    /* The default color of the main navmenu links */
    --nav-hover-color: #0563bb;
    /* Applied to main navmenu links when they are hovered over or active */
    --nav-mobile-background-color: #ffffff;
    /* Used as the background color for mobile navigation menu */
    --nav-dropdown-background-color: #ffffff;
    /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
    --nav-dropdown-color: #212529;
    /* Used for navigation links of the dropdown items in the navigation menu. */
    --nav-dropdown-hover-color: #0563bb;
    /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

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

[data-theme="dark"] .light-background {
    --background-color: #1a1a1f;
    --surface-color: color-mix(in srgb, var(--surface-color), transparent 15%);
}

.dark-background {
    --background-color: #060606;
    --default-color: #ffffff;
    --heading-color: #ffffff;
    --surface-color: #252525;
    --contrast-color: #ffffff;
}

/* Dark Theme — applied via [data-theme="dark"] on <html> */
[data-theme="dark"] {
    --background-color: #0f0f11;
    --default-color: #c8c9cf;
    --heading-color: #e8e8ed;
    --accent-color: #4d9eff;
    --surface-color: #1a1a1f;
    --contrast-color: #ffffff;
    --nav-color: #a0a2ae;
    --nav-hover-color: #4d9eff;
    --nav-mobile-background-color: #161618;
    --nav-dropdown-background-color: #1a1a1f;
    --nav-dropdown-color: #c8c9cf;
    --nav-dropdown-hover-color: #4d9eff;
}

[data-theme="dark"] .navmenu a,
[data-theme="dark"] .navmenu a:focus {
    background: rgba(30, 30, 35, 0.75);
    border-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .hero-profile-card {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .skills .progress {
    background-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .php-email-form .form-control {
    background-color: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--default-color);
}

[data-theme="dark"] .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.3);
}

/* Theme transition animation */
html.theme-switching *,
html.theme-switching *::before,
html.theme-switching *::after {
    transition: background-color 0.4s ease,
                color 0.4s ease,
                border-color 0.4s ease,
                box-shadow 0.4s ease !important;
}

/* 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 {
    color: var(--default-color);
    position: fixed;
    top: 0;
    /* left: 0; */
    bottom: 0;
    padding: 0 15px;
    transition: all ease-in-out 0.3s;
    overflow-y: auto;
    z-index: 997;
    scrollbar-width: none;
    -ms-overflow-style: none;
    min-width: 40px;
}

.header::-webkit-scrollbar {
    display: none;
}

@media (max-width: 1199px) {
    .header {
        /* background-color: var(--background-color); */
        /* border-right: 1px solid color-mix(in srgb, var(--default-color), transparent 90%); */
        /* width: 300px; */
        left: -100%;
    }
}

@media (min-width: 1200px) and (max-width: 1600px) {
    .header~main {
        /* margin-left: 160px; */
    }

    .header~main .hero {
        /* margin-left: -160px; */
        /* width: 100vw; */
    }
}

.header.header-show {
    left: 0;
}

[dir="rtl"] .header .header-toggle {
    right: 15px;
    left: auto;
}

.header .header-toggle {
    color: var(--contrast-color);
    background-color: var(--accent-color);
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 9999;
    transition: background-color 0.3s;
}

.header .header-toggle:hover {
    color: var(--contrast-color);
    background-color: color-mix(in srgb, var(--accent-color) 90%, white 15%);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
.navmenu {
    padding: 0;
    z-index: 9997;
}

.navmenu ul {
    list-style: none;
    padding: 0 0 60px 0;
    margin: 0;
    /* width: 140px; */
}

.navmenu a,
.navmenu a:focus {
    color: var(--nav-color);
    font-family: var(--nav-font);
    display: flex;
    align-items: center;
    padding: 10px 18px;
    margin-bottom: 8px;
    font-size: 15px;
    border-radius: 50px;
    /* background: color-mix(in srgb, var(--default-color), transparent 92%); */
    /* From https://css.glass */
    background: rgba(255, 255, 255, 0.59);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    height: 56px;
    width: 100%;
    overflow: hidden;
    transition: 0.3s;
    justify-content: space-between;
}

.navmenu a i,
.navmenu a:focus i {
    font-size: 20px;
}

.navmenu a span,
.navmenu a:focus span {
    padding: 0 5px 0 7px;
}

@media (min-width: 992px) {

    .navmenu a,
    .navmenu a:focus {
        max-width: 56px;
    }

    .navmenu a span,
    .navmenu a:focus span {
        display: none;
    }
}

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

.navmenu a:hover,
.navmenu li:hover>a {
    max-width: 100%;
    color: var(--contrast-color);
}

.navmenu a:hover span,
.navmenu li:hover>a span {
    display: block;
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
    color: var(--default-color);
    background-color: var(--background-color);
    font-size: 14px;
    text-align: center;
    padding: 30px 0;
    position: relative;
}

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

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

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

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

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

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

.footer .credits {
    font-size: 13px;
    padding-top: 5px;
}

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

.img-logo {
    width: 55px;
    /* height: 55px; */
    margin: 20px 2px 20px 2px;
}

#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;
    font-weight: 400;
}

.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;
    overflow: clip;
}

/*--------------------------------------------------------------
# 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;
    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%;
    min-height: 100vh;
    position: relative;
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

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

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

.hero h2 {
    margin: 0;
    font-size: 56px;
    font-weight: 700;
    line-height: 1.15;
}

.hero .hero-subtitle {
    font-size: 22px;
    margin: 0 0 8px 0;
    color: var(--accent-color);
    font-weight: 500;
    font-family: var(--heading-font);
}

.hero .hero-subtitle span {
    letter-spacing: 1px;
    border-bottom: 2px solid var(--accent-color);
}

.hero .hero-desc {
    font-size: 17px;
    margin-top: 12px;
    color: color-mix(in srgb, var(--default-color), transparent 25%);
    max-width: 540px;
    line-height: 1.7;
}

/* Hero Action Buttons */
.hero-actions {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: var(--heading-font);
}

.hero-btn-primary {
    background: var(--accent-color);
    color: var(--contrast-color);
    box-shadow: 0 4px 20px color-mix(in srgb, var(--accent-color), transparent 60%);
}

.hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px color-mix(in srgb, var(--accent-color), transparent 45%);
    color: var(--contrast-color);
}

.hero-btn-outline {
    background: transparent;
    color: var(--heading-color);
    border: 2px solid color-mix(in srgb, var(--heading-color), transparent 70%);
}

.hero-btn-outline:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-2px);
}

/* Hero Social Links */
.hero-social {
    margin-top: 28px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.hero-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    border: 1.5px solid color-mix(in srgb, var(--default-color), transparent 80%);
    transition: all 0.3s ease;
    text-decoration: none;
}

.hero-social a:hover {
    color: var(--contrast-color);
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px color-mix(in srgb, var(--accent-color), transparent 60%);
}

/* Hero Profile Card */
.hero-profile-card {
    background: color-mix(in srgb, var(--surface-color), transparent 15%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
    border-radius: 24px;
    padding: 32px 28px;
    text-align: center;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-profile-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.hero-profile-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 16px;
    border: 3px solid var(--accent-color);
    box-shadow: 0 4px 16px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.hero-profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
}

.hero-profile-info h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.hero-profile-role {
    display: block;
    font-size: 14px;
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 4px;
}

.hero-profile-location {
    display: block;
    font-size: 13px;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
    margin-bottom: 20px;
}

.hero-profile-location i {
    color: var(--accent-color);
    margin-inline-end: 4px;
}

/* Hero Profile Stats */
.hero-profile-stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding: 16px 0;
    border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    margin-bottom: 20px;
}

.hero-stat-item {
    text-align: center;
}

.hero-stat-value {
    font-size: 26px;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1;
}

.hero-stat-plus {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-color);
}

.hero-stat-label {
    display: block;
    font-size: 11px;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
    margin-top: 4px;
    font-weight: 500;
}

/* Hero Contact Button */
.hero-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--contrast-color);
    background: var(--accent-color);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px color-mix(in srgb, var(--accent-color), transparent 65%);
}

.hero-contact-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px color-mix(in srgb, var(--accent-color), transparent 50%);
    color: var(--contrast-color);
}

/* Hero Scroll Down */
.hero-scroll-down {
    text-align: center;
    /* margin-top: 40px; */
    position: absolute;
    bottom: 20px;
    z-index: 4;
}

.hero-scroll-down a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.3s;
}

.hero-scroll-down a:hover {
    color: var(--accent-color);
}

.hero-scroll-down i {
    font-size: 18px;
    animation: heroScrollBounce 2s ease-in-out infinite;
}

@keyframes heroScrollBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(8px);
    }
}

@media (max-width: 768px) {
    .hero h2 {
        font-size: 32px;
    }

    .hero .hero-subtitle {
        font-size: 18px;
    }

    .hero .hero-desc {
        font-size: 15px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-social {
        justify-content: center;
    }

    .hero .col-lg-7 {
        text-align: center;
    }

    .hero .hero-desc {
        margin-inline: auto;
    }

    /* .hero-scroll-down {
        bottom: 20px;
    } */
}

/*--------------------------------------------------------------
# Hero Cover Video & Play/Pause Button
--------------------------------------------------------------*/
#hero-cover-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-video-toggle {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 5;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.7);
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.25s, border-color 0.25s, transform 0.2s;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    padding: 0;
    line-height: 1;
}

.hero-video-toggle:hover {
    background: rgba(0, 0, 0, 0.6);
    border-color: #fff;
    transform: scale(1.1);
}

/*--------------------------------------------------------------
# Hero Users Panel (Swiper)
--------------------------------------------------------------*/
[lang="ar"] .hero-video-toggle {
    right: auto;
    left: 20px;
}

.hero-users-panel {
    position: absolute;
    bottom: 90px;
    left: 0;
    right: 0;
    z-index: 4;
    padding: 0 20px;
}

.users-swiper {
    max-width: 700px;
    margin: 0 auto;
    padding-bottom: 30px !important;
}

.users-swiper .swiper-slide {
    width: auto !important;
}

.user-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: color-mix(in srgb, var(--background-color), transparent 20%);
    border: 2px solid color-mix(in srgb, var(--accent-color), transparent 70%);
    border-radius: 50px;
    padding: 6px 9px 6px 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    white-space: nowrap;
}

.user-card:hover {
    border-color: var(--accent-color);
    background: color-mix(in srgb, var(--background-color), transparent 5%);
    transform: translateY(-2px);
}

.user-card.active {
    border-color: var(--accent-color);
    background: color-mix(in srgb, var(--accent-color), transparent 85%);
    cursor: default;
}

.user-card-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--accent-color);
}

.user-card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
}

.custom-swiper {
    padding: 5px !important;
}

.user-card-info {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.user-card-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--heading-color);
}

.user-card-desc {
    font-size: 11px;
    color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.users-swiper-pagination {
    bottom: 0 !important;
}

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

@media (max-width: 768px) {
    .hero-users-panel {
        bottom: 15px;
        padding: 0 10px;
    }

    .user-card {
        padding: 5px 12px 5px 5px;
        gap: 8px;
    }

    .user-card-avatar {
        width: 36px;
        height: 36px;
    }
}

/*--------------------------------------------------------------
# About & Stats Combined Section
--------------------------------------------------------------*/
.about-combined {
    padding-bottom: 40px;
}

/* Stats Row */
.about-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.about-stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--surface-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
    border-radius: 16px;
    padding: 20px 22px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.about-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
    border-color: color-mix(in srgb, var(--accent-color), transparent 70%);
}

.about-stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: color-mix(in srgb, var(--accent-color), transparent 88%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-stat-icon i {
    font-size: 22px;
    color: var(--accent-color);
}

.about-stat-content {
    display: flex;
    flex-direction: column;
}

.about-stat-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--heading-color);
    line-height: 1;
    font-family: var(--heading-font);
}

.about-stat-suffix {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent-color);
}

.about-stat-text {
    font-size: 13px;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
    margin-top: 4px;
    font-weight: 500;
}

/* Main About Grid */
.about-main-grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 48px;
    align-items: start;
}

/* Profile Column */
.about-profile-wrapper {
    position: relative;
}

.about-profile-img {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.about-profile-accent {
    position: absolute;
    bottom: -12px;
    inset-inline-end: -12px;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    border: 3px solid var(--accent-color);
    z-index: 1;
    opacity: 0.3;
}

.about-freelance-badge {
    position: absolute;
    top: 16px;
    inset-inline-start: 16px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #00c853, #00e676);
    border-radius: 50px;
    box-shadow: 0 3px 12px rgba(0, 200, 83, 0.35);
}

/* Social Links Under Photo */
.about-social-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.about-social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    background: var(--surface-color);
    border: 1.5px solid color-mix(in srgb, var(--default-color), transparent 85%);
    transition: all 0.3s ease;
    text-decoration: none;
}

.about-social-links a:hover {
    color: var(--contrast-color);
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px color-mix(in srgb, var(--accent-color), transparent 60%);
}

/* Info Column */
.about-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 12px;
}

.about-intro {
    font-size: 15px;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
    padding-inline-start: 16px;
    border-inline-start: 3px solid var(--accent-color);
}

/* Details Grid */
.about-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.about-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--surface-color), transparent 0%);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 93%);
    transition: all 0.25s ease;
}

.about-detail-item:hover {
    border-color: color-mix(in srgb, var(--accent-color), transparent 70%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.about-detail-item>i {
    font-size: 18px;
    color: var(--accent-color);
    margin-top: 2px;
    flex-shrink: 0;
}

.about-detail-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: color-mix(in srgb, var(--default-color), transparent 50%);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.about-detail-value {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--heading-color);
}

.about-detail-value a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.2s;
}

.about-detail-value a:hover {
    color: color-mix(in srgb, var(--accent-color), #000 20%);
}

.about-detail-value.text-success {
    color: #00c853;
}

/* Bio */
.about-bio {
    font-size: 15px;
    color: color-mix(in srgb, var(--default-color), transparent 15%);
    line-height: 1.8;
    margin-bottom: 28px;
}

/* Action Buttons */
.about-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.about-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: var(--heading-font);
}

.about-btn-primary {
    background: var(--accent-color);
    color: var(--contrast-color);
    box-shadow: 0 4px 16px color-mix(in srgb, var(--accent-color), transparent 65%);
}

.about-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px color-mix(in srgb, var(--accent-color), transparent 50%);
    color: var(--contrast-color);
}

.about-btn-outline {
    background: transparent;
    color: var(--heading-color);
    border: 2px solid color-mix(in srgb, var(--heading-color), transparent 75%);
}

.about-btn-outline:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 991.98px) {
    .about-stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-main-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-profile-wrapper {
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 575.98px) {
    .about-stats-row {
        grid-template-columns: 1fr;
    }

    .about-details-grid {
        grid-template-columns: 1fr;
    }

    .about-actions {
        justify-content: center;
    }
}

/*--------------------------------------------------------------
# Skills Section
--------------------------------------------------------------*/
.skills-chips-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    padding: 8px 0;
}

/* Base chip */
.skill-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px 9px 10px;
    border-radius: 50px;
    border: 1.5px solid color-mix(in srgb, var(--default-color), transparent 85%);
    background: var(--surface-color);
    cursor: default;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
    position: relative;
    overflow: hidden;
}

.skill-chip::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent-color);
    opacity: 0;
    transition: opacity 0.25s ease;
    border-radius: inherit;
}

.skill-chip:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 8px 24px color-mix(in srgb, var(--accent-color), transparent 75%);
    border-color: var(--accent-color);
}

.skill-chip:hover::before {
    opacity: 0.06;
}

/* Level variants — subtle left border accent */
.skill-chip--expert {
    border-color: color-mix(in srgb, #00c853, transparent 60%);
}

.skill-chip--advanced {
    border-color: color-mix(in srgb, var(--accent-color), transparent 60%);
}

.skill-chip--mid {
    border-color: color-mix(in srgb, #e69500, transparent 60%);
}

.skill-chip--basic {
    border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.skill-chip--expert:hover {
    border-color: #00c853;
    box-shadow: 0 8px 24px rgba(0, 200, 83, .18);
}

.skill-chip--advanced:hover {
    border-color: var(--accent-color);
}

.skill-chip--mid:hover {
    border-color: #e69500;
    box-shadow: 0 8px 24px rgba(230, 149, 0, .18);
}

/* Icon */
.skill-chip__icon {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.skill-chip__icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.skill-chip__icon i {
    font-size: 18px;
    color: var(--accent-color);
}

/* Name */
.skill-chip__name {
    font-size: 14px;
    font-weight: 600;
    color: var(--heading-color);
    font-family: var(--heading-font);
    white-space: nowrap;
    position: relative;
    z-index: 1;
}

/* Proficiency badge */
.skill-chip__pct {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 20px;
    background: color-mix(in srgb, var(--accent-color), transparent 88%);
    color: var(--accent-color);
    position: relative;
    z-index: 1;
    white-space: nowrap;
}

.skill-chip--expert .skill-chip__pct {
    background: rgba(0, 200, 83, .12);
    color: #00a844;
}

.skill-chip--mid .skill-chip__pct {
    background: rgba(230, 149, 0, .12);
    color: #b87800;
}

@media (max-width: 575.98px) {
    .skill-chip {
        padding: 7px 12px 7px 8px;
        gap: 6px;
    }

    .skill-chip__name {
        font-size: 13px;
    }

    .skill-chip__pct {
        display: none;
    }
}

/*--------------------------------------------------------------
# Resume / Work Experience Section
--------------------------------------------------------------*/

/* Dark section override */
.resume-dark {
    --rd-bg: var(--background-color);
    --rd-surface: var(--surface-color);
    --rd-border: color-mix(in srgb, var(--accent-color), transparent 82%);
    --rd-accent: var(--accent-color);
    --rd-accent2: color-mix(in srgb, var(--accent-color), #6366f1 40%);
    --rd-text: var(--default-color);
    --rd-muted: color-mix(in srgb, var(--default-color), transparent 45%);
    --rd-chip-bg: color-mix(in srgb, var(--accent-color), transparent 90%);
    --rd-chip-border: color-mix(in srgb, var(--accent-color), transparent 72%);
    background-color: var(--rd-bg);
    padding-bottom: 80px;
}

.resume-dark .section-title h2 {
    color: var(--heading-color);
}

.resume-dark .section-title p {
    color: var(--rd-muted);
}

/* Accent word in title */
.resume-title-accent {
    color: var(--rd-accent);
    font-style: italic;
}

/* ── Timeline container ── */
.resume-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 0 40px;
}

/* Central vertical line */
.resume-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background: linear-gradient(to bottom,
            transparent,
            var(--rd-accent) 8%,
            var(--rd-accent) 92%,
            transparent);
    opacity: 0.4;
}

/* ── Timeline item ── */
.rt-item {
    display: grid;
    grid-template-columns: 1fr 40px 1fr;
    align-items: start;
    gap: 0;
    margin-bottom: 48px;
    position: relative;
}

/* Left item: card left, node center, date right */
.rt-item--left .rt-card {
    grid-column: 1;
    grid-row: 1;
}

.rt-item--left .rt-node {
    grid-column: 2;
    grid-row: 1;
}

.rt-item--left .rt-date {
    grid-column: 3;
    grid-row: 1;
    padding-inline-start: 24px;
}

/* Right item: date left, node center, card right */
.rt-item--right .rt-date {
    grid-column: 1;
    grid-row: 1;
    text-align: end;
    padding-inline-end: 24px;
}

.rt-item--right .rt-node {
    grid-column: 2;
    grid-row: 1;
}

.rt-item--right .rt-card {
    grid-column: 3;
    grid-row: 1;
}

/* ── Card ── */
.rt-card {
    background: var(--rd-surface);
    border: 1px solid var(--rd-border);
    border-radius: 16px;
    padding: 24px 28px;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
    position: relative;
    overflow: hidden;
}

.rt-card::before {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--rd-accent);
    border-radius: 3px 0 0 3px;
    opacity: 0;
    transition: opacity 0.3s;
}

.rt-card:hover {
    border-color: color-mix(in srgb, var(--accent-color), transparent 50%);
    box-shadow: 0 8px 32px color-mix(in srgb, var(--accent-color), transparent 88%);
    transform: translateY(-3px);
}

.rt-card:hover::before {
    opacity: 1;
}

.rt-card--current {
    border-color: color-mix(in srgb, var(--accent-color), transparent 55%);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent-color), transparent 85%),
        0 8px 32px color-mix(in srgb, var(--accent-color), transparent 90%);
}

.rt-card--current::before {
    opacity: 1;
}

/* Card header */
.rt-card__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--rd-accent);
    margin-bottom: 6px;
    font-family: var(--heading-font);
}

.rt-card__company {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.rt-card__company strong {
    font-size: 14px;
    font-weight: 600;
    color: var(--heading-color);
}

.rt-card__location {
    font-size: 13px;
    color: var(--rd-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.rt-card__location i {
    font-size: 12px;
    color: var(--rd-accent);
}

/* Description */
.rt-card__desc {
    font-size: 14px;
    color: var(--rd-text);
    line-height: 1.75;
    margin-bottom: 16px;
}

.rt-card__desc-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}

.rt-card__desc-list li {
    font-size: 14px;
    color: var(--rd-text);
    line-height: 1.7;
    padding-inline-start: 16px;
    position: relative;
    margin-bottom: 4px;
}

.rt-card__desc-list li::before {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    top: 10px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--rd-accent);
    opacity: 0.7;
}

/* Technologies */
.rt-card__tech {
    margin-top: 14px;
}

.rt-card__tech-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--rd-muted);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    display: block;
    margin-bottom: 8px;
}

.rt-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.rt-chip {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 20px;
    background: var(--rd-chip-bg);
    border: 1px solid var(--rd-chip-border);
    color: var(--rd-accent);
    transition: background 0.2s, border-color 0.2s;
}

.rt-chip:hover {
    background: color-mix(in srgb, var(--accent-color), transparent 82%);
    border-color: color-mix(in srgb, var(--accent-color), transparent 50%);
}

/* ── Node (dot on timeline) ── */
.rt-node {
    display: flex;
    justify-content: center;
    padding-top: 22px;
    position: relative;
    z-index: 2;
}

.rt-node__dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--rd-bg);
    border: 2px solid var(--rd-accent);
    transition: transform 0.3s, box-shadow 0.3s;
}

.rt-node__dot--active {
    background: var(--rd-accent);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-color), transparent 75%);
    animation: rtPulse 2.5s ease-in-out infinite;
}

@keyframes rtPulse {

    0%,
    100% {
        box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-color), transparent 75%);
    }

    50% {
        box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent-color), transparent 92%);
    }
}

.rt-item:hover .rt-node__dot {
    transform: scale(1.3);
    box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent-color), transparent 80%);
}

/* ── Date badge ── */
.rt-date {
    padding-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rt-date__range {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--heading-color);
    background: color-mix(in srgb, var(--accent-color), transparent 92%);
    border: 1px solid color-mix(in srgb, var(--accent-color), transparent 78%);
    border-radius: 8px;
    padding: 6px 12px;
    white-space: nowrap;
}

.rt-date__type {
    font-size: 11px;
    color: var(--rd-muted);
    font-weight: 500;
    padding-inline-start: 4px;
}

/* ── RTL support ── */
[dir="rtl"] .rt-card::before {
    border-radius: 0 3px 3px 0;
}

/* ── Responsive ── */
@media (max-width: 767.98px) {
    .resume-timeline::before {
        left: 20px;
    }

    [dir="rtl"] .resume-timeline::before {
        left: auto;
        right: 20px;
    }

    .rt-item {
        grid-template-columns: 40px 1fr;
        grid-template-rows: auto auto;
    }

    .rt-item--left .rt-node,
    .rt-item--right .rt-node {
        grid-column: 1;
        grid-row: 1;
    }

    .rt-item--left .rt-card,
    .rt-item--right .rt-card {
        grid-column: 2;
        grid-row: 1;
    }

    .rt-item--left .rt-date,
    .rt-item--right .rt-date {
        grid-column: 2;
        grid-row: 2;
        text-align: start;
        padding-inline-start: 0;
        padding-inline-end: 0;
        padding-top: 8px;
        padding-bottom: 4px;
    }

    .rt-card {
        padding: 18px 20px;
    }

    .rt-card__title {
        font-size: 16px;
    }
}

/*--------------------------------------------------------------
# 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;
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services {
    background: var(--background-color);
}

/* Service Grid */
.svc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Service Card — vertical grid layout */
.svc-card {
    display: flex;
    flex-direction: column;
    background: var(--surface-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
    border-radius: 20px;
    padding: 28px 24px;
    margin-bottom: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.svc-card::before {
    content: '';
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    inset-inline-end: 0;
    height: 3px;
    background: var(--svc-color);
    opacity: 0;
    transition: opacity 0.3s;
}

.svc-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.10);
    border-color: var(--svc-border);
}

.svc-card:hover::before {
    opacity: 1;
}

/* Icon column */
.svc-card__icon-col {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.svc-card__icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--svc-bg);
    border: 1.5px solid var(--svc-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.svc-card__icon-wrap i {
    font-size: 24px;
    color: var(--svc-color);
}

.svc-card:hover .svc-card__icon-wrap {
    transform: scale(1.1) rotate(-6deg);
    box-shadow: 0 4px 16px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.svc-card__index {
    font-size: 28px;
    font-weight: 800;
    color: color-mix(in srgb, var(--default-color), transparent 88%);
    font-family: var(--heading-font);
    line-height: 1;
}

/* Body */
.svc-card__body {
    flex: 1;
    min-width: 0;
}

.svc-card__title {
    font-size: 17px;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 8px;
    font-family: var(--heading-font);
}

.svc-card__desc {
    font-size: 14px;
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    line-height: 1.7;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.svc-card__cat {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    color: var(--svc-color);
    background: var(--svc-bg);
    border: 1px solid var(--svc-border);
    border-radius: 20px;
    padding: 3px 10px;
}

/* Price column */
.svc-card__price-col {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
    flex-wrap: wrap;
}

.svc-card__price-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.svc-card__price-old {
    font-size: 13px;
    color: color-mix(in srgb, var(--default-color), transparent 55%);
    text-decoration: line-through;
    font-family: var(--heading-font);
}

.svc-card__discount-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    background: rgba(5, 150, 105, 0.1);
    color: #059669;
    border: 1px solid rgba(5, 150, 105, 0.2);
}

.svc-card__price {
    font-size: 20px;
    font-weight: 700;
    color: var(--svc-color);
    font-family: var(--heading-font);
    line-height: 1;
}

.svc-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--contrast-color);
    background: var(--svc-color);
    border-radius: 50px;
    padding: 8px 18px;
    text-decoration: none;
    transition: opacity 0.25s, transform 0.25s;
    white-space: nowrap;
    margin-inline-start: auto;
}

.svc-card__cta:hover {
    opacity: 0.88;
    transform: scale(1.04);
    color: var(--contrast-color);
}

.svc-card__cta i {
    font-size: 12px;
    transition: transform 0.25s;
}

.svc-card__cta:hover i {
    transform: translateX(3px);
}

[dir="rtl"] .svc-card__cta:hover i {
    transform: translateX(-3px);
}

/* Responsive */
@media (max-width: 991.98px) {
    .svc-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {
    .svc-grid {
        grid-template-columns: 1fr;
    }

    .svc-card {
        padding: 22px 20px;
    }
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
    overflow: hidden;
}

.testimonials .testimonial-item .testimonial-content {
    border-left: 3px solid var(--accent-color);
    padding-left: 30px;
}

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

.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 10px 0;
}

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

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
    color: 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;
}

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

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

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

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

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-item+.info-item {
    margin-top: 40px;
}

.contact .info-item i {
    color: var(--accent-color);
    background: color-mix(in srgb, var(--accent-color), transparent 92%);
    font-size: 20px;
    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 {
    height: 100%;
}

.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%);
}

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

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

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

.portfolio-details .swiper-wrapper {
    height: auto;
}

.portfolio-details .swiper-button-prev,
.portfolio-details .swiper-button-next {
    width: 48px;
    height: 48px;
}

.portfolio-details .swiper-button-prev:after,
.portfolio-details .swiper-button-next:after {
    color: rgba(255, 255, 255, 0.8);
    background-color: rgba(0, 0, 0, 0.15);
    font-size: 24px;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.portfolio-details .swiper-button-prev:hover:after,
.portfolio-details .swiper-button-next:hover:after {
    background-color: rgba(0, 0, 0, 0.3);
}

@media (max-width: 575px) {

    .portfolio-details .swiper-button-prev,
    .portfolio-details .swiper-button-next {
        display: none;
    }
}

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

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

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

.portfolio-details .portfolio-info h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 20px;
    position: relative;
}

.portfolio-details .portfolio-info h3:after {
    content: "";
    position: absolute;
    display: block;
    width: 50px;
    height: 3px;
    background: var(--accent-color);
    left: 0;
    bottom: 0;
}

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

.portfolio-details .portfolio-info ul li {
    display: flex;
    flex-direction: column;
    padding-bottom: 15px;
}

.portfolio-details .portfolio-info ul strong {
    text-transform: uppercase;
    font-weight: 400;
    color: color-mix(in srgb, var(--default-color), transparent 50%);
    font-size: 14px;
}

.portfolio-details .portfolio-info .btn-visit {
    padding: 8px 40px;
    background: var(--accent-color);
    color: var(--contrast-color);
    border-radius: 50px;
    transition: 0.3s;
}

.portfolio-details .portfolio-info .btn-visit:hover {
    background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

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

.portfolio-details .portfolio-description p {
    padding: 0;
}

.portfolio-details .portfolio-description .testimonial-item {
    padding: 30px 30px 0 30px;
    position: relative;
    background: color-mix(in srgb, var(--default-color), transparent 97%);
    margin-bottom: 50px;
}

.portfolio-details .portfolio-description .testimonial-item .testimonial-img {
    width: 90px;
    border-radius: 50px;
    border: 6px solid var(--background-color);
    float: left;
    margin: 0 10px 0 0;
}

.portfolio-details .portfolio-description .testimonial-item h3 {
    font-size: 18px;
    font-weight: bold;
    margin: 15px 0 5px 0;
    padding-top: 20px;
}

.portfolio-details .portfolio-description .testimonial-item h4 {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
}

.portfolio-details .portfolio-description .testimonial-item .quote-icon-left,
.portfolio-details .portfolio-description .testimonial-item .quote-icon-right {
    color: color-mix(in srgb, var(--accent-color), transparent 50%);
    font-size: 26px;
    line-height: 0;
}

.portfolio-details .portfolio-description .testimonial-item .quote-icon-left {
    display: inline-block;
    left: -5px;
    position: relative;
}

.portfolio-details .portfolio-description .testimonial-item .quote-icon-right {
    display: inline-block;
    right: -5px;
    position: relative;
    top: 10px;
    transform: scale(-1, -1);
}

.portfolio-details .portfolio-description .testimonial-item p {
    font-style: italic;
    margin: 0 0 15px 0 0 0;
    padding: 0;
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .service-box {
    padding: 20px;
    box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.1);
}

.service-details .service-box+.service-box {
    margin-top: 30px;
}

.service-details .service-box h4 {
    font-size: 20px;
    font-weight: 700;
    border-bottom: 2px solid color-mix(in srgb, var(--default-color), transparent 92%);
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.service-details .services-list a {
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    background-color: color-mix(in srgb, var(--default-color), transparent 96%);
    display: flex;
    align-items: center;
    padding: 12px 15px;
    margin-top: 15px;
    transition: 0.3s;
}

.service-details .services-list a:first-child {
    margin-top: 0;
}

.service-details .services-list a i {
    font-size: 16px;
    margin-right: 8px;
    color: var(--accent-color);
}

.service-details .services-list a.active {
    color: var(--contrast-color);
    background-color: var(--accent-color);
}

.service-details .services-list a.active i {
    color: var(--contrast-color);
}

.service-details .services-list a:hover {
    background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
    color: var(--accent-color);
}

.service-details .download-catalog a {
    color: var(--default-color);
    display: flex;
    align-items: center;
    padding: 10px 0;
    transition: 0.3s;
    border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.service-details .download-catalog a:first-child {
    border-top: 0;
    padding-top: 0;
}

.service-details .download-catalog a:last-child {
    padding-bottom: 0;
}

.service-details .download-catalog a i {
    font-size: 24px;
    margin-right: 8px;
    color: var(--accent-color);
}

.service-details .download-catalog a:hover {
    color: var(--accent-color);
}

.service-details .help-box {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    margin-top: 30px;
    padding: 30px 15px;
}

.service-details .help-box .help-icon {
    font-size: 48px;
}

.service-details .help-box h4,
.service-details .help-box a {
    color: var(--contrast-color);
}

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

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

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
    /* Add your styles here */
}

/*--------------------------------------------------------------
# Floating Order Button
--------------------------------------------------------------*/
.find-float-btn {
    position: fixed;
    top: 30px;
    right: 195px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-color);
    border-radius: 50px;
    padding: 7px 16px;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
    background: rgba(255, 255, 255, 0.59);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.find-float-btn:hover {
    background: var(--accent-color);
    color: var(--contrast-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 18px color-mix(in srgb, var(--accent-color), transparent 60%);
}

[dir="rtl"] .find-float-btn {
    right: auto;
    left: 165px;
}

@media (max-width: 576px) {
    .find-float-btn {
        padding: 8px;
        border-radius: 50%;
        width: 42px;
        height: 42px;
        justify-content: center;
        right: 75px;
    }

    [dir="rtl"] .find-float-btn {
        left: 90px;
    }

    .find-float-label {
        display: none;
    }
}

.order-float-btn {
    position: fixed;
    top: 30px;
    right: 13px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-color);
    color: var(--contrast-color);
    border-radius: 50px;
    padding: 5px 16px;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    box-shadow: 0 4px 20px color-mix(in srgb, var(--accent-color), transparent 60%);
    transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
}

.order-float-btn i {
    font-size: 18px;
}

.order-float-btn:hover {
    background: color-mix(in srgb, var(--accent-color), #000 15%);
    color: var(--contrast-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 24px color-mix(in srgb, var(--accent-color), transparent 50%);
}

[dir="rtl"] .order-float-btn {
    right: auto;
    left: 30px;
}

@media (max-width: 576px) {
    .order-float-label {
        display: none;
    }

    .order-float-btn {
        padding: 12px;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        justify-content: center;
    }
}
