/* 
 * Responsive Design للصفحة الرئيسية
 * Homepage Responsive Design
 */

/* ===== HERO SECTION RESPONSIVE ===== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn {
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 180px;
    justify-content: center;
}

.hero-btn-primary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.hero-btn-primary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.hero-btn-secondary {
    background: white;
    color: #0B8A42;
    border: 2px solid white;
}

.hero-btn-secondary:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Hero Responsive Breakpoints */
@media (max-width: 1400px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
}

@media (max-width: 1200px) {
    .hero-section {
        padding: 100px 0 60px;
        background-attachment: scroll;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }
    
    .hero-btn {
        padding: 12px 30px;
        font-size: 1rem;
        min-width: 160px;
    }
}

@media (max-width: 992px) {
    .hero-section {
        padding: 80px 0 50px;
        min-height: 80vh;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.8rem;
        max-width: 500px;
    }
    
    .hero-buttons {
        gap: 0.8rem;
    }
    
    .hero-btn {
        padding: 10px 25px;
        font-size: 0.95rem;
        min-width: 140px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0 40px;
        min-height: 70vh;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        max-width: 400px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .hero-btn {
        width: 100%;
        max-width: 280px;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 40px 0 30px;
        min-height: 60vh;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
        max-width: 300px;
    }
    
    .hero-btn {
        max-width: 250px;
        padding: 10px 15px;
        font-size: 0.85rem;
    }
}

/* ===== FEATURES SECTION RESPONSIVE ===== */
.features-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0B8A42, #00A884);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.feature-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.feature-description {
    color: #6c757d;
    line-height: 1.6;
    font-size: 1rem;
}

/* Features Responsive */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 992px) {
    .features-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.2rem;
        margin-top: 2.5rem;
    }
    
    .feature-card {
        padding: 1.8rem 1.2rem;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
        margin-bottom: 1.2rem;
    }
    
    .feature-title {
        font-size: 1.3rem;
    }
    
    .feature-description {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .features-section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .feature-card {
        padding: 1.5rem 1rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .feature-title {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .feature-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .features-section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .features-grid {
        margin-top: 1.5rem;
    }
    
    .feature-card {
        padding: 1.2rem 0.8rem;
        border-radius: 15px;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }
    
    .feature-title {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }
    
    .feature-description {
        font-size: 0.85rem;
    }
}

/* ===== PRODUCTS SHOWCASE RESPONSIVE ===== */
.products-showcase {
    padding: 80px 0;
    background: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.product-image {
    height: 200px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.8rem;
}

.product-description {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0B8A42;
}

.product-btn {
    background: linear-gradient(135deg, #0B8A42, #00A884);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.product-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(11, 138, 66, 0.3);
}

/* Products Responsive */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 992px) {
    .products-showcase {
        padding: 60px 0;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 1.2rem;
        margin-top: 2.5rem;
    }
    
    .product-image {
        height: 180px;
    }
    
    .product-info {
        padding: 1.2rem;
    }
    
    .product-title {
        font-size: 1.2rem;
    }
    
    .product-description {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .products-showcase {
        padding: 50px 0;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .product-image {
        height: 160px;
    }
    
    .product-info {
        padding: 1rem;
    }
    
    .product-title {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }
    
    .product-description {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }
    
    .product-price {
        font-size: 1.1rem;
    }
    
    .product-btn {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .products-showcase {
        padding: 40px 0;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        margin-top: 1.5rem;
    }
    
    .product-card {
        margin: 0 10px;
        border-radius: 15px;
    }
    
    .product-image {
        height: 140px;
    }
    
    .product-info {
        padding: 0.8rem;
    }
    
    .product-title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .product-description {
        font-size: 0.85rem;
        margin-bottom: 0.6rem;
    }
    
    .product-meta {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    
    .product-price {
        font-size: 1rem;
        text-align: center;
    }
    
    .product-btn {
        width: 100%;
        padding: 8px;
        font-size: 0.8rem;
    }
}

/* ===== STATS SECTION RESPONSIVE ===== */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0B8A42, #00A884);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Stats Responsive */
@media (max-width: 992px) {
    .stats-section {
        padding: 60px 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1.5rem;
        margin-top: 2.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .stats-section {
        padding: 50px 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .stats-section {
        padding: 40px 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        margin-top: 1.5rem;
    }
    
    .stat-item {
        padding: 0.8rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
}

/* ===== CTA SECTION RESPONSIVE ===== */
.cta-section {
    padding: 80px 0;
    background: #f8f9fa;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 180px;
    justify-content: center;
}

.cta-btn-primary {
    background: linear-gradient(135deg, #0B8A42, #00A884);
    color: white;
    border: 2px solid transparent;
}

.cta-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(11, 138, 66, 0.3);
}

.cta-btn-secondary {
    background: transparent;
    color: #0B8A42;
    border: 2px solid #0B8A42;
}

.cta-btn-secondary:hover {
    background: #0B8A42;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(11, 138, 66, 0.3);
}

/* CTA Responsive */
@media (max-width: 992px) {
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-title {
        font-size: 2.2rem;
    }
    
    .cta-description {
        font-size: 1.1rem;
        margin-bottom: 1.8rem;
    }
    
    .cta-btn {
        padding: 12px 30px;
        font-size: 1rem;
        min-width: 160px;
    }
}

@media (max-width: 768px) {
    .cta-section {
        padding: 50px 0;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 280px;
        padding: 12px 20px;
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .cta-section {
        padding: 40px 0;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .cta-description {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
    }
    
    .cta-btn {
        max-width: 250px;
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}

/* ===== TESTIMONIALS RESPONSIVE ===== */
.testimonials-section {
    padding: 80px 0;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.testimonial-quote {
    font-size: 1.1rem;
    color: #495057;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.testimonial-role {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Testimonials Responsive */
@media (max-width: 992px) {
    .testimonials-section {
        padding: 60px 0;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
        margin-top: 2.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-quote {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 50px 0;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .testimonial-card {
        padding: 1.2rem;
        border-radius: 15px;
    }
    
    .testimonial-quote {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
    }
    
    .testimonial-author {
        font-size: 0.95rem;
    }
    
    .testimonial-role {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .testimonials-section {
        padding: 40px 0;
    }
    
    .testimonials-grid {
        margin-top: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1rem;
        margin: 0 10px;
    }
    
    .testimonial-quote {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .testimonial-author {
        font-size: 0.9rem;
    }
    
    .testimonial-role {
        font-size: 0.8rem;
    }
}
