/* ====================================
   GLOBAL ELEGANT & REFINED DESIGN SYSTEM
   Minimalist, sophisticated, and premium styling
   ==================================== */

:root {
    /* Premium Color Palette */
    --color-primary: #080930;       /* Signature Deep Blue */
    --color-primary-light: #1e3a8a;
    --color-secondary: #f7d138;     /* Signature Gold */
    --color-secondary-dark: #d4af37;
    --color-accent: #3b82f6;        /* Bright Blue for actions */
    --color-dark: #020617;
    --color-light: #ffffff;
    --color-bg-subtle: #f8fafc;
    --color-text: #1e293b;
    --color-text-muted: #64748b;
    --color-border: rgba(8, 9, 48, 0.15);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #080930 0%, #1e3a8a 100%);
    --gradient-gold: linear-gradient(135deg, #f7d138 0%, #d4af37 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    
    /* Spacing & Sizing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2.5rem;
    --spacing-xl: 4rem;
    
    /* Borders & Shadows */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 48px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-premium: 0 25px 50px -12px rgba(8, 9, 48, 0.15);
    
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ===== RESET & BASE ===== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-light);
    overflow-x: hidden;
    /* Adjust for fixed navigation */
    padding-top: 85px;
}

@media (max-width: 1024px) {
    body { padding-top: 65px; }
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--color-dark);
    font-weight: 700;
    line-height: 1.2;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-gold {
    color: var(--color-secondary-dark);
}

/* ===== UNIFORM SECTION HEADERS ===== */
.rw-section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.rw-section-subtitle {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-secondary-dark);
    margin-bottom: 0.75rem;
}

.rw-section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1.5rem;
}

.rw-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-gold);
    border-radius: var(--radius-full);
}

.rw-section-desc {
    font-size: 1.1rem;
    color: var(--color-text-muted);
}

/* ===== UNIFORM CARDS (THE "CONTENT CONTENT") ===== */
.rw-card {
    background: var(--color-light);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.rw-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-premium);
    border-color: rgba(8, 9, 48, 0.2);
}

.rw-card-img-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.rw-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.rw-card:hover .rw-card-img {
    transform: scale(1.1);
}

.rw-card-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--gradient-primary);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: var(--shadow-sm);
}

.rw-card-icon-wrapper {
    width: 70px;
    height: 70px;
    background: var(--color-bg-subtle);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
    color: var(--color-primary);
    font-size: 1.8rem;
}

.rw-card:hover .rw-card-icon-wrapper {
    background: var(--color-primary);
    color: white;
    transform: rotateY(360deg);
}

.rw-card-body {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.rw-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-dark);
}

.rw-card-text {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.rw-card-footer {
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ===== BUTTONS ===== */
.rw-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 1.8rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.rw-btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 10px 20px rgba(8, 9, 48, 0.2);
}

.rw-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(8, 9, 48, 0.3);
    color: white;
}

.rw-btn-outline {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.rw-btn-outline:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-3px);
}

.rw-btn-gold {
    background: var(--gradient-gold);
    color: #1a1a1a;
}

.rw-btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
}

/* Small reveal animation helper */
[data-rw-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-rw-reveal].active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== UTILITIES ===== */
.container-premium {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

.py-section {
    padding: var(--spacing-xl) 0;
}

.bg-subtle {
    background: var(--color-bg-subtle);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .rw-section-title { font-size: 2.2rem; }
    .container-premium { padding: 0 1.5rem; }
    .rw-card-icon-wrapper { width: 60px; height: 60px; font-size: 1.5rem; }
}

/* Micro-animations */
@keyframes pulse-gold {
    0% { box-shadow: 0 0 0 0 rgba(247, 209, 56, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(247, 209, 56, 0); }
    100% { box-shadow: 0 0 0 0 rgba(247, 209, 56, 0); }
}


.animate-pulse-gold {
    animation: pulse-gold 2s infinite;
}

/* ========================= MARQUEE (FOR SERVICES ONLY) ========================= */
.rw-marquee-container {
    overflow: hidden;
    padding: 2rem 0;
    position: relative;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.rw-marquee-content {
    display: flex;
    gap: 2rem;
    width: max-content;
    will-change: transform;
}
.rw-marquee-left {
    animation: marquee-left 60s linear infinite;
}
.rw-marquee-container:hover .rw-marquee-content {
    animation-play-state: paused;
}
@keyframes marquee-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.rw-marquee-card {
    flex: 0 0 clamp(260px, 90vw, 350px);
    height: 100%;
    transition: var(--transition);
}
.rw-marquee-card:hover {
    transform: translateY(-8px);
}

/* ========================= ABOUT PROFILE IMAGE ========================= */
.about-profile-img {
    width: 100%;
    max-width: 400px;
    height: 550px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 8px solid white;
    box-shadow: var(--shadow-premium);
    transition: var(--transition);
}

@media (max-width: 768px) {
    .about-profile-img {
        height: 400px;
    }
}

/* ========================= SLIDER (MANUAL SCROLL) ========================= */
.rw-slider-container {
    position: relative;
    padding: clamp(1rem, 5vw, 2.5rem) 0;
}

.rw-slider-content {
    display: flex;
    gap: clamp(1rem, 3vw, 2rem);
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: 1rem 0.5rem;
}

.rw-slider-content::-webkit-scrollbar {
    display: none;
}

.rw-slider-item {
    flex: 0 0 350px;
    scroll-snap-align: start;
}

@media (max-width: 992px) {
    .rw-slider-item { flex: 0 0 clamp(280px, 45vw, 320px); }
}

@media (max-width: 768px) {
    .rw-slider-item { 
        flex: 0 0 88%;
        scroll-snap-align: center;
    }
}

.rw-slider-btn {
    width: 50px;
    height: 50px;
    background: white;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    z-index: 10;
}

.rw-slider-btn:hover {
    background: var(--color-primary);
    color: white;
}



/* ========================= FULL-BLEED TEXT MARQUEE ========================= */
.marquee-container-wrapper {
    background: white;
    padding: clamp(2rem, 6vw, 4.5rem) 0;
    overflow: hidden;
}

.marquee-container {
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: 0;
    margin: 1rem 0;
}

.marquee-content {
    flex-shrink: 0;
    display: flex;
    justify-content: space-around;
    width: max-content;
    gap: 0;
    animation: scroll-left 60s linear infinite;
}

.marquee-content.reverse {
    animation: scroll-right 40s linear infinite;
}

.marquee-text {
    font-size: clamp(2.5rem, 9vw, 5rem);
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px rgba(0, 0, 0, 0.08); /* Dark subtle outline for white bg */
    padding: 0 2rem;
    white-space: nowrap;
    text-transform: uppercase;
    font-family: var(--font-primary);
    line-height: 1.1;
}

@keyframes scroll-left {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes scroll-right {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}

@media (max-width: 576px) {
    .marquee-text { -webkit-text-stroke: 0.6px rgba(0,0,0,0.1); }
}
