﻿/* Eng Lan  */

.btn-outline {
    border: 2px solid var(--primary);
    background: transparent;
    padding: 8px 24px;
    border-radius: 50px;
    color: var(--primary);
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 8px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(13, 148, 136, 0.3);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: white;
    padding: 14px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.3);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--light) 0%, #e0f2fe 100%);
    padding: 140px 5% 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(13,148,136,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--dark), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-content p {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.stars {
    color: var(--secondary);
}

.hero-image {
    position: relative;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

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

/* Trust Section */
.trust-section {
    padding: 40px 5%;
    background: var(--white);
    text-align: center;
}

.trust-grid {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.trust-item {
    text-align: center;
}

.trust-item i {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 10px;
}

/* Features Section */
.features {
    padding: 80px 5%;
    background: var(--light);
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    margin-bottom: 50px;
    font-size: 18px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon i {
    font-size: 30px;
    color: white;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* Stats Section */
.stats {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 60px 5%;
}

.stats-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
}

/* How It Works */
.how-it-works {
    padding: 80px 5%;
    background: var(--white);
}

.steps-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.step {
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.step p {
    color: var(--gray);
}

/* Pricing Preview */
.pricing-preview {
    padding: 80px 5%;
    background: var(--light);
}

.pricing-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pricing-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.pricing-card.popular {
    border: 2px solid var(--primary);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.price {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary);
    margin: 20px 0;
}

.price span {
    font-size: 16px;
    color: var(--gray);
}

.features-list {
    list-style: none;
    margin: 30px 0;
}

.features-list li {
    padding: 10px 0;
    border-bottom: 1px solid #e2e8f0;
}

.features-list i {
    color: var(--success);
    margin-right: 10px;
}

/* Testimonials */
.testimonials {
    padding: 80px 5%;
    background: var(--white);
}

.testimonial-slider {
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-card {
    background: var(--light);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
}

.testimonial-text {
    font-style: italic;
    font-size: 18px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 20px;
}

.swiper-button-next, .swiper-button-prev {
    color: var(--primary);
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--dark), var(--primary-dark));
    color: white;
    padding: 80px 5%;
    text-align: center;
}

.cta h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.cta p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}



/* Language Switch Notification */
.language-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    z-index: 1000;
    display: none;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}


@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
            
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
            
    .nav-links.active {
        display: flex;
    }
            
    .language-dropdown {
        width: 100%;
    }
            
    .dropdown-content {
        position: static;
        box-shadow: none;
        margin-top: 5px;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }
            
    .language-dropdown:hover .dropdown-content {
        display: block;
    }
            
    .hero-container {
        grid-template-columns: 1fr;
    }
            
    .hero-content h1 {
        font-size: 36px;
    }
            
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
            
    .steps-grid {
        grid-template-columns: 1fr;
    }
            
    .pricing-grid {
        grid-template-columns: 1fr;
    }
            
    .pricing-card.popular {
        transform: scale(1);
    }
            
    .footer-grid {
        grid-template-columns: 1fr;
    }
}


/* ============================================ */
/* URDU LANGUAGE SPECIFIC STYLES - RTL SUPPORT */
/* ============================================ */

/* Urdu Font Import */
@import url('https://fonts.googleapis.com/css2?family=Noto+Nastaliq+Urdu:wght@400;500;600;700&display=swap');

/* Urdu Container Styles */
#lang-ur {
    font-family: 'Noto Nastaliq Urdu', 'Inter', sans-serif;
    direction: rtl;
    text-align: right;
}

    /* ===== NAVIGATION RTL ===== */
    #lang-ur .nav-links {
        flex-direction: row-reverse;
    }

    #lang-ur .nav-container {
        direction: rtl;
    }

    /* ===== HERO SECTION RTL ===== */
    #lang-ur .hero-container {
        direction: rtl;
    }

    #lang-ur .hero-content {
        text-align: right;
    }

    #lang-ur .hero-buttons {
        flex-direction: row-reverse;
        justify-content: flex-start;
    }

    #lang-ur .trust-badge {
        justify-content: flex-end;
        flex-direction: row-reverse;
    }

    #lang-ur .stars {
        display: inline-block;
    }

    /* ===== TRUST SECTION RTL ===== */
    #lang-ur .trust-section {
        direction: rtl;
    }

    #lang-ur .trust-grid {
        direction: rtl;
    }

    #lang-ur .trust-item {
        text-align: center;
    }

    /* ===== FEATURES SECTION RTL ===== */
    #lang-ur .features {
        direction: rtl;
    }

    #lang-ur .features-grid {
        direction: rtl;
    }

    #lang-ur .feature-card {
        text-align: right;
    }

    #lang-ur .feature-icon {
        margin-left: auto;
        margin-right: 0;
    }

    /* ===== STATS SECTION RTL ===== */
    #lang-ur .stats {
        direction: rtl;
    }

    #lang-ur .stats-grid {
        direction: rtl;
    }

    /* Keep numbers LTR in stats */
    #lang-ur .stat-number {
        direction: ltr;
        display: inline-block;
    }

    /* ===== HOW IT WORKS SECTION RTL ===== */
    #lang-ur .how-it-works {
        direction: rtl;
    }

    #lang-ur .steps-grid {
        direction: rtl;
    }

    #lang-ur .step {
        text-align: center;
    }

    /* Keep step numbers LTR */
    #lang-ur .step-number {
        direction: ltr;
        display: flex;
        margin: 0 auto 20px;
    }

    /* ===== PRICING SECTION RTL ===== */
    #lang-ur .pricing-preview {
        direction: rtl;
    }

    #lang-ur .pricing-grid {
        direction: rtl;
    }

    #lang-ur .pricing-card {
        text-align: right;
    }

    /* Move check icons to right side */
    #lang-ur .features-list i {
        margin-right: 0;
        margin-left: 10px;
    }

    /* Keep prices LTR */
    #lang-ur .price {
        direction: ltr;
        display: inline-block;
    }

    /* Popular badge positioning */
    #lang-ur .popular-badge {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }

    /* ===== TESTIMONIALS SECTION RTL ===== */
    #lang-ur .testimonials {
        direction: rtl;
    }

    #lang-ur .testimonial-card {
        text-align: center;
    }

    /* Fix Swiper navigation buttons for RTL */
    #lang-ur .swiper-button-next {
        right: auto;
        left: 10px;
    }

    #lang-ur .swiper-button-prev {
        left: auto;
        right: 10px;
    }

    /* ===== CTA SECTION RTL ===== */
    #lang-ur .cta {
        text-align: center;
    }

    /* ===== FOOTER RTL ===== */
    #lang-ur .footer {
        direction: rtl;
    }

    #lang-ur .footer-grid {
        direction: rtl;
    }

    #lang-ur .footer-col {
        text-align: right;
    }

    #lang-ur .footer-bottom {
        text-align: center;
    }

    /* ===== DROPDOWN MENU RTL ===== */
    #lang-ur .dropdown-content {
        right: auto;
        left: 0;
    }

    /* ===== LANGUAGE BUTTON - Keep LTR ===== */
    #lang-ur .language-btn {
        direction: ltr;
    }

    /* ===== SECTION TITLES - Keep Centered ===== */
    #lang-ur .section-title,
    #lang-ur .section-subtitle {
        text-align: center;
    }

    /* ===== BUTTON ICONS RTL ===== */
    #lang-ur .btn-primary i,
    #lang-ur .btn-secondary i,
    #lang-ur .btn-outline i {
        margin-left: 0;
        margin-right: 8px;
    }

    /* ===== TOAST NOTIFICATION RTL ===== */
    #lang-ur .language-toast {
        right: auto;
        left: 30px;
        animation: slideInRTL 0.3s ease;
    }

