/* ====================================
   CSS Variables
   ==================================== */
:root {
    --primary-color: #1a237e;
    --secondary-color: #d4af37;
    --text-color: #333333;
    --light-gray: #f5f5f5;
    --dark-gray: #262626;
    --white: #ffffff;
    --main-font: 'Montserrat', Arial, sans-serif;
}

/* ====================================
   Reset & Base
   ==================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--main-font);
    color: var(--text-color);
    line-height: 1.6;
    font-size: 15px;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

html {
    overflow-x: hidden;
    max-width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* ====================================
   Top Bar
   ==================================== */
.top-bar {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.slogan {
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--secondary-color);
}

.social-links a {
    color: var(--secondary-color);
    margin-left: 15px;
    font-size: 18px;
}

.social-links a:hover {
    color: var(--white);
}

/* ====================================
   Header
   ==================================== */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 20px;
    gap: 16px !important;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.logo img {
    height: 110px;
    width: auto;
    max-width: 110px;
    flex-shrink: 0;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

/* Main Menu */
.main-menu {
    flex: 1;
    display: flex;
    justify-content: center;
    min-width: 0;
}

.main-menu ul,
.header .nav-menu {
    display: flex;
    list-style: none;
    gap: 10px;
    margin: 0;
    padding: 0;
    align-items: center;
    flex-wrap: nowrap;
}

.main-menu li {
    margin: 0;
    padding: 0;
}

.main-menu a {
    text-transform: uppercase;
    font-weight: 600;
    font-size: 12px;
    padding: 10px 3px;
    position: relative;
    color: var(--primary-color);
    white-space: nowrap;
    display: inline-block;
}

.main-menu a:hover,
.main-menu a.active {
    color: var(--secondary-color);
}

.main-menu a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.main-menu a:hover::after,
.main-menu a.active::after {
    width: 100%;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown > a i {
    font-size: 10px;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.dropdown:hover > a i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    border-radius: 8px;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--primary-color);
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 600;
    transition: all 0.3s ease;
}

.dropdown-menu a::after {
    display: none;
}

.dropdown-menu a:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding-left: 25px;
}

/* Apply Button */
.btn-apply {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 12px 28px;
    border-radius: 200px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
    display: inline-block;
    line-height: 1;
}

.btn-apply:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    padding: 10px 26px;
}

.btn-apply.mobile-only {
    display: none;
}

.btn-apply.desktop-only {
    display: inline-block;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary-color);
    cursor: pointer;
    flex-shrink: 0;
}

/* Menu Overlay */
.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ====================================
   Hero Slider with Video
   ==================================== */
.hero-slider {
    position: relative;
    height: 700px;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(26, 35, 126, 0.5), rgba(26, 35, 126, 0.7));
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    width: 95%;
    max-width: 900px;
}

.center-text h2 {
    font-size: 21px;
    font-weight: 600;
    text-transform: uppercase;
    border-bottom: 3px solid var(--secondary-color);
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.center-text h1 {
    font-size: 82px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 10px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    color: var(--white);
}

.center-text h3 {
    font-size: 35px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--white);
}

.center-text .year {
    font-size: 33px;
    font-weight: 900;
    color: var(--primary-color);
    background-color: var(--secondary-color);
    display: inline-block;
    padding: 10px 30px;
    margin-bottom: 15px;
    border-radius: 10px;
}

.center-text .subtitle {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 25px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
    color: var(--secondary-color);
}

.slide-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--secondary-color);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background-color 0.3s;
    border: 2px solid var(--secondary-color);
}

.dot.active,
.dot:hover {
    background-color: var(--secondary-color);
}

/* ====================================
   About Intro
   ==================================== */
