/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

body {
    font-family: 'Cairo', 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand h1 {
    color: #2c5aa0;
    font-size: 1.8rem;
    font-weight: 600;
}

.nav-brand i {
    margin-right: 0.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #2c5aa0;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}



/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: 80px;
}

.hero-carousel {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    max-height: 700px;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-slide .hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-slide .hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 90, 160, 0.7), rgba(102, 126, 234, 0.5));
    z-index: 1;
}

.hero-slide .hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    color: white;
    width: 100%;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 107, 107, 0.9);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.95;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
    max-width: 600px;
}

.hero-features {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.hero-features span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

.hero-features i {
    color: #ff6b6b;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Navigation Arrows */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.hero-prev {
    left: 2rem;
}

.hero-next {
    right: 2rem;
}

/* Slide Indicators */
.hero-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    outline: none;
}

.indicator.active,
.indicator:hover {
    background: white;
    border-color: white;
    transform: scale(1.2);
}

/* Welcome Section */
.welcome-section {
    background: white;
    padding: 4rem 0;
}

.welcome-content {
    text-align: center;
}

.welcome-content h2 {
    font-size: 2.5rem;
    color: #2c5aa0;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.welcome-content p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Availability Search Card */
.availability-search-card {
    width: 100%;
    margin: 0;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.search-card-header {
    background: linear-gradient(135deg, #2c5aa0, #667eea);
    color: white;
    padding: 1.2rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    backdrop-filter: blur(10px);
    flex-shrink: 0;
}

.search-card-header h3 {
    font-size: 1.5rem;
    margin: 0;
    font-weight: 600;
}

.search-card-content {
    padding: 1.5rem;
}

.rental-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-left: 4px solid #ff6b6b;
}

.info-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.info-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}

.info-text {
    flex: 1;
    min-width: 0;
}

.info-text strong {
    display: block;
    color: #2c5aa0;
    font-size: 1rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
    line-height: 1.3;
}

.info-text span {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
    display: block;
}

.search-card-action {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

.btn-large {
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.8rem;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

.btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

.search-note {
    color: #666;
    font-size: 0.85rem;
    margin: 0;
    opacity: 0.8;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #ff6b6b;
    color: white;
}

.btn-primary:hover {
    background: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 107, 107, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #2c5aa0;
    border: 2px solid #2c5aa0;
}

.btn-outline:hover {
    background: #2c5aa0;
    color: white;
}

.btn-whatsapp {
    background: #25d366;
    color: white;
}

.btn-whatsapp:hover {
    background: #128c7e;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 3rem;
    color: #2c5aa0;
}

/* Services Section */
.services-section {
    background: white;
    padding: 4rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.service-item:hover {
    background: #e9ecef;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.service-icon i {
    font-size: 1.8rem;
    color: white;
}

.service-item h3 {
    font-size: 1.4rem;
    margin-bottom: 0;
    color: #2c5aa0;
    font-weight: 600;
    text-align: center;
    width: 100%;
}

.service-content {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    width: 100%;
}

.service-item p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    text-align: left;
    margin: 0;
    flex: 1;
}

/* Apartment Types */
.apartment-types {
    background: #f8f9fa;
}

.apartments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.apartment-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.apartment-card:hover {
    transform: translateY(-10px);
}

.apartment-image {
    height: 250px;
    overflow: hidden;
}

.apartment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.apartment-card:hover .apartment-image img {
    transform: scale(1.1);
}

.apartment-info {
    padding: 2rem;
}

.apartment-info h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #2c5aa0;
}

.apartment-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.apartment-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.apartment-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #666;
}

.apartment-features i {
    color: #ff6b6b;
    width: 20px;
}

.apartment-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    color: white;
    text-align: center;
    padding: 60px 0;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #ff6b6b;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ff6b6b;
}

