/* 
==========================================================================
   M2web Maroc - Main Stylesheet
   Version: 2.0
   Author: Expert Developer
========================================================================== 
*/

/* ==========================================================================
   1. Core Reset & Variables
   ========================================================================== */
:root {
    /* Brand Colors */
    --primary-color: #1E1028; /* Deep Dark Plum */
    --secondary-color: #F5A623; /* Golden Amber */
    --dark-color: #2D1B3D; /* Rich Dark Purple */
    --light-color: #F8F9FA; /* Crisp Light */
    --accent-white: #FFFFFF;
    
    /* Text Colors */
    --text-main: #333333;
    --text-muted: #6c757d;
    --text-light: rgba(255, 255, 255, 0.85);
    
    /* Gradients */
    --gradient-plum: linear-gradient(145deg, var(--primary-color) 0%, var(--dark-color) 100%);
    --gradient-amber: linear-gradient(135deg, var(--secondary-color) 0%, #e09612 100%);
    --gradient-green: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    
    /* Shadows */
    --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 60px rgba(30, 16, 40, 0.12);
    --shadow-amber: 0 8px 25px rgba(245, 166, 35, 0.25);
    --shadow-amber-glow: 0 8px 25px rgba(245, 166, 35, 0.4);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --transition-fast: all 0.2s ease-in-out;
    --transition-normal: all 0.3s ease;
    --transition-bounce: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: all 0.6s ease;
}

html {
    scroll-behavior: smooth;
    box-sizing: border-box;
    overflow-x: clip;
}

*, *::before, *::after {
    box-sizing: inherit;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--light-color);
    line-height: 1.6;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

::selection {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

::-moz-selection {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition-normal);
}

a:hover {
    color: #d18d1f;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ==========================================================================
   2. Utility Classes
   ========================================================================== */
.text-amber { color: var(--secondary-color) !important; }
.text-plum { color: var(--primary-color) !important; }
.bg-amber { background-color: var(--secondary-color) !important; }
.bg-plum { background-color: var(--primary-color) !important; }
.bg-light-soft { background-color: var(--light-color) !important; }

/* Buttons */
.btn {
    font-family: var(--font-body);
    border-radius: 8px;
    padding: 10px 22px;
    font-size: 0.94rem;
    font-weight: 600;
    transition: var(--transition-bounce);
    letter-spacing: 0.3px;
    border: none;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn:focus, .btn:active {
    outline: none;
    box-shadow: none;
}

.btn-amber {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    font-weight: 700;
}

.btn-amber:hover {
    background-color: #ffb842;
    color: var(--primary-color);
    box-shadow: var(--shadow-amber-glow);
    transform: translateY(-2px);
}

.btn-outline-amber {
    background-color: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
}

.btn-outline-amber:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    box-shadow: var(--shadow-amber-glow);
    transform: translateY(-2px);
}

.btn-plum {
    background-color: var(--primary-color);
    color: var(--accent-white);
}

.btn-plum:hover {
    background-color: var(--dark-color);
    color: var(--accent-white);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* Section Utilities */
.section-padding {
    padding: 4.5rem 0;
}

.section-title {
    font-size: clamp(1.65rem, 2.6vw, 2.25rem);
    font-weight: 800;
    position: relative;
    margin-bottom: 1.25rem;
    color: var(--primary-color);
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3.5px;
    background: var(--gradient-amber);
    margin-top: 12px;
    border-radius: 2px;
}

.section-title.text-center::after {
    margin: 12px auto 0;
}

.section-title.text-white {
    color: var(--accent-white);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 0.98rem;
    max-width: 660px;
    margin-bottom: 2.25rem;
}

.section-subtitle.text-center {
    margin-left: auto;
    margin-right: auto;
}

.section-divider {
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.05), transparent);
    margin: 2rem 0;
}

/* ==========================================================================
   3. Navbar (Premium Dark)
   ========================================================================== */
.header-container {
    max-width: 1540px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.navbar,
.navbar.scrolled {
    position: sticky;
    top: 0;
    background: rgba(30, 16, 40, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.4rem 0 !important;
    min-height: 62px !important;
    border-bottom: 1px solid rgba(245, 166, 35, 0.16);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    z-index: 1040;
    transition: none !important;
}

.navbar-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--accent-white) !important;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.5px;
}

.navbar-brand img {
    height: 38px;
    width: auto;
}

.navbar-brand .brand-accent {
    color: var(--secondary-color);
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.84) !important;
    font-weight: 500;
    font-size: 0.88rem;
    padding: 0.45rem 0.75rem !important;
    position: relative;
    display: inline-flex;
    align-items: center;
    white-space: nowrap !important;
    transition: color 0.25s ease, opacity 0.25s ease, transform 0.2s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2.5px;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #F5A623, #FFCA65);
    border-radius: 4px;
    transition: width 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.22s ease;
    opacity: 0;
    pointer-events: none;
}

.nav-link:hover {
    color: var(--secondary-color) !important;
}

.nav-link:hover::after {
    width: 75%;
    opacity: 1;
    box-shadow: 0 0 10px rgba(245, 166, 35, 0.55);
}

.nav-link.active {
    color: var(--secondary-color) !important;
    font-weight: 600;
}

.nav-link.active::after {
    width: 80%;
    opacity: 1;
    box-shadow: 0 0 12px rgba(245, 166, 35, 0.65);
}

.nav-link.active:hover {
    color: #FFC04D !important;
}

.nav-link.active:hover::after {
    width: 85%;
    opacity: 1;
    box-shadow: 0 0 16px rgba(245, 166, 35, 0.85);
}

@media (min-width: 992px) {
    .navbar-nav:hover .nav-link.active:not(:hover)::after {
        opacity: 0.35;
        width: 45%;
    }
    .navbar-nav:hover .nav-link.active:not(:hover) {
        color: rgba(255, 255, 255, 0.85) !important;
    }
}

/* Unified Navbar Action Buttons: lang-switcher, btn-nav-login, btn-nav-quote */
.lang-switcher .dropdown-toggle,
.btn-nav-login,
.btn-nav-quote {
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    box-sizing: border-box !important;
    display: inline-flex;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    border-radius: 8px !important;
    white-space: nowrap !important;
    letter-spacing: 0.2px;
    flex-shrink: 0 !important;
    vertical-align: middle !important;
    font-family: var(--font-body);
    text-decoration: none !important;
    cursor: pointer;
}

.btn-nav-login {
    gap: 0.45rem !important;
    padding: 0 1rem !important;
    font-size: 0.84rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1.5px solid var(--secondary-color) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.25s ease !important;
}

.btn-nav-login i {
    color: var(--secondary-color) !important;
    font-size: 0.95rem !important;
    line-height: 1 !important;
    transition: transform 0.2s ease, color 0.2s ease !important;
}

.btn-nav-login:hover {
    background: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    color: var(--primary-color) !important;
    box-shadow: 0 4px 16px rgba(245, 166, 35, 0.45) !important;
    transform: translateY(-1px);
}

.btn-nav-login:hover i {
    color: var(--primary-color) !important;
    transform: translateX(2px);
}

.btn-nav-quote {
    gap: 0.45rem !important;
    padding: 0 1.15rem !important;
    font-size: 0.84rem !important;
    font-weight: 700 !important;
    color: var(--primary-color) !important;
    background-color: var(--secondary-color) !important;
    border: 1.5px solid var(--secondary-color) !important;
    box-shadow: 0 2px 10px rgba(245, 166, 35, 0.2) !important;
    transition: all 0.25s ease !important;
}

.btn-nav-quote i {
    line-height: 1 !important;
    font-size: 0.95rem !important;
}

.btn-nav-quote:hover {
    background-color: #ffb842 !important;
    border-color: #ffb842 !important;
    color: var(--primary-color) !important;
    box-shadow: var(--shadow-amber-glow) !important;
    transform: translateY(-1px);
}

.navbar-toggler {
    border: 1px solid rgba(245, 166, 35, 0.5);
    border-radius: 6px;
    padding: 0.4rem 0.6rem;
    color: var(--secondary-color);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.25);
    outline: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28245, 166, 35, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Language Switcher */
