﻿html, body {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    width: 100%;
    cursor: auto;
}

body {
    cursor: auto;
    caret-color: var(--gold-primary);
}

.animated-bg,
.dot-texture,
.preloader {
    position: fixed;
    top: 0;
    left: 0
}

.loader-ring {
    transform: translate(-50%, -50%)
}

.floating-social .icon-label,
.social-icon .icon-label {
    padding: 8px 12px;
    pointer-events: none;
    white-space: nowrap;
}

.animated-bg::after,
.dot-texture,
.image-border,
.social-icon .icon-label {
    pointer-events: none
}

.btn-download,
.contact-item,
.footer-links a,
a {
    text-decoration: none
}

.footer-bottom,
.footer-built,
.footer-centered,
.footer-content,
.pricing-card,
.stat-item {
    text-align: center
}

:root {
    --bg-dark-1: #5b0c0f;
    --bg-dark-2: #911515;
    --bg-dark-3: #5b0c11;
    --bg-main: #0a0506;
    --gold-1: #ddc36e;
    --gold-2: #9a6728;
    --gold-3: #edda8b;
    --gold-4: #9f702c;
    --gold-primary: #c4a127;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.75);
    --text-muted: rgba(255, 255, 255, 0.5);
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-bg-hover: rgba(255, 255, 255, 0.07);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-border-hover: rgba(196, 161, 39, 0.45);
    --font-heading: "Playfair Display", serif;
    --font-body: "Work Sans", sans-serif;
    --transition-fast: 0.25s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.6s ease;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px
}

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

html {
    scroll-behavior: auto;
    font-size: 16px;
    scrollbar-width: thin;
    scrollbar-color: var(--gold-primary) rgba(255, 255, 255, 0.05)
}

::-webkit-scrollbar {
    width: 6px
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, .03)
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--gold-1), var(--gold-2));
    border-radius: 10px
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--gold-3), var(--gold-1))
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: visible;
    position: relative;
    padding-top: 0
}

a {
    color: inherit;
    transition: var(--transition-fast)
}

ul {
    list-style: none
}

img {
    max-width: 100%;
    height: auto
}

::selection {
    background: var(--gold-primary);
    color: var(--bg-main)
}

.animated-bg,
.dot-texture,
.logo-mark svg,
.preloader {
    width: 100%;
    height: 100%
}

.floating-social,
.floating-social.desktop-only,
.loader,
.preloader {
    display: flex
}

.animated-bg {
    z-index: -2;
    background: linear-gradient(70deg, rgba(80, 10, 12, .4) 30%, rgba(135, 18, 18, .78) 53%, rgba(70, 10, 11, .3) 100%);
    background-size: 300% 300%;
    animation: 12s infinite gradientShift
}

.animated-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, .02) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: .28;
    mix-blend-mode: overlay;
    animation: 30s linear infinite dotsDrift
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0 50%
    }

    50% {
        background-position: 100% 50%
    }
}

@keyframes footerGlide {

    0%,
    100% {
        background-position: 0 0
    }

    50% {
        background-position: 100% 0
    }
}

.dot-texture {
    z-index: -1;
    background-image: radial-gradient(circle, rgba(255, 255, 255, .04) 1px, transparent 1px);
    background-size: 20px 20px
}

.preloader {
    background: var(--bg-main);
    z-index: 10000;
    align-items: center;
    justify-content: center
}

.loader {
    position: relative;
    flex-direction: column;
    align-items: center
}

.loader-logo {
    font-family: var(--font-heading);
    font-size: 64px;
    font-weight: 700;
    background: linear-gradient(-18deg, var(--gold-1) 0, var(--gold-2) 22%, var(--gold-3) 50%, var(--gold-4) 76%, var(--gold-1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.btn-cta,
.loader-text,
.nav-link {
    font-family: var(--font-body)
}

.loader-ring {
    width: 100px;
    height: 100px;
    border: 2px solid rgba(255, 255, 255, .1);
    border-top-color: var(--gold-primary);
    border-radius: 50%;
    animation: 1s linear infinite spin;
    position: absolute;
    top: 50%;
    left: 50%
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg)
    }
}

.loader-text {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 60px;
    letter-spacing: 2px
}

.floating-social {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    flex-direction: column;
    align-items: center
}

.floating-social .social-icon {
    position: relative;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 8px 0;
    border-radius: 50%;
    background: 0 0 !important;
    border: none;
    color: #fff;
    transition: .28s;
    animation: none !important;
    will-change: auto
}

.social-icon,
.social-trigger {
    background: rgba(255, 255, 255, .05);
    backdrop-filter: blur(10px);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    transition: var(--transition-fast)
}

.floating-social .social-icon:hover {
    background: linear-gradient(-18deg, var(--gold-1) 0, var(--gold-2) 22%, var(--gold-3) 50%, var(--gold-4) 76%, var(--gold-1) 100%) !important;
    color: var(--bg-main) !important;
    box-shadow: 0 12px 30px rgba(196, 161, 39, .4) !important;
    transform: scale(1.1)
}

.skill-icon:hover,
.education-icon:hover,
.contact-icon:hover {
    background: linear-gradient(-18deg, var(--gold-1) 0, var(--gold-2) 22%, var(--gold-3) 50%, var(--gold-4) 76%, var(--gold-1) 100%) !important;
    color: black !important
}

.floating-social .icon-label {
    position: absolute;
    left: -50px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10, 5, 6, .9);
    color: #fff;
    border-radius: 8px;
    opacity: 0;
    transition: transform .28s, opacity .28s;
    font-size: 13px;
    z-index: 9999;
    font-weight: 500
}

.floating-social .social-icon:hover .icon-label {
    transform: translateY(-50%) translateX(5%);
    opacity: 1;
    pointer-events: auto
}

.floating-social .social-icon.active {
    background: 0 0 !important;
    color: #999;
    box-shadow: none;
    transform: scale(1)
}

