/* Reseller Landing Page Styles */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;700&display=swap');

/* Base styles */
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Arabic language support */
html[lang="ar"] body {
    font-family: 'Cairo', 'Roboto', sans-serif;
}

/* Hero section */
.hero-section {
    background-color: var(--primary-color);
    color: white;
    padding: 150px 0;
    position: relative;
    background-image: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-section .lead {
    font-size: 1.4rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 5px rgba(0,0,0,0.2);
}

.hero-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.hero-logo {
    max-height: 150px;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.3));
    border-radius: 10px;
    background-color: rgba(255,255,255,0.2);
    padding: 10px;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    position: relative;
    display: inline-block;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Features section */
.feature-item {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px;
    transition: transform 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    background-color: var(--primary-color-light);
    color: var(--primary-color);
    border-radius: 50%;
    margin-bottom: 20px;
    font-size: 2rem;
}

.feature-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Services section */
.service-item {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    transition: all 0.3s;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.service-item:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.service-icon {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 15px;
}

.service-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Packages section */
.package-card {
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 20px;
    transition: transform 0.3s;
    height: 100%; /* Make all cards same height */
    display: flex;
    flex-direction: column; /* Stack content vertically */
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.package-card.featured {
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.package-header {
    background-color: var(--primary-color);
    color: white;
    padding: 15px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.package-card.featured .package-header {
    background-color: var(--primary-color);
    position: relative;
}

.featured-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #f39c12;
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
}

.package-body {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Allow the body to grow and fill available space */
}

.package-price {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.package-period {
    font-size: 14px;
    color: #777;
}

.package-features {
    margin-top: 15px;
    padding-left: 20px;
}

.package-features li {
    margin-bottom: 5px;
}

.package-actions {
    margin-top: auto; /* Push to the bottom of the container */
    padding-top: 20px;
}

/* Contact section */
.contact-form .form-control {
    border-radius: 4px;
    border: 1px solid #ddd;
    padding: 12px 15px;
    margin-bottom: 15px;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(var(--primary-color), 0.25);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-text h5 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

/* Testimonials */
.testimonial-item {
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 15px;
    position: relative;
}

.testimonial-content:before {
    content: '"';
    font-size: 60px;
    color: var(--primary-color-light);
    position: absolute;
    top: -20px;
    left: -15px;
    font-family: sans-serif;
    z-index: -1;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.testimonial-author-info h5 {
    margin-bottom: 0;
    font-size: 1rem;
    font-weight: 600;
}

.testimonial-author-info p {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 0;
}

/* CTA Section */
.cta-section {
    background-color: var(--primary-color);
    padding: 60px 0;
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer-section {
    background-color: #333;
    color: white;
    padding: 50px 0 20px;
}

.footer-logo {
    max-height: 50px;
    margin-bottom: 20px;
}

.footer-about {
    margin-bottom: 30px;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.footer-contact-icon {
    color: var(--primary-color);
    margin-right: 10px;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    margin-top: 40px;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

.social-links {
    list-style: none;
    padding-left: 0;
    display: flex;
    margin-top: 20px;
}

.social-links li {
    margin-right: 10px;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    color: white;
    border-radius: 50%;
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: var(--primary-color);
}

/* Responsive */
@media (max-width: 767px) {
    .hero-section {
        padding: 60px 0;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .hero-media {
        margin-top: 40px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .package-card {
        margin-bottom: 30px;
    }
}