.lang-switcher .dropdown-toggle {
    gap: 6px !important;
    padding: 0 0.85rem !important;
    font-size: 0.84rem !important;
    font-weight: 600 !important;
    color: #FFFFFF !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.22) !important;
    transition: all 0.2s ease !important;
}

.lang-switcher .dropdown-toggle img {
    vertical-align: middle;
    margin-top: -1px;
}

.lang-switcher .dropdown-toggle:hover,
.lang-switcher .dropdown-toggle:focus {
    background: rgba(245, 166, 35, 0.15) !important;
    border-color: rgba(245, 166, 35, 0.6) !important;
    color: var(--secondary-color) !important;
}

.lang-switcher .dropdown-menu {
    background-color: #1E1028;
    border: 1px solid rgba(245, 166, 35, 0.25);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
    border-radius: 10px;
    padding: 0.4rem;
    margin-top: 8px;
}

.lang-switcher .dropdown-item {
    color: rgba(255, 255, 255, 0.85);
    padding: 0.5rem 1.5rem;
    transition: var(--transition-fast);
}

.lang-switcher .dropdown-item:hover,
.lang-switcher .dropdown-item.active {
    background-color: rgba(245, 166, 35, 0.1);
    color: var(--secondary-color);
}

/* ==========================================================================
   4. Hero Section (Spectacular)
   ========================================================================== */
.hero-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(145deg, #1E1028 0%, #2D1B3D 50%, #1E1028 100%);
    position: relative;
    overflow: hidden;
    padding: 3.5rem 0 3.5rem;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 1;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: -20%;
    right: -15%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(245, 166, 35, 0.06) 0%, rgba(30, 16, 40, 0) 65%);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background-color: rgba(245, 166, 35, 0.12);
    color: var(--secondary-color);
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 1rem;
    border: 1px solid rgba(245, 166, 35, 0.28);
    backdrop-filter: blur(4px);
}

.hero-badge i {
    margin-right: 6px;
}

.hero-title {
    font-size: clamp(1.85rem, 3.2vw, 2.85rem);
    font-weight: 800;
    color: var(--accent-white);
    line-height: 1.2;
    margin-bottom: 1.1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
}

.hero-title .highlight {
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 6px;
    background-color: rgba(245, 166, 35, 0.3);
    z-index: -1;
    border-radius: 4px;
}

.hero-subtitle {
    font-size: clamp(0.92rem, 1.2vw, 1.05rem);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
    max-width: 540px;
    line-height: 1.6;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 10px 22px;
    font-size: 0.92rem;
}

.hero-image-wrapper {
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.hero-image-wrapper img {
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

.hero-float-icon {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--secondary-color);
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 3;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.float-icon-1 {
    top: 10%;
    right: 15%;
    animation: float 5s ease-in-out infinite alternate;
}

.float-icon-2 {
    bottom: 15%;
    left: -5%;
    animation: float 7s ease-in-out infinite alternate-reverse;
}

.float-icon-3 {
    top: 40%;
    right: -10%;
    animation: float 6s ease-in-out infinite 1s;
    background: var(--secondary-color);
    color: var(--primary-color);
}

/* ==========================================================================
   5. Stats Bar (Dark & Bold)
   ========================================================================== */
.stats-section {
    background-color: var(--primary-color);
    padding: 2.75rem 0;
    position: relative;
    z-index: 10;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-amber);
}

.stat-item {
    text-align: center;
    padding: 1rem;
    position: relative;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3vw, 2.75rem);
    font-weight: 800;
    color: var(--secondary-color);
    display: block;
    line-height: 1;
    margin-bottom: 0.35rem;
}

.stat-suffix {
    font-size: 0.6em;
    opacity: 0.8;
    vertical-align: top;
    margin-left: 2px;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 500;
    margin: 0;
}

.stat-divider {
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   6. Service Cards (Elevated with Icons)
   ========================================================================== */
.services-section {
    background-color: var(--light-color);
}

.service-card {
    background-color: var(--accent-white);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    transition: var(--transition-bounce);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--secondary-color);
    opacity: 0;
    transition: var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon-wrapper {
    width: 70px;
    height: 70px;
    background: var(--gradient-amber);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-amber);
    transition: var(--transition-normal);
}

.service-card:hover .service-icon-wrapper {
    transform: scale(1.05) rotate(5deg);
}

.service-icon-wrapper i {
    font-size: 1.8rem;
    color: var(--accent-white);
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-card .card-link {
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    margin-top: auto;
}

.service-card .card-link i {
    transition: transform 0.3s ease;
}

.service-card:hover .card-link i {
    transform: translateX(5px);
}

/* ==========================================================================
   7. Product Cards (E-commerce Style)
   ========================================================================== */
.products-section {
    background-color: #fff;
}

.product-card {
    background: var(--accent-white);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-color: rgba(245, 166, 35, 0.3);
}

.product-img-wrapper {
    position: relative;
    background-color: #f8f5f0;
    padding: 2rem;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-img-wrapper .placeholder-icon {
    font-size: 3.5rem;
    color: rgba(30, 16, 40, 0.15);
}

.product-img-wrapper img {
    max-height: 180px;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card:hover .product-img-wrapper img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    z-index: 2;
    box-shadow: var(--shadow-sm);
}

.product-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.product-title a {
    color: inherit;
}

.product-title a:hover {
    color: var(--secondary-color);
}

.product-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.product-price {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--primary-color);
    font-size: 1.2rem;
    margin: 0;
}

.product-availability {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #28a745;
    font-weight: 500;
}

.product-availability::before {
    content: '';
    width: 8px;
    height: 8px;
    background-color: #28a745;
    border-radius: 50%;
    display: inline-block;
}

/* ==========================================================================
   8. B2B Wholesale Banner (Impactful)
   ========================================================================== */
.b2b-banner {
    background: var(--gradient-amber);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    margin: 2.5rem 0;
    box-shadow: var(--shadow-amber);
}

.b2b-banner-container {
    padding: 0 15px;
}

.b2b-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.08),
        rgba(255, 255, 255, 0.08) 20px,
        transparent 20px,
        transparent 40px
    );
    z-index: 1;
}

.b2b-banner::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -20%;
    transform: translateY(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

.b2b-content {
    position: relative;
    z-index: 2;
}

.b2b-banner h2 {
    font-size: clamp(1.5rem, 2.8vw, 2.2rem);
    font-weight: 800;
    color: var(--accent-white);
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.b2b-banner p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.98rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.b2b-banner .btn {
    background-color: var(--primary-color);
    color: var(--accent-white);
    padding: 10px 26px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.94rem;
    border: none;
}

.b2b-banner .btn:hover {
    background-color: var(--dark-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 16, 40, 0.35);
}

.b2b-image {
    position: relative;
    z-index: 2;
    text-align: right;
}

.b2b-image img {
    max-height: 280px;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.2));
}

/* ==========================================================================
   9. Testimonials (Modern Cards)
   ========================================================================== */
.testimonial-section {
    background-color: #fff;
    padding: 3.75rem 0;
}

.testimonial-card {
    background-color: var(--light-color);
    border-radius: 16px;
    padding: 1.75rem;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.06);
    height: 100%;
    transition: var(--transition-normal);
}

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

.testimonial-card::before {
    content: '"';
    font-family: Georgia, serif;
    font-size: 3.5rem;
    color: var(--secondary-color);
    opacity: 0.15;
    position: absolute;
    top: 10px;
    left: 15px;
    line-height: 1;
}

.testimonial-stars {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.testimonial-content {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #444;
    font-style: italic;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
}

.testimonial-author {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 1.5rem;
}

.testimonial-author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(245, 166, 35, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--secondary-color);
    font-weight: 700;
}

.testimonial-author-info h6 {
    font-weight: 700;
    margin: 0;
    color: var(--primary-color);
}