.social-icon.active {
    transform: scale(1.12);
    background: var(--gold-primary) !important;
    color: var(--bg-main) !important;
    box-shadow: 0 12px 30px rgba(196, 161, 39, .12)
}

.social-trigger {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .1);
    justify-content: center;
    font-size: 20px
}

.social-trigger:hover {
    background: rgba(196, 161, 39, .2);
    border-color: var(--gold-primary);
    color: var(--gold-primary)
}

.social-trigger.active {
    transform: rotate(45deg);
    background: var(--gold-primary);
    color: var(--bg-main)
}

.social-icons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 0;
    opacity: 1;
    visibility: visible
}

.social-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .1);
    justify-content: center;
    font-size: 18px
}

.hero-section,
.logo-mark {
    display: flex;
    align-items: center
}

.social-icon .icon-label,
.social-label {
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600
}

.navbar,
.social-icon:hover {
    transition: var(--transition-medium)
}

.social-icon:hover {
    background: linear-gradient(-18deg, var(--gold-1) 0, var(--gold-2) 22%, var(--gold-3) 50%, var(--gold-4) 76%, var(--gold-1) 100%);
    border-color: transparent;
    color: var(--bg-main);
    transform: scale(1.08)
}

.social-label {
    color: var(--bg-main);
    padding: 6px 10px
}

@keyframes floatShuffle {

    0%,
    100%,
    50% {
        transform: translateY(0) rotate(0)
    }

    25% {
        transform: translateY(-6px) rotate(-3deg)
    }

    75% {
        transform: translateY(6px) rotate(3deg)
    }
}

.floating-social .social-icon:first-child,
.floating-social .social-icon:nth-child(2),
.floating-social .social-icon:nth-child(3),
.floating-social .social-icon:nth-child(4) {
    animation: none !important;
}

.social-icon[title]::after {
    content: none
}

.social-icon .icon-label {
    position: absolute;
    left: -140px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10, 5, 6, .85);
    color: #fff;
    opacity: 0;
    transform-origin: right center;
    transition: .22s
}

#loadMoreBtn:hover,
.btn-cta:hover {
    transform: translateY(-2px)
}

.navbar {
    padding: 15px 0;
    background: rgba(255, 255, 255, .06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, .08)
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px)
}

@media (min-width:992px) {
    .navbar>.container {
        padding-right: 0px;
    }
}

.logo-mark {
    width: 40px;
    height: 40px;
    justify-content: center;
    transition: var(--transition-fast)
}

.nav-link::after,
.toggler-line {
    height: 2px;
    transition: var(--transition-fast)
}

.logo:hover .logo-mark {
    transform: scale(1.05)
}

.navbar-toggler {
    border: none;
    background: 0 0;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    position: relative;
    z-index: 1001
}

.navbar-toggler:focus {
    box-shadow: none
}

.toggler-line {
    display: block;
    width: 24px;
    background: var(--text-primary);
    border-radius: 2px;
    transform-origin: center
}

.navbar-toggler[aria-expanded=true] .toggler-line:first-child {
    transform: translateY(7px) rotate(45deg)
}

.navbar-toggler[aria-expanded=true] .toggler-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0)
}

.navbar-toggler[aria-expanded=true] .toggler-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg)
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 10px 18px !important;
    position: relative;
    transition: var(--transition-fast)
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 18px;
    width: 0;
    background: linear-gradient(90deg, var(--gold-1), var(--gold-3))
}

.btn-cta,
.section-title .gold,
.title-line.gold {
    background: linear-gradient(-18deg, var(--gold-1) 0, var(--gold-2) 22%, var(--gold-3) 50%, var(--gold-4) 76%, var(--gold-1) 100%)
}

.nav-link.active,
.nav-link:hover {
    color: var(--text-primary) !important
}

.nav-link.active::after,
.nav-link:hover::after {
    width: calc(100% - 36px);
    background: linear-gradient(90deg, var(--gold-1), var(--gold-3))
}

.btn-cta {
    margin-left: 20px;
    padding: 10px 25px;
    font-weight: 600;
    font-size: 13px;
    color: var(--bg-main);
    border-radius: 50px;
    transition: var(--transition-fast);
    background: linear-gradient(-18deg, var(--gold-1) 0, var(--gold-2) 22%, var(--gold-3) 50%, var(--gold-4) 76%, var(--gold-1) 100%);
    border: none
}

.btn-cta:hover {
    background: rgba(255, 255, 255, .08) !important;
    border: 1px solid var(--gold-primary) !important;
    color: var(--text-primary) !important;
    box-shadow: 0 10px 30px rgba(196, 161, 39, .4) !important;
    transform: translateY(-2px)
}

.hero-section {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    z-index: 1;
    background: 0 0;
    background-image: none !important;
    justify-content: center
}

.hero-slide,
.hero-slider {
    min-height: 100vh;
    display: flex;
    align-items: center
}

.hero-slider {
    position: relative;
    width: 100%;
    justify-content: center
}

.btn-gold::before,
.hero-bg,
.hero-overlay,
.hero-slide {
    position: absolute;
    width: 100%;
    top: 0
}

.hero-slide {
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s, visibility 1s;
    justify-content: center
}

.back-to-top.visible,
.hero-slide.active {
    opacity: 1;
    visibility: visible
}

.hero-bg {
    left: 0;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.05);
    transition: transform 10s
}

.hero-slide.active .hero-bg {
    transform: scale(1)
}

