@import "../../fonts/tajawal/stylesheet.css";

* {
    font-family: 'Tajawal', sans-serif;
}


html {
    scroll-padding-top: 100px; /* Adjust the value for your needs */
}


/* ===== GENERAL STYLES ===== */
:root {
    --primary: #1d8b9e; /* Alsaqi teal primary */
    --primary-dark: #146d7c; /* Darker teal for depth */
    --secondary: #43bdce; /* Alsaqi lighter teal color */
    --secondary-light: #a1e4ec; /* Lighter teal for accents */
    --dark: #272e33; /* Dark slate for text */
    --light: #f0f7f9;
    --white: #ffffff;
    --gray: #6c757d;
    --success: #2ecc71;
    --warning: #f39c12;
    --danger: #e74c3c;
    --body-bg: #f8fcfd; /* Light cool background */
    --card-shadow: 0 10px 30px rgba(29, 139, 158, 0.08); /* Shadow with primary teal color */
    --section-padding: 100px 0;
    --transition-fast: all 0.3s ease;
    --transition-medium: all 0.5s ease;
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Droid Arabic Kufi', 'Cairo', 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--body-bg);
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

/* Arabic font for RTL language */
html[lang="ar"] body {
    font-family: 'Droid Arabic Kufi', 'Cairo', 'Tahoma', sans-serif;
}

/* ===== HEADER & NAVIGATION ===== */
.header-area {
    width: 100%;
    z-index: 999;
}

.navbar {
    transition: var(--transition-fast);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    -webkit-backdrop-filter: blur(10px); /* Safari support */
    backdrop-filter: blur(10px);
}

.navbar-light {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: none;
}

.navbar-scrolled {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 15px 0;
    background-color: rgba(255, 255, 255, 0.98);
}

.navbar-brand {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1001; /* Ensure it's above the collapse */
}

.navbar-brand .logo-img {
    height: 55px;
    width: auto;
    margin-right: 10px;
    display: inline-block;
}

html[dir="rtl"] .navbar-brand .logo-img {
    margin-right: 0;
    margin-left: 10px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
    padding: 10px 20px;
    transition: var(--transition-fast);
    position: relative;
    font-weight: bold;
}

.navbar-light .navbar-nav .nav-link:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: all 0.3s ease-in-out;
    transform: translateX(-50%);
    opacity: 0;
}

.navbar-light .navbar-nav .nav-link:hover:before,
.navbar-light .navbar-nav .nav-link.active:before {
    width: 30%;
    opacity: 1;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

.btn-lang,
#language-toggle,
#language-toggle-ar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 30px;
    padding: 8px 16px;
    font-weight: 500;
    transition: var(--transition-fast);
    background-color: transparent;
    white-space: nowrap;
    min-width: 90px;
}

.btn-lang {
    border: 1px solid var(--primary);
    color: var(--primary);
}

#language-toggle,
#language-toggle-ar {
    border: 1px solid var(--secondary);
    color: var(--secondary);
    position: relative;
}

#language-toggle:hover,
#language-toggle-ar:hover,
.btn-lang:hover {
    background-color: var(--secondary);
    color: var(--white);
    transform: translateY(-2px);
}

.download-nav-btn {
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    color: white !important;
    border-radius: 30px;
    font-weight: 500;
    margin-left: 15px;
    box-shadow: 0 8px 15px rgba(67, 189, 206, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px;
}

html[dir="rtl"] .download-nav-btn {
    margin-left: 0;
    margin-right: 15px;
}

.download-nav-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(29, 139, 158, 0.3);
    transition: all ease 0.5s;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 180px 0 120px;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    z-index: 1;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(67, 189, 206, 0.15) 0%, rgba(0, 0, 0, 0) 70%),
    radial-gradient(circle at 30% 70%, rgba(20, 109, 124, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero .subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 0;
}

.hero .display-4 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero .lead {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 90%;
}

.hero-btns {
    display: flex;
    align-items: center;
    margin-top: 40px;
}

.get-started-btn {
    padding: 15px 40px;
    font-size: 1.1rem;
    background: var(--secondary);
    color: white !important;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    box-shadow: 0 15px 30px rgba(67, 189, 206, 0.3);
    transition: var(--transition-fast);
}

.get-started-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(67, 189, 206, 0.4);
    background: var(--secondary-light);
}

.btn-video {
    background: rgba(255, 255, 255, 0.2);
    color: white !important;
    border-radius: 50px;
    padding: 15px 40px;
    font-weight: 500;
    transition: var(--transition-fast);
}

.btn-video:hover {
    background: rgba(255, 255, 255, 0.3);
}

.hero-metrics {
    color: white;
    padding-top: 25px;
    margin-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: space-between;
}

