/*** Spinner Start ***/
/* LIGHT MODE */
:root {
    --bg: #ffffff;
    --bg-soft: #f5f5f5;

    --primary: #243a5e;
    --card: rgba(255, 255, 255, 0.7);

    --text: #111;
    --text-light: #666;
}


body.dark {
    --bg: #020617;
    --bg-soft: #0f172a;

    --primary: #0f172a;
    --card: rgba(30, 41, 59, 0.7);

    --text: #f1f5f9;
    --text-light: #94a3b8;
}

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

body {
    margin: 0;
    font-family: Arial;
}

/* مساحة scroll */
.factory-section {
    height: 250vh;
}

/* layout */
.content {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 130px;
}

/* النص */
.text {
    width: 525px;
    transition: opacity 0.4s ease;
}

/* الفيديو */
.video-container {
    position: relative;
    width: 420px;
    height: 236px;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    transform: translateZ(0);
}

video {
    width: 100%;
    height: 431px;
    object-fit: contain;
    display: block;
}




/* * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
} */

/* * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
} */

body {
    background: #f7f7f7;
}

.why-blackbox {
    padding: 100px 20px;
}

.container1 {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

/* LEFT SIDE */
.images-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.image-card {
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.image-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

/* RIGHT SIDE */
.content-box {
    flex: 1;
}

.content-box h2 {
    font-size: 46px;
    margin-bottom: 20px;
    color: #fa8b10;
}

.subtitle {
    font-size: 17px;
    color: #000000;
    line-height: 1.7;
    margin-bottom: 35px;
}

.feature1 {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 28px;
}

.icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    background: #fa8b10;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    margin-top: 4px;
}

.feature1 h4 {
    font-size: 21px;
    margin-bottom: 8px;
    color: #fa8b10;
}

.feature1 p {
    color: #000000;
    line-height: 1.6;
}

/* ANIMATION START */
.hidden-left {
    opacity: 0;
    transform: translateX(-120px);
    transition: all 3s ease;
}

.hidden-right {
    opacity: 0;
    transform: translateX(120px);
    transition: all 3s ease;
}

.show {
    opacity: 1;
    transform: translateX(0);
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .container1 {
        flex-direction: column;
    }

    .content-box h2 {
        font-size: 36px;
    }
}

@media (max-width: 576px) {
    .content-box h2 {
        font-size: 28px;
    }

    .feature1 h4 {
        font-size: 18px;
    }

    .image-card img {
        height: 130px;
    }
}


/* 🔒 Dark mode - آمن */
body.dark .fx6-section {
    background: linear-gradient(135deg, #0f172a, #020617);
}

body.dark .fx6-left {
    background: #0f172a;
}

body.dark .fx6-right {
    background: linear-gradient(to right,
            rgba(15, 23, 42, 0.95),
            rgba(30, 41, 59, 0.6));
    color: #f1f5f9;
}

/* النصوص */
body.dark .fx6-right h1,
body.dark .fx6-right h3,
body.dark .fx6-right p {
    color: #f1f5f9;
}

/* الزرار */
body.dark .fx6-btn {
    background: #1e293b;
    color: #fff;
}

/* arrows */
body.dark .fx6-arrow {
    background: #1e293b;
    color: #fff;
}

/* CSS */
/* * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
} */

/* body {
  background: #f2f2f2;
} */

.container {
    width: 90%;
    max-width: 1300px;
    margin: auto;
}

.products-section {
    padding: 80px 0;
    background: #ffffff;

}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 42px;
    color: #fa8b10;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-header p {
    max-width: 600px;
    margin: auto;
    color: #000000;
    line-height: 1.7;
    font-size: 16px;
}

/* Filter Buttons */

.product-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.product-filters button {
    background: #000000;
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s;
    font-weight: 500;
}

body.dark-mode .product-filters button:hover {
    background: #1c1c1c !important;
    color: white !important;
    border: none;
    padding: 12px 28px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s;
    font-weight: 500;
}

.product-filters button:hover,
.product-filters button.active {
    transform: translateY(-2px);
    background: #f2f5f9;
    color: #000000;
}

/* Cards */

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    /* min-height: 450px; */
}

