/* Logo Styling */
header div#logo {
    max-height: 80px;
}

header div#logo img {
    max-height: 80px;
    width: auto;
    display: block;
}

/* Navigation Height */
header .de-flex {
    min-height: 100px;
    align-items: center;
}

/* Language Switcher - Always visible on all devices */
.lang-switcher {
    display: inline-block !important;
    margin-right: 15px;
}

/* Language Dropdown - Use Brand Colors */
.dropdown-toggle:focus,
.btn-secondary:focus,
.lang-switcher:focus {
    border-color: var(--primary-color, #2c5f2d) !important;
    box-shadow: 0 0 0 0.25rem rgba(44, 95, 45, 0.25) !important;
    outline: none !important;
}

.dropdown-toggle:focus-visible,
.btn-secondary:focus-visible {
    border-color: var(--primary-color, #2c5f2d) !important;
    box-shadow: 0 0 0 0.25rem rgba(44, 95, 45, 0.25) !important;
}

.btn-secondary:not(:disabled):not(.disabled):active:focus,
.btn-secondary:not(:disabled):not(.disabled).active:focus,
.show > .btn-secondary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.25rem rgba(44, 95, 45, 0.25) !important;
}

.dropdown-menu {
    border: 1px solid rgba(44, 95, 45, 0.15);
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: rgba(44, 95, 45, 0.1);
    color: var(--primary-color, #2c5f2d);
}

.dropdown-item.active,
.dropdown-item:active {
    background-color: var(--primary-color, #2c5f2d);
    color: #fff;
}

/* Ensure language switcher is visible on mobile */
@media (max-width: 991px) {
    .menu_side_area {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .lang-switcher {
        font-size: 14px;
        padding: 8px 16px !important;
        white-space: nowrap;
    }
}

/* Mobile menu improvements */
@media (max-width: 767px) {
    .lang-switcher {
        font-size: 12px;
        padding: 6px 12px !important;
    }

    /* Move main menu to bottom on mobile */
    .header-col-mid {
        order: 3;
        width: 100%;
    }

    .de-flex-col:first-child {
        order: 1;
    }

    .de-flex-col:last-child {
        order: 2;
    }

    header .de-flex {
        flex-wrap: wrap;
    }
}

/* Arabic Fonts */
html[lang="ar"] * {
    --title-font: "Cairo", "Tajawal", sans-serif;
    --body-font: "Cairo", "Tajawal", sans-serif;
    --mainmenu-font: "Cairo", "Tajawal", sans-serif;
}

/* Arabic language - reverse flex direction only for specific elements */
/* Removed global .d-flex reversal to keep logo on left */

/* Top navigation RTL for Arabic */
html[lang="ar"] #topbar {
    direction: rtl;
}

html[lang="ar"] .topbar-widget {
    margin-left: 0;
    margin-right: 1rem;
}

html[lang="ar"] .topbar-widget:last-child {
    margin-right: 0;
}

html[lang="ar"] .topbar-widget i {
    margin-right: 0;
    margin-left: 8px;
}

/* Main Menu - Only submenus (dropdowns) RTL for Arabic */
html[lang="ar"] #mainmenu ul {
    direction: rtl;
    left: auto;
    right: 0;
    text-align: right;
}

/* Main menu RTL on mobile for Arabic */
@media (max-width: 767px) {
    html[lang="ar"] .header-col-mid {
        direction: rtl;
    }

    html[lang="ar"] #mainmenu {
        direction: rtl;
        text-align: right;
    }
}

/* Mobile Menu RTL for Arabic */
html[lang="ar"] #menu-btn {
    left: 15px;
    right: auto;
}

/* Removed de-flex reversal to keep navigation LTR */

/* Sidebar overlay menu RTL for Arabic */
html[lang="ar"] #extra-wrap {
    direction: rtl;
}

html[lang="ar"] #extra-content {
    text-align: right;
}

html[lang="ar"] #extra-content .no-style {
    padding-left: 0;
    padding-right: 0;
}

html[lang="ar"] #extra-content i {
    margin-right: 0;
    margin-left: 0.5rem;
}

html[lang="ar"] #btn-close {
    left: 30px;
    right: auto;
}

/* Footer RTL for Arabic */
html[lang="ar"] footer {
    direction: rtl;
}

html[lang="ar"] footer .widget {
    text-align: right;
}

html[lang="ar"] footer .widget ul {
    padding-left: 0;
    padding-right: 0;
}

html[lang="ar"] footer i {
    margin-right: 0;
    margin-left: 0.5rem;
}

html[lang="ar"] footer .row {
    margin: 1rem 0;
}

html[lang="ar"] footer .col-lg-4,
html[lang="ar"] footer .col-md-6 {
    margin-bottom: 2rem;
}

/* Hero Section - RTL for Arabic content only */
html[lang="ar"] .section-dark .col-lg-6.relative {
    direction: rtl;
}

html[lang="ar"] .section-dark h1 {
    text-align: right;
    font-size: 3.5rem;
}