.hero-overlay {
    left: 0;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 5, 6, .92) 0, rgba(10, 5, 6, .8) 35%, rgba(10, 5, 6, .6) 60%, rgba(10, 5, 6, .4) 100%)
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 0;
    max-width: 760px
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    padding: 10px 22px;
    background: linear-gradient(-18deg, rgba(196, 161, 39, .18) 0, rgba(196, 161, 39, .1) 100%);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(196, 161, 39, .3);
    border-radius: 50px;
    margin-bottom: 25px;
    letter-spacing: .5px
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: 2s infinite pulse;
    box-shadow: 0 0 10px rgba(34, 197, 94, .5)
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1)
    }

    50% {
        opacity: .7;
        transform: scale(.9)
    }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 5.5vw, 72px);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px
}

.title-line {
    display: block
}

.section-title .gold,
.title-line.gold {
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.hero-description {
    font-family: var(--font-body);
    font-size: clamp(14px, 1.8vw, 18px);
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 35px;
    line-height: 1.8
}

.btn-gold,
.btn-gold:hover {
    color: var(--bg-main)
}

.hero-cta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap
}

@media (max-width:991px) {
    .floating-social.desktop-only {
        display: none !important
    }

    .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 5, 6, .98);
        backdrop-filter: blur(20px);
        padding: 100px 30px 40px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transform: translateX(-100%);
        opacity: 0;
        transition: transform .4s, opacity .4s
    }

    .navbar-collapse.show {
        transform: translateX(0);
        opacity: 1
    }

    .navbar-nav {
        text-align: center;
        margin-bottom: 30px;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%
    }

    .nav-item {
        margin: 8px 0
    }

    .nav-link {
        font-size: 20px;
        padding: 12px 20px !important
    }

    .nav-link::after {
        bottom: 8px;
        left: 20px
    }

    .nav-link.active::after,
    .nav-link:hover::after {
        width: calc(100% - 40px)
    }

    .btn-cta {
        margin-left: 0;
        margin-top: 20px;
        padding: 14px 35px;
        font-size: 15px
    }

    .navbar-collapse .btn-cta {
        align-self: center
    }

    .hero-section,
    .hero-slide,
    .hero-slider {
        min-height: 75vh
    }

    .hero-content {
        padding: 50px 0;
        text-align: center
    }

    body {
        padding-top: 72px
    }

    .hero-title {
        font-size: clamp(28px, 6vw, 48px)
    }

    .hero-description {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto
    }

    .hero-cta {
        justify-content: center
    }

    .hero-overlay {
        background: linear-gradient(to bottom, rgba(10, 5, 6, .85) 0, rgba(10, 5, 6, .7) 50%, rgba(10, 5, 6, .85) 100%)
    }
}

.btn-gold,
.btn-outline-gold {
    padding: 14px 35px;
    font-size: 14px;
    position: relative;
    font-weight: 600;
    transition: var(--transition-fast);
    font-family: var(--font-body);
    overflow: hidden
}

.btn-gold {
    background: linear-gradient(-18deg, var(--gold-1) 0, var(--gold-2) 22%, var(--gold-3) 50%, var(--gold-4) 76%, var(--gold-1) 100%);
    border: none;
    border-radius: 50px
}

.btn-gold::before {
    content: "";
    left: -100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .3), transparent);
    transition: .5s
}

.btn-gold:hover {
    background: rgba(255, 255, 255, .08) !important;
    border: 1px solid var(--gold-primary) !important;
    color: var(--text-primary) !important;
    box-shadow: 0 10px 30px rgba(196, 161, 39, .4) !important
}

.btn-gold:hover::before {
    left: 100%
}

.btn-download:hover,
.btn-gold:hover,

.btn-pricing::before,
.btn-pricing:hover,
.footer-social a:hover,
.slider-btn.active,
.slider-btn:hover {
    background: linear-gradient(-18deg, var(--gold-1) 0, var(--gold-2) 22%, var(--gold-3) 50%, var(--gold-4) 76%, var(--gold-1) 100%)
}

.social-icon:hover .icon-label {
    opacity: 1;
    transform: translateY(-50%) translateX(8px)
}

.contact-item.contact-link {
    display: flex;
    gap: 22px;
    align-items: center;
    text-decoration: none;
    color: inherit;
    padding: 30px;
    border-radius: 10px;
    transition: background .25s, transform .18s, box-shadow .25s
}

.contact-item.contact-link:hover {
    background: rgba(255, 255, 255, .02);
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .16)
}

.btn-download:hover,
.btn-gold:hover,
.btn-outline-gold:hover,
 .btn-outline-gold::before,
.btn-outline-gold:hover,
.btn-pricing:hover,
.footer-social a:hover {
    color: var(--bg-main) !important;
    border-color: transparent !important;
    transform: translateY(-3px);
    box-shadow: 0 18px 50px rgba(196, 161, 39, .35);
    transition: var(--transition-medium)
}

.btn-gold:hover::before {
    left: 100%
}

.btn-outline-gold {
    background: linear-gradient(-18deg, var(--gold-1) 0, var(--gold-2) 22%, var(--gold-3) 50%, var(--gold-4) 76%, var(--gold-1) 100%);
    color: var(--bg-main);
    border: none;
    border-radius: 50px
}

.btn-outline-gold::before,
.btn-pricing::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s;
    z-index: -1
}

.btn-outline-gold:hover {
    background: rgba(255, 255, 255, .08) !important;
    border: 1px solid var(--gold-primary) !important;
    color: var(--text-primary) !important;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(196, 161, 39, .4) !important
}

.btn-outline-gold:hover::before,
.btn-pricing:hover::before {
    transform: scaleX(1)
}

.slider-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, .1);
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast)
}

.slider-btn.active,
.slider-btn:hover {
    border-color: transparent;
    color: var(--bg-main)
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px
}

.about-image-wrapper,
.section-padding,
.wave-separator {
    position: relative
}

.scroll-text {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    writing-mode: vertical-rl
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--gold-primary), transparent);
    animation: 2s infinite scrollLine
}

@keyframes scrollLine {

    0%,
    100% {
        transform: scaleY(1);
        opacity: 1
    }

    50% {
        transform: scaleY(.5);
        opacity: .5
    }
}