.hero-metrics .counter {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 5px;
    background: linear-gradient(90deg, var(--white) 0%, rgba(161, 228, 236, 0.9) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: all 0.3s ease;
}

.hero-metrics p {
    font-size: 14px;
    opacity: 0.9;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-metrics .metric-item {
    position: relative;
    padding: 0 15px;
}

.hero-metrics .metric-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    height: 100%;
    perspective: 1000px;
}

.hero-image img {
    max-width: 100%;
    position: relative;
    z-index: 2;
}

.hero-main-card {
    position: relative;
    transform-style: preserve-3d;
    transition: all 0.5s ease;
    border-radius: 20px;
    width: 85%;
    margin: 0 auto;
    z-index: 3;
    animation: floatMainCard 6s ease-in-out infinite;
}

.hero-main-card img {
    width: 100%;
    height: auto;
    display: block;
    transform: scale(1.05);
    transition: transform 0.8s ease-out;
}

.hero-main-card:hover img {
    transform: scale(1.1);
}

@keyframes floatMainCard {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.floating-card {
    position: absolute;
    background: white;
    padding: 15px 20px;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 6;
    box-shadow: 0 15px 35px rgba(29, 139, 158, 0.15);
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.floating-card .fc-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    border-radius: 50%;
    background: rgba(67, 189, 206, 0.15);  /* Using secondary teal color */
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.floating-card:hover .fc-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.floating-card .fc-text {
    flex: 1;
}

.floating-card .fc-text p {
    margin: 0;
    font-size: 12px;
    color: var(--gray);
}

.floating-card .fc-text h6 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
}

.floating-card.card1 {
    top: 10%;
    left: 0;
    animation: float 4s cubic-bezier(0.445, 0.05, 0.55, 0.95) infinite;
}

.floating-card.card2 {
    bottom: 10%;
    right: 0;
    animation: float 4s cubic-bezier(0.445, 0.05, 0.55, 0.95) 2s infinite;
}

.shape-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    pointer-events: none;
    z-index: 2;
    transform: translateZ(0);
}

.shape-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.shape-divider .shape-fill {
    fill: var(--body-bg);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* ===== MODERN APP SECTION ===== */
.app-section {
    padding: 120px 0;
    position: relative;
    background: linear-gradient(135deg, #f8fcfd 0%, #ffffff 50%, #f0f7f9 100%);
    overflow: hidden;
}

.app-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(29, 139, 158, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(67, 189, 206, 0.08) 0%, transparent 50%);
    z-index: 1;
}

.app-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    pointer-events: none;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
    animation: float-smooth 8s ease-in-out infinite;
}

.floating-shape.shape-1 {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--secondary-light), var(--secondary));
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.floating-shape.shape-2 {
    width: 120px;
    height: 120px;
    background: linear-gradient(45deg, var(--primary), var(--primary-dark));
    top: 60%;
    right: 8%;
    animation-delay: 2s;
}

.floating-shape.shape-3 {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--secondary), var(--secondary-light));
    bottom: 20%;
    left: 15%;
    animation-delay: 4s;
}

.container {
    position: relative;
    z-index: 3;
}

/* Section Header */
.app-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(29, 139, 158, 0.2);
}

.app-main-title {
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.app-main-subtitle {
    font-size: 1.3rem;
    color: var(--gray);
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Content Wrapper */
.app-content-wrapper {
    margin-top: 60px;
}

/* Features Grid */
.app-features-grid {
    margin-bottom: 50px;
}

.feature-card {
    display: flex;
    align-items: center;
    padding: 25px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(29, 139, 158, 0.15);
}

.feature-icon-wrapper {
    position: relative;
    margin-right: 20px;
    margin-left: 20px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    position: relative;
    z-index: 2;
}

.feature-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 16px;
    opacity: 0.3;
    animation: pulse-ring 2s ease-out infinite;
}

.feature-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.feature-content p {
    font-size: 1rem;
    color: var(--gray);
    margin: 0;
    line-height: 1.6;
}

/* Download Section */
.app-download-section {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 25px;
    padding: 35px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.download-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 30px;
    text-align: center;
}

.stat-item {
    flex: 1;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-stars {
    margin-bottom: 5px;
}

.stat-stars i {
    color: #ffd700;
    font-size: 14px;
    margin: 0 1px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray);
    font-weight: 500;
}

.download-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
}

