/* ==================== GOOGLE FONTS ==================== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

/* ==================== VARIABLES CSS ==================== */
:root {
    --header-height: 4.5rem;

    /* Colors - Full Dark with Orange Accent */
    --hue: 28;
    --first-color: #E67E22; /* luxury orange accent */
    --first-color-alt:#D35400; /* slightly darker on hover */
    --title-color: #FFFFFF;
    --text-color: #BFC3D6;
    --text-color-light: #9EA3B8;
    --body-color: #000000; /* primary page background - full dark */
    --container-color: #0a0a0a; /* panels & cards background - solid dark */
    --border-color: rgba(255,255,255,0.08);
    --white-color: #fff;

    /* Gradients disabled for section backgrounds; use solid accent where needed */
    --gradient-text: var(--first-color);
    --gradient-bg: var(--body-color);
    --gradient-card: var(--container-color);

    /* Fonts */
    --body-font: 'Outfit', sans-serif;
    --second-font: 'Playfair Display', serif;

    --h1-font-size: 3.5rem;
    --h2-font-size: 2.25rem;
    --h3-font-size: 1.5rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.875rem;
    --smaller-font-size: 0.813rem;

    /* Font Weights */
    --font-medium: 500;
    --font-semi-bold: 600;
    --font-bold: 700;

    /* Z-index */
    --z-tooltip: 10;
    --z-fixed: 100;
    --z-modal: 1000;
}

/* Responsive Typography */
@media screen and (max-width: 968px) {
    :root {
        --h1-font-size: 2.5rem;
        --h2-font-size: 1.75rem;
        --h3-font-size: 1.25rem;
        --normal-font-size: .938rem;
        --small-font-size: .813rem;
        --smaller-font-size: .75rem;
    }
}

/* ==================== BASE ==================== */
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color: var(--body-color);
    color: var(--text-color);
    overflow-x: hidden;
    width: 100%;
}

body:not(.page-loaded) {
    overflow: hidden;
}

body:not(.page-loaded) .header,
body:not(.page-loaded) .main,
body:not(.page-loaded) .footer,
body:not(.page-loaded) .floating-search-container,
body:not(.page-loaded) .chatbot-container,
body:not(.page-loaded) .scrollup,
body:not(.page-loaded) .scrolldown {
    opacity: 0;
}

body.page-loaded .header,
body.page-loaded .main,
body.page-loaded .footer,
body.page-loaded .floating-search-container,
body.page-loaded .chatbot-container,
body.page-loaded .scrollup,
body.page-loaded .scrolldown {
    opacity: 1;
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

h1,
h2,
h3 {
    color: var(--title-color);
    font-weight: var(--font-semi-bold);
    line-height: 1.2;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: var(--body-font);
}

/* ==================== CUSTOM CURSOR ==================== */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--white-color);
}

.cursor-outline {
    width: 30px;
    height: 30px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

body:hover .cursor-outline {
    width: 30px;
    height: 30px;
}

/* ==================== REUSABLE CLASSES ==================== */
.container {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.section {
    padding: 8rem 0 4rem;
}

.section__header {
    text-align: center;
    margin-bottom: 4rem;
}

.section__title {
    font-size: var(--h2-font-size);
    margin-bottom: 0.5rem;
}

.section__subtitle {
    display: block;
    font-size: var(--normal-font-size);
    color: var(--text-color-light);
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    color: transparent;
    display: inline-block;
    background-size: 200% auto;
    animation: gradientShift 5s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

/* Buttons */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    column-gap: 0.5rem;
    padding: 1rem 1.75rem;
    background-color: var(--first-color);
    color: var(--white-color);
    border-radius: 0.5rem;
    font-weight: var(--font-medium);
    transition: .3s;
    font-size: var(--normal-font-size);
    border: 1px solid transparent;
}

.button:hover {
    background-color: var(--first-color-alt);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(230, 126, 34, 0.25);
}

.button--ghost {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--title-color);
}

.button--ghost:hover {
    background-color: var(--container-color);
    border-color: var(--first-color);
}

.button--white {
    background-color: #0f1013;
    color: var(--first-color);
}

.button--green:hover {
    background-color: green;
}

.button--white:hover {
    background-color: var(--title-color);
}

/* Accessibility: Skip link and focus styles */
.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.skip-link:focus {
    left: 1rem;
    top: 1rem;
    width: auto;
    height: auto;
    padding: 0.5rem 0.75rem;
    background: var(--container-color);
    color: var(--title-color);
    border-radius: 6px;
    z-index: 9999;
}

:focus {
    outline: 3px solid rgba(230, 126, 34,0.18);
    outline-offset: 3px;
}

/* Luxury accents */
:root {
    --accent-sapphire: #1f6feb;
    --accent-muted: rgba(31,111,235,0.06);
}

/* Deep dark glass overrides: force darker backgrounds for panels/cards to ensure full dark UI */
.card-visual,
.card-stack,
.other-portfolio__tag,
.other-portfolio__preview,
.other-portfolio__browser,
.other-portfolio__preview-overlay,
.other-portfolio__float-card,
.other-services__card,
.service__card,
.portfolio__item,
.portfolio__img-wrapper,
.example__img-wrapper,
.footer__glass-card,
.contact__input,
.contact__form,
.search-box,
.search-dropdown,
.web-demo-modal__panel,
.a11y-panel,
.chatbot-panel,
.chatbot-notification-content,
.page-loader__inner {
    background: rgba(5, 5, 5,0.9);
    border: 1px solid rgba(255,255,255,0.03);
    color: var(--text-color) !important;
}

/* Make floating overlays fully dark and remove light blend effects */
.other-portfolio__preview-overlay,
.web-demo-modal__overlay,
.page-net-canvas {
    background: rgba(5, 5, 5,0.85) !important;
}

.dot {
    color: var(--accent-sapphire);
    text-shadow: 0 6px 20px rgba(31,111,235,0.06);
}

.nav__logo {
    letter-spacing: 1.2px;
    text-shadow: 0 8px 30px rgba(0,0,0,0.6);
}

.other-portfolio__tag {
    border-color: rgba(31,111,235,0.08);
}

.footer__glass-card {
    border: 1px solid rgba(31,111,235,0.06);
}

/* ==================== FULL PAGE MESH NET ==================== */
.page-net-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.main {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.footer {
    position: relative;
    z-index: 1;
}

/* ==================== HEADER & NAV ==================== */
.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--z-fixed);
    background-color: rgba(5, 5, 5, 0.92);
    transform: translateY(-100%);
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s, backdrop-filter 0.4s, box-shadow 0.4s, height 0.4s;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header.header--loaded {
    transform: translateY(0);
}

.header.scroll-header {
    background-color: rgba(8, 8, 8, 0.98);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    height: calc(var(--header-height) - 0.5rem);
}

.nav {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo {
    color: var(--title-color);
    font-weight: var(--font-bold);
    font-size: 1.5rem;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(90deg, #fff, var(--first-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav__logo-img {
    width: 40px;
    height: auto;
    border-radius: 5px;
}

.dot {
    color: var(--first-color);
}

.nav__list {
    display: flex;
    column-gap: 2.5rem;
    align-items: center;
}

.nav__link {
    color: var(--title-color);
    font-size: var(--normal-font-size);
    font-weight: var(--font-medium);
    transition: .3s;
    position: relative;
}

.nav__link:not(.button-primary)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--first-color);
    transition: .3s;
}

.nav__link:not(.button-primary):hover::after {
    width: 100%;
}

.nav__link:hover {
    color: var(--first-color);
    text-shadow: 0 0 10px rgba(230, 126, 34, 0.5);
}

.nav__link.active-link::after {
    width: 100%;
}

.nav__close,
.nav__toggle {
    display: none;
}

/* ==================== HERO ==================== */
.home {
    padding-top: 9rem;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.home__container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    column-gap: 3rem;
}

.home__bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.home__bg-elements::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1;
    pointer-events: none;
}

.home__bg-elements .blob {
    position: absolute;
    filter: blur(90px);
    z-index: -1;
    opacity: 0.5;
}

.home__bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    /* Behind blobs */
    opacity: 0.6;
    /* Keep background darker to preserve dark theme */
    mix-blend-mode: normal;
    filter: brightness(0.8) contrast(0.9);
}

.blob-1 {
    width: 300px;
    height: 300px;
    background-color: var(--first-color);
    top: -10%;
    left: -10%;
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background-color: #D35400;
    /* darker purple */
    bottom: -10%;
    right: -10%;
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

.home__subtitle {
    display: block;
    font-size: var(--small-font-size);
    color: var(--first-color);
    font-weight: var(--font-semi-bold);
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.home__title {
    font-size: var(--h1-font-size);
    margin-bottom: 1.5rem;
}

.home__description {
    color: var(--text-color);
    margin-bottom: 2.5rem;
    max-width: 500px;
    line-height: 1.6;
}

.home__buttons {
    display: flex;
    gap: 1rem;
}

/* Hero Visual Animation */
.card-stack {
    position: relative;
    width: 300px;
    height: 400px;
    margin: 0 auto;
    animation: floatStack 6s ease-in-out infinite;
}

.card-visual {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.55);
    /* very transparent white */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: 0.5s;
    color: var(--title-color);
    font-weight: 500;
}

.card-visual i {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    color: transparent;
}

.card-visual--1 {
    transform: rotate(-10deg) translate(-20px, -20px);
    z-index: 1;
}

.card-visual--2 {
    transform: rotate(0deg);
    z-index: 2;
    background: rgba(12, 12, 12, 0.7);
    /* darker for middle */
}

.card-visual--3 {
    transform: rotate(10deg) translate(20px, 20px);
    z-index: 3;
    opacity: 0.9;
}

.card-stack:hover .card-visual--1 {
    transform: rotate(-25deg) translate(-50px, -20px);
}

.card-stack:hover .card-visual--3 {
    transform: rotate(25deg) translate(50px, 20px);
}

/* ==================== OTHER PORTFOLIO ==================== */
.other-portfolio {
    position: relative;
    padding: 5rem 0 6rem;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.03);
    border-bottom: 1px solid rgba(255,255,255,0.02);
    background: var(--container-color);
}