.product-card {
    background: #fa8b10;
    border-radius: 18px;
    padding: 30px 20px;
    text-align: center;
    color: white;
    opacity: 0;
    transform: translateY(80px);
    transition: all 0.8s ease;
}

/* بعد الظهور أثناء الـ scroll */

.product-card.show {
    opacity: 1;
    transform: translateY(0);
}

/* Delay بسيط لكل كارت */

.product-card:nth-child(1) {
    transition-delay: 0.1s;
}

.product-card:nth-child(2) {
    transition-delay: 0.2s;
}

.product-card:nth-child(3) {
    transition-delay: 0.3s;
}

.product-card:nth-child(4) {
    transition-delay: 0.4s;
}

.product-card.hide {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
}

.product-card:hover {
    transform: translateY(-19px);
    background-color: #ff8603;
}

.product-card img {
    width: 160px;
    margin-bottom: 20px;
}

.product-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #ffffff;
}

.product-card p {
    font-size: 14px;
    color: #ffffff;
    margin-bottom: 25px;
    line-height: 1.6;
}

.price-btn {
    display: inline-block;
    padding: 12px 24px;
    background: #000000;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    transition: 0.3s;
    font-weight: 600;
}

body.dark-mode .price-btn {
    display: inline-block;
    padding: 12px 24px;
    background: #ffffff;
    color: rgb(0, 0, 0);
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    transition: 0.3s;
    font-weight: 600;
}

body.dark-mode .price-btn:hover {
    display: inline-block;
    padding: 12px 24px;
    background: #1c1c1c !important;
    color: rgb(255, 255, 255) !important;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    transition: 0.3s;
    font-weight: 600;
}

.price-btn:hover {
    background: #ffffff;
    color: #000000;
}


/* Contact Section */

.contact-section {
    background: #f2f2f2;
    padding: 120px 20px;
    text-align: center;
}

.contact-section .container {
    max-width: 800px;
    margin: auto;
}

.contact-section h2 {
    font-size: 52px;
    font-weight: 700;
    color: #fa8b10;
    margin-bottom: 30px;
}

.contact-section p {
    font-size: 17px;
    line-height: 1.8;
    color: #000000;
    max-width: 650px;
    margin: 0 auto 40px;
}

.contact-btn {
    display: inline-block;
    padding: 12px 24px;
    background: #fa8b10;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    transition: 0.3s;
    font-weight: 600;
}

.contact-btn:hover {
    transform: translateY(-3px);
    background: #ffffff;
    color: #000000;
}
body.dark-mode .contact-btn:hover {
    transform: translateY(-3px);
    background: #1c1c1c;
    color: #ffffff;
}

/* Footer */

.footer1 {
    background: #f5f5f5;
    padding: 70px 20px;
    border-top: 1px solid #ddd;
}

.footer .container {
    max-width: 1300px;
    margin: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    align-items: start;
}

.footer-box p {
    color: #000000;
    font-size: 15px;
    line-height: 1.8;
}

.policy-link {
    display: inline-block;
    margin-top: 30px;
    color: #fa8b10;
    text-decoration: none;
    font-size: 14px;
}

.footer-box h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #000000;
}

.footer-box ul {
    list-style: none;
    padding: 0;
}

.footer-box ul li {
    margin-bottom: 14px;
}

.footer-box ul li a {
    text-decoration: none;
    color: #1d2a3a;
    transition: 0.3s;
}

.footer-box ul li a:hover {
    color: #000;
}

.contact-info li {
    font-size: 15px;
    color: #000000;
}

.footer-brand h2 {
    font-size: 52px;
    font-weight: 800;
    color: #071426;
    margin-bottom: 25px;
}

.social-icons {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    margin-top: 15px;
}

.social-icons a {
    width: 38px;
    height: 38px;
    background: #000000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: 0.3s;
}

.social-icons a:hover {
    transform: translateY(-3px);
}

.copyright1 {
    font-size: 14px;
    color: #1d2a3a;
}


/* * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
} */

.fx6-section {
    height: 100vh;
    background: linear-gradient(135deg, #cfd3d8, #9aa3ad);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* WRAPPER */
.fx6-wrapper {
    position: relative;
    width: 1000px;
    height: 500px;
}

/* الكارت الأزرق */
.fx6-left {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 470px;
    height: 504px;
    background: #fa8b10;
    border-radius: 40px;
    z-index: 1;
}

/* 🔥 الصورة */
.fx6-image-box {
    position: absolute;
    top: 50%;
    left: 79px;
    transform: translateY(-50%) rotate(-15deg);
    z-index: 5;
}

.fx6-image-box img {
    width: 320px;
    filter: drop-shadow(0 25px 40px rgba(0, 0, 0, 0.35));
    transition: 0.3s;
}

/* الكارت الرمادي */
.fx6-right {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 650px;
    height: 393px;
    padding: 114px;
    border-radius: 40px;
    background: linear-gradient(to right, #fa8b10d1 -32%, rgba(255, 255, 255, 0.3));
    backdrop-filter: blur(10px);
    color: #fff;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* TEXT */
.fx6-right h1 {
    font-size: 48px;
    font-weight: 600;
    color: #ffffff;
}

.fx6-right h3 {
    margin: 10px 0;
    opacity: 0.8;
}

.price {
    margin: 5px 0 15px;
}

.desc {
    font-size: 14px;
    line-height: 1.6;
}

/* BUTTON */
.fx6-btn {
    margin-top: 20px;
    align-self: flex-start;

    padding: 12px 30px;
    border: none;
    border-radius: 25px;

    background: #fa8b10;
    color: #fff;

    cursor: pointer;
    transition: 0.3s;
}

.fx6-btn:hover {
    background: #1c1c1c;
}

 body.dark-mode a:hover{
    color:#fa8b10 !important ;
 }

/* 🔥 ARROWS (بره الكارت) */
.fx6-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;

    background: #fa8b10;
    color: #fff;
    font-size: 24px;

    cursor: pointer;
    z-index: 10;
}

.fx6-arrow.left {
    left: 40px;
}

.fx6-arrow.right {
    right: 40px;
}

/* 🎬 ANIMATION */
.fade {
    opacity: 0;
}

/* 📱 RESPONSIVE */
@media (max-width: 900px) {

    .fx6-wrapper {
        width: 100%;
        height: auto;
    }

    /* الكارت الأزرق */
    .fx6-left {
        position: relative;
        width: 280px;
        height: 280px;
        margin: auto;
    }

    /* الصورة */
    .fx6-image-box {
        position: relative;
        left: 0;
        top: 0;
        transform: rotate(-10deg);
        text-align: center;
        margin-top: -100px;
    }

    .fx6-image-box img {
        width: 200px;
    }

    /* الكارت الرمادي */
    .fx6-right {
        position: relative;
        width: 90%;
        margin: -60px auto 0;
        height: auto;
        padding: 30px;
    }

    .fx6-right h1 {
        font-size: 30px;
    }

    /* arrows في الموبايل */
    .fx6-arrow.left {
        left: 10px;
    }

    .fx6-arrow.right {
        right: 10px;
    }
}

/* ===================================== */
/* Theme Toggle Button + Full Dark Mode */
/* ===================================== */

/* زرار احترافي */
#theme-toggle {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: #ffffff;
    color: #fa8b10;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s ease;
    margin-left: 18px;
    /* مسافة بينه وبين language */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

#theme-toggle:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

/* ======================= */
/* الوضع الليلي الكامل */
/* ======================= */

body.dark-mode {
    background: #1c1c1c;
    color: #ffffff;
}

/* كل السكاشن */
body.dark-mode .nav-bar,
body.dark-mode .hero,
body.dark-mode .about-section,
body.dark-mode .factory-section,
body.dark-mode .why-blackbox,
body.dark-mode .products-section,
body.dark-mode .contact-section,
body.dark-mode .footer1,
body.dark-mode .fx6-section {
    background: #000000 !important;
}

/* النصوص كلها */
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6,
body.dark-mode p,
body.dark-mode span,
body.dark-mode a,
body.dark-mode li,
body.dark-mode strong {
    color: #ffffff !important;
}

body.dark-mode .price-btn,
body.dark-mode .product-filters button :hover {
    background: #ffffff !important;
    color: #000000 !important;

}

/* وصف المنتجات */
body.dark-mode .product-card p,
body.dark-mode .section-header p,
body.dark-mode .contact-section p {
    color: #d6dbe2 !important;
}

/* الكروت */
body.dark-mode .product-card {
    background: #fa8b10 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* الأزرار */
body.dark-mode .product-filters button {
    background: #ffffff;
    color: #000000;
    border: none;
}

/* الزرار active */
body.dark-mode .product-filters button.active {
    background: #1c1c1c !important;
    color: #ffffff !important;
}

/* أيقونات السوشيال */
body.dark-mode .social-icons a {
    background: #ffffff !important;
    color: #000000 !important;
}

/* الفوتر */
body.dark-mode .footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* زرار التوجل نفسه في الوضع الليلي */
body.dark-mode #theme-toggle {
    background: #ffffff;
    color: #fa8b10;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ======================= */
/* Responsive */
/* ======================= */

@media (max-width: 992px) {
    #theme-toggle {
        width: 46px;
        height: 46px;
        font-size: 18px;
        margin-left: 14px;
    }
}

@media (max-width: 768px) {
    #theme-toggle {
        width: 42px;
        height: 42px;
        font-size: 16px;
        margin-left: 12px;
        border-radius: 12px;
    }
}

@media (max-width: 480px) {
    #theme-toggle {
        width: 40px;
        height: 40px;
        font-size: 15px;
        margin-left: 10px;
    }
}


#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    transition: 0.5s;
    z-index: 99;
}


