:root {
    --primary: #3b82f6;        /* Bright blue – trust & action */
    --primary-dark: #1e40af;   /* Darker blue – depth */
    --secondary: #10b981;      /* Fresh green – growth/positivity */
    --dark: #111827;           /* Dark gray – text readability */
    --light: #f9fafb;          /* Clean background */
    --gray: #6b7280;           /* Muted gray – secondary text */
    --accent: #f59e0b;         /* Warm yellow – draws attention */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Tajawal', sans-serif;
}

body {
    color: var(--dark);
    background: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 12px 0;
    transition: all 0.4s ease;
}

header.scrolled {
    padding: 8px 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: bold;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-primary {
    font-size: 22px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
}

.logo-secondary {
    font-size: 13px;
    color: var(--primary);
    font-weight: 500;
}

/* Improved Navigation for Mobile */
nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: var(--gray);
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
}

nav a:hover {
    color: var(--primary);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary), var(--primary-dark));
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

.header-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cta-button {
    background: linear-gradient(to right, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--gray);
    cursor: pointer;
    z-index: 1001;
}

/* Mobile Navigation Styles */
@media (max-width: 992px) {
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 80px 30px 30px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.4s ease;
        z-index: 999;
    }

    nav.active {
        right: 0;
    }

    nav a {
        padding: 15px 0;
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
        font-size: 18px;
    }

    .menu-toggle {
        display: block;
    }

    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

/* Hero Section */
.hero {
    padding: 160px 0 80px;
    background: linear-gradient(120deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236d28d9' fill-opacity='0.8'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(124, 58, 237, 0.1);
    animation: fadeInDown 1s ease;
}

.hero-badge i {
    margin-left: 8px;
    color: var(--accent);
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-title span {
    background: linear-gradient(to right, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 35px;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.6s both;
}

.primary-btn {
    background: linear-gradient(to right, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 17px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(124, 58, 237, 0.3);
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.4);
}

.primary-btn.large {
    padding: 18px 40px;
    font-size: 18px;
}

.secondary-btn {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 14px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 17px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.secondary-btn:hover {
    background: rgba(124, 58, 237, 0.1);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
    justify-content: center;
    background: rgba(255, 255, 255, 0.8);
    padding: 25px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(124, 58, 237, 0.1);
    animation: fadeInUp 1s ease 0.8s both;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: var(--gray);
    margin-top: 5px;
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Packages Section - Tab System */
.packages {
    padding: 80px 0;
    background: white;
}

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

.section-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(124, 58, 237, 0.1);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.section-badge i {
    margin-left: 8px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.6;
}

/* Tab System */
.tabs-container {
/*     margin-bottom: 40px; */
}

.main-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 10px;
}

.main-tab {
    padding: 12px 30px;
    background: transparent;
    border: none;
    font-size: 18px;
    font-weight: 600;
    color: var(--gray);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px 8px 0 0;
    position: relative;
}

.main-tab.active {
    color: var(--primary);
}

.main-tab.active::after {
    content: '';
    position: absolute;
    bottom: -12px;
    right: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
}

.sub-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.sub-tab {
    padding: 10px 25px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
    color: var(--gray);
    cursor: pointer;
    transition: all 0.3s ease;
}

.sub-tab.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.packages-container {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 10px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) #f1f1f1;
}

.packages-container::-webkit-scrollbar {
    height: 8px;
}

.packages-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.packages-container::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.package-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid #edf2f7;
    min-width: 320px;
    flex-shrink: 0;
    width: 80vw !important;
    margin: auto !important;
}

.package-card.popular {
    border: 2px solid var(--primary);
    transform: scale(1.03);
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.2);
}

.popular-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
}

.package-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 30px;
    text-align: center;
    position: relative;
}

