/* --- Major Services (SHINECO) --- */
.features-section {
    padding: 100px 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.feature-card {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card:hover {
    background: #090d96;
    border-color: #090d96;
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.1));
}

.feature-card h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    color: #333;
    margin: 0;
    transition: color 0.3s;
}

.feature-card:hover h4 {
    color: white;
}

/* --- Software List Section (Crystal Clear) --- */
.software-section {
    padding: 100px 0;
    background: #05084a;
    /* Solid deep blue */
    color: white;
}

.software-section::before {
    display: none;
    /* Remove background image noise */
}

.software-item {
    background: #ffffff;
    /* Solid white background for max contrast */
    padding: 25px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    border: 2px solid #e0e6ed;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.software-item:hover {
    border-color: #fbff00;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.software-num {
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
    font-weight: 800;
    background: #090d96;
    /* Blue badge */
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 5px;
    text-transform: uppercase;
}

.software-text {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: #05084a;
    /* Dark text on white card */
    text-shadow: none;
    /* Remove shadow for sharpness */
}

.software-item:hover .software-text {
    color: #090d96;
}

@media (max-width: 991px) {
    .software-list-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    .software-list-grid {
        grid-template-columns: 1fr;
    }
}

.who-we-are {
    padding: 100px 0;
    background: #ffffff;
}

.who-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.who-image {
    position: relative;
}

.who-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.exp-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: #090d96;
    color: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(9, 13, 150, 0.3);
}

