/* Global Styles */
:root {
    --primary-color: #502c3a;
    --secondary-color: #cc3858;
    --accent-color: #e74c3c;
    --text-color: #2c3e50;
    --light-bg: #f8f9fa;
    --dark-bg: #343a40;
    --success-color: #2ecc71;
    --warning-color: #f1c40f;
    --danger-color: #e74c3c;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    padding-top: 76px; /* Height of fixed navbar */
}

/* Header & Navigation */
.navbar {
    transition: all 0.3s ease;
    background: rgba(44, 62, 80, 0.95) !important;
    backdrop-filter: blur(10px);
    height: 77px;
}

.navbar-scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;

}

.nav-link:hover {
    color: #fff !important;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern.png');
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--light-bg);
}

.feature-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: white;
}

.testimonial-card {
    width: 30%; /* عرض 3 بطاقات (100% / 3 - هامش) */
    margin: 0 1%;
    background: var(--light-bg);
    border-radius: 10px;
    padding: 30px;
    position: relative;
    margin-bottom: 20px; /* مسافة سفلية للتعامل مع التفاف العناصر */
}




.testimonial-rating {
    color: var(--warning-color);
    margin-bottom: 15px;
}
.testimonials-slider {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.author-initials {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 10px;
}
@media (max-width: 991px) {
    .testimonial-card {
        width: 48%; /* عرض بطاقتين (100% / 2 - هامش) */
        margin: 0 1% 20px;
    }
}

/* شاشات صغيرة (أقل من 768px): عرض بطاقة واحدة */
@media (max-width: 767px) {
    .testimonial-card {
        width: 100%; /* عرض بطاقة واحدة */
        margin: 0 0 20px;
    }
}
/* FAQ Section */
.faq {
    padding: 80px 0;
    background: var(--light-bg);
}

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 20px 20px;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Contact Form */
.contact {
    padding: 80px 0;
    background: white;
}

.contact-form {
    background: var(--light-bg);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-control {
    border: 1px solid #352629;
    padding: 12px;
    border-radius: 5px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: none;
}

/* Buttons */
.btn {
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-dig{
    background:  #2f3f4f;
    border-bottom: 1px solid #dc4447;
}
.btn-primary {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
    border-radius: 12px;
}

.btn-primary:hover {
    background:  var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
    border-radius: 12px;
}

.btn-outline-primary:hover {
    background:  var(--primary-color);
    color: white;
}

/* Footer */




/* Subscription Plans */
.pricing-card {
    background: white;
    border-radius: 10px;
    padding: 40px;
    margin-bottom: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    cursor: pointer;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.pricing-card.popular {
    border: 2px solid var(--secondary-color);
    position: relative;
}

.pricing-card.popular::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 20px 0;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 60px 0;
    }
    
    .feature-card,
    .testimonial-card,
    .pricing-card {
        margin-bottom: 20px;
    }
    
    .contact-form {
        padding: 20px;
    }
    

}
@media (max-width: 1070px) {
    .navbar > .container > .navbar-brand > .mb-0 {
        display: none;
    }

}
@media (max-width:990px) {
    .navbar > .container > .navbar-brand > .mb-0 {
        display: inline !important;
    }

}

@media (min-width: 992px) and (max-width: 1200px){
  .container, .container-lg, .container-md, .container-sm {
    max-width: 100% !important;
  }
}

@media (max-width: 991px) {
    .navbar-collapse {

        background-color: rgba(44, 62, 80, 0.95) !important;
    }
    .nav-item {
        margin-bottom: 2px;
    }
    .cust_nav {
        border-bottom: 1px solid #595959;
    }
}
/* Loading Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success Message */
.success-message {
    background: var(--success-color);
    color: white;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: none;
}

/* Error Message */
.error-message {
    background: var(--danger-color);
    color: white;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: none;
}

/* Admin Dashboard */
.admin-dashboard {
    padding: 20px;
}

.stats-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.stats-card h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.stats-card .number {
    font-size: 2rem;
    font-weight: 700;
}

/* Tables */
.table {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.table thead th {
    background: var(--primary-color);
    color: white;
    border: none;
}

.table td, .table th {
    padding: 15px;
    vertical-align: middle;
}

/* Status Badges */
.badge {
    padding: 8px 12px;
    border-radius: 20px;
    font-weight: 500;
}

.badge-pending {
    background: var(--warning-color);
    color: #000;
}

.badge-active {
    background: var(--success-color);
    color: white;
}

.badge-expired {
    background: var(--danger-color);
    color: white;
}
div#crypad {
    background: #f3f3d0;
    border: 1px dotted #cdcdcd;
    padding: 10px 0;
}