/* --- Variables --- */
:root {
    --bg-color: #030303;
    --bg-darker: #000000;
    --text-color: #ffffff;
    --text-muted: #888888;
    --brand-color: #e0970c;
    --brand-gradient: linear-gradient(135deg, #f5b83d 0%, #e0970c 50%, #c97e08 100%);
    --brand-glow: rgba(224, 151, 12, 0.3);
    --glass-bg: rgba(15, 15, 15, 0.7);
    --glass-border: rgba(224, 151, 12, 0.2);
    --glass-blur: 20px;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Montserrat', sans-serif;
    --transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --gold: #e0970c;
}

/* --- Reset & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(224, 151, 12, 0.03) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    bottom: 10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(224, 151, 12, 0.02) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-color);
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-brand {
    color: var(--brand-color);
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    filter: drop-shadow(0 0 8px rgba(255, 159, 28, 0.3));
}

.text-center {
    text-align: center;
}

/* --- Components --- */
.btn-primary {
    display: inline-block;
    padding: 14px 32px;
    background: var(--brand-gradient);
    color: #000;
    font: inherit;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 999px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 0 20px rgba(255, 159, 28, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--brand-color);
    z-index: -1;
    transition: var(--transition);
}

.btn-primary:hover::after {
    width: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(224, 151, 12, 0.4);
    border-color: rgba(255, 255, 255, 0.45);
}

.btn-outline {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 999px;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-outline:hover {
    background: rgba(255, 159, 28, 0.1);
    border-color: var(--brand-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(224, 151, 12, 0.18);
}

.btn-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 11px 20px;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-color);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-link i {
    transition: transform 0.3s ease;
}

.btn-link:hover {
    transform: translateY(-2px);
    background: rgba(224, 151, 12, 0.12);
    border-color: var(--brand-color);
    box-shadow: 0 8px 24px rgba(224, 151, 12, 0.16);
}

.btn-link:hover i {
    transform: translateX(4px);
}

.btn-primary:focus-visible,
.btn-outline:focus-visible,
.btn-link:focus-visible,
.btn-premium-submit:focus-visible,
.filter-btn:focus-visible {
    outline: 2px solid var(--brand-color);
    outline-offset: 4px;
}

.btn-primary:active,
.btn-outline:active,
.btn-link:active,
.btn-premium-submit:active,
.filter-btn:active {
    transform: scale(0.97);
}

/* Glassmorphism Effect */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* --- Header / Nav --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    /* Increased from 80px */
    display: flex;
    align-items: center;
    z-index: 1000;
    transition: 0.3s;
}

.navbar.scrolled {
    background: rgba(5, 5, 5, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-logo-img {
    height: 85px;
    /* Clean fixed height fitting within 100px navbar */
    width: auto;
    object-fit: contain;
    background: transparent;
    border: none;
    margin: 0;
    padding: 0;
    filter: none !important;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
    /* Ensure container fills navbar height */
}


.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links li a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
}

.nav-links li a:hover {
    opacity: 1;
    color: var(--brand-color);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-switch {
    display: flex;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 600;
}

.lang-switch span {
    cursor: pointer;
    opacity: 0.5;
}

.lang-switch span.active {
    opacity: 1;
    color: var(--brand-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 2px;
    background: #fff;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    padding-bottom: 50px;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    z-index: 3;
    perspective: 1000px;
    /* Essential for 3D effect */
}

/* 3D Logo Animation */
.logo-3d-container {
    margin-bottom: 2rem;
    margin-top: 180px;
    /* Moved down significantly */
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo-3d {
    width: 250px;
    /* Increased size for full logo with text */
    height: auto;
    filter: drop-shadow(0 0 15px rgba(255, 159, 28, 0.4));
    animation: floatRotate 6s ease-in-out infinite;
    transform-style: preserve-3d;
    /* mix-blend-mode: screen; Removed since svg is transparent */
}

@keyframes floatRotate {
    0% {
        transform: translateY(0px) rotateY(0deg);
    }

    50% {
        transform: translateY(-15px) rotateY(180deg);
    }

    100% {
        transform: translateY(0px) rotateY(360deg);
    }
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    text-transform: uppercase;
}

.hero-subline {
    font-size: 1.25rem;
    color: #888;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-btns {
    display: flex;
    gap: 24px;
    justify-content: center;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.7;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* --- About Section --- */
.about-section {
    padding: 120px 0;
}

.row {
    display: flex;
    align-items: center;
    gap: 60px;
}

.col-text {
    flex: 1;
}

.col-image {
    flex: 1;
}

.section-subtitle {
    color: var(--brand-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.lead {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 25px;
}

.stats-grid {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--brand-color);
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.6;
    text-transform: uppercase;
}

.image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
}

.image-wrapper img {
    transition: transform 0.8s ease;
}

.image-wrapper:hover img {
    transform: scale(1.05);
}

.glass-border {
    position: relative;
}

.glass-border::before {
    content: '';
    position: absolute;
    inset: -10px;
    border: 1px solid var(--text-muted);
    z-index: -1;
    opacity: 0.2;
}

/* --- Services Section --- */
.services-section {
    padding: 100px 0;
    background: #0a0a0a;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    padding: 40px;
    border-radius: 24px;
    overflow: hidden;
    transition: 0.4s;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}

.service-card:hover {
    background: rgba(224, 151, 12, 0.08); /* Transparent orange touch */
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(224, 151, 12, 0.15);
    border-color: rgba(224, 151, 12, 0.2);
}

.icon-box {
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--brand-color);
    margin-bottom: 24px;
    border: 1px solid rgba(224, 151, 12, 0.22);
    border-radius: 20px;
    background: rgba(224, 151, 12, 0.08);
    transition: transform 0.35s ease, background 0.35s ease;
}

.service-card:hover .icon-box {
    transform: translateY(-3px) scale(1.04);
    background: rgba(224, 151, 12, 0.15);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-category {
    font-size: 0.75rem;
    color: var(--brand-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    opacity: 0.8;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(224, 151, 12, 0.1);
    border-radius: 50%;
    border-top-color: var(--brand-color);
    animation: spin 1s ease-in-out infinite;
    margin: 2rem auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* --- Portfolio Section --- */
.portfolio-section {
    padding: 40px 0; /* Even more reduced from 60px */
    overflow: hidden;
}
.portfolio-section .section-title {
    font-size: 1.3rem !important; /* Smaller title */
    margin-bottom: 8px;
    letter-spacing: 1px;
}

/* Masterpiece Showcase (3D Carousel) */
.showcase-wrapper {
    position: relative;
    height: 550px; /* Slightly reduced height */
    width: 100%;
    margin-top: 20px; /* Reduced from 40px */
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 2000px;
}

.showcase-track {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    display: flex;
    align-items: center;
    justify-content: center;
}

.showcase-item {
    position: absolute;
    width: 600px;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    background: #111;
}

.showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
    transition: filter 0.8s ease;
}

.showcase-item.active {
    transform: translate3d(0, 0, 400px);
    z-index: 10;
    opacity: 1;
}

.showcase-item.active img {
    filter: brightness(1);
}

.showcase-item.prev {
    transform: translate3d(-350px, 0, 100px) rotateY(25deg);
    z-index: 5;
    opacity: 0.6;
}

.showcase-item.next {
    transform: translate3d(350px, 0, 100px) rotateY(-25deg);
    z-index: 5;
    opacity: 0.6;
}

.showcase-item.far-prev {
    transform: translate3d(-600px, 0, -200px) rotateY(45deg);
    z-index: 2;
    opacity: 0;
    pointer-events: none;
}

.showcase-item.far-next {
    transform: translate3d(600px, 0, -200px) rotateY(-45deg);
    z-index: 2;
    opacity: 0;
    pointer-events: none;
}

.showcase-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: #fff;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease 0.3s;
}

.showcase-item.active .showcase-content {
    opacity: 1;
    transform: translateY(0);
}

.showcase-content h3 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.showcase-content span {
    color: var(--brand-color);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
}

.showcase-nav {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    justify-content: center;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: 0.3s;
}

.nav-dot.active {
    background: var(--brand-color);
    box-shadow: 0 0 10px var(--brand-color);
    transform: scale(1.3);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* --- Testimonials --- */
.testimonials-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.testimonial-card {
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(224, 151, 12, 0.14);
    background: linear-gradient(145deg, rgba(20, 18, 14, 0.9), rgba(8, 8, 8, 0.92));
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    border-color: rgba(224, 151, 12, 0.42);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.32), 0 0 24px rgba(224, 151, 12, 0.08);
}

.stars {
    color: var(--brand-color);
    margin-bottom: 20px;
    letter-spacing: 3px;
}

.testimonial-card p {
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 30px;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.client-info h4 {
    font-size: 1rem;
}

.client-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* --- Blog Section --- */
.blog-section {
    padding: 100px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.blog-card {
    background: linear-gradient(145deg, rgba(20, 18, 14, 0.92), rgba(8, 8, 8, 0.96));
    border: 1px solid rgba(224, 151, 12, 0.14);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    border-color: rgba(224, 151, 12, 0.42);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.32), 0 0 24px rgba(224, 151, 12, 0.08);
}

.blog-image {
    height: 220px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 25px;
}

.category {
    color: var(--brand-color);
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
}

.blog-content h3 {
    font-size: 1.2rem;
    margin: 10px 0 20px;
}

.read-more {
    font-size: 0.9rem;
    text-decoration: underline;
    opacity: 0.7;
}

/* --- Contact Section Premium --- */
.contact-section.premium-style {
    padding: 120px 0;
    background: #030303;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(224, 151, 12, 0.2);
    border-bottom: 1px solid rgba(224, 151, 12, 0.2);
    box-shadow: inset 0 0 50px rgba(224, 151, 12, 0.05);
}

.contact-section.premium-style::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(224, 151, 12, 0.12) 0%, transparent 70%);
    z-index: 0;
    filter: blur(40px);
}

.contact-section.premium-style::after {
    content: '';
    position: absolute;
    bottom: -15%;
    right: -15%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(224, 151, 12, 0.08) 0%, transparent 70%);
    z-index: 0;
    filter: blur(50px);
}

.contact-badge-container {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 2rem;
}

.contact-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 20px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
}

.contact-badge i {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.contact-header {
    margin-bottom: 4rem;
}

.premium-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.premium-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 500px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.contact-info-column {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-card-premium {
    background: rgba(15, 15, 15, 0.8);
    border: 1px solid rgba(224, 151, 12, 0.3);
    padding: 25px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 15px rgba(224, 151, 12, 0.1);
}

.info-card-premium:hover {
    background: rgba(20, 20, 20, 0.9);
    transform: scale(1.02);
    border-color: rgba(224, 151, 12, 1);
    box-shadow: 0 0 25px rgba(224, 151, 12, 0.4), inset 0 0 10px rgba(224, 151, 12, 0.2);
}

.info-icon-box {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-content h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: #fff;
    font-family: var(--font-body);
}

.info-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.info-arrow {
    margin-left: auto;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.info-card-premium:hover .info-arrow {
    background: #fff;
    color: #000;
}

.premium-form-wrapper {
    background: rgba(15, 15, 15, 0.6);
    border: 1px solid rgba(224, 151, 12, 0.4);
    padding: 40px;
    border-radius: 28px;
    backdrop-filter: blur(20px);
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(224, 151, 12, 0.15);
}

.premium-form-wrapper::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(224, 151, 12, 0.25) 0%, transparent 70%);
    z-index: -1;
    filter: blur(30px);
}

.premium-form-group {
    margin-bottom: 25px;
}

.premium-form-group label {
    display: block;
    font-size: 0.85rem;
    color: #fff;
    margin-bottom: 10px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.premium-form-group input,
.premium-form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 20px;
    border-radius: 12px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.premium-form-group input:focus,
.premium-form-group textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-premium-submit {
    width: 100%;
    background: linear-gradient(135deg, #f5b83d 0%, #e0970c 100%);
    color: #000;
    border: none;
    padding: 18px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 5px 20px rgba(224, 151, 12, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-premium-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(224, 151, 12, 0.4);
    filter: brightness(1.08);
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-premium-submit:active {
    transform: scale(0.98);
}

.success-message-premium {
    text-align: center;
    padding: 40px 0;
}

.success-message-premium i {
    font-size: 3rem;
    color: var(--brand-color);
    margin-bottom: 20px;
    display: block;
}

.success-message-premium p {
    font-size: 1.2rem;
    color: #fff;
    font-weight: 600;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .premium-form-wrapper {
        padding: 30px;
    }
}

/* --- Footer --- */
.footer {
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.footer-logo h3 {
    font-size: 2rem;
    letter-spacing: 2px;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(255, 159, 28, 0.3));
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--text-muted);
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--brand-color);
}

.footer-copy {
    font-size: 0.8rem;
    color: #555;
    margin-top: 20px;
}

/* --- Animations --- */
.cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 999;
    mix-blend-mode: screen;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #050505;
}

::-webkit-scrollbar-thumb {
    background: var(--brand-color);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #e5c07b;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .row {
        flex-direction: column;
        text-align: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .navbar {
        height: 70px;
    }

    .nav-links {
        display: none;
    }

    .nav-logo-img {
        height: 50px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subline {
        font-size: 1rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-item,
    .portfolio-item.tall {
        height: 300px;
    }
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards;
}

.fade-up.delay-1 {
    animation-delay: 0.3s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.fade-in-left.is-visible,
.fade-in-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* --- Journal Page --- */
.journal-section {
    padding: 150px 0 100px;
    min-height: 80vh;
}

.journal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
    perspective: 1000px;
}

.article-3d-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1),
        transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1),
        box-shadow 0.5s ease,
        border-color 0.5s ease;
    transform-style: preserve-3d;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.article-3d-card:hover {
    transform: translateY(-7px) scale(1.01);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.35), 0 0 25px rgba(224, 151, 12, 0.12);
    border-color: var(--brand-color);
}

.article-3d-card .card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.article-3d-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.article-3d-card:hover .card-image img {
    transform: scale(1.1);
}

.article-3d-card .card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.article-3d-card .card-category {
    color: var(--brand-color);
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.article-3d-card .card-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 15px;
    line-height: 1.3;
}

.article-3d-card .card-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.article-3d-card .card-link {
    margin-top: auto;
    color: var(--text-color);
    font-size: 0.9rem;
    text-decoration: underline;
    opacity: 0.7;
    transition: var(--transition);
}

.article-3d-card .card-link:hover {
    opacity: 1;
    color: var(--brand-color);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 70%;
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(100%);
        transition: transform 0.4s ease;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 999;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .hamburger.active .bar:first-child {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:last-child {
        transform: translateY(-5px) rotate(-45deg);
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .row {
        flex-direction: column;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    /* 3D Showcase Mobile Size Fixes */
    .showcase-wrapper {
        height: 400px;
        perspective: 1200px;
        margin-top: 20px;
    }

    .showcase-item {
        width: 320px;
        height: 220px;
    }

    .showcase-item.active {
        transform: translate3d(0, 0, 200px);
    }

    .showcase-item.prev {
        transform: translate3d(-150px, 0, 50px) rotateY(20deg);
    }

    .showcase-item.next {
        transform: translate3d(150px, 0, 50px) rotateY(-20deg);
    }

    .showcase-content h3 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    section {
        padding: 80px 0 !important;
    }
}

@media (max-width: 480px) {
    .showcase-item {
        width: 260px;
        height: 180px;
    }
    
    .showcase-item.active {
        transform: translate3d(0, 0, 150px);
    }

    .showcase-item.prev {
        transform: translate3d(-120px, 0, 20px) rotateY(15deg);
        opacity: 0.3;
    }

    .showcase-item.next {
        transform: translate3d(120px, 0, 20px) rotateY(-15deg);
        opacity: 0.3;
    }
    .hero-logo-3d { width: 180px; }
}

    

/* --- Modern Section Dividers --- */
.section-vignette-divider {
    height: 120px;
    background: linear-gradient(to bottom, var(--bg-color) 0%, #000 50%, var(--bg-color) 100%);
    position: relative;
    z-index: 1;
}

.section-vignette-divider::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--brand-color), transparent);
    box-shadow: 0 0 20px var(--brand-color);
    opacity: 0.3;
}



/* --- RTL Support (Arabic) --- */
html[dir='rtl'] body {
    direction: rtl;
    text-align: right;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html[dir='rtl'] .nav-actions {
    margin-right: auto;
    margin-left: 0;
}

html[dir='rtl'] .btn-link i {
    transform: rotate(180deg);
}

html[dir='rtl'] .form-group input,
html[dir='rtl'] .form-group select,
html[dir='rtl'] .form-group textarea {
    text-align: right;
}

html[dir='rtl'] .detail-item {
    padding-right: 0;
    padding-left: 0;
}

/* --- Latest Projects Section --- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.project-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1),
        transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1),
        border-color 0.4s ease,
        box-shadow 0.4s ease;
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: rgba(224, 151, 12, 0.55);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.34), 0 0 24px rgba(224, 151, 12, 0.1);
}

.project-thumbnail {
    width: 100%;
    aspect-ratio: 16/9;
    position: relative;
    overflow: hidden;
}

.project-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-thumbnail img {
    transform: scale(1.05);
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0,0,0,0.6);
    border: 2px solid var(--brand-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-color);
    font-size: 1.5rem;
    padding-left: 5px; /* Visual center for play icon */
    opacity: 0.8;
    transition: var(--transition);
}

.project-card:hover .play-overlay {
    background: var(--brand-color);
    color: #000;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.project-info {
    padding: 24px;
}

.projects-filter .filter-btn {
    border-radius: 999px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.projects-filter .filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(224, 151, 12, 0.16);
}

@media (prefers-reduced-motion: reduce) {
    .btn-primary,
    .btn-outline,
    .btn-link,
    .btn-link i,
    .btn-premium-submit,
    .projects-filter .filter-btn,
    .service-card,
    .service-card .icon-box,
    .testimonial-card,
    .blog-card,
    .project-card,
    .article-3d-card {
        transition-duration: 0.01ms !important;
    }

    .btn-primary:hover,
    .btn-outline:hover,
    .btn-link:hover,
    .btn-premium-submit:hover,
    .projects-filter .filter-btn:hover,
    .service-card:hover,
    .testimonial-card:hover,
    .blog-card:hover,
    .project-card:hover,
    .article-3d-card:hover {
        transform: none;
    }
}

.project-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-family: var(--font-heading);
}

.project-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

@media (max-width: 900px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}