/* إعادة ضبط الأساسيات */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* الألوان الرئيسية - أزرق وأخضر */
    --primary-blue: #1a365d;
    --secondary-blue: #2d50a1;
    --primary-green: #2e7d32;
    --secondary-green: #4caf50;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --gray-color: #6c757d;
    --gold-color: #4caf50;
    
    /* الظلال */
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 20px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Noto Sans Arabic', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #fff;
    text-align: right;
    direction: rtl;
}

body::selection {
    color: var(--light-color);
    background-color: var(--secondary-green); 
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* شريط التنقل */
.navbar {
    background-color: white;
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    flex-direction: row-reverse;
    gap: -10px ;
    align-items: center;
}

.logo img {
    width: 100px;
}

.logo span {
    color: var(--primary-green);
    font-size: 0.7rem;
    padding: 0 10px;
}

.nav-links {
    display: flex;
    list-style: none;
    flex-direction: row-reverse;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 600;
    transition: color 0.3s;
    font-size: 1.1rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-green);
}

/* mobile select nav (hidden on desktop) */
.nav-select {
    font-family: 'Noto Sans Arabic', sans-serif;
    font-size: 1rem;
    text-align: center;
    display: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 12px 14px 12px 14px; /* adjusted for RTL */
    border-radius: 10px;
    font-weight: 600;
    background: #ffffff; /* clean form control */
    color: var(--dark-color);
    border: 1px solid rgba(26,54,93,0.08);
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: box-shadow 0.18s ease-in-out, transform 0.08s;
    max-width: 200px ;
    margin: 10px;
}

.nav-select:hover , .nav-select:active {
    transform: translateY(-1px);
    color: var(--primary-green);
}

.nav-select option {
    font-weight: 600;
    background: #ffffff; /* clean form control */
    color: var(--dark-color);
    border: 10px solid var(--gray-color) !important;
    cursor: pointer;
}

.nav-select option:focus {
    background: var(--secondary-blue); /* clean form control */
    color: var(--gray-color);
}

/* show select and hide links on small screens */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-select { display: block; width: 100%; }
}

.phone {
    display: flex;
    align-items: center;
    color: var(--primary-blue);
    font-weight: 600;
}

.phone i {
    margin-left: 8px;
    color: var(--primary-green);
}

/* Language switch buttons */
.lang-switch {
    display: flex;
    gap: 8px;
    align-items: center;
}

.lang-btn {
    background: transparent;
    border: 1px solid rgba(0,0,0,0.08);
    padding: 6px 10px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.18s ease-in-out;
    color: var(--dark-color);
    background-clip: padding-box;
}

.lang-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.lang-btn.active {
    background: var(--primary-green);
    color: #fff;
    border-color: var(--primary-green);
    box-shadow: 0 6px 18px rgba(46,125,50,0.18);
}

@media (max-width: 768px) {
    .lang-btn {
        padding: 6px 8px;
        font-size: 0.9rem;
    }
    .lang-switch { margin-left: 10px; }
}

/* keyboard focus visibility */
.nav-select:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(46,125,50,0.12); }

/* القسم الرئيسي - Hero */
.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    padding: 180px 0 100px;
    margin-top: 80px;
    text-align: center;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--gold-color);
}

.hero-content h1 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-right: auto;
    margin-left: auto;
    opacity: 0.9;
}

.project-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.project-stat {
    text-align: center;
}

.project-stat h3 {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 5px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.btn-primary, .btn-secondary {
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-green);
    color: white;
    border: 2px solid var(--primary-green);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-green);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--primary-blue);
}

.cta-lead {
    position: relative;
    padding: 15px 35px !important;
}

.cta-lead small {
    display: block;
    font-size: 0.8rem;
    margin-top: 5px;
    opacity: 0.9;
    font-weight: normal;
}

/* قسم الإحصائيات */
.stats-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    padding: 60px 0;
    margin: 40px 0;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-box {
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s;
}

.stat-box:hover {
    transform: translateY(-5px);
}

.stat-box h3 {
    font-size: 3rem;
    color: var(--gold-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.stat-box p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* قسم المشاريع */
.projects {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary-blue);
    margin-bottom: 50px;
    position: relative;
}

.section-title.new {
    margin-top: 50px;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-green), var(--secondary-green));
    bottom: -15px;
    right: 50%;
    transform: translateX(50%);
    border-radius: 2px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
}


