/* ==================== CSS VARIABLES - BEEF FILMS BRAND ==================== */
:root {
    --primary-dark: #2D2A54;
    --primary-darker: #1E1C3D;
    --primary-light: #3D3A74;
    --accent-color: #FFFFFF;
    --text-gray: #ABABAB;
    --text-white: #FFFFFF;
    --text-muted: rgba(255, 255, 255, 0.7);
    --bg-dark: #0D0C1D;
    --bg-section: #141326;
    --font-display: 'Bebas Neue', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.25s ease;
}

/* ==================== RESET & BASE ==================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--primary-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ==================== TEMP PASSWORD GATE ==================== */
body.locked {
    overflow: hidden;
}

.site-content.is-locked {
    visibility: hidden;
}

.password-gate {
    position: fixed;
    inset: 0;
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    color: #ffffff;
    background: linear-gradient(135deg, #c84c6b 0%, #9c2f68 38%, #4a0b55 100%);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.password-gate::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.08), transparent 55%);
    pointer-events: none;
}

.password-gate.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.gate-content {
    position: relative;
    width: min(560px, 92vw);
    min-height: 90vh;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 10px 24px;
    z-index: 1;
}

.gate-top {
    width: 100%;
    align-self: flex-start;
    text-align: left;
    margin-top: clamp(16px, 6vh, 60px);
}

.gate-tagline {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.gate-line {
    width: 3px;
    height: clamp(140px, 22vh, 200px);
    background: rgba(255, 255, 255, 0.85);
    border-radius: 4px;
    flex-shrink: 0;
}

.gate-text {
    display: flex;
    flex-direction: column;
    font-size: clamp(26px, 3.6vw, 40px);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: 0.5px;
}

.gate-center {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.gate-icon {
    position: relative;
    width: clamp(180px, 32vw, 240px);
    height: clamp(180px, 32vw, 240px);
    color: transparent;
    -webkit-text-stroke: 3px rgba(255, 255, 255, 0.55);
    text-stroke: 3px rgba(255, 255, 255, 0.55);
}

.gate-icon .fa-desktop {
    position: absolute;
    left: 10px;
    top: 10px;
    font-size: clamp(140px, 26vw, 210px);
}

.gate-icon .fa-screwdriver-wrench {
    position: absolute;
    right: 30px;
    top: 45px;
    font-size: clamp(70px, 16vw, 120px);
}

.gate-bottom {
    width: 100%;
    text-align: center;
}

.gate-logo {
    max-width: 220px;
    margin: 0 auto 10px;
    filter: brightness(0) invert(1);
}

.gate-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.95rem;
    letter-spacing: 0.4px;
}

.gate-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0.9;
}

.gate-social {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.gate-password {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.9rem;
    align-items: center;
    width: 100%;
    max-width: 560px;
    padding: 10px 12px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
}

.gate-password label {
    opacity: 0.9;
}

.gate-input-row {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 520px;
}

.gate-input-row input {
    flex: 1 1 260px;
    width: 100%;
    max-width: 340px;
    padding: 12px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-size: 0.95rem;
    outline: none;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.gate-input-row input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.gate-input-row button {
    padding: 12px 24px;
    border-radius: 999px;
    border: none;
    background: #ffffff;
    color: #5a1259;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.gate-input-row button:hover {
    transform: translateY(-1px);
    opacity: 0.9;
}

.gate-hint {
    min-height: 18px;
    color: #ffd7e6;
}

@media (max-width: 640px) {
    .password-gate {
        padding: 24px 18px;
    }

    .gate-content {
        min-height: 92vh;
        gap: 18px;
    }

    .gate-line {
        height: clamp(140px, 24vh, 190px);
    }

    .gate-links {
        font-size: 0.85rem;
    }
}

/* ==================== PRELOADER - PERFECTLY CENTERED ==================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-dark);
    z-index: 10000;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.preloader-logo-img {
    height: 45px;
    width: auto;
    display: block;
    margin: 0 auto;
}

.preloader-logo {
    font-family: var(--font-display);
    font-size: 3rem;
    letter-spacing: 8px;
    color: var(--text-white);
    animation: pulse 1.5s ease-in-out infinite;
    white-space: nowrap;
}

.preloader-line {
    width: 100px;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    margin: 20px auto 0;
    position: relative;
    overflow: hidden;
}

.preloader-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--text-white);
    animation: loading 1.5s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes loading {
    0% {
        left: -100%;
    }

    50% {
        left: 0;
    }

    100% {
        left: 100%;
    }
}

/* ==================== HEADER ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 25px 60px;
    transition: var(--transition);
    background: transparent;
}

.header.scrolled {
    background: rgba(45, 42, 84, 0.98);
    backdrop-filter: blur(20px);
    padding: 18px 60px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    z-index: 1001;
}

.logo-img {
    height: 38px;
    width: auto;
    display: block;
    transition: var(--transition);
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
    z-index: 1001;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-white);
    padding: 10px 5px;
    position: relative;
    display: inline-block;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--text-white);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 1001;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    z-index: 1002;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text-white);
    transition: var(--transition);
    display: block;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    transform: rotate(-45deg) translate(0px, 0px);
}

/* ==================== SIDE AREA ==================== */
.side-area {
    position: fixed;
    top: 0;
    right: -100%;
    width: 350px;
    height: 100vh;
    background: var(--primary-darker);
    z-index: 2000;
    padding: 100px 50px 50px;
    transition: var(--transition);
    overflow-y: auto;
}

.side-area.active {
    right: 0;
}

.side-area-close {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 1.5rem;
    color: var(--text-white);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.side-area-close:hover {
    transform: rotate(90deg);
}

.side-area-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.side-area-nav a {
    display: block;
    font-size: 1.3rem;
    font-weight: 600;
    padding: 18px 0;
    color: var(--text-white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.side-area-nav a:hover {
    color: var(--text-gray);
    padding-left: 15px;
}

.side-area-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.side-area-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ==================== HERO SECTION - FULL SCREEN WITH VIDEO ==================== */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
    background: var(--primary-dark);
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-dark);
}

/* Video Background Styles */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    z-index: 1;
}

/* Dark overlay on video for better text readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(45, 42, 84, 0.6);
    z-index: 2;
}

.hero-slide-content {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 40px;
}

.hero-title-wrapper {
    position: relative;
    max-width: 1200px;
}

.hero-subtitle {
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 12px;
    text-transform: uppercase;
    color: var(--text-gray);
    margin-bottom: 30px;
    opacity: 0;
    animation: slideUp 1s ease forwards 0.3s;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 10vw, 10rem);
    line-height: 0.95;
    letter-spacing: 3px;
    color: var(--text-white);
    text-shadow: 3px 4px 8px rgba(0, 0, 0, 0.3);
    margin-bottom: 50px;
}

.hero-title .line {
    display: block;
    overflow: hidden;
}

.hero-title .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    animation: revealWord 1s ease forwards;
}

.hero-title .word:nth-child(1) {
    animation-delay: 0.5s;
}

.hero-title .word:nth-child(2) {
    animation-delay: 0.7s;
}

.hero-title .word:nth-child(3) {
    animation-delay: 0.9s;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
    opacity: 0;
    animation: slideUp 1s ease forwards 1.2s;
}

/* Buttons */
.btn {
    padding: 18px 45px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
}

.btn-outlined {
    background: transparent;
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-outlined:hover {
    background: var(--text-white);
    color: var(--primary-dark);
    border-color: var(--text-white);
}

.btn-filled {
    background: var(--text-white);
    color: var(--primary-dark);
    border: 1px solid var(--text-white);
}

.btn-filled:hover {
    background: transparent;
    color: var(--text-white);
    transform: translateY(-3px);
}

/* Slider Navigation Dots */
.slider-nav {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 100;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    background: transparent;
}

.slider-dot:hover {
    border-color: var(--text-white);
}

.slider-dot.active {
    background: var(--text-white);
    border-color: var(--text-white);
}

/* Instagram Widget */
.instagram-widget {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-darker);
    padding: 20px 12px;
    z-index: 100;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.instagram-widget a {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-white);
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes revealWord {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== SECTIONS COMMON ==================== */
.section-tagline {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-gray);
    margin-bottom: 20px;
    display: block;
}

.section-title {
    font-family: var(--font-body);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.3;
    color: var(--text-white);
    margin-bottom: 40px;
}

.section-title .highlight {
    position: relative;
    display: inline-block;
}

.section-title .highlight::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: var(--text-white);
}

.section-header-center {
    text-align: center;
    margin-bottom: 80px;
}

/* ==================== INTRO SECTION (50/50 SPLIT) ==================== */
.intro-section-split {
    background: linear-gradient(90deg, #070614 0%, var(--primary-dark) 50%, #070614 100%);
    width: 100%;
    padding-top: 150px;
}

.intro-grid-split {
    display: grid;
    grid-template-columns: 50vw 50vw;
    min-height: 80vh;
    width: 100vw;
}

.intro-split-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 60px;
}

.intro-images {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.intro-img {
    position: absolute;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
}

.intro-img-1,
.intro-img-3 {
    display: none; /* No longer used */
}

.intro-img-2 {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
}

.intro-img-text {
    font-family: var(--font-display);
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    position: relative;
    z-index: 3;
}

.split-image-asset {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.intro-split-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    height: 100%;
}

.intro-content-inner {
    max-width: 600px;
    position: relative;
    z-index: 10;
}

.intro-content-inner .section-title {
    max-width: 520px;
}

.intro-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(45, 42, 84, 0.2), rgba(45, 42, 84, 0.4));
    z-index: 2;
}

/* ==================== PORTFOLIO ==================== */
.portfolio-section {
    padding: 150px 0;
    background: linear-gradient(90deg, #070614 0%, var(--primary-dark) 50%, #070614 100%);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.portfolio-item {
    position: relative;
    height: 400px;
    overflow: hidden;
    cursor: pointer;
}

.portfolio-bg {
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease;
}

.portfolio-bg-1 {
    background: linear-gradient(135deg, #2D2A54, #3D3A74);
}

.portfolio-bg-2 {
    background: linear-gradient(135deg, #1a1833, #2D2A54);
}

.portfolio-bg-3 {
    background: linear-gradient(135deg, #3D3A74, #1a1833);
}

.portfolio-item:hover .portfolio-bg {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.6s ease;
}

.portfolio-item.in-view .portfolio-overlay {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-category {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-gray);
    margin-bottom: 10px;
    display: block;
}

.portfolio-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-white);
}

/* ==================== TEAM ==================== */
.team-section {
    padding: 150px 0;
    background: var(--bg-section);
}

.team-header {
    text-align: center;
    margin-bottom: 80px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.team-card {
    position: relative;
    overflow: hidden;
}

.team-image {
    position: relative;
    width: 250px;
    max-width: 90%;
    margin: 0 auto;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 8px; /* Added subtle rounding for better aesthetics */
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.team-img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2D2A54, #1a1833);
    transition: transform 0.6s ease;
}

.team-img-2 {
    background: linear-gradient(135deg, #3D3A74, #2D2A54);
}

.team-img-3 {
    background: linear-gradient(135deg, #1a1833, #3D3A74);
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

.team-info {
    padding: 10px 0;
    text-align: center;
}

.team-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.team-role {
    font-size: 0.85rem;
    color: var(--text-gray);
}

/* ==================== COUNTERS ==================== */
.counter-section {
    padding: 100px 0;
    background: var(--bg-section);
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* ==================== VIDEO ==================== */
.video-section {
    padding: 150px 0;
    background: linear-gradient(90deg, #070614 0%, var(--primary-dark) 50%, #070614 100%);
}

.video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.video-content {
    text-align: right;
}

.video-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #2D2A54, #1a1833);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.video-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

.video-thumbnail {
    position: relative;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.play-button::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--text-white);
    animation: playPulse 2s ease infinite;
}

.play-button i {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-left: 5px;
    position: relative;
    z-index: 1;
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

@keyframes playPulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* ==================== BLOG ==================== */
.blog-section {
    padding: 150px 0;
    background: var(--bg-section);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-image {
    position: relative;
    height: 280px;
    overflow: hidden;
    margin-bottom: 25px;
}

.blog-img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2D2A54, #3D3A74);
    transition: transform 0.6s ease;
}

.blog-img-2 {
    background: linear-gradient(135deg, #1a1833, #2D2A54);
}

.blog-img-3 {
    background: linear-gradient(135deg, #3D3A74, #1a1833);
}

.blog-card:hover .blog-img-placeholder {
    transform: scale(1.1);
}

.blog-content {
    padding: 0 10px;
}

.blog-title {
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 15px;
    color: var(--text-white);
}

.blog-title a:hover {
    color: var(--text-gray);
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.blog-meta a:hover {
    color: var(--text-white);
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.read-more {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-white);
}

.read-more:hover {
    color: var(--text-gray);
}

.share-btn {
    font-size: 0.85rem;
    color: var(--text-gray);
    cursor: pointer;
}

.share-btn:hover {
    color: var(--text-white);
}

/* ==================== SERVICES ==================== */
.services-section {
    padding: 150px 0;
    background: linear-gradient(90deg, #070614 0%, var(--primary-dark) 50%, #070614 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.service-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 50px 30px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--text-white);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-10px);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-number {
    font-family: var(--font-display);
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.08);
    margin-bottom: 20px;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--text-white);
    margin-bottom: 25px;
}

.service-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.service-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-muted);
}

/* ==================== WHY US ==================== */
.why-section {
    padding: 150px 0;
    background: linear-gradient(90deg, #070614 0%, var(--primary-dark) 50%, #070614 100%);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 30px;
}

.why-text {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.stat-box {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 4rem;
    color: var(--text-white);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-gray);
}

.why-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.why-feature {
    display: flex;
    gap: 25px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
    border-left: 3px solid var(--text-white);
    transition: var(--transition);
}

.why-feature:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(10px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--primary-dark);
}

.feature-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-content p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-muted);
}

/* ==================== MISSION VISION GOALS ==================== */
.mvg-section {
    padding: 150px 0;
    background: linear-gradient(90deg, #070614 0%, var(--primary-dark) 50%, #070614 100%);
}

.mvg-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.mvg-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.mvg-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
}

.mvg-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.mvg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.mvg-card:hover .mvg-image img {
    transform: scale(1.05);
}

.mvg-content {
    padding: 30px;
    text-align: center;
}

.mvg-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-white);
}

.mvg-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.mvg-hashtag {
    display: inline-block;
    margin-top: 20px;
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 2px;
    color: var(--text-white);
}

/* ==================== CLIENTS ==================== */
.clients-section {
    padding: 80px 0;
    background: var(--bg-section);
}

.clients-scroll-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}

.clients-scroll-container::before,
.clients-scroll-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.clients-scroll-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-section) 0%, transparent 100%);
}

.clients-scroll-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-section) 0%, transparent 100%);
}

