/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

/* Poppins */
@font-face {
    font-family: 'Poppins';
    src: url('../assets/fonts/Poppins-Regular.ttf');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../assets/fonts/Poppins-Medium.ttf');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../assets/fonts/Poppins-SemiBold.ttf');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../assets/fonts/Poppins-Bold.ttf');
    font-weight: 700;
    font-display: swap;
}

/* Oswald */
@font-face {
    font-family: 'Oswald';
    src: url('../assets/fonts/Oswald-VariableFont_wght.ttf');
    font-weight: 400;
    font-display: swap;
}

/* Montserrat for Arabic */
@font-face {
    font-family: 'Montserrat';
    src: url('../assets/fonts/Montserrat-Arabic\ Light\ 300.otf');
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../assets/fonts/Montserrat-Arabic Regular 400.otf');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../assets/fonts/Montserrat-Arabic Medium 500.otf');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../assets/fonts/Montserrat-Arabic SemiBold 600.otf');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../assets/fonts/Montserrat-Arabic Bold 700.otf');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../assets/fonts/Montserrat-Arabic ExtraBold 800.otf');
    font-weight: 800;
    font-display: swap;
}

/* General */
* {
    font-family: 'Poppins', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Oswald', sans-serif;
}

/* Arabic Language Styles - excluding FontAwesome icons */
[dir="rtl"] body,
[dir="rtl"] p,
[dir="rtl"] div:not([class*="fa-"]),
[dir="rtl"] a,
[dir="rtl"] button,
[dir="rtl"] input,
[dir="rtl"] textarea,
[dir="rtl"] label,
[dir="rtl"] li {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;

}

[dir="rtl"] h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2rem;
}

[dir="rtl"] h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
}

[dir="rtl"] h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
}

[dir="rtl"] h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
}

[dir="rtl"] h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;

}

[dir="rtl"] h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
}

[dir="rtl"] span:not([class*="fa-"]) {
    font-family: 'Montserrat', sans-serif;
}

:root {
    --primary-color: #f68914d3;
    --primary-color-solid: #f68914;
    --primary-rgb: 246, 137, 20;
}

.primary-color {
    color: var(--primary-color)
}

section {
    margin: 3.125rem 0 3.125rem 0;
}

.btn-custom {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--primary-color);
    --bs-btn-border-color: var(--primary-color);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #e67a0a;
    --bs-btn-hover-border-color: #d97309;
    --bs-btn-focus-shadow-rgb: 246, 137, 20;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #d97309;
    --bs-btn-active-border-color: #cc6c08;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--primary-color);
    --bs-btn-disabled-border-color: var(--primary-color);
}

/* Outline Custom Button */
.btn-custom-outline {
    --bs-btn-color: var(--primary-color);
    --bs-btn-border-color: var(--primary-color);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--primary-color);
    --bs-btn-hover-border-color: var(--primary-color);
    --bs-btn-focus-shadow-rgb: 246, 137, 20;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #d97309;
    --bs-btn-active-border-color: #cc6c08;
    --bs-btn-disabled-color: var(--primary-color);
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: var(--primary-color);
}

.bg-custom {
    background-color: rgba(var(--primary-rgb), var(--bs-bg-opacity, 1)) !important;
}

.bg-gradient-custom {
    background: linear-gradient(135deg, var(--primary-color), #ff9d42);
}

.text-custom {
    color: rgba(var(--primary-rgb), var(--bs-text-opacity, 1)) !important;
}

/* General */



/* Navbar */
.navbar {
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.navbar-brand,
.nav-link {
    -webkit-transition: color 0.3s ease;
    -o-transition: color 0.3s ease;
    transition: color 0.3s ease;
}

.nav-link {
    color: white;
    font-weight: bold;
}

[dir="rtl"] .nav-link {
    font-weight: 300;
}

.nav-link.show,
.nav-link:active,
.nav-link:focus,
.nav-link:hover,
.active {
    color: var(--primary-color) !important;
}

.navbar-toggler {
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

/* Navbar */



/* Hero Section */
#home {
    background: url('../assets/images/hero-bg.webp') no-repeat center center;
    background-size: cover;
}

#home::before {
    content: '';
    background-color: black;
    opacity: 0.7;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 0;
}

/* Hero Section */

/* Features Section */
.hover-lift {
    -webkit-transition: -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
    transition: -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
    -o-transition: transform 0.3s ease, box-shadow 0.3s ease;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transition: transform 0.3s ease, box-shadow 0.3s ease, -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
}

.hover-lift:hover {
    -webkit-transform: translateY(-0.625rem);
    -ms-transform: translateY(-0.625rem);
    transform: translateY(-0.625rem);
    -webkit-box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

/* Features Section */

/* How It Works Section */
.step-circle {
    width: 6.25rem;
    height: 6.25rem;
    border-radius: 50%;
    background: -o-linear-gradient(315deg, var(--primary-color), #ff9d42);
    background: linear-gradient(135deg, var(--primary-color), #ff9d42);
    color: white;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-shadow: 0 0.625rem 1.875rem rgba(246, 137, 20, 0.3);
    box-shadow: 0 0.625rem 1.875rem rgba(246, 137, 20, 0.3);
    -webkit-transition: -webkit-transform 0.3s ease;
    transition: -webkit-transform 0.3s ease;
    -o-transition: transform 0.3s ease;
    transition: transform 0.3s ease;
    transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}

.step-circle:hover {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}

.step-badge {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 3.125rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* How It Works Section */


/* Contact Section */
[dir="rtl"] input[type="email"]::placeholder {
    text-align: right;
    direction: rtl;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 .25rem rgba(246, 137, 20, 0.25);
}

/* Contact Section */


/* Footer */
.quick-link {
    color: white;
    text-decoration: none;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    display: inline-block;
}

.quick-link:hover {
    color: var(--primary-color);
    -webkit-transform: translateX(0.625rem);
    -ms-transform: translateX(0.625rem);
    transform: translateX(0.625rem);
}

[dir="rtl"] .quick-link:hover {
    -webkit-transform: translateX(-0.625rem);
    -ms-transform: translateX(-0.625rem);
    transform: translateX(-0.625rem);
}

/* Footer */

/* Themes Section */
.bg-gradient {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #fff8f0 100%);
}

.theme-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, #ffffff 0%, #fffbf7 100%);
}

.theme-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 60px rgba(246, 137, 20, 0.2) !important;
}

.theme-icon-bg {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #ff9d42);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(246, 137, 20, 0.3);
    animation: pulse-icon 2s ease-in-out infinite;
}

@keyframes pulse-icon {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.qr-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.qr-container {
    transition: all 0.3s ease;
    border: 3px solid transparent;
    position: relative;
}

.theme-card:hover .qr-container {
    transform: scale(1.05);
}

/* Subtle border pulse animation */
.qr-pulse {
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 12px;
    border: 3px solid var(--primary-color);
    opacity: 0;
    animation: border-pulse 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes border-pulse {
    0% {
        opacity: 0;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.05);
    }

    100% {
        opacity: 0;
        transform: scale(1.1);
    }
}

.theme-badge-wrapper {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Ensure QR codes are centered on all screen sizes */
.theme-card .card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.qr-container svg {
    display: block;
    margin: 0 auto;
}

.bg-blur-circle {
    position: absolute;
    background: var(--primary-color);
    border-radius: 50%;
}

.bg-blur-circle-1 {
    top: 10%;
    left: 5%;
    width: 100px;
    height: 100px;
    filter: blur(40px);
}

.bg-blur-circle-2 {
    top: 60%;
    right: 10%;
    width: 150px;
    height: 150px;
    filter: blur(60px);
}