.about-intro {
    background: linear-gradient(135deg, var(--primary-color) 0%, #283593 100%);
    padding: 60px 20px;
    text-align: center;
}

.about-intro .icon {
    font-size: 60px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.about-intro h2 {
    font-size: 30px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.about-intro h4 {
    font-size: 21px;
    font-weight: 500;
    color: var(--secondary-color);
}

/* ====================================
   Info Sections
   ==================================== */
.info-section {
    padding: 80px 20px;
    background-color: var(--white);
}

.info-section:nth-child(even) {
    background-color: var(--light-gray);
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: var(--secondary-color);
}

/* Who We Are - Static Image */
.who-static-image {
    margin-bottom: 30px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.who-static-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Who We Are - Content */
.who-content {
    max-width: 900px;
    margin: 0 auto 50px;
    text-align: center;
    padding: 0 20px;
}

.who-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-color);
}

/* Who We Are - Slider - UPDATED FOR BETTER MOBILE & DESKTOP */
.who-slider {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    background-color: var(--primary-color);
    max-width: 900px;
    margin: 0 auto 50px;
    height: 600px; /* تقليل الارتفاع على الديسكتوب */
}

.who-slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.who-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s ease-in-out, visibility 0s 1.2s; /* تبطيء الانتقال */
    z-index: 1;
}

.who-slide.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 1.2s ease-in-out, visibility 0s 0s;
    z-index: 2;
}

.who-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.who-slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.who-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid var(--secondary-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.who-dot:hover,
.who-dot.active {
    background-color: var(--secondary-color);
    transform: scale(1.3);
    box-shadow: 0 0 10px var(--secondary-color);
}

/* Who We Are - Features */
.who-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--light-gray);
    border-radius: 10px;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: var(--secondary-color);
    background-color: var(--white);
}

.feature-item i {
    font-size: 45px;
    color: var(--secondary-color);
    margin-bottom: 15px;
    display: block;
    transition: all 0.3s ease;
}

.feature-item:hover i {
    transform: scale(1.1);
    color: var(--primary-color);
}

.feature-item h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
}

/* ====================================
   Location Section
   ==================================== */
.location-section .info-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.info-text {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.info-text h2 {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.location-details {
    margin-top: 30px;
}

.location-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background-color: var(--light-gray);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.location-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
}

.location-item i {
    font-size: 28px;
    color: var(--secondary-color);
    min-width: 30px;
}

.location-item h4 {
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.location-item p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
}

/* Map Container */
.map-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    background-color: var(--light-gray);
    min-height: 500px;
    width: 100%;
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 500px;
}

.map-container:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

/* ====================================
   Footer
   ==================================== */
.footer-widgets {
    background-color: var(--primary-color);
    padding: 50px 20px;
}

.footer-widgets .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col h4 {
    color: var(--secondary-color);
    font-size: 27px;
    font-weight: 900;
    margin-bottom: 20px;
}

.footer-col p {
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 18px;
}

.social-icons a:hover {
    background-color: var(--white);
    transform: scale(1.1);
}

.footer-bottom {
    background-color: #0d1647;
    color: var(--white);
    padding: 20px;
    text-align: center;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-social a {
    color: var(--secondary-color);
    margin-left: 15px;
    font-size: 18px;
}

.footer-social a:hover {
    color: var(--white);
}

/* ====================================
   Scroll Animations
   ==================================== */
.scroll-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.about-intro .icon.scroll-animate {
    transform: scale(0) rotate(-180deg);
    transition: all 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.about-intro .icon.scroll-animate.animate-in {
    transform: scale(1) rotate(0deg);
}

/* ====================================
   Back to Top Button - UPDATED FOR MOBILE
   ==================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-5px);
}

/* ====================================
   Back to Home Button (Mobile Only)
   ==================================== */
.back-to-home {
    position: fixed;
    bottom: 30px;
    right: 90px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    width: 50px;
    height: 50px;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 999;
}

.back-to-home.show {
    opacity: 1;
    visibility: visible;
}

.back-to-home:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-5px);
}

/* ====================================
   RESPONSIVE DESIGN
   ==================================== */

/* Tablet + laptop: collapse menu so header does not overflow */
@media (max-width: 1200px) {
    .btn-apply.desktop-only {
        display: none !important;
    }
    
    .btn-apply.mobile-only {
        display: block !important;
        margin: 20px;
        text-align: center;
        width: calc(100% - 40px);
    }
    
    .mobile-menu-toggle {
        display: block !important;
        z-index: 1001;
    }
    
    .header .main-menu,
    .main-menu {
        position: fixed !important;
        top: 0;
        left: -100% !important;
        width: 280px !important;
        height: 100vh !important;
        background-color: var(--white);
        box-shadow: 2px 0 10px rgba(0,0,0,0.3);
        transition: left 0.3s ease, right 0.3s ease;
        z-index: 999;
        overflow-y: auto;
        padding-top: 80px;
        display: block !important;
        flex: none;
    }
    
    .header .main-menu.active,
    .main-menu.active {
        left: 0 !important;
    }
    
    .main-menu ul,
    .header .nav-menu {
        flex-direction: column;
        gap: 0 !important;
        width: 100%;
    }
    
    .main-menu li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }
    
    .main-menu a {
        display: block;
        padding: 15px 20px;
        width: 100%;
        font-size: 14px;
    }
}