.clients-scroll-track {
    display: flex;
    width: max-content;
    animation: scroll 25s linear infinite;
}

.clients-scroll-list {
    display: flex;
    gap: 80px;
    padding-right: 80px;
}

.clients-scroll-track:hover {
    animation-play-state: paused;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    opacity: 0.4;
    transition: var(--transition);
}

.client-logo img,
.client-logo svg {
    height: 100%;
    max-width: 180px;
    object-fit: contain;
    filter: grayscale(100%) opacity(70%);
    transition: var(--transition);
}

.client-logo:hover img,
.client-logo:hover svg {
    filter: grayscale(0%) opacity(100%);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.client-logo:hover {
    opacity: 1;
}



/* ==================== CONTACT ==================== */
.contact-section {
    padding: 150px 0;
    background: linear-gradient(90deg, #070614 0%, var(--primary-dark) 50%, #070614 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    margin-bottom: 20px;
}

.contact-info>p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 50px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 25px;
}

.contact-icon {
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon i {
    font-size: 1.3rem;
    color: var(--text-white);
}

.contact-text span {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-gray);
    margin-bottom: 5px;
}

.contact-text a,
.contact-text p {
    font-size: 1rem;
    color: var(--text-white);
}

.contact-form {
    background: rgba(255, 255, 255, 0.02);
    padding: 50px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: var(--text-white);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px 20px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.form-group select option {
    background: var(--primary-darker);
    color: var(--text-white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-gray);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--text-white);
    background: rgba(255, 255, 255, 0.08);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.btn-submit {
    width: 100%;
    padding: 18px 40px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-dark);
    background: var(--text-white);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    background: var(--text-gray);
}

/* ==================== FOOTER ==================== */
.footer {
    padding: 80px 0 40px;
    background: var(--bg-dark);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo-link {
    display: inline-block;
    margin-bottom: 25px;
    transition: var(--transition);
}

.footer-logo-link:hover {
    transform: scale(1.05);
}

.footer-logo-img {
    height: 35px;
    width: auto;
    display: block;
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--text-white);
}

.social-link i {
    font-size: 1rem;
    color: var(--text-white);
    transition: var(--transition);
}

.social-link:hover i {
    color: var(--primary-dark);
}

.footer-col h4 {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--text-white);
    padding-left: 10px;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-legal {
    display: flex;
    gap: 30px;
}

.footer-legal a {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-legal a:hover {
    color: var(--text-white);
}

/* ==================== RESPONSIVE - TABLET ==================== */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-grid,
    .blog-grid,
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .clients-scroll-container {
        width: 100%;
        overflow: hidden;
        position: relative;
        display: flex;
        align-items: center;
    }

    .clients-scroll-container::before,
    .clients-scroll-container::after {
        content: "";
        position: absolute;
        top: 0;
        width: 150px;
        height: 100%;
        z-index: 2;
        pointer-events: none;
    }

    .clients-scroll-container::before {
        left: 0;
        background: linear-gradient(to right, var(--bg-section) 0%, transparent 100%);
    }

    .clients-scroll-container::after {
        right: 0;
        background: linear-gradient(to left, var(--bg-section) 0%, transparent 100%);
    }

    .clients-scroll-track {
        display: flex;
        width: max-content;
        animation: scroll 25s linear infinite;
    }

    .clients-scroll-list {
        display: flex;
        gap: 80px;
        padding-right: 80px;
    }

    .clients-scroll-track:hover {
        animation-play-state: paused;
    }

    @media (max-width: 992px) {
        .header {
            padding: 20px 30px;
        }

        .header.scrolled {
            padding: 15px 30px;
        }

        .nav-menu {
            display: none;
        }

        .hamburger {
            display: flex;
        }

        .intro-grid,
        .video-grid,
        .why-grid,
        .contact-grid {
            grid-template-columns: 1fr;
            gap: 50px;
        }

        .intro-images {
            height: 400px;
        }

        .intro-content {
            padding-left: 0;
            margin-top: -60px;
        }

        .video-content {
            text-align: left;
        }

        .form-row {
            grid-template-columns: 1fr;
        }

        .hero-title {
            font-size: clamp(3rem, 8vw, 6rem);
        }

        .slider-nav {
            right: 30px;
        }

        .instagram-widget {
            display: none;
        }

        /* Preloader responsive */
        .preloader-logo {
            font-size: 2.5rem;
            letter-spacing: 6px;
        }
    }

    /* ==================== RESPONSIVE - MOBILE ==================== */
    @media (max-width: 768px) {
        .header {
            padding: 15px 20px;
        }

        .header.scrolled {
            padding: 12px 20px;
        }

        .logo-img {
            height: 28px;
        }

        .hero {
            height: 100vh;
            min-height: 100vh;
        }

        .hero-title {
            font-size: clamp(2.5rem, 12vw, 4rem);
            margin-bottom: 30px;
        }

        .hero-subtitle {
            font-size: 0.75rem;
            letter-spacing: 6px;
            margin-bottom: 20px;
        }

        .hero-buttons {
            flex-direction: column;
            align-items: center;
            gap: 15px;
        }

        .btn {
            padding: 15px 35px;
            width: 200px;
            text-align: center;
        }

        .slider-nav {
            right: 15px;
            gap: 10px;
        }

        .slider-dot {
            width: 10px;
            height: 10px;
        }

        .services-grid,
        .portfolio-grid,
        .blog-grid,
        .team-grid,
        .counter-grid,
        .mvg-grid {
            grid-template-columns: 1fr;
        }

        .stats-row {
            grid-template-columns: 1fr;
        }

        .clients-scroll-container {
            width: 100%;
            overflow: hidden;
            position: relative;
            display: flex;
            align-items: center;
        }

        .clients-scroll-container::before,
        .clients-scroll-container::after {
            content: "";
            position: absolute;
            top: 0;
            width: 150px;
            height: 100%;
            z-index: 2;
            pointer-events: none;
        }

        .clients-scroll-container::before {
            left: 0;
            background: linear-gradient(to right, var(--bg-section) 0%, transparent 100%);
        }

        .clients-scroll-container::after {
            right: 0;
            background: linear-gradient(to left, var(--bg-section) 0%, transparent 100%);
        }

        .clients-scroll-track {
            display: flex;
            width: max-content;
            animation: scroll 25s linear infinite;
        }

        .clients-scroll-list {
            display: flex;
            gap: 80px;
            padding-right: 80px;
        }

        .clients-scroll-track:hover {
            animation-play-state: paused;
        }

        @media (max-width: 480px) {
            .hero-title {
                font-size: 2.2rem;
            }

            .hero-subtitle {
                font-size: 0.65rem;
                letter-spacing: 4px;
            }

            .btn {
                padding: 14px 30px;
                font-size: 0.75rem;
            }

            .stat-number {
                font-size: 3rem;
            }

            .service-card {
                padding: 40px 25px;
            }

            /* Preloader responsive */
            .preloader-logo {
                font-size: 1.6rem;
                letter-spacing: 4px;
            }

            .preloader-line {
                width: 60px;
            }
        }




        /* ==================== VIDEO EMBED ==================== */
        .video-embed-container iframe {
            width: 100%;
            height: 100%;
            border: none;
            border-radius: 8px;
        }









        @media (max-width: 991px) {
            .intro-grid-split {
                display: flex;
                flex-direction: column-reverse;
                min-height: auto;
                width: 100vw;
            }

            .intro-split-image {
                height: 50vh;
                width: 100%;
                padding: 40px 20px;
            }

            .intro-split-content {
                height: auto;
                padding: 60px 40px 40px;
                text-align: center;
            }

            .intro-content-inner {
                margin: 0 auto;
            }
        }
}
/* ==================== LANGUAGE SWITCHER ==================== */
.lang-switch {
    font-weight: 700;
    color: var(--text-white);
    padding: 8px 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    margin-left: 20px;
    transition: var(--transition);
}

.lang-switch:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    border-color: var(--text-white);
}

.lang-switch-mobile {
    margin-top: 20px;
    color: var(--text-gray) !important;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==================== FOOTER ==================== */
.footer {
    background: #0a0919;
    padding: 80px 0 0;
    color: var(--text-gray);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-top: 15px;
    color: var(--text-gray);
}

.footer-logo-img {
    max-width: 120px;
    height: auto;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    transition: var(--transition);
    font-size: 0.9rem;
}

.social-link:hover {
    background: var(--accent-color, #FBBF24);
    border-color: var(--accent-color, #FBBF24);
    color: #000;
    transform: translateY(-3px);
}

.footer-col h4 {
    color: var(--text-white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--text-white);
    padding-left: 5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
}

.footer-copyright {
    font-size: 0.85rem;
    color: var(--text-gray);
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: var(--text-gray);
    font-size: 0.85rem;
    text-decoration: none;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--text-white);
}

/* Footer Mobile Responsive */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 576px) {
    .footer {
        padding: 50px 0 0;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    .footer-brand {
        grid-column: 1;
    }
    .social-links {
        justify-content: center;
    }
    .footer-links a:hover {
        padding-left: 0;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ==================== RTL (ARABIC) SUPPORT ==================== */
html[dir="rtl"] body {
    font-family: 'Tajawal', 'Space Grotesk', sans-serif;
}

html[dir="rtl"] h1, 
html[dir="rtl"] h2, 
html[dir="rtl"] h3, 
html[dir="rtl"] h4, 
html[dir="rtl"] h5, 
html[dir="rtl"] h6,
html[dir="rtl"] .logo-text,
html[dir="rtl"] .section-title,
html[dir="rtl"] .hero-title {
    font-family: 'Tajawal', 'Syncopate', sans-serif;
    letter-spacing: 0px; /* Arabic doesn't use heavy letter-spacing usually */
}

html[dir="rtl"] .hero-subtitle,
html[dir="rtl"] .section-tagline,
html[dir="rtl"] .nav-link,
html[dir="rtl"] .btn {
    letter-spacing: 0px; 
}

html[dir="rtl"] .lang-switch {
    margin-left: 0;
    margin-right: 20px;
}

html[dir="rtl"] .hamburger {
    margin-left: 0;
    margin-right: auto;
}

/* Adjust split text alignment for RTL */
@media (min-width: 992px) {
    html[dir="rtl"] .intro-split-content {
        padding: 80px 80px 80px 40px;
    }
}