.wave-separator {
    height: 80px;
    overflow: hidden;
    z-index: 2;
    display: none !important
}

.wave-separator svg {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%
}

.wave-separator.flip svg {
    transform: scaleY(-1)
}

.section-padding {
    padding: 32px 0;
    z-index: 2
}

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

.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--gold-primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px
}

.experience-badge .exp-number,
.section-title {
    font-family: var(--font-heading);
    font-weight: 700
}

.contact-label,
.project-category {
    text-transform: uppercase;
    letter-spacing: 1px
}

.section-title {
    font-size: clamp(32px, 4vw, 48px);
    color: var(--text-primary);
    margin-bottom: 14px
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    transition: var(--transition-medium);
}

.glass-card:hover {
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-hover);
    transform: translateY(-6px);
}

.about-section,
.contact-section {
    background: 0 0
}

.btn-download:hover,
.experience-badge {
    background: linear-gradient(-18deg, var(--gold-1) 0, var(--gold-2) 22%, var(--gold-3) 50%, var(--gold-4) 76%, var(--gold-1) 100%)
}

.about-image-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden
}

.about-image {
    width: 100%;
    height: 510px;
    object-fit: cover;
    transition: transform .8s;
    animation: 1s both profileEntrance
}

.about-image-frame:hover .about-image {
    transform: scale(1.06) translateY(-6px)
}

.image-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid rgba(196, 161, 39, .3);
    border-radius: var(--radius-lg)
}

.experience-badge {
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 100px;
    height: 100px;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 40px rgba(196, 161, 39, .4)
}

.experience-badge .exp-number {
    font-size: 36px;
    color: var(--bg-main);
    line-height: 1
}

.about-text,
.btn-download,
.experience-badge .exp-text {
    font-family: var(--font-body)
}

.experience-badge .exp-text {
    font-size: 11px;
    font-weight: 600;
    color: var(--bg-main);
    text-align: center;
    line-height: 1.2
}

.btn-download {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    margin-top: 30px;
    background: linear-gradient(-18deg, var(--gold-1) 0, var(--gold-2) 22%, var(--gold-3) 50%, var(--gold-4) 76%, var(--gold-1) 100%);
    border: none;
    border-radius: 50px;
    color: var(--bg-main);
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition-fast)
}

.about-text,
.btn-download i {
    font-size: 16px
}

.about-image-wrapper+.btn-download,
.about-image-wrapper+a.btn-download {
    width: 100%;
    display: inline-flex;
    justify-content: center
}

.btn-download:hover {
    background: rgba(255, 255, 255, .08) !important;
    border: 1px solid var(--gold-primary) !important;
    color: var(--text-primary) !important;
    box-shadow: 0 10px 30px rgba(196, 161, 39, .4) !important
}

.about-content {
    padding-left: 30px
}

.about-text {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px
}

.pricing-price .amount,
.stat-number {
    -webkit-text-fill-color: transparent;
    line-height: 1
}

.about-stats {
    display: flex;
    gap: 20px;
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, .06)
}

.stat-item {
    flex: 1;
    padding: 18px 16px;
    background: rgba(255, 255, 255, .02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .04);
    backdrop-filter: blur(10px)
}

@keyframes profileEntrance {
    0% {
        transform: translateY(18px) scale(.98);
        opacity: 0
    }

    100% {
        transform: translateY(0) scale(1);
        opacity: 1
    }
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    background: linear-gradient(-18deg, var(--gold-1) 0, var(--gold-2) 22%, var(--gold-3) 50%, var(--gold-4) 76%, var(--gold-1) 100%);
    -webkit-background-clip: text;
    background-clip: text
}

.stat-label {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 5px
}

@media (max-width:991px) {
    .about-content {
        padding-left: 0;
        margin-top: 50px
    }

    .about-stats {
        justify-content: center
    }
}

.skill-card {
    padding: 35px;
    height: 100%
}

.skill-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: rgba(196, 161, 39, .1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--gold-primary);
    margin-bottom: 25px
}

.skill-title,
.timeline-title {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 600
}

.skill-title {
    font-size: 22px;
    margin-bottom: 20px
}

.skill-list {
    display: flex;
    flex-direction: column;
    gap: 12px
}

.skill-list li,
.timeline-list li {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-secondary);
    padding-left: 20px;
    position: relative
}

.skill-list li::before,
.timeline-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--gold-primary);
    border-radius: 50%
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding-left: 72px
}

.timeline::before {
    content: "";
    position: absolute;
    left: 36px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--gold-primary), rgba(196, 161, 39, .2))
}

.pricing-price .amount,
.project-link:hover {
    background: linear-gradient(-18deg, var(--gold-1) 0, var(--gold-2) 22%, var(--gold-3) 50%, var(--gold-4) 76%, var(--gold-1) 100%)
}

.timeline-item {
    position: relative;
    margin-bottom: 40px
}

.timeline-item:last-child {
    margin-bottom: 0
}

.timeline-marker {
    position: absolute;
    left: -44px;
    top: 36px;
    width: 16px;
    height: 16px;
    background: var(--gold-primary);
    border-radius: 50%;
    border: 3px solid var(--bg-main);
    box-shadow: 0 0 0 4px rgba(196, 161, 39, .3)
}

.timeline-content {
    padding: 36px;
    min-height: 160px;
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    border-radius: var(--radius-md);
    border: 1.5px solid rgba(196, 161, 39, .42);
    position: relative;
    z-index: 10;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    /* box-shadow: 0 20px 80px rgba(0, 0, 0, .4), inset 0 1.5px 1px rgba(255, 255, 255, .25); */
    visibility: visible !important;
    display: block !important;
    opacity: 1 !important
}

.timeline-item:hover .timeline-content {
    transform: translateY(-8px) translateX(12px);
    box-shadow: 0 24px 56px rgba(196, 161, 39, .18)
}