.testimonial-author-info small {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ==========================================================================
   10. Partners Strip
   ========================================================================== */
.partners-section {
    padding: 3rem 0;
    background-color: var(--accent-white);
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.partner-logo {
    filter: grayscale(100%);
    opacity: 0.5;
    transition: var(--transition-normal);
    max-height: 55px;
    margin: 0 auto;
    display: block;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.partner-name {
    display: inline-block;
    padding: 8px 20px;
    background-color: var(--light-color);
    border-radius: 8px;
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition-normal);
    margin: 0.5rem;
}

.partner-name:hover {
    background-color: rgba(245, 166, 35, 0.1);
    color: var(--secondary-color);
}

/* ==========================================================================
   11. Blog Cards
   ========================================================================== */
.blog-section {
    background-color: var(--light-color);
}

.blog-card {
    background-color: var(--accent-white);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: var(--transition-bounce);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.blog-img-wrapper {
    position: relative;
    overflow: hidden;
}

.blog-card-img {
    height: 220px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.blog-category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: rgba(30, 16, 40, 0.9);
    color: var(--accent-white);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
    z-index: 2;
}

.blog-card-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.blog-meta i {
    color: var(--secondary-color);
    margin-right: 4px;
}

.blog-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-title a {
    color: var(--primary-color);
}

.blog-title a:hover {
    color: var(--secondary-color);
}

.blog-excerpt {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.blog-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 1rem;
}

.read-more {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.read-more i {
    transition: transform 0.3s;
}

.read-more:hover {
    color: var(--secondary-color);
}

.read-more:hover i {
    transform: translateX(5px);
}

/* ==========================================================================
   11.1 Blog Detail Page (Optimized Spacing & Typography)
   ========================================================================== */
.blog-detail-section {
    padding: 2.25rem 0 3.5rem;
    background: #ffffff;
}

.blog-detail-container {
    max-width: 820px;
    margin: 0 auto;
}

.blog-breadcrumb {
    margin-bottom: 1.25rem;
    font-size: 0.85rem;
}

.blog-breadcrumb .breadcrumb-item a {
    color: #64748b;
    transition: color 0.2s ease;
}

.blog-breadcrumb .breadcrumb-item a:hover {
    color: var(--secondary-color);
}

.blog-detail-header {
    margin-bottom: 1.5rem;
    text-align: center;
}

.blog-detail-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(245, 166, 35, 0.15);
    color: #d97706;
    border: 1px solid rgba(245, 166, 35, 0.35);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 9999px;
    margin-bottom: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-detail-title {
    font-family: var(--font-heading);
    font-size: clamp(1.65rem, 3.2vw, 2.35rem);
    font-weight: 800;
    line-height: 1.28;
    color: #1E1028;
    margin-bottom: 0.85rem;
    letter-spacing: -0.015em;
}

.blog-detail-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    color: #64748b;
    font-size: 0.88rem;
}

.blog-detail-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-detail-meta-item i {
    color: var(--secondary-color);
}

.blog-featured-img-wrap {
    margin-bottom: 1.75rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(30, 16, 40, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: #f8fafc;
}

.blog-featured-img {
    width: 100%;
    max-height: 440px;
    object-fit: cover;
    display: block;
}

/* Article Content & Typography */
.blog-content {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.78;
    color: #334155;
    word-break: break-word;
}

.blog-content > *:first-child {
    margin-top: 0 !important;
}

.blog-content p {
    margin-bottom: 1.1rem;
}

.blog-content h2 {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    color: #1E1028;
    margin-top: 1.85rem;
    margin-bottom: 0.65rem;
    border-left: 3.5px solid var(--secondary-color);
    padding-left: 12px;
    line-height: 1.35;
}

.blog-content h3 {
    font-family: var(--font-heading);
    font-size: 1.22rem;
    font-weight: 600;
    color: #1E1028;
    margin-top: 1.4rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.blog-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1E1028;
    margin-top: 1.15rem;
    margin-bottom: 0.4rem;
}

.blog-content ul,
.blog-content ol {
    margin-top: 0.25rem;
    margin-bottom: 1.15rem;
    padding-left: 1.5rem;
}

.blog-content li {
    margin-bottom: 0.4rem;
}

.blog-content strong,
.blog-content b {
    color: #0f172a;
    font-weight: 600;
}

.blog-content blockquote {
    border-left: 4px solid var(--secondary-color);
    background: rgba(30, 16, 40, 0.03);
    padding: 1rem 1.35rem;
    border-radius: 0 12px 12px 0;
    margin: 1.35rem 0;
    font-style: italic;
    color: #1E1028;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1.25rem auto;
    display: block;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.blog-content a {
    color: #d97706;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.blog-content a:hover {
    color: #b45309;
}

.blog-content table {
    width: 100%;
    margin: 1.25rem 0;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.blog-content th,
.blog-content td {
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
}

.blog-content th {
    background: #f8fafc;
    font-weight: 600;
    color: #1E1028;
}

/* RTL Blog Details */
html[dir='rtl'] .blog-content h2 {
    border-left: none;
    border-right: 3.5px solid var(--secondary-color);
    padding-left: 0;
    padding-right: 12px;
}

html[dir='rtl'] .blog-content blockquote {
    border-left: none;
    border-right: 4px solid var(--secondary-color);
    border-radius: 12px 0 0 12px;
}

html[dir='rtl'] .blog-content ul,
html[dir='rtl'] .blog-content ol {
    padding-left: 0;
    padding-right: 1.5rem;
}

/* Share & CTA Banner */
.blog-share-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1rem 1.25rem;
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.blog-share-buttons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-share {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    color: #475569;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-share:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-share.share-whatsapp:hover {
    background: #25D366;
    color: #ffffff;
    border-color: #25D366;
}

.btn-share.share-linkedin:hover {
    background: #0A66C2;
    color: #ffffff;
    border-color: #0A66C2;
}

.btn-share.share-x:hover {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
}

.btn-share.share-fb:hover {
    background: #1877F2;
    color: #ffffff;
    border-color: #1877F2;
}

.btn-share.share-copy:hover {
    background: var(--secondary-color);
    color: #1E1028;
    border-color: var(--secondary-color);
}

/* In-Article CTA Banner */
.blog-cta-banner {
    background: linear-gradient(135deg, #1E1028 0%, #2D1438 100%);
    border-radius: 16px;
    padding: 1.75rem 2rem;
    margin-top: 2.25rem;
    color: #ffffff;
    border: 1px solid rgba(245, 166, 35, 0.25);
    box-shadow: 0 10px 30px rgba(30, 16, 40, 0.15);
}

.blog-cta-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.35rem;
}

.blog-cta-text {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.92rem;
    margin-bottom: 0;
}

/* Related Posts Section */
.related-posts-section {
    padding: 2.5rem 0 3.25rem;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.related-post-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.related-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(30, 16, 40, 0.08);
    border-color: rgba(245, 166, 35, 0.4);
}

.related-post-img {
    height: 170px;
    width: 100%;
    object-fit: cover;
}

.related-post-body {
    padding: 1.15rem 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.related-post-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.5rem;
}

.related-post-title a {
    color: #1E1028;
    text-decoration: none;
    transition: color 0.2s ease;
}

.related-post-title a:hover {
    color: var(--secondary-color);
}

/* ==========================================================================
   12. Forms (Polished)
   ========================================================================== */
.form-control, .form-select {
    border-radius: 10px;
    padding: 12px 16px;
    border: 1.5px solid #dee2e6;
    font-size: 0.95rem;
    transition: var(--transition-normal);
    background-color: #fff;
    color: #495057;
}

.form-control:focus, .form-select:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.15);
    outline: none;
    background-color: #fff;
}

.form-control::placeholder {
    color: #adb5bd;
}

.form-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-bottom: 0.4rem;
}

.captcha-box {
    background-color: var(--light-color);
    border: 1.5px dashed rgba(245, 166, 35, 0.4);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.captcha-box label {
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    display: block;
}

.btn-submit {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 10px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition-normal);
    border: none;
    width: auto;
}

.btn-submit:hover {
    background-color: #e09612;
    box-shadow: var(--shadow-amber-glow);
    transform: translateY(-2px);
    color: var(--primary-color);
}

/* ==========================================================================
   13. Page Headers (Inner Pages) — Cinematic with BG support
   ========================================================================== */
.page-header {
    background: var(--gradient-plum);
    padding: 4rem 0 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
    min-height: 220px;
    display: flex;
    align-items: center;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 22px 22px;
    z-index: 1;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, rgba(30, 16, 40, 0.4), transparent);
    z-index: 1;
    pointer-events: none;
}

/* Background image layer */
.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-header-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.6);
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 16, 40, 0.82) 0%, rgba(45, 27, 61, 0.72) 50%, rgba(30, 16, 40, 0.85) 100%);
    z-index: 1;
}