/* Tablet */
@media (max-width: 1024px) {
    .btn-apply.desktop-only {
        display: none;
    }
    
    .btn-apply.mobile-only {
        display: block;
        margin: 20px;
        text-align: center;
        width: calc(100% - 40px);
    }
    
    .mobile-menu-toggle {
        display: block;
        z-index: 1001;
    }
    
    .main-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--white);
        box-shadow: 2px 0 10px rgba(0,0,0,0.3);
        transition: left 0.3s ease;
        z-index: 999;
        overflow-y: auto;
        padding-top: 80px;
        display: block;
    }
    
    .main-menu.active {
        left: 0;
    }
    
    .main-menu ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }
    
    .main-menu li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }
    
    .main-menu a {
        display: block;
        padding: 15px 20px;
        width: 100%;
    }
    
    .main-menu a:hover {
        background-color: var(--light-gray);
    }
    
    /* FIXED: Dropdown في الموبايل - مخفي افتراضياً */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--light-gray);
        display: none; /* مخفي افتراضياً */
        padding: 0;
        border-radius: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    /* يظهر فقط عند إضافة active class */
    .dropdown.active .dropdown-menu {
        display: block;
        max-height: 300px;
    }
    
    .dropdown-menu li {
        border-bottom: 1px solid #ddd;
    }
    
    .dropdown-menu a {
        padding: 12px 20px 12px 40px;
        font-size: 14px;
    }
    
    .who-features,
    .footer-widgets .container {
        grid-template-columns: 1fr;
    }
    
    .location-section .info-content {
        grid-template-columns: 1fr;
    }
    
    .who-slider {
        height: 500px; /* تصغير على التابلت */
    }
}

/* Mobile */
@media (max-width: 768px) {
    .top-bar {
        padding: 8px 0;
    }
    
    .top-bar .container {
        padding: 0 15px;
        gap: 10px;
    }
    
    .slogan {
        font-size: 9px;
        white-space: normal;
        line-height: 1.3;
        max-width: 58%;
    }
    
    .social-links {
        display: flex;
        gap: 5px;
        align-items: center;
    }
    
    .social-links a {
        font-size: 17px;
        margin-left: 0;
        width: 34px;
        height: 34px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .header .container {
        padding: 5px 10px;
    }
    
    .logo img {
        height: 70px;
        max-width: none !important;
    }
    
    .mobile-menu-toggle {
        font-size: 22px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .hero-slider {
        height: 100vh;
        min-height: 500px;
    }
    
    .center-text h1 {
        font-size: 50px;
    }
    
    .center-text h2 {
        font-size: 18px;
    }
    
    .center-text h3 {
        font-size: 25px;
    }
    
    .center-text .year {
        font-size: 24px;
    }
    
    /* UPDATED: تحسين السلايدر على الموبايل */
    .who-slider {
        height: 400px; /* ارتفاع معقول على الموبايل */
        margin-bottom: 30px;
    }
    
    .who-slider-dots {
        bottom: 15px;
    }
    
    .who-dot {
        width: 12px;
        height: 12px;
    }
    
    .map-container,
    .map-container iframe {
        min-height: 350px;
    }
    
    .info-section {
        padding: 40px 15px;
    }
    
    .footer-bottom .container {
        flex-direction: column;
        gap: 15px;
    }
    
    /* UPDATED: Back to Top & Back to Home على الموبايل */
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .back-to-home {
        display: flex;
        bottom: 75px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-slider {
        height: 400px;
    }
    
    .center-text h1 {
        font-size: 36px;
    }
    
    .center-text h2 {
        font-size: 14px;
    }
    
    .center-text h3 {
        font-size: 18px;
    }
    
    .center-text .year {
        font-size: 20px;
        padding: 8px 20px;
    }
    
    .who-slider {
        height: 350px;
    }
    
    .slide-buttons {
        flex-direction: column;
    }
    
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .scroll-animate,
    * {
        transition: none !important;
        animation: none !important;
    }
}
/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.95);
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: var(--secondary-color);
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    background: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.lightbox-close:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: rotate(90deg);
}