:root {
    --gold: #D4AF37;
    --gold-dim: #aa8c2c;
    --gold-light: #f3cf55;
    --black: #0a0a0a;
    --black-soft: #151515;
    --gray-dark: #222222;
    --text-main: #f0f0f0;
    --text-muted: #aaaaaa;
    --glass: rgba(20, 20, 20, 0.85);
    --glass-border: rgba(212, 175, 55, 0.15);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --transition: cubic-bezier(0.23, 1, 0.32, 1) 0.6s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--black);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.8;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-heading);
    color: #fff;
    line-height: 1.2;
}

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

.text-center {
    text-align: center;
}

/* Interactive Elements */
a {
    text-decoration: none;
    transition: var(--transition);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--gold);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn:hover {
    color: var(--black);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

.btn-solid {
    background: var(--gold);
    color: var(--black);
}

.btn-solid:hover {
    background: #fff;
    color: var(--black);
    border-color: #fff;
}

/* Glassmorphism Cards */
.glass-panel {
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 4px;
    /* Angular premium feel */
}

/* Layout */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.section {
    padding: 120px 0;
    position: relative;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 25px 0;
    transition: 0.4s;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-toggle {
    display: none;
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    font-family: var(--font-heading);
}

.logo span {
    color: var(--gold);
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold);
}

/* Language Switcher */
.lang-switch {
    position: relative;
    display: inline-block;
    margin-left: 30px;
}

.lang-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 5px 15px;
    cursor: pointer;
    font-size: 12px;
    text-transform: uppercase;
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--black-soft);
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 100px;
}

.lang-switch:hover .lang-dropdown {
    display: block;
}

.lang-dropdown a {
    display: block;
    padding: 10px;
    color: #aaa;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.lang-dropdown a:hover {
    background: var(--gold);
    color: var(--black);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Placeholder for dynamic background or video */
    background: url('../img/hero-bg.jpg') center/cover no-repeat;
    filter: brightness(0.4);
    transform: scale(1.1);
    animation: zoomOut 20s infinite alternate;
}

@keyframes zoomOut {
    to {
        transform: scale(1);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.hero-subtitle {
    display: block;
    color: var(--gold);
    letter-spacing: 5px;
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 20px;
    animation: fadeInUp 1s forwards;
}

.hero h1 {
    font-size: 80px;
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeInUp 1s 0.3s forwards;
}

.hero-btns {
    opacity: 0;
    animation: fadeInUp 1s 0.6s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Services Grid */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--black-soft);
    padding: 50px 30px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.03);
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
}

.service-icon {
    font-size: 50px;
    color: var(--gold);
    margin-bottom: 30px;
}

.service-card h3 {
    margin-bottom: 20px;
    font-size: 24px;
}

.service-card p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.read-more {
    color: #fff;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.read-more::after {
    content: '→';
    transition: 0.3s;
}

.service-card:hover .read-more::after {
    transform: translateX(5px);
}

/* Footer */
footer {
    background: #050505;
    padding: 100px 0 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Utilities */
.rtl {
    direction: rtl;
    text-align: right;
}

.rtl .read-more::after {
    content: '←';
}

.rtl .nav-links {
    padding-right: 0;
}

/* Mobile & Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .section {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 40px;
        line-height: 1.2;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    /* Mobile Navigation */
    .nav-flex {
        position: relative;
        z-index: 2000;
    }

    .mobile-toggle {
        display: block !important;
        color: #fff;
        font-size: 28px;
        cursor: pointer;
        z-index: 2002;
        padding: 10px;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 2001;
        gap: 30px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 24px;
        color: #fff;
        font-family: var(--font-heading);
    }

    /* Team Spotlight Mobile - FORCE STACK */
    .spotlight-wrapper {
        flex-direction: column !important;
        display: flex;
        align-items: center;
        gap: 40px;
    }

    .spotlight-wrapper .team-card {
        width: 100% !important;
        max-width: 400px !important;
        margin-bottom: 20px;
    }

    /* General Team Grid Mobile */
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero h1 {
        font-size: 60px;
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================
   Team Section Design
   ============================ */

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.team-card {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 24px;
    padding: 40px 20px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.team-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    background: rgba(30, 30, 30, 0.8);
}

/* Circular Image & Neon Effect */
.team-img-wrapper {
    position: relative;
    width: 220px;
    height: 220px;
    margin: 0 auto 30px;
    border-radius: 50%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* The finite neon background ring */
.neon-ring {
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    background: conic-gradient(transparent,
            var(--gold-dim),
            var(--gold),
            #ff00ff,
            #00ffff,
            var(--gold));
    z-index: -1;
    animation: neonSpin 3s linear infinite;
    filter: blur(8px);
    opacity: 0.8;
}

/* Inner black bg to separate image from glowing ring */
.team-img-wrapper::after {
    content: '';
    position: absolute;
    inset: 3px;
    background: var(--black);
    border-radius: 50%;
    z-index: -1;
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    position: relative;
    z-index: 2;
    border: 3px solid rgba(255, 255, 255, 0.1);
    transition: 0.4s;
}

.team-card:hover .team-img {
    border-color: var(--gold);
    transform: scale(1.05);
}

@keyframes neonSpin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Text Styling */
.team-role {
    display: block;
    color: var(--gold);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.team-name {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.team-msg {
    color: var(--text-muted);
    font-size: 14px;
    font-style: italic;
    line-height: 1.6;
    max-width: 90%;
    margin: 0 auto;
}

/* Testimonial Slider */
.testimonial-slider-container {
    position: relative;
    padding: 0 50px;
    /* Space for buttons */
}

.slider-track-overflow {
    overflow: hidden;
    width: 100%;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-out;
}

.testimonial-slide {
    flex: 0 0 33.333%;
    max-width: 33.333%;
    padding: 0 15px;
    /* Gutter */
}

/* Slider Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: var(--gold);
    color: var(--black);
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

.slider-dots {
    display: none;
    /* Only for mobile usually */
    text-align: center;
    margin-top: 20px;
}

.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
}

.dot.active {
    background: var(--gold);
}

/* Responsiveness */
@media (max-width: 1024px) {
    .testimonial-slide {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 768px) {
    .testimonial-slider-container {
        padding: 0;
    }

    .testimonial-slide {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .slider-btn {
        display: none;
    }

    .slider-dots {
        display: block;
    }
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 50px;
    color: #fff;
    cursor: pointer;
    z-index: 10000;
    transition: 0.3s;
    font-weight: 300;
    line-height: 1;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    color: var(--gold);
    transform: rotate(90deg);
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    animation: zoomIn 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .lightbox-close {
        top: 15px;
        right: 15px;
        font-size: 40px;
    }
    
    .lightbox-content {
        max-width: 95%;
        max-height: 85vh;
    }
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    filter: brightness(0.75);
    transform: scale(1.1);
}

.hero-slide.active {
    opacity: 1;
}