.page-header-content,
.page-header > .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.page-header h1 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(1.85rem, 3.5vw, 2.6rem);
    color: var(--accent-white);
    margin-bottom: 0.75rem;
    text-shadow: 0 4px 25px rgba(0,0,0,0.3);
    letter-spacing: -0.01em;
}

.page-header .lead,
.page-header p:not(.breadcrumb-item) {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.05rem;
    max-width: 640px;
    margin: 0 auto;
}

.page-header .breadcrumb {
    justify-content: center;
    margin: 0;
    background: transparent;
    padding: 0;
}

.page-header .breadcrumb-item {
    font-size: 0.9rem;
    font-weight: 500;
}

.page-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease;
}

.page-header .breadcrumb-item a:hover {
    color: var(--secondary-color);
}

.page-header .breadcrumb-item.active {
    color: var(--secondary-color);
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   14. Contact Info Cards & Values (Inner Pages)
   ========================================================================== */
.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 12px;
    transition: var(--transition-normal);
    background-color: var(--accent-white);
    border: 1px solid rgba(0,0,0,0.05);
    margin-bottom: 1.5rem;
}

.contact-info-card:hover {
    background-color: rgba(245, 166, 35, 0.05);
    border-color: rgba(245, 166, 35, 0.2);
    transform: translateY(-3px);
}

.contact-icon-box {
    width: 50px;
    height: 50px;
    background: var(--gradient-amber);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-white);
    font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(245,166,35,0.3);
}

.contact-icon-box.whatsapp {
    background: var(--gradient-green);
    box-shadow: 0 4px 10px rgba(37,211,102,0.3);
}

.contact-details h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--primary-color);
}

.contact-details p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.95rem;
}

.contact-details a {
    color: var(--text-main);
}
.contact-details a:hover {
    color: var(--secondary-color);
}

/* Values Cards */
.value-card {
    background-color: var(--accent-white);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.value-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--secondary-color);
    transition: var(--transition-bounce);
}

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

.value-card:hover::after {
    width: 60%;
}

.value-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(245, 166, 35, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition-normal);
}

.value-card:hover .value-icon {
    background-color: var(--secondary-color);
    box-shadow: var(--shadow-amber);
    transform: scale(1.1) rotate(5deg);
}

.value-icon i {
    font-size: 2.2rem;
    color: var(--secondary-color);
    transition: var(--transition-normal);
}

.value-card:hover .value-icon i {
    color: var(--primary-color);
}

.value-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* ==========================================================================
   15. Footer (Rich & Dark)
   ========================================================================== */
.footer {
    background-color: var(--primary-color);
    color: rgba(255, 255, 255, 0.75);
    padding-top: 5rem;
    position: relative;
    font-size: 0.95rem;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-amber);
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-white);
    margin-bottom: 1.25rem;
    display: inline-block;
}

.footer-brand .accent {
    color: var(--secondary-color);
}

.footer-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-heading {
    color: var(--accent-white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    transition: var(--transition-normal);
    font-size: 0.95rem;
}

.footer-link::before {
    content: '';
    width: 0;
    height: 1.5px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.footer-link:hover {
    color: var(--secondary-color);
    padding-left: 8px;
}

.footer-link:hover::before {
    width: 15px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 1.25rem;
}

.footer-contact-icon {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.footer-contact-item:hover .footer-contact-icon {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.footer-contact-text {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.footer-contact-text a {
    color: inherit;
}

.footer-contact-text a:hover {
    color: var(--secondary-color);
}

.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 1.5rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--accent-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition-normal);
}

.social-icons a:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 5px 15px rgba(245, 166, 35, 0.3);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 0;
    margin-top: 3rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
}

/* ==========================================================================
   16. Widgets (WhatsApp & Back to Top)
   ========================================================================== */
.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--accent-white);
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition-bounce);
    animation: pulse-ring 2s infinite;
}

.whatsapp-widget:hover {
    transform: scale(1.12);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
    color: var(--accent-white);
    animation: none;
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background-color: var(--primary-color);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
    transform: translateX(10px);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 5px 0 5px 5px;
    border-style: solid;
    border-color: transparent transparent transparent var(--primary-color);
}

.whatsapp-widget:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

#backToTop {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    color: var(--accent-white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9998;
    border: none;
    transition: var(--transition-normal);
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#backToTop:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-amber);
    color: var(--primary-color);
}

/* ==========================================================================
   17. Animations
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse-ring {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-30px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    will-change: opacity, transform;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   18. RTL Support
   ========================================================================== */
html[dir='rtl'] {
    text-align: right;
}

html[dir='rtl'] .ms-auto {
    margin-right: auto !important;
    margin-left: 0 !important;
}

html[dir='rtl'] .me-auto {
    margin-left: auto !important;
    margin-right: 0 !important;
}

html[dir='rtl'] .float-end { float: left !important; }
html[dir='rtl'] .float-start { float: right !important; }
html[dir='rtl'] .text-start { text-align: right !important; }
html[dir='rtl'] .text-end { text-align: left !important; }
html[dir='rtl'] .ps-0 { padding-right: 0 !important; }
html[dir='rtl'] .pe-0 { padding-left: 0 !important; }
html[dir='rtl'] .ms-0 { margin-right: 0 !important; }
html[dir='rtl'] .me-0 { margin-left: 0 !important; }

html[dir='rtl'] .footer-heading::after {
    right: 0;
    left: auto;
}

html[dir='rtl'] .footer-link:hover {
    padding-right: 8px;
    padding-left: 0;
}

html[dir='rtl'] .service-card::before {
    right: 0;
    left: auto;
}

html[dir='rtl'] .service-card:hover .card-link i {
    transform: translateX(-5px);
}

html[dir='rtl'] .read-more:hover i {
    transform: translateX(-5px);
}

html[dir='rtl'] .stat-divider {
    right: auto;
    left: 0;
}

html[dir='rtl'] .whatsapp-tooltip {
    right: auto;
    left: 75px;
    transform: translateX(-10px);
}

html[dir='rtl'] .whatsapp-widget:hover .whatsapp-tooltip {
    transform: translateX(0);
}

html[dir='rtl'] .whatsapp-tooltip::after {
    right: auto;
    left: -5px;
    border-width: 5px 5px 5px 0;
    border-color: transparent var(--primary-color) transparent transparent;
}

/* RTL Carousel Navigation Fix */
html[dir='rtl'] .hero-dashboard-img-wrap .carousel-control-prev {
    left: auto;
    right: 8px;
}

html[dir='rtl'] .hero-dashboard-img-wrap .carousel-control-next {
    right: auto;
    left: 8px;
}

html[dir='rtl'] #screenshotCarousel .carousel-control-prev {
    left: auto;
    right: -10px;
}

html[dir='rtl'] #screenshotCarousel .carousel-control-next {
    right: auto;
    left: -10px;
}

html[dir='rtl'] #screenshotCarousel {
    direction: ltr;
}

html[dir='rtl'] #screenshotCarousel .carousel-indicators,
html[dir='rtl'] #screenshotCarousel .carousel-item p {
    direction: rtl;
}

/* RTL Mobile App Phone Mockup Fixes */
html[dir='rtl'] .app-phone-placeholder .phone-screen .text-start {
    text-align: right !important;
}