.exp-badge .num {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.exp-badge .txt {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-tag {
    color: #090d96;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 15px;
}

.section-heading {
    font-family: 'Oswald', sans-serif;
    font-size: 3rem;
    color: #1a1a1a;
    line-height: 1.2;
    margin-bottom: 25px;
}

.who-content p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.7;
}

.stats-row {
    display: flex;
    gap: 40px;
    margin: 40px 0;
    padding: 30px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.stat-box {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: #090d96;
}

.stat-label {
    font-size: 0.9rem;
    color: #777;
    text-transform: uppercase;
    font-weight: 600;
}

.btn-outline {
    display: inline-block;
    padding: 15px 35px;
    border: 2px solid #090d96;
    color: #090d96;
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: #090d96;
    color: white;
    transform: translateY(-3px);
}

/* --- Why Choose Us Section --- */
.why-choose-us {
    padding: 100px 0;
    background: #f8faff;
}

.section-header-center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.why-card {
    background: white;
    padding: 50px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.4s ease;
}

.why-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.why-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.why-card h3 {
    font-family: 'Oswald', sans-serif;
    color: #090d96;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.why-card p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

/* --- Responsive Layouts --- */
@media (max-width: 991px) {
    .who-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .exp-badge {
        right: 20px;
        bottom: 0;
    }

    .stats-row {
        justify-content: center;
        flex-wrap: wrap;
    }

    .why-grid {
        grid-template-columns: 1fr 1fr;
    }

    .section-heading {
        font-size: 2.2rem;
    }
}

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

    .stat-box {
        width: 100%;
    }
}

/* RTL Support */
[lang="ar"] .who-grid {
    direction: rtl;
}

[lang="ar"] .who-content {
    text-align: right;
}

[lang="ar"] .exp-badge {
    right: auto;
    left: -30px;
}

@media (max-width: 991px) {
    [lang="ar"] .exp-badge {
        left: 20px;
    }
}

/* --- Compact Final CTA --- */
.final-cta {
    padding: 60px 0;
    background: white;
}

.cta-mini-bar {
    background: #f8faff;
    border: 1px solid #e0e6ed;
    padding: 25px 50px;
    border-radius: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.cta-mini-bar:hover {
    border-color: #090d96;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.cta-mini-bar h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    color: #1a1a1a;
    margin: 0;
}

.cta-mini-bar h3 span {
    color: #666;
    font-weight: 400;
    display: inline-block;
    margin-left: 10px;
}

.cta-mini-actions {
    display: flex;
    align-items: center;
    gap: 30px;
}

.btn-mini {
    background: #090d96;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.btn-mini:hover {
    background: #05084a;
    transform: translateY(-2px);
}

.phone-mini {
    color: #090d96;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
}

@media (max-width: 991px) {
    .cta-mini-bar {
        flex-direction: column;
        text-align: center;
        border-radius: 30px;
        padding: 40px 30px;
        gap: 25px;
    }

    .cta-mini-bar h3 span {
        display: block;
        margin-left: 0;
        margin-top: 5px;
    }
}

@media (max-width: 575px) {
    .cta-mini-actions {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .btn-mini {
        width: 100%;
        text-align: center;
    }
}

/* RTL Support for Mini Bar */
[lang="ar"] .cta-mini-bar h3 span {
    margin-left: 0;
    margin-right: 10px;
}

@media (max-width: 991px) {
    [lang="ar"] .cta-mini-bar h3 span {
        margin-right: 0;
    }
}

/* --- Redesigned Promo Section (Split Layout) --- */
.promo-section {
    padding: 80px 0;
    background: #ffffff;
}

.promo-container {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.promo-content {
    flex: 1;
}

.promo-content h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    color: #090d96;
    margin-bottom: 20px;
    line-height: 1.2;
}

.promo-content p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.6;
}

.promo-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.promo-features li {
    position: relative;
    padding-left: 25px;
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.promo-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #090d96;
    font-weight: 800;
}

.promo-btn {
    display: inline-block;
    background: #090d96;
    color: white;
    padding: 14px 35px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
}

.promo-btn:hover {
    background: #fbff00;
    color: #05084a;
    transform: translateY(-3px);
}

.promo-image {
    flex: 1;
}

.promo-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 20px 20px 0px #fbff00;
    /* Distinct brand shadow */
}

@media (max-width: 991px) {
    .promo-container {
        flex-direction: column;
        text-align: center;
    }

    .promo-features {
        grid-template-columns: 1fr;
        text-align: left;
        max-width: 400px;
        margin: 0 auto 30px;
    }

    .promo-content h2 {
        font-size: 2rem;
    }
}

/* RTL for Promo */
[lang="ar"] .promo-features li {
    padding-left: 0;
    padding-right: 25px;
    text-align: right;
}

[lang="ar"] .promo-features li::before {
    left: auto;
    right: 0;
}

[lang="ar"] .promo-image img {
    box-shadow: -20px 20px 0px #fbff00;
}

/* --- Promo Mini Grid --- */
.promo-grid-mini {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.mini-card {
    background: #f0f4f8;
    padding: 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.mini-card:hover {
    background: #fbff00;
    transform: scale(1.05);
}

.mini-icon {
    font-size: 1.2rem;
}

.mini-card span:last-child {
    font-weight: 700;
    font-size: 0.9rem;
    color: #05084a;
}

@media (max-width: 575px) {
    .promo-grid-mini {
        grid-template-columns: 1fr;
    }
}

/* --- Modern Gallery Section --- */
.gallery-section {
    padding: 100px 0;
    background: #f9fbff;
}

.gallery-grid-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.gallery-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 300px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.gallery-card:hover img {
    transform: scale(1.1);
}

.gallery-card .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(9, 13, 150, 0.9), transparent);
    padding: 30px;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    display: flex;
    align-items: flex-end;
}

.gallery-card:hover .overlay {
    transform: translateY(0);
}

.gallery-card .overlay span {
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 1px;
}

@media (max-width: 991px) {
    .gallery-grid-modern {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 575px) {
    .gallery-grid-modern {
        grid-template-columns: 1fr;
    }
}

/* --- Premium Footer --- */
.site-footer {
    background: #05084a;
    color: white;
    padding: 80px 0 30px;
    margin-top: 0;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: #fbff00;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-about p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

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

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #fbff00;
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    color: #ccc;
    font-size: 0.95rem;
}

.footer-icon {
    color: #fbff00;
    font-size: 1.2rem;
    margin-top: 2px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: #777;
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    margin: 0;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.social-icon:hover {
    background: #fbff00;
    color: #05084a;
}

@media (max-width: 991px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 575px) {
    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
}

/* RTL Footer */
[lang="ar"] .footer-links a:hover {
    padding-left: 0;
    padding-right: 5px;
}

/* --- Pro Footer Upgrade --- */
.site-footer-pro {
    background: linear-gradient(to right, #05084a, #020324);
    color: #e0e6ed;
    padding-top: 80px;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

/* Subtle pattern overlay */
.site-footer-pro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/pattern-dot.png');
    /* Fallback or generated pattern */
    opacity: 0.03;
    pointer-events: none;
}

.footer-top-pro {
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-widget-title {
    color: #ffffff;
    font-family: 'Oswald', sans-serif;
    font-size: 1.25rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: #fbff00;
    border-radius: 2px;
}

/* Newsletter Widget */
.newsletter-text {
    margin-bottom: 20px;
    opacity: 0.8;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 15px;
    border-radius: 5px;
    color: white;
    outline: none;
    transition: all 0.3s;
}

.newsletter-input:focus {
    border-color: #fbff00;
    background: rgba(255, 255, 255, 0.1);
}

.newsletter-btn {
    background: #fbff00;
    color: #05084a;
    border: none;
    padding: 0 20px;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.newsletter-btn:hover {
    background: white;
    color: #090d96;
}

/* Social Icons Pro */
.social-links-pro {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.social-btn-pro {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.social-btn-pro:hover {
    background: #090d96;
    border-color: #fbff00;
    transform: translateY(-3px);
    color: #fbff00;
}

/* Footer Bottom Pro */
.footer-bottom-pro {
    padding: 25px 0;
    background: #020320;
    margin-top: 0;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom-links a {
    color: #8890a8;
    margin-left: 20px;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.footer-bottom-links a:hover {
    color: #fbff00;
}

/* RTL Tweaks */
[lang="ar"] .footer-widget-title::after {
    left: auto;
    right: 0;
}

[lang="ar"] .footer-bottom-links a {
    margin-left: 0;
    margin-right: 20px;
}