@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&display=swap');

@font-face {
    font-family: "Ionicons";
    src: url("../assets/fonts/ionicons.eot?v=2.0.1");
    src: url("../assets/fonts/ionicons.eot?v=2.0.1#iefix") format("embedded-opentype"), url("../lib/ionic/fonts/ionicons.ttf?v=2.0.1") format("truetype"), url("../lib/ionic/fonts/ionicons.woff?v=2.0.1") format("woff"), url("../lib/ionic-/fonts/ionicons.woff") format("woff"), url("../lib/ionic/fonts/ionicons.svg?v=2.0.1#Ionicons") format("svg");
    font-weight: normal;
    font-style: normal;
}

/* ==========================================================================
   Global Modern Styles & Typography
   ========================================================================== */
body,
h1, h2, h3, h4, h5, h6,
p, a, span, li, button, input, textarea, select {
    font-family: 'Cairo', sans-serif !important;
}

body .fa {
    font-family: 'FontAwesome' !important;
}

body {
    font-weight: 400;
    font-size: 15px;
    line-height: 1.75;
    color: #334155;
    background-color: #f8fafc;
    overflow-x: hidden;
}

/* ==========================================================================
   Modern Navbar
   ========================================================================== */
#navigation.navbar {
    background: rgba(15, 23, 42, 0.94) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 0 !important;
    min-height: 68px !important;
    height: auto !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.3) !important;
}

#navigation .container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 68px !important;
    direction: rtl;
}

#navigation .container:before,
#navigation .container:after {
    display: none !important;
}

#navigation .navbar-header {
    float: right !important;
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

#navigation .navbar-header .navbar-brand {
    float: none !important;
    height: auto !important;
    padding: 8px 0 !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    line-height: normal !important;
    text-decoration: none !important;
}

#navigation .navbar-header .navbar-brand img {
    height: 52px !important;
    width: 52px !important;
    max-height: 52px !important;
    object-fit: contain !important;
    display: block !important;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.35));
    transition: transform 0.25s ease;
}

#navigation .navbar-header .navbar-brand:hover img {
    transform: scale(1.08);
}

#navigation #topnav {
    float: left !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

#navigation .navbar-nav {
    float: none !important;
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 4px;
}

#navigation .navbar-nav > li {
    float: none !important;
    display: inline-block !important;
    margin: 0 !important;
}

#navigation .navbar-nav > li > a {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #e2e8f0 !important;
    padding: 9px 16px !important;
    line-height: 1.5 !important;
    border-radius: 10px !important;
    margin: 0 2px !important;
    background: transparent !important;
    transition: all 0.25s ease !important;
}

#navigation .navbar-nav > li > a:hover {
    color: #fbbf24 !important;
    background: rgba(251, 191, 36, 0.12) !important;
}

#navigation .navbar-nav > li.active > a {
    color: #fbbf24 !important;
    background: rgba(251, 191, 36, 0.16) !important;
    box-shadow: inset 0 0 0 1px rgba(251, 191, 36, 0.35) !important;
}

/* ==========================================================================
   Modern Hero Section
   ========================================================================== */
header#header.home-header.modern-hero {
    position: relative;
    background: radial-gradient(circle at 20% 20%, rgba(245, 158, 11, 0.18), transparent 45%),
                radial-gradient(circle at 80% 75%, rgba(59, 130, 246, 0.15), transparent 50%),
                linear-gradient(135deg, #0f172a 0%, #1e293b 55%, #0f172a 100%) !important;
    padding: 125px 0 85px !important;
    overflow: hidden;
    border-bottom: 4px solid #f59e0b;
}

header#header .bg-overlay.pattern {
    background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px) !important;
    background-size: 24px 24px !important;
    background-color: transparent !important;
    opacity: 0.6;
}

.hero-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.modern-hero .intro-text {
    text-align: right !important;
    padding-top: 10px !important;
}

.hero-badge {
    display: inline-block;
    background: rgba(251, 191, 36, 0.16);
    border: 1px solid rgba(251, 191, 36, 0.45);
    color: #fbbf24;
    font-size: 14px;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 18px;
    letter-spacing: 0.2px;
}