.download-btn {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    min-width: 200px;
    position: relative;
    overflow: hidden;
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.download-btn:hover::before {
    left: 100%;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.apple-btn {
    background: linear-gradient(135deg, #000000, #333333);
    color: white;
    width: max-content;
}

.google-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    width: max-content;
}

.btn-icon {
    font-size: 1.8rem;
    margin-right: 15px;
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-subtitle {
    font-size: 0.8rem;
    opacity: 0.8;
    line-height: 1;
}

.btn-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
}

/* Phone Mockup */
.phone-mockup-container {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-mockup {
    position: relative;
    z-index: 3;
}

.phone-frame {
    width: 280px;
    height: 560px;
    background: linear-gradient(145deg, #f0f0f0, #ffffff);
    border-radius: 40px;
    padding: 15px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    position: relative;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: #000;
    border-radius: 3px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #f8fcfd 0%, #ffffff 100%);
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.screen-content {
    padding: 25px 20px;
    height: 100%;
    overflow: hidden;
}

/* App Interface */
.app-header {
    margin-bottom: 25px;
}

.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-icons i {
    margin-left: 3px;
    font-size: 0.7rem;
}

.app-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.app-nav h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
}

.balance-card {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 20px;
    padding: 20px;
    color: white;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
}

.balance-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

.balance-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 0.85rem;
    opacity: 0.9;
}

.balance-amount {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.balance-change {
    font-size: 0.8rem;
    opacity: 0.8;
}

.quick-actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.action-btn {
    flex: 1;
    background: rgba(29, 139, 158, 0.1);
    border-radius: 15px;
    padding: 15px 10px;
    text-align: center;
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
}

.action-btn i {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

/* Floating Cards */
.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 200px;
}

.security-card {
    top: 50px;
    right: -50px;
    animation: float-card-1 4s ease-in-out infinite;
}

.notification-card {
    bottom: 80px;
    left: -50px;
    animation: float-card-2 4s ease-in-out infinite 2s;
}

.card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.security-card .card-icon {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
}

.notification-card .card-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.card-content {
    flex: 1;
}

.card-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 2px;
}

.card-subtitle {
    font-size: 0.8rem;
    color: var(--gray);
}

.card-status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.card-status.success {
    background: #2ecc71;
}

.card-status.processing {
    background: var(--primary);
    animation: pulse-dot 2s ease-in-out infinite;
}

/* Background Elements */
.bg-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    z-index: 1;
}

.circle-1 {
    width: 200px;
    height: 200px;
    background: var(--primary);
    top: -100px;
    right: -100px;
    animation: rotate-slow 20s linear infinite;
}

.circle-2 {
    width: 150px;
    height: 150px;
    background: var(--secondary);
    bottom: -75px;
    left: -75px;
    animation: rotate-slow 15s linear infinite reverse;
}

.bg-dots {
    position: absolute;
    top: 20%;
    left: -20px;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(circle, var(--primary) 2px, transparent 2px);
    background-size: 15px 15px;
    opacity: 0.2;
    animation: float-dots 6s ease-in-out infinite;
}

/* Animations */
@keyframes float-smooth {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes pulse-ring {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

@keyframes float-card-1 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

@keyframes float-card-2 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes float-dots {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-25px); }
}

/* RTL Adjustments */
html[lang="ar"] .feature-icon-wrapper {
    margin-right: 20px;
    margin-left: 20px;
}

html[lang="ar"] .btn-icon {
    margin-right: 0;
    margin-left: 15px;
}

html[lang="ar"] .btn-text {
    align-items: flex-end;
}

html[lang="ar"] .status-icons i {
    margin-left: 0;
    margin-right: 3px;
}

html[lang="ar"] .security-card {
    right: auto;
    left: -50px;
}

html[lang="ar"] .notification-card {
    left: auto;
    right: -50px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .app-main-title {
        font-size: 2.5rem;
    }

    .app-main-subtitle {
        font-size: 1.1rem;
    }

    .phone-mockup-container {
        height: 400px;
        margin-top: 50px;
    }

    .phone-frame {
         height: 400px;
    }

    .floating-card {
        display: none;
    }
}

@media (max-width: 768px) {
    .app-section {
        padding: 80px 0;
    }

    .app-main-title {
        font-size: 2rem;
    }

    .feature-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .feature-icon-wrapper {
        margin-right: 0;
        margin-left: 0;
        margin-bottom: 15px;
    }

    .download-buttons {
        flex-direction: column;
    }

    .download-btn {
        justify-content: center;
    }

    .download-stats {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .app-main-title {
        font-size: 1.8rem;
    }



    .balance-amount {
        font-size: 1.5rem;
    }

    .floating-shape {
        display: none;
    }
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: var(--section-padding);
    background: linear-gradient(to right, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.96)), url('../img/al-saqi-home.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.cta-pre-title {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 15px;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark);
}

.cta-description {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 35px;
    line-height: 1.8;
}

.cta-button {
    padding: 15px 40px;
    font-size: 1.1rem;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    color: white !important;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    box-shadow: 0 15px 30px rgba(29, 139, 158, 0.15);
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(29, 139, 158, 0.25);
}

.cta-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(29, 139, 158, 0.15);
    transform: perspective(1000px) rotateY(5deg);
    transition: all 0.5s ease;
}

.cta-image-container:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.cta-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.cta-image-container:hover .cta-image {
    transform: scale(1.05);
}

html[dir="rtl"] .cta-image-container {
    transform: perspective(1000px) rotateY(-5deg);
}

html[dir="rtl"] .cta-image-container:hover {
    transform: perspective(1000px) rotateY(0deg);
}

/* ===== SERVICES SECTION ===== */
.services-section {
    padding: var(--section-padding);
    background-color: var(--body-bg);
    position: relative;
}

.section-header {
    margin-bottom: 60px;
}

.service-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(29, 139, 158, 0.15);
    padding: 20px;
    background: white;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.service-image-container:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(29, 139, 158, 0.2);
}

.service-main-image {
    width: 100%;
    transform: scale(0.95);
    transition: transform 0.5s ease;
}

.service-image-container:hover .service-main-image {
    transform: scale(1);
}

.service-content {
    padding: 20px;
}

.service-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 15px 0;
    color: var(--dark);
}

.service-description {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 30px;
}

.service-features {
    margin-top: 30px;
}

.service-feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 10px;
}

.service-feature-item i {
    color: var(--primary);
    font-size: 1.2rem;
}

html[dir="rtl"] .service-feature-item {
    justify-content: flex-start;
}

.section-pre-title {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark);
}

.section-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary) 0%, var(--primary) 100%);
    margin: 0 auto 20px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

.service-card {
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--card-shadow);
    padding: 40px 30px;
    transition: var(--transition-fast);
    position: relative;
    z-index: 1;
    overflow: hidden;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    color: white;
}

.service-card:hover h4,
.service-card:hover p,
.service-card:hover .service-link,
.service-card:hover .icon-wrapper {
    color: white;
}

.service-card:hover .icon-wrapper {
    background: rgba(255, 255, 255, 0.2);
}

.service-card img {
    opacity: 0;
    z-index: -1;
}

.service-card:hover img {
    opacity: 1;
}

.service-card::before {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    background: rgba(29, 139, 158, 0.03);
    border-radius: 50%;
    bottom: -75px;
    right: -75px;
    z-index: -1;
}

.service-icon {
    margin-bottom: 25px;
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background: rgba(29, 139, 158, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.8rem;
    transition: var(--transition-fast);
}

.service-card h4 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    transition: var(--transition-fast);
}

.service-card p {
    color: var(--gray);
    margin-bottom: 30px;
    transition: var(--transition-fast);
}

.service-link {
    color: var(--primary);
    font-weight: 500;
    display: flex;
    align-items: center;
    transition: var(--transition-fast);
}