.timeline-item:hover .timeline-marker {
    transform: scale(1.4);
    box-shadow: 0 0 0 8px rgba(196, 161, 39, .2)
}

.timeline-header {
    margin-bottom: 15px
}

.timeline-title {
    font-size: 20px;
    margin-bottom: 5px
}

.timeline-company {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--gold-primary)
}

.timeline-date {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, .05);
    padding: 5px 15px;
    border-radius: 50px;
    margin-bottom: 15px
}

.timeline-list {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.education-card {
    padding: 35px;
    display: flex;
    gap: 25px;
    height: 100%
}

.education-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: var(--radius-md);
    background: rgba(196, 161, 39, .1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--gold-primary)
}

.education-content {
    flex: 1
}

.education-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px
}

.education-description,
.education-institution,
.education-year,
.project-category,
.project-description {
    font-family: var(--font-body)
}

.education-institution {
    display: block;
    font-size: 14px;
    color: var(--gold-primary);
    margin-bottom: 5px
}

.education-year,
.project-tags span {
    color: var(--text-muted);
    background: rgba(255, 255, 255, .05);
    border-radius: 50px
}

.education-year {
    display: inline-block;
    font-size: 12px;
    padding: 4px 12px;
    margin-bottom: 15px
}

.education-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7
}

.projects-section {
    overflow: visible
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    row-gap: 50px;
    margin-bottom: 40px;
    transition: transform .4s cubic-bezier(.34, 1.56, .64, 1), box-shadow .4s, filter .3s
}

.projects-section .section-header {
    margin-bottom: 50px
}

.project-card {
    min-width: unset;
    max-width: unset;
    transform: translateY(-10px) scale(1.02);
    /* box-shadow: 0 32px 80px rgba(0, 0, 0, .6); */
    filter: brightness(1.05);
    transition: transform .4s cubic-bezier(.34, 1.56, .64, 1), box-shadow .4s;
    border-radius: var(--radius-lg) !important;
    display: flex;
    flex-direction: column;
    height: 100%
}

.project-link,
.project-overlay {
    display: flex;
    transition: var(--transition-fast)
}

.project-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 36px 90px rgba(196, 161, 39, .3);
    filter: brightness(1.08);
    z-index: 10
}

.project-card:nth-child(3n) {
    margin-bottom: 48px
}

@media (max-width:991px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        row-gap: 45px
    }

    .project-card:nth-child(3n) {
        margin-bottom: 30px
    }
}

@media (max-width:575px) {

    .hero-section,
    .hero-slide,
    .hero-slider {
        min-height: 65vh
    }

    .hero-content {
        padding: 20px 0 40px
    }

    .hero-badge {
        font-size: 12px;
        padding: 8px 16px
    }

    .hero-title {
        font-size: clamp(26px, 8vw, 36px)
    }

    .hero-description {
        font-size: 14px;
        line-height: 1.7
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 12px
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 250px
    }

    .about-image {
        height: 350px
    }

    .about-stats {
        flex-direction: column;
        gap: 25px
    }

    .experience-badge {
        width: 80px;
        height: 80px;
        bottom: -10px;
        right: -10px
    }

    .experience-badge .exp-number {
        font-size: 28px
    }

    .experience-badge .exp-text {
        font-size: 9px
    }

    .timeline {
        padding-left: 36px
    }

    .timeline-marker {
        left: 12px;
        width: 12px;
        height: 12px
    }

    .timeline-content {
        padding: 20px
    }

    .timeline-title {
        font-size: 18px
    }

    .education-card {
        flex-direction: column;
        gap: 20px;
        padding: 25px
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        row-gap: 35px
    }

    .project-card {
        margin-bottom: 0 !important
    }
}

.project-category,
.project-title {
    margin-bottom: 10px;
    font-weight: 600
}

.project-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s
}

.project-card:hover .project-image img {
    transform: scale(1.1)
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 5, 6, .7);
    align-items: center;
    justify-content: center;
    opacity: 0
}


.project-card:hover .project-overlay {
    opacity: 1
}
.btn-close-white:hover {
    background: rgba(255, 255, 255, .1);
    color: var(--bg-main);
    opacity: 0;
}
.project-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(-18deg, var(--gold-1) 0, var(--gold-2) 22%, var(--gold-3) 50%, var(--gold-4) 76%, var(--gold-1) 100%);    align-items: center;
    justify-content: center;
    color: var(--bg-main);
    font-size: 20px;
    transform: scale(0)
}

.project-card:hover .project-link {
    transform: scale(1) translateY(-4px)
}

.project-link:hover {
    transform: scale(1.08) translateY(-6px);
    box-shadow: 0 18px 40px rgba(196, 161, 39, .25)
}

#loadMoreBtn:hover,
.btn-pricing:hover {
    box-shadow: 0 15px 40px rgba(196, 161, 39, .3)
}

.project-content {
    padding: 18px;
    flex: 1 1 auto
}

.project-category {
    display: inline-block;
    font-size: 12px;
    color: var(--gold-primary)
}

.project-title {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--text-primary)
}

.project-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px
}

.pricing-badge,
.project-tags span {
    font-size: 11px;
    font-family: var(--font-body)
}

.project-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.project-tags span {
    font-weight: 500;
    padding: 5px 12px
}

.projects-footer {
    margin-top: 50px
}

.projects-footer .btn {
    padding: 14px 40px
}

@media (max-width:991px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px
    }
}

#loadMoreBtn {
    margin-top: 20px;
    padding: 14px 50px !important;
    font-weight: 600;
    letter-spacing: .8px;
    transition: .3s cubic-bezier(.34, 1.56, .64, 1)
}

.btn-pricing.btn-gold::before,
.project-card[data-project="4"],
.project-card[data-project="5"],
.project-card[data-project="6"] {
    display: none
}