.other-portfolio__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.other-portfolio__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.35;
}

.other-portfolio__blob--1 {
    width: 320px;
    height: 320px;
    background: var(--first-color);
    top: -20%;
    right: 5%;
    animation: float 9s ease-in-out infinite;
}

.other-portfolio__blob--2 {
    width: 280px;
    height: 280px;
    background: #D35400;
    bottom: -15%;
    left: -5%;
    animation: float 11s ease-in-out infinite reverse;
}

.other-portfolio__container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4rem;
    align-items: center;
}

.other-portfolio__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1.25rem;
    background: rgba(230, 126, 34, 0.12);
    border: 1px solid rgba(230, 126, 34, 0.35);
    border-radius: 50px;
    color: var(--first-color);
    font-size: var(--small-font-size);
    font-weight: var(--font-semi-bold);
    letter-spacing: 0.5px;
    margin-bottom: 1.25rem;
}

.other-portfolio__title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.other-portfolio__description {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 1.75rem;
    max-width: 540px;
}

.other-portfolio__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 2rem;
}

.other-portfolio__tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.9rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: var(--smaller-font-size);
    color: var(--title-color);
    transition: .3s;
}

.other-portfolio__tag i {
    color: var(--first-color);
    font-size: 0.75rem;
}

.other-portfolio__tag:hover {
    border-color: var(--first-color);
    background: rgba(230, 126, 34, 0.08);
    transform: translateY(-2px);
}

.other-portfolio__stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.25rem;
    padding: 1.25rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.other-portfolio__stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.other-portfolio__stat-number {
    font-size: 1.5rem;
    font-weight: var(--font-bold);
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.other-portfolio__stat-label {
    font-size: var(--smaller-font-size);
    color: var(--text-color-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.other-portfolio__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.other-portfolio__visual {
    position: relative;
}

.other-portfolio__preview {
    display: block;
    position: relative;
    text-decoration: none;
    color: inherit;
}

.other-portfolio__browser {
    background: var(--gradient-card);
    border: 1px solid rgba(230, 126, 34, 0.25);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(230, 126, 34, 0.08);
    transition: transform .5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow .5s ease, border-color .5s ease;
}

.other-portfolio__preview:hover .other-portfolio__browser {
    transform: translateY(-8px) scale(1.01);
    border-color: var(--first-color);
    box-shadow: 0 35px 70px rgba(230, 126, 34, 0.2), 0 0 40px rgba(230, 126, 34, 0.1);
}

.other-portfolio__browser-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.35);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.other-portfolio__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.other-portfolio__dot--red { background: #ff5f57; }
.other-portfolio__dot--yellow { background: #febc2e; }
.other-portfolio__dot--green { background: #28c840; }

.other-portfolio__url {
    flex: 1;
    margin-left: 0.5rem;
    padding: 0.35rem 0.75rem;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 0.35rem;
    font-size: var(--smaller-font-size);
    color: var(--text-color-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.other-portfolio__live {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.65rem;
    background: rgba(40, 200, 64, 0.12);
    border: 1px solid rgba(40, 200, 64, 0.35);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: var(--font-semi-bold);
    color: #28c840;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.other-portfolio__live-pulse {
    width: 6px;
    height: 6px;
    background: #28c840;
    border-radius: 50%;
    animation: portfolioLivePulse 2s ease-in-out infinite;
}

@keyframes portfolioLivePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}

.other-portfolio__browser-body {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.other-portfolio__preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.other-portfolio__preview-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(5, 5, 5, 0.55);
    opacity: 0;
    transition: opacity .4s ease;
}

.other-portfolio__preview:hover .other-portfolio__preview-overlay {
    opacity: 1;
}

.other-portfolio__preview:hover .other-portfolio__preview-img {
    transform: scale(1.06);
}

.other-portfolio__preview-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    background: var(--first-color);
    color: var(--white-color);
    border-radius: 0.5rem;
    font-weight: var(--font-medium);
    transform: translateY(10px);
    transition: transform .4s ease;
}

.other-portfolio__preview:hover .other-portfolio__preview-cta {
    transform: translateY(0);
}

.other-portfolio__float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    background: rgba(12, 12, 12, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(230, 126, 34, 0.3);
    border-radius: 0.75rem;
    font-size: var(--smaller-font-size);
    font-weight: var(--font-medium);
    color: var(--title-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    z-index: 2;
    pointer-events: none;
}

.other-portfolio__float-card i {
    color: var(--first-color);
}

.other-portfolio__float-card--1 {
    top: 12%;
    left: -8%;
    animation: float 7s ease-in-out infinite;
}

.other-portfolio__float-card--2 {
    bottom: 10%;
    right: -6%;
    animation: float 8s ease-in-out infinite reverse;
}

/* ==================== OTHER SERVICES ==================== */
.other-services {
    position: relative;
    padding: 5rem 0 6rem;
    overflow: hidden;
    border-bottom: 1px solid rgba(230, 126, 34, 0.08);
    background: var(--body-color);
}

.other-services__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.other-services__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(110px);
    opacity: 0.3;
}

.other-services__blob--1 {
    width: 350px;
    height: 350px;
    background: #D35400;
    top: -10%;
    left: -8%;
    animation: float 10s ease-in-out infinite;
}

.other-services__blob--2 {
    width: 300px;
    height: 300px;
    background: var(--first-color);
    bottom: -12%;
    right: -5%;
    animation: float 8s ease-in-out infinite reverse;
}

.other-services .container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
}

.other-services__header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3rem;
}

.other-services__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1.25rem;
    background: rgba(230, 126, 34, 0.12);
    border: 1px solid rgba(230, 126, 34, 0.35);
    border-radius: 50px;
    color: var(--first-color);
    font-size: var(--small-font-size);
    font-weight: var(--font-semi-bold);
    letter-spacing: 0.5px;
    margin-bottom: 1.25rem;
}

.other-services__title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.other-services__subtitle {
    color: var(--text-color);
    line-height: 1.8;
    font-size: var(--normal-font-size);
}

.other-services__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    align-items: stretch;
}

.other-services__card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--container-color);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.03);
    border-radius: 1.25rem;
    padding: 1.75rem 1.25rem;
    transition: all .5s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
}

.other-services__card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1.5rem;
    padding: 2px;
    background: linear-gradient(135deg, var(--first-color), transparent 50%, rgba(230, 126, 34, 0.4));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity .5s ease;
    pointer-events: none;
}

.other-services__card:hover::before {
    opacity: 1;
}

.other-services__card:hover {
    transform: translateY(-10px);
    border-color: rgba(230, 126, 34, 0.4);
    box-shadow: 0 25px 55px rgba(230, 126, 34, 0.18);
}

.other-services__card--highlight {
    border-color: rgba(230, 126, 34, 0.35);
    background: var(--container-color);
}

.other-services__card--highlight::after {
    content: 'FREE';
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    padding: 0.25rem 0.65rem;
    background: rgba(40, 200, 64, 0.15);
    border: 1px solid rgba(40, 200, 64, 0.4);
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: var(--font-bold);
    color: #28c840;
    letter-spacing: 1px;
}

.other-services__card-num {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    font-weight: var(--font-bold);
    color: rgba(230, 126, 34, 0.08);
    line-height: 1;
    font-family: var(--second-font);
    transition: color .5s ease;
}

.other-services__card--highlight .other-services__card-num {
    right: 3.75rem;
}

.other-services__card:hover .other-services__card-num {
    color: rgba(230, 126, 34, 0.15);
}

.other-services__icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(230, 126, 34, 0.1);
    border: 1px solid rgba(230, 126, 34, 0.25);
    border-radius: 0.85rem;
    font-size: 1.4rem;
    margin-bottom: 1.15rem;
    flex-shrink: 0;
    transition: transform .4s ease, box-shadow .4s ease;
}

.other-services__icon i {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.other-services__card:hover .other-services__icon {
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 8px 24px rgba(230, 126, 34, 0.25);
}

.other-services__card-title {
    font-size: 1.05rem;
    margin-bottom: 0.65rem;
    color: var(--title-color);
    line-height: 1.35;
}

.other-services__card-desc {
    font-size: var(--smaller-font-size);
    line-height: 1.65;
    color: var(--text-color);
    margin-bottom: 1rem;
    flex-grow: 1;
}

.other-services__features {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding-top: 1rem;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.other-services__features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--smaller-font-size);
    color: var(--text-color-light);
}

.other-services__features li i {
    color: var(--first-color);
    font-size: 0.7rem;
}

/* ==================== SERVICES ==================== */
.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service__card {
    background: var(--gradient-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid transparent;
    padding: 3rem 2rem;
    border-radius: 1.5rem;
    transition: all .5s cubic-bezier(0.23, 1, 0.32, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service__card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1.5rem;
    padding: 2px;
    background: linear-gradient(135deg, var(--first-color), transparent, var(--first-color));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 0;
}

.service__card:hover::before {
    opacity: 1;
}

.service__card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 50px rgba(230, 126, 34, 0.25);
}

.service__icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform .3s ease;
    position: relative;
    z-index: 1;
}

.service__card:hover .service__icon {
    transform: scale(1.1);
}

.service__title {
    font-size: var(--h3-font-size);
    margin-bottom: 1rem;
    color: var(--title-color);
    font-weight: var(--font-bold);
    position: relative;
    z-index: 1;
}