.service-link i {
    transition: var(--transition-medium);
    margin-left: 8px;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* ===== ABOUT US SECTION ===== */
.about-section {
    background-color: var(--body-bg);
    position: relative;
    padding: var(--section-padding);
    overflow: hidden;
}

.about-image-container {
    position: relative;
    margin-bottom: 30px;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(29, 139, 158, 0.15);
    z-index: 2;
}

.about-main-image {
    width: 100%;
    height: auto;
    transition: all 0.5s ease;
    transform: scale(1);
}

.about-image-wrapper:hover .about-main-image {
    transform: scale(1.05);
}

.about-shape-1,
.about-shape-2 {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
}

.about-shape-1 {
    width: 180px;
    height: 180px;
    background: rgba(67, 189, 206, 0.1);
    top: -40px;
    left: -40px;
}

.about-shape-2 {
    width: 140px;
    height: 140px;
    background: rgba(161, 228, 236, 0.15);
    bottom: -30px;
    right: -30px;
}

.about-experience {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: var(--primary);
    color: white;
    padding: 20px;
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 25px rgba(29, 139, 158, 0.2);
    z-index: 3;
    min-width: 120px;
    text-align: center;
}

html[dir="rtl"] .about-experience {
    right: auto;
    left: -20px;
}

.about-experience-content h4 {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    line-height: 1;
}

.about-experience-content p {
    font-size: 14px;
    margin: 5px 0 0;
    opacity: 0.9;
}

.about-content h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
    position: relative;
    margin-bottom: 20px;
}

.about-text {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 30px;
}

.about-feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    gap: 15px;
}

.about-feature-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    border-radius: 50%;
    background: rgba(67, 189, 206, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 18px;
    margin-top: 5px;
    transition: all 0.3s ease;
}

.about-feature-item:hover .about-feature-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.about-feature-text h5 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
}

.about-feature-text p {
    font-size: 15px;
    color: var(--gray);
    margin-bottom: 0;
}

.about-button {
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white !important;
    border-radius: 50px;
    border: none;
    box-shadow: 0 10px 20px rgba(29, 139, 158, 0.15);
    font-weight: 500;
    transition: all 0.3s ease;
}

.about-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(29, 139, 158, 0.25);
}

.about-contact-button {
    padding: 12px 30px;
    border: 2px solid var(--primary);
    color: var(--primary) !important;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: transparent;
}

.about-contact-button:hover {
    background: var(--primary);
    color: white !important;
    transform: translateY(-3px);
}

.about-card {
    background-color: white;
    border-radius: var(--border-radius-md);
    padding: 30px 25px;
    box-shadow: 0 10px 30px rgba(29, 139, 158, 0.08);
    height: 100%;
    transition: all 0.3s ease;
    text-align: center;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(29, 139, 158, 0.12);
}

.about-card-icon {
    width: 70px;
    height: 70px;
    border-radius: var(--border-radius-md);
    background: rgba(67, 189, 206, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary);
    font-size: 24px;
    transition: all 0.3s ease;
}

.about-card:hover .about-card-icon {
    background: var(--primary);
    color: white;
    transform: rotateY(180deg);
}

.about-card h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark);
}

.about-card p {
    color: var(--gray);
    margin-bottom: 0;
    font-size: 15px;
    line-height: 1.7;
}

/* RTL specific adjustments for about section */
html[dir="rtl"] .about-feature-item {
    flex-direction: row;
}

/* ===== FOOTER AREA ===== */
.footer-area {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Add decorative wave pattern to footer top */
.footer-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 12px;
    background: linear-gradient(90deg, var(--secondary) 0%, var(--secondary-light) 100%);
    opacity: 0.8;
}

/* Add decorative pattern to footer background */
.footer-area::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../img/theme.svg);
    pointer-events: none;
    z-index: 1;
    opacity: 0.2;
    background-size: cover;
}

.footer-top {
    padding: 100px 0 70px;
    position: relative;
    z-index: 2;
}

.footer-logo a {
    display: flex;
    align-items: center;
    color: white;
    font-size: 1.2rem;
}

.footer-logo-img {
    height: 70px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-widget h4 {
    color: white;
    font-size: 22px;
    margin-bottom: 35px;
    position: relative;
    padding-bottom: 18px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.footer-widget h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary-light);
    border-radius: 10px;
}

.footer-widget p {
    line-height: 1.8;
    font-size: 15px;
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    color: white;
    transition: var(--transition-fast);
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
}

.footer-social a:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--secondary);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
    z-index: -1;
}

.footer-social a:hover {
    transform: translateY(-5px);
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.footer-social a:hover:before {
    transform: scale(1);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 18px;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    font-size: 15px;
    letter-spacing: 0.2px;
}

.footer-links li a:before {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 10px;
    font-size: 12px;
    color: var(--secondary-light);
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s ease;
}

.footer-links li a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-links li a:hover:before {
    opacity: 1;
    transform: translateX(0);
}

.app-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 24px;
}

.app-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.12);
    padding: 14px 20px;
    border-radius: 12px;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.app-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.app-btn:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.app-btn:hover:before {
    opacity: 1;
}

.app-btn i {
    font-size: 26px;
}

.app-btn-text span {
    display: block;
    font-size: 12px;
    opacity: 0.8;
}

.app-btn-text strong {
    display: block;
    font-weight: 600;
    font-size: 16px;
}

.footer-bottom {
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    z-index: 2;
}

.footer-bottom p {
    margin: 0;
    font-size: 15px;
}

.footer-bottom-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
    gap: 25px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
}

.footer-bottom-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--secondary-light);
    transition: width 0.3s ease;
}

.footer-bottom-links a:hover {
    color: white;
}

.footer-bottom-links a:hover::after {
    width: 100%;
}

