/***pagination**/
.pagination {
        gap: 8px;
    }
    
    .page-link {
        border-radius: 50% !important;
        width: 42px;
        height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 600;
        color: #1e6a5e;
        background: white;
        border: 1px solid #e2e8f0;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 0;
        font-size: 0.9rem;
    }
    
    .page-link:hover {
        background: #1e6a5e;
        color: white;
        border-color: #1e6a5e;
        transform: translateY(-3px);
        box-shadow: 0 6px 14px rgba(30, 106, 94, 0.25);
    }
    
    .page-item.active .page-link {
        background: linear-gradient(135deg, #1e6a5e, #0f3b3a);
        border-color: #1e6a5e;
        color: white;
        box-shadow: 0 4px 12px rgba(30, 106, 94, 0.3);
        transform: scale(1.05);
    }
    
    .page-item.disabled .page-link {
        opacity: 0.4;
        cursor: not-allowed;
        background: #f1f5f9;
        transform: none;
    }
    
    .page-item.disabled .page-link:hover {
        transform: none;
        box-shadow: none;
    }
    
    @media (max-width: 768px) {
        .page-link {
            width: 36px;
            height: 36px;
            font-size: 0.8rem;
        }
        .pagination {
            gap: 5px;
        }
    }

    /* modern glassmorphism + blur effects */
.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-sm);
}



.logo {
  font-weight: 800;
  font-size: 1.8rem;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo i {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: var(--primary);
  font-size: 1.8rem;
}

/* navbar premium */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 8%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(4px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(30, 106, 94, 0.1);
  transition: all 0.3s ease;
}
.nav-buttons {
  display: flex;
  gap: 12px;
}

.nav-buttons button, .btn-main {
  padding: 10px 24px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}

.btn-main {
  background: var(--gradient-main);
  color: white;
  box-shadow: 0 4px 12px rgba(30, 106, 94, 0.3);
  transition: all .5s;
}

.btn-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(30, 106, 94, 0.4);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: rgba(30, 106, 94, 0.05);
  transform: translateY(-2px);
}

/* hero section modern */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 8% 90px;
  gap: 50px;
  position: relative;
}

.hero-content h1 {
  font-size: 3.3rem;
  font-weight: 800;
  line-height: 1.2;
  background: linear-gradient(130deg, #0f3b3a, #1e6a5e, #f3b33d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 550px;
}

.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 30px;
}

.stat-item h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
}

.stat-item p {
  font-size: 0.85rem;
  margin: 0;
  color: #6c868e;
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  max-width: 480px; 
}

.hero-image:hover img {
  transform: scale(1.02);
}

/* features grid advanced */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.4rem;
  font-weight: 700;
  position: relative;
  display: inline-block;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-header p {
  color: var(--text-muted);
  margin-top: 10px;
  font-size: 1.1rem;
}

.features {
  padding: 40px 8% 80px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--bg-card);
  padding: 32px 24px;
  border-radius: 28px;
  transition: all 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.02);
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transition: transform 0.4s;
  transform-origin: right;
  z-index: 2;
}

.feature-card:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 35px -12px rgba(0,0,0,0.12);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: rgba(30, 106, 94, 0.1);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: var(--primary);
  transition: 0.2s;
}

.feature-card:hover .feature-icon {
  background: var(--primary);
  color: white;
}

.feature-card h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.feature-card p {
  color: var(--text-muted);
  line-height: 1.5;
}

/* wallet premium section */
.wallet-premium {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 70px 8%;
  gap: 60px;
  background: linear-gradient(145deg, #ffffff, #f8fafc);
  border-radius: 60px;
  margin: 20px 8% 40px;
  box-shadow: 0 20px 35px -15px rgba(0,0,0,0.05);
}

.wallet-info h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 15px;
}

.wallet-info p {
  color: var(--text-muted);
  margin-bottom: 25px;
  font-size: 1.05rem;
}

