/* Creative Audio Track Cards */
.track-card {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 15px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
}

.track-card:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transform: translateY(-4px);
    border-color: #adb5bd; 
}

/* Watermark background icon */
.track-card::after {
    content: '\f8cd'; /* FontAwesome waveform icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: -10px;
    bottom: -20px;
    font-size: 5rem;
    color: rgba(0, 0, 0, 0.03);
    z-index: 1;
    transform: rotate(-10deg);
}

.track-content {
    position: relative;
    z-index: 2; /* Keeps content above the watermark */
}

.track-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #333;
}

.track-card audio {
    width: 100%;
    height: 32px; /* Super slim player */
    border-radius: 50px;
    outline: none;
}

/* Customizes the volume icon color */
.track-icon {
    color: #6c757d; /* You can change this to your brand color e.g., var(--bs-primary) */
    font-size: 1.1rem;
}
/* --- BRAND COLORS & BASE STYLES --- */
:root {
    --brand-purple: #2A235D; 
    --brand-light: #F4F4F9;
    --brand-white: #FFFFFF;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    overflow-x: hidden;
    background-color: var(--brand-light);
}

.text-brand { color: var(--brand-purple); }

/* --- NAVBAR --- */
.navbar {
    background-color: var(--brand-purple);
}

/* Scoped exactly to the navbar so it doesn't make portfolio tabs white! */
.navbar-brand, .navbar .nav-link, .lang-toggle {
    color: var(--brand-white) !important;
}

/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    color: var(--brand-white);
    text-align: center;
    overflow: hidden; 
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    z-index: 1; 
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(42, 35, 93, 0.85); 
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3; 
}

.btn-brand {
    background-color: var(--brand-white);
    color: var(--brand-purple);
    font-weight: bold;
    border-radius: 30px;
    padding: 10px 30px;
    transition: 0.3s;
    border: none;
}

.btn-brand:hover {
    background-color: #e0e0e0;
    color: var(--brand-purple);
}

/* --- CLIENT LOGO SLIDER --- */
.slider-container {
    background-color: var(--brand-white);
    padding: 40px 0;
    overflow: hidden;
    white-space: nowrap;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    direction: ltr; /* Forces uniform sliding on both EN/AR pages */
}

.logo-track {
    display: inline-block;
    animation: scroll-logos 40s linear infinite;
}

.logo-track img {
    max-height: 71px;   
    max-width: 181px;    
    object-fit: contain; 
    margin: 0 40px;
    opacity: 0.7;
    transition: 0.3s;
}

.logo-track img:hover {
    opacity: 1;
}

@keyframes scroll-logos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- MEDIA SAMPLES & TABS --- */
.section-title {
    color: var(--brand-purple);
    font-weight: bold;
    margin-bottom: 40px;
    text-transform: uppercase;
}

/* Portfolio Nav Pills Styling */
.nav-pills {
    gap: 15px; /* Spacing between tabs */
}

.nav-pills .nav-link {
    background-color: #f1f3f5 !important; /* Soft gray so they are visible */
    color: var(--brand-purple) !important;
    border-radius: 30px;
    font-weight: bold;
    padding: 10px 25px;
    transition: all 0.3s ease;
}

.nav-pills .nav-link:hover {
    background-color: #e2e6ea !important;
}

/* Forces the active tab to be your brand purple, not Bootstrap blue */
.nav-pills .nav-link.active, 
.nav-pills .show > .nav-link {
    background-color: var(--brand-purple) !important;
    color: var(--brand-white) !important;
    box-shadow: 0 4px 10px rgba(42, 35, 93, 0.2);
}

.audio-card {
    background: var(--brand-white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    border-left: 5px solid var(--brand-purple);
}

audio {
    width: 100%;
    outline: none;
}

.main-video-wrapper iframe {
    width: 100%;
    aspect-ratio: 16 / 9; 
    height: auto;
    border-radius: 12px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.video-playlist {
    display: flex;
    gap: 12px;
    overflow-x: auto; 
    padding-bottom: 10px;
}

.video-playlist::-webkit-scrollbar {
    height: 6px;
}
.video-playlist::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.2);
    border-radius: 10px;
}

.video-thumb {
    position: relative;
    min-width: 130px; 
    height: 75px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: 0.3s;
}

.video-thumb:hover img, .video-thumb.active img {
    opacity: 1;
}

.video-thumb.active {
    border-color: #3b2a75; 
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.2rem;
    opacity: 0;
    transition: 0.3s;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.video-thumb:hover .play-icon {
    opacity: 1;
}

/* --- CONTACT FORM --- */
.contact-section {
    background-color: var(--brand-purple);
    color: var(--brand-white);
    padding: 80px 0;
}

.form-control {
    border-radius: 8px;
    padding: 12px;
}