/* RTL specific adjustments */
/* RTL Direction Adjustments - Consolidated */
html[dir="rtl"] .feature-icon {
    margin-right: 0;
    margin-left: 20px;
}

html[dir="rtl"] .footer-widget h4::after,
html[dir="rtl"] .footer-bottom-links a::after {
    left: auto;
    right: 0;
}

html[dir="rtl"] .footer-links li a:hover {
    transform: translateX(-5px);
}

html[dir="rtl"] .footer-links li a:before {
    content: '\f104';  /* RTL arrow direction */
    margin-right: 0;
    margin-left: 10px;
    transform: translateX(8px);
}

html[dir="rtl"] .footer-links li a:hover:before {
    transform: translateX(0);
}

html[dir="rtl"] .download-nav-btn {
    margin-left: 0;
    margin-right: 15px;
}

html[dir="rtl"] .navbar-brand i {
    margin-right: 0;
    margin-left: 10px;
}

html[dir="rtl"] .service-link i {
    transform: rotate(180deg);
    margin-right: 8px;
    margin-left: 0;
}

html[dir="rtl"] .navbar-light .navbar-nav .nav-link:before {
    right: 50%;
    left: auto;
    transform: translateX(50%);
}

html[dir="rtl"] .download-btn i {
    margin-right: 0;
    margin-left: 10px;
}

/* RTL responsive adjustments */
@media (max-width: 991px) {
    html[dir="rtl"] .navbar-nav {
        padding-right: 0;
    }

    html[dir="rtl"] .btn-video {
        margin-right: 0 !important;
    }
}

/* Hardware acceleration already defined in the RESPONSIVE NAVBAR IMPROVEMENTS section */

/* ===== ANIMATIONS ===== */
/* fadeInUp animation is already defined earlier in the file */

/* Touch-friendly enhancements for mobile devices */
@media (hover: none) and (pointer: coarse) {
    /* Better tap targets for mobile */
    .nav-link,
    .btn,
    .download-btn,
    .app-btn,
    .footer-social a {
        -webkit-tap-highlight-color: transparent;
        min-height: 44px; /* Apple's recommended minimum touch target size */
        display: inline-flex;
        align-items: center;
    }

    /* Active state for touch feedback */
    .nav-link:active,
    .btn:active,
    .download-btn:active,
    #language-toggle:active,
    #language-toggle-ar:active,
    .service-link:active,
    .footer-social a:active {
        transform: scale(0.97);
        transition: transform 0.1s ease;
    }

    /* Reduce hover animations that might cause performance issues */
    .service-card:hover {
        transform: translateY(-5px);
    }

    /* Optimize scrolling */
    .app-section,
    .services-section,
    .hero {
        overflow: hidden;
        scroll-behavior: smooth;
    }
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1199px) {
    .hero .display-4 {
        font-size: 3rem;
    }

    .app-title, .section-title {
        font-size: 2.2rem;
    }

    .navbar-light .navbar-nav .nav-link {
        padding: 10px 15px;
    }
}

@media (max-width: 991px) {
    .hero {
        padding: 150px 0 100px;
        min-height: initial;
    }

    .hero .display-4 {
        font-size: 2.5rem;
    }

    .hero-btns {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    html[dir="ltr"] .btn-video {
        margin-left: 0 !important;
    }

    html[dir="rtl"] .btn-video {
        margin-right: 0 !important;
    }

    .app-device-container {
        margin-top: 50px;
    }

    .download-nav-btn {
        display: none;
    }

    .navbar {
        padding: 15px 0;
    }

    .navbar-brand {
        max-width: 65%;
    }

    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        padding: 0;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
        border-radius: 15px;
        max-height: 85vh;
        overflow-y: auto;
        transition: all 0.3s ease-in-out;
        z-index: 1000;
        transform-origin: top;
    }

    .navbar-collapse .mobile-menu-header {
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
        padding: 20px;
        color: white;
        border-radius: 15px 15px 0 0;
        text-align: center;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    }

    .navbar-collapse .mobile-menu-header h5 {
        margin: 0;
        font-size: 18px;
        font-weight: 600;
        display: flex;
        align-items: center;
    }

    .navbar-collapse .mobile-menu-header h5::before {
        content: '';
        display: inline-block;
        width: 24px;
        height: 24px;
        background-image: url('../img/logo.png');
        background-size: contain;
        background-repeat: no-repeat;
        margin-right: 8px;
        opacity: 0.9;
    }

    html[dir="rtl"] .navbar-collapse .mobile-menu-header h5::before {
        margin-right: 0;
        margin-left: 8px;
    }

    .navbar-collapse .navbar-nav {
        padding: 15px 0;
    }

    .navbar-collapse .nav-item {
        position: relative;
    }

    .navbar-collapse .nav-link {
        padding: 12px 25px;
        font-weight: 500;
        font-size: 16px;
        transition: all 0.3s ease;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .navbar-collapse .nav-link:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 2px;
        background: var(--primary);
        transition: width 0.3s ease;
    }

    .navbar-collapse .nav-link:hover:after,
    .navbar-collapse .nav-link.active:after {
        width: 40px;
    }

    .navbar-collapse .nav-link:hover,
    .navbar-collapse .nav-link.active {
        color: var(--primary);
    }

    .navbar-collapse .nav-link:active {
        background-color: rgba(29, 139, 158, 0.05);
    }

    /* Navbar toggler styles consolidated to the RESPONSIVE NAVBAR IMPROVEMENTS section */

    .nav-right {
        margin-top: 20px;
        flex-direction: row;
        justify-content: center;
        width: 100%;
        padding: 5px 20px 20px;
        /* border-top: 1px solid rgba(0, 0, 0, 0.05); */
    }

    #language-toggle,
    #language-toggle-ar {
        width: 48%;
        margin-right: 4%;
        justify-content: center;
        margin-top: 1rem;
    }

    .download-nav-btn {
        width: 48%;
        justify-content: center;
    }

    html[dir="rtl"] .navbar-collapse .nav-item,
    html[dir="ltr"] .navbar-collapse .nav-item {
        text-align: center;
    }

    html[dir="rtl"] .navbar-collapse .nav-link:after {
        left: auto;
        right: 50%;
        transform: translateX(50%);
    }
}