.balance-card-modern {
  background: var(--gradient-main);
  padding: 30px 45px;
  border-radius: 48px;
  color: white;
  text-align: center;
  box-shadow: var(--shadow-lg);
  min-width: 260px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.balance-card-modern::after {
  content: "✦";
  font-size: 120px;
  opacity: 0.08;
  position: absolute;
  bottom: -30px;
  left: 10px;
  pointer-events: none;
}

.balance-label {
  font-size: 1rem;
  letter-spacing: 1px;
  opacity: 0.8;
  margin-bottom: 10px;
}

.balance-amount {
  font-size: 3.2rem;
  font-weight: 800;
  margin: 10px 0;
  letter-spacing: -1px;
}

.balance-sub {
  font-size: 0.8rem;
  opacity: 0.7;
}

/* interactive cta */
.cta-modern {
  text-align: center;
  padding: 80px 8%;
  background: var(--gradient-main);
  margin: 40px 8% 20px;
  border-radius: 64px;
  color: white;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.cta-modern h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 15px;
}

.cta-modern p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 30px;
}

.glow-btn {
  background: white;
  border: none;
  padding: 14px 38px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
  cursor: pointer;
  transition: 0.25s;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.glow-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  background: #fff8e7;
}



/* animated background elements */
.bg-blur {
  position: absolute;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(243,179,61,0.2) 0%, rgba(30,106,94,0) 70%);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}

/* responsive */
@media(max-width: 880px) {
  .hero, .wallet-premium {
    flex-direction: column;
    text-align: center;
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .hero-stats {
    justify-content: center;
  }
  .balance-card-modern {
    padding: 20px 35px;
  }
  .balance-amount {
    font-size: 2.4rem;
  }
  .cta-modern h2 {
    font-size: 1.9rem;
  }
  .navbar {
    padding: 12px 5%;
  }
  .features {
    gap: 20px;
  }
}

/* interactive wallet dynamic (mockup data simulation) */
.action-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 20px;
  flex-wrap: wrap;
}

.small-action {
  background: rgba(255,255,255,0.2);
  border: none;
  padding: 8px 18px;
  border-radius: 40px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
  backdrop-filter: blur(4px);
}

.small-action:hover {
  background: rgba(255,255,255,0.35);
  transform: translateY(-2px);
}

.toast-msg {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background: #1e2f32;
  color: #f3f3f3;
  padding: 12px 24px;
  border-radius: 60px;
  font-weight: 500;
  z-index: 200;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  backdrop-filter: blur(8px);
  transition: 0.2s;
  font-size: 0.9rem;
  border-right: 4px solid var(--accent);
  pointer-events: none;
  opacity: 0;
  transform: translateY(20px);
}

.toast-msg.show {
  opacity: 1;
  transform: translateY(0);
}

/* modern footer */
.footer-premium {
  background: #0e2a27;
  color: #cfdfdb;
  padding: 50px 8% 30px;
  margin-top: 250px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: white;
  margin-bottom: 18px;
  font-weight: 600;
}

.footer-col p, .footer-col a {
  color: #b0cdc6;
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  transition: 0.2s;
}

.footer-col a:hover {
  color: #f3b33d;
  transform: translateX(-5px);
}

.social-icons i {
  font-size: 1.4rem;
  margin-left: 15px;
  cursor: pointer;
  transition: 0.2s;
}

.social-icons i:hover {
  color: #f3b33d;
  transform: translateY(-3px);
}

.copyright {
  text-align: center;
  padding-top: 25px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem;
}
.footer-premium {
    position: relative;
    /* background: rgb(39, 89, 99); */
    color: white;
}

/* تأثير زجاجي متكسر */
.footer-premium::before {
    content: "";
    position: absolute;
    top: -80px;
    left: 0;
    width: 100%;
    height: 100px;
    background: #0e2a27;
    clip-path: polygon(
        0% 0%, 5% 20%, 12% 5%, 18% 30%, 25% 10%, 
        32% 35%, 40% 15%, 48% 40%, 55% 20%, 62% 45%, 
        70% 25%, 78% 50%, 85% 30%, 92% 55%, 100% 35%, 
        100% 100%, 0% 100%
    );
    filter: drop-shadow(0 -5px 15px rgba(0,0,0,0.2));
    pointer-events: none;
}
a{
    color:rgb(39, 89, 99);
}
/* المحتوى */
.footer-content {
    position: relative;
    padding: 60px 0 30px;
}

/* روابط */
.footer-premium a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    font-size: 14px;
    transition: 0.3s;
}

.footer-premium a:hover {
    opacity: 0.7;
}
.partners-section {
    /* padding: 40px 8%; */
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 60px;
    /* margin: 20px 8%; */
}

.partners-container {
    text-align: center;
}

.partners-label {
    display: block;
    color: #adb5bd;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.partners-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 45px;
}

.partners-logos img {
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
    cursor: pointer;
}

.partners-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}
 .sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

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