html[lang="ar"] .section-dark p,
html[lang="ar"] .section-dark .subtitle {
    text-align: right;
}

html[lang="ar"] .section-dark .hero-btn-wrapper {
    margin-bottom: 3rem;
}

/* Features list - RTL */
html[lang="ar"] .section-dark .ul-style-2 {
    text-align: right;
    direction: rtl;
}

html[lang="ar"] .section-dark .ul-style-2 li {
    text-align: right;
}

/* Why Choose Section - Center titles for Arabic */
html[lang="ar"] .bg-light .text-center h2 {
    text-align: center !important;
}

html[lang="ar"] .bg-light .text-center .subtitle {
    text-align: center !important;
}

/* Service cards - RTL for Arabic */
html[lang="ar"] .bg-light .bg-color,
html[lang="ar"] .bg-light .bg-color-2 {
    direction: rtl;
    text-align: right;
}

html[lang="ar"] .bg-light .bg-color h4,
html[lang="ar"] .bg-light .bg-color-2 h4 {
    text-align: right;
}

html[lang="ar"] .bg-light .bg-color p,
html[lang="ar"] .bg-light .bg-color-2 p {
    text-align: right;
}

/* Number position for RTL */
html[lang="ar"] .bg-light .abs.end-0 {
    left: 1rem;
    right: auto;
}

/* Welcome Section - RTL for Arabic */
html[lang="ar"] section .col-lg-6:last-child {
    direction: rtl;
    text-align: right;
}

html[lang="ar"] section .col-lg-6 .subtitle {
    text-align: right;
}

html[lang="ar"] section .col-lg-6 h2 {
    text-align: right;
}
html[lang="ar"] .bg-color p, html[lang="ar"] .bg-color-2 p
/* About Section - Swap columns and center title for RTL */
html[lang="ar"] section .row.g-4.align-items-center {
    flex-direction: row-reverse;
}

html[lang="ar"] section .row.g-4.align-items-center .subtitle {
    text-align: center;
}

/* Features Section - RTL for Arabic */
html[lang="ar"] .bg-color,
html[lang="ar"] .bg-color-2 {
    direction: rtl;
    text-align: right;
}

html[lang="ar"] .bg-color h4,
html[lang="ar"] .bg-color-2 h4 {
    text-align: right;
}

/* Main Content - RTL for Arabic (excluding hero) */
html[lang="ar"] #content section:not(.section-dark) {
    direction: rtl;
}

/* Contact Page - RTL for Arabic */
html[lang="ar"] #subheader {
    direction: rtl;
}

html[lang="ar"] #subheader h1 {
    text-align: right;
}

html[lang="ar"] #subheader p {
    text-align: right;
}

html[lang="ar"] .crumb {
    direction: rtl;
}

html[lang="ar"] .crumb li::before {
    margin-left: 8px;
    margin-right: 0;
}

/* Contact Form - RTL */
html[lang="ar"] .form-control,
html[lang="ar"] input[type="text"],
html[lang="ar"] input[type="email"],
html[lang="ar"] textarea {
    text-align: right;
    direction: rtl;
}

/* Contact Info Icons - RTL */
html[lang="ar"] .icofont-clock-time,
html[lang="ar"] .icofont-location-pin,
html[lang="ar"] .icofont-phone,
html[lang="ar"] .icofont-envelope {
    margin-right: 0;
    margin-left: 0;
}

html[lang="ar"] .fw-bold {
    text-align: right;
}

/* Gallery Page Styling */
.gallery-tabs {
    margin-bottom: 40px;
}

.gallery-tabs .nav-link {
    padding: 12px 30px;
    margin: 0 10px;
    border-radius: 50px;
    background: #f5f5f5;
    color: #333;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    font-weight: 600;
}

.gallery-tabs .nav-link:hover {
    background: #e0e0e0;
}