/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-xl-square {
    width: 66px;
    height: 66px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.btn-primary {
    color: var(--bs-white);
    border: none;
}

.btn.btn-primary:hover {
    background: #fa8b10;
    color: var(--bs-white);
}

.btn.btn-light {
    color: var(--bs-primary);
    border: none;
}

.btn.btn-light:hover {
    color: var(--bs-white);
    background: var(--bs-dark);
}

.btn.btn-dark {
    color: var(--bs-white);
    border: none;
}

.btn.btn-dark:hover {
    color: #ffffff;
    background: #1c1c1c;
}







/*** Topbar Start ***/
.topbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
    color: var(--bs-primary);
}

.topbar .dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.topbar .dropdown .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light);
    padding-top: 10px;
    border: 0;
    transition: .5s;
    opacity: 1;
}

/*** Topbar End ***/


/*** Navbar Start ***/
.nav-bar {
    background: var(--bs-white);
    transition: 1s;
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.nav-bar .navbar-light .navbar-brand img {
    max-height: 50px;
}

.navbar .navbar-nav .nav-item .nav-link {
    padding: 0;
}

.navbar .navbar-nav .nav-item {
    display: flex;
    align-items: center;
    padding: 15px;
}

.navbar-light .navbar-nav .nav-item:hover,
.navbar-light .navbar-nav .nav-item.active,
.navbar-light .navbar-nav .nav-item:hover .nav-link,
.navbar-light .navbar-nav .nav-item.active .nav-link {
    color: #011224;
}

@media (max-width: 991px) {
    .navbar {
        padding: 20px 0;
    }

    .navbar .navbar-nav .nav-link {
        padding: 0;
    }

    .navbar .navbar-nav .nav-item {
        display: flex;
        padding: 20px;
        flex-direction: column;
        justify-content: start;
        align-items: start;
    }

    .navbar .navbar-nav .nav-btn {
        display: flex;
        justify-content: start;
    }

    .navbar .navbar-nav {
        width: 100%;
        display: flex;
        margin-top: 20px;
        padding-bottom: 20px;
        background: var(--bs-light);
        border-radius: 10px;
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 8px 15px;
        border: 1px solid var(--bs-primary);
        color: var(--bs-primary);
    }
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
}


.language-switcher {
    background-color: #f0f0f0;
    border-radius: 10px;
    display: inline-block;
    padding: 5px;
    border: 1px solid #ccc;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.language-switcher ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.language-switcher li {
    margin: 0 2.75px;
}

.language-switcher img {
    width: 27px;
    height: auto;
    display: block;
}

.language-switcher .lang-btn {
    display: block;
    padding: 3px 5px;
    border-radius: 8px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}


.language-switcher .lang-btn.active {
    background-color: #fff;
    border-color: #e50000;
    /* box-shadow: 0 0 5px rgba(0, 0, 0, 0.1); */
}


@media (max-width: 768px) {
    .language-switcher img {
        width: 30px;
    }

    .language-switcher .lang-btn {
        padding: 6px 10px;
    }

    .language-switcher {
        background-color: #f0f0f0;
        border-radius: 10px;
        display: inline-block;
        padding: 5px;
        border: 1px solid #ccc;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        width: 105px;
        position: relative;
        right: 10px;
    }
}


.dropdown .dropdown-menu .dropdown-item:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

@media (min-width: 992px) {
    .navbar {
        padding: 20px 0;
    }

    .navbar .nav-btn {
        display: flex;
        align-items: center;
        justify-content: end;
    }

    .navbar .navbar-nav {
        width: 100%;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        border-radius: 10px;
    }

    .navbar .navbar-nav .nav-btn {
        width: 100%;
        display: flex;
        margin-left: auto;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 10px;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        margin-top: 20px;
        background: var(--bs-light);
        transition: .5s;
        opacity: 1;
    }
}

/*** Navbar End ***/


/*** Carousel Hero Header Start ***/
.header-carousel .header-carousel-item {
    height: 700px;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 60px;
    /* background: var(--bs-light);
    color: var(--bs-primary); */
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.header-carousel .owl-nav .owl-prev {
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    margin-left: 30px;
}

.header-carousel .owl-nav .owl-next {
    bottom: 30px;
    right: 50%;
    transform: translateX(-50%);
    margin-right: 30px;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    box-shadow: inset 0 0 100px 0 var(--bs-secondary);
    color: var(--bs-white);
}

.header-carousel .header-carousel-item .carousel-caption {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    /* background: #ffffff; */
    display: flex;
    align-items: center;

}

@media (max-width: 991px) {
    .header-carousel .header-carousel-item .carousel-caption {
        padding-top: 45px;
    }

    .header-carousel .header-carousel-item {
        height: 1300px;
    }
}

@media (max-width: 767px) {
    .header-carousel .header-carousel-item {
        height: 950px;
    }

    .header-carousel .owl-nav .owl-prev {
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%);
        margin-left: -45px;
    }

    .header-carousel .owl-nav .owl-next {
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%);
        margin-left: 45px;
    }
}