.package-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.package-name {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.package-description {
    opacity: 0.9;
    font-size: 0.95rem;
}

.package-features {
    padding: 30px;
    flex-grow: 1;
}

.feature-list {
    list-style: none;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: #4a5568;
    font-size: 0.95rem;
}

.feature-item i {
    color: var(--primary);
    margin-left: 10px;
    margin-top: 4px;
    flex-shrink: 0;
}

.package-footer {
    padding: 0 30px 30px;
}

.package-button {
    display: block;
    width: 100%;
    background: linear-gradient(to right, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    padding: 15px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
}

.package-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
}

/* Services Section */
.services {
    padding: 80px 0;
    background: #f8fafc;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #edf2f7;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: right;
    position: relative;
    overflow: hidden;
}

.service-card:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary), var(--primary-dark));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.15);
    border-color: rgba(124, 58, 237, 0.2);
}

.service-card:hover:after {
    transform: scaleX(1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(109, 40, 217, 0.1) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
    font-size: 24px;
}

.service-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
}

.service-description {
    color: var(--gray);
    margin-bottom: 20px;
    flex-grow: 1;
    line-height: 1.6;
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    margin-top: auto;
}

.service-link i {
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(-5px);
}

/* Success Stories Section */
.success-stories {
    padding: 80px 0;
    background: white;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.story-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #edf2f7;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.15);
}

.story-image {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(109, 40, 217, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary);
    font-size: 30px;
}

.story-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 5px;
}

.story-title {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 15px;
}

.story-text {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
}

.story-stats {
    display: flex;
    justify-content: space-around;
    margin-top: auto;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--gray);
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background: #f8fafc;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content {
/*     text-align: right; */
}

.step-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.step-description {
    color: var(--gray);
    line-height: 1.6;
}

