/* 
   Atlas Multimedia Productions (AMP) - Design System & Custom Stylesheet
   Theme: Premium Dark Mode with Green Energy Accents (Teal & Emerald)
   Fonts: Outfit (Headings) & Inter (Body)
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    /* Color Palette - Eco-Futurism */
    --bg-main: #020617;
    --bg-surface: #0f172a;
    --bg-surface-elevated: #1e293b;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(16, 185, 129, 0.3);
    
    --primary: #10b981;
    --primary-glow: rgba(16, 185, 129, 0.4);
    --secondary: #8b5cf6;
    --secondary-glow: rgba(139, 92, 246, 0.4);
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dark: #020617;
    
    /* Layout & Spacing */
    --header-height: 80px;
    --border-radius: 16px;
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    
    /* Plyr custom override variables */
    --plyr-color-main: #00f59b;
    --plyr-video-control-background-hover: #00d2ff;
    --plyr-video-control-color: #040a08;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utility Classes */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #1d4ed8 100%);
    color: #fff;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: rgba(37, 99, 235, 0.05);
    transform: translateY(-2px);
}

.section-padding {
    padding: 100px 0;
}

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

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

@media (max-width: 992px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }
    .section-padding {
        padding: 60px 0;
    }
}

/* Glassmorphism Card style */
.glass-card {
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.02), 0 8px 32px rgba(0, 0, 0, 0.3);
    border-radius: var(--border-radius);
    padding: 32px;
    transition: var(--transition);
}

.glass-card:hover {
    border-color: var(--primary-glow);
    transform: translateY(-8px);
    box-shadow: inset 0 0 20px rgba(16, 185, 129, 0.05), 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 20px var(--primary-glow);
}

/* Header & Navigation */
header {
    height: var(--header-height);
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: rgba(5, 11, 20, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(5, 11, 20, 0.95);
    border-bottom-color: rgba(37, 99, 235, 0.15);
}

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

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img, .logo-img-video {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.5px;
    color: #fff;
}

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

nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

nav ul li a {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.2px;
    opacity: 0.8;
}

nav ul li a:hover, nav ul li a.active {
    opacity: 1;
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background-color: #fff;
    transition: var(--transition);
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    nav {
        position: fixed;
        top: var(--header-height);
        left: 100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: var(--bg-main);
        transition: var(--transition);
        padding: 40px 24px;
        border-top: 1px solid var(--border-color);
    }
    
    nav.open {
        left: 0;
    }
    
    nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    
    nav ul li a {
        font-size: 1.2rem;
    }
}

/* Footer Section */
footer {
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 30px 0;
    color: var(--text-muted);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 64px;
    margin-bottom: 60px;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-desc {
    max-width: 380px;
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #fff;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary);
    color: var(--text-dark);
    transform: translateY(-3px);
}

.footer-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 24px;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.office-info {
    font-size: 0.9rem;
    line-height: 1.6;
}

.office-info strong {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* Home / Landing Hero Video Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    width: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

.hero-video-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(4,10,8,0.1) 0%, rgba(4,10,8,0.55) 50%, rgba(4,10,8,0.95) 100%);
    z-index: 2;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 20%;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    filter: brightness(1.15) contrast(1.05);
}

.hero-split-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 3;
    width: 100%;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-video-card-wrapper {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    position: relative;
    z-index: 3;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
    align-self: start;
    padding-top: 40px;
}

.hero-video-card {
    width: 100%;
    max-width: 380px;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid var(--primary);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 25px var(--primary-glow);
    background: #040a08;
    position: relative;
    transition: var(--transition);
}

.hero-video-card:hover {
    transform: scale(1.03) translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 50px var(--primary-glow);
}

.hero-logo-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #040a08;
}

@media (max-width: 992px) {
    .hero-split-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
        padding-top: 40px;
    }
    .hero-content {
        margin: 0 auto;
    }
    .hero p {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-ctas {
        justify-content: center;
    }
    .hero-video-card {
        max-width: 250px;
    }
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease forwards;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.75rem;
        letter-spacing: -1px;
    }
    .hero p {
        font-size: 1.05rem;
    }
    .hero-ctas {
        flex-direction: column;
    }
}