.footer-section p {
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

.footer-section p i {
    margin-right: 0.5rem;
    width: 18px;
    text-align: center;
}

.social-links {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #333;
    color: #ccc;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-links a:hover {
    background: #ff6b6b;
    color: white;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #ccc;
}

.footer-keywords {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #333;
}

.keywords-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.keywords-container a {
    display: block;
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    padding: 0.2rem 0;
    line-height: 1.4;
}

.keywords-container a:hover {
    color: #ff6b6b;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #2c5aa0, #667eea);
    color: white;
    padding: 120px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Apartment Detail Pages */
.apartments-detail {
    padding: 60px 0;
}

.apartment-detail {
    margin-bottom: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid #eee;
}

.apartment-detail:last-child {
    border-bottom: none;
}

.apartment-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.apartment-images .main-image {
    margin-bottom: 1rem;
}

.apartment-images .main-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
}

.thumbnail-images {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.thumbnail-images img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.thumbnail-images img:hover {
    opacity: 0.8;
}

.apartment-info {
    margin-top: 0;
    padding-top: 0;
}

.apartment-info h2 {
    font-size: 2rem;
    color: #2c5aa0;
    margin-bottom: 1rem;
    margin-top: 0;
    padding-top: 0;
    line-height: 1.2;
}

.apartment-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.apartment-features h3 {
    font-size: 1.3rem;
    color: #2c5aa0;
    margin-bottom: 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.feature-item i {
    color: #ff6b6b;
    width: 20px;
}

/* Contact section in nav menu */
.nav-contact {
    display: none;
    margin-top: 0.2rem;
    padding-top: 0.2rem;
    width: 100%;
}

.nav-contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.3rem 1rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: -2px 0 0 0;
    line-height: 1.1;
    min-height: 40px;
}

.nav-contact-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ff6b6b;
}

.nav-contact-item i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
    color: #ff6b6b;
}

