/*
 Theme Name:   flasome Child
 Theme URI:    https://autoprofit.digital
 Author:       اسمك أو شركتك
 Author URI:   https://example.com
 Template:     flatsome
 Version:      1.0.0
*/

.struggle-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #111827 100%);
    color: #fff;
    border-radius: 12px;
    padding: 80px 20px;
}

/* دائرة خلف الأيقونات */
.icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    font-size: 1.3rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* نص متدرج */
.gradient-text {
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glow effect */
.icon-glow {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
}
.icon-glow:hover {
    transform: scale(1.2);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.7), 0 0 40px rgba(0, 255, 255, 0.5);
}
.course-intro {
    background: #0f172a; /* خلفية داكنة */
    color: #fff;
}

.course-text {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 650px;
}

.btn-gradient {
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    color: #fff;
    border: none;
    transition: all 0.3s ease;
}
.btn-gradient:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.6);
}

/* تحسين الموبايل */
@media (max-width: 768px) {
    .course-intro h2 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    .course-text {
        padding: 20px;
        font-size: 1rem;
    }
    .btn-gradient {
        width: 100%;
    }
}
.master-section {
    background: #fff;
    color: #111;
}

.master-section h2 {
    text-transform: uppercase;
    letter-spacing: 1px;
}

.icon-img {
    max-width: 140px;
    transition: transform 0.3s ease, filter 0.3s ease;
}
.icon-img:hover {
    transform: scale(1.1);
    filter: drop-shadow(0px 4px 12px rgba(0, 0, 0, 0.2));
}

@media (max-width: 768px) {
    .master-section h2 {
        font-size: 1.8rem;
    }
    .icon-img {
        max-width: 110px;
    }
}
.master-section {
    background: #fff;
    padding: 80px 20px;
}

