/* =========================
   Brand Palette (IAS Zone)
   ========================= */

:root {
    --brand-primary: #FF6B35;
    /* أورانج أساسي */
    --brand-primary-600: #F97316;
    /* أورانج أغمق شوية */
    --brand-primary-200: #FFE5D6;
    /* هايلايت فاتح */
    --ink-900: #0F172A;
    /* نص غامق */
    --ink-700: #334155;
    --ink-500: #64748B;
    --white: #FFFFFF;
    --shadow-lg: 0 20px 50px rgba(2, 6, 23, .08);
    --shadow-md: 0 8px 24px rgba(2, 6, 23, .06);
    --shadow-sm: 0 2px 8px rgba(2, 6, 23, .04);
}


/* === HERO COVER (IAS Zone) === */

.hero-cover {
    min-height: 72vh;
    background-image: url('/impactfront/img/hero_cover.jpg');
    /* غيّر الصورة هنا */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
}

.hero-cover::before {
    content: "";
    position: absolute;
    inset: 0;
    /* تظليل دافئ يميل للأورانج بدل الأزرق */
    background: linear-gradient(180deg, rgba(15, 23, 42, .55), rgba(15, 23, 42, .35)), radial-gradient(60% 50% at 50% 0%, rgba(255, 107, 53, .18), transparent 70%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 980px;
    padding: 2rem;
}

.hero-badge {
    display: inline-block;
    padding: .35rem .9rem;
    margin-bottom: .75rem;
    font-weight: 700;
    border-radius: 9999px;
    color: var(--white);
    background: rgba(255, 255, 255, .15);
    border: 1px solid rgba(255, 255, 255, .35);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(6px);
}

.hero-title {
    color: var(--white);
    font-weight: 800;
    letter-spacing: .3px;
    line-height: 1.2;
}

.hero-sub {
    color: #E5E7EB;
}


/* Buttons (هوية أورانج) */

.btn-cta {
    border: none;
    border-radius: 12px;
    font-weight: 700;
    padding: .9rem 1.25rem;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-600));
    color: var(--white) !important;
    box-shadow: 0 8px 30px rgba(255, 107, 53, .25);
}

.btn-cta:hover {
    filter: brightness(1.05);
}

.btn-ghost {
    border-radius: 12px;
    font-weight: 700;
    padding: .9rem 1.25rem;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .45);
    color: var(--white) !important;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, .18);
    border-color: var(--brand-primary-200);
}


/* موبايل */

@media (max-width:576px) {
    .display-2 {
        font-size: 2rem;
    }
    .lead {
        font-size: 1rem;
    }
}


/* ===== Navbar (IAS Zone) ===== */

#navbar-main {
    background: #ffffff;
    border-bottom: 1px solid rgba(2, 6, 23, .06);
    transition: box-shadow .2s ease;
}

#navbar-main.headroom--not-top {
    box-shadow: var(--shadow-md);
}

#navbar-main .nav-link {
    padding: .5rem .9rem;
    font-weight: 600;
    color: var(--ink-700);
}

#navbar-main .nav-link:hover,
#navbar-main .nav-link:focus {
    color: var(--brand-primary);
}

#navbar-main .dropdown-menu {
    text-align: right;
}


/* CTA Area */

.navbar-cta .btn {
    border-radius: 12px;
    font-weight: 700;
}


/* زر CTA في الناف أورانج */

.btn-cta {
    border: none;
    color: #fff !important;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-600));
}

.btn-ghost {
    border: 1px solid rgba(2, 6, 23, .15);
    background: #fff;
    color: #111827 !important;
    box-shadow: var(--shadow-sm);
}

.btn-ghost:hover {
    border-color: var(--brand-primary);
    box-shadow: 0 4px 12px rgba(255, 107, 53, .18);
}


/* Mobile: CTA يظهر تحت القايمة */

@media (max-width: 991.98px) {
    .navbar-cta {
        display: block !important;
        margin-top: .75rem;
    }
    .navbar-cta .btn {
        width: 100%;
        margin: 0 0 .5rem 0;
    }
}


/* ===== Product Section / Cards ===== */

.product-section .h1 {
    color: var(--ink-900);
}

.product-section .lead {
    color: var(--ink-500);
}

.product-card {
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: transform .15s ease, box-shadow .15s ease;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.product-card-img {
    height: 210px;
    object-fit: cover;
}

.product-points .product-point-icon i {
    color: var(--brand-primary);
    font-size: 1rem;
}


/* تأكيد لون زر الدعوة للهوية */

.product-card .btn-cta {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-600));
    box-shadow: 0 8px 30px rgba(255, 107, 53, .22);
}