@media (min-width:768px) {

    .project-card[data-project="4"],
    .project-card[data-project="5"],
    .project-card[data-project="6"] {
        display: none
    }
}

.pricing-card {
    padding: 32px 28px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    /* box-shadow: 0 14px 50px rgba(0, 0, 0, .35); */
    transition: var(--transition-medium)
}

.pricing-card.featured {
    border-color: rgba(196, 161, 39, .3);
    transform: scale(1.03)
}

.pricing-card.featured::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-1) 0, var(--gold-3) 50%, var(--gold-1) 100%)
}

.pricing-badge {
    position: absolute;
    top: 12px;
    right: -28px;
    background: var(--gold-primary);
    color: var(--bg-main);
    padding: 5px 35px;
    font-weight: 600;
    transform: rotate(45deg)
}

.btn-pricing,
.contact-heading,
.pricing-title {
    font-weight: 600;
    color: var(--text-primary)
}

.pricing-header {
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .08)
}

.pricing-title {
    font-family: var(--font-heading);
    font-size: 22px;
    margin-bottom: 15px
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 3px
}

.pricing-price .currency {
    font-family: var(--font-body);
    font-size: 24px;
    font-weight: 600;
    color: var(--gold-primary)
}

.pricing-price .amount {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    -webkit-background-clip: text;
    background-clip: text
}

.btn-pricing,
.pricing-features li,
.pricing-price .period {
    font-family: var(--font-body);
    font-size: 14px
}

.pricing-price .period {
    color: var(--text-muted)
}

.btn-pricing.btn-gold,
.btn-pricing:hover,
.contact-item:hover .contact-icon {
    background: linear-gradient(-18deg, var(--gold-1) 0, var(--gold-2) 22%, var(--gold-3) 50%, var(--gold-4) 76%, var(--gold-1) 100%);
    color: var(--bg-main)
}

.pricing-features {
    margin-bottom: 18px;
    padding-top: 3px;
    list-style: none
}

.pricing-features li {
    color: var(--text-secondary);
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    min-height: 35px
}

.pricing-features li:last-child {
    border-bottom: none
}

.pricing-features li i {
    color: var(--gold-primary);
    font-size: 16px
}

.btn-pricing {
    width: 100%;
    padding: 14px 28px;
    background: linear-gradient(-18deg, var(--gold-1) 0, var(--gold-2) 22%, var(--gold-3) 50%, var(--gold-4) 76%, var(--gold-1) 100%);
    border: none;
    border-radius: 50px;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
    color: var(--bg-main);
    font-weight: 600
}

.btn-pricing:hover {
    background: rgba(255, 255, 255, .08) !important;
    border: 1px solid var(--gold-primary) !important;
    color: var(--text-primary) !important;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(196, 161, 39, .4) !important
}

.btn-pricing.btn-gold {
    border: none
}

.btn-pricing.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(196, 161, 39, .4)
}

@media (max-width:991px) {
    .pricing-card.featured {
        transform: scale(1)
    }

    .pricing-card {
        padding: 35px 28px
    }
}

.contact-heading {
    font-family: var(--font-heading);
    font-size: 28px;
    margin-bottom: 15px
}

.contact-label,
.contact-text {
    font-family: var(--font-body)
}

.contact-text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    /* margin-bottom: 35px */
}

.contact-info {
    background: 0 0;
    border: none;
    padding: 0;
    box-shadow: none
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 28px 30px;
    border-radius: 12px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    transition: transform .3s, box-shadow .3s, background .3s;
    color: inherit
}

.contact-icon,
.footer-content {
    align-items: center;
    display: flex
}

.contact-content a:hover,
.contact-icon,
.footer-links a:hover {
    color: var(--gold-primary)
}

.contact-item:hover .contact-icon {
    box-shadow: 0 8px 25px rgba(196, 161, 39, .25)
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    background: rgba(196, 161, 39, .1);
    justify-content: center;
    font-size: 20px;
    transition: var(--transition-medium);
    flex: 0 0 50px
}

.contact-content {
    display: flex;
    flex-direction: column
}

.contact-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 3px
}

.contact-content a,
.contact-content span {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text-primary)
}

.footer-links a,
.form-control {
    font-size: 14px;
    font-family: var(--font-body)
}

.contact-form {
    padding: 33px 43px 33px 43px;
    background: var(--glass-bg);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 14px 50px rgba(0, 0, 0, .35)
}

.form-control {
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.footer-built,
.footer-links a,
.footer-social a {
    color: var(--text-secondary)
}

.form-control::placeholder {
    color: var(--text-muted)
}

.form-control:focus {
    background: rgba(255, 255, 255, .05);
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(196, 161, 39, .1);
    outline: 0
}

textarea.form-control {
    resize: none
}

.g-recaptcha {
    display: flex;
    justify-content: flex-start
}

.footer {
    /* background: linear-gradient(70deg, rgba(80, 10, 12, .4) 30%, rgba(135, 18, 18, .78) 53%, rgba(70, 10, 11, .3) 100%); */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 50px 0 35px;
    border-top: none;
    position: relative;
    z-index: 2;
    animation: 25s infinite footerGlide
}

.footer-content {
    justify-content: center;
    gap: 40px;
    padding-bottom: 20px;
    padding-top: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    border-top: 1px solid rgba(255, 255, 255, .08);
    flex-wrap: wrap
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    order: 1
}

.footer-built {
    font-family: var(--font-body);
    order: 2;
    flex: 1 0 100%;
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6
}

.footer-name,
.modal-title {
    font-family: var(--font-heading);
    font-weight: 600
}

.footer-social {
    display: flex;
    justify-content: center;
    flex: 0 0 auto;
    order: 3
}

.footer-centered {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    white-space: nowrap
}

.footer-built .footer-author {
    color: var(--text-primary);
    font-weight: 700;
    margin: 0 6px;
    text-decoration: underline
}

.love-icon {
    display: inline-block;
    color: #ff6b6b;
    margin-left: 8px;
    transform-origin: center;
    animation: 1.2s ease-in-out infinite loveBeat
}

@keyframes loveBeat {

    0%,
    100% {
        transform: scale(1)
    }

    40% {
        transform: scale(1.18)
    }

    60% {
        transform: scale(.96)
    }
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 16px
}

.footer-brand .logo-mark {
    width: 35px;
    height: 35px
}

.footer-name {
    font-size: 20px;
    color: var(--text-primary)
}

.footer-links {
    display: flex;
    gap: 35px
}

.footer-links a {
    transition: color .3s
}

.footer-social {
    display: flex;
    gap: 12px
}

.footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    border: 1.5px solid rgba(255, 255, 255, .1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: .3s
}

.footer-social a:hover {
    background: linear-gradient(-18deg, var(--gold-1) 0, var(--gold-2) 22%, var(--gold-3) 50%, var(--gold-4) 76%, var(--gold-1) 100%) !important;
    border-color: transparent !important;
    color: var(--bg-main) !important;
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(196, 161, 39, .35) !important;
    transition: .3s
}

.footer-bottom {
    padding-top: 25px
}

.footer-bottom p {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--text-muted);
    margin: 0
}