@media (max-width: 767px) {
    .hero {
        text-align: center;
        padding: 130px 0 80px;
    }

    .hero .lead, .app-description {
        max-width: 100%;
    }

    .hero-btns {
        justify-content: center;
        align-items: center;
    }

    .app-device-container {
        margin-bottom: 40px;
    }

    .section-title, .app-title, .cta-title, .service-title {
        font-size: 2rem;
    }

    .footer-widget {
        margin-bottom: 40px;
    }

    .footer-bottom-links {
        justify-content: center;
        margin-top: 15px;
    }

    .footer-bottom {
        text-align: center;
    }

    .about-content {
        text-align: center;
        margin-bottom: 40px;
    }

    .about-feature-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .about-feature-icon {
        margin-bottom: 15px;
    }

    html[dir="rtl"] .about-feature-item {
        flex-direction: column;
    }

    .about-action {
        justify-content: center !important;
    }

    .floating-card {
        display: none;
    }

    .hero-metrics {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .hero-metrics .metric-item:not(:last-child)::after {
        display: none;
    }

    .service-image-container, .cta-image-container {
        margin-bottom: 30px;
    }

    .cta-content {
        text-align: center;
    }

    .service-feature-item {
        justify-content: center;
    }

    .hero-main-card {
        width: 100%;
    }
}

.floating-screen {
    width: 35%;
}

.service-card {
    margin-bottom: 30px;
}

.app-features .feature-item {
    flex-direction: column;
    text-align: center;
}

.app-features .feature-icon {
    margin: 0 auto 15px;
}

html[dir="rtl"] .feature-icon,
html[dir="ltr"] .feature-icon {
    margin-right: auto;
    margin-left: auto;
}

.download-buttons {
    flex-direction: column;
}

.footer-widget h4::after {
    left: 0;
    transform: translateX(0);
}

html[dir="rtl"] .footer-widget h4::after {
    right: 0;
    left: auto;
    transform: translateX(0);
}
}