.product-card .btn-cta:hover {
    filter: brightness(1.04);
}


/* ===== Product Showcase (3 tiles) ===== */

.product-section .h1 {
    color: var(--ink-900);
}

.product-section .lead {
    color: var(--ink-500);
}

.showcase-card {
    background: #fff;
    border: 1px solid rgba(2, 6, 23, .06);
    border-radius: 16px;
    padding: 16px;
    box-shadow: var(--shadow-sm);
    transition: transform .15s ease, box-shadow .15s ease;
}

.showcase-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.showcase-img-wrap {
    aspect-ratio: 16 / 10;
    /* يحافظ على تناسب الصورة */
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: var(--brand-primary-200);
}

.showcase-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.showcase-card h5,
.showcase-card .h5 {
    color: var(--ink-900);
    font-weight: 700;
}

.showcase-card p {
    color: var(--ink-500);
}


/* ===== Product Modern Card ===== */

.product-modern-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 20px 15px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.product-modern-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.product-img-wrap {
    border-radius: 12px;
    overflow: hidden;
    background: #f9fafb;
    height: 220px;
}

.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.text-brand {
    color: #ff5722;
    /* لون الهوية */
}

.product-modern-card h5,
.product-modern-card .h5 {
    color: #111827;
    font-weight: 700;
}

.product-modern-card p {
    color: #6b7280;
}


/* زر CTA */

.btn-cta {
    background: linear-gradient(135deg, #ff7a33, #ff5722);
    border: none;
    color: #fff !important;
    font-weight: 700;
    border-radius: 12px;
    padding: 0.8rem 1rem;
    box-shadow: 0 8px 20px rgba(255, 87, 34, 0.2);
    transition: all 0.2s ease;
}

.btn-cta:hover {
    filter: brightness(1.05);
    box-shadow: 0 8px 26px rgba(255, 87, 34, 0.3);
}


/* ===== Pricing Section (Orange brand) ===== */

.pricing-section {
    background: radial-gradient(60% 50% at 50% 0%, rgba(255, 107, 53, .22), transparent 70%), linear-gradient(180deg, #ff7a33 0%, #ff5722 100%);
    padding-top: 4rem;
    padding-bottom: 4rem;
}


/* Plan Card */

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

.plan-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.plan-card-header {
    background: #fff;
    border-bottom: 1px solid rgba(2, 6, 23, .06);
    padding: 2rem 1.5rem;
}

.plan-price-wrap .currency {
    color: var(--brand-primary-600);
    margin-right: .25rem;
}

.plan-price-wrap .price-amount {
    color: var(--brand-primary);
    line-height: .9;
}

.plan-price-wrap .period {
    color: var(--ink-500);
    margin-right: .35rem;
}

.plan-name {
    color: var(--ink-900);
    font-weight: 800;
}

.plan-desc {
    color: var(--ink-500);
}

.plan-features .plan-check {
    color: var(--brand-primary);
}

.plan-features .list-group-item {
    background: transparent;
    padding-left: 0;
    padding-right: 0;
    color: var(--ink-700);
}


/* CTA buttons (already defined but ensure contrast on orange bg) */

.pricing-section .btn-ghost {
    background: #fff;
    color: var(--ink-900) !important;
    border: 1px solid rgba(2, 6, 23, .15);
}


/* ===== Testimonials (IAS Zone) ===== */

.testimonials-section .h1 {
    color: var(--ink-900);
}

.testimonials-section .lead {
    color: var(--ink-500);
}

.testimonial-card {
    background: #fff;
    border: 1px solid rgba(2, 6, 23, .06);
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
    transition: transform .15s ease, box-shadow .15s ease;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.t-head .t-avatar {
    width: 56px;
    height: 56px;
    object-fit: cover;
    box-shadow: var(--shadow-sm);
}

.t-author {
    color: var(--ink-900);
    font-weight: 700;
}

.t-meta {
    color: var(--ink-500);
}

.t-stars .star {
    color: var(--brand-primary);
    margin-left: .25rem;
}

.t-quote {
    color: var(--ink-700);
    line-height: 1.7;
    font-size: 1rem;
}


/* ===== Featured Clients (IAS Zone) ===== */

.featured-section {
    background: #fff;
    padding: 4rem 0;
}

.featured-card {
    background: #fff;
    border: 1px solid rgba(2, 6, 23, .06);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(2, 6, 23, .03);
    padding: 1.25rem;
    transition: transform .2s ease, box-shadow .2s ease;
}

.featured-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(2, 6, 23, .06);
}

.featured-img-wrap {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 12px;
    background: #f9fafb;
    padding: .75rem;
    transition: background .2s ease;
}

.featured-card:hover .featured-img-wrap {
    background: #fff7f3;
}


/* لمسة أورانج خفيفة */

.featured-img {
    max-height: 90px;
    width: auto;
    transition: transform .2s ease;
}

.featured-card:hover .featured-img {
    transform: scale(1.05);
}

.featured-name {
    color: var(--ink-900);
    font-weight: 700;
    margin-bottom: .25rem;
}

.featured-desc {
    color: var(--ink-500);
    font-size: .95rem;
}


/* ===== Demo Section (IAS Zone) ===== */

.demo-section {
    background: #f9fafb;
    padding: 5rem 0;
}

.demo-section h2 {
    color: #111827;
}

.demo-section p {
    color: #4b5563;
}

.demo-preview {
    display: flex;
    justify-content: center;
}

.demo-img {
    max-width: 340px;
    border-radius: 16px;
    transition: transform .3s ease, box-shadow .3s ease;
}

.demo-img:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.15);
}