.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(-18deg, var(--gold-1) 0, var(--gold-2) 22%, var(--gold-3) 50%, var(--gold-4) 76%, var(--gold-1) 100%);
    border: none;
    color: var(--bg-main);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
    z-index: 999
}

.back-to-top:hover {
    transform: translateY(-6px) scale(1.04);
    box-shadow: 0 20px 50px rgba(196, 161, 39, .35)
}

.modal-content.glass-card {
    background: rgba(10, 5, 6, .95);
    backdrop-filter: blur(20px)
}

.modal-header {
    padding: 25px 30px 15px
}

.modal-title {
    font-size: 22px;
    color: var(--text-primary)
}

.modal-body {
    padding: 15px 30px 30px
}

.btn-close-white {
    filter: invert(1);
    opacity: .7;
}

@media (max-width:1199px) {
    .section-padding {
        padding: 80px 0
    }
}

@media (max-width:991px) {
    .section-padding {
        padding: 60px 0
    }

    .section-title {
        font-size: clamp(28px, 5vw, 40px)
    }

    .glass-card {
        box-shadow: 0 20px 60px rgba(0, 0, 0, .55);
        backdrop-filter: blur(22px);
        -webkit-backdrop-filter: blur(22px)
    }
}

@media (max-width:767px) {
    .scroll-indicator {
        display: none
    }

    .slider-controls {
        bottom: 40px
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 11px
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px
    }

    .projects-section,
    .section-padding {
        padding: 50px 0
    }

    .footer-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 25px
    }

    .footer-brand {
        justify-content: center
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        order: 3
    }

    .footer-social {
        order: 2
    }

    .footer-name {
        font-size: 18px
    }

    .footer {
        padding: 20px 0 20px
    }

    .footer-centered {
        padding: 20px 0
    }

    .footer-built {
        font-size: 14px
    }

    .footer-bottom {
        padding-top: 20px
    }

    .wave-separator {
        height: 50px
    }
}

@media (max-width:575px) {

    .contact-form,
    .pricing-card {
        padding: 30px 20px
    }

    .pricing-header {
        margin-bottom: 20px;
        padding-bottom: 20px
    }

    .pricing-title {
        font-size: 20px;
        margin-bottom: 12px
    }

    .pricing-price .amount {
        font-size: 42px
    }

    .pricing-features li {
        justify-content: flex-start;
        text-align: left;
        min-height: 40px;
        padding: 10px 0
    }

    .pricing-features li i {
        flex-shrink: 0
    }

    .contact-details {
        gap: 15px;
        margin-top: 15px
    }

    .contact-item {
        padding: 20px;
        gap: 15px
    }

    .section-padding {
        padding: 40px 0
    }

    .section-label {
        font-size: 11px;
        letter-spacing: 2px
    }

    .container {
        padding-left: 20px;
        padding-right: 20px
    }

    .hero-slide,
    .hero-slider {
        height: 50vh
    }

    .hero-content {
        padding: 15px 0
    }

    .slider-controls {
        bottom: 8px
    }
}

.g-recaptcha {
    display: flex;
    justify-content: flex-start;
    filter: brightness(.95);
    transform: scale(.75);
    transform-origin: left center
}

.g-recaptcha>div {
    margin: 0
}

/* Global glassy hover for buttons and inputs (EXCLUDE hero slider buttons .slider-btn) */
button:not(.slider-btn):hover,
a.btn:not(.slider-btn):hover,
.btn:not(.slider-btn):hover,
input[type="submit"]:not(.slider-btn):hover,
input[type="button"]:not(.slider-btn):hover,
.project-link:not(.slider-btn):hover {
    background: rgba(255, 255, 255, 0.06) !important;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid var(--gold-primary) !important;
    color: var(--text-primary) !important;
    box-shadow: 0 12px 30px rgba(196, 161, 39, 0.15) !important;
}

/* Keep hero slider buttons unchanged (defensive override) */
.slider-btn:hover {
    background: inherit !important;
    border: none !important;
    color: var(--text-secondary) !important;
    box-shadow: none !important
}

/* --- Specific fixes: pricing, hero-slide second buttons, modal close, project arrow --- */
.pricing-card .btn-pricing:hover,
.pricing-card .btn-pricing.btn-gold:hover,
.pricing-card .btn-pricing:focus {
    background: rgba(255, 255, 255, 0.06) !important;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid var(--gold-primary) !important;
    color: var(--text-primary) !important;
    box-shadow: 0 12px 30px rgba(196, 161, 39, 0.15) !important;
    background-image: none !important;
}