html[dir='rtl'] .app-phone-placeholder .phone-screen .me-1 {
    margin-right: 0 !important;
    margin-left: 0.25rem !important;
}

html[dir='rtl'] .app-phone-placeholder .phone-screen .me-2 {
    margin-right: 0 !important;
    margin-left: 0.5rem !important;
}

html[dir='rtl'] .hero-dashboard-img-wrap .carousel {
    direction: ltr;
}

html[dir='rtl'] .hero-dashboard-img-wrap .carousel-indicators {
    direction: rtl;
}

html[dir='rtl'] .telemetry-floating-card.card-truck {
    left: auto;
    right: -20px;
}

html[dir='rtl'] .telemetry-floating-card.card-fuel {
    right: auto;
    left: -25px;
}

html[dir='rtl'] .service-icon-badge {
    left: auto;
    right: 16px;
}

html[dir='rtl'] .product-badge {
    right: auto;
    left: 12px;
}

html[dir='rtl'] .blog-category-badge {
    left: auto;
    right: 15px;
}

html[dir='rtl'] .hero-badge i {
    margin-right: 0;
    margin-left: 6px;
}

/* RTL Price & Number Isolation — prevents Arabic number reversal */
html[dir='rtl'] .pricing-val-number,
html[dir='rtl'] .pricing-val-curr,
html[dir='rtl'] .pricing-val-row,
html[dir='rtl'] .product-price,
html[dir='rtl'] [dir='ltr'] {
    direction: ltr !important;
    unicode-bidi: isolate !important;
}

html[dir='rtl'] .pricing-val-curr {
    margin-left: 0.35rem !important;
    margin-right: 0 !important;
}

html[dir='rtl'] .pricing-box-container {
    text-align: center !important;
}

/* Mobile Nav Drawer Footer */
.mobile-nav-drawer-footer {
    width: 100%;
}

.mobile-nav-drawer-footer .mobile-action-buttons .btn {
    border-radius: 10px;
    font-size: 0.9rem;
}

/* ==========================================================================
   19. Responsive Media Queries
   ========================================================================== */
@media (min-width: 992px) and (max-width: 1199px) {
    .header-container {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
    .navbar-nav {
        gap: 0px !important;
    }
    .nav-link {
        font-size: 0.74rem !important;
        padding: 0.32rem 0.22rem !important;
    }
    .brand-title-wrap {
        display: none !important;
    }
    .lang-switcher .dropdown-toggle,
    .btn-nav-login,
    .btn-nav-quote {
        height: 34px !important;
        min-height: 34px !important;
        max-height: 34px !important;
        font-size: 0.72rem !important;
    }
    .btn-nav-login {
        padding: 0 0.55rem !important;
        gap: 0.25rem !important;
    }
    .btn-nav-quote {
        padding: 0 0.65rem !important;
        gap: 0.25rem !important;
    }
    .lang-switcher .dropdown-toggle {
        padding: 0 0.5rem !important;
        gap: 4px !important;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .header-container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    .navbar-nav {
        gap: 2px !important;
    }
    .nav-link {
        font-size: 0.81rem !important;
        padding: 0.38rem 0.38rem !important;
    }
    .lang-switcher .dropdown-toggle,
    .btn-nav-login,
    .btn-nav-quote {
        height: 36px !important;
        min-height: 36px !important;
        max-height: 36px !important;
        font-size: 0.78rem !important;
    }
    .btn-nav-login {
        padding: 0 0.75rem !important;
        gap: 0.35rem !important;
    }
    .btn-nav-quote {
        padding: 0 0.85rem !important;
        gap: 0.35rem !important;
    }
    .lang-switcher .dropdown-toggle {
        padding: 0 0.65rem !important;
        gap: 5px !important;
    }
}

@media (max-width: 1399px) {
    .b2b-image img { max-height: 260px; }
}

@media (max-width: 1199px) {
    .hero-title { font-size: clamp(1.75rem, 3.5vw, 2.4rem); }
    .hero-section { padding: 3rem 0; }
    .b2b-image img { max-height: 230px; }
}

@media (max-width: 991px) {
    .hero-section { min-height: auto; padding: 3rem 0 2.5rem; }
    .section-padding { padding: 3rem 0; }
    
    .navbar-collapse {
        background-color: var(--primary-color);
        padding: 1.25rem;
        border-radius: 0 0 16px 16px;
        margin-top: 0.75rem;
        box-shadow: var(--shadow-lg);
        border: 1px solid rgba(255,255,255,0.08);
        max-height: calc(100vh - 75px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .navbar-nav {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0 !important;
        width: 100%;
        text-align: center;
    }
    
    .nav-link {
        padding: 0.75rem 0.5rem !important;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        display: block;
        width: 100%;
        font-size: 0.92rem !important;
    }
    
    .nav-link::after { display: none; }
    
    .navbar .dropdown-menu {
        background: rgba(20, 10, 27, 0.95);
        border: 1px solid rgba(245, 166, 35, 0.2);
        box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
        margin: 0.25rem 0 0.5rem;
        padding: 0.4rem 0.6rem;
        border-radius: 10px;
    }

    .navbar .dropdown-item {
        padding: 0.6rem 0.8rem;
        font-size: 0.86rem;
        border-radius: 6px;
    }

    /* Strictly hide desktop action buttons on mobile */
    .btn-nav-login,
    .btn-nav-quote {
        display: none !important;
    }
    
    .btn-submit { width: 100%; text-align: center; }
    
    .stat-divider { display: none; }
    
    .b2b-banner { text-align: center; }
    .b2b-image { margin-top: 2rem; text-align: center; }
}

/* Mobile Drawer Language Strip & Actions */
.mobile-lang-strip {
    width: 100%;
}

.btn-mobile-lang {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.85);
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-mobile-lang:hover,
.btn-mobile-lang:focus {
    background: rgba(245, 166, 35, 0.18);
    border-color: rgba(245, 166, 35, 0.5) !important;
    color: #FFFFFF;
}

.mobile-lang-strip .btn-amber {
    background-color: var(--secondary-color) !important;
    color: var(--primary-color) !important;
    border-color: var(--secondary-color) !important;
    font-size: 0.82rem;
    border-radius: 8px;
}

.mobile-lang-text {
    font-size: 0.8rem;
    font-weight: 600;
}

@media (max-width: 767px) {
    .hero-section { 
        min-height: auto; 
        padding: 3.5rem 0 2.5rem; 
        text-align: center;
    }
    
    .hero-content { margin-bottom: 2.5rem; }
    
    .hero-buttons { justify-content: center; }
    
    .float-icon-1, .float-icon-2, .float-icon-3 { display: none; }
    
    .stats-section .row > div { margin-bottom: 1.5rem; }
    .stats-section .row > div:last-child { margin-bottom: 0; }
    
    .section-padding { padding: 2.5rem 0; }
    
    .page-header { padding: 2.5rem 0 2rem; min-height: 180px; }
    
    .whatsapp-widget {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }
    
    #backToTop {
        width: 40px;
        height: 40px;
        bottom: 80px;
        right: 20px;
    }
    
    .footer { padding-top: 3rem; }
    .footer-col { margin-bottom: 2.5rem; }
}

@media (max-width: 575px) {
    .hero-title { font-size: 2rem; }
    .section-title { font-size: 1.8rem; }
    
    .service-card, .product-card, .value-card, .blog-card {
        padding: 1.5rem;
    }
    
    .btn { width: 100%; display: flex; justify-content: center; }
    
    .testimonial-card { padding: 1.5rem; }
}

/* ==========================================================================
   17. Enterprise Topbar & Brand Enhancement
   ========================================================================== */
.topbar {
    background: #140a1b;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.73rem;
    color: rgba(255, 255, 255, 0.7);
    padding: 0.3rem 0;
    position: relative;
    z-index: 1050;
    white-space: nowrap;
    overflow: hidden;
}

.topbar .d-flex.justify-content-between {
    gap: 1rem;
}

.topbar .d-flex.align-items-center.gap-4 {
    gap: 1rem !important;
}

.topbar .d-flex.align-items-center.gap-3 {
    gap: 0.6rem !important;
}

.topbar a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition-fast);
}

.topbar a:hover {
    color: var(--secondary-color);
}

.topbar-badge {
    background: rgba(245, 166, 35, 0.18);
    color: var(--secondary-color);
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(245, 166, 35, 0.3);
}

.brand-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    flex-shrink: 0;
    margin-right: 1rem;
}