.demo-section .btn-cta {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border-radius: 12px;
    font-weight: 700;
    padding: .9rem 1.25rem;
    color: #fff !important;
}

.demo-section .btn-ghost {
    border-radius: 12px;
    border: 1px solid rgba(2, 6, 23, .15);
    background: #fff;
    color: #111827 !important;
    box-shadow: 0 2px 8px rgba(2, 6, 23, .04);
    font-weight: 700;
}

.demo-section .btn-ghost:hover {
    border-color: #ef4444;
    box-shadow: 0 4px 12px rgba(239, 68, 68, .15);
}


/* ===== Footer (IAS Zone) ===== */

.footer-section {
    background: radial-gradient(60% 50% at 50% 0%, rgba(255, 107, 53, .18), transparent 70%), linear-gradient(180deg, #ff7a33 0%, #ff5722 100%);
    padding-top: 4rem;
    padding-bottom: 2rem;
}

.footer-heading {
    color: #fff;
    font-weight: 800;
    margin-bottom: .75rem;
}

.footer-text {
    color: #FDEFEA;
    /* نص فاتح على البرتقالي */
    max-width: 420px;
}

.footer-link {
    color: #fff;
    opacity: .9;
    text-decoration: none;
    transition: opacity .15s ease, transform .15s ease;
}

.footer-link:hover {
    opacity: 1;
    transform: translateX(-2px);
}

.footer-link-strong {
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
}


/* زر CTA في الفوتر */

.footer-section .btn-cta {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-600));
    border: none;
    border-radius: 12px;
    color: #fff !important;
    font-weight: 700;
    padding: .7rem 1rem;
    box-shadow: 0 8px 24px rgba(255, 107, 53, .25);
}

.footer-section .btn-cta:hover {
    filter: brightness(1.05);
}


/* Divider */

.footer-section hr {
    border-color: rgba(255, 255, 255, .25);
}


/* ===== Login Page (IAS Zone) ===== */


/* خلفية لايت مع لمسة براند */

body.bg,
.bg {
    min-height: 100vh;
    background: radial-gradient(800px 400px at 10% -10%, rgba(255, 107, 53, .06), transparent 60%), radial-gradient(800px 400px at 110% 110%, rgba(255, 179, 149, .10), transparent 60%), #f8fafc;
}


/* الكارت */

.login-card {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, .08) !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(2, 6, 23, .06) !important;
}


/* عناوين */

.login-title {
    color: #0f172a;
    font-weight: 800;
    letter-spacing: .2px;
}

.login-subtitle {
    color: #475569;
}


/* الحقول */

.form-control {
    background: #f1f5f9 !important;
    border: 1px solid rgba(2, 6, 23, .12) !important;
    color: #0f172a !important;
    border-radius: 12px !important;
    padding: .85rem 1rem !important;
}

.form-control::placeholder {
    color: #94a3b8 !important;
}

.form-control:focus {
    border-color: var(--brand-primary) !important;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, .18) !important;
}


/* رسائل الخطأ */

.invalid-feedback {
    display: block;
}


/* زرار أساسي بهوية الأورانج */

.btn-primary {
    border-radius: 12px !important;
    border: none !important;
    font-weight: 700;
    padding: .9rem 1rem !important;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-600)) !important;
    color: #fff !important;
    box-shadow: 0 8px 24px rgba(255, 107, 53, .20);
}

.btn-primary:hover {
    filter: brightness(1.05);
}


/* روابط خفيفة */

