:root {
    --brand-noir: #0d0f12;
    --brand-secondary: #1a1c22;
    --brand-gold: #c5a059;
    --brand-gold-alt: #e5c079;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: var(--brand-gold); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand-gold-alt); }

/* Preloader */
#preloader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: #000; z-index: 9999; display: flex;
    flex-direction: column; align-items: center; justify-content: center;
    transition: 0.8s cubic-bezier(0.8, 0, 0.2, 1);
}
#preloader.loaded { transform: translateY(-100%); visibility: hidden; }
.preloader-logo { width: 150px; margin-bottom: 30px; animation: pulse-gold 2s infinite; }
.loading-bar { width: 200px; height: 1px; background: rgba(255,255,255,0.1); position: relative; }
.loading-bar::after {
    content: ''; position: absolute; left: 0; top: 0; height: 100%;
    width: 0; background: var(--brand-gold); animation: load-progress 1.5s ease-in-out forwards;
}

@keyframes pulse-gold {
    0% { filter: drop-shadow(0 0 0 rgba(197, 160, 89, 0)); transform: scale(1); }
    50% { filter: drop-shadow(0 0 20px rgba(197, 160, 89, 0.6)); transform: scale(1.05); }
    100% { filter: drop-shadow(0 0 0 rgba(197, 160, 89, 0)); transform: scale(1); }
}

.preloader-rook-icon {
    animation: pulse-gold 2s infinite ease-in-out;
}