@keyframes slideInRTL {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ===== MOBILE RESPONSIVE RTL ===== */
@media (max-width: 768px) {
    #lang-ur .nav-links {
        flex-direction: column;
        text-align: center;
    }

    #lang-ur .dropdown-content {
        left: 50%;
        right: auto;
        transform: translateX(50%);
    }

    #lang-ur .hero-buttons {
        justify-content: center;
    }

    #lang-ur .trust-badge {
        justify-content: center;
    }

    #lang-ur .stats-grid {
        direction: rtl;
    }

    #lang-ur .pricing-grid {
        direction: rtl;
    }

    #lang-ur .steps-grid {
        direction: rtl;
    }

    #lang-ur .features-grid {
        direction: rtl;
    }
}

/* ===== KEEP NUMBERS, PRICES, EMAILS LTR ===== */
#lang-ur .price,
#lang-ur .stat-number,
#lang-ur .footer-col a[href^="mailto:"],
#lang-ur .footer-col a[href^="tel:"] {
    direction: ltr;
    display: inline-block;
}



/* ===== FIX LIST ITEMS ALIGNMENT ===== */
#lang-ur .features-list li {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

    #lang-ur .features-list li i {
        order: 1;
    }

    #lang-ur .features-list li span {
        order: 2;
    }

/* ===== FIX PRICING CARD LIST ITEMS ===== */
#lang-ur .pricing-card .features-list li {
    justify-content: flex-start;
    text-align: right;
}

/* ===== HERO IMAGE - Keep as is ===== */
#lang-ur .hero-image {
    direction: ltr;
}

/* ===== FIX ANY FLEX CONTAINERS ===== */
#lang-ur .hero-buttons,
#lang-ur .trust-badge,
#lang-ur .testimonial-author {
    display: flex;
}

#lang-ur .testimonial-author {
    justify-content: center;
}

    /* ===== FIX AUTHOR NAMES AND ROLES ===== */
    #lang-ur .testimonial-author div {
        text-align: center;
    }

/* ===== FIX PRICING CARD BUTTONS ===== */
#lang-ur .pricing-card .btn-outline,
#lang-ur .pricing-card .btn-primary {
    display: inline-block;
}

/* ===== FIX SWIPER PAGINATION ===== */
#lang-ur .swiper-pagination-bullet {
    display: inline-block;
}

/* ===== ENSURE PROPER SPACING ===== */
#lang-ur .feature-card,
#lang-ur .pricing-card,
#lang-ur .testimonial-card {
    word-wrap: break-word;
}