.hero-title {
    font-size: 46px !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    margin: 0 0 14px 0 !important;
    line-height: 1.2 !important;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.hero-title span {
    color: #fbbf24 !important;
}

.hero-subtitle {
    font-size: 19px !important;
    font-weight: 600 !important;
    color: #cbd5e1 !important;
    margin-bottom: 24px !important;
    line-height: 1.65 !important;
}

.hero-features-box {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-right: 4px solid #fbbf24;
    padding: 14px 18px;
    border-radius: 14px;
    backdrop-filter: blur(8px);
    transition: transform 0.25s ease, background 0.25s ease;
}

.hero-feature-item:hover {
    transform: translateX(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.hero-feature-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 6px 15px rgba(245, 158, 11, 0.3);
}

.hero-feature-text {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.hero-feature-text strong {
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 2px;
}

.hero-feature-text span {
    color: #94a3b8;
    font-size: 14px;
    font-weight: 500;
}

.hero-cta-note {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #f8fafc !important;
    margin-bottom: 22px !important;
}

.hero-cta-note span {
    color: #fbbf24;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.btn.slide-btn.btn-primary-gold {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%) !important;
    color: #0f172a !important;
    font-weight: 800 !important;
    font-size: 16px !important;
    padding: 13px 28px !important;
    border-radius: 12px !important;
    border: none !important;
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.35) !important;
    transition: all 0.3s ease !important;
}

.btn.slide-btn.btn-primary-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(245, 158, 11, 0.5) !important;
    color: #0f172a !important;
}

.btn.slide-btn.btn-outline-light {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    padding: 12px 26px !important;
    border-radius: 12px !important;
    border: 1.5px solid rgba(255, 255, 255, 0.28) !important;
    transition: all 0.3s ease !important;
}

.btn.slide-btn.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.18) !important;
    border-color: #fbbf24 !important;
    color: #fbbf24 !important;
    transform: translateY(-3px);
}

.hero-mockup-wrapper {
    position: relative;
    text-align: center;
    padding: 15px;
}

.hero-phones-img {
    margin: 0 auto;
    filter: drop-shadow(0 25px 40px rgba(0, 0, 0, 0.5));
    transition: transform 0.4s ease;
}

.hero-mockup-wrapper:hover .hero-phones-img {
    transform: translateY(-8px);
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-header-modern {
    margin-bottom: 45px;
}

.section-badge {
    display: inline-block;
    background: rgba(245, 158, 11, 0.14);
    color: #d97706;
    font-weight: 800;
    font-size: 13px;
    padding: 5px 16px;
    border-radius: 50px;
    margin-bottom: 10px;
}

.section-badge.badge-gold {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.35);
}

.section-header-modern .title h2 {
    font-size: 34px !important;
    font-weight: 900 !important;
    color: #0f172a;
    margin-top: 5px;
}

.section-header-modern.light-header .title h2 {
    color: #ffffff !important;
}

.section-header-modern .title h2 span {
    color: #f59e0b !important;
}

.section-header-modern p.desc {
    font-size: 16px !important;
    color: #64748b !important;
    max-width: 680px;
    margin: 12px auto 0 !important;
    font-weight: 500;
}

.section-header-modern.light-header p.desc.white {
    color: #cbd5e1 !important;
}

/* ==========================================================================
   Modern Categories Section
   ========================================================================== */
.modern-services-section {
    padding: 85px 0 !important;
    background: #f8fafc !important;
}

.categories-modern-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.modern-cat-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
    border: 1px solid #e2e8f0;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
    text-align: right;
}

.modern-cat-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
}

.modern-cat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
    border-color: #fbbf24;
}

.cat-card-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f1f5f9;
}

.cat-icon-wrapper {
    width: 76px;
    height: 76px;
    min-width: 76px;
    border-radius: 18px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.18);
}

.cat-icon-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cat-title-group h4 {
    margin: 0 0 6px 0;
    font-size: 23px;
    font-weight: 800;
}

.cat-title-group h4 a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s;
}

.cat-title-group h4 a:hover {
    color: #d97706;
}

.cat-subtitle {
    font-size: 13.5px;
    color: #64748b;
    font-weight: 500;
}

.cat-sub-tags {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cat-sub-tags li {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #334155;
    padding: 7px 15px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: all 0.2s ease;
}

.cat-sub-tags li i {
    color: #f59e0b;
}

.modern-cat-card:hover .cat-sub-tags li {
    background: #fffbeb;
    border-color: #fde68a;
}

.cat-card-footer {
    text-align: left;
}

.cat-explore-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0f172a;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 14px;
    padding: 10px 22px;
    border-radius: 12px;
    text-decoration: none !important;
    transition: all 0.25s ease;
}

.cat-explore-btn:hover {
    background: #f59e0b;
    color: #0f172a !important;
}

/* ==========================================================================
   Modern Features Section
   ========================================================================== */
.modern-features-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
    padding: 85px 0 !important;
    position: relative;
}

.modern-features-section .features-list-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px !important;
    margin-bottom: 20px !important;
    transition: all 0.3s ease;
    text-align: right !important;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    direction: rtl;
}

.modern-features-section .features-list-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(251, 191, 36, 0.45);
    transform: translateY(-4px);
}

.modern-features-section .features-list-item i {
    float: none !important;
    margin: 0 !important;
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 14px;
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px !important;
}

.modern-features-section .features-content h5 {
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    margin: 0 0 6px 0 !important;
}

.modern-features-section .features-content p {
    color: #cbd5e1 !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
    margin: 0 !important;
}

/* ==========================================================================
   How It Works Section
   ========================================================================== */
