:root {
    --brand-deep: #013c38;
    --brand-gold: #c8a65b;
    --brand-black: #030303;
}

* {
    scroll-behavior: smooth;
}

body {
    background-color: var(--brand-black);
    color: #f8fafc;
    overflow-x: hidden;
}

/* Typography Refinements */
[dir="rtl"] {
    line-height: 1.5;
    letter-spacing: 0.01em;
}

[dir="ltr"] {
    line-height: 1.6;
    letter-spacing: -0.01em;
}

.text-gradient-gold {
    background: linear-gradient(135deg, #ffffff 20%, var(--brand-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glass {
    background: rgba(1, 60, 56, 0.03);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Reveal Animations */
.reveal {
    opacity: 1;
    /* Visible by default */
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal.active {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Hero Section Specifics */
.hero-heading {
    line-height: 1.1 !important;
    /* Reduced for better impact */
    letter-spacing: -0.02em;
}

.hero-heading span {
    display: inline-block !important;
    /* Changed from block to allow natural wrapping */
    margin-bottom: 0px;
}

.profile-frame {
    position: relative;
    z-index: 1;
}

.profile-frame::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, var(--brand-gold), transparent, var(--brand-gold));
    border-radius: 3.5rem;
    z-index: -1;
    opacity: 0.3;
}

.floating-badge {
    animation: float-slow 4s ease-in-out infinite;
    z-index: 20;
}

@keyframes float-slow {

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

    50% {
        transform: translateY(-10px);
    }
}

@keyframes float {

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

    50% {
        transform: translateY(-12px);
    }
}

.animate-float {
    animation: float 5s ease-in-out infinite;
}

/* Photo Integration */
.profile-container {
    padding: 3px;
    background: linear-gradient(135deg, var(--brand-gold), var(--brand-deep));
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 40px rgba(1, 60, 56, 0.3);
}

.profile-container::after {
    content: '';
    position: absolute;
    inset: -10px;
    background: var(--brand-gold);
    border-radius: 50%;
    filter: blur(30px);
    opacity: 0.1;
    z-index: -1;
}

.profile-container-small {
    padding: 2px;
    background: linear-gradient(135deg, var(--brand-gold), var(--brand-deep));
    border-radius: 12px;
    position: relative;
}

/* Legacy Quotes & Typography */
.quote-highlight {
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.2;
    font-weight: 300;
    font-style: italic;
    letter-spacing: -0.02em;
}

/* Client & Success Grid */
.client-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.client-card:hover {
    border-color: var(--brand-gold);
    transform: translateY(-8px);
    background: rgba(1, 60, 56, 0.05);
}

/* Form Styling */
.input-field {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    width: 100%;
    transition: all 0.3s ease;
    outline: none;
}

.input-field:focus {
    border-color: var(--brand-gold);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 20px rgba(200, 166, 91, 0.1);
}

.btn-premium {
    background: var(--brand-gold);
    color: var(--brand-black);
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(200, 166, 91, 0.2);
}

.btn-premium:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(200, 166, 91, 0.4);
}

.btn-premium:active {
    transform: scale(0.98);
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .quote-highlight {
        font-size: clamp(1.5rem, 7vw, 3rem);
    }

    .client-card {
        padding: 2rem;
    }
}

/* Selection Styling */
::selection {
    background-color: var(--brand-gold);
    color: var(--brand-black);
}

::-moz-selection {
    background-color: var(--brand-gold);
    color: var(--brand-black);
}

/* Quote Carousel */
.quote-carousel {
    position: relative;
}

.quote-item {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    pointer-events: none;
}

.quote-item.active {
    position: relative;
    opacity: 1;
    pointer-events: auto;
}

/* Quote Navigation Dots */
.quote-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.quote-dot:hover {
    background: rgba(200, 166, 91, 0.5);
    transform: scale(1.2);
}

.quote-dot.active {
    background: var(--brand-gold);
    width: 24px;
    border-radius: 5px;
}

/* Philosophy Cards Direction-Aware */
[dir="rtl"] .philosophy-card {
    border-right: 2px solid rgba(200, 166, 91, 0.2);
    padding-right: 2rem;
}

[dir="ltr"] .philosophy-card {
    border-left: 2px solid rgba(200, 166, 91, 0.2);
    padding-left: 2rem;
}

/* Social Media Links */
.social-link {
    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: 8px;
    color: #9ca3af;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--brand-gold);
    border-color: var(--brand-gold);
    color: var(--brand-black);
    transform: translateY(-4px);
}

/* Social Media Links - Big */
.social-link-big {
    width: 50px;
    height: 50px;
    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: 10px;
    color: #9ca3af;
    transition: all 0.3s ease;
    font-size: 20px;
}

.social-link-big:hover {
    background: var(--brand-gold);
    border-color: var(--brand-gold);
    color: var(--brand-black);
    transform: translateY(-4px);
}