.hero-section .hero-cta .btn:not(.slider-btn):hover {
    background: rgba(255, 255, 255, 0.06) !important;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid var(--gold-primary) !important;
    color: var(--text-primary) !important;
    box-shadow: 0 12px 30px rgba(196, 161, 39, 0.15) !important;
    background-image: none !important;
}

/* .modal .btn-close:hover,
.modal .btn-close:focus,
.modal .btn-close-white:hover,
.modal .btn-close-white:focus {
    background: black!important;
    box-shadow: none !important;
    border: none !important;
    opacity: 1 !important;
} */

.project-card:hover .project-link i,
.project-card:hover .project-link svg {
    background: linear-gradient(-18deg, var(--gold-1) 0, var(--gold-4) 22%, var(--bg-dark-3) 20%, var(--gold-4) 76%, var(--bg-dark-1) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent !important;
    box-shadow: none !important;
    border: none !important;
}/* === Fix: Experience section overflow and mobile layout === */

/* Ensure body and html never scroll horizontally */
html,
body {
  overflow-x: visible !important;
  width: 100% !important;
}

/* Timeline container: prevent overflow and ensure proper alignment on all screens */
.timeline {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  padding-left: 72px;
  overflow-x: visible;
  width: 100%;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 36px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold-primary), rgba(196, 161, 39, .2));
  pointer-events: none;
}

/* Timeline marker: absolute positioning without causing overflow */
.timeline-marker {
  position: absolute;
  left: -44px;
  top: 36px;
  width: 16px;
  height: 16px;
  background: var(--gold-primary);
  border-radius: 50%;
  border: 3px solid var(--bg-main);
  box-shadow: 0 0 0 4px rgba(196, 161, 39, .3);
  flex-shrink: 0;
}

/* Timeline item: prevent wrapping and overflow */
.timeline-item {
  position: relative;
  margin-bottom: 40px;
  overflow: visible;
  width: 100%;
}

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

/* Timeline content: flexible padding and no horizontal overflow */
.timeline-content {
  padding: 36px;
  min-height: 160px;
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(196, 161, 39, .42);
  position: relative;
  z-index: 10;
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  /* box-shadow: 0 20px 80px rgba(0, 0, 0, .4), inset 0 1.5px 1px rgba(255, 255, 255, .25); */
  visibility: visible !important;
  display: block !important;
  opacity: 1 !important;
  overflow: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Tablet (768px - 991px) */
@media (max-width: 991px) and (min-width: 768px) {
  .timeline {
    padding-left: 60px;
  }
  html, body { overflow-x: hidden !important; }

  .timeline::before {
    left: 30px;
  }
  
  .timeline-marker {
    left: -38px;
  }
  
  .timeline-content {
    padding: 30px;
  }
}

/* Mobile (up to 767px) */
@media (max-width: 767px) {
  .timeline {
    padding-left: 45px;
    margin: 0;
  }
  html, body { overflow-x: hidden !important; }

  .timeline::before {
    left: 22px;
  }
  
  .timeline-marker {
    left: -32px;
    width: 14px;
    height: 14px;
    border: 2px solid var(--bg-main);
    top: 30px;
  }
  
  .timeline-item {
    margin-bottom: 35px;
    margin-right: 0;
    overflow: visible;
  }
  
  .timeline-content {
    padding: 20px;
    min-height: auto;
  }
  
  .timeline-title {
    font-size: 18px;
    margin-bottom: 5px;
  }
  
  .timeline-list li {
    font-size: 13px;
    padding-left: 18px;
  }
  
  .timeline-list li::before {
    width: 5px;
    height: 5px;
    top: 6px;
    left: 0;
  }
}

/* Extra small (up to 575px) */
@media (max-width: 575px) {
  .timeline {
    padding-left: 40px;
    margin: 0 auto;
  }
    html, body { overflow-x: hidden !important; }

  .timeline::before {
    left: 20px;
  }
  
  .timeline-marker {
    left: -25px;
    width: 12px;
    height: 12px;
    border: 2px solid var(--bg-main);
    top: 28px;
  }
  
  .timeline-item {
    margin-bottom: 30px;
  }
  
  .timeline-content {
    padding: 18px;
    min-height: auto;
  }
  
  .timeline-header {
    margin-bottom: 12px;
  }
  
  .timeline-title {
    font-size: 16px;
    margin-bottom: 4px;
  }
  
  .timeline-company {
    font-size: 14px;
  }
  
  .timeline-date {
    font-size: 12px;
    padding: 4px 10px;
    margin-bottom: 12px;
  }
  
  .timeline-list {
    gap: 8px;
  }
  
  .timeline-list li {
    font-size: 12px;
    padding-left: 16px;
  }
  
  .timeline-list li::before {
    width: 4px;
    height: 4px;
    top: 5px;
  }
}

/* General container fix: boxed content and centered layout */
.container {
    width: 100%;
    overflow: visible;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

/* Experience section: ensure it doesn't overflow */
.experience-section {
  overflow: hidden;
  width: 100%;
}

.experience-section .container {
  overflow: hidden;
}

/* Global guard: prevent horizontal overflow across all sections */
html, body { overflow-x: visible !important; }
section, .section-padding, header, footer, main { overflow-x: visible;  box-sizing: border-box; }
img, picture, svg, iframe, video { max-width: 100%; height: auto; display: block; }
/* Defensive: ensure rows don't cause overflow from child transforms */
.row { overflow-x: visible; }



/* Ensure form input and textarea text is visible on dark backgrounds */
.contact-form .form-control,
#pricingForm .form-control,
.contact-form textarea.form-control,
#pricingForm textarea.form-control,
.form-control {
    color: var(--text-primary) !important;
    caret-color: var(--text-primary) !important;
}

/* Success message animations */
#contactSuccess,
#pricingSuccess,
#downloadConfirmation {
    will-change: opacity, transform;
}