@media (max-width: 575px) {
    .navbar-brand span {
        font-size: 0.9rem;
    }

    .hero .display-4 {
        font-size: 2rem;
    }

    .hero-metrics .counter {
        font-size: 1.5rem;
    }

    .get-started-btn, .btn-video {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .hero-image img {
        max-width: 90%;
        margin: 0 auto;
    }

    .floating-screen {
        width: 35%;
    }

    .section-padding {
        padding: 60px 0;
    }

    .nav-right {
        flex-direction: column;
        width: 100%;
    }

    #language-toggle,
    #language-toggle-ar,
    .download-nav-btn {
        width: 100%;
        margin: 5px 0 !important;
        justify-content: center;
    }

    .download-buttons {
        gap: 10px;
    }

    .app-subtitle, .section-pre-title {
        font-size: 14px;
    }

    .section-header {
        padding: 0 15px;
    }

    .feature-item {
        margin-bottom: 20px;
    }
}

/* Extra small devices - specific navbar fixes */
@media (max-width: 420px) {
    .navbar-brand {
        max-width: 60%;
    }

    .navbar-brand span {
        font-size: 0.8rem;
    }

    .navbar-toggler {
        padding: 4px 8px;
    }

    .navbar-light .navbar-toggler-icon {
        width: 22px;
        height: 22px;
    }
}

/* ===== ACCESSIBILITY ENHANCEMENTS ===== */
:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Only hide the focus outline when using mouse, maintain it for keyboard users */
:focus:not(:focus-visible) {
    outline: none;
}

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Ensure proper contrast for buttons */
.btn-primary,
.download-nav-btn,
.download-btn.google {
    color: white !important;
    font-weight: 500;
    transition: all 0.3s ease;
}
/* ===== MOBILE MENU STYLES ===== */
@media (max-width: 991.98px) {
    /* Mobile menu styles are consolidated in the RESPONSIVE NAVBAR IMPROVEMENTS section */
}

/* ===== RESPONSIVE NAVBAR IMPROVEMENTS ===== */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
    transition: all 0.3s;
    position: relative;
    z-index: 1100;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

/* Custom toggler icon animation */
.navbar-toggler .navbar-toggler-icon {
    background-image: none;
    position: relative;
    height: 2px;
    width: 22px;
    background: var(--primary);
    transition: all 0.3s ease;
    display: inline-block;
    margin: 10px 0;
}

.navbar-toggler .navbar-toggler-icon::before,
.navbar-toggler .navbar-toggler-icon::after {
    content: '';
    position: absolute;
    height: 2px;
    width: 22px;
    background: var(--primary);
    transition: all 0.3s ease;
    left: 0;
}

.navbar-toggler .navbar-toggler-icon::before {
    top: -8px;
}

.navbar-toggler .navbar-toggler-icon::after {
    top: 8px;
}

/* Animation for toggler icon when menu is open */
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    transform: translateY(8px) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile menu styling - optimized for performance */
@media (max-width: 991px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        height: max-content;
        width: 100%;
        background-color: var(--white);
        z-index: 99999;
        overflow-y: auto;
        padding: 1.5rem;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
        transition: left 0.3s ease, right 0.3s ease;
    }

    /* RTL support - optimized for performance */
    html[dir="rtl"] .navbar-collapse {
        left: 0;
        right: auto;
    }

    html[dir="ltr"] .navbar-collapse {
        right: 0;
        left: auto;
    }

    .navbar-collapse.show {
        left: 0;
        right: 0;
    }

    /* Navbar overlay - optimized for performance */
    .navbar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.25s linear;
        pointer-events: none;
    }

    .navbar-overlay.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    /* Mobile menu header styling */
    .mobile-menu-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 1rem;
        margin-bottom: 1rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .mobile-menu-header h5 {
        margin: 0;
        font-size: 1.25rem;
        color: #fff;
    }

    /* Improved close button */
    .btn-close {
        padding: 0.5rem;
        background: transparent;
        border: none;
        cursor: pointer;
        position: relative;
        width: 30px;
        height: 30px;
    }

    .btn-close:focus {
        outline: none;
    }

    .btn-close::before,
    .btn-close::after {
        content: '';
        position: absolute;
        width: 20px;
        height: 2px;
        background-color: var(--dark);
        top: 50%;
        left: 50%;
        transition: all 0.3s ease;
    }

    .btn-close::before {
        transform: translate(-50%, -50%) rotate(45deg);
    }

    .btn-close::after {
        transform: translate(-50%, -50%) rotate(-45deg);
    }

    .btn-close:hover::before,
    .btn-close:hover::after {
        background-color: var(--primary);
    }

    /* Nav items styling for mobile */
    .navbar-nav {
        margin-top: 1rem;
    }

    /* Simplified animations for better performance */
    .navbar-collapse .navbar-nav .nav-item {
        opacity: 0;
        transform: translateY(10px);
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .navbar-collapse.show .navbar-nav .nav-item {
        opacity: 1;
        transform: translateY(0);
    }

    .navbar-collapse.show .navbar-nav .nav-item:nth-child(1) { transition-delay: 0.05s; }
    .navbar-collapse.show .navbar-nav .nav-item:nth-child(2) { transition-delay: 0.1s; }
    .navbar-collapse.show .navbar-nav .nav-item:nth-child(3) { transition-delay: 0.15s; }
    .navbar-collapse.show .navbar-nav .nav-item:nth-child(4) { transition-delay: 0.2s; }
    .navbar-collapse.show .navbar-nav .nav-item:nth-child(5) { transition-delay: 0.25s; }

    .navbar-nav .nav-link {
        padding: 0.8rem 0;
        font-size: 1.1rem;
        font-weight: 500;
        position: relative;
        transition: color 0.3s;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .navbar-nav .nav-link:active,
    .navbar-nav .nav-link:hover {
        color: var(--primary);
    }

    /* Right nav section in mobile */
    .nav-right {
        margin-top: 0rem;
        flex-direction: column;
        width: 100%;
    }

    .nav-right .btn {
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 1rem;
        width: 100%;
        justify-content: center;
    }

    /* Custom navbar toggler */
    .navbar-toggler {
        border: none;
        padding: 0;
        width: 40px;
        height: 40px;
        position: relative;
        z-index: 1100;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: transparent;
    }

    .navbar-toggler:focus {
        box-shadow: none;
    }

    .navbar-toggler .navbar-toggler-icon {
        display: inline-block;
        width: 24px;
        height: 2px;
        background-color: var(--dark);
        position: relative;
        transition: background-color 0.3s;
    }

    .navbar-toggler .navbar-toggler-icon::before,
    .navbar-toggler .navbar-toggler-icon::after {
        content: '';
        position: absolute;
        width: 24px;
        height: 2px;
        background-color: var(--dark);
        transition: transform 0.25s ease-out, top 0.25s ease-out;
        left: 0;
        will-change: transform, top;
    }

    .navbar-toggler .navbar-toggler-icon::before {
        top: -8px;
    }

    .navbar-toggler .navbar-toggler-icon::after {
        top: 8px;
    }

    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
        background-color: transparent;
    }

    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
        transform: rotate(45deg);
        top: 0;
    }

    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
        transform: rotate(-45deg);
        top: 0;
    }

    /* Fix for body scroll */
    body.menu-open {
        overflow: hidden;
        height: 100%;
        /* Prevent background page from scrolling on iOS */
        position: fixed;
        width: 100%;
    }

    /* Performance optimizations for smooth animations */
    .navbar-collapse {
        /* Hardware acceleration for smoother animations */
        -webkit-transform: translateZ(0);
        -moz-transform: translateZ(0);
        -ms-transform: translateZ(0);
        -o-transform: translateZ(0);
        transform: translateZ(0);

        /* Improve performance on mobile devices */
        will-change: transform;
        backface-visibility: hidden;
    }
}



/*------------------video popup---------------*/

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10999;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Popup Card */
.popup-card {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 50%;
    box-shadow: 0 25px 60px rgba(0,0,0,0.4);
    z-index: 120000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    overflow: hidden;
}

.popup-card.active {
    opacity: 1;
    visibility: visible;
    animation: bounceIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Bounce Animation */
@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.3);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05);
    }
    70% {
        transform: translate(-50%, -50%) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Popup Header */
.popup-header {
    background:linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    padding: 25px 30px;
    display: flex  ;
    align-items: center;
    position: relative;
    padding-bottom: 45px;
}



.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 35px;
    height: 35px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Video Container */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    background: #000;
    overflow: hidden;
}

.video-container video,
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}



.popup-content h3 {
    color: #333;
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

.popup-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 16px;
}


.action-btn {
    flex: 1;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}






/* Mobile Responsive */
@media (max-width: 1424px) {
    .popup-card {
        width: 95%;
        max-width: 75%;
    }


}