/*** Carousel Hero Header End ***/


/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(1, 95, 201, 0.9), rgba(0, 0, 0, 0.2)), url(../img/bg-breadcrumb.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 60px 0 60px 0;
    transition: 0.5s;
}

.bg-breadcrumb .breadcrumb {
    position: relative;
}

.bg-breadcrumb .breadcrumb .breadcrumb-item a {
    color: var(--bs-white);
}

/*** Single Page Hero Header End ***/


/*** Feature Start ***/
.feature .feature-item {
    border-radius: 10px;
    background: var(--bs-white);
    transition: 0.5s;
}

.feature .feature-item:hover {
    background: var(--bs-primary);
}

.feature .feature-item .feature-icon {
    position: relative;
    width: 100px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-light);
}

.feature .feature-item:hover .feature-icon i {
    z-index: 9;
}

.feature .feature-item .feature-icon::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-dark);
    transition: 0.5s;
    z-index: 1;
}

.feature .feature-item:hover .feature-icon::after {
    height: 100%;
}

.feature .feature-item .feature-icon {
    color: var(--bs-primary);
}

.feature .feature-item .feature-icon,
.feature .feature-item h4,
.feature .feature-item p {
    transition: 0.5s;
}

.feature .feature-item:hover .feature-icon {
    color: var(--bs-white);
}