.gallery-tabs .nav-link.active {
    background: var(--primary-color, #2c5f2d);
    color: #fff;
    border-color: var(--primary-color, #2c5f2d);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.gallery-img-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 75%; /* 4:3 aspect ratio */
    overflow: hidden;
    border-radius: 8px;
    background: #f5f5f5;
}

.gallery-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 95, 45, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-preview-btn {
    background: #fff;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 24px;
    color: var(--primary-color, #2c5f2d);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-preview-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Gallery Modal */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    padding: 0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
}

.gallery-modal-content {
    position: relative;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-modal-content img {
    max-width: 98%;
    max-height: 98vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

#modalVideo,
#workModalVideo {
    position: relative;
    width: 95%;
    max-width: 1600px;
    height: 98vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#modalVideo iframe,
#modalVideo video,
#workModalVideo video {
    width: 100%;
    height: 100%;
    max-height: 98vh;
    object-fit: contain;
    border-radius: 8px;
}

#workModalImage {
    max-width: 98%;
    max-height: 98vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

.gallery-modal-close {
    color: #fff;
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10001;
}

.gallery-modal-close:hover,
.gallery-modal-close:focus {
    color: #bbb;
}

.gallery-modal-prev,
.gallery-modal-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    transition: 0.3s ease;
    border: none;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    z-index: 10001;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-modal-prev {
    left: 20px;
}

.gallery-modal-next {
    right: 20px;
}

.gallery-modal-prev:hover,
.gallery-modal-next:hover {
    background-color: rgba(0,0,0,0.8);
}

/* Gallery RTL for Arabic */
html[lang="ar"] .gallery-tabs .nav-link {
    margin: 0 10px;
}

html[lang="ar"] .gallery-tabs .nav-link i {
    margin-right: 0;
    margin-left: 8px;
}

html[lang="ar"] .gallery-modal-close {
    right: auto;
    left: 40px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .gallery-tabs {
        margin-bottom: 30px;
    }

    .gallery-tabs .nav-link {
        padding: 10px 20px;
        margin: 5px;
        font-size: 14px;
    }

    .gallery-tabs .nav-link i {
        font-size: 16px;
    }

    .gallery-modal-content {
        width: 95%;
    }

    .gallery-modal-close {
        right: 20px;
        font-size: 30px;
    }

    html[lang="ar"] .gallery-modal-close {
        right: auto;
        left: 20px;
    }

    .gallery-modal-prev,
    .gallery-modal-next {
        width: 40px;
        height: 40px;
        font-size: 24px;
        padding: 10px;
    }

    .gallery-preview-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

/* Extra small screens - Mobile optimization */
@media (max-width: 576px) {
    .gallery-tabs .nav-link {
        padding: 8px 16px;
        margin: 3px;
        font-size: 13px;
        display: inline-flex;
        align-items: center;
    }

    .gallery-tabs .nav-link i {
        font-size: 14px;
        margin-right: 6px;
    }

    html[lang="ar"] .gallery-tabs .nav-link i {
        margin-right: 0;
        margin-left: 6px;
    }

    /* Stack gallery items 2 per row on small mobile */
    .gallery-item {
        margin-bottom: 15px;
    }
}

/* About Page Styling */
.about-card {
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.about-card-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color, #2c5f2d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 32px;
    color: #fff;
}

.about-card h4 {
    margin-bottom: 15px;
    font-size: 22px;
    font-weight: 700;
}

.about-card p {
    margin-bottom: 0;
    line-height: 1.8;
}

.values-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.values-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.values-list li:last-child {
    border-bottom: none;
}

.values-list li strong {
    color: var(--primary-color, #2c5f2d);
}

.trust-card {
    position: relative;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

.trust-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.trust-card-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 48px;
    font-weight: 700;
    color: rgba(44, 95, 45, 0.1);
    line-height: 1;
}

.trust-card-icon {
    width: 60px;
    height: 60px;
    background: rgba(44, 95, 45, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 28px;
    color: var(--primary-color, #2c5f2d);
}

.trust-card h5 {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 700;
}

.trust-card p {
    margin-bottom: 0;
    color: #666;
    line-height: 1.7;
}

.feature-box {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-box:hover {
    background: rgba(255, 255, 255, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
    flex-shrink: 0;
}

.feature-content h5 {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 700;
}

.feature-content p {
    margin-bottom: 0;
    opacity: 0.9;
}

.variety-card {
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.variety-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.variety-icon {
    width: 80px;
    height: 80px;
    background: rgba(44, 95, 45, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 36px;
    color: var(--primary-color, #2c5f2d);
}

.variety-card h5 {
    margin-bottom: 0;
    font-size: 20px;
    font-weight: 700;
}

.info-box {
    background: #f8f9fa;
    padding: 25px 30px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color, #2c5f2d);
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-box i {
    font-size: 28px;
    color: var(--primary-color, #2c5f2d);
}

.info-box p {
    margin: 0;
    line-height: 1.7;
}

html[lang="ar"] .trust-card-number {
    right: auto;
    left: 20px;
}

html[lang="ar"] .feature-box {
    flex-direction: row-reverse;
}

html[lang="ar"] .info-box {
    border-left: none;
    border-right: 4px solid var(--primary-color, #2c5f2d);
    flex-direction: row-reverse;
}

@media (max-width: 768px) {
    .about-card {
        padding: 30px 20px;
    }

    .feature-box {
        flex-direction: column;
        text-align: center;
    }

    html[lang="ar"] .feature-box {
        flex-direction: column;
    }

    .feature-icon {
        margin: 0 auto;
    }

    .info-box {
        flex-direction: column;
        text-align: center;
    }

    html[lang="ar"] .info-box {
        flex-direction: column;
    }
}

/* About Page - New Formal Design */

/* About Images Grid */
.about-images-grid {
    position: relative;
}

.about-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.about-img-wrapper img {
    width: 100%;
    transition: transform 0.4s ease;
}

.about-img-wrapper:hover img {
    transform: scale(1.05);
}

/* About Content */
.about-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

/* MVV Cards - Mission, Vision, Values */
.mvv-card {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    border-top: 4px solid transparent;
    position: relative;
    overflow: hidden;
}

.mvv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color, #2c5f2d) 0%, #4a9d4f 100%);
}

.mvv-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.mvv-card-header {
    margin-bottom: 25px;
}

.mvv-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-color, #2c5f2d) 0%, #4a9d4f 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 42px;
    color: #fff;
    box-shadow: 0 8px 20px rgba(44, 95, 45, 0.3);
}

.mvv-card-header h4 {
    font-size: 26px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 0;
    letter-spacing: 0.5px;
}

.mvv-card-body p {
    font-size: 16px;
    line-height: 1.9;
    color: #555;
    margin-bottom: 0;
}

/* Values List - New */
.values-list-new {
    list-style: none;
    padding: 0;
    margin: 0;
}

.values-list-new li {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.values-list-new li:last-child {
    border-bottom: none;
}

.values-list-new li i {
    font-size: 24px;
    color: var(--primary-color, #2c5f2d);
    margin-top: 3px;
    flex-shrink: 0;
}

.values-list-new li div {
    flex: 1;
}

.values-list-new li strong {
    display: block;
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.values-list-new li span {
    display: block;
    font-size: 15px;
    color: #666;
    line-height: 1.7;
}

/* Trust Cards - New Design */
.trust-card-new {
    background: #fff;
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border-top: 3px solid transparent;
}

.trust-card-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color, #2c5f2d) 0%, #4a9d4f 100%);
}

.trust-card-new:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.trust-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 72px;
    font-weight: 900;
    color: rgba(44, 95, 45, 0.05);
    line-height: 1;
    font-family: 'Arial Black', sans-serif;
}

.trust-icon-new {
    width: 75px;
    height: 75px;
    background: linear-gradient(135deg, rgba(44, 95, 45, 0.1) 0%, rgba(74, 157, 79, 0.15) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 36px;
    color: var(--primary-color, #2c5f2d);
}

.trust-card-new h5 {
    font-size: 22px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 15px;
    letter-spacing: 0.3px;
}

.trust-card-new p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 0;
}

/* Feature Box - New Design */
.feature-box-new {
    display: flex;
    gap: 25px;
    padding: 35px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.feature-box-new:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(10px);
}

.feature-icon-new {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.feature-content-new h5 {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.feature-content-new p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 0;
}

/* Variety Cards - New Design */
.variety-card-new {
    text-align: center;
    padding: 40px 25px;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.variety-card-new:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: var(--primary-color, #2c5f2d);
}

.variety-icon-new {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, rgba(44, 95, 45, 0.1) 0%, rgba(74, 157, 79, 0.15) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 42px;
    color: var(--primary-color, #2c5f2d);
    box-shadow: 0 8px 20px rgba(44, 95, 45, 0.15);
}

.variety-card-new h5 {
    font-size: 20px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 0;
    letter-spacing: 0.3px;
}

/* Info Box - New Design */
.info-box-new {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 30px 35px;
    border-radius: 16px;
    border-left: 5px solid var(--primary-color, #2c5f2d);
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.info-icon-new {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color, #2c5f2d) 0%, #4a9d4f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(44, 95, 45, 0.3);
}

.info-box-new p {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    line-height: 1.7;
    margin: 0;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.12);
    border: 2px solid rgba(44, 95, 45, 0.1);
}

.cta-box h3 {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a1a;
}

.cta-box p {
    font-size: 16px;
    color: #666;
}

/* RTL Support for New About Page Elements */
html[lang="ar"] .trust-number {
    right: auto;
    left: 20px;
}

html[lang="ar"] .feature-box-new:hover {
    transform: translateX(-10px);
}

html[lang="ar"] .info-box-new {
    border-left: none;
    border-right: 5px solid var(--primary-color, #2c5f2d);
}

html[lang="ar"] .values-list-new li {
    text-align: right;
}

/* RTL Support for About Images */
html[lang="ar"] .about-images-grid .row {
    direction: rtl;
}

html[lang="ar"] .about-content {
    direction: rtl;
    text-align: right;
}

html[lang="ar"] .about-content h2,
html[lang="ar"] .about-content h3,
html[lang="ar"] .about-content h4,
html[lang="ar"] .about-content p {
    text-align: right;
}

/* RTL for MVV Cards */
html[lang="ar"] .mvv-card {
    direction: rtl;
    text-align: right;
}

html[lang="ar"] .mvv-card-header,
html[lang="ar"] .mvv-card-body {
    text-align: right;
}

/* RTL for Trust Cards */
html[lang="ar"] .trust-card-new {
    direction: rtl;
    text-align: right;
}

/* RTL for Variety Cards */
html[lang="ar"] .variety-card-new {
    direction: rtl;
}

/* RTL for CTA Box */
html[lang="ar"] .cta-box {
    direction: rtl;
    text-align: right;
}

html[lang="ar"] .cta-box h3,
html[lang="ar"] .cta-box p {
    text-align: right;
}

/* Responsive Design for New About Page */
@media (max-width: 768px) {
    .mvv-card,
    .trust-card-new,
    .variety-card-new {
        padding: 30px 20px;
    }

    .mvv-icon,
    .variety-icon-new {
        width: 70px;
        height: 70px;
        font-size: 32px;
    }

    .trust-icon-new {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }

    .mvv-card-header h4,
    .trust-card-new h5 {
        font-size: 20px;
    }

    .feature-box-new {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }

    html[lang="ar"] .feature-box-new {
        flex-direction: column;
    }

    .feature-box-new:hover {
        transform: translateY(-5px);
    }

    html[lang="ar"] .feature-box-new:hover {
        transform: translateY(-5px);
    }

    .feature-icon-new {
        margin: 0 auto;
    }

    .info-box-new {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }

    html[lang="ar"] .info-box-new {
        flex-direction: column;
    }

    .info-icon-new {
        margin: 0 auto;
    }

    .cta-box {
        padding: 35px 25px;
    }

    .cta-box h3 {
        font-size: 24px;
    }

    .trust-number {
        font-size: 56px;
    }
}

/* Product Single Page Styling */

/* Product Image Wrapper */
.product-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.product-img-wrapper img {
    width: 100%;
    transition: transform 0.4s ease;
}

.product-img-wrapper:hover img {
    transform: scale(1.05);
}

/* Product Introduction */
.product-intro p {
    font-size: 17px;
    line-height: 1.9;
    color: #555;
}

/* Process Step Card */
.process-step-card {
    background: #fff;
    border-radius: 16px;
    padding: 35px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border-left: 4px solid var(--primary-color, #2c5f2d);
    display: flex;
    gap: 25px;
    align-items: flex-start;
    height: 100%;
}

.process-step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.process-step-icon-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color, #2c5f2d) 0%, #4a9d4f 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 900;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(44, 95, 45, 0.25);
}

.process-step-content {
    flex: 1;
}

.process-step-content h4 {
    font-size: 20px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 12px;
    letter-spacing: 0.3px;
}

.process-step-content p {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 0;
}

/* How We Work Section */
.work-step-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.work-step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.work-step-number {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 48px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1;
    font-family: 'Arial Black', sans-serif;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.work-step-media {
    position: relative;
    width: 100%;
    padding-bottom: 66.67%; /* 3:2 aspect ratio */
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    background: #000;
    cursor: pointer;
}

.work-media-img,
.work-media-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.work-step-card:hover .work-media-img,
.work-step-card:hover .work-media-video {
    transform: scale(1.1);
}

.work-media-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 95, 45, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.work-step-media:hover .work-media-overlay {
    opacity: 1;
}

.work-media-view-btn {
    background: #fff;
    border: none;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    font-size: 28px;
    color: var(--primary-color, #2c5f2d);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.work-media-view-btn:hover {
    transform: scale(1.15);
}

.work-video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 70px;
    color: white;
    opacity: 0.9;
    pointer-events: none;
    text-shadow: 0 3px 15px rgba(0,0,0,0.5);
    z-index: 1;
}

.work-step-content {
    padding: 30px 25px;
}

.work-step-content h4 {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    margin-bottom: 12px;
    letter-spacing: 0.3px;
}

.work-step-content p {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 0;
}

/* RTL Support for How We Work */
html[lang="ar"] .work-step-number {
    left: auto;
    right: 15px;
}

html[lang="ar"] .work-step-content {
    text-align: right;
}

/* Responsive for How We Work */
@media (max-width: 768px) {
    .work-step-number {
        font-size: 36px;
    }

    .work-media-view-btn {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .work-video-play-icon {
        font-size: 50px;
    }
}

/* How We Work - Premium Modern Design */
.work-item-modern {
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    border-radius: 18px;
    background: transparent;
}

.work-item-modern:hover {
    transform: translateY(-12px);
}

.work-item-media {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    overflow: hidden;
    border-radius: 18px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 8px 32px rgba(44, 95, 45, 0.12);
    margin-bottom: 18px;
    border: 3px solid #fff;
}

.work-item-modern:hover .work-item-media {
    box-shadow: 0 16px 48px rgba(44, 95, 45, 0.25);
    border-color: rgba(44, 95, 45, 0.15);
}

.work-item-media::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(44, 95, 45, 0.03) 100%);
    z-index: 1;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.work-item-modern:hover .work-item-media::after {
    opacity: 0;
}

.work-item-media img,
.work-item-media video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.work-item-modern:hover .work-item-media img,
.work-item-modern:hover .work-item-media video {
    transform: scale(1.08);
}

.work-item-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 8px 24px rgba(44, 95, 45, 0.3);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid rgba(44, 95, 45, 0.2);
}

.work-item-play i {
    font-size: 24px;
    color: #2c5f2d;
    margin-left: 3px;
}

.work-item-modern:hover .work-item-play {
    transform: translate(-50%, -50%) scale(1.15) rotate(360deg);
    background: linear-gradient(135deg, #2c5f2d 0%, #4a9d4f 100%);
    box-shadow: 0 12px 36px rgba(44, 95, 45, 0.45);
    border-color: #fff;
}

.work-item-modern:hover .work-item-play i {
    color: #fff;
}

.work-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 95, 45, 0.92) 0%, rgba(74, 157, 79, 0.92) 100%);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 3;
}

.work-item-modern:hover .work-item-overlay {
    opacity: 1;
}

.work-item-overlay i {
    font-size: 40px;
    color: #fff;
    animation: premiumZoom 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}

@keyframes premiumZoom {
    0% {
        opacity: 0;
        transform: scale(0.5) rotate(-10deg);
    }
    60% {
        opacity: 1;
        transform: scale(1.1) rotate(5deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.work-item-title {
    font-size: 15px;
    font-weight: 800;
    color: #0f1419;
    text-align: center;
    line-height: 1.5;
    margin: 0;
    padding: 0 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: -0.3px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.work-item-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #2c5f2d 0%, #4a9d4f 100%);
    border-radius: 2px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.work-item-modern:hover .work-item-title {
    color: #2c5f2d;
    transform: translateY(-3px);
}

.work-item-modern:hover .work-item-title::after {
    transform: translateX(-50%) scaleX(1);
}

/* Responsive */
@media (max-width: 768px) {
    .work-item-modern:hover {
        transform: translateY(-8px);
    }

    .work-item-media {
        border-radius: 14px;
        margin-bottom: 14px;
        border-width: 2px;
    }

    .work-item-play {
        width: 50px;
        height: 50px;
    }

    .work-item-play i {
        font-size: 20px;
    }

    .work-item-overlay i {
        font-size: 32px;
    }

    .work-item-title {
        font-size: 13px;
        min-height: 42px;
        font-weight: 800;
        padding: 0 8px;
    }
}

/* Why Organogenesis Section */
.why-organogenesis-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.why-organogenesis-img-wrapper img {
    width: 100%;
    transition: transform 0.4s ease;
}

.why-organogenesis-img-wrapper:hover img {
    transform: scale(1.05);
}

/* Benefits List */
.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border-radius: 12px;
    border-left: 3px solid var(--primary-color, #2c5f2d);
    transition: all 0.3s ease;
}

.benefits-list li:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.benefits-list li i {
    font-size: 24px;
    color: var(--primary-color, #2c5f2d);
    flex-shrink: 0;
}

.benefits-list li span {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

/* Advantage Card */
.advantage-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 35px 30px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.advantage-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.advantage-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 56px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.08);
    line-height: 1;
    font-family: 'Arial Black', sans-serif;
}

.advantage-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 32px;
    color: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.advantage-content h4 {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.advantage-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 0;
}

/* Investment Feature Card */
.investment-feature-card {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 16px;
    padding: 30px 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.investment-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
    border-color: var(--primary-color, #2c5f2d);
}

.investment-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color, #2c5f2d) 0%, #4a9d4f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 36px;
    color: #fff;
    box-shadow: 0 8px 20px rgba(44, 95, 45, 0.3);
}

.investment-feature-card h5 {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0;
    line-height: 1.5;
}

/* Investment Value Box */
.investment-value-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    padding: 40px 35px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 2px solid rgba(44, 95, 45, 0.1);
}

.investment-benefit {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.investment-benefit:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.investment-benefit i {
    font-size: 28px;
    color: var(--primary-color, #2c5f2d);
    flex-shrink: 0;
}

.investment-benefit span {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

/* Investment Conclusion */
.investment-conclusion {
    padding: 25px 30px;
    background: linear-gradient(135deg, rgba(44, 95, 45, 0.05) 0%, rgba(74, 157, 79, 0.08) 100%);
    border-radius: 12px;
    border: 2px solid rgba(44, 95, 45, 0.15);
}

/* Product CTA Box */
.product-cta-box {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.12);
    border: 2px solid rgba(44, 95, 45, 0.1);
}

/* RTL Support for Product Page */
html[lang="ar"] .process-step-card {
    border-left: none;
    border-right: 4px solid var(--primary-color, #2c5f2d);
}

html[lang="ar"] .process-step-content {
    text-align: right;
}

html[lang="ar"] .benefits-list li {
    border-left: none;
    border-right: 3px solid var(--primary-color, #2c5f2d);
}

html[lang="ar"] .benefits-list li:hover {
    transform: translateX(-10px);
}

html[lang="ar"] .advantage-number {
    right: auto;
    left: 20px;
}

html[lang="ar"] .advantage-card {
    direction: rtl;
    text-align: right;
}

html[lang="ar"] .investment-benefit:hover {
    transform: translateX(-10px);
}

/* RTL for Product Introduction */
html[lang="ar"] .product-intro {
    direction: rtl;
    text-align: right;
}

html[lang="ar"] .product-intro h2,
html[lang="ar"] .product-intro p,
html[lang="ar"] .product-intro .subtitle {
    text-align: right;
}

/* RTL for Why Organogenesis */
html[lang="ar"] .why-organogenesis-content {
    direction: rtl;
    text-align: right;
}

html[lang="ar"] .why-organogenesis-content h2 {
    text-align: right;
}

/* RTL for Investment Section */
html[lang="ar"] .investment-feature-card {
    direction: rtl;
}

html[lang="ar"] .investment-value-box {
    direction: rtl;
    text-align: right;
}

html[lang="ar"] .investment-value-box h3 {
    text-align: right;
}

html[lang="ar"] .investment-conclusion {
    direction: rtl;
    text-align: right;
}

/* RTL for Product CTA */
html[lang="ar"] .product-cta-box {
    direction: rtl;
}

html[lang="ar"] .product-cta-box h3,
html[lang="ar"] .product-cta-box p {
    text-align: right;
}

/* Responsive Design for Product Page */
@media (max-width: 768px) {
    .process-step-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    html[lang="ar"] .process-step-card {
        flex-direction: column;
    }

    html[lang="ar"] .process-step-content {
        text-align: center;
    }

    .process-step-icon-number {
        margin: 0 auto 20px;
        width: 60px;
        height: 60px;
        font-size: 28px;
    }

    .advantage-number {
        font-size: 42px;
    }

    .advantage-card {
        padding: 25px 20px;
    }

    html[lang="ar"] .advantage-card {
        text-align: center;
    }

    .investment-feature-card {
        padding: 25px 15px;
    }

    .investment-icon {
        width: 70px;
        height: 70px;
        font-size: 32px;
    }

    .investment-feature-card h5 {
        font-size: 16px;
    }

    .investment-value-box {
        padding: 30px 20px;
    }

    .investment-benefit {
        flex-direction: column;
        text-align: center;
    }

    html[lang="ar"] .investment-benefit {
        flex-direction: column;
    }

    .investment-benefit:hover {
        transform: translateY(-3px);
    }

    html[lang="ar"] .investment-benefit:hover {
        transform: translateY(-3px);
    }

    .product-cta-box {
        padding: 35px 25px;
    }

    .product-cta-box h3 {
        font-size: 24px;
    }

    .product-intro h2 {
        font-size: 28px;
    }

    .why-organogenesis-content h2 {
        font-size: 28px;
    }

    .benefits-list li {
        flex-direction: column;
        text-align: center;
    }

    .benefits-list li:hover {
        transform: translateY(-3px);
    }

    html[lang="ar"] .benefits-list li:hover {
        transform: translateY(-3px);
    }
}

/* Additional Mobile Responsive Styles */
@media (max-width: 576px) {
    /* About Page Mobile */
    .mvv-card-header h4 {
        font-size: 18px;
    }

    .mvv-card-body p,
    .trust-card-new p,
    .variety-card-new p {
        font-size: 15px;
    }

    .values-list-new li strong {
        font-size: 16px;
    }

    .values-list-new li span {
        font-size: 14px;
    }

    .about-content p {
        font-size: 15px;
    }

    /* Product Page Mobile */
    .process-step-content h4 {
        font-size: 18px;
    }

    .process-step-content p {
        font-size: 14px;
    }

    .advantage-content h4 {
        font-size: 20px;
    }

    .advantage-content p {
        font-size: 15px;
    }

    .investment-feature-card h5 {
        font-size: 15px;
    }

    .investment-benefit span {
        font-size: 15px;
    }

    .product-intro h2,
    .why-organogenesis-content h2 {
        font-size: 24px;
    }

    .product-intro p {
        font-size: 16px;
    }
}

/* Contact Page Styling */

/* Contact Info Wrapper */
.contact-info-wrapper {
    padding-right: 30px;
}

.contact-info-wrapper h2 {
    font-size: 36px;
}

.contact-info-wrapper p {
    font-size: 17px;
    line-height: 1.8;
    color: #666;
}

/* Contact Info Cards */
.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-card {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border-radius: 16px;
    border-left: 4px solid var(--primary-color, #2c5f2d);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.contact-info-card:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    border-left-width: 6px;
}

.contact-info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color, #2c5f2d) 0%, #4a9d4f 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(44, 95, 45, 0.3);
}

.contact-info-content {
    flex: 1;
}

.contact-info-content h5 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.contact-info-content p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Contact Form Wrapper */
.contact-form-wrapper {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.12);
    border: 2px solid rgba(44, 95, 45, 0.1);
}

/* Modern Form Groups */
.form-group-modern {
    margin-bottom: 20px;
}

.form-group-modern label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.form-control-modern {
    width: 100%;
    padding: 15px 20px;
    font-size: 15px;
    color: #333;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    transition: all 0.3s ease;
    outline: none;
}

.form-control-modern:focus {
    border-color: var(--primary-color, #2c5f2d);
    box-shadow: 0 0 0 4px rgba(44, 95, 45, 0.1);
}

.form-control-modern::placeholder {
    color: #999;
}

textarea.form-control-modern {
    resize: vertical;
    min-height: 150px;
}

/* Submit Button Enhancements */
.contact-form-wrapper .btn-main {
    padding: 18px 40px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-form-wrapper .btn-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(44, 95, 45, 0.3);
}

/* Success and Error Messages */
#success_message,
#error_message {
    display: none;
    padding: 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
}

#success_message {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: 2px solid #28a745;
    color: #155724;
}

#error_message {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border: 2px solid #dc3545;
    color: #721c24;
}

/* RTL Support for Contact Page */
html[lang="ar"] .contact-info-wrapper {
    padding-right: 0;
    padding-left: 30px;
    direction: rtl;
    text-align: right;
}

html[lang="ar"] #mainmenu{
    direction: rtl;
}

html[lang="ar"] .contact-info-card {
    border-left: none;
    border-right: 4px solid var(--primary-color, #2c5f2d);
    flex-direction: row-reverse;
}

html[lang="ar"] .contact-info-card:hover {
    transform: translateX(-10px);
    border-right-width: 6px;
}

html[lang="ar"] .contact-info-content {
    text-align: right;
}

html[lang="ar"] .contact-form-wrapper {
    direction: rtl;
}

html[lang="ar"] .form-group-modern label {
    text-align: right;
}

html[lang="ar"] .form-control-modern {
    text-align: right;
    direction: rtl;
}

html[lang="ar"] .contact-form-wrapper .btn-main i {
    margin-right: 0;
    margin-left: 8px;
}

/* Additional RTL Improvements for About & Product Pages */
html[lang="ar"] #subheader h1,
html[lang="ar"] #subheader p,
html[lang="ar"] #subheader .subtitle {
    text-align: right;
}

html[lang="ar"] .crumb {
    direction: rtl;
}

/* Responsive Design for Contact Page */
@media (max-width: 991px) {
    .contact-info-wrapper {
        padding-right: 0;
        margin-bottom: 40px;
    }

    html[lang="ar"] .contact-info-wrapper {
        padding-left: 0;
    }
}

@media (max-width: 768px) {
    .contact-info-wrapper h2 {
        font-size: 28px;
    }

    .contact-form-wrapper {
        padding: 35px 25px;
    }

    .contact-info-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    html[lang="ar"] .contact-info-card {
        flex-direction: column;
        text-align: center;
    }

    .contact-info-card:hover {
        transform: translateY(-5px);
    }

    html[lang="ar"] .contact-info-card:hover {
        transform: translateY(-5px);
    }

    .contact-info-icon {
        margin: 0 auto;
    }

    .contact-info-content {
        text-align: center;
    }

    html[lang="ar"] .contact-info-content {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .contact-info-wrapper h2 {
        font-size: 24px;
    }

    .contact-info-wrapper p {
        font-size: 16px;
    }

    .contact-form-wrapper {
        padding: 25px 20px;
    }

    .form-control-modern {
        padding: 12px 16px;
        font-size: 14px;
    }

    .contact-info-card {
        padding: 15px;
    }

    .contact-info-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .contact-info-content h5 {
        font-size: 16px;
    }

    .contact-info-content p {
        font-size: 14px;
    }
}

/* Gallery Video Play Icon */
.video-wrapper {
    position: relative;
}

.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 60px;
    color: white;
    opacity: 0.9;
    pointer-events: none;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    z-index: 5;
}

.video-wrapper:hover .video-play-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
    transition: all 0.3s ease;
}

/* Gallery Pagination */
.pagination {
    margin: 0;
    padding: 0;
}

.pagination .page-link {
    color: #2c5f2d;
    border: 1px solid #ddd;
    padding: 10px 16px;
    margin: 0 5px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background-color: #2c5f2d;
    color: white;
    border-color: #2c5f2d;
}

.pagination .page-item.active .page-link {
    background-color: #8bc34a;
    border-color: #8bc34a;
    color: white;
    font-weight: 600;
}

.pagination .page-item.disabled .page-link {
    color: #ccc;
    cursor: not-allowed;
    background-color: #f8f9fa;
}

/* Gallery Grid Optimization */
.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}

/* Video thumbnails - hide controls */
.video-wrapper video.gallery-img {
    background: #000;
    pointer-events: none;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.video-wrapper video::-webkit-media-controls {
    display: none !important;
}

.video-wrapper video::-webkit-media-controls-enclosure {
    display: none !important;
}

.video-wrapper video::-webkit-media-controls-panel {
    display: none !important;
}

/* Ensure videos tab content is visible */
#videos {
    min-height: 400px;
}

#videos .gallery-item {
    display: block !important;
    visibility: visible !important;
}

#videos .video-wrapper {
    display: block !important;
    visibility: visible !important;
}

/* Responsive Gallery */
@media (max-width: 768px) {
    .video-play-icon {
        font-size: 40px;
    }

    .pagination {
        margin: 0;
    }

    .pagination .page-link {
        padding: 8px 12px;
        margin: 0 2px;
        font-size: 14px;
    }
}

/* Extra small mobile - Pagination optimization */
@media (max-width: 576px) {
    .pagination {
        flex-wrap: wrap;
        justify-content: center !important;
    }

    .pagination .page-link {
        padding: 6px 10px;
        margin: 2px;
        font-size: 12px;
        min-width: 36px;
        text-align: center;
    }

    .pagination .page-item {
        margin-bottom: 5px;
    }

    /* Hide ellipsis on very small screens */
    .pagination .page-item.disabled {
        display: none;
    }
}