.brand-logo-img,
.navbar.scrolled .brand-logo-img {
    height: 46px !important;
    max-height: 46px !important;
    width: auto;
    object-fit: contain;
    border-radius: 6px;
    transition: transform 0.25s ease, filter 0.25s ease;
}

@media (max-width: 768px) {
    .brand-logo-img,
    .navbar.scrolled .brand-logo-img {
        height: 40px !important;
        max-height: 40px !important;
    }
}

.brand-logo-wrapper:hover .brand-logo-img {
    transform: scale(1.04);
    filter: drop-shadow(0 2px 10px rgba(245, 166, 35, 0.45));
}

.brand-icon-box {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #2D1B3D 0%, #170b20 100%);
    border: 1.5px solid var(--secondary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(245, 166, 35, 0.3);
    flex-shrink: 0;
}

.brand-title-wrap {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-title-main {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--accent-white);
    letter-spacing: 0.5px;
}

.brand-title-main .accent {
    color: var(--secondary-color);
}

.brand-title-sub {
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--secondary-color);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 1px;
}

.nav-pro-badge {
    background: linear-gradient(135deg, var(--secondary-color), #e09612);
    color: #1E1028;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 4px;
    margin-left: 5px;
    vertical-align: middle;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   18. Hero Live Dashboard & Telemetry Overlays
   ========================================================================== */
.hero-dashboard-frame {
    background: rgba(30, 16, 40, 0.88);
    border: 1px solid rgba(245, 166, 35, 0.35);
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(245, 166, 35, 0.12);
    backdrop-filter: blur(20px);
    position: relative;
    max-width: 520px;
    margin: 0 auto;
}

.hero-dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 10px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 8px;
}

.hero-mac-dots {
    display: flex;
    gap: 5px;
}

.hero-mac-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.hero-mac-dot.red { background: #ff5f56; }
.hero-mac-dot.yellow { background: #ffbd2e; }
.hero-mac-dot.green { background: #27c93f; }

.hero-dashboard-title {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.hero-dashboard-img-wrap {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.hero-dashboard-img-wrap img {
    width: 100%;
    max-height: 290px;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

.hero-map-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(30, 16, 40, 0.2) 0%, rgba(30, 16, 40, 0.8) 100%);
    pointer-events: none;
}

.telemetry-floating-card {
    position: absolute;
    background: rgba(18, 9, 25, 0.95);
    border: 1px solid rgba(245, 166, 35, 0.4);
    border-radius: 14px;
    padding: 12px 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    z-index: 10;
    transition: var(--transition-bounce);
}

.telemetry-floating-card:hover {
    transform: scale(1.05);
    border-color: var(--secondary-color);
}

.telemetry-floating-card.card-truck {
    bottom: -20px;
    left: -20px;
    animation: float 6s ease-in-out infinite;
}

.telemetry-floating-card.card-fuel {
    top: 25px;
    right: -25px;
    animation: float 5s ease-in-out infinite 1s;
}

.telemetry-live-dot {
    width: 9px;
    height: 9px;
    background-color: #28a745;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px #28a745;
    animation: live-pulse 1.8s infinite;
}

@keyframes live-pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 9px rgba(40, 167, 69, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(40, 167, 69, 0); }
}

/* ==========================================================================
   19. Photo-Enriched Cards for Services & Products
   ========================================================================== */
.service-card-photo {
    background-color: var(--accent-white);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: var(--transition-bounce);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.service-card-photo:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(30, 16, 40, 0.12);
    border-color: rgba(245, 166, 35, 0.4);
}

.service-photo-wrap {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.service-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card-photo:hover .service-photo-wrap img {
    transform: scale(1.08);
}

.service-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(30, 16, 40, 0.85) 100%);
}

.service-icon-badge {
    position: absolute;
    bottom: 12px;
    left: 16px;
    width: 44px;
    height: 44px;
    background: var(--gradient-amber);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.3rem;
    box-shadow: 0 4px 12px rgba(245, 166, 35, 0.4);
    z-index: 2;
}

.service-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-photo-card {
    background: var(--accent-white);
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: var(--transition-bounce);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.product-photo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(30, 16, 40, 0.12);
    border-color: rgba(245, 166, 35, 0.4);
}

.product-photo-wrap {
    height: 220px;
    background: #fbfbfd;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.product-photo-wrap img {
    max-height: 100%;
    max-width: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.5s ease;
}

.product-photo-card:hover .product-photo-wrap img {
    transform: scale(1.06);
}

.product-spec-pill {
    background: #f0edf3;
    color: var(--primary-color);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-block;
}

.pillar-card {
    background: #ffffff;
    border: 1px solid rgba(45, 27, 61, 0.09);
    border-radius: 16px;
    padding: 2.25rem 1.75rem 2rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    text-decoration: none !important;
    color: inherit !important;
    cursor: pointer;
    box-shadow: 0 6px 22px rgba(45, 27, 61, 0.05);
    position: relative;
    overflow: hidden;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-amber);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pillar-card:hover {
    border-color: var(--secondary-color) !important;
    box-shadow: 0 16px 36px rgba(45, 27, 61, 0.12) !important;
    transform: translateY(-6px);
    color: inherit !important;
}

.pillar-card:hover::before {
    opacity: 1;
}

.pillar-card h4 {
    color: var(--primary-color);
    font-size: 1.15rem;
    font-weight: 700;
    transition: color 0.25s ease;
}

.pillar-card:hover h4 {
    color: var(--secondary-color);
}

.pillar-link {
    margin-top: auto;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.2s ease, color 0.2s ease;
}

.pillar-card:hover .pillar-link {
    color: #d48b13;
}

.pillar-card:hover .pillar-link i {
    transform: translateX(4px);
    transition: transform 0.2s ease;
}

.pillar-icon {
    width: 68px;
    height: 68px;
    background: rgba(245, 166, 35, 0.12);
    border: 1px solid rgba(245, 166, 35, 0.25);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin: 0 auto 1.5rem;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.pillar-card:hover .pillar-icon {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--primary-color);
    transform: scale(1.05);
}

.testimonial-avatar-img {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--secondary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.partner-card-box {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 14px;
    padding: 1.25rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.partner-card-box:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 8px 25px rgba(245, 166, 35, 0.15);
    transform: translateY(-3px);
}

.partner-card-box img {
    max-height: 48px;
    max-width: 180px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition-normal);
}

.partner-card-box:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* ===== 20. PROMOTIONS CARDS ===== */
.promo-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.promo-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(245, 166, 35, 0.18);
    border-color: var(--secondary-color);
}

.promo-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 3px 12px rgba(231, 76, 60, 0.35);
    margin-bottom: 0.75rem;
}

.promo-image-wrap {
    height: 180px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), #2d1a3f);
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.promo-card:hover .promo-image-wrap img {
    transform: scale(1.08);
}

.promo-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.promo-features {
    font-size: 0.85rem;
}

.promo-features li {
    padding: 3px 0;
    color: #555;
}

.promo-pricing {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.promo-original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9rem;
}

.promo-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.promo-validity {
    font-weight: 600;
}

/* ===== 21. NAVBAR DROPDOWN ===== */
.navbar .dropdown-menu {
    background: var(--primary-color);
    border: 1px solid rgba(245, 166, 35, 0.15);
    border-radius: 12px;
    padding: 8px;
    min-width: 240px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    margin-top: 8px;
}

.navbar .dropdown-item {
    color: rgba(255, 255, 255, 0.85);
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
    background: rgba(245, 166, 35, 0.15);
    color: var(--secondary-color);
    transform: translateX(4px);
}

.navbar .dropdown-item i {
    color: var(--secondary-color);
    opacity: 0.7;
    transition: opacity 0.2s;
}

.navbar .dropdown-item:hover i {
    opacity: 1;
}

.nav-pro-badge.bg-danger {
    background: #e74c3c !important;
    font-size: 0.6rem;
}

/* ===== 22. HERO CAROUSEL ===== */
.hero-dashboard-img-wrap .carousel {
    border-radius: 0;
}

.hero-dashboard-img-wrap .carousel-item a {
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: block;
}

.hero-dashboard-img-wrap .carousel-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.35s ease;
}