.cta-section {
    text-align: center;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.cta-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.cta-subtitle {
    color: var(--gray);
    margin-bottom: 30px;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: white;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background: #f8fafc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--dark);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #edf2f7;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 200px;
}

.faq-contact {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 10px;
}

.faq-contact a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.faq-contact a:hover {
    text-decoration: underline;
}

/* Partners & Payment Methods Combined Section */
.partners-payment {
    padding: 80px 0;
    background: white;
    text-align: center;
}

.partners-payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.partner-payment-item {
    background: #f8fafc;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.partner-payment-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.partner-payment-item img {
    max-width: 100%;
    max-height: 30px;
}

/* Footer Section with Logos */
footer {
    background: var(--dark);
    color: white;
    padding: 60px 0 30px;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    font-weight: bold;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
}

.footer-logo-primary {
    font-size: 20px;
    font-weight: 800;
    color: white;
    line-height: 1.2;
}

.footer-logo-secondary {
    font-size: 12px;
    color: #c3cfe2;
    font-weight: 500;
}

.footer-description {
    color: #c3cfe2;
    margin-bottom: 20px;
    line-height: 1.6;
}

.official-logos {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.official-logo {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.official-logo img {
    max-width: 100%;
    max-height: 100%;
}

.footer-heading {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: #c3cfe2;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: white;
}

.footer-contact-info {
    list-style: none;
}

.footer-contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #c3cfe2;
}

.footer-contact-info i {
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 30px;
    text-align: center;
    color: #c3cfe2;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: #c3cfe2;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: white;
    text-decoration: underline;
}

.commercial-record {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-content {
        text-align: center;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .packages-container {
        padding: 20px 15px;
    }

    .package-card {
        min-width: 300px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .official-logos {
        justify-content: center;
    }

    .main-tabs {
        align-items: center;
        gap: 10px;
    }

    .main-tab {
        width: 100%;
        text-align: center;
    }

    .main-tab.active::after {
        bottom: -2px;
    }

    .steps-container {
        grid-template-columns: 1fr;
    }

    .step {
        flex-direction: column;
        text-align: center;
    }

    .step-number {
        margin: 0 auto 15px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .hero-badge, .section-badge {
        font-size: 12px;
    }

    .primary-btn, .secondary-btn {
        padding: 12px 25px;
        font-size: 14px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .partners-payment-grid {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
        gap: 15px;
    }

    .partner-payment-item {
        height: 60px;
        padding: 10px;
    }

    .partner-payment-item img {
        max-height: 25px;
    }

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

@media (max-width: 576px) {
    .hero {
        padding: 130px 0 60px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .services, .packages, .success-stories, .how-it-works, .faq, .partners-payment {
        padding: 60px 0;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .packages-container {
        padding: 15px 10px;
    }

    .package-card {
        min-width: 280px;
    }

    .official-logos {
        gap: 15px;
    }

    .official-logo {
        width: 70px;
        height: 70px;
    }

    .sub-tabs {
        align-items: center;
    }
}

@media (min-width: 993px) {
    .packages-container {
        justify-content: center;
        overflow-x: visible;
        flex-wrap: wrap;
    }

    .package-card {
        flex: 1;
        min-width: 0;
        max-width: 350px;
    }
}

.feature-item {
    margin-bottom: 15px;
}
.feature-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.feature-title {
    font-weight: 600;
    font-size: 1em;
    color: #333;
    margin-bottom: 2px;
}
.feature-title i {
    color: #4CAF50;
    margin-right: 6px;
}
.feature-desc {
    font-size: 0.85em;
    color: #777;
}
.feature-title i {
    color: var(--primary);
    margin-right: 6px;
}



.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    padding-top: 8px;
    padding-right: 1px;
}

.service-link i {
    margin-left: 7px;
    transition: transform 0.3s ease;
    position: relative;
    top: -3px;
}

section:nth-of-type(odd) {
    background: #f8fafc;
}

section:nth-of-type(even) {
    background: #fff;
}

.tab-content {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    display: none; /* hide inactive content */
    position: relative;
}

.tab-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0) !important;
}


/* Tab System */
.tabs-container {
/*     margin-bottom: 40px; */
}

.main-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 10px;
}

.main-tab {
    padding: 12px 30px;
    background: transparent;
    border: none;
    font-size: 18px;
    font-weight: 600;
    color: var(--gray);
    cursor: pointer;
    transition: all 0.4s ease;
    border-radius: 8px 8px 0 0;
    position: relative;
}

.main-tab.active {
    color: var(--primary);
}

.main-tab.active::after {
    content: '';
    position: absolute;
    bottom: -12px;
    right: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
}

.sub-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.sub-tab {
    padding: 10px 25px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
    color: var(--gray);
    cursor: pointer;
    transition: all 0.4s ease;
}

.sub-tab.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.tab-content {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    display: none;
    position: relative;
}

.tab-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}


.package-card {
    position: relative; /* important for absolute positioning inside */
}

.package-card .popular-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-block; /* shrink to content */
    width: fit-content; /* ensure it doesn’t stretch */
    background: linear-gradient(135deg, #ff9800, #ff5722);
    color: #fff;
    font-weight: bold;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 10;
    white-space: nowrap; /* prevent text wrapping */
    text-align: center; /* center the text inside */
}


.hero {
    position: relative;
/*     background: url('path-to-your-image.jpg') center/cover no-repeat; */
    color: #fff; /* make sure text is readable */
}
.hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
/*     background: rgba(0,0,0,0.4); /* semi-transparent overlay */ */
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
}

#growth-content {
    margin-top: 12px;
}

#institutions-content {
    margin-top: 40px;
}

.cta-button {
    font-size: 14px;        /* smaller text */
    padding: 8px 16px;      /* smaller padding */
    border-radius: 6px;     /* optional: softer corners */
    height: auto;            /* avoid extra height */
    min-width: 0;           /* optional: removes large minimum width */
}

@media (max-width: 768px) {
    .cta-button {
        font-size: 13px;
        padding: 6px 12px;
    }
}


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

.service-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.15);
}

.service-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 15px;
}




.hero-tagline {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary); /* نفس اللون الأساسي للهوية */
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f0f9ff;
    padding: 8px 16px;
    border-radius: 30px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    width: fit-content;
}
.hero-tagline i {
    color: var(--accent);
}