.nav-contact-item span {
    font-size: 0.95rem;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
        cursor: pointer;
        z-index: 1001;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(26, 26, 26, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 3.5rem 1.5rem 1.5rem 1.5rem;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        transform: translateX(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
        margin: 0;
        list-style: none;
        pointer-events: none;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    
    .nav-menu li {
        margin: -2px 0;
        padding: 0;
        width: 100%;
        text-align: left;
        list-style: none;
        display: block;
    }
    
    .nav-menu a {
        font-size: 1.1rem;
        padding: 0.3rem 1rem;
        display: flex;
        align-items: center;
        text-align: left;
        color: white;
        background: none;
        border: none;
        transition: color 0.3s ease;
        width: 100%;
        margin: 0;
        line-height: 1.1;
        min-height: 40px;
    }
    
    .nav-menu a:hover,
    .nav-menu a.active {
        color: #ff6b6b;
        background: rgba(255, 255, 255, 0.05);
    }
    
    .nav-contact {
        display: block !important;
    }
    
    .hero {
        min-height: 70vh;
    }
    
    .hero-carousel {
        height: 60vh;
        min-height: 450px;
        max-height: 550px;
    }
    
    .hero-content {
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-features {
        gap: 1rem;
        justify-content: center;
    }
    
    .hero-features span {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .hero-prev {
        left: 1rem;
    }
    
    .hero-next {
        right: 1rem;
    }
    
    .welcome-content h2 {
        font-size: 2rem;
    }
    
    .welcome-content p {
        font-size: 1rem;
    }
    
    .rental-info {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .apartments-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .keywords-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem 1rem;
    }
    
    .apartment-content {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .keywords-container {
        grid-template-columns: 1fr;
        gap: 0.4rem;
        text-align: center;
    }
}

/* Placeholder Images */
.placeholder-image {
    background: #2c3e50;
    border: 2px solid #34495e;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.placeholder-image:hover {
    border-color: #3498db;
    transform: scale(1.02);
}

/* Additional styles for Arabic version compatibility */
.service-highlight {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin: 2rem 0;
}

.service-content-large {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.service-icon-large {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-icon-large i {
    font-size: 2.5rem;
    color: white;
}

.service-text h3 {
    color: #2c5aa0;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.transport-destinations {
    list-style: none;
    margin: 1rem 0;
}

.transport-destinations li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #666;
}

.transport-destinations i {
    color: #ff6b6b;
    width: 20px;
}

.transport-note {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    background: #f0f4ff;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    color: #2c5aa0;
    font-size: 0.9rem;
}

.transport-note i {
    color: #2c5aa0;
    margin-top: 0.2rem;
}

@media (max-width: 768px) {
    .service-content-large {
        flex-direction: column;
        text-align: center;
    }
    
    .service-icon-large {
        width: 80px;
        height: 80px;
    }
    
    .service-icon-large i {
        font-size: 2rem;
    }
}

/* Contact Page Styles */
.contact-methods {
    padding: 60px 0;
    background: #f8f9fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-10px);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.contact-card h3 {
    color: #2c5aa0;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.contact-card address {
    font-style: normal;
    color: #666;
    line-height: 1.6;
}

/* Contact Form */
.contact-form-section {
    padding: 60px 0;
    background: white;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.form-container h2 {
    color: #2c5aa0;
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.form-container p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.contact-form {
    text-align: right;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    text-align: right;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #2c5aa0;
    font-weight: 600;
    margin-bottom: 0.5rem;
    justify-content: flex-start;
}

.form-group label i {
    color: #ff6b6b;
    width: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: 'Cairo', sans-serif;
    text-align: right;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2c5aa0;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-actions {
    text-align: center;
    margin-top: 2rem;
}

/* FAQ Section */
.faq-section {
    background: #f8f9fa;
    padding: 60px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h3 {
    color: #2c5aa0;
    font-size: 1.1rem;
    margin: 0;
    font-weight: 600;
}

.faq-question i {
    color: #2c5aa0;
    transition: transform 0.3s ease;
    font-size: 1.2rem;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 200px;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Location Section */
.location-section {
    padding: 60px 0;
    background: white;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.location-info h3 {
    color: #2c5aa0;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.location-info p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.location-features {
    margin-bottom: 2rem;
}

.location-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #666;
}

.location-feature i {
    color: #ff6b6b;
    width: 20px;
    font-size: 1.1rem;
}

.location-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.location-map {
    background: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder {
    text-align: center;
    color: #666;
}

.map-placeholder i {
    font-size: 3rem;
    color: #2c5aa0;
    margin-bottom: 1rem;
    display: block;
}

.map-placeholder p {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.map-placeholder small {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsive Design for Contact Page */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .location-content {
        grid-template-columns: 1fr;
    }
    
    .location-actions {
        justify-content: center;
    }
    
    .form-container h2 {
        font-size: 1.8rem;
    }
    
    .contact-card {
        padding: 1.5rem;
    }
    
    .contact-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .contact-form-section {
        padding: 40px 0;
    }
    
    .faq-section {
        padding: 40px 0;
    }
    
    .location-section {
        padding: 40px 0;
    }
    
    .faq-question {
        padding: 1rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .location-actions {
        flex-direction: column;
        align-items: center;
    }
}
/* Map Section */
.map-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.map-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c5aa0;
    font-size: 2.5rem;
    font-weight: 700;
}

.map-container {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.mapouter {
    position: relative;
    text-align: right;
    width: 100%;
    height: 500px;
}

.gmap_canvas {
    overflow: hidden;
    background: none !important;
    width: 100%;
    height: 500px;
}

.gmap_canvas iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.location-info {
    padding: 2rem;
    text-align: center;
}

.location-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.location-actions .btn {
    min-width: 200px;
}

/* Responsive Map Section */
@media (max-width: 768px) {
    .map-section {
        padding: 60px 0;
    }
    
    .map-section h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .mapouter,
    .gmap_canvas {
        height: 400px;
    }
    
    .location-info {
        padding: 1.5rem;
    }
    
    .location-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .location-actions .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .map-section {
        padding: 40px 0;
    }
    
    .mapouter,
    .gmap_canvas {
        height: 300px;
    }
    
    .location-info {
        padding: 1rem;
    }
}
/* Contact Methods Section - Complete Styles */
.contact-methods {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact-methods h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: #2c5aa0;
    font-size: 2.5rem;
    font-weight: 700;
}

.contact-methods > .container > p {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.contact-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.contact-method {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.contact-method:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2c5aa0, #1e3d6f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.contact-method:hover .contact-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, #1e3d6f, #2c5aa0);
}

.contact-icon i {
    font-size: 2rem;
    color: white;
}

.contact-method h3 {
    color: #2c5aa0;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.contact-method p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.contact-hours {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
}

.hours-info h3 {
    color: #2c5aa0;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.hours-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 15px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.hours-item:hover {
    border-color: #2c5aa0;
    background: #f0f4ff;
}

.hours-item .day {
    display: block;
    font-weight: 600;
    color: #2c5aa0;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.hours-item .time {
    display: block;
    color: #333;
    font-size: 1rem;
    font-weight: 500;
}

.hours-note {
    background: linear-gradient(135deg, #e8f5e8, #d4edda);
    padding: 1.5rem;
    border-radius: 15px;
    color: #155724;
    font-weight: 500;
    border: 1px solid #c3e6cb;
}

/* Complete FAQ Section Styles */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h3 {
    margin: 0;
    color: #2c5aa0;
    font-size: 1.2rem;
    font-weight: 600;
}

.faq-question i {
    color: #2c5aa0;
    transition: transform 0.3s ease;
    font-size: 1.2rem;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 300px;
}

.faq-answer p {
    margin: 0;
    color: #666;
    line-height: 1.8;
    font-size: 1rem;
}

/* Complete Contact Form Styles */
.contact-section {
    padding: 80px 0;
    background: white;
}

.contact-form-section {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form-section h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: #2c5aa0;
    font-size: 2.2rem;
    font-weight: 700;
}

.contact-form-section > p {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-form {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2c5aa0;
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

.form-note {
    font-size: 0.875rem;
    color: #666;
    margin-top: 0.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, #2c5aa0, #1e3d6f);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1e3d6f, #2c5aa0);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 90, 160, 0.3);
}

.btn-outline {
    background: transparent;
    color: #2c5aa0;
    border: 2px solid #2c5aa0;
}

.btn-outline:hover {
    background: #2c5aa0;
    color: white;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    border: none;
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #128c7e, #25d366);
    color: white;
}

.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

/* Quick Contact Header Buttons */
.quick-contact-header {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.quick-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    min-width: 140px;
    justify-content: center;
}

.quick-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    text-decoration: none;
}

.phone-btn {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.phone-btn:hover {
    background: linear-gradient(135deg, #20c997, #28a745);
    color: white;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #128c7e, #25d366);
    color: white;
}

.booking-btn {
    background: linear-gradient(135deg, #2c5aa0, #1e3d6f);
    color: white;
}

.booking-btn:hover {
    background: linear-gradient(135deg, #1e3d6f, #2c5aa0);
    color: white;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .contact-methods,
    .contact-section,
    .map-section,
    .faq-section {
        padding: 60px 0;
    }
    
    .contact-methods h2,
    .contact-form-section h2,
    .map-section h2,
    .faq-section h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .contact-methods-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 3rem;
    }
    
    .contact-method {
        padding: 2rem 1.5rem;
    }
    
    .contact-hours {
        padding: 2rem 1.5rem;
    }
    
    .hours-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .hours-item {
        padding: 1rem;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .faq-question {
        padding: 1rem;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
    }
    
    .quick-contact-header {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .quick-btn {
        width: 100%;
        max-width: 250px;
    }
    
    .mapouter,
    .gmap_canvas {
        height: 400px;
    }
    
    .location-info {
        padding: 1.5rem;
    }
    
    .location-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .location-actions .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .contact-methods,
    .contact-section,
    .map-section,
    .faq-section {
        padding: 40px 0;
    }
    
    .contact-method {
        padding: 1.5rem 1rem;
    }
    
    .contact-icon {
        width: 60px;
        height: 60px;
    }
    
    .contact-icon i {
        font-size: 1.5rem;
    }
    
    .contact-method h3 {
        font-size: 1.3rem;
    }
    
    .contact-form {
        padding: 1.5rem 1rem;
    }
    
    .contact-form-section h2 {
        font-size: 1.8rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .quick-btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .mapouter,
    .gmap_canvas {
        height: 300px;
    }
    
    .location-info {
        padding: 1rem;
    }
}
/* Additional layout fixes */
html, body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

* {
    box-sizing: border-box;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Ensure all sections don't overflow */
section {
    width: 100%;
    overflow-x: hidden;
}

/* Fix any potential grid issues */
.contact-methods-grid,
.hours-grid,
.form-row,
.footer-content {
    width: 100%;
    box-sizing: border-box;
}

/* Responsive container */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
}
/* FAQ Answer Padding Fix */
.faq-item.active .faq-answer {
    padding: 1.5rem !important;
    max-height: 300px;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer p {
    margin: 1rem 0 !important;
    color: #666;
    line-height: 1.8;
    font-size: 1rem;
    padding-top: 0.5rem;
}
/* Form note spacing fix */
.form-note {
    font-size: 0.875rem;
    color: #666;
    margin-top: 0.75rem !important;
    padding-top: 0.5rem;
    line-height: 1.5;
    display: block;
}
/* Brand Logo Styles */
.brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.brand-link:hover {
    text-decoration: none;
    color: inherit;
    transform: scale(1.02);
}

.brand-logo {
    height: 40px;
    width: auto;
    max-width: none;
    margin-right: 12px;
    transition: all 0.3s ease;
    object-fit: contain;
}

.brand-link:hover .brand-logo {
    transform: scale(1.05);
}

.nav-brand h1 {
    margin: 0;
    color: #2c5aa0;
    font-size: 1.8rem;
    font-weight: 600;
}

/* Responsive logo */
@media (max-width: 768px) {
    .brand-logo {
        height: 35px;
        margin-right: 8px;
    }
    
    .nav-brand h1 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .brand-logo {
        height: 30px;
        margin-right: 6px;
    }
    
    .nav-brand h1 {
        font-size: 1.3rem;
    }
}
/* Footer Logo Styles */
.footer-logo {
    height: 35px;
    width: auto;
    margin-right: 10px;
    vertical-align: middle;
    object-fit: contain;
}

.footer-section h3 {
    display: flex;
    align-items: center;
}

/* RTL Footer adjustments */
[dir="rtl"] .footer-section h3 {
    flex-direction: row-reverse;
    justify-content: flex-start;
}

[dir="rtl"] .footer-logo {
    margin-right: 0;
    margin-left: 10px;
}

@media (max-width: 768px) {
    .footer-logo {
        height: 30px;
        margin-right: 8px;
    }
    
    [dir="rtl"] .footer-logo {
        margin-right: 0;
        margin-left: 8px;
    }
}

@media (max-width: 480px) {
    .footer-logo {
        height: 28px;
        margin-right: 6px;
    }
    
    [dir="rtl"] .footer-logo {
        margin-right: 0;
        margin-left: 6px;
    }
}
/* Emergency fix for nav-brand h1 visibility */
.nav-brand h1 {
    color: #2c5aa0 !important;
    font-size: 1.8rem !important;
    font-weight: 600 !important;
    margin: 0 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    text-shadow: none !important;
    background: transparent !important;
}

.brand-link h1 {
    color: #2c5aa0 !important;
    text-decoration: none !important;
}

/* Ensure no conflicting styles */
.header .nav-brand h1,
.navbar .nav-brand h1 {
    color: #2c5aa0 !important;
}


/* ========================================
   LIGHTBOX STYLES - Gallery Image Viewer
   ======================================== */

.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
    transition: opacity 0.3s ease;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px 20px;
}

.lightbox-content img {
    max-width: 90%;
    max-height: 90%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    background: rgba(0, 0, 0, 0.7);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.5);
    line-height: 1;
    user-select: none;
    -webkit-user-select: none;
}

.lightbox-close:hover,
.lightbox-close:focus {
    background: rgba(255, 0, 0, 0.7);
    transform: scale(1.1) rotate(90deg);
    border-color: rgba(255, 255, 255, 0.8);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.lightbox-nav button {
    pointer-events: all;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 15px 20px;
    font-size: 24px;
    cursor: pointer;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-nav button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.8);
}

.lightbox-nav button:active {
    transform: scale(0.95);
}

.lightbox-prev {
    margin-left: 10px;
}

.lightbox-next {
    margin-right: 10px;
}

/* RTL Support for Lightbox */
[dir="rtl"] .lightbox-close {
    right: auto;
    left: 30px;
}

[dir="rtl"] .lightbox-prev {
    margin-left: 0;
    margin-right: 10px;
}

[dir="rtl"] .lightbox-next {
    margin-right: 0;
    margin-left: 10px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .lightbox-content {
        padding: 80px 10px 10px;
    }
    
    .lightbox-content img {
        max-width: 95%;
        max-height: 85%;
    }
    
    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 45px;
        height: 45px;
        font-size: 32px;
    }
    
    [dir="rtl"] .lightbox-close {
        right: auto;
        left: 10px;
    }
    
    .lightbox-nav button {
        width: 50px;
        height: 50px;
        font-size: 20px;
        padding: 10px;
    }
    
    .lightbox-nav {
        padding: 0 10px;
    }
}

/* Animation for lightbox */
@keyframes lightboxFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes lightboxZoom {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox.active {
    animation: lightboxFadeIn 0.3s ease;
}

.lightbox-content img {
    animation: lightboxZoom 0.3s ease;
}