.service-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon i {
    font-size: 2.5rem;
    color: white;
}

.service-card h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.service-card > p {
    color: var(--gray-color);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* project media styles */
.project-media {
    display: grid;
    gap: 12px;
    margin-bottom: 14px;
}

.project-photo {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    box-shadow: var(--shadow);
}

.video-frame {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #0b1220;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(0,0,0,0));
    pointer-events: none;
}

.project-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    display: block;
    background: #000;
}

.service-card:hover .video-frame {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.project-details p {
    margin: 5px 5px;
    display: inline;
}

/* قسم من نحن */
.about {
    padding: 80px 0;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    color: var(--primary-blue);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.about-text > p {
    color: var(--gray-color);
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.8;
}

.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.feature {
    background: var(--light-color);
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature i {
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.feature h4 {
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.feature p {
    color: var(--gray-color);
    font-size: 0.95rem;
}

.about-image {
    flex: 1;
    height: 80vh;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.about-image:hover {
    transform: translateY(-5px);
}

.our-project-photo {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
    display: block;
}

/* قسم شهادات العملاء */
.testimonials {
    padding: 80px 0;
    background-color: var(--light-color);
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin: 20px;
    text-align: center;
    position: relative;
}

.testimonial:before {
    content: '"';
    font-size: 80px;
    color: var(--primary-green);
    opacity: 0.2;
    position: absolute;
    top: 10px;
    right: 30px;
}

.testimonial p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.testimonial h4 {
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.testimonial span {
    color: var(--gray-color);
    font-size: 0.9rem;
}

/* قسم الخدمات */
.services {
    background-color: var(--light-color);
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card ul {
    list-style: none;
    text-align: right;
    margin-top: 15px;
}

.service-card li {
    padding: 8px 0;
    color: var(--dark-color);
    position: relative;
    padding-right: 20px;
}

.service-card li::before {
    content: "✓";
    position: absolute;
    right: 0;
    color: var(--primary-green);
    font-weight: bold;
}

/* قسم الاتصال */
.contact {
    padding: 80px 0;
}

.contact-content {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    color: var(--primary-blue);
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.info-item-container {
    flex: 1;
}

.info-item {
    display: flex;
    align-items: flex-start;
    flex-direction: row;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-green);
    margin-left: 15px;
    margin-top: 5px;
}

.info-item h4 {
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.info-item p {
    color: var(--gray-color);
}

.whatsapp-contact {
    margin-top: 30px;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #25D366;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
}

.whatsapp-btn i {
    margin-left: 8px;
    font-size: 1.2rem;
}

.contact-form {
    flex: 1;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-form h3 {
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Noto Sans Arabic', sans-serif;
    font-size: 1rem;
    transition: border 0.3s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-green);
}

.contact-form button {
    align-self: flex-start;
    margin-top: 10px;
}

.form-note {
    text-align: center;
    margin-top: 15px;
    color: var(--primary-green);
    font-weight: 600;
}

.whats-why {
    margin-top: 30px;
}

.whats-why h4 {
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.whats-why ul {
    list-style: none;
    margin-top: 15px;
}

.whats-why li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.whats-why li i {
    color: var(--primary-green);
    margin-left: 10px;
}

/* الفوتر */
footer {
    background-color: var(--primary-blue);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: white;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: white;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact i {
    margin-left: 10px;
    color: var(--primary-green);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s;
    position: relative;
    animation: pulse 2s infinite;
}

.floating-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-green);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
    transition: all 0.3s;
    position: relative;
}

.floating-whatsapp:hover,
.floating-phone:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.floating-whatsapp i,
.floating-phone i {
    font-size: 1.5rem;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* التجاوبية */
@media (max-width: 992px) {
    .logo span {
        display: none;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }

    .info-item-container {
        flex-direction: column !important;
    }
}

@media (max-width: 768px) {
    .navbar .container {
        padding: 15px;
    }

    .nav-links {
        margin-top: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-links li {
        margin: 5px 15px;
    }
    
    .hero {
        padding: 150px 0 70px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .services-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-photo {
        height: 260px;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .floating-buttons {
        bottom: 20px;
        left: 20px;
    }
    
    .floating-whatsapp,
    .floating-phone {
        width: 50px;
        height: 50px;
    }
    
    .floating-whatsapp i,
    .floating-phone i {
        font-size: 1.2rem;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonial {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .project-stats {
        flex-direction: column;
        gap: 20px;
    }
}

/* Direction overrides for LTR languages */
html[dir="ltr"] {
    direction: ltr;
}

html[dir="ltr"] body {
    text-align: left;
}

html[dir="ltr"] .nav-links {
    flex-direction: row-reverse;
}

html[dir="ltr"] .nav-links li {
    margin-left: 0;
    margin-right: 30px;
}

html[dir="ltr"] .logo {
    gap: 10px;
}



html[dir="ltr"] .phone i {
    margin-left: 0;
    margin-right: 8px;
}

html[dir="ltr"] .about-content {
    direction: ltr;
}

html[dir="ltr"] .info-item-container {
    justify-content: space-between;
}

html[dir="ltr"] .info-item i {
    margin-left: 0;
    margin-right: 15px;
}

html[dir="ltr"] .service-card ul {
    text-align: left;
}

html[dir="ltr"] .service-card li {
    padding-right: 0;
    padding-left: 20px;
}

html[dir="ltr"] .service-card li::before {
    right: auto;
    left: 0;
}

html[dir="ltr"] .section-title::after {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
}

html[dir="ltr"] .service-card .project-details {
 direction: ltr;
}

html[dir="ltr"] .floating-buttons {
    left: auto;
    right: 30px;
}

html[dir="ltr"] .floating-whatsapp span,
html[dir="ltr"] .floating-phone span {
    right: auto;
    left: 70px;
}

html[dir="ltr"] .contact-content {
    direction: ltr;
}

html[dir="ltr"] .contact-info .whats-why div {
    direction: ltr;
}

html[dir="ltr"] .contact-info .whats-why i {
    margin-right: 10px;
    margin-left: 0;
}

html[dir="ltr"] .contact-form form input {
    text-align: left;
}

html[dir="ltr"] .contact-form form select {
    direction: ltr;
}

html[dir="ltr"] .contact-form form textarea {
    text-align: left;
}

html[dir="ltr"] .nav-select {
    direction: ltr;
    text-align: center;
}

html[dir="ltr"] .testimonial:before {
    right: auto;
    left: 30px;
}

html[dir="ltr"] .testimonial {
    direction: ltr;
}

html[dir="ltr"] .project-details p {
    text-align: left;
}

html[dir="ltr"] .footer-content {
    direction: ltr;
}

html[dir="ltr"] .footer-contact p {
    gap: 10px;
}

@media (max-width: 768px) {
    html[dir="ltr"] .nav-links li {
        margin: 5px 15px;
    }
}

/***********************************/

/* أنماط للرسوم المتحركة */
.animate-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* شريط التنقل عند التمرير */
.navbar.scrolled {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
}

/* تحميل الصور */
img.loaded {
    opacity: 1;
    transition: opacity 0.3s ease-in;
}

/* Video Lightbox Styles */
.video-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-in-out;
}

.video-lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    background: rgba(11, 18, 32, 0.98);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    animation: scaleIn 0.3s ease-in-out;
}

.lightbox-video {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    background: #000;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2001;
    backdrop-filter: blur(10px);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.lightbox-close i {
    color: white;
}

/* Play button on video */
.video-frame {
    cursor: pointer;
    position: relative;
}

.video-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: 12px;
    z-index: 1;
}

.video-frame:hover::before {
    opacity: 1;
}

.video-frame .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(46, 125, 50, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
    pointer-events: none;
}

.video-frame:hover .play-button {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-frame .play-button i {
    color: white;
    font-size: 1.8rem;
    margin-left: 8px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Mobile responsiveness for lightbox */
@media (max-width: 768px) {
    .lightbox-content {
        width: 95%;
        max-height: 80vh;
    }
    
    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .video-frame .play-button {
        width: 50px;
        height: 50px;
    }
    
    .video-frame .play-button i {
        font-size: 1.2rem;
    }
}