.feature .feature-item:hover h4,
.feature .feature-item:hover p {
    color: var(--bs-white);
}

.feature .feature-item:hover a.btn {
    background: var(--bs-white);
    color: var(--bs-primary);
}

.feature .feature-item:hover a.btn:hover {
    background: var(--bs-dark);
    color: var(--bs-white);
}

/*** Feature End ***/


/*** Service Start ***/
.service .service-item {
    border-radius: 10px;
}

.service .service-item .service-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.service .service-item .service-img img {
    transition: 0.5s;
}

.service .service-item:hover .service-img img {
    transform: scale(1.1);
}

.service .service-item .service-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: rgba(1, 95, 201, .2);
    transition: 0.5s;
    z-index: 1;
}

.service .service-item:hover .service-img::after {
    height: 100%;
}

.service .service-item .service-img .service-icon {
    position: absolute;
    width: 70px;
    bottom: 0;
    right: 25px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: var(--bs-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 9;
}

.service .service-item .service-img .service-icon i {
    color: var(--bs-primary);
    transition: 0.5s;
}

.service .service-item:hover .service-img .service-icon i {
    transform: rotateX(360deg);
    color: var(--bs-white);
}

.service .service-item:hover .service-img .service-icon {
    bottom: 0;
    color: var(--bs-white);
    background: var(--bs-primary);
}

.service .service-content {
    position: relative;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-light);
}

.service .service-item .service-content .service-content-inner {
    position: relative;
    z-index: 9;
}

.service .service-item .service-content .service-content-inner .h4,
.service .service-item .service-content .service-content-inner p {
    transition: 0.5s;
}

.service .service-item:hover .service-content .service-content-inner .h4,
.service .service-item:hover .service-content .service-content-inner p {
    color: var(--bs-white);
}

.service .service-item:hover .service-content .service-content-inner .btn.btn-primary {
    color: var(--bs-primary);
    background: var(--bs-white);
}

.service .service-item:hover .service-content .service-content-inner .btn.btn-primary:hover {
    color: var(--bs-white);
    background: var(--bs-dark);
}

.service .service-item:hover .service-content .service-content-inner .h4:hover {
    color: var(--bs-dark);
}

.service .service-item .service-content::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-primary);
    transition: 0.5s;
    z-index: 1;
}

.service .service-item:hover .service-content::after {
    height: 100%;
}

/*** Service End ***/


/*** FAQs Start ***/
.faq-section .accordion .accordion-item .accordion-header .accordion-button {
    color: var(--bs-white);
    background: rgba(1, 95, 201, .8);
    font-size: 18px;
}

.faq-section .accordion .accordion-item .accordion-header .accordion-button.collapsed {
    color: var(--bs-primary);
    background: var(--bs-light);
}

/*** FAQs End ***/


/*** Blog Start ***/
.blog .blog-item {
    border-radius: 10px;
    transition: 0.5s;
}

.blog .blog-item:hover {
    box-shadow: 0 0 45px rgba(0, 0, 0, .1);
}

.blog .blog-item:hover .blog-content {
    background: var(--bs-white);
}

.blog .blog-item .blog-img {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    position: relative;
    overflow: hidden;
}

.blog .blog-item .blog-img img {
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img img {
    transform: scale(1.2);
}

.blog .blog-item .blog-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: rgba(1, 95, 201, .2);
    transition: 0.5s;
    z-index: 1;
}

.blog .blog-item:hover .blog-img::after {
    height: 100%;
}

.blog .blog-item .blog-img .blog-categiry {
    position: absolute;
    bottom: 0;
    right: 0;
    border-top-left-radius: 10px;
    display: inline-flex;
    color: var(--bs-white);
    background: var(--bs-primary);
    z-index: 9;
}

.blog .blog-item .blog-content {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-light);
}

.blog .blog-item .blog-content a.btn {
    color: var(--bs-dark);
}

.blog .blog-item:hover .blog-content a.btn:hover {
    color: var(--bs-primary);
}

/*** Blog End ***/


