.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a0a;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity .8s ease, visibility .8s ease
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden
}

.preloader-logo {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #c9a96e;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease
}

.preloader-bar {
    width: 200px;
    height: 2px;
    background: rgba(201, 169, 110, .2);
    border-radius: 10px;
    overflow: hidden
}

.preloader-bar::after {
    content: '';
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #c9a96e, #d4b87a);
    border-radius: 10px;
    animation: loading 2s ease-in-out forwards
}

@keyframes loading {
    0% {
        width: 0
    }

    100% {
        width: 100%
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px)
    }

    100% {
        opacity: 1;
        transform: translateY(0)
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden
}

body {
    font-family: 'Inter', sans-serif;
    background: #0a0a0a;
    color: #fff;
    overflow-x: hidden
}

::-webkit-scrollbar {
    width: 8px
}

::-webkit-scrollbar-track {
    background: #0a0a0a
}

::-webkit-scrollbar-thumb {
    background: #c9a96e;
    border-radius: 10px
}

.navbar {
    transition: all .4s cubic-bezier(.4, 0, .2, 1)
}

.navbar.scrolled {
    background: rgba(10, 10, 10, .95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, .5);
    padding-top: .5rem !important;
    padding-bottom: .5rem !important
}

.nav-link {
    position: relative;
    transition: color .3s ease
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #c9a96e;
    transition: width .3s ease
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%
}

.nav-link:hover,
.nav-link.active {
    color: #c9a96e
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 10, .98);
    backdrop-filter: blur(30px);
    z-index: 9998;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform .5s cubic-bezier(.4, 0, .2, 1);
    overflow-y: auto
}

.mobile-menu.open {
    transform: translateX(0)
}

.mobile-menu a {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #fff;
    text-decoration: none;
    padding: 15px 0;
    transition: color .3s ease, transform .3s ease;
    opacity: 0;
    transform: translateY(20px)
}

.mobile-menu.open a {
    opacity: 1;
    transform: translateY(0)
}

.mobile-menu.open a:nth-child(1) {
    transition-delay: .1s
}

.mobile-menu.open a:nth-child(2) {
    transition-delay: .15s
}

.mobile-menu.open a:nth-child(3) {
    transition-delay: .2s
}

.mobile-menu.open a:nth-child(4) {
    transition-delay: .25s
}

.mobile-menu.open a:nth-child(5) {
    transition-delay: .3s
}

.mobile-menu.open a:nth-child(6) {
    transition-delay: .35s
}

.mobile-menu.open a:nth-child(7) {
    transition-delay: .4s
}

.mobile-menu.open a:nth-child(8) {
    transition-delay: .45s
}

.mobile-menu a:hover {
    color: #c9a96e;
    transform: translateX(10px)
}

.hamburger {
    z-index: 9999;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    transition: all .4s cubic-bezier(.4, 0, .2, 1);
    border-radius: 2px
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
    background: #c9a96e
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(20px)
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
    background: #c9a96e
}

.page-hero {
    background: linear-gradient(135deg, rgba(10, 10, 10, .85) 0%, rgba(26, 26, 46, .7) 100%), url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?w=1920&q=80') center/cover no-repeat;
    min-height: 50vh
}

.section-subtitle {
    letter-spacing: 4px;
    text-transform: uppercase;
    font-size: .75rem
}

.section-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #c9a96e, #d4b87a)
}

.btn-primary {
    background: linear-gradient(135deg, #c9a96e, #d4b87a);
    color: #0a0a0a;
    transition: all .4s ease;
    position: relative;
    overflow: hidden
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #d4b87a, #e5cc9a);
    transition: left .4s ease;
    z-index: 0
}

.btn-primary:hover::before {
    left: 0
}

.btn-primary span {
    position: relative;
    z-index: 1
}

.btn-outline {
    border: 1px solid #c9a96e;
    color: #c9a96e;
    transition: all .4s ease
}

.btn-outline:hover {
    background: #c9a96e;
    color: #0a0a0a
}

.floating {
    animation: floating 6s ease-in-out infinite
}

@keyframes floating {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-20px)
    }
}

.custom-cursor {
    width: 20px;
    height: 20px;
    border: 2px solid #c9a96e;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    transition: transform .15s ease;
    transform: translate(-50%, -50%)
}

.custom-cursor.hover {
    transform: translate(-50%, -50%) scale(2);
    background: rgba(201, 169, 110, .1)
}

@media(max-width:768px) {
    .custom-cursor {
        display: none
    }
}

.back-to-top {
    opacity: 0;
    visibility: hidden;
    transition: all .4s ease
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible
}

/* TEAM CARD MAIN */
.team-card-main {
    background: linear-gradient(145deg, rgba(42, 42, 58, .2), rgba(26, 26, 46, .4));
    border: 1px solid rgba(201, 169, 110, .08);
    border-radius: 4px;
    transition: all .5s cubic-bezier(.4, 0, .2, 1);
    overflow: hidden
}