.master-section h2 {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card img {
    border-bottom: 2px solid #eee;
}
.why-course-section {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border-radius: 12px;
}

.why-course-section .card {
    border: none;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-course-section .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}
.testimonials-section {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border-radius: 12px;
    color: #fff;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.stars {
    font-size: 0.9rem;
    margin-top: 4px;
}
.enroll-section {
    background: linear-gradient(135deg, #f9fafb, #f3f4f6);
    color: #111;
    border-radius: 12px;
    padding: 80px 20px;
}
.features-list p {
    font-size: 1.1rem;
    margin-bottom: 10px;
}
.enroll-btn {
    transition: all 0.3s ease;
}
.enroll-btn:hover {
    background: #0d6efd;
    transform: scale(1.05);
}
/* زر ثابت على الموبايل */
@media (max-width: 768px) {
    .enroll-btn {
        position: fixed;
        bottom: 15px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        z-index: 999;
    }
}
.faq-section {
    background: #f9fafc;
}
.accordion-button {
    font-weight: bold;
    font-size: 1.1rem;
}
.accordion-button:not(.collapsed) {
    color: #fff;
    background-color: #007bff;
}
.accordion-body {
    font-size: 1rem;
    line-height: 1.6;
}
.terms-header {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    padding: 60px 20px;
    text-align: center;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.terms-header h1 {
    font-weight: 700;
    font-size: 2.5rem;
}

.terms-section {
    background: #1e293b;
    border-radius: 12px;
    padding: 40px 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.terms-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #38bdf8; /* أزرق سماوي */
    margin-bottom: 15px;
}

.terms-section p,
.terms-section li {
    font-size: 1rem;
    color: #e2e8f0;
}

.terms-section ul {
    padding-left: 20px;
}

.last-updated {
    text-align: center;
    font-size: 0.9rem;
    margin-top: 40px;
    color: #94a3b8;
}

a {
    color: #60a5fa;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
.privacy-header {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    padding: 60px 20px;
    text-align: center;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.privacy-header h1 {
    font-weight: 700;
    font-size: 2.5rem;
}
.privacy-section {
    background: #1e293b;
    border-radius: 12px;
    padding: 40px 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}
.privacy-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #38bdf8;
    margin-bottom: 15px;
}
.privacy-section p,
.privacy-section li {
    font-size: 1rem;
    color: #e2e8f0;
}
.privacy-section ul {
    padding-left: 20px;
}
.last-updated {
    text-align: center;
    font-size: 0.9rem;
    margin-top: 40px;
    color: #94a3b8;
}
a {
    color: #60a5fa;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

.cookies-header {
    background: linear-gradient(135deg, #f59e0b, #facc15);
    color: #111827;
    padding: 60px 20px;
    text-align: center;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.cookies-header h1 {
    font-weight: 700;
    font-size: 2.5rem;
}
.cookies-section {
    background: #1e293b;
    border-radius: 12px;
    padding: 40px 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}
.cookies-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #facc15;
    margin-bottom: 15px;
}
.cookies-section p,
.cookies-section li {
    font-size: 1rem;
    color: #e2e8f0;
}
.cookies-section ul {
    padding-left: 20px;
}
.cookies-table {
    background: #0f172a;
    border-radius: 8px;
    overflow: hidden;
}
.cookies-table th {
    background: #facc15;
    color: #111827;
    font-weight: 600;
    text-align: center;
}
.cookies-table td {
    background: #1e293b;
    color: #e5e7eb;
    vertical-align: middle;
}
.last-updated {
    text-align: center;
    font-size: 0.9rem;
    margin-top: 40px;
    color: #94a3b8;
}
a {
    color: #facc15;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
.copyright-section {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #e5e7eb;
    border-top: 1px solid #334155;
}
.copyright-section .site-link {
    color: #facc15;
    text-decoration: none;
}
.copyright-section .site-link:hover {
    color: #fde047;
}
.copyright-section .footer-link {
    color: #93c5fd;
    text-decoration: none;
}
.copyright-section .footer-link:hover {
    color: #60a5fa;
    text-decoration: underline;
}
.hero {
    background: linear-gradient(
            135deg,
            rgba(15, 23, 42, 0.9),
            rgba(30, 41, 59, 0.85)
        ),
        url('https://autoprofit.digital/wp-content/uploads/2025/08/hero-bg.png')
            no-repeat center/cover;
    color: #fff;
    min-height: 100vh; /* full screen height */
    padding: 80px 20px;
}
.hero h1 {
    font-size: 2.8rem;
}
.hero p {
    max-width: 720px;
    margin: auto;
}
.btn-primary {
    background: #3b82f6;
    border: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}
.btn-primary:hover {
    background: #2563eb;
    transform: translateY(-2px);
}
.btn-outline-light {
    border-radius: 50px;
    transition: all 0.3s ease;
}
.btn-outline-light:hover {
    background: #facc15;
    color: #111;
    border-color: #facc15;
}
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
}
.about-section {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 0;
    position: relative;
    overflow: hidden;
}
.about-section h2 {
    font-size: 2rem;
}
.about-icon {
    font-size: 1.6rem;
    color: #facc15;
    min-width: 30px;
}
.about-section p {
    color: #f1f5f9;
}
.about-section .btn-light {
    border-radius: 30px;
    padding: 10px 25px;
    transition: all 0.3s ease;
}
.about-section .btn-light:hover {
    background: #facc15;
    color: #111;
}

/* Divider */
.custom-shape-divider-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}
.custom-shape-divider-bottom svg {
    position: relative;
    display: block;
    width: calc(138% + 1.3px);
    height: 100px;
}
.custom-shape-divider-bottom .shape-fill {
    fill: #ffffff; /* لون القسم التالي (خلي الخلفية بيضاء في Courses) */
}
.courses-section h2 {
    color: #0f172a;
}
.courses-section .card {
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.courses-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}
.courses-section .btn-primary {
    background: #3b82f6;
    border: none;
    border-radius: 30px;
    padding: 8px 20px;
    transition: all 0.3s ease;
}
.courses-section .btn-primary:hover {
    background: #2563eb;
}
.why-section {
    background: #ffffff;
}
.feature-box {
    border-radius: 12px;
    background: #f9fafb;
    transition: all 0.3s ease;
}
.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}
.feature-icon {
    font-size: 2.5rem;
    color: #3b82f6;
}
/* خلفية جذابة */

.student-reviews-section {
    background: #0f172a; /* خلفية أنيقة داكنة */
    border-radius: 12px;
}

.review-img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    border: 3px solid #fff;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* النصوص */
.stars {
    font-size: 1rem;
    color: gold;
    display: inline-block; /* مهم لتفعيل الأنيميشن */
}

/* حركة النجوم */
.animate-stars {
    animation: star-glow 1.5s infinite alternate ease-in-out;
}

@keyframes star-glow {
    0% {
        text-shadow: 0 0 5px gold, 0 0 10px orange;
        transform: scale(1);
    }
    100% {
        text-shadow: 0 0 15px gold, 0 0 25px yellow;
        transform: scale(1.15);
    }
}

/* الخلفيات */
.gradient-card-1 {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    border-radius: 12px;
}
.gradient-card-2 {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    border-radius: 12px;
}
.gradient-card-3 {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-radius: 12px;
}

/* تأثير عند hover */
.review-box:hover {
    transform: translateY(-8px);
    transition: all 0.3s ease;
}
.cta-section {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 20px;
}
.cta-section h2 {
    color: #fff;
}
.cta-section p {
    color: #f1f5f9;
}
.cta-section .btn-warning {
    border-radius: 30px;
    transition: all 0.3s ease;
}
.cta-section .btn-warning:hover {
    background: #facc15;
    transform: scale(1.05);
}
.ai-faq-section .accordion-button {
    background: #fff;
    color: #111;
    font-size: 1rem;
}
.ai-faq-section .accordion-button:focus {
    box-shadow: none;
}
.ai-faq-section .accordion-button:not(.collapsed) {
    background: #3b82f6;
    color: #fff;
}
.ai-faq-section .accordion-body {
    font-size: 0.95rem;
    color: #334155;
}
.contact-section {
    background: linear-gradient(135deg, #1e293b, #0f172a);
}
.contact-box {
    background: #ffffff;
}
.contact-box .form-control {
    border-radius: 10px;
    padding: 12px;
}
.qr-code {
    border: 3px solid #fff;
    padding: 6px;
    background: #fff;
}
.site-footer {
    background: linear-gradient(135deg, #0f172a, #1e293b);
}
.site-footer h4,
.site-footer h5 {
    color: #fff;
}
.site-footer p {
    color: #cbd5e1;
}
.footer-link {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-link:hover {
    color: #3b82f6;
}
.social-icon {
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1e293b;
    color: #fff;
    transition: all 0.3s ease;
}
.social-icon:hover {
    transform: translateY(-4px);
}
.social-icon.whatsapp:hover {
    background: #25d366;
}
.social-icon.linkedin:hover {
    background: #0a66c2;
}
.social-icon.youtube:hover {
    background: #ff0000;
}
/* Footer Styles */
.custom-footer {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #fff;
    padding: 60px 20px 20px;
    font-family: 'Segoe UI', sans-serif;
}

.custom-footer .footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: auto;
}

.custom-footer .footer-logo img {
    max-width: 150px;
    margin-bottom: 15px;
}

.custom-footer h4 {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #38bdf8;
}

.custom-footer ul {
    list-style: none;
    padding: 0;
}

.custom-footer ul li {
    margin-bottom: 8px;
}

.custom-footer ul li a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.custom-footer ul li a:hover {
    color: #38bdf8;
}

.custom-footer .social-links a {
    display: inline-block;
    margin-right: 10px;
    font-size: 18px;
    color: #fff;
    transition: transform 0.3s, color 0.3s;
}

.custom-footer .social-links a:hover {
    color: #38bdf8;
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 30px;
    font-size: 0.9rem;
    color: #aaa;
}
/* زر تسجيل الدخول */
.btn-getstarted {
    display: inline-block;
    padding: 10px 24px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    color: #fff; /* لون النص */
    background: linear-gradient(135deg, #2563eb, #1e40af); /* تدرج أزرق */
    border: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(37, 99, 235, 0.3);
}

/* عند المرور بالماوس */
.btn-getstarted:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e3a8a); /* أزرق أغمق */
    transform: translateY(-2px) scale(1.05); /* حركة أنيميشن */
    box-shadow: 0 6px 15px rgba(37, 99, 235, 0.5);
}

/* عند الضغط */
.btn-getstarted:active {
    transform: scale(0.98);
}
/* اجعل القائمة أفقية على الديسكتوب */
.navbar-nav {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center; /* ممكن left أو right حسب رغبتك */
    align-items: center !important;
    gap: 30px; /* مسافة بين العناصر */
    list-style: none;
    margin: 0;
    padding: 0;
}

/* إخفاء زر الإغلاق من القائمة الأفقية (خاص بالموبايل) */
.navbar-nav .nav-close {
    display: none;
}

/* الروابط */
.navbar-nav li a {
    display: inline-block;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 0;
    color: #fff; /* لون النص */
    transition: color 0.3s ease, border-bottom 0.3s ease;
}

/* عند التمرير */
.navbar-nav li a:hover,
.navbar-nav li.current-menu-item a {
    color: #3b82f6;
    border-bottom: 2px solid #3b82f6;
}

/* موبايل تبقى عمودية */
@media (max-width: 991px) {
    .navbar-nav {
        flex-direction: column !important;
        gap: 10px;
    }
    .navbar-nav .nav-close {
        display: block;
    }
}

/* تغيير لون خطوط زر الهامبرغر */
.navbar-toggler .toggle-icon span,
.navbar-toggler .toggle-icon span::before,
.navbar-toggler .toggle-icon span::after {
    background-color: #ffffff !important; /* ضع أي لون تريده */
}

/* حجم وسُمك الخطوط */
.navbar-toggler .toggle-icon span,
.navbar-toggler .toggle-icon span::before,
.navbar-toggler .toggle-icon span::after {
    height: 3px; /* سمك الخط */
    width: 25px; /* عرض الخط */
    border-radius: 2px;
}

/* عند تمرير الماوس */
.navbar-toggler:hover .toggle-icon span,
.navbar-toggler:hover .toggle-icon span::before,
.navbar-toggler:hover .toggle-icon span::after {
    background-color: #3b82f6 !important; /* أزرق عند hover */
}
#e-notice-bar {
    display: none !important;
}
.elementor-widget-woocommerce-checkout-page
    .woocommerce-checkout
    .col2-set
    .col-1,
.elementor-widget-woocommerce-checkout-page
    .woocommerce-checkout
    .col2-set
    .col-2 {
    float: none;
    width: 100%;
}

@media (max-width: 849px) {
    .medium-flex-wrap .flex-col {
        flex-grow: 1;
        padding-bottom: 5px;
        padding-top: 5px;
        width: 100%;
    }
}