a.text-muted,
a.text-muted small {
    color: #64748b !important;
}

a.text-muted:hover {
    color: #334155 !important;
}


/* فاصل "أو" */

.divider {
    display: flex;
    align-items: center;
    gap: .75rem;
    color: #64748b;
    margin: 1rem 0;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(2, 6, 23, .15), transparent);
}


/* أزرار السوشيال (لو مفعّلة) */

.social-btn {
    border-radius: 10px !important;
}


/* ===== Forgot Password Page (IAS Zone) ===== */


/* الخلفية */

body.bg,
.bg {
    min-height: 100vh;
    background: radial-gradient(800px 400px at 10% -10%, rgba(255, 107, 53, .06), transparent 60%), radial-gradient(800px 400px at 110% 110%, rgba(255, 179, 149, .10), transparent 60%), #f8fafc;
}


/* الكارت */

.reset-card {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, .08) !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(2, 6, 23, .06) !important;
}


/* العناوين */

.reset-title {
    color: #0f172a;
    font-weight: 800;
    letter-spacing: .2px;
}

.reset-subtitle {
    color: #475569;
}


/* الحقول */

.form-control {
    background: #f1f5f9 !important;
    border: 1px solid rgba(2, 6, 23, .12) !important;
    color: #0f172a !important;
    border-radius: 12px !important;
    padding: .85rem 1rem !important;
}

.form-control::placeholder {
    color: #94a3b8 !important;
}

.form-control:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, .18) !important;
}


/* زرار */

.btn-primary {
    border-radius: 12px !important;
    border: none !important;
    font-weight: 700;
    padding: .9rem 1rem !important;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-600));
    color: #fff !important;
    box-shadow: 0 8px 24px rgba(255, 107, 53, .20);
}

.btn-primary:hover {
    filter: brightness(1.05);
}


/* روابط */

a.text-muted,
a.text-muted small {
    color: #64748b !important;
}

a.text-muted:hover {
    color: #334155 !important;
}


/* ثيم الألوان العامة */

:root {
    --brand-primary: #FF6B35;
    --brand-primary-600: #F97316;
}


/* ===== Forgot Password Page (IAS Zone) ===== */


/* الخلفية */

body.bg,
.bg {
    min-height: 100vh;
    background: radial-gradient(800px 400px at 10% -10%, rgba(255, 107, 53, .06), transparent 60%), radial-gradient(800px 400px at 110% 110%, rgba(255, 179, 149, .10), transparent 60%), #f8fafc;
}


/* الكارت */

.reset-card {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, .08) !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(2, 6, 23, .06) !important;
}


/* العناوين */

.reset-title {
    color: #0f172a;
    font-weight: 800;
    letter-spacing: .2px;
}

.reset-subtitle {
    color: #475569;
}


/* الحقول */

.form-control {
    background: #f1f5f9 !important;
    border: 1px solid rgba(2, 6, 23, .12) !important;
    color: #0f172a !important;
    border-radius: 12px !important;
    padding: .85rem 1rem !important;
}

.form-control::placeholder {
    color: #94a3b8 !important;
}

.form-control:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, .18) !important;
}


/* زرار */

.btn-primary {
    border-radius: 12px !important;
    border: none !important;
    font-weight: 700;
    padding: .9rem 1rem !important;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-600));
    color: #fff !important;
    box-shadow: 0 8px 24px rgba(255, 107, 53, .20);
}

.btn-primary:hover {
    filter: brightness(1.05);
}


/* روابط */

a.text-muted,
a.text-muted small {
    color: #64748b !important;
}

a.text-muted:hover {
    color: #334155 !important;
}


/* ثيم الألوان العامة */

:root {
    --brand-primary: #FF6B35;
    --brand-primary-600: #F97316;
}
/* ===== Header (IAS Zone Guest Pages) ===== */

.guest-header {
  z-index: 2;
  background: transparent;
  position: relative;
}

/* الشعار النصي */
.ias-tagline {
  font-weight: 700;
  color: #0f172a;
  background: #eef2ff; /* خلفية بنفس روح اللايت */
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  padding: .6rem 1.4rem;
  box-shadow: 0 6px 16px rgba(2,6,23,.06);
  font-size: 1rem;
  letter-spacing: .3px;
  backdrop-filter: blur(4px);
  display: inline-block;
  transition: transform .2s ease, box-shadow .2s ease;
}

.ias-tagline:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(2,6,23,.08);
}

/* موبايل */
@media (max-width:576px) {
  .ias-tagline {
    font-size: .9rem;
    padding: .5rem 1rem;
  }
}