/* CSS Marquee - Slide Logos */
.marquee-section {
    background-color: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    padding: 30px 0;
    overflow: hidden;
}

.marquee-container {
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: 50px;
}

.marquee-content {
    flex-shrink: 0;
    display: flex;
    justify-content: space-around;
    min-width: 100%;
    gap: 50px;
    animation: scroll-marquee 25s linear infinite;
}

.marquee-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 65px;
    width: 190px;
}

.marquee-item img {
    height: 100%;
    width: auto;
    object-fit: contain;
    filter: grayscale(1) brightness(0.7) contrast(1.2);
    transition: var(--transition);
}

.marquee-item img:hover {
    filter: none;
    transform: scale(1.05);
}

@keyframes scroll-marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-100% - 50px));
    }
}

/* Stats / Counters Badge Section */
.counters-section {
    padding: 60px 0;
    background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-main) 100%);
    border-bottom: 1px solid var(--border-color);
}

.counters-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.counter-card h3 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.counter-card p {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .counters-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

/* Services Sections & Details */
.section-subtitle {
    font-family: 'Outfit', sans-serif;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.section-desc {
    max-width: 600px;
    margin: 0 auto 60px auto;
    color: var(--text-muted);
}

.service-card {
    position: relative;
    overflow: hidden;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
}

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

.service-card .learn-more {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-card .learn-more:hover {
    color: var(--secondary);
}

/* Portfolio Gallery Styles */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    color: var(--text-muted);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary);
    color: var(--text-dark);
    border-color: var(--primary);
    box-shadow: 0 4px 12px var(--primary-glow);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 60px;
}

@media (max-width: 992px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

.portfolio-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-8px);
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 12px 30px rgba(0,0,0,0.5);
}

.portfolio-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: #000;
}

.portfolio-thumb img,
.portfolio-thumb video,
.portfolio-thumb-video,
.portfolio-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-thumb img,
.portfolio-item:hover .portfolio-thumb video,
.portfolio-item:hover .portfolio-thumb-video,
.portfolio-item:hover .portfolio-thumb-img {
    transform: scale(1.05);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 12, 10, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    cursor: pointer;
}

.portfolio-item:hover .play-overlay {
    opacity: 1;
}

.play-btn-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 0 20px var(--primary-glow);
    transition: var(--transition);
}

.play-btn-circle:hover {
    transform: scale(1.1);
    background: var(--secondary);
    box-shadow: 0 0 20px var(--secondary-glow);
}

.portfolio-meta {
    padding: 24px;
}

.portfolio-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.tag {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    border-radius: 4px;
}

.portfolio-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.portfolio-client {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Custom Modal / Video Player Overlay */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    background: rgba(8, 12, 10, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    backdrop-filter: blur(15px);
}

.video-modal.open {
    display: flex;
    animation: fadeIn 0.4s ease forwards;
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 900px;
    background-color: var(--bg-surface);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
}

.close-modal {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-color);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: var(--transition);
}

.close-modal:hover {
    background: rgba(255, 50, 50, 0.2);
    color: rgb(255, 80, 80);
    border-color: rgba(255, 50, 50, 0.3);
}

.modal-video-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
}

.modal-info-panel {
    padding: 24px;
}

/* About Page & Equipment Styles */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

@media (max-width: 768px) {
    .about-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.about-img-box {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.about-img-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(8,12,10,0.8));
    z-index: 2;
}

.equipment-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.eq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width: 576px) {
    .eq-grid {
        grid-template-columns: 1fr;
    }
}

.eq-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: var(--border-radius);
}

.eq-card h4 {
    color: var(--primary);
    margin-bottom: 8px;
}

.eq-card ul {
    list-style: none;
}

.eq-card ul li {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.eq-card ul li::before {
    content: '•';
    color: var(--secondary);
}

/* Multi-step Quote Form Styles */
.form-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.form-progress::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--border-color);
    z-index: 1;
    transform: translateY(-50%);
}

.progress-step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-surface-elevated);
    border: 2px solid var(--border-color);
    color: var(--text-muted);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: var(--transition);
}

.progress-step.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--text-dark);
    box-shadow: 0 0 15px var(--primary-glow);
}