.service__description {
    font-size: var(--small-font-size);
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text-color);
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

.service__card .button {
    position: relative;
    z-index: 2;
    margin-top: auto;
}

/* ==================== PORTFOLIO ==================== */
.portfolio__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.portfolio__item {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    background-color: var(--container-color);
}

.portfolio__item.large {
    grid-column: span 2;
    height: 450px;
}

.portfolio__item:not(.large) {
    height: 350px;
}

.portfolio__img-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.portfolio__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio__item:hover .portfolio__img {
    transform: scale(1.1);
}

.portfolio__data {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(20px);
    opacity: 0;
    transition: .4s;
}

.portfolio__item:hover .portfolio__data {
    opacity: 1;
    transform: translateY(0);
}

.portfolio__title {
    font-size: var(--h2-font-size);
    margin-bottom: 0.25rem;
}

.portfolio__category {
    color: var(--first-color);
    font-size: var(--small-font-size);
}

.portfolio__cta {
    text-align: center;
}

/* ==================== ABOUT ==================== */
.about__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 4rem;
    align-items: center;
}

.about__description {
    margin-bottom: 2.5rem;
    line-height: 1.8;
    color: var(--text-color);
}

.about__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stat__item {
    background: var(--container-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(230, 126, 34, 0.2);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    transition: all .3s ease;
}

.stat__item:hover {
    transform: translateY(-5px);
    border-color: var(--first-color);
    box-shadow: 0 10px 25px rgba(230, 126, 34, 0.2);
}

.stat__number {
    font-size: var(--h2-font-size);
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    font-weight: var(--font-bold);
}

.stat__label {
    font-size: var(--smaller-font-size);
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about__img {
    height: 400px;
    border-radius: 1.5rem;
    overflow: hidden;
    border: 2px solid rgba(230, 126, 34, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.about__img-inner {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.about__img:hover .about__img-inner {
    transform: scale(1.05);
}

/* ==================== CTA ==================== */
.cta {
    padding: 0;
}

.cta__container {
    background: var(--gradient-bg);
    padding: 5rem 2rem;
    border-radius: 2rem;
    text-align: center;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    margin: 2rem 0;
}

.cta__title {
    font-size: var(--h2-font-size);
    margin-bottom: 1rem;
}

.cta__description {
    margin-bottom: 2.5rem;
    font-size: var(--h3-font-size);
    color: var(--text-color);
}

/* ==================== SECTION BADGE ==================== */
.section__badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(230, 126, 34, 0.1);
    border: 1px solid var(--first-color);
    border-radius: 50px;
    color: var(--first-color);
    font-size: var(--small-font-size);
    font-weight: var(--font-semi-bold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

/* ==================== PROCESS SECTION ==================== */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
    position: relative;
}

.process-card {
    position: relative;
    perspective: 1000px;
}

.process-card-inner {
    background: var(--container-color);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid transparent;
    border-radius: 2rem;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.process-card-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 2rem;
    padding: 2px;
    background: linear-gradient(135deg, var(--first-color), transparent, var(--first-color));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.process-card:hover .process-card-inner::before {
    opacity: 1;
}

.process-card:hover .process-card-inner {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 60px rgba(230, 126, 34, 0.3);
}

.process-number-badge {
    position: absolute;
    top: -15px;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #F5B041, #E67E22);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: var(--font-bold);
    color: var(--white-color);
    box-shadow: 0 5px 20px rgba(230, 126, 34, 0.4);
}

.process-icon-wrapper {
    margin-bottom: 1.5rem;
    position: relative;
}

.process-icon-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(230, 126, 34, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

.process-icon {
    font-size: 3.5rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.process-card:hover .process-icon {
    transform: scale(1.15);
}

.process-title {
    font-size: var(--h3-font-size);
    color: var(--title-color);
    margin-bottom: 1rem;
    font-weight: var(--font-bold);
    background: linear-gradient(90deg, var(--title-color), var(--first-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.process-description {
    font-size: var(--small-font-size);
    color: var(--text-color);
    line-height: 1.8;
}

/* ==================== FAQ SECTION ==================== */
.faq {
    position: relative;
    overflow: hidden;
}

.faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(230, 126, 34, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.faq-wrapper {
    max-width: 900px;
    margin: 0 auto;
    margin-top: 4rem;
}

.accordion-item {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(230, 126, 34, 0.2);
    border-radius: 1.5rem;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-item:hover {
    border-color: var(--first-color);
    box-shadow: 0 10px 30px rgba(230, 126, 34, 0.2);
    background: rgba(255, 255, 255, 0.04);
}

.accordion-header {
    padding: 1.75rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    user-select: none;
    gap: 1rem;
}

.accordion-question {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.accordion-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, rgba(230, 126, 34, 0.2), rgba(230, 126, 34, 0.05));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.accordion-icon i {
    font-size: 1.25rem;
    color: var(--first-color);
}

.accordion-text {
    font-size: var(--normal-font-size);
    font-weight: var(--font-semi-bold);
    color: var(--title-color);
    transition: color 0.3s ease;
}

.accordion-arrow {
    font-size: 1rem;
    color: var(--first-color);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.accordion-header:hover {
    background: linear-gradient(90deg, rgba(230, 126, 34, 0.08), transparent);
}

.accordion-header:hover .accordion-text {
    color: var(--first-color);
}

.accordion-header:hover .accordion-icon {
    background: linear-gradient(135deg, rgba(230, 126, 34, 0.3), rgba(230, 126, 34, 0.1));
    transform: scale(1.05);
}

.accordion-item.active .accordion-header {
    background: linear-gradient(90deg, rgba(230, 126, 34, 0.12), transparent);
}

.accordion-item.active .accordion-arrow {
    transform: rotate(180deg);
}

.accordion-item.active .accordion-icon {
    background: linear-gradient(135deg, var(--first-color), rgba(230, 126, 34, 0.5));
}

.accordion-item.active .accordion-icon i {
    color: var(--white-color);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-item.active .accordion-content {
    max-height: 1000px;
}

.accordion-content-inner {
    padding: 0 2rem 2rem 2rem;
    padding-left: 4rem;
    animation: fadeSlideIn 0.5s ease;
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.accordion-content-inner p {
    color: var(--text-color);
    font-size: var(--small-font-size);
    line-height: 1.9;
    margin-bottom: 1rem;
}

.accordion-content-inner ul {
    list-style: none;
    margin: 1.5rem 0;
    display: grid;
    gap: 0.75rem;
}

.accordion-content-inner ul li {
    color: var(--text-color);
    font-size: var(--small-font-size);
    padding: 0.75rem 1rem;
    padding-left: 3rem;
    position: relative;
    line-height: 1.6;
    background: rgba(230, 126, 34, 0.05);
    border-left: 3px solid var(--first-color);
    border-radius: 0.5rem;
}

.accordion-content-inner ul li::before {
    content: '✓';
    position: absolute;
    left: 1rem;
    color: var(--first-color);
    font-weight: var(--font-bold);
    font-size: 1.1rem;
}

.accordion-content-inner ul li strong {
    color: var(--title-color);
    font-weight: var(--font-bold);
    margin-right: 0.5rem;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .process-timeline {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .process-card-inner {
        padding: 2.5rem 1.5rem;
    }

    .accordion-header {
        padding: 1.5rem;
    }

    .accordion-icon {
        width: 40px;
        height: 40px;
    }

    .accordion-text {
        font-size: var(--small-font-size);
    }

    .accordion-content-inner {
        padding: 0 1.5rem 1.5rem 1.5rem;
    }

    .accordion-content-inner ul li {
        padding-left: 2.5rem;
    }
}

@media screen and (max-width: 576px) {
    .process-number-badge {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .process-icon {
        font-size: 3rem;
    }

    .process-title {
        font-size: var(--normal-font-size);
    }

    .section__badge {
        font-size: var(--smaller-font-size);
        padding: 0.4rem 1rem;
    }
}

/* ==================== DESIGNER PROFILE ==================== */
.designer__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 4rem;
    align-items: flex-start;
    /* Changed to flex-start for better alignment */
}

.designer__content {
    order: 1;
    /* Content on right by default if not specified, but let's stick to HTML order (Left: Content, Right: Image) -- wait, HTML has Content first, then Image. */
}

.designer__profession {
    display: block;
    font-size: var(--normal-font-size);
    color: var(--first-color);
    font-weight: var(--font-semi-bold);
    margin-bottom: 2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.designer__data-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.designer__heading {
    font-size: var(--normal-font-size);
    color: var(--title-color);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--first-color);
    display: inline-block;
    padding-bottom: 0.25rem;
    letter-spacing: 1px;
}

.designer__info-list li {
    margin-bottom: 0.75rem;
    font-size: var(--small-font-size);
    display: flex;
    justify-content: space-between;
    /* To separate Label and Value if needed, but here simple text */
    flex-wrap: wrap;
}

.designer__info-list li strong {
    color: var(--title-color);
    margin-right: 0.5rem;
}

/* Skills */
.designer__skills {
    margin-bottom: 2.5rem;
}

.skills__container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 3rem;
    row-gap: 1.5rem;
}

.skills__titles {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.skills__name {
    font-size: var(--small-font-size);
    font-weight: var(--font-medium);
    color: var(--title-color);
}

.skills__number {
    font-size: var(--smaller-font-size);
    font-weight: var(--font-medium);
    color: var(--text-color-light);
}

.skills__bar {
    height: 6px;
    border-radius: .25rem;
    background-color: var(--container-color);
    border: 1px solid var(--border-color);
}

.skills__percentage {
    display: block;
    height: 100%;
    border-radius: .25rem;
    background-color: var(--first-color);
    position: relative;
}

.designer__img-wrapper {
    display: flex;
    justify-content: center;
    position: relative;
}

.designer__img {
    width: 100%;
    max-width: 400px;
    border-radius: 1rem;
}

.designer__buttons {
    margin-top: 2rem;
}

/* Responsive adjustments for Designer Section */
@media screen and (max-width: 992px) {
    .designer__container {
        grid-template-columns: 1fr;
        row-gap: 3rem;
    }

    .designer__img-wrapper {
        order: -1;
        /* Image on top on mobile */
    }
}

@media screen and (max-width: 576px) {
    .designer__data-grid {
        grid-template-columns: 1fr;
    }

    .skills__container {
        grid-template-columns: 1fr;
    }
}


/* ==================== CONTACT ==================== */
.contact__container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--container-color);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 3rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(230, 126, 34, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.contact__group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 1.5rem;
}

.contact__input-div {
    margin-bottom: 1.5rem;
}

.contact__input {
    width: 100%;
    background: rgba(12, 12, 12, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(230, 126, 34, 0.2);
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    color: var(--title-color);
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    outline: none;
    transition: all .3s ease;
}

.contact__input::placeholder {
    color: var(--text-color-light);
}

.contact__input:focus {
    border-color: var(--first-color);
    box-shadow: 0 0 0 4px rgba(230, 126, 34, 0.2);
    background: rgba(12, 12, 12, 0.8);
}

.textarea {
    resize: none;
    height: 150px;
}

/* ==================== FOOTER ==================== */
.footer {
    background-color: #050505;
    padding: 6rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

/* Optional background glowing effect */
.footer::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle, rgba(230, 126, 34, 0.1) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}

.footer__container-top,
.footer__container-bottom,
.footer__copyright-container,
.footer__divider {
    position: relative;
    z-index: 1;
}

/* --- Top Section --- */
.footer__container-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.footer__brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer__brand-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer__logo-badge {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 5px;
}

.footer__brand-title-group {
    display: flex;
    flex-direction: column;
}

.footer__brand-title {
    font-size: 1.75rem;
    color: var(--title-color);
    font-family: var(--body-font);
    font-weight: var(--font-bold);
    letter-spacing: 1px;
}

.footer__brand-year {
    font-size: 0.8rem;
    color: var(--first-color);
    text-transform: uppercase;
    font-weight: var(--font-medium);
    letter-spacing: 2px;
}

.footer__description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-color-light);
    max-width: 500px;
}

/* Social Section */
.footer__social-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.footer__social-label {
    font-size: 0.85rem;
    font-weight: var(--font-semi-bold);
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer__social-line {
    height: 1px;
    width: 40px;
    background: rgba(255, 255, 255, 0.1);
}

.footer__social {
    display: flex;
    gap: 0.75rem;
}

.footer__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.footer__social-link:hover {
    background: var(--first-color);
    color: #fff;
    border-color: var(--first-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.3);
}

/* Glass Card */
.footer__glass-card {
    background: var(--container-color);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer__glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    border-color: rgba(230, 126, 34, 0.3);
}

.footer__glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--first-color);
}

.footer__glass-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.footer__glass-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    background: rgba(230, 126, 34, 0.1);
    border-radius: 50px;
    color: var(--first-color);
    font-size: 0.75rem;
    font-weight: var(--font-bold);
    letter-spacing: 1px;
}

.footer__glass-card-external-link {
    color: var(--text-color-light);
    font-size: 1.2rem;
    transition: 0.3s;
}

.footer__glass-card-external-link:hover {
    color: var(--first-color);
    transform: scale(1.1);
}

.footer__glass-card-text {
    font-size: 1.05rem;
    color: var(--text-color);
    line-height: 1.6;
}

/* --- Divider --- */
.footer__divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    margin: 0 auto 4rem;
    width: 100%;
}

/* --- Bottom Section (Links & Contact) --- */
.footer__container-bottom {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.footer__col-title {
    font-size: 1.1rem;
    color: var(--title-color);
    margin-bottom: 1.5rem;
    font-weight: var(--font-semi-bold);
    letter-spacing: 0.5px;
}

.footer__list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer__link {
    color: var(--text-color-light);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer__link i {
    font-size: 0.75rem;
    color: var(--first-color);
    transition: 0.3s;
}

.footer__link:hover {
    color: var(--first-color);
    transform: translateX(5px);
}

.footer__contact-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.footer__contact-item i {
    font-size: 1.25rem;
    color: var(--first-color);
    margin-top: 0.2rem;
}

.footer__contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.footer__contact-details strong {
    font-size: 0.8rem;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer__contact-details a,
.footer__contact-details span {
    color: var(--text-color-light);
    font-size: 0.95rem;
    transition: 0.3s;
}

.footer__contact-details a:hover {
    color: var(--first-color);
}

/* --- Copyright Section --- */
.footer__copyright-container {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer__copy {
    color: var(--text-color-light);
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* Responsive Footer */
@media screen and (max-width: 968px) {
    .footer__container-top {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer__container-bottom {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media screen and (max-width: 576px) {
    .footer {
        padding: 4rem 0 2rem;
    }
    
    .footer__container-bottom {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer__social-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .footer__social-line {
        display: none;
    }
}

/* ==================== SCROLL UP ==================== */
.scrollup {
    position: fixed;
    right: 3rem;
    bottom: -20%;
    background-color: var(--first-color);
    color: var(--white-color);
    padding: 0.5rem;
    border-radius: 0.5rem;
    font-size: 1.25rem;
    z-index: var(--z-tooltip);
    transition: .4s;
    display: flex;
}

.scrollup:hover {
    background-color: var(--first-color-alt);
    transform: translateY(-5px);
}

.show-scroll {
    bottom: 3rem;
}

.scrolldown {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: -20%;
    opacity: 0;
    padding: 0.75rem;
    background: rgba(230, 126, 34, 0.1);
    border: 2px solid var(--first-color);
    border-radius: 50%;
    z-index: 100;
    transition: all .4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    color: var(--first-color);
    font-size: 1.25rem;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.scrolldown:hover {
    transform: translateX(-50%) translateY(5px);
    background: rgba(230, 126, 34, 0.2);
    box-shadow: 0 5px 20px rgba(230, 126, 34, 0.4);
}

.show-scroll-down {
    bottom: 2rem;
    opacity: 1;
}

/* ==================== ANIMATIONS ==================== */
@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(10deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

@keyframes floatStack {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* ==================== SCROLL REVEAL (AOS-style) ==================== */
[data-aos] {
    opacity: 0;
    transition:
        opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

[data-aos="fade-up"] {
    transform: translateY(48px);
}

[data-aos="fade-down"] {
    transform: translateY(-48px);
}

[data-aos="fade-left"] {
    transform: translateX(48px);
}

[data-aos="fade-right"] {
    transform: translateX(-48px);
}

[data-aos="zoom-in"] {
    transform: scale(0.88);
}

[data-aos="fade"] {
    transform: none;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translate(0) scale(1);
}

body:not(.animations-ready) .home__content,
body:not(.animations-ready) .home__visual {
    opacity: 0;
}

.demo-card[data-aos] {
    opacity: 0;
    transform: translateY(32px);
}

.demo-card[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.button {
    position: relative;
    overflow: hidden;
}

.button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
    transform: skewX(-20deg);
    transition: none;
}

.button:hover::after {
    animation: buttonShine 0.65s ease forwards;
}

@keyframes buttonShine {
    to { left: 160%; }
}

.service__card,
.other-services__card,
.portfolio__item,
.process-card-inner,
.demo-card,
.stat__item {
    transition:
        transform 0.45s cubic-bezier(0.23, 1, 0.32, 1),
        box-shadow 0.45s ease,
        border-color 0.45s ease;
}

@media (prefers-reduced-motion: reduce) {
    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .header {
        transform: none !important;
    }

    .header.header--loaded {
        transform: none !important;
    }

    .gradient-text {
        animation: none;
    }

    .button::after {
        display: none;
    }

    .blob,
    .other-portfolio__blob,
    .other-services__blob,
    .card-stack {
        animation: none !important;
    }
}

/* ==================== MEDIA QUERIES ==================== */
@media screen and (max-width: 968px) {
    .home {
        padding-top: 5rem;
    }

    .home__container {
        grid-template-columns: 1fr;
        row-gap: 4rem;
        text-align: center;
    }

    .home__buttons {
        justify-content: center;
    }

    .about__container {
        grid-template-columns: 1fr;
        row-gap: 3rem;
    }

    .contact__group {
        grid-template-columns: 1fr;
    }

    /* Mobile Navigation (Moved to 968px) */
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        background-color: var(--container-color);
        width: 80%;
        max-width: 320px;
        height: 100vh;
        /* Changed to 100vh for full screen height */
        padding: 6rem 2rem 0;
        transition: .4s;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        z-index: var(--z-modal);
        /* Increased z-index */
        border-radius: 0;
        /* Reset border radius */
    }

    .show-menu {
        right: 0;
    }

    .nav__list {
        display: flex;
        flex-direction: column;
        row-gap: 2rem;
    }

    .nav__close {
        display: inline-flex;
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        font-size: 1.5rem;
        cursor: pointer;
        color: var(--title-color);
    }

    .nav__toggle {
        display: inline-flex;
        font-size: 1.25rem;
        cursor: pointer;
        color: var(--title-color);
        z-index: var(--z-tooltip);
        /* Ensure toggle is clickable */
    }
}

@media screen and (max-width: 968px) {
    .other-portfolio__container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .other-portfolio__visual {
        order: -1;
        max-width: 520px;
        margin: 0 auto;
        width: 100%;
    }

    .other-portfolio__float-card--1 {
        left: 0;
    }

    .other-portfolio__float-card--2 {
        right: 0;
    }

    .other-services__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media screen and (max-width: 640px) {
    .other-services__grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    /* Navigation styles moved to 968px media query */

    .other-portfolio {
        padding: 4rem 0 5rem;
    }

    .other-services {
        padding: 4rem 0 5rem;
    }

    .other-services__card {
        padding: 2rem 1.5rem;
    }

    .other-portfolio__stats {
        gap: 1.25rem;
    }

    .other-portfolio__stat-number {
        font-size: 1.25rem;
    }

    .portfolio__grid {
        grid-template-columns: 1fr;
    }

    .portfolio__item.large {
        grid-column: span 1;
        height: 350px;
    }



    .card-stack {
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
        height: auto;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .card-visual {
        position: relative;
        width: 100%;
        height: auto;
        padding: 1.5rem;
        flex-direction: row;
        gap: 1.5rem;
        justify-content: flex-start;
        background: rgba(15, 15, 15, 0.75);
        border: 1px solid rgba(230, 126, 34, 0.2);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        transform: none !important;
        opacity: 1 !important;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    }

    .card-visual i {
        font-size: 2rem;
        margin-bottom: 0;
    }

    .card-visual span {
        font-size: 1.1rem;
        font-weight: var(--font-semi-bold);
        background: linear-gradient(90deg, #fff, #F5B041);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
}

@media screen and (max-width: 576px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .home__title {
        font-size: 2.25rem;
    }

    .section__title {
        font-size: 1.75rem;
    }

    /* Removed card-stack height override for mobile */

    .other-portfolio__actions {
        flex-direction: column;
    }

    .other-portfolio__actions .button {
        width: 100%;
    }

    .other-portfolio__stats {
        flex-wrap: wrap;
    }

    .other-portfolio__float-card {
        display: none;
    }

    .portfolio__item:not(.large) {
        height: 250px;
    }

    .about__stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .about__img {
        height: 250px;
    }
}

/* ==================== CHATBOT ==================== */
.chatbot-container {
    position: fixed;
    bottom: 35px;
    left: 35px;
    z-index: var(--z-fixed);
    transition: all 0.3s ease;
}

.chatbot-button {
    background: transparent !important;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 2rem;
    color: var(--first-color);
    box-shadow: none;
}

.chatbot-button.pulse {
    animation: chatbot-pulse 2s infinite;
}

@keyframes chatbot-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(230, 126, 34, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(230, 126, 34, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(230, 126, 34, 0);
    }
}

.chatbot-button:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(230, 126, 34, 0.4);
}

.chatbot-panel {
    width: 420px;
    max-width: 95vw;
    height: 620px;
    max-height: 85vh;
    padding: 1px;
    background: var(--container-color);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: translateY(20px) scale(0.96);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, visibility 0.4s ease;
    position: absolute;
    bottom: 80px;
    left: 0;
}

.chatbot-panel.active {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
}

.chatbot-panel::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: conic-gradient(transparent, transparent, transparent, var(--first-color));
    animation: rotate-border 2.5s linear infinite;
    z-index: -2;
}

.chatbot-panel::after {
    content: '';
    position: absolute;
    inset: 1px;
    background: var(--container-color);
    border-radius: 14px;
    z-index: -1;
}

.chatbot-panel > * {
    position: relative;
    z-index: 1;
}

.chatbot-header {
    padding: 15px;
    background: var(--body-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    border-radius: 14px 14px 0 0;
}

.chatbot-header h3 {
    color: var(--title-color);
    font-size: 16px;
    font-weight: 600;
}

.chatbot-close {
    background: none;
    border: none;
    color: var(--title-color);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chatbot-close:hover {
    transform: rotate(90deg);
    color: var(--first-color);
}

.chatbot-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    background-color: var(--container-color);
}

.chatbot-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 0;
}

.chatbot-quick-chips {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.45rem;
    padding: 0.65rem 0.75rem;
    overflow-x: auto;
    border-top: 1px solid var(--border-color);
    background: rgba(230, 126, 34, 0.04);
    scrollbar-width: none;
}

.chatbot-quick-chips::-webkit-scrollbar {
    display: none;
}

.chatbot-chip {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.75rem;
    background: rgba(230, 126, 34, 0.1);
    border: 1px solid rgba(230, 126, 34, 0.25);
    border-radius: 50px;
    color: var(--title-color);
    font-size: 0.72rem;
    font-family: var(--body-font);
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.chatbot-chip i {
    color: var(--first-color);
    font-size: 0.7rem;
}

.chatbot-chip:hover {
    background: var(--first-color);
    border-color: var(--first-color);
    color: var(--white-color);
    transform: translateY(-2px);
}

.chatbot-chip:hover i {
    color: var(--white-color);
}

.chatbot-messages::-webkit-scrollbar {
    width: 5px;
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: var(--first-color);
    border-radius: 10px;
}

.message {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 15px;
    font-size: var(--small-font-size);
    line-height: 1.5;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bot-message {
    background: rgba(230, 126, 34, 0.1);
    color: var(--text-color);
    border-bottom-left-radius: 5px;
    align-self: flex-start;
    position: relative;
    border: 1px solid var(--border-color);
}

.bot-message::before {
    content: '';
    position: absolute;
    left: -10px;
    bottom: 0;
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-right-color: rgba(230, 126, 34, 0.1);
    border-left: 0;
    border-bottom: 0;
    margin-bottom: 10px;
}

.user-message {
    background: var(--first-color);
    color: var(--white-color);
    border-bottom-right-radius: 5px;
    align-self: flex-end;
}

/* Chatbot Cards & Options */
.category-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.category-card {
    background: var(--body-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--title-color);
    text-align: center;
    font-size: var(--smaller-font-size);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.category-card i {
    font-size: 1.2rem;
    color: var(--first-color);
}

.category-card:hover {
    transform: translateY(-3px);
    border-color: var(--first-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.options-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.option-item {
    background: var(--body-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--title-color);
    font-size: var(--smaller-font-size);
}

.option-item:hover {
    background: var(--first-color);
    color: var(--white-color);
    border-color: var(--first-color);
}

.action-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.action-buttons-vertical {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.action-btn {
    padding: 8px 15px;
    border-radius: 20px;
    border: none;
    background: var(--first-color);
    color: var(--white-color);
    font-size: var(--smaller-font-size);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: var(--body-font);
}

.action-btn:hover {
    background: var(--first-color-alt);
    transform: translateY(-2px);
}

/* Chat Input */
.chatbot-input {
    padding: 15px;
    background: var(--body-color);
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 10px;
    align-items: center;
}

.chatbot-input input {
    flex: 1;
    padding: 10px 15px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    background: var(--container-color);
    color: var(--title-color);
    outline: none;
    font-size: var(--small-font-size);
    font-family: var(--body-font);
}

.chatbot-input input::placeholder {
    color: var(--text-color-light);
}

.chatbot-input button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--first-color);
    color: var(--white-color);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.chatbot-input button:hover {
    background: var(--first-color-alt);
    transform: rotate(15deg);
}

/* Thinking Animation */
.thinking {
    display: flex;
    gap: 4px;
    padding: 5px 0;
}

.thinking .dot {
    width: 6px;
    height: 6px;
    background: var(--text-color-light);
    border-radius: 50%;
    animation: typingAnimation 1.4s infinite ease-in-out both;
}

.thinking .dot:nth-child(1) {
    animation-delay: -0.32s;
}

.thinking .dot:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes typingAnimation {

    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

/* Notification Popup */
.chatbot-notification {
    position: fixed;
    bottom: 100px;
    left: 35px;
    padding: 15px;
    border-radius: 15px;
    display: none;
    align-items: center;
    gap: 15px;
    z-index: var(--z-fixed);
    animation: chatbot-popin 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    max-width: 300px;
    overflow: hidden;
}

.chatbot-notification::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: conic-gradient(transparent, transparent, transparent, var(--first-color));
    animation: rotate-border 2.5s linear infinite;
    z-index: -2;
}

.chatbot-notification::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: var(--container-color);
    border-radius: 13px;
    z-index: -1;
}

.chatbot-notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.chatbot-notification-avatar {
    width: 40px;
    height: 40px;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    font-size: 1.2rem;
}

.chatbot-notification-message {
    font-size: var(--small-font-size);
    color: var(--title-color);
    line-height: 1.4;
}

.chatbot-notification-close {
    font-size: 1.2rem;
    color: var(--text-color-light);
    cursor: pointer;
    position: absolute;
    top: 5px;
    right: 10px;
    z-index: 1;
}

@keyframes chatbot-popin {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes rotate-border {
    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 576px) {
    .chatbot-panel {
        position: fixed;
        left: 50%;
        transform: translateX(-50%) translateY(20px) scale(0.96);
        width: calc(100vw - 30px);
        max-width: 450px;
        height: 85vh;
        bottom: 90px;
    }

    .chatbot-panel.active {
        transform: translateX(-50%) translateY(0) scale(1);
    }

    .chatbot-container {
        left: 20px;
        bottom: 20px;
    }

    .chatbot-notification {
        left: 20px;
        bottom: 90px;
        max-width: 260px;
    }
}

/* ==================== FLOATING SEARCH BAR SYSTEM ==================== */
.floating-search-container {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    z-index: 99; /* Below header but above everything else */
    padding: 1rem 0;
    pointer-events: none; /* Let clicks pass through empty spaces */
    transition: all 0.4s ease;
}

.floating-search-box-wrapper {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    display: flex;
    justify-content: flex-end; /* Align search bar to the right side */
    position: relative;
}

.floating-search-box-wrapper .search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(12, 12, 12, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    padding: 8px 18px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    width: 240px;
    pointer-events: auto; /* Enable clicks */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.floating-search-box-wrapper .search-box:focus-within {
    width: 320px;
    background: rgba(12, 12, 12, 0.85);
    border-color: var(--first-color);
    box-shadow: 0 0 25px rgba(230, 126, 34, 0.4), 0 8px 32px rgba(0, 0, 0, 0.3);
}

.floating-search-box-wrapper .search-input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: var(--title-color);
    font-size: var(--small-font-size);
    font-family: var(--body-font);
    padding-right: 25px;
}

.floating-search-box-wrapper .search-input::placeholder {
    color: var(--text-color-light);
}

.floating-search-box-wrapper .search-button {
    position: absolute;
    right: 18px;
    background: transparent;
    border: none;
    color: var(--text-color-light);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn-text {
    display: none;
}

.floating-search-box-wrapper .search-box:focus-within .search-input {
    padding-right: 75px;
}

.floating-search-box-wrapper .search-box:focus-within .search-button {
    background: var(--first-color);
    color: #fff !important;
    padding: 4px 10px;
    border-radius: 20px;
    right: 8px;
    font-size: 0.85rem;
    height: 28px;
    width: auto;
}

.floating-search-box-wrapper .search-box:focus-within .search-button i {
    display: none;
}

.floating-search-box-wrapper .search-box:focus-within .search-button .search-btn-text {
    display: inline;
    font-family: var(--body-font);
    font-size: 0.85rem;
    font-weight: 500;
}

/* Glassmorphic Search Dropdown */
.floating-search-box-wrapper .search-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 1.5rem;
    width: 340px;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--border-color);
    border-radius: 1.25rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    z-index: 1000;
    max-height: 380px;
    overflow-y: auto;
    display: none;
    padding: 12px;
    scrollbar-width: thin;
    scrollbar-color: var(--first-color) transparent;
    pointer-events: auto; /* Enable clicks */
}

.floating-search-box-wrapper .search-dropdown::-webkit-scrollbar {
    width: 5px;
}

.floating-search-box-wrapper .search-dropdown::-webkit-scrollbar-thumb {
    background: var(--first-color);
    border-radius: 10px;
}

.floating-search-box-wrapper .search-dropdown.active {
    display: block;
    animation: popup-slide 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes popup-slide {
    0% {
        opacity: 0;
        transform: translateY(10px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.search-result-item {
    padding: 14px 16px;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.25s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: rgba(230, 126, 34, 0.12);
    transform: translateX(4px);
    box-shadow: inset 3px 0 0 var(--first-color);
}

.search-result-title {
    font-size: var(--small-font-size);
    font-weight: var(--font-semi-bold);
    color: var(--title-color);
    margin-bottom: 4px;
}

.search-result-desc {
    font-size: var(--smaller-font-size);
    color: var(--text-color-light);
    line-height: 1.4;
}

.search-no-results {
    padding: 24px 16px;
    text-align: center;
    color: var(--text-color-light);
    font-size: var(--small-font-size);
}

/* Page Section Highlight Animation */
.highlight-section {
    position: relative;
    animation: highlight-pulse-animation 2.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    border-radius: 2rem;
    z-index: 10;
}

@keyframes highlight-pulse-animation {
    0% {
        box-shadow: 0 0 0 0 rgba(230, 126, 34, 0);
        background-color: transparent;
    }
    20% {
        box-shadow: 0 0 40px 15px rgba(230, 126, 34, 0.5);
        background-color: rgba(230, 126, 34, 0.08);
    }
    40% {
        box-shadow: 0 0 15px 5px rgba(230, 126, 34, 0.2);
        background-color: rgba(230, 126, 34, 0.02);
    }
    60% {
        box-shadow: 0 0 40px 15px rgba(230, 126, 34, 0.4);
        background-color: rgba(230, 126, 34, 0.06);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(230, 126, 34, 0);
        background-color: transparent;
    }
}

/* Responsive Search Bar */
/* Responsive Search Bar */
@media screen and (min-width: 969px) {
    .mobile-search-wrapper {
        display: none !important;
    }
    
    /* Premium Desktop Navigation Bar */
    .header {
        top: 1.5rem;
        left: 0;
        right: 0;
        margin: 0 auto;
        width: 95%;
        max-width: 1200px;
        height: var(--header-height);
        padding: 0 1.5rem;
        background-color: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border: none !important;
        box-shadow: none !important;
    }
    
    .header.scroll-header {
        top: 1.5rem; /* Stable position */
        height: var(--header-height); /* Stable size */
        background-color: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        box-shadow: none !important;
    }

    .nav__menu {
        display: flex;
        align-items: center;
        height: 100%;
        padding: 0 2rem;
        border-radius: 50px;
        background-color: rgba(12, 12, 12, 0.4);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border: 1px solid rgba(255, 255, 255, 0.08);
        transition: background-color 0.4s, backdrop-filter 0.4s, box-shadow 0.4s, border-color 0.4s;
    }

    .scroll-header .nav__menu {
        background-color: rgba(12, 12, 12, 0.85);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
        border: 1px solid rgba(255, 255, 255, 0.15);
    }
    
    body.a11y-light-background .nav__menu {
        background-color: rgba(255, 255, 255, 0.75) !important;
        border: 1px solid rgba(0, 0, 0, 0.05) !important;
    }
    body.a11y-light-background .scroll-header .nav__menu {
        background-color: rgba(255, 255, 255, 0.95) !important;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
    }

    .nav__link:not(.button-primary):hover {
        transform: translateY(-2px);
    }
    
    .floating-search-container {
        top: calc(var(--header-height) + 2.5rem);
        width: 95%;
        max-width: 1200px;
        left: 0;
        right: 0;
        margin: 0 auto;
        padding-top: 0;
    }
}

@media screen and (max-width: 968px) {
    /* Hide desktop floating search */
    .floating-search-container {
        display: none !important;
    }
    
    /* Hide top nav background, border, shadow, backdrop-filter */
    .header {
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border-bottom: none !important;
        box-shadow: none !important;
    }
    
    .header.scroll-header {
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        box-shadow: none !important;
    }

    /* Mobile Logo style (hidden on mobile devices) */
    .nav__logo {
        display: none !important;
    }

    /* Mobile Search Layout next to Hamburger Icon */
    .nav__toggle-wrapper {
        display: flex;
        align-items: center;
        gap: 1.5rem;
        margin-left: auto; /* Push it to the right */
        padding-right: 0.5rem;
    }

    .mobile-search-wrapper {
        position: relative;
        display: flex;
        align-items: center;
    }

    .mobile-search-input-expand {
        width: 0;
        opacity: 0;
        padding: 0;
        background: rgba(12, 12, 12, 0.7);
        border: 1px solid transparent;
        border-radius: 20px;
        outline: none;
        color: var(--title-color);
        font-size: var(--small-font-size);
        font-family: var(--body-font);
        transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        pointer-events: none;
    }

    .mobile-search-icon {
        background: transparent;
        border: none;
        color: var(--title-color);
        font-size: 1.25rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: color 0.3s ease;
        z-index: 2;
    }

    /* Active State for Mobile Expandable Search */
    .mobile-search-wrapper.active .mobile-search-input-expand {
        width: calc(100vw - 80px); /* Dynamically fill available header width */
        max-width: 320px; /* Restrict width on larger screens */
        opacity: 1;
        padding: 6px 75px 6px 15px; /* Leave space on the right for text */
        border-color: rgba(255, 255, 255, 0.15);
        background: rgba(12, 12, 12, 0.9);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        pointer-events: auto;
        margin-right: 0; /* Align perfectly with wrapper boundary */
    }
    
    .mobile-search-wrapper.active .mobile-search-icon {
        position: absolute;
        right: 6px;
        background: var(--first-color);
        color: #fff;
        width: auto;
        padding: 0 12px;
        border-radius: 20px;
        height: 30px;
        font-size: 0.85rem;
    }
    
    .mobile-search-wrapper.active .mobile-search-icon i {
        display: none;
    }
    
    .mobile-search-wrapper.active .mobile-search-icon .search-btn-text {
        display: inline;
        font-family: var(--body-font);
        font-size: 0.9rem;
        font-weight: 500;
    }

    .mobile-search-wrapper .search-dropdown {
        position: absolute;
        top: calc(100% + 12px);
        right: 0;
        width: 280px;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border: 1px solid var(--border-color);
        border-radius: 1rem;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
        z-index: 1000;
        max-height: 300px;
        overflow-y: auto;
        display: none;
        padding: 10px;
        pointer-events: auto;
    }

    .mobile-search-wrapper .search-dropdown.active {
        display: block;
    }
}


/* ==================== ADVANCED CHATBOT STYLES ==================== */
.chatbot-header-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chatbot-header-avatar {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--first-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(230, 126, 34, 0.3);
}

.online-indicator {
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 10px;
    height: 10px;
    background-color: #22c55e;
    border: 2px solid var(--body-color);
    border-radius: 50%;
}

.chatbot-header-info h3 {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.chatbot-status {
    font-size: 0.7rem;
    color: var(--text-color-light);
    display: block;
}

/* Tabs */
.chatbot-tabs {
    display: flex;
    background: var(--body-color);
    border-bottom: 1px solid var(--border-color);
    padding: 0 10px;
}

.chatbot-tab-btn {
    flex: 1;
    padding: 12px 5px;
    background: transparent;
    border: none;
    color: var(--text-color-light);
    font-size: var(--small-font-size);
    font-weight: var(--font-medium);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.chatbot-tab-btn:hover {
    color: var(--title-color);
}

.chatbot-tab-btn.active {
    color: var(--first-color);
    border-bottom-color: var(--first-color);
}

/* Tab Content */
.chatbot-tab-content {
    display: none;
    flex-direction: column;
    flex-grow: 1;
    overflow: hidden;
}

.chatbot-tab-content.active {
    display: flex;
}

/* Calculator Panel inside chatbot */
.calculator-panel {
    padding: 20px;
    overflow-y: auto;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: var(--container-color);
}

.calculator-panel::-webkit-scrollbar {
    width: 4px;
}

.calculator-panel::-webkit-scrollbar-thumb {
    background: var(--first-color);
    border-radius: 10px;
}

.calc-intro {
    font-size: var(--smaller-font-size);
    color: var(--text-color-light);
    line-height: 1.5;
    margin-bottom: 5px;
}

.calc-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.calc-service-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.calc-group label,
.calc-service-group label {
    font-size: var(--smaller-font-size);
    color: var(--title-color);
    font-weight: var(--font-medium);
}

.calc-select {
    width: 100%;
    background: var(--body-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--title-color);
    padding: 10px 12px;
    outline: none;
    font-size: var(--small-font-size);
    font-family: var(--body-font);
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.calc-select:focus {
    border-color: var(--first-color);
}

.calc-radio-group {
    display: flex;
    gap: 20px;
}

.calc-radio {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: var(--small-font-size);
    color: var(--text-color);
}

.calc-radio input {
    accent-color: var(--first-color);
    cursor: pointer;
}

.calc-result-box {
    margin-top: 5px;
    background: rgba(230, 126, 34, 0.08);
    border: 1px solid rgba(230, 126, 34, 0.2);
    border-radius: 10px;
    padding: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.calc-result-label {
    font-size: var(--small-font-size);
    color: var(--text-color);
}

.calc-result-price {
    font-size: 1.15rem;
    font-weight: var(--font-bold);
    color: var(--first-color);
    text-shadow: 0 0 10px rgba(230, 126, 34, 0.2);
}

.calc-submit-btn {
    width: 100%;
    padding: 12px !important;
    background-color: #22c55e !important;
    border-radius: 8px;
    font-size: var(--small-font-size) !important;
    margin-top: auto;
    font-weight: 500;
}

.calc-submit-btn:hover {
    background-color: #16a34a !important;
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.3) !important;
}

/* Extra Chatbot Styles for NLP and Interactive Items */
.bot-custom-card {
    background: var(--body-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 15px;
    margin-top: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.bot-custom-card-title {
    font-weight: var(--font-semi-bold);
    color: var(--title-color);
    font-size: var(--small-font-size);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.bot-custom-card-title i {
    color: var(--first-color);
}

.bot-custom-card-desc {
    font-size: var(--smaller-font-size);
    color: var(--text-color);
    line-height: 1.5;
    margin-bottom: 12px;
}

.bot-custom-card-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bot-card-btn {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: var(--font-medium);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--first-color);
    color: var(--white-color);
    transition: all 0.25s ease;
}

.bot-card-btn:hover {
    background: var(--first-color-alt);
    transform: translateY(-1px);
}

.bot-card-btn.ghost {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--title-color);
}

.bot-card-btn.ghost:hover {
    border-color: var(--first-color);
    background: rgba(230, 126, 34, 0.05);
}

.bot-pricing-table {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 8px;
    background: var(--body-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 10px;
    width: 100%;
}

.bot-pricing-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    font-size: var(--smaller-font-size);
}

.bot-pricing-row:last-child {
    border-bottom: none;
}

.bot-pricing-name {
    color: var(--text-color);
}

.bot-pricing-val {
    font-weight: var(--font-semi-bold);
    color: var(--first-color);
}

.bot-inline-action {
    display: inline-block;
    color: var(--first-color);
    text-decoration: underline;
    cursor: pointer;
    font-weight: var(--font-medium);
}

/* ==================== SERVICE DETAILS SECTION ==================== */
.service-detail-section {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.service-detail__container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.service-detail-section:nth-child(even) .service-detail__container {
    grid-template-columns: 0.8fr 1.2fr;
}

.service-detail-section:nth-child(even) .service-detail__data {
    order: 2;
}

.service-detail-section:nth-child(even) .service-detail__example {
    order: 1;
}

.service-detail__badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: rgba(230, 126, 34, 0.1);
    border: 1px solid var(--first-color);
    border-radius: 50px;
    color: var(--first-color);
    font-size: var(--small-font-size);
    font-weight: var(--font-semi-bold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.service-detail__title {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    font-family: var(--body-font);
}

.service-detail__description {
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.service-detail__features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.feature__item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.feature__icon {
    width: 32px;
    height: 32px;
    background: rgba(230, 126, 34, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--first-color);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.feature__text h4 {
    font-size: var(--normal-font-size);
    color: var(--title-color);
    margin-bottom: 0.25rem;
}

.feature__text p {
    font-size: var(--smaller-font-size);
    color: var(--text-color-light);
    line-height: 1.4;
}

.service-detail__example {
    background: var(--gradient-card);
    border: 1px solid rgba(230, 126, 34, 0.2);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transition: all 0.4s ease;
    text-align: left;
}

.service-detail__example:hover {
    transform: translateY(-8px);
    border-color: var(--first-color);
    box-shadow: 0 25px 50px rgba(230, 126, 34, 0.25);
}

.example__img-wrapper {
    width: 100%;
    height: 220px;
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
}

.example__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-detail__example:hover .example__img {
    transform: scale(1.05);
}

.example__tag {
    font-size: var(--smaller-font-size);
    color: var(--first-color);
    text-transform: uppercase;
    font-weight: var(--font-semi-bold);
    margin-bottom: 0.5rem;
    display: block;
}

.example__title {
    font-size: var(--h3-font-size);
    color: var(--title-color);
    margin-bottom: 0.75rem;
}

.example__desc {
    font-size: var(--small-font-size);
    color: var(--text-color);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

/* Alternate Backgrounds */
.service-detail-section:nth-child(even) {
    background: var(--body-color);
}

@media screen and (max-width: 968px) {
    .service-detail__container {
        grid-template-columns: 1fr !important;
        gap: 3rem;
    }
    
    .service-detail-section:nth-child(even) .service-detail__container {
        grid-template-columns: 1fr !important;
    }
    
    .service-detail-section:nth-child(even) .service-detail__data {
        order: 1 !important;
    }
    
    .service-detail-section:nth-child(even) .service-detail__example {
        order: 2 !important;
    }
    
    .service-detail__title {
        font-size: 1.75rem;
    }
}

@media screen and (max-width: 576px) {
    .service-detail__features {
        grid-template-columns: 1fr;
    }
}

/* ==================== PAGE LOADER ==================== */
.page-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--body-color);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s ease;
}

.page-loader--hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.page-loader__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.page-loader__logo {
    width: 72px;
    height: auto;
    border-radius: 12px;
    animation: loaderLogoPulse 1.8s ease-in-out infinite;
}

.page-loader__spinner {
    width: 44px;
    height: 44px;
    border: 3px solid rgba(230, 126, 34, 0.15);
    border-top-color: var(--first-color);
    border-radius: 50%;
    animation: loaderSpin 0.9s linear infinite;
}

.page-loader__text {
    font-size: var(--small-font-size);
    font-weight: var(--font-semi-bold);
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-color-light);
    animation: loaderTextFade 1.8s ease-in-out infinite;
}

@keyframes loaderSpin {
    to { transform: rotate(360deg); }
}

@keyframes loaderLogoPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.06); opacity: 0.85; }
}

@keyframes loaderTextFade {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .page-loader__logo,
    .page-loader__spinner,
    .page-loader__text {
        animation: none;
    }
}

/* ==================== WEB DEMO MODAL ==================== */
body.web-demo-modal-open {
    overflow: hidden;
}

.web-demo-modal {
    position: fixed;
    inset: 0;
    z-index: calc(var(--z-modal) + 100);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease, visibility .35s ease;
}

.web-demo-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.web-demo-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 5, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.web-demo-modal__panel {
    position: relative;
    z-index: 1;
    width: min(1200px, 100%);
    max-height: min(92vh, 900px);
    display: flex;
    flex-direction: column;
    background: var(--container-color);
    border: 1px solid rgba(230, 126, 34, 0.25);
    border-radius: 1.5rem;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.65), 0 0 60px rgba(230, 126, 34, 0.08);
    overflow: hidden;
    transform: scale(0.94) translateY(24px);
    transition: transform .4s cubic-bezier(0.16, 1, 0.3, 1);
}

.web-demo-modal.is-open .web-demo-modal__panel {
    transform: scale(1) translateY(0);
}

.web-demo-modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 2rem 2rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: transparent;
}

.web-demo-modal__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.9rem;
    margin-bottom: 0.75rem;
    background: rgba(230, 126, 34, 0.12);
    border: 1px solid rgba(230, 126, 34, 0.3);
    border-radius: 50px;
    color: var(--first-color);
    font-size: var(--smaller-font-size);
    font-weight: var(--font-semi-bold);
    letter-spacing: 0.4px;
}

.web-demo-modal__title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.web-demo-modal__subtitle {
    color: var(--text-color);
    font-size: var(--small-font-size);
    line-height: 1.6;
    max-width: 640px;
}

.web-demo-modal__close {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    color: var(--title-color);
    font-size: 1.15rem;
    cursor: pointer;
    transition: .3s;
}

.web-demo-modal__close:hover {
    background: rgba(230, 126, 34, 0.15);
    border-color: var(--first-color);
    color: var(--first-color);
    transform: rotate(90deg);
}

.web-demo-modal__body {
    padding: 1.5rem 2rem 2rem;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--first-color) transparent;
}

.web-demo-modal__body::-webkit-scrollbar {
    width: 6px;
}

.web-demo-modal__body::-webkit-scrollbar-thumb {
    background: var(--first-color);
    border-radius: 10px;
}

.web-demo-modal__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.web-demo-modal__error {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 1.5rem;
    color: var(--text-color-light);
}

.web-demo-modal__error i {
    font-size: 2rem;
    color: var(--first-color);
    margin-bottom: 1rem;
}

.web-projects__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

@media screen and (max-width: 968px) {
    .web-projects__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .web-projects__grid {
        grid-template-columns: 1fr;
    }
}

.demo-card {
    background: var(--gradient-card);
    border: 1px solid rgba(230, 126, 34, 0.15);
    border-radius: 1.25rem;
    overflow: hidden;
    transition: transform .45s cubic-bezier(0.23, 1, 0.32, 1), box-shadow .45s ease, border-color .45s ease;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
}

.demo-card:hover {
    transform: translateY(-8px);
    border-color: rgba(230, 126, 34, 0.4);
    box-shadow: 0 22px 50px rgba(230, 126, 34, 0.16);
}

.demo-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1.35rem 0;
}

.demo-card__img-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.demo-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.4s ease;
}

.demo-card:hover .demo-card__img {
    transform: scale(1.05);
}

.demo-card__category {
    display: inline-flex;
    padding: 0.35rem 0.75rem;
    background: rgba(230, 126, 34, 0.1);
    border: 1px solid rgba(230, 126, 34, 0.35);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: var(--font-semi-bold);
    color: var(--first-color);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.demo-card__live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.65rem;
    background: rgba(40, 200, 64, 0.15);
    border: 1px solid rgba(40, 200, 64, 0.35);
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: var(--font-bold);
    color: #28c840;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.demo-card__live-dot {
    width: 6px;
    height: 6px;
    background: #28c840;
    border-radius: 50%;
    animation: portfolioLivePulse 2s ease-in-out infinite;
}

.demo-card__body {
    padding: 1rem 1.35rem 1.35rem;
}

.demo-card__title {
    font-size: 1.1rem;
    margin-bottom: 0.55rem;
    color: var(--title-color);
    line-height: 1.35;
}

.demo-card__desc {
    font-size: var(--smaller-font-size);
    line-height: 1.65;
    color: var(--text-color);
    margin-bottom: 1.1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.demo-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.demo-card__date {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: var(--smaller-font-size);
    color: var(--text-color-light);
    white-space: nowrap;
}

.demo-card__date i {
    color: var(--first-color);
}

.demo-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.6rem 1rem;
    background: var(--first-color);
    color: var(--white-color);
    border-radius: 0.5rem;
    font-size: var(--smaller-font-size);
    font-weight: var(--font-medium);
    white-space: nowrap;
    transition: .3s;
}

.demo-card__btn:hover {
    background: var(--first-color-alt);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(230, 126, 34, 0.3);
}

@media screen and (max-width: 768px) {
    .web-demo-modal {
        padding: 0.75rem;
    }

    .web-demo-modal__panel {
        max-height: 94vh;
        border-radius: 1.15rem;
    }

    .web-demo-modal__header {
        padding: 1.35rem 1.25rem 1rem;
    }

    .web-demo-modal__body {
        padding: 1rem 1.25rem 1.35rem;
    }

    .web-demo-modal__grid {
        grid-template-columns: 1fr;
        gap: 1.15rem;
    }

    .demo-card__footer {
        flex-direction: column;
        align-items: stretch;
    }

    .demo-card__btn {
        justify-content: center;
    }
}

/* ==================== ACCESSIBILITY TOOLS WIDGET ==================== */
.a11y-widget {
    position: fixed;
    top: 20%;
    right: 0;
    z-index: 9999;
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.a11y-widget.is-open {
    transform: translateX(0);
}

.a11y-toggle {
    position: absolute;
    left: -48px;
    top: 0;
    width: 48px;
    height: 48px;
    background-color: #F5B041; /* Matching the blue in the image */
    color: #ffffff;
    border: none;
    border-radius: 8px 0 0 8px;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.a11y-toggle:hover {
    background-color: #E67E22;
}

.a11y-panel {
    width: 250px;
    background-color: #ffffff;
    color: #333333;
    border: 1px solid #F5B041;
    box-shadow: -5px 5px 20px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 0 8px;
    overflow: hidden;
    font-family: Arial, sans-serif;
}

.a11y-header {
    padding: 15px 20px;
    border-bottom: 1px solid #eeeeee;
}

.a11y-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #333333;
    font-weight: bold;
}

.a11y-options {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 70vh;
    overflow-y: auto;
}

.a11y-options li {
    border-bottom: 1px solid #f5f5f5;
}

.a11y-options button {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 12px 20px;
    font-size: 0.95rem;
    color: #333333;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background-color 0.2s, color 0.2s;
}

.a11y-options button i {
    font-size: 1.1rem;
    color: #333333;
    width: 20px;
    text-align: center;
}

.a11y-options button:hover,
.a11y-options button.is-active {
    background-color: #f0f4ff;
}

.a11y-options button.is-active {
    font-weight: bold;
    color: #F5B041;
}

/* ==================== ACCESSIBILITY STATES ==================== */

body.a11y-increase-text {
    font-size: calc(var(--normal-font-size) * 1.2) !important;
}

body.a11y-increase-text h1 { font-size: calc(var(--h1-font-size) * 1.2) !important; }
body.a11y-increase-text h2 { font-size: calc(var(--h2-font-size) * 1.2) !important; }
body.a11y-increase-text h3 { font-size: calc(var(--h3-font-size) * 1.2) !important; }
body.a11y-increase-text p, body.a11y-increase-text a, body.a11y-increase-text span, body.a11y-increase-text li {
    font-size: 1.2em !important;
}

body.a11y-decrease-text {
    font-size: calc(var(--normal-font-size) * 0.8) !important;
}

body.a11y-decrease-text h1 { font-size: calc(var(--h1-font-size) * 0.8) !important; }
body.a11y-decrease-text h2 { font-size: calc(var(--h2-font-size) * 0.8) !important; }
body.a11y-decrease-text h3 { font-size: calc(var(--h3-font-size) * 0.8) !important; }
body.a11y-decrease-text p, body.a11y-decrease-text a, body.a11y-decrease-text span, body.a11y-decrease-text li {
    font-size: 0.8em !important;
}

body.a11y-grayscale > :not(.a11y-widget) {
    filter: grayscale(100%) !important;
}

body.a11y-high-contrast {
    background-color: #000000 !important;
    color: #ffff00 !important;
}
body.a11y-high-contrast * {
    background-color: #000000 !important;
    color: #ffff00 !important;
    border-color: #ffff00 !important;
}

body.a11y-negative-contrast > :not(.a11y-widget) {
    filter: invert(100%) hue-rotate(180deg) !important;
    background-color: #ffffff !important;
}

body.a11y-light-background {
    --body-color: #f8fafc !important;
    --container-color: #ffffff !important;
    --title-color: #0f172a !important;
    --text-color: #334155 !important;
    --text-color-light: #64748b !important;
    --border-color: #e2e8f0 !important;
    background-color: var(--body-color) !important;
    color: var(--text-color) !important;
}
body.a11y-light-background *:not(.button):not(.button-primary):not(i):not(.a11y-toggle):not(.blob):not(.page-loader):not(.page-loader__spinner) {
    color: var(--text-color);
}
body.a11y-light-background h1, 
body.a11y-light-background h2, 
body.a11y-light-background h3, 
body.a11y-light-background .home__title {
    color: var(--title-color) !important;
}
body.a11y-light-background .home__bg-img {
    filter: invert(1) opacity(0.8) !important;
    opacity: 0.1 !important;
}
body.a11y-light-background section, 
body.a11y-light-background .header.scroll-header,
body.a11y-light-background .footer,
body.a11y-light-background .card-visual,
body.a11y-light-background .other-portfolio,
body.a11y-light-background .other-portfolio__browser,
body.a11y-light-background .other-portfolio__browser-bar,
body.a11y-light-background .service-detail__example,
body.a11y-light-background .demo-card,
body.a11y-light-background .service__card,
body.a11y-light-background .other-services__card,
body.a11y-light-background .process-card-inner,
body.a11y-light-background .web-demo-modal__panel {
    background: var(--container-color) !important;
    background-color: var(--container-color) !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
}

body.a11y-links-underline a {
    text-decoration: underline !important;
}

/* Light Theme Search & Nav Glassmorphism */
body.a11y-light-background .floating-search-box-wrapper .search-box,
body.a11y-light-background .mobile-search-input-expand,
body.a11y-light-background .mobile-search-wrapper.active .mobile-search-input-expand {
    background: rgba(255, 255, 255, 0.45) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    color: var(--title-color) !important;
}

body.a11y-light-background .floating-search-box-wrapper .search-box:focus-within,
body.a11y-light-background .mobile-search-input-expand:focus,
body.a11y-light-background .mobile-search-wrapper.active .mobile-search-input-expand:focus {
    background: rgba(255, 255, 255, 0.75) !important;
    border-color: var(--first-color) !important;
}

body.a11y-light-background .floating-search-box-wrapper .search-input {
    color: var(--title-color) !important;
}

body.a11y-light-background .floating-search-box-wrapper .search-dropdown,
body.a11y-light-background .mobile-search-wrapper .search-dropdown {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05) !important;
}

@media screen and (min-width: 969px) {
    body.a11y-light-background .header {
        background-color: rgba(255, 255, 255, 0.4) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border: 1px solid rgba(0, 0, 0, 0.05) !important;
    }

    body.a11y-light-background .header.scroll-header {
        background-color: rgba(255, 255, 255, 0.65) !important;
        backdrop-filter: blur(24px) !important;
        -webkit-backdrop-filter: blur(24px) !important;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05) !important;
    }
}

body.a11y-readable-font * {
    font-family: Arial, Helvetica, sans-serif !important;
    letter-spacing: normal !important;
    word-spacing: normal !important;
}