.animate-text-gold {
    background: linear-gradient(to right, #c5a059, #fff, #c5a059);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine-gold 3s linear infinite;
}

@keyframes shine-gold {
    to { background-position: 200% center; }
}

@keyframes load-progress { to { width: 100%; } }

/* Shared Cinematic Elements */
.page-header-noir {
    position: relative; padding: 160px 0 100px;
    background: var(--brand-noir); overflow: hidden;
}
.header-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
}
.blueprint-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 50px 50px; z-index: 0;
}
.header-content { position: relative; z-index: 2; }
.header-label { font-size: 0.8rem; font-weight: 800; color: var(--brand-gold); letter-spacing: 5px; text-transform: uppercase; display: block; margin-bottom: 15px; }
.header-title { color: #fff; font-weight: 900; font-size: 4rem; text-transform: uppercase; letter-spacing: -2px; }

/* Global Typography & Utils */
.text-accent { color: var(--brand-gold) !important; }
.shadow-accent { text-shadow: 0 10px 30px rgba(197, 160, 89, 0.3); }
.ls-5 { letter-spacing: 5px; }
.fw-900 { font-weight: 900; }
.fw-800 { font-weight: 800; }

/* Featured Header Utility */
.featured-header { margin-bottom: 60px; }
.featured-label { font-size: 0.8rem; font-weight: 800; color: var(--brand-gold); letter-spacing: 5px; display: block; margin-bottom: 15px; text-transform: uppercase; }
.featured-title { font-size: 3.5rem; font-weight: 900; color: #fff; text-transform: uppercase; letter-spacing: -2px; line-height: 1; }

/* Testimonials V5 Master */
.testimonials-v5 { position: relative; background: #0a0c0e !important; padding: 120px 0; overflow: hidden; }
.testimonials-v5 .swiper-slide { 
    opacity: 1 !important; 
    visibility: visible !important; 
    height: auto !important;
    display: flex !important;
    transition: 0.3s !important;
}
.testimonial-card-v5 {
    background: #25282e !important; /* Premium Active Grey */
    padding: 60px 40px !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    position: relative;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    z-index: 5 !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3) !important;
}
.testimonial-card-v5:active, .swiper-slide-active .testimonial-card-v5 {
    border-color: var(--brand-gold) !important;
    background: #2a2d34 !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5) !important;
}
.testimonial-card-v5 .quote-icon {
    font-size: 2.5rem;
    color: var(--brand-gold);
    opacity: 0.8 !important; /* More vibrant icon */
    margin-bottom: 25px;
}
.testimonial-card-v5 p { 
    font-size: 1.15rem !important; 
    line-height: 1.8 !important; 
    color: #ffffff !important; 
    font-style: italic !important; 
    margin-bottom: 30px !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.client-footer h5 { 
    color: var(--brand-gold) !important; 
    font-weight: 900 !important; 
    margin-bottom: 0 !important; 
    text-transform: uppercase !important;
    letter-spacing: 2px;
}

/* Swiper Nav Overrides */
.luxury-prev-v5, .luxury-next-v5 {
    width: 60px !important; height: 60px !important;
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: 50% !important;
    color: var(--brand-gold) !important;
    transition: 0.3s !important;
}
.luxury-prev-v5:hover, .luxury-next-v5:hover {
    background: var(--brand-gold) !important;
    color: #000 !important;
    border-color: var(--brand-gold) !important;
}
.luxury-prev-v5:after, .luxury-next-v5:after { font-size: 1.2rem !important; font-weight: 900; }

/* Stats V5 */
.stats-section-v5 { background: #0a0c0e; border-top: 1px solid rgba(255,255,255,0.05); padding: 60px 0; }
.stat-card-v5 { text-align: center; padding: 20px; }
.stat-card-v5 h2 { font-size: 3.5rem; font-weight: 900; color: var(--brand-gold); margin-bottom: 10px; }
.stat-card-v5 p { color: #fff; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; font-size: 0.8rem; }

/* FAQ Accordion V5 */
.faq-section-v5 { background: var(--brand-noir); position: relative; }
.luxury-accordion { margin-top: 30px; }
.accordion-item-v5 { border-bottom: 1px solid rgba(255,255,255,0.05); margin-bottom: 5px; }
.accordion-header-v5 {
    padding: 25px 0; cursor: pointer; display: flex;
    justify-content: space-between; align-items: center; transition: 0.3s;
}
.accordion-header-v5 span { font-size: 1.1rem; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 1px; }
.accordion-header-v5 i { color: var(--brand-gold); transition: 0.3s; }
.accordion-content-v5 {
    max-height: 0; overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
}
.accordion-content-v5 p { padding-bottom: 25px; color: rgba(255,255,255,0.5); line-height: 1.7; }
.accordion-item-v5.active .accordion-header-v5 span { color: var(--brand-gold); }
.accordion-item-v5.active .accordion-header-v5 i { transform: rotate(45deg); }

/* Navbar Dropdown Hover */
@media (min-width: 992px) {
    .navbar-nav .nav-item.dropdown:hover > .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    .navbar-nav .nav-item.dropdown .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(15px);
        transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        border-top: 2px solid var(--brand-gold) !important;
        margin-top: 0;
    }
}

.bg-noir-ligth { background-color: #1a1c22 !important; }
.border-gold-subtle { border: 1px solid rgba(197, 160, 89, 0.1) !important; }

/* About Us V5 Redesign */
.about-noir {
    padding: 140px 0;
    position: relative;
    overflow: hidden;
}

.about-visual-noir {
    position: relative;
    padding-right: 40px;
    padding-bottom: 40px;
}

.about-img-wrapper {
    position: relative;
    z-index: 2;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.about-img-wrapper img {
    transition: transform 1.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.about-visual-noir:hover .about-img-wrapper img {
    transform: scale(1.08);
}

.about-shape-decoration {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80%;
    height: 80%;
    border: 1px solid rgba(197, 160, 89, 0.2);
    z-index: 1;
    transition: 0.6s;
}

.about-visual-noir:hover .about-shape-decoration {
    transform: translate(15px, 15px);
    border-color: var(--brand-gold);
}

.experience-badge-v5 {
    position: absolute;
    bottom: 20px;
    right: -20px;
    background: var(--brand-gold);
    color: #000;
    padding: 30px;
    z-index: 5;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    min-width: 160px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.experience-badge-v5 h3 {
    font-size: 3.5rem;
    font-weight: 900;
    margin: 0;
    line-height: 0.9;
    letter-spacing: -2px;
}

.experience-badge-v5 span {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-top: 5px;
}

.about-text-noir {
    padding-left: 40px;
}

@media (max-width: 991px) {
    .about-visual-noir { padding-right: 0; padding-bottom: 60px; margin-bottom: 40px; }

.btn-outline-gold {
    border: 1px solid var(--brand-gold);
    color: #fff;
    background: transparent;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    text-transform: uppercase;
}

.btn-outline-gold:hover {
    background: var(--brand-gold);
    color: #000;
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.3);
    transform: translateY(-3px);
}

    .about-text-noir { padding-left: 0; }
    .experience-badge-v5 { right: 20px; bottom: 40px; }
}

.underline-accent {
    position: relative;
    display: inline-block;
}

.underline-accent::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(197, 160, 89, 0.2);
    z-index: -1;
}

