
@import url(https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap);

:root{
    --card-radius: 16px;
    --card-shadow: 0 10px 25px rgba(10,10,20,0.12);
    --accent: #fd9e04;
    --bg: #f6f8ff;
    --text: #66676a;
    --svg-size: 200px;

    --card-bg: #ffffff;
    --muted: #6b7280;
    --accent-2: #df8c06;
    --shadow: 0 10px 25px rgba(13, 38, 59, 0.08);
    --rounded: 14px;
}

.model-image.svg-small {
    /*width: var(--svg-size);*/
    /*height: var(--svg-size);*/
    max-width: none;
    max-height: none;
    object-fit: contain;
    display: block;
    margin-inline: auto;
    opacity: 0.4;
}

p.lead{
    text-align:center;
    margin: 0 0 28px 0;
    color: #334155;
}

/* Swiper wrapper size */
.swiper{
    padding: 24px 0 36px;
}
.swiper-slide{
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Card style */
.model-card{
    width: 260px;
    max-width: 86vw;
    border-radius: var(--card-radius);
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff, #fbfdff);
    box-shadow: var(--card-shadow);
    transform-origin: center;
    transition: transform 400ms cubic-bezier(.2,.9,.28,1), box-shadow 300ms;
    border: 1px solid rgba(15,23,36,0.04);
}

.model-card:hover{
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 18px 40px rgba(10,10,20,0.16);
}

.model-image{
    width: 100%;
    height: 318px;
    object-fit: contain;
    display: block;
    background: linear-gradient(90deg,#e6eefc,#f5f7ff);
}

.model-body{
    padding: 14px;
}
.model-name{
    font-weight: 700;
    font-size: 14px;
    margin: 0 0 20px 0;
    color: #081129;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.model-meta{
    display:flex;
    gap:8px;
    align-items:center;
    color:#54606e;
    font-size:0.9rem;
}

.pill{
    background: rgba(51,102,255,0.08);
    color: var(--accent);
    padding: 6px 10px;
    border-radius: 999px;
    font-weight:600;
    font-size:0.85rem;
}

/* Navigation buttons style */
.swiper-button-next, .swiper-button-prev{
    color: #0f1724;
    width:44px;
    height:44px;
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(10,10,20,0.08);
    background: white;
    border: 1px solid rgba(15,23,36,0.05);
}
.swiper-pagination-bullet{
    background: rgba(12,18,28,0.16);
    opacity:1;
}
.swiper-pagination-bullet-active{
    background: var(--accent);
    transform: scale(1.15);
}

/* responsive tweak */
@media (max-width:640px){
    .model-card{ width: 75vw; }
    .model-image{ height:150px; }
}


/* تأثير على الكارد */
.card.driver-card {
    transition: all 0.3s ease-in-out;
}
.card.driver-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.card.driver-card img {
    transition: transform 0.4s ease-in-out;
}
.card.driver-card:hover img {
    transform: scale(1.1) rotate(2deg);
}

.card.driver-card .btn {
    transition: all 0.3s ease-in-out;
}
/*.card.driver-card .btn:hover {*/
/*    background-color: #0a58ca;*/
/*    transform: scale(1.05);*/
/*    box-shadow: 0 6px 15px rgba(0, 97, 255, 0.3);*/
/*}*/



.list {
    display: flex;
    flex-direction: column;
    gap: 0; /* مسافة بين العناصر */
    max-width: 300px;
}

/*.single-list {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    gap: 12px; !* مسافة بين الأيقونة والنص *!*/
/*    padding: 12px 15px;*/
/*    border-radius: 12px;*/
/*    background: #f8f9fa; !* خلفية خفيفة *!*/
/*    box-shadow: 0 2px 6px rgba(0,0,0,0.08);*/
/*    transition: transform 0.2s ease, box-shadow 0.2s ease;*/
/*}*/

/*.single-list:hover {*/
/*    transform: translateY(-3px);*/
/*    box-shadow: 0 4px 12px rgba(0,0,0,0.15);*/
/*}*/

/*.list-icon {*/
/*    background: #4CAF50; !* لون خلفية للأيقونة *!*/
/*    color: #fff;*/
/*    font-size: 18px;*/
/*    border-radius: 50%;*/
/*    width: 36px;*/
/*    height: 36px;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*}*/

/*.single-list h4 {*/
/*    margin: 0;*/
/*    font-size: 16px;*/
/*    font-weight: 600;*/
/*    color: #333;*/
/*}*/

.bg-card {
    background-image: url(../../assets/images/card-hover-vector.svg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}



 /*
 * resellers page
 */

.section-header h4{ margin:0 0 6px; font-size:1.05rem; color:var(--muted); text-align:left; }
.section-header hr{ border:0; height:1px; background:linear-gradient(90deg, rgba(0,0,0,0.06), rgba(0,0,0,0.02)); margin-bottom:14px; }

.reseller-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
    align-items: stretch;
}

.seller-card{
    position: relative;
    background: linear-gradient(180deg, rgba(255,255,255,1), rgba(248,250,252,1));
    border-radius: var(--rounded);
    padding: 10px;
    box-shadow: var(--shadow);
    overflow: visible;
    transition: transform .35s cubic-bezier(.2,.9,.3,1), box-shadow .35s;
    transform-style: preserve-3d;
    will-change: transform;
    min-height: 220px;
    display:flex;
    flex-direction: column;
    text-align:left;
}

.seller-card:hover{
    transform: translateY(-8px) scale(1.008);
    box-shadow: 0 18px 40px rgba(13,38,59,0.12);
    z-index: 3;
}

.flag-container{
    position: absolute;
    top: -28px;
    left: 13px; /* rtl: use left */
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(14,165,233,0.08), rgba(6,182,212,0.06));
    display:flex;
    align-items:center;
    justify-content:center;
    border: 2px solid rgba(255,255,255,0.75);
    box-shadow: 0 6px 18px rgba(15,23,42,0.06);
    overflow: hidden;
}
.flag-container .flag-img{
    width: 60px;
    height: 60px;
    object-fit: cover;
    display:block;
    border-radius:50%;
}

.seller-header{
    font-weight:700;
    text-align: -webkit-center;
    letter-spacing:0.08em;
    font-size:0.86rem;
    margin-left: 80px; /* make room for the circle (rtl: left) */
    margin-bottom: 8px;
    display:inline-block;
    padding:6px 10px;
    background: linear-gradient(90deg, #000000, #f79800);
    color: #fff;
    border-radius: 999px;
    box-shadow: 0 6px 16px rgba(14,165,233,0.12);
}

.seller-body{
    margin-top: 8px;
    display:flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 2px;
    margin-left: 6px;
    flex: 1 1 auto;
}

.reseller-name{
    font-weight:600;
    color:#0b2540;
    font-size:0.98rem;
}

.seller-row{
    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:0;
    padding:0;
    border-radius:10px;
    transition: background .25s, transform .2s;
}
.seller-row:hover{
    background: rgba(163, 163, 163, 0.2);
    transform: translateX(-2px);
}
.seller-label{
    display:flex;
    align-items:center;
    gap:10px;
    color:var(--muted);
    font-size:0.9rem;
    min-width: 50px;
    justify-content:flex-start; /* rtl: label at left */
}
.seller-icon{
    width:34px;
    height:34px;
    border-radius:8px;
    display:flex;
    align-items:center;
    justify-content:center;
    background: linear-gradient(180deg, rgb(192 192 192 / 8%), rgb(210 210 210 / 4%));
    color: var(--muted);
    font-size: 20px !important;
    box-shadow: 0 4px 10px rgb(59 59 59 / 6%);
}

.seller-value{ text-align:left; font-weight:500; color:#06406a; word-break:break-word; }

.seller-value a{ text-decoration: none; color: var(--accent); font-weight:600; }
.seller-value a:hover{ text-decoration:underline; }

.row.button{ display:flex; justify-content:flex-start; } /* rtl: buttons to left */
/*.btn{*/
/*    display:inline-flex;*/
/*    align-items:center;*/
/*    gap:8px;*/
/*    text-decoration:none;*/
/*    padding:8px 12px;*/
/*    border-radius:10px;*/
/*    background: linear-gradient(90deg,var(--accent),var(--accent-2));*/
/*    color:#fff;*/
/*    font-weight:700;*/
/*    box-shadow: 0 8px 22px rgba(6,182,212,0.12);*/
/*    transition: transform .18s ease, box-shadow .18s ease, opacity .18s;*/
/*}*/
/*.btn i{ font-size:0.95rem; }*/
/*.btn:hover{ transform: translateY(-3px); box-shadow: 0 14px 28px rgba(6,182,212,0.18); opacity:0.98; }*/

@media (max-width:520px){
    .seller-header{ margin-left: 72px; font-size:0.82rem; padding:5px 8px; }
    .seller-row{ padding:7px; }
    .flag-container{ top:-26px; left: 14px; width:50px; height:50px; }
    .flag-img{ width:44px; height:44px; }
}


/*
* supported models pages style
*/

 .brand-card {
     border-radius: 12px;
     transition: transform .22s ease, box-shadow .22s ease;
     cursor: pointer;
     overflow: hidden;
 }
.brand-card:hover,
.brand-card:focus {
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(18, 38, 63, 0.12);
    outline: none;
}
.object-fit-cover {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
}
.brand-placeholder {
    background: linear-gradient(135deg, rgba(203,141,60,0.12), rgba(96,52,180,0.05));
    color: #6b4f2d;
    width: 100%;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-weight: 700;
}
.model-badge {
    padding: .4rem .55rem;
    font-weight: 700;
    border-radius: .5rem;
    z-index: 5;
}
.card-title.text-truncate {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}


.feature-header {
    font-size: 2rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 20px;
}
.feature-box {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.2s ease-in-out;
    font-size: 15px;
    font-weight: bold;
}
.feature-box:hover {
    transform: translateY(-5px);
}




/*
* about us style
*/
/* ---- Reset بسيط ---- */
.ozellikler_listesi { margin: 0; padding: 0; list-style: none; }

/* Container العام للميزات: شبكة responsive */
.ozellikler_listesi {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 14px;                /* المسافة بين العناصر */
    align-items: start;
    padding-left: 0;
}

/* كل بطاقة ميزة */
.ozellik {
    display: flex;
    gap: 12px;
    align-items: center;     /* يوسّط الأيقونة والنص رأسياً */
    padding: 8px 12px;
    min-height: 64px;
    box-sizing: border-box;
}

/* الحاوية الخاصة بالأيقونة لضبط البلوك والمساحة */
.ozellik_simgesi {
    width: 56px;             /* حجم موحد لحاوية الأيقونة */
    height: 56px;
    flex: 0 0 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* نجبر كل SVG على أخذ الحجم المناسب ونتخلص من الفراغات الغريبة */
.ozellik_simgesi svg,
.satir .ozellik_simgesi svg,
svg.icon-sm {
    width: 40px !important;
    height: 40px !important;
    max-width: 100%;
    max-height: 100%;
    display: block;          /* يمنع وجود whitespace تحت الـsvg */
}

/* إذا أردت أيقونات أكبر في العناوين الرئيسية */
.header-icon svg {
    width: 64px !important;
    height: 64px !important;
}

/* النص اسم الميزة */
.ozellik_adi {
    font-size: 14px;
    color: #232323;
    line-height: 1.2;
}

/* تباعد عام للأقسام بدل inline styles */
/*.section {*/
/*    margin-top: 32px;*/
/*    padding-left: 80px;*/
/*}*/

/* خط العرض للـ "Modes" و "Extra" */
.satir { display:flex; align-items:center; gap:12px; }
.baslik { font-weight:700; font-size:18px; }

/* قابلية استجابة: على الشاشات الصغيرة نقل المسافة الجانبية */
@media (max-width:720px) {
    .ozellikler_listesi.mt16 {
        padding-left: 0 !important;
    }
    .sutun.aifs {
        padding-left: 30px !important;
    }
    /*.section { padding-left: 16px; }*/
    .ozellikler_listesi { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap:10px; }
    .ozellik_simgesi { width:48px; height:48px; }
    .ozellik_simgesi svg { width:32px !important; height:32px !important; }
}


.faq-container {
    max-width: 900px;
    margin: 0px auto;
    padding: 20px;
}
.faq-header {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}
.accordion-button {
    /*background-color: #d1d1d1;*/
    color: #333;
    font-weight: 600;
}
.accordion-button:not(.collapsed) {
    background-color: #fd9e04;
    color: #fff;
}
.accordion-body {
    /*background-color: #f1f8ff;*/
    color: #333;
}

ul, ol {
    padding-left: 20px;
    margin-bottom: 10px;
    list-style-type: unset !important;
}

li {
    margin-bottom: 5px;
}

table {
    border-collapse: collapse;
    width: 100%;
}

table, th, td {
    border: 1px solid #ccc;
    padding: 8px;
}

video {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px 0;
}

.faq-link-icon {
    opacity: 0.3;
    transition: opacity 0.2s ease-in-out;
}

.accordion-header:hover .faq-link-icon,
.accordion-item.open .faq-link-icon {
    opacity: 1;
}
