/*
 * ALMUBARAQSUB Custom Styles
 * Modern Payment Platform Theme
 */

:root {
    --primary-purple: #5B4B9E;
    --primary-dark: #3D2F7E;
    --primary-light: #7B66C7;
    --accent-orange: #F5A623;
    --accent-pink: #E74C8C;
    --accent-cyan: #4ECDC4;
    --accent-green: #2ECC71;
    --text-dark: #2D2D2D;
    --text-light: #6B7280;
    --bg-light: #F8F9FC;
}

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* ========================================
   Header Styles
   ======================================== */
.header-transparent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.header-transparent.scrolled {
    position: fixed;
    background: rgba(91, 75, 158, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
}

.header-transparent .nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 16px !important;
    transition: all 0.3s ease;
}

.header-transparent .nav-link:hover,
.header-transparent .nav-link.active {
    color: #fff !important;
}

.header-transparent .nav-link.active {
    background: rgba(255,255,255,0.15);
    border-radius: 20px;
}

.btn-get-started {
    background: #fff;
    color: var(--primary-purple) !important;
    padding: 10px 24px !important;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-get-started:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.3);
    color: var(--primary-purple) !important;
}

/* ========================================
   Hero Section
   ======================================== */
.hero-section-new {
    background: linear-gradient(135deg, #5B4B9E 0%, #7B66C7 50%, #9B85E8 100%);
    min-height: 100vh;
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-section-new::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('../img/hero/wellcome.png') no-repeat center right;
    background-size: contain;
    opacity: 0.1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-subtitle {
    color: rgba(255,255,255,0.85);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 480px;
}

.btn-primary-custom {
    background: var(--accent-orange);
    color: #fff;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary-custom:hover {
    background: #e09620;
    transform: translateY(-2px);
    color: #fff;
}

.btn-secondary-custom {
    background: transparent;
    color: #fff;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    border: 2px solid rgba(255,255,255,0.4);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-secondary-custom:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
    color: #fff;
}

.hero-image-container {
    position: relative;
}

.hero-image-container img {
    max-width: 100%;
    filter: drop-shadow(0 30px 60px rgba(0,0,0,0.3));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* ========================================
   Technology/Services Section
   ======================================== */
.technology-section {
    padding: 100px 0;
    background: #fff;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.section-title-new {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-light);
    font-size: 15px;
    max-width: 600px;
    margin: 0 auto 60px;
}

/* ========================================
   Feature Cards
   ======================================== */
.feature-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: 16px;
    transition: all 0.3s ease;
    background: #fff;
    margin-bottom: 30px;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(91,75,158,0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 32px;
}

.feature-icon.purple { background: linear-gradient(135deg, #5B4B9E, #7B66C7); color: #fff; }
.feature-icon.pink { background: linear-gradient(135deg, #E74C8C, #FF6B9D); color: #fff; }
.feature-icon.orange { background: linear-gradient(135deg, #F5A623, #FFBE45); color: #fff; }
.feature-icon.cyan { background: linear-gradient(135deg, #4ECDC4, #6EE7DE); color: #fff; }
.feature-icon.green { background: linear-gradient(135deg, #2ECC71, #4EE091); color: #fff; }
.feature-icon.blue { background: linear-gradient(135deg, #3498DB, #54B8FB); color: #fff; }

.feature-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* ========================================
   About Section
   ======================================== */
.about-section-new {
    padding: 100px 0;
    background: var(--bg-light);
}

.about-image-wrapper {
    position: relative;
}

.about-image-wrapper img {
    max-width: 100%;
    border-radius: 20px;
}

.about-content-new h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 24px;
}

.about-content-new p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 24px;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
}

.about-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 15px;
    color: var(--text-dark);
}

.about-list li i {
    color: var(--accent-green);
    font-size: 14px;
    margin-top: 4px;
}

.btn-learn-more {
    background: var(--primary-purple);
    color: #fff;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-learn-more:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
}

/* ========================================
   Pricing Section
   ======================================== */
.pricing-section-new {
    padding: 100px 0;
    background: #fff;
}

.pricing-card {
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.pricing-card-inner {
    padding: 40px 30px;
    text-align: center;
    color: #fff;
}

.pricing-card.mtn { background: linear-gradient(135deg, #FFCC00, #FFA500); }
.pricing-card.airtel { background: linear-gradient(135deg, #E60000, #FF4444); }
.pricing-card.glo { background: linear-gradient(135deg, #00A650, #00D66B); }
.pricing-card.mobile9 { background: linear-gradient(135deg, #006633, #00994D); }

.pricing-card img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255,255,255,0.3);
    margin-bottom: 16px;
}

.pricing-card h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.pricing-table {
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
}

.pricing-table table {
    width: 100%;
    margin: 0;
}

.pricing-table td {
    padding: 10px 8px;
    font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.pricing-table tr:last-child td {
    border-bottom: none;
}

.btn-order {
    background: #fff;
    color: inherit;
    padding: 12px 28px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.pricing-card.mtn .btn-order { color: #FFA500; }
.pricing-card.airtel .btn-order { color: #E60000; }
.pricing-card.glo .btn-order { color: #00A650; }
.pricing-card.mobile9 .btn-order { color: #006633; }

.btn-order:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* ========================================
   Roadmap Section
   ======================================== */
.roadmap-section {
    padding: 100px 0;
    background: var(--bg-light);
    position: relative;
}

.roadmap-wrapper {
    position: relative;
    padding-top: 60px;
}

.roadmap-line {
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-purple) 0%, var(--accent-cyan) 50%, var(--accent-green) 100%);
    border-radius: 2px;
    z-index: 1;
}

.roadmap-item {
    text-align: center;
    position: relative;
    z-index: 2;
}

.roadmap-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-purple);
    margin: 0 auto 20px;
    border: 4px solid #fff;
    box-shadow: 0 4px 15px rgba(91,75,158,0.3);
}

.roadmap-item.active .roadmap-dot {
    background: var(--accent-green);
}

.roadmap-date {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-purple);
    margin-bottom: 8px;
}

.roadmap-item h5 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.roadmap-item p {
    font-size: 12px;
    color: var(--text-light);
    margin: 0;
}

/* ========================================
   News/Blog Section
   ======================================== */
.news-section-new {
    padding: 100px 0;
    background: #fff;
}

.news-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-card-content {
    padding: 28px;
}

.news-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.news-card h4 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-card h4 a:hover {
    color: var(--primary-purple);
}

.news-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* ========================================
   Footer
   ======================================== */
.footer-new {
    background: linear-gradient(135deg, #2D2D4A 0%, #1A1A2E 100%);
    padding: 80px 0 30px;
    color: #fff;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    max-width: 140px;
}

.footer-desc {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-social a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-right: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--primary-purple);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #fff;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-contact-item {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
}

.footer-contact-item i {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-orange);
}

.footer-contact-item .content h6 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #fff;
}

.footer-contact-item .content p,
.footer-contact-item .content a {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    margin: 0;
    text-decoration: none;
}

.footer-bottom-new {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    margin-top: 50px;
    text-align: center;
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

/* ========================================
   Mobile Menu
   ======================================== */
.mobile-menu-btn {
    display: none;
    background: rgba(255,255,255,0.15);
    border: none;
    padding: 10px 14px;
    border-radius: 8px;
    color: #fff;
    font-size: 20px;
}

/* ========================================
   Back to Top
   ======================================== */
.back-to-top-new {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-purple);
    color: #fff;
    border: none;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top-new.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top-new:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

/* ========================================
   Responsive Styles
   ======================================== */
@media (max-width: 991px) {
    .mobile-menu-btn {
        display: block;
    }

    .desktop-nav {
        display: none !important;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-image-container {
        margin-top: 50px;
    }

    .section-title-new {
        font-size: 2rem;
    }

    .about-content-new h2 {
        font-size: 2rem;
    }

    .roadmap-line {
        display: none;
    }
}

@media (max-width: 767px) {
    .hero-section-new {
        padding: 120px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-btn-group {
        flex-direction: column;
        gap: 12px;
    }

    .hero-btn-group a {
        width: 100%;
        justify-content: center;
    }

    .technology-section,
    .about-section-new,
    .pricing-section-new,
    .roadmap-section,
    .news-section-new {
        padding: 60px 0;
    }
}