.modern-how-section {
    padding: 85px 0 !important;
    background: #ffffff !important;
}

.modern-about-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.modern-about-box .lead-paragraph {
    font-size: 16.5px !important;
    color: #334155 !important;
    font-weight: 600;
    line-height: 1.8 !important;
    margin-bottom: 24px;
}

.modern-about-box h3 {
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin-bottom: 20px !important;
}

.modern-about-box h3 i {
    color: #f59e0b;
    margin-left: 8px;
}

.modern-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modern-benefits-list li {
    display: flex !important;
    align-items: center;
    gap: 14px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 14px 18px !important;
    border-radius: 14px;
    margin-bottom: 12px !important;
    transition: all 0.25s ease;
}

.modern-benefits-list li:hover {
    border-color: #fbbf24;
    transform: translateX(-4px);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

.benefit-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 10px;
    background: #fef3c7;
    color: #d97706;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.modern-benefits-list li p {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 15px !important;
    font-weight: 600;
    color: #1e293b !important;
}

/* ==========================================================================
   Media / Videos / Articles Cards
   ========================================================================== */
.modern-media-card {
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    background: #ffffff;
}

.modern-media-card .article-title p {
    font-weight: 700 !important;
    font-size: 14.5px !important;
    padding: 10px 12px !important;
}

/* ==========================================================================
   Download App Section
   ========================================================================== */
.modern-download-section {
    padding: 75px 0 !important;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
}

.download-cta-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 50px 30px;
    text-align: center;
}

.download-cta-card .title h2 {
    color: #ffffff !important;
    font-size: 34px !important;
    font-weight: 900 !important;
}

.download-cta-card .title h2 span {
    color: #fbbf24 !important;
}

.download-cta-card p.desc {
    color: #cbd5e1 !important;
    font-size: 17px !important;
    margin-bottom: 30px !important;
}

.download-buttons-row {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.store-btn-modern {
    display: inline-flex !important;
    align-items: center;
    gap: 14px;
    padding: 14px 28px !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%) !important;
    color: #0f172a !important;
    border: none !important;
    text-align: right;
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.3);
    transition: all 0.3s ease !important;
}

.store-btn-modern.store-btn-apple {
    background: #ffffff !important;
    color: #0f172a !important;
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.15);
}

.store-btn-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(245, 158, 11, 0.45);
}

.store-btn-modern i {
    font-size: 30px !important;
    margin: 0 !important;
}

.store-btn-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.store-btn-text small {
    font-size: 11.5px;
    font-weight: 600;
    opacity: 0.85;
}

.store-btn-text strong {
    font-size: 17px;
    font-weight: 800;
}

/* ==========================================================================
   Footer Modern Polish
   ========================================================================== */
footer {
    background: #0b1120 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Footer Brand Badge */
.footer-brand-box {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 16px;
    direction: rtl;
}

.footer-badge-img {
    width: 64px;
    height: 64px;
    min-width: 64px;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
    transition: transform 0.3s ease;
}

.footer-brand-box:hover .footer-badge-img {
    transform: scale(1.08);
}

.footer-brand-text h4 {
    margin: 0 0 2px 0;
    font-size: 21px;
    font-weight: 900;
    color: #ffffff;
}

.footer-brand-text h4 span {
    color: #fbbf24;
}

.footer-brand-text small {
    color: #94a3b8;
    font-size: 13px;
    font-weight: 600;
}

.footer-about-text {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.75;
    margin-top: 10px;
}

#bottom-bar {
    background: #060a14 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 18px 0 !important;
}

#bottom-bar .bottom-bar-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    direction: rtl;
}

#bottom-bar .bottom-bar-row:before,
#bottom-bar .bottom-bar-row:after {
    display: none !important;
}

#bottom-bar .copyright-col {
    text-align: right;
    float: none !important;
}

#bottom-bar .copyright-col p {
    margin: 0;
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.6;
}

#bottom-bar .powered-col {
    text-align: left;
    float: none !important;
    direction: ltr;
}

#bottom-bar .powered-col p {
    margin: 0;
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.6;
}

#bottom-bar .powered-col a {
    color: #fbbf24;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

#bottom-bar .powered-col a:hover {
    color: #f59e0b;
    text-decoration: underline;
}

@media (max-width: 767px) {
    #bottom-bar .bottom-bar-row {
        flex-direction: column !important;
        gap: 10px;
    }
    #bottom-bar .copyright-col,
    #bottom-bar .powered-col {
        text-align: center !important;
        width: 100% !important;
    }
}

/* ==========================================================================
   Smooth Scroll Animations Tuning
   ========================================================================== */
.animated {
    animation-duration: 0.85s !important;
    animation-fill-mode: both !important;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
    .animated {
        animation: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }
}

@media screen and (max-width: 767px) {
    .hero-title {
        font-size: 32px !important;
    }
    .hero-actions {
        justify-content: center;
    }
}