.team-card-main:hover {
    border-color: rgba(201, 169, 110, .3);
    transform: translateY(-12px);
    box-shadow: 0 30px 80px rgba(201, 169, 110, .08)
}

.team-card-main .team-img {
    overflow: hidden;
    position: relative
}

.team-card-main .team-img img {
    transition: transform .7s ease
}

.team-card-main:hover .team-img img {
    transform: scale(1.08)
}

.team-card-main .team-img .social-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(0deg, rgba(10, 10, 10, .9), transparent);
    padding: 1rem;
    display: flex;
    justify-content: center;
    gap: .75rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all .4s ease
}

.team-card-main:hover .team-img .social-bar {
    opacity: 1;
    transform: translateY(0)
}

.team-card-main .team-img .role-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(201, 169, 110, .9);
    color: #0a0a0a;
    padding: 4px 12px;
    font-family: 'Outfit', sans-serif;
    font-size: .65rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 2px;
    opacity: 0;
    transition: opacity .4s ease
}

.team-card-main:hover .team-img .role-badge {
    opacity: 1
}

/* TEAM FILTER */
.team-filter-btn {
    transition: all .3s ease;
    border: 1px solid rgba(201, 169, 110, .15);
    background: transparent;
    color: #9ca3af
}

.team-filter-btn:hover,
.team-filter-btn.active {
    background: linear-gradient(135deg, #c9a96e, #d4b87a);
    color: #0a0a0a;
    border-color: #c9a96e
}

/* TEAM MODAL */
.team-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .9);
    backdrop-filter: blur(20px);
    z-index: 99998;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all .4s ease;
    padding: 1rem
}

.team-modal.active {
    opacity: 1;
    visibility: visible
}

.team-modal-content {
    background: #1a1a2e;
    border: 1px solid rgba(201, 169, 110, .15);
    border-radius: 4px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(30px) scale(.95);
    transition: all .4s ease
}

.team-modal.active .team-modal-content {
    transform: translateY(0) scale(1)
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: rgba(201, 169, 110, .2);
    border: 1px solid rgba(201, 169, 110, .3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .3s ease;
    z-index: 10
}

.modal-close:hover {
    background: #c9a96e
}

.modal-close:hover svg {
    color: #0a0a0a !important
}

/* SKILL BAR */
.skill-fill {
    height: 4px;
    background: linear-gradient(90deg, #c9a96e, #d4b87a);
    border-radius: 10px;
    width: 0%;
    transition: width 1.2s cubic-bezier(.4, 0, .2, 1)
}

/* COUNTER */
.counter-item {
    border-right: 1px solid rgba(201, 169, 110, .2)
}

.counter-item:last-child {
    border-right: none
}

@media(max-width:768px) {
    .counter-item {
        border-right: none;
        border-bottom: 1px solid rgba(201, 169, 110, .2)
    }

    .counter-item:last-child {
        border-bottom: none
    }
}

/* CTA */
.cta-bg {
    background: linear-gradient(135deg, rgba(10, 10, 10, .85) 0%, rgba(26, 26, 46, .7) 100%), url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?w=1920&q=80') center/cover no-repeat fixed
}

@media(max-width:768px) {
    .cta-bg {
        background-attachment: scroll
    }
}

@supports(-webkit-touch-callout:none) {
    .cta-bg {
        background-attachment: scroll
    }
}

/* INFO CARD */
.info-card {
    background: linear-gradient(145deg, rgba(42, 42, 58, .3), rgba(26, 26, 46, .5));
    border: 1px solid rgba(201, 169, 110, .1);
    transition: all .4s ease
}

.info-card:hover {
    border-color: rgba(201, 169, 110, .3);
    transform: translateY(-5px)
}

/* VALUE CARD */
.value-card {
    background: linear-gradient(145deg, rgba(42, 42, 58, .3), rgba(26, 26, 46, .5));
    border: 1px solid rgba(201, 169, 110, .1);
    transition: all .4s ease
}

.value-card:hover {
    border-color: rgba(201, 169, 110, .4);
    transform: translateY(-8px)
}

.value-card .icon-box {
    transition: all .4s ease
}

.value-card:hover .icon-box {
    background: linear-gradient(135deg, #c9a96e, #d4b87a);
    transform: scale(1.1)
}

.value-card:hover .icon-box i {
    color: #0a0a0a !important
}

/* MARQUEE */
.marquee-container {
    overflow: hidden;
    white-space: nowrap
}

.marquee-content {
    display: inline-block;
    animation: marquee 30s linear infinite
}

@keyframes marquee {
    0% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(-50%)
    }
}

/* TESTIMONIAL */
.testimonial-card {
    background: linear-gradient(145deg, rgba(42, 42, 58, .3), rgba(26, 26, 46, .5));
    border: 1px solid rgba(201, 169, 110, .1);
    transition: all .4s ease
}

.testimonial-card:hover {
    border-color: rgba(201, 169, 110, .3);
    transform: translateY(-5px)
}