/* Mobile Responsive */
@media (max-width: 1024px) {
    .popup-card {
        width: 95%;
        max-width: 100%;
    }


    .close-btn {
        width: 30px;
        height: 30px;
        font-size: 20px;
    }
}


@keyframes spin {
    to { transform: rotate(360deg); }
}
/*-----------------------*/




/* ===== VIDEO SHOWCASE SECTION ===== */
.video-showcase-section {
    position: relative;
    z-index: 10;
}

.video-showcase-header {
    margin-bottom: 50px;
}

.video-badge {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    background: linear-gradient(135deg, rgba(29, 139, 158, 0.1) 0%, rgba(67, 189, 206, 0.1) 100%);
    color: var(--primary);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(29, 139, 158, 0.2);
}

.video-showcase-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
}

.video-showcase-subtitle {
    font-size: 1.15rem;
    color: var(--gray);
    max-width: 500px;
    margin: 0 auto;
}

/* Video Cards Container */
.video-cards-container {
    position: relative;
}

/* Video Card */
.video-card {
    position: relative;
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    height: 100%;
    border: 1px solid rgba(29, 139, 158, 0.08);
}

.video-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(29, 139, 158, 0.18);
}

.video-card.featured {
    border: 2px solid var(--primary);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 14px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(29, 139, 158, 0.3);
}

html[dir="rtl"] .featured-badge {
    right: auto;
    left: 20px;
}

/* Video Thumbnail */
.video-thumbnail {
    position: relative;
    height: 220px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /*background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--primary-dark) 100%);*/
    z-index: 1;
    background-color: #000;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.video-pattern-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
    z-index: 2;
}

.video-icon-display {
    position: relative;
    z-index: 3;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.video-icon-display i {
    font-size: 2.2rem;
    color: white;
}

/* Play Button */
.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    opacity: 0;
    transition: all 0.4s ease;
}

.video-card:hover .video-play-btn {
    opacity: 1;
}

.video-card:hover .video-icon-display {
    opacity: 0.3;
    transform: scale(0.9);
    transition: all 0.4s ease;
}

.play-btn-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    border: 3px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: play-ring-pulse 2s ease-out infinite;
}

.play-btn-inner {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.play-btn-inner i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-left: 4px;
}

html[dir="rtl"] .play-btn-inner i {
    margin-left: 0;
    margin-right: 4px;
}

.video-card:hover .play-btn-inner {
    transform: scale(1.1);
    background: white;
}

@keyframes play-ring-pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.4);
        opacity: 0;
    }
}

/* Video Duration Badge */
.video-duration {
    position: absolute;
    bottom: 15px;
    left: 15px;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 12px;
    font-weight: 500;
    border-radius: 8px;
    z-index: 5;
    backdrop-filter: blur(5px);
}

html[dir="rtl"] .video-duration {
    left: auto;
    right: 15px;
}

/* Video Info */
.video-info {
    padding: 25px;
}

.video-category {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: linear-gradient(135deg, rgba(29, 139, 158, 0.08) 0%, rgba(67, 189, 206, 0.08) 100%);
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 15px;
}

.video-category i {
    font-size: 10px;
}

.video-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.video-card:hover .video-title {
    color: var(--primary);
}

.video-description {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 15px;
}

.video-stats {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: var(--gray);
}

.video-stats span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.video-stats i {
    color: var(--primary);
    font-size: 12px;
}

/* ===== VIDEO MODAL ===== */
.video-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(10px);
}

.video-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.video-modal-container {
    position: relative;
    width: 90%;
    max-width: 900px;
    transform: scale(0.9) translateY(30px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.video-modal-overlay.active .video-modal-container {
    transform: scale(1) translateY(0);
}

.video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

html[dir="rtl"] .video-modal-close {
    right: auto;
    left: 0;
}

.video-modal-close:hover {
    background: white;
    color: var(--dark);
    transform: rotate(90deg);
}

.video-modal-content {
    background: #1a1a1a;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.video-player-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    background: #000;
}

.video-player-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    color: white;
    font-size: 14px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.video-modal-overlay.loading .video-loader {
    opacity: 1;
    visibility: visible;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.video-modal-info {
    padding: 25px 30px;
    background: linear-gradient(180deg, #1a1a1a 0%, #2a2a2a 100%);
}

.video-modal-info h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.video-modal-info p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.6;
}

/* Video Section Responsive Styles */
@media (max-width: 991px) {
    .video-showcase-title {
        font-size: 2rem;
    }

    .video-thumbnail {
        height: 200px;
    }
}

@media (max-width: 767px) {
    .video-showcase-section {
        padding-top: 40px;
    }

    .video-showcase-title {
        font-size: 1.75rem;
    }

    .video-showcase-subtitle {
        font-size: 1rem;
    }

    .video-thumbnail {
        height: 180px;
    }

    .video-info {
        padding: 20px;
    }

    .video-title {
        font-size: 1.1rem;
    }

    .video-modal-container {
        width: 95%;
    }

    .video-modal-close {
        top: -45px;
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .video-modal-info {
        padding: 20px;
    }

    .video-modal-info h4 {
        font-size: 1.1rem;
    }
}

@media (max-width: 575px) {
    .video-card {
        margin-bottom: 20px;
    }

    .video-thumbnail {
        height: 160px;
    }

    .video-icon-display {
        width: 60px;
        height: 60px;
    }

    .video-icon-display i {
        font-size: 1.6rem;
    }

    .play-btn-ring {
        width: 70px;
        height: 70px;
    }

    .play-btn-inner {
        width: 55px;
        height: 55px;
    }

    .play-btn-inner i {
        font-size: 1.2rem;
    }
}