/*** Team Start ***/
.team .team-item .team-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.team .team-item .team-img img {
    transition: 0.5s;
}

.team .team-item:hover .team-img img {
    transform: scale(1.1);
}

.team .team-item .team-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    transition: 0.5s;
}

.team .team-item:hover .team-img::after {
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
}

.team .team-item .team-img .team-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    margin-bottom: -100%;
    transition: 0.5s;
    z-index: 9;
}

.team .team-item:hover .team-img .team-icon {
    margin-bottom: 0;
}

.team .team-item .team-title {
    color: var(--bs-white);
    background: var(--bs-primary);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    transition: 0.5s;
}

.team .team-item .team-title h4 {
    color: var(--bs-white);
}

.team .team-item:hover .team-title {
    background: var(--bs-dark);
}

/*** Team End ***/


/*** Testimonial Start ***/
.testimonial-carousel .owl-stage-outer {
    margin-top: 58px;
    margin-right: -1px;
}

.testimonial .owl-nav .owl-prev {
    position: absolute;
    top: -58px;
    left: 0;
    background: var(--bs-primary);
    color: var(--bs-white);
    padding: 5px 30px;
    border-radius: 30px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-prev:hover {
    background: var(--bs-dark);
    color: var(--bs-white);
}

.testimonial .owl-nav .owl-next {
    position: absolute;
    top: -58px;
    right: 0;
    background: var(--bs-primary);
    color: var(--bs-white);
    padding: 5px 30px;
    border-radius: 30px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-next:hover {
    background: var(--bs-dark);
    color: var(--bs-white);
}

/*** Testimonial End ***/


/*** Contact Start ***/
.contact .contact-img {
    position: relative;
}

.contact .contact-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: rgba(255, 255, 255, 0.9);
    z-index: 1;
    animation-name: image-efects;
    animation-duration: 10s;
    animation-delay: 1s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    transition: 0.5s
}

@keyframes image-efects {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }

    25% {
        border-radius: 35% 65% 27% 73% / 71% 25% 75% 29%;
    }

    50% {
        border-radius: 41% 59% 45% 55% / 32% 21% 79% 68%;
    }

    75% {
        border-radius: 69% 31% 39% 61% / 70% 83% 17% 30%;
    }

    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
}

.contact .contact-img .contact-img-inner {
    position: relative;
    z-index: 9;
}

/*** Contact End ***/


/*** Footer Start ***/
.footer {
    background: var(--bs-dark);
}

.footer .footer-item {
    display: flex;
    flex-direction: column;
}

.footer .footer-item a {
    line-height: 35px;
    color: var(--bs-body);
    transition: 0.5s;
}

.footer .footer-item p {
    line-height: 35px;
}

.footer .footer-item a:hover {
    color: var(--bs-primary);
}

.footer .footer-item .footer-btn a,
.footer .footer-item .footer-btn a i {
    transition: 0.5s;
}

.footer .footer-item .footer-btn a:hover {
    background: var(--bs-white);
}

.footer .footer-item .footer-btn a:hover i {
    color: var(--bs-primary);
}


.footer .footer-item .footer-instagram {
    position: relative;
    overflow: hidden;
}

.footer .footer-item .footer-instagram img {
    transition: 0.5s;
}

.footer .footer-item .footer-instagram:hover img {
    transform: scale(1.2);
}

.footer .footer-item .footer-instagram .footer-search-icon {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    opacity: 0;
}

.footer .footer-item .footer-instagram:hover .footer-search-icon {
    opacity: 1;
    background: rgba(0, 0, 0, .6);
}

.footer .footer-item .footer-btn a {
    background: var(--bs-light);
    color: var(--bs-primary);
}

.footer .footer-item .footer-btn a:hover {
    background: var(--bs-primary);
}

.footer .footer-item .footer-btn a:hover i {
    color: var(--bs-white);
}

/*** Footer End ***/


/*** copyright Start ***/
.copyright {
    background: var(--bs-dark);
    border-top: 1px solid rgba(255, 255, 255, .08);
}

/*** copyright end ***/