.progress-step.completed {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--text-dark);
    box-shadow: 0 0 15px var(--secondary-glow);
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.5s ease forwards;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 14px 20px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(37, 99, 235, 0.02);
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.1);
}

.form-control option {
    background-color: #0a1424;
    color: #fff;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 576px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (max-width: 576px) {
    .options-grid {
        grid-template-columns: 1fr;
    }
}

.option-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    cursor: pointer;
    transition: var(--transition);
    background: rgba(255,255,255,0.01);
}

.option-card:hover {
    border-color: var(--primary);
    background: rgba(37, 99, 235, 0.03);
}

.option-card.selected {
    border-color: var(--primary);
    background: rgba(37, 99, 235, 0.08);
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.15);
}

.option-card h4 {
    margin-bottom: 6px;
}

.option-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

/* Blog Layout */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

.blog-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: rgba(37, 99, 235, 0.2);
}

.blog-image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.03);
}

.blog-info {
    padding: 24px;
}

.blog-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.blog-title {
    font-size: 1.3rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.blog-excerpt {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.blog-read-more {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
}

.blog-read-more:hover {
    color: var(--secondary);
}

/* Language Switcher Styling */
.lang-switcher {
    position: relative;
    display: inline-block;
    margin-left: 20px;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.lang-btn:hover {
    border-color: var(--primary);
    background: rgba(37, 99, 235, 0.08);
}

.lang-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    min-width: 120px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    z-index: 1001;
    overflow: hidden;
}

.lang-dropdown.show {
    display: block;
}

.lang-dropdown a {
    display: block;
    padding: 10px 16px;
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.lang-dropdown a:hover {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
}

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

/* RTL layout adjustments (Arabic) */
html[dir="rtl"] {
    font-family: 'Cairo', sans-serif;
}

html[dir="rtl"] body {
    text-align: right;
}

html[dir="rtl"] nav {
    left: auto;
    right: 100%;
}

html[dir="rtl"] nav.open {
    left: auto;
    right: 0;
}

html[dir="rtl"] nav ul {
    align-items: flex-start;
}

@media (min-width: 769px) {
    html[dir="rtl"] nav ul {
        flex-direction: row-reverse;
    }
}

html[dir="rtl"] .logo-wrapper {
    flex-direction: row;
}

html[dir="rtl"] .hero-ctas {
    flex-direction: row-reverse;
}

html[dir="rtl"] .about-split {
    direction: rtl;
}

html[dir="rtl"] .grid-3, html[dir="rtl"] .counters-grid, html[dir="rtl"] .footer-grid {
    direction: rtl;
}

html[dir="rtl"] .footer-socials {
    flex-direction: row-reverse;
}

html[dir="rtl"] .lang-switcher {
    margin-left: 0;
    margin-right: 20px;
}

html[dir="rtl"] .lang-dropdown {
    right: auto;
    left: 0;
}

html[dir="rtl"] .ar-font {
    font-family: 'Cairo', sans-serif;
}

html[dir="rtl"] .btn i {
    transform: scaleX(-1);
    margin-left: 0 !important;
    margin-right: 8px !important;
}

html[dir="rtl"] .learn-more i {
    transform: scaleX(-1);
    margin-left: 8px !important;
}

html[dir="rtl"] .blog-read-more i {
    transform: scaleX(-1);
    margin-left: 8px !important;
}

/* Custom Chatbot Widget */
.chatbot-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 2000;
    font-family: 'Inter', sans-serif;
}

html[dir="rtl"] .chatbot-widget {
    right: auto;
    left: 30px;
}

.chat-bubble {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, #1d4ed8 100%);
    box-shadow: 0 4px 20px var(--primary-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.chat-bubble:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 24px rgba(37, 99, 235, 0.7);
}

.chat-window {
    display: none;
    width: 380px;
    height: 520px;
    background: rgba(10, 20, 36, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.6);
    flex-direction: column;
    overflow: hidden;
    position: absolute;
    bottom: 80px;
    right: 0;
    transition: var(--transition);
    transform: translateY(20px);
    opacity: 0;
}

html[dir="rtl"] .chat-window {
    right: auto;
    left: 0;
}

.chat-window.open {
    display: flex;
    transform: translateY(0);
    opacity: 1;
}

.chat-header {
    background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-surface-elevated) 100%);
    border-bottom: 1px solid var(--border-color);
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.chat-title h4 {
    font-size: 0.95rem;
    font-weight: 700;
}

.chat-title span {
    font-size: 0.75rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 4px;
}

.chat-title span::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
}

.chat-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
}