.hero-dashboard-img-wrap .carousel-item a:hover img {
    transform: scale(1.02);
}

.hero-dashboard-img-wrap .carousel-indicators {
    margin-bottom: 8px;
}

.hero-dashboard-img-wrap .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    margin: 0 4px;
}

.hero-dashboard-img-wrap .carousel-indicators button.active {
    background: var(--secondary-color);
    width: 24px;
    border-radius: 5px;
}

.hero-dashboard-img-wrap .carousel-control-prev,
.hero-dashboard-img-wrap .carousel-control-next {
    width: 32px;
    height: 32px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    opacity: 0.7;
    transition: opacity 0.3s ease, background 0.3s ease;
}

.hero-dashboard-frame:hover .carousel-control-prev,
.hero-dashboard-frame:hover .carousel-control-next {
    opacity: 1;
    background: rgba(0, 0, 0, 0.6);
}

.hero-dashboard-img-wrap .carousel-control-prev {
    left: 8px;
}

.hero-dashboard-img-wrap .carousel-control-next {
    right: 8px;
}

.hero-dashboard-img-wrap .carousel-control-prev-icon,
.hero-dashboard-img-wrap .carousel-control-next-icon {
    width: 14px;
    height: 14px;
}

/* ===== 23. RESELLER & PLATFORM PAGES ===== */
.tier-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-bounce);
    display: flex;
    flex-direction: column;
}

.tier-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(30, 16, 40, 0.12);
    border-color: rgba(245, 166, 35, 0.2);
}

.tier-card.featured {
    border: 2px solid var(--secondary-color);
    box-shadow: 0 10px 40px rgba(245, 166, 35, 0.15);
    position: relative;
    overflow: visible;
}

.tier-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-amber);
    border-radius: 16px 16px 0 0;
}

.tier-card .tier-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.benefit-item:last-child {
    border-bottom: none;
}

.benefit-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.platform-feature-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
    transition: var(--transition-normal);
    height: 100%;
}

.platform-feature-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--secondary-color);
    transform: translateY(-4px);
}

.platform-feature-card i {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
    display: block;
}

.option-card {
    background: #fff;
    border: 2px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 1.5rem;
    transition: var(--transition-normal);
    height: 100%;
}

.option-card:hover {
    border-color: var(--secondary-color);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(245, 166, 35, 0.12);
}

.option-card .option-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* ===== 24. MOBILE APP PAGE ===== */
.app-phone-placeholder .phone-frame {
    width: 280px;
    margin: 0 auto;
    background: linear-gradient(145deg, #2d1a3f, #1a0a2e);
    border-radius: 36px;
    padding: 12px;
    border: 3px solid rgba(245, 166, 35, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255,255,255,0.1);
}

.app-phone-placeholder .phone-notch {
    width: 120px;
    height: 24px;
    background: #1a0a2e;
    border-radius: 0 0 16px 16px;
    margin: 0 auto 12px;
}

.app-phone-placeholder .phone-screen {
    background: linear-gradient(180deg, #1a0a2e 0%, #0d0517 100%);
    border-radius: 24px;
    min-height: 400px;
    overflow: hidden;
}

.app-plan-pricing .price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

/* ===== 25. HERO VIDEO/IMAGE BACKGROUND ===== */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-bg-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-media video,
.hero-bg-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(30, 16, 40, var(--hero-overlay, 0.75)) 0%,
        rgba(45, 27, 61, var(--hero-overlay, 0.65)) 50%,
        rgba(30, 16, 40, var(--hero-overlay, 0.8)) 100%
    );
    z-index: 1;
}

.hero-section .hero-content {
    position: relative;
    z-index: 2;
}

/* ===== 26. GLOBAL STYLE IMPROVEMENTS ===== */

/* Glass card effect */
.glass-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-bounce);
    padding: 1.75rem;
}

.glass-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(245, 166, 35, 0.15);
}

/* Animated glow border */
.glow-border {
    position: relative;
}

.glow-border::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, transparent, rgba(245, 166, 35, 0.3), transparent, rgba(245, 166, 35, 0.1));
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.glow-border:hover::after {
    opacity: 1;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(245, 166, 35, 0.4); }
    50%      { box-shadow: 0 0 20px 5px rgba(245, 166, 35, 0.2); }
}

@keyframes shimmer {
    0%   { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.animate-fade-in-up   { animation: fadeInUp 0.6s ease-out forwards; }
.animate-fade-in-left { animation: fadeInLeft 0.6s ease-out forwards; }
.animate-fade-in-right{ animation: fadeInRight 0.6s ease-out forwards; }

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, var(--secondary-color), #FFD700, var(--secondary-color));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Better form inputs */
.form-control,
.form-select {
    border-radius: 10px;
    border: 1.5px solid rgba(0,0,0,0.1);
    padding: 0.65rem 1rem;
    font-size: 0.95rem;
    transition: var(--transition-normal);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.12);
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: var(--secondary-color);
}

/* Better scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dark-color);
}

/* Stat item hover */
.stat-item {
    transition: var(--transition-bounce);
}

.stat-item:hover {
    transform: scale(1.05);
}

.stat-item:hover .stat-number {
    animation: pulseGlow 1.5s infinite;
}

/* Improved outline plum button */
.btn-outline-plum {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
}

.btn-outline-plum:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Badge styles */
.badge-amber {
    background: var(--gradient-amber);
    color: var(--primary-color);
    font-weight: 700;
    padding: 0.4em 0.9em;
    border-radius: 50px;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

/* Divider with icon */
.divider-icon {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
}

.divider-icon::before,
.divider-icon::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.1), transparent);
}

.divider-icon i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* Section separator wave */
.section-wave {
    position: relative;
    margin-top: -1px;
}

.section-wave svg {
    display: block;
    width: 100%;
    height: auto;
}

/* Shimmer loading effect for images */
.img-shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* Better link underline effect */
.hover-underline {
    position: relative;
    display: inline-block;
}

.hover-underline::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.hover-underline:hover::after {
    width: 100%;
}

/* ==========================================================================
   26. Screenshot Slider with Hero Phone Mockup
   ========================================================================== */
#screenshotCarousel {
    position: relative;
    padding: 0 45px;
}

#screenshotCarousel .carousel-control-prev,
#screenshotCarousel .carousel-control-next {
    width: 44px;
    height: 44px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(45, 27, 61, 0.85);
    border: 1px solid rgba(245, 166, 35, 0.4);
    border-radius: 50%;
    opacity: 0.85;
    transition: all 0.25s ease;
}

#screenshotCarousel .carousel-control-prev:hover,
#screenshotCarousel .carousel-control-next:hover {
    background: var(--secondary-color);
    opacity: 1;
    color: #1E1028;
    transform: translateY(-50%) scale(1.1);
}

#screenshotCarousel .carousel-control-prev {
    left: -10px;
}

#screenshotCarousel .carousel-control-next {
    right: -10px;
}

#screenshotCarousel .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.35);
    border: none;
    margin: 0 4px;
    transition: all 0.3s ease;
}

#screenshotCarousel .carousel-indicators .active {
    background-color: var(--secondary-color);
    width: 24px;
    border-radius: 6px;
}

@media (max-width: 575px) {
    #screenshotCarousel {
        padding: 0 25px;
    }
    #screenshotCarousel .carousel-control-prev,
    #screenshotCarousel .carousel-control-next {
        width: 36px;
        height: 36px;
    }
    #screenshotCarousel .carousel-control-prev {
        left: -5px;
    }
    #screenshotCarousel .carousel-control-next {
        right: -5px;
    }
    html[dir='rtl'] #screenshotCarousel .carousel-control-prev {
        left: auto;
        right: -5px;
    }
    html[dir='rtl'] #screenshotCarousel .carousel-control-next {
        right: auto;
        left: -5px;
    }
}