.chat-close:hover {
    color: #fff;
}

.chat-messages {
    flex-grow: 1;
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.1) transparent;
}

.chat-msg {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.85rem;
    line-height: 1.4;
}

.chat-msg.bot {
    background: var(--bg-surface-elevated);
    color: var(--text-main);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
    border: 1px solid var(--border-color);
}

.chat-msg.user {
    background: var(--primary);
    color: var(--text-dark);
    align-self: flex-end;
    border-bottom-right-radius: 2px;
    font-weight: 500;
}

.chat-suggested {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid var(--border-color);
    background: rgba(0,0,0,0.2);
}

.chat-btn-suggest {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
}

.chat-btn-suggest:hover {
    border-color: var(--primary);
    color: #fff;
    background: rgba(37, 99, 235, 0.05);
}

.chat-input-area {
    padding: 12px 16px;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 10px;
    background: var(--bg-surface);
}

.chat-input {
    flex-grow: 1;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 8px 16px;
    color: #fff;
    font-size: 0.85rem;
    outline: none;
    transition: var(--transition);
}

.chat-input:focus {
    border-color: var(--primary);
}

.chat-send {
    background: var(--primary);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}


/* Portfolio Video Modal Styles (Full Screen Lightbox) */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.video-modal.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal-content {
    background: #000;
    border: none;
    border-radius: 0;
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.close-modal {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1000000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.close-modal:hover {
    background: var(--primary);
    color: var(--text-dark);
    transform: scale(1.15) rotate(90deg);
}

.modal-video-wrapper {
    width: 100vw;
    height: 100vh;
    background: #000;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-video-wrapper video,
.modal-video-wrapper iframe {
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    border: none;
    object-fit: contain;
    background: #000;
}

/* Native Fullscreen Enhancements */
:fullscreen, :-webkit-full-screen, :-moz-full-screen {
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    background: #000 !important;
    border-radius: 0 !important;
    border: none !important;
}

:fullscreen video, :-webkit-full-screen video, :-moz-full-screen video,
:fullscreen iframe, :-webkit-full-screen iframe, :-moz-full-screen iframe {
    width: 100vw !important;
    height: 100vh !important;
    object-fit: contain !important;
}

.modal-info-panel {
    padding: 20px 24px;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
}

.portfolio-item {
    cursor: pointer;
    position: relative;
}

.portfolio-thumb-video,
.portfolio-thumb-img,
.play-overlay,
.play-btn-circle,
.portfolio-meta {
    pointer-events: none;
}
/* --- GATED CONTENT STYLES --- */
.gated-content-wrapper {
    position: relative;
    margin-top: 30px;
}
.gated-content-wrapper.locked .gated-content {
    filter: blur(8px);
    user-select: none;
    pointer-events: none;
    opacity: 0.6;
}
.gate-overlay {
    display: none;
}
.gated-content-wrapper.locked .gate-overlay {
    display: flex;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 600px;
    z-index: 10;
    flex-direction: column;
}
.gate-form-container {
    background: var(--bg-surface-elevated);
    padding: 30px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    text-align: center;
}
.gate-form-container h3 {
    margin-bottom: 15px;
    color: var(--text-color);
}
.gate-form-container p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}
.type-toggle {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
}
.type-btn {
    padding: 8px 20px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    cursor: pointer;
    color: var(--text-muted);
    font-weight: 500;
    transition: var(--transition);
}
.type-btn.active {
    background: var(--primary);
    color: #050807;
    border-color: var(--primary);
}
.form-section {
    display: none;
    text-align: left;
}
.form-section.active {
    display: block;
}
.gate-form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}
.gate-form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}
.gate-form-container .form-control {
    width: 100%;
    margin-bottom: 15px;
}
.gate-submit {
    width: 100%;
    margin-top: 10px;
}