/* ==========================================================================
   26. About Redirection Hub & Ecosystem Cards
   ========================================================================== */
.hub-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 16px;
    padding: 2.25rem 1.75rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none !important;
    color: inherit !important;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.hub-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hub-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 40px rgba(45, 27, 61, 0.12);
    border-color: rgba(245, 166, 35, 0.4);
    color: inherit !important;
}

.hub-card:hover::before {
    opacity: 1;
}

.hub-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(245, 166, 35, 0.12);
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
}

.hub-card:hover .hub-card-icon {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: scale(1.08);
}

.hub-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    transition: color 0.25s ease;
}

.hub-card:hover .hub-card-title {
    color: var(--secondary-color);
}

.hub-card-desc {
    font-size: 0.92rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.hub-card-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary-color);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: auto;
    transition: gap 0.2s ease, color 0.2s ease;
}

.hub-card:hover .hub-card-link {
    gap: 0.75rem;
    color: #d48b13;
}

/* ==========================================================================
   27. Platform & Server Pricing Enhancements
   ========================================================================== */
.platform-window-mockup {
    background: #ffffff;
    border: 1px solid rgba(45, 27, 61, 0.12) !important;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.platform-window-mockup:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(45, 27, 61, 0.16) !important;
}

.platform-window-header {
    background: linear-gradient(180deg, #f8f9fa 0%, #eceef1 100%);
}

.window-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.pricing-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 2.25rem 1.75rem 2rem;
    border: 1px solid rgba(45, 27, 61, 0.08);
    box-shadow: 0 6px 24px rgba(45, 27, 61, 0.05);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(45, 27, 61, 0.12);
    border-color: rgba(245, 166, 35, 0.3);
}

.pricing-card.featured {
    border: 2px solid var(--secondary-color) !important;
    box-shadow: 0 16px 45px rgba(245, 166, 35, 0.18) !important;
    position: relative;
    overflow: hidden;
}

.pricing-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-amber);
}

.pricing-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
    background: #f4f2f6;
    color: var(--primary-color);
    border: 1px solid rgba(45, 27, 61, 0.08);
}

.pricing-badge.popular {
    background: var(--gradient-amber) !important;
    color: var(--primary-color) !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(245, 166, 35, 0.3);
}

.pricing-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    margin-bottom: 1rem;
    transition: transform 0.25s ease;
}

.pricing-card:hover .pricing-icon {
    transform: scale(1.08);
}

.pricing-icon.icon-light {
    background: rgba(45, 27, 61, 0.05);
    color: var(--primary-color);
    border: 1px solid rgba(45, 27, 61, 0.08);
}

.pricing-icon.icon-amber {
    background: var(--secondary-color);
    color: var(--primary-color);
    box-shadow: 0 4px 14px rgba(245, 166, 35, 0.35);
}

.pricing-card-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.35rem;
}

.pricing-card-desc {
    font-size: 0.84rem;
    color: #6c757d;
    min-height: 42px;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.pricing-price-box {
    background: #fbf9fc;
    border: 1px solid rgba(45, 27, 61, 0.06);
    border-radius: 12px;
    padding: 0.95rem 0.75rem;
    text-align: center;
    margin-bottom: 1.35rem;
}

.pricing-price-val {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.pricing-price-val.amber {
    color: #e59312;
}

.pricing-price-currency {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-left: 0.25rem;
}

.pricing-price-period {
    font-size: 0.78rem;
    color: #7a7a7a;
    margin-top: 0.35rem;
    line-height: 1.25;
}

.pricing-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.85rem;
    color: #3e3e3e;
    margin-bottom: 0.65rem;
    line-height: 1.45;
}

.pricing-feature-item i {
    font-size: 0.95rem;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Fallback for legacy tier-card classes */
.platform-price-box {
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.platform-price-val {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.1;
}

.platform-price-currency {
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-left: 0.25rem;
}

.platform-price-period {
    display: block;
    font-size: 0.8rem;
    color: #888888;
    margin-top: 0.25rem;
}

.platform-tier-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

/* Modern Structured Pricing Grid Cards */
.pricing-grid-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 18px;
    padding: 2.25rem 1.75rem 2rem;
    box-shadow: 0 10px 30px -5px rgba(30, 16, 40, 0.06), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}
.pricing-grid-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(30, 16, 40, 0.12);
    border-color: rgba(245, 166, 35, 0.45);
}
.pricing-grid-card.featured-card {
    border: 2.5px solid #F5A623;
    box-shadow: 0 16px 45px rgba(245, 166, 35, 0.22);
    background: #ffffff;
}
.pricing-grid-card.featured-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #F5A623 0%, #FFC04D 100%);
    border-radius: 18px 18px 0 0;
}
.pricing-card-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: #f8fafc;
    color: #1E1028;
    border: 1.5px solid #e2e8f0;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}
.pricing-grid-card:hover .pricing-card-icon-wrap {
    transform: scale(1.08);
}
.pricing-card-icon-wrap.amber-icon {
    background: #F5A623 !important;
    color: #1E1028 !important;
    border-color: #F5A623 !important;
    box-shadow: 0 4px 14px rgba(245, 166, 35, 0.4) !important;
}
.pricing-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}
.pricing-pill-badge.popular-badge {
    background: linear-gradient(135deg, #F5A623, #FFCA65) !important;
    color: #1E1028 !important;
    font-weight: 800 !important;
    border: none !important;
    box-shadow: 0 2px 10px rgba(245, 166, 35, 0.35);
}
.pricing-title-text {
    font-size: 1.45rem;
    font-weight: 800;
    color: #1E1028;
    margin-top: 1rem;
    margin-bottom: 0.35rem;
}
.pricing-desc-text {
    font-size: 0.86rem;
    color: #64748b;
    min-height: 44px;
    display: flex;
    align-items: center;
    line-height: 1.4;
    margin-bottom: 1.15rem;
}
.pricing-box-container {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.15rem 0.85rem;
    text-align: center;
    margin-bottom: 1.35rem;
}
.pricing-grid-card.featured-card .pricing-box-container {
    background: rgba(245, 166, 35, 0.08);
    border-color: rgba(245, 166, 35, 0.35);
}
.pricing-val-number {
    font-size: 2.45rem;
    font-weight: 900;
    color: #1E1028;
    line-height: 1;
    letter-spacing: -0.5px;
}
.pricing-val-curr {
    font-size: 1.05rem;
    font-weight: 800;
    color: #F5A623;
    margin-left: 0.25rem;
}
.pricing-period-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    margin-top: 0.4rem;
    line-height: 1.25;
}
.pricing-line-sep {
    height: 1px;
    background: #e2e8f0;
    width: 100%;
    margin: 0 0 1.25rem 0;
    border: none;
}
.pricing-feature-row {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.86rem;
    color: #334155;
    margin-bottom: 0.75rem;
    line-height: 1.45;
}
.pricing-feature-row i {
    font-size: 1rem;
    color: #F5A623;
    margin-top: 1px;
    flex-shrink: 0;
}
.pricing-cta-btn {
    height: 46px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    text-decoration: none;
    transition: all 0.25s ease;
    margin-top: auto;
    box-sizing: border-box;
}
.pricing-cta-outline {
    border: 2px solid #1E1028;
    color: #1E1028;
    background: transparent;
}
.pricing-cta-outline:hover {
    background: #1E1028;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(30, 16, 40, 0.25);
}
.pricing-cta-amber {
    border: 2px solid #F5A623;
    background: #F5A623;
    color: #1E1028;
    box-shadow: 0 4px 16px rgba(245, 166, 35, 0.4);
}
.pricing-cta-amber:hover {
    background: #ffb842;
    border-color: #ffb842;
    color: #1E1028;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(245, 166, 35, 0.5);
}
