/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Color Palette */
    --primary: #FC743E;
    /* Buttons / Strong Actions */
    --primary-dark: #E05A2B;

    --brand-yellow: #FCD160;
    /* Most visible aesthetic color */
    --brand-blue: #98E3FA;
    /* Secondary aesthetic color */

    --bg-light: #FBFBFD;
    /* Slightly warmer bg to match yellow/orange vibe */
    --bg-white: #FFFFFF;
    --text-main: #2D3436;
    /* Dark Grey/Black */
    --text-light: #545c5f;
    /* Secondary Text */
    --text-white: #FFFFFF;
    /* White Text */

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 50px;

    /* Shadows */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
    --shadow-color: rgba(252, 116, 62, 0.3);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    border: none;
    transition: transform 0.2s, box-shadow 0.2s;
    gap: 8px;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-white);
    box-shadow: 0 4px 15px var(--shadow-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-color);
}

.btn-secondary {
    background-color: var(--brand-blue);
    color: var(--text-main);
}

.btn-secondary:hover {
    background-color: #80d2ea;
    transform: translateY(-2px);
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: var(--spacing-xs);
}

.section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Header & Nav */
header {
    background-color: rgba(255, 255, 255, 0.95);
    /* Slightly more opaque */
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    padding: 0.5rem 0 0 0;
    /* Top padding only, bar at bottom */
    display: flex;
    flex-direction: column;
}

header .container {
    width: 100%;
    margin-bottom: 0.5rem;
    /* Space between nav and bar */
}

/* Language Specifics */
[lang="ar"],
[lang="ar"] body,
[lang="ar"] h1,
[lang="ar"] h2,
[lang="ar"] h3,
[lang="ar"] h4,
[lang="ar"] h5,
[lang="ar"] h6,
[lang="ar"] p,
[lang="ar"] a,
[lang="ar"] button,
[lang="ar"] .btn,
[lang="ar"] .about-card p,
[lang="ar"] .testimonial-card p {
    font-family: 'Noto Sans Arabic', sans-serif;
}

[lang="ar"] .logo {
    font-family: 'Noto Sans Arabic', sans-serif;
}

/* Language Switcher Button */
.lang-btn {
    background: transparent;
    border: 2px solid transparent;
    /* Reserve space for border or just keep transparent */
    color: var(--text-main);
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    transition: all 0.2s;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    /* Subtle hover */
    color: var(--primary);
}

/* RTL Adjustments */
[dir="rtl"] .tree-left {
    left: -5px;
    right: auto;
    transform: scaleX(-1);
    /* Flip tree image horizontally */
}

[dir="rtl"] .tree-right {
    right: -5px;
    left: auto;
    transform: scaleX(-1);
}

/* Ensure margins invert correctly in RTL if needed */
/* Flexbox handles most, but check specific margins */

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    color: var(--primary);
    gap: 10px;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
    text-decoration: none;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-main);
}

.nav-links a:hover {
    color: var(--primary);
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-main);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    padding-top: 140px;
    padding-bottom: var(--spacing-xl);
    overflow: hidden;
    background-color: var(--bg-light);
    /* White Hero */
}

.hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-lg);
    position: relative;
    z-index: 2;
    /* Ensure content is above trees */
}

.hero-water {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 0;
    /* Behind everything */
}

/* Decorative Trees */
.tree-deco {
    position: absolute;
    top: 0;
    z-index: 1;
    width: 120px;
    /* Adjust size as needed, starting with reasonable size */
    max-width: 30vw;
    /* Responsive constraint */
    pointer-events: none;
    /* Don't block clicks */
}

.tree-left {
    right: -5px;
    top: 20vh;
}

.tree-right {
    left: -5px;
    top: 20vh;

}

.hero-content {
    flex: 1;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    /* Dark text on yellow */
}

/* Arabic H1 Adjustment */
:lang(ar) .hero h1 {
    line-height: 1.4;
    font-size: 3rem;
    /* Optional: Slightly smaller if it gets too tall? Or keep same? keeping same or slightly adjust if bulky. User just said line height. */
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    max-width: 500px;
}

.hero-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hero-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    color: var(--text-main);
    font-weight: 500;
}

.hero-features li i {
    color: var(--brand-yellow);
    /* Highlight icon */
    font-size: 1.3rem;
    width: 24px;
    /* Fixed width for alignment */
    text-align: center;
}

.store-buttons {
    display: flex;
    gap: var(--spacing-sm);
}

.store-btn img {
    height: 50px;
    transition: transform 0.3s;
}

.store-btn:hover img {
    transform: translateY(-3px) scale(1.02);
}

.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-message-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.slides-container {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.slide-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.slide-wrapper.active {
    opacity: 1;
    z-index: 2;
}

.rive-area {
    flex: 3;
    /* 60% approx height */
    width: 100%;
    position: relative;
    overflow: hidden;
    padding-top: 60px;
    /* Push animation down from top */
    box-sizing: border-box;
}

.rive-area canvas {
    width: 100%;
    height: 100%;
    display: block;
    /* Zoom in by 25% */
}

.text-area {
    flex: 2;
    /* 40% approx height */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    /* Start from top of text area */
    padding: 20px;
    text-align: center;
    color: var(--slide-text-color, white);
    /* Default to white if var not set */
    transition: color 0.3s ease;
}

.text-area h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.text-area p {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--slide-desc-color, inherit);
    transition: color 0.3s ease;
}

/* Indicators Styling Update */
.slider-indicators {
    position: absolute;
    width: 100%;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 8px;

    z-index: 10;
}



.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--slide-indicator-color, rgba(255, 255, 255, 0.5));
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    width: 20px;
    border-radius: 10px;
    background-color: var(--slide-indicator-color, white);
    /* Use same color but fully opaque logic if simple, OR rely on opacity diff */
    opacity: 1;
}

/* Let's refine the indicator logic.
   Inactive: var(--slide-indicator-color) with opacity 0.5
   Active: var(--slide-indicator-color) with opacity 1
*/
.indicator {
    background-color: var(--slide-indicator-color, white);
    opacity: 0.4;
}

.indicator.active {
    opacity: 1;
    background-color: var(--slide-indicator-color, white);
}



.indicator {
    width: 8px;
    height: 8px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.indicator.active {
    background-color: var(--primary);
    transform: scale(1.2);
}

.phone-frame {
    width: 300px;
    height: 600px;
    background: #fff;
    border-radius: 40px;
    border: 8px solid #2D3436;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.blob {
    position: absolute;
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, var(--brand-yellow) 0%, var(--brand-blue) 100%);
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float 6s ease-in-out infinite;
}

/* Cloud CTA Section */
.cloud-cta {
    background-color: var(--brand-yellow);
    position: relative;
    padding: 100px 0;
    margin-top: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cloud-divider-top,
.cloud-divider-bottom {
    position: absolute;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
}

.cloud-divider-top {
    top: -1px;
    /* Overlap slightly to prevent gaps */
    transform: rotate(180deg);
}

.cloud-divider-bottom {
    bottom: -1px;
    /* Overlap slightly */
}

/* Ensure the image stretches properly */
.cloud-img {
    display: block;
    width: 100%;
    min-width: 1200px;
    /* Ensure clouds don't get too small on mobile */
    height: auto;
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    text-align: center;
    gap: 40px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #4a4a4a;
    /* Darker than before for readability */
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.cta-text h2 {
    font-size: 2.5rem;
    color: var(--text-main);
    margin-bottom: 20px;
    line-height: 1.2;
}

.cta-text p {
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: 30px;
    opacity: 0.8;
}

.btn-white {
    background: white;
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.btn-white:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.cat-mascot-left img,
.cat-mascot-right img {
    height: 150px;
    width: auto;
}

@media (max-width: 768px) {
    .cta-content {
        flex-direction: column;
    }

    .cat-mascot-left,
    .cat-mascot-right {
        display: none;
        /* Hide illustrative mascots on mobile to save space if needed, or keep them */
    }

    .cta-text h2 {
        font-size: 1.8rem;
    }
}

/* About Section */
.about {
    padding: var(--spacing-xl) 0;
    background-color: var(--brand-yellow);
    /* Yellow About */
    position: relative;
    /* For cloud positioning */
}

.cloud-transition-top {
    position: absolute;
    top: -3rem;
    left: 0;
    width: 100%;
    height: 120px;
    background-image: url('assets/cloud_yellow.png');
    background-repeat: repeat-x;
    background-position: bottom center;
    background-size: auto 100%;
    z-index: 1;
    transform: rotate(0deg);
}

/* Reusing the transition style, but generic */
.cloud-transition {
    position: absolute;
    bottom: -3rem;
    left: 0;
    width: 100%;
    height: 120px;
    background-image: url('assets/cloud_yellow.png');
    background-repeat: repeat-x;
    background-position: bottom center;
    background-size: auto 100%;
    z-index: 1;
    margin-bottom: -1px;
    transform: rotate(180deg);
}

/* About Section Restructuring */
.about-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-lg) auto;
}

.about-features {
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    /* Optional subtle divider */
}

.trust-tagline {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-main);
    margin-top: var(--spacing-lg);
    font-style: italic;
    opacity: 0.9;
}

/* Features Radial Layout */
.about-grid-radial {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    /* changed from 1fr 200px 1fr */
    gap: 40px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-col {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.feature-col.center {
    align-items: center;
    justify-content: center;
}

.feature-col.left {
    align-items: flex-end;
    text-align: right;
}

.feature-col.right {
    align-items: flex-start;
    text-align: left;
}

.about-card-radial {
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s ease;
}

.feature-col.left .about-card-radial {
    flex-direction: row-reverse;
}

.feature-col.right .about-card-radial {
    flex-direction: row;
}

.about-card-radial:hover {
    transform: scale(1.05);
}

.about-card-radial h3 {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 5px;
}

.about-card-radial p {
    font-size: 0.9rem;
    color: var(--text-light);
    max-width: 200px;
}

.icon-box-radial {
    width: 60px;
    height: 60px;
    background: var(--bg-white);
    color: var(--brand-yellow);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* Center Logo */
.center-stage {
    position: relative;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-logo {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(252, 209, 96, 0.4));
    animation: floatLogo 6s ease-in-out infinite;
    z-index: 2;
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--brand-yellow);
    opacity: 0;
    animation: pulse 3s ease-out infinite;
    z-index: 1;
}

@keyframes floatLogo {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Radial Responsive */
@media (max-width: 900px) {
    .about-grid-radial {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .feature-col.center {
        order: -1;
        /* Logo on top */
        margin-bottom: 20px;
        justify-content: center;
        align-items: center;
    }

    .feature-col.left,
    .feature-col.right {
        align-items: flex-start;
        text-align: left;
    }

    .feature-col.left .about-card-radial {
        flex-direction: row;
    }
}


/* --- Book Details Modal V2 --- */
.book-popup-content {
    width: 95%;
    max-width: 1200px !important;
    /* Super Wide */
    padding: 0;
    overflow: hidden;
    height: auto;
    max-height: 90vh;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
}

.book-modal-layout {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    flex: 1;
    overflow: hidden;
    /* Prevent scroll spill */
}

.book-modal-images {
    flex: 1.5;
    /* Give images more space */
    background: #f9f9f9;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
}

.book-slider {
    position: relative;
    width: 100%;
    max-width: 400px;
    /* Limit slider width for aesthetics */
    overflow: hidden;
    margin: 0 auto;
}

.book-slides-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
}

.book-slide {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.slide-img-wrapper {
    width: 100%;
    /* display: flex; center */
    display: flex;
    justify-content: center;
}

.book-slide img {
    max-width: 100%;
    max-height: 50vh;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.book-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border: none;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 5;
}

.book-arrow:hover {
    background: var(--brand-yellow);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    transform: translateY(-50%) scale(1.1);
}

.book-arrow.prev {
    left: 10px;
}

.book-arrow.next {
    right: 10px;
}

.book-modal-details {
    flex: 1;
    padding: 40px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.btn-whatsapp-order {
    background: #25D366;
    color: white;
    font-size: 1.1rem;
    margin-top: auto;
    /* Push to bottom */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-whatsapp-order:hover {
    background: #128C7E;
    color: white;
    transform: translateY(-2px);
}

/* RTL Modal */
[dir="rtl"] .book-modal-details {
    text-align: right;
}

[dir="rtl"] .feature-col.left {
    text-align: left;
    align-items: flex-start;
}

[dir="rtl"] .feature-col.left .about-card-radial {
    flex-direction: row;
}

[dir="rtl"] .feature-col.right {
    text-align: right;
    align-items: flex-end;
}

[dir="rtl"] .feature-col.right .about-card-radial {
    flex-direction: row-reverse;
}

@media (max-width: 700px) {
    .book-modal-layout {
        flex-direction: column;
    }

    .book-modal-images {
        padding: 20px;
    }
}


/* Slider Section */
.app-showcase {
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.slider-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    padding: 20px 0;
}

.slides-wrapper {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide {
    min-width: 50%;
    /* Show 2 slides partially or 1 full */
    padding: 0 10px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
}

.slide img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    width: 100%;
    max-width: 250px;
}

/* Testimonials */
.testimonials {
    padding: var(--spacing-xl) 0;
    background-color: var(--bg-light);
    /* White Testimonials */
    position: relative;
    overflow: hidden;
    /* To clip decorative images if they overflow too much */
}

.relative-container {
    position: relative;
}

.deco-crab {
    position: absolute;
    top: 0;
    left: -100px;
    width: 150px;
    height: auto;
    z-index: 1;
    transform: rotate(-10deg);
}

.deco-blocks {
    position: absolute;
    top: -20px;
    right: -80px;
    width: 120px;
    height: auto;
    z-index: 1;
    transform: rotate(10deg);
}

.testimonial-grid {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.testimonial-card {
    background: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    flex: 1 1 250px;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #f0f0f0;
}

.quote-header {
    margin-bottom: var(--spacing-sm);
}

.quote-header i {
    font-size: 3rem;
    color: var(--primary);
    /* Orange */
}

.review-text {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    flex-grow: 1;
    line-height: 1.6;
}

.review-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    width: 100%;
}

.stars {
    color: var(--brand-yellow);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.review-footer h4 {
    color: var(--text-main);
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0;
}

.review-footer small {
    color: #999;
    font-weight: 500;
}

/* Hide avatars/old styles if any remain */
.user-info,
.quote-icon {
    display: none;
}

/* Mobile Adjustments for deco */
@media (max-width: 768px) {
    .deco-crab {
        width: 100px;
        left: -20px;
        top: -50px;
        opacity: 0.5;
    }

    .deco-blocks {
        width: 80px;
        right: -10px;
        top: -60px;
        opacity: 0.5;
    }
}

/* Cloud CTA Section Removed */

/* Footer */
/* Footer */
/* Footer */
footer {
    background-color: #98E3FA;
    /* Light Blue Footer */
    color: var(--text-main);
    padding: var(--spacing-xl) 0 40px;
    /* Increased bottom padding */
    position: relative;
    margin-top: 0;
}

/* Cloud Transition for Footer */
.footer-cloud {
    position: absolute;
    top: -3rem;
    left: 0;
    width: 100%;
    height: 120px;
    background-image: url('assets/cloud_blue.png');
    background-repeat: repeat-x;
    background-position: bottom center;
    background-size: auto 100%;
    z-index: 1;
    transform: rotate(0deg);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    /* Slightly wider minmax */
    gap: 40px;
    /* Increased gap */
    margin-bottom: 50px;
}

.footer-col h3 {
    color: var(--text-main);
    margin-bottom: 25px;
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.footer-col p {
    line-height: 1.6;
    color: #4a4a4a;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #555;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(3px);
    /* Subtle nudge */
}

/* Social Links */
.social-links {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: white;
    /* Clean white bg */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--text-main);
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    /* Soft shadow */
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy hover */
}

.social-icon:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

/* Copyright */
.copyright {
    text-align: center;
    padding-top: 30px;
    color: #666;
    font-size: 0.9rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    /* Divider */
    margin-top: 20px;
}

/* Video Modal Styles */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.video-modal.show {
    opacity: 1;
    pointer-events: auto;
}

.video-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    background-color: transparent;
    border-radius: 12px;
}

.close-video {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    overflow: hidden;
    background: #000;
    border-radius: 12px;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translate(-50%, -50%) translateY(0);
    }

    50% {
        transform: translate(-50%, -50%) translateY(-20px);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* simple hide for now, JS will toggle */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-sm);
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .hero-inner {
        flex-direction: column-reverse;
        /* Stack content on mobile */
    }

    .hero {
        padding-top: 100px;
        text-align: center;
    }

    /* Fix Hero Title Size */
    .hero h1 {
        font-size: 2.2rem !important;
        /* Smaller title on mobile */
    }

    /* Fix Partner Hero Title Size */
    .partners-content h2 {
        font-size: 2rem !important;
    }

    /* Partner buttons stack */
    .partner-hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .partner-hero-actions .btn {
        width: 100% !important;
        margin: 5px 0;
    }

    .partner-action .btn,
    .partners-content .btn {
        width: 100%;
        margin-bottom: 10px;
    }

    .partners-content div[style*="display: flex"] {
        flex-direction: column;
        width: 100%;
        gap: 10px !important;
    }

    .store-buttons {
        justify-content: center;
    }

    .hero-image {
        width: 100%;
    }

    .blob {
        width: 300px;
        height: 300px;
    }

    /* Fix Arabic feature list alignment */
    [dir="rtl"] .hero-inner,
    [dir="rtl"] .about-features {
        text-align: center;
        /* Generally center on mobile */
    }

    [dir="rtl"] .feature-col.left,
    [dir="rtl"] .feature-col.right {
        align-items: center;
        /* Center items on mobile */
        text-align: center;
    }

    [dir="rtl"] .feature-col.left .about-card-radial,
    [dir="rtl"] .feature-col.right .about-card-radial {
        flex-direction: column;
        /* Stack icon and text */
        justify-content: center;
        text-align: center;
    }

    /* Fix Book Modal for Mobile */
    .book-modal-layout {
        flex-direction: column;
        height: 100%;
    }

    .book-modal-images {
        flex: 1;
        /* Give image space */
        padding: 20px;
        margin-bottom: 0;
        background: #fff;
        /* Match bg */
        min-height: 250px;
    }

    .book-modal-details {
        flex: 1;
        padding: 20px;
        overflow-y: auto;
        /* Scrollable text box */
        display: block;
        /* Allow block flow for scrolling */
        border-top: 1px solid #eee;
        background: white;
    }

    .book-desc-scroll {
        max-height: none;
        /* Reset if previously set */
        overflow-y: visible;
        /* Handled by parent container now */
    }

    .book-modal-title {
        font-size: 1.5rem;
        margin-top: 0;
    }

    .book-slide img {
        max-height: 30vh;
        /* Limit image height on mobile */
    }

    /* Partner Page Support Section */
    #support div[style*="display: flex; flex-wrap: wrap"] {
        flex-direction: column;
        align-items: center;
    }

    #support a[style*="min-width: 300px"] {
        min-width: 0 !important;
        width: 100%;
    }

    /* Locations Page Title */
    .page-title,
    h1 {
        font-size: 2rem !important;
        /* General clamp for mobile titles */
    }
}

/* Floating Bar */
.floating-bar {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10000;
    border: 1px solid rgba(255, 255, 255, 0.5);
    animation: slideUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.float-item {
    font-size: 1.2rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s;
}

.float-item:hover {
    background: var(--bg-light);
    transform: translateY(-3px);
}

.float-item.social:hover {
    color: var(--brand-blue);
}

.float-item.store {
    background: var(--text-main);
    color: var(--text-white);
    width: 44px;
    height: 44px;
}

.float-item.store:hover {
    background: var(--primary);
    box-shadow: 0 5px 15px var(--shadow-color);
}

.divider {
    width: 1px;
    height: 24px;
    background: #e1e1e1;
    margin: 0 5px;
}

@keyframes slideUp {
    from {
        transform: translate(-50%, 100px);
        opacity: 0;
    }

    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

/* Adjust footer so floating bar doesn't cover content */
footer {
    padding-bottom: 100px;
}

/* Pricing Section */
.pricing {
    padding: var(--spacing-xl) 0 100px;
    /* Extra padding at bottom for cloud */
    background-color: var(--bg-white);
    position: relative;
}


/* Old Pricing Styles Removed (Consolidated below) */


.pricing-card .card-header h3 {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 10px;
}

.pricing-card .price-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.pricing-card .old-price {
    font-size: 1.2rem;
    color: #999;
    text-decoration: line-through;
    font-weight: 600;
    margin-bottom: 0px;
}

.pricing-card .price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-main);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    line-height: 1;
    margin-bottom: 0;
}

.pricing-card.premium .price {
    color: #e55e2b;
    /* Highlight new price */
}

.pricing-card .currency {
    font-size: 1.5rem;
    margin-top: 8px;
}

.pricing-card .period {
    font-size: 1rem;
    color: #b2bec3;
    align-self: flex-end;
    margin-bottom: 8px;
    font-weight: 400;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    text-align: left;
    flex-grow: 1;
}

.features-list li {
    padding: 10px 0;
    border-bottom: 1px solid #f1f2f6;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}

.features-list li:last-child {
    border-bottom: none;
}

.features-list li i {
    color: var(--brand-green);
    /* Checkmark color */
}

.features-list li.disabled {
    color: #b2bec3;
    text-decoration: line-through;
}

.features-list li.disabled i {
    color: #dfe6e9;
    /* Disabled X color */
}

.btn-plan {
    padding: 12px 24px;
    border-radius: 30px;
    border: 2px solid var(--text-main);
    background: transparent;
    color: var(--text-main);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-plan.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.btn-plan:hover {
    background: var(--text-main);
    color: white;
}

.btn-plan.btn-primary:hover {
    background: #e55e2b;
    /* Darker orange */
    border-color: #e55e2b;
}

.pricing-card .badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand-yellow);
    color: var(--text-main);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.8rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cloud-transition-blue {
    position: absolute;
    bottom: -3rem;
    left: 0;
    width: 100%;
    height: 120px;
    background-image: url('assets/cloud_blue.png');
    background-repeat: repeat-x;
    background-position: bottom center;
    background-size: auto 100%;
    z-index: 1;
    margin-bottom: -1px;
    transform: rotate(180deg);
}

/* Media Query for Pricing */
@media (max-width: 768px) {
    .pricing-grid {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card.premium {
        transform: scale(1);
        z-index: 0;
    }

    .pricing-card.premium:hover {
        transform: translateY(-5px);
    }

    .promo-bar {
        font-size: 0.85rem;
        padding: 8px 15px;
        flex-wrap: wrap;
    }
}

/* Promo Bar Enhanced */
.promo-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    background: linear-gradient(90deg, var(--brand-yellow) 0%, #ffd970 100%);
    color: var(--text-main);
    text-decoration: none;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 1rem;
    width: 100%;
    transition: all 0.3s;
    box-shadow: inset 0 -2px 5px rgba(0, 0, 0, 0.05);
}

.promo-bar:hover {
    background: linear-gradient(90deg, #ffd970 0%, var(--brand-yellow) 100%);
}

.promo-bar i {
    color: var(--primary);
    font-size: 1.2rem;
    animation: wiggle 2s infinite ease-in-out;
}

.promo-title {
    font-weight: 800;
    letter-spacing: 0.5px;
}

.promo-subtitle {
    background: rgba(255, 255, 255, 0.6);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px dashed var(--text-main);
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.promo-bar:hover .promo-subtitle {
    background: white;
    transform: scale(1.05);
    border-style: solid;
    color: var(--primary);
}

@keyframes wiggle {

    0%,
    100% {
        transform: rotate(-10deg);
    }

    50% {
        transform: rotate(10deg);
    }
}

/* Books Section */
.books-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, var(--bg-white) 0%, rgba(152, 227, 250, 0.1) 100%);
    /* Subtle Blue fade */
    position: relative;
}

.books-grid {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.book-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 320px;
}

.book-frame {
    width: 280px;
    /* Square */
    height: 280px;
    /* Square */
    background: white;
    margin-bottom: 25px;
    position: relative;
    border-radius: 4px 10px 10px 4px;
    /* Spine on left */
    box-shadow:
        10px 10px 30px rgba(0, 0, 0, 0.15),
        inset 5px 0 10px rgba(0, 0, 0, 0.05);
    /* Spine effect */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    cursor: pointer;
}

.book-frame::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.book-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.book-card:hover .book-frame {
    transform: translateY(-15px) scale(1.02);
    box-shadow:
        15px 25px 40px rgba(0, 0, 0, 0.2),
        inset 5px 0 10px rgba(0, 0, 0, 0.05);
}

.book-info h3 {
    font-size: 1.6rem;
    color: var(--text-main);
    margin-bottom: 10px;
    font-weight: 800;
}

.book-info p {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.book-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary);
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(252, 116, 62, 0.3);
}

/* Locations Page Styles */
.locations-hero {
    padding: 120px 0 60px;
    text-align: center;
    background: var(--bg-light);
}

.locations-hero h1 {
    font-size: 3rem;
    color: var(--text-main);
    margin-bottom: 10px;
    font-weight: 800;
}

.locations-hero p {
    font-size: 1.2rem;
    color: var(--text-light);
}

.online-order {
    padding: 40px 0;
}

.order-card {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.order-card h2 {
    color: var(--text-main);
    font-size: 2rem;
    margin-bottom: 15px;
}

.order-card p {
    color: var(--text-main);
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    font-size: 1.2rem;
    padding: 15px 40px;
    display: inline-block;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s;
    font-weight: 700;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    transform: translateY(-2px);
}

.contact-links {
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.contact-links a {
    color: var(--primary);
    font-weight: 600;
}

.library-finder {
    padding: 60px 0 100px;
    position: relative;
    z-index: 1000;
}

/* Pricing Grid */
.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    align-items: stretch;
    /* Force equal height */
}

/* Pricing Cards */
.pricing-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    flex: 1;
    /* Match width */
    min-width: 280px;
    max-width: 350px;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    width: 100%;
    /* Ensure it fills flex basis */
    text-align: center;
    /* Restore centering */
    margin: 0 auto;
}

/* Class name featured was wrong, switching to premium to match HTML */
.pricing-card.premium {
    border: 2px solid var(--primary);
    box-shadow: 0 15px 40px rgba(252, 116, 62, 0.15);
    /* No scale transform, ensuring equal size */
    padding: 30px;
    /* Force match generic padding */
}

.pricing-card .badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand-yellow);
    color: var(--text-main);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.8rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.location-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    position: relative;
    z-index: 10;
}

.custom-select-wrapper {
    position: relative;
    user-select: none;
    width: 250px;
}

.custom-select {
    position: relative;
    display: flex;
    flex-direction: column;
}

.custom-select-trigger {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 22px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    height: 50px;
    line-height: 50px;
    background: #ffffff;
    cursor: pointer;
    border: 2px solid #eee;
    border-radius: 50px;
    transition: all 0.3s;
}

.custom-select-trigger:hover {
    border-color: var(--primary);
}

.custom-select.open .custom-select-trigger {
    border-color: var(--primary);
    border-radius: 25px 25px 0 0;
}

.custom-options {
    position: absolute;
    display: block;
    top: 100%;
    left: 0;
    right: 0;
    border: 2px solid var(--primary);
    border-top: 0;
    background: #fff;
    transition: all 0.3s;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 99999;
    border-radius: 0 0 25px 25px;
    overflow-y: auto;
    max-height: 250px;
    margin-top: -2px;
    /* Connect borders */
}

.custom-select.open .custom-options {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.custom-option {
    position: relative;
    display: block;
    padding: 12px 22px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.2s;
}

.custom-option:hover {
    background: var(--brand-yellow);
    color: var(--text-main);
}

.custom-option.selected {
    background: #f9f9f9;
    font-weight: 700;
}

.arrow {
    position: relative;
    height: 10px;
    width: 10px;
}

.arrow::before,
.arrow::after {
    content: "";
    position: absolute;
    bottom: 0px;
    width: 0.15rem;
    height: 100%;
    transition: all 0.3s;
}

.arrow::before {
    left: -3px;
    transform: rotate(-45deg);
    background-color: var(--primary);
}

.arrow::after {
    left: 3px;
    transform: rotate(45deg);
    background-color: var(--primary);
}

.custom-select.open .arrow::before {
    left: -3px;
    transform: rotate(45deg);
}

.custom-select.open .arrow::after {
    left: 3px;
    transform: rotate(-45deg);
}

.btn-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background: var(--brand-yellow);
    color: var(--text-main);
    cursor: pointer;
    font-size: 1.2rem;
    transition: transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-icon:hover {
    transform: scale(1.1);
}

.stores-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.store-card.wide-card {
    display: flex;
    flex-direction: column;
    background: white;
    padding: 0;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

@media (min-width: 768px) {
    .store-card.wide-card {
        flex-direction: row;
        align-items: stretch;
    }
}

.store-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.store-image {
    width: 100%;
    height: 150px;
    background: #f9f9f9;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .store-image {
        width: 180px;
        height: auto;
        border-right: 1px solid #eee;
    }
}

.store-image img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
}

.store-details {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.store-details h3 {
    font-size: 1.4rem;
    margin: 0 0 15px;
    color: var(--text-main);
}

.detail-row {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.detail-row i {
    width: 20px;
    color: var(--primary);
    text-align: center;
}

.btn-map {
    display: inline-block;
    color: var(--brand-blue);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    margin-top: 15px;
}

.store-map {
    width: 100%;
    height: 200px;
    background: #eee;
}

@media (min-width: 768px) {
    .store-map {
        width: 300px;
        height: auto;
        min-height: 200px;
        border-left: 1px solid #eee;
    }
}

/* WhatsApp Offer Banner */
/* WhatsApp Offer Banner (Clean Flat) */
.whatsapp-offer {
    background: #FFFCF2;
    /* Soft Warm Tint */
    border: 2px solid var(--brand-yellow);
    /* Clean definition */
    border-radius: 20px;
    padding: 30px 40px;
    margin-top: var(--spacing-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-lg);
    color: var(--text-main);
    box-shadow: none;
    /* No shadows anywhere */
    text-align: left;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}

.whatsapp-offer i {
    font-size: 3.5rem;
    color: #25D366;
    background: transparent;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
    filter: none;
    /* No glow */
}

.whatsapp-offer .offer-text h3 {
    margin: 0 0 5px 0;
    font-size: 1.8rem;
    color: var(--text-main);
    font-weight: 800;
}

.whatsapp-offer .offer-text p {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 500;
}

.btn-whatsapp-offer {
    background: var(--brand-yellow);
    color: var(--text-main);
    padding: 1rem 2.5rem;
    border-radius: var(--radius-full);
    font-weight: 800;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
    margin-left: auto;
    box-shadow: none;
    /* No button shadow */
}

.btn-whatsapp-offer:hover {
    transform: none;
    background: #FFD54F;
    box-shadow: none;
}

[dir="rtl"] .whatsapp-offer {
    text-align: right;
}

[dir="rtl"] .btn-whatsapp-offer {
    margin-left: 0;
    margin-right: auto;
}

@media (max-width: 768px) {
    .whatsapp-offer {
        flex-direction: column;
        text-align: center;
    }

    [dir="rtl"] .whatsapp-offer {
        text-align: center;
    }

    .btn-whatsapp-offer {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }

    [dir="rtl"] .btn-whatsapp-offer {
        margin-right: 0;
    }
}

/* Safety & Trust Section (Seamless) */
.safety-trust {
    padding: 0 0 120px;
    /* Removed top padding, added more bottom padding */
    background: var(--bg-warm);
    /* Matches testimonials for seamless flow */
    text-align: center;
}

.safety-card {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center the group */
    gap: 25px;
    background: transparent;
    /* No box */
    border: none;
    padding: 0;
    box-shadow: none;
    max-width: 800px;
    margin: 0 auto;
}

.safety-card:hover {
    transform: none;
    /* Remove hover movement */
    box-shadow: none;
}

/* Icon Wrapper */
.safety-icon-wrapper {
    position: relative;
    width: 70px;
    height: 70px;
    background: white;
    /* Keep icon wrapper white to pop */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--brand-blue);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

/* Checkmark Badge */
.check-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 24px;
    height: 24px;
    background: #2ecc71;
    color: white;
    border-radius: 50%;
    border: 3px solid var(--bg-warm);
    /* Match section bg */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

.safety-content {
    text-align: left;
}

.safety-content h3 {
    margin: 0 0 8px 0;
    color: var(--text-main);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.safety-content p {
    margin: 0;
    color: #666;
    /* Softer text */
    font-size: 1.05rem;
    font-weight: 500;
}

/* RTL Support */
[dir="rtl"] .safety-content {
    text-align: right;
}

[dir="rtl"] .check-badge {
    right: auto;
    left: -5px;
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .safety-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
        gap: 20px;
    }

    .safety-content {
        text-align: center;
    }

    [dir="rtl"] .safety-content {
        text-align: center;
    }
}

/* Footer Downloads */
.footer-downloads {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.store-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.store-btn i {
    font-size: 1.2rem;
}

/* Floating Social Container */
/* Floating Social Container */
.floating-social-container {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.float-item {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    font-size: 1.2rem;
    transition: all 0.3s;
    text-decoration: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.float-item:hover {
    background: rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
    color: var(--brand-blue);
}

.float-item.store {
    font-size: 1.4rem;
}

.float-item.whatsapp-main-bar {
    background: #25D366;
    color: white;
    width: 50px;
    height: 50px;
    font-size: 1.8rem;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.float-item.whatsapp-main-bar:hover {
    background: #128C7E;
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
    transform: translateY(-3px) scale(1.05);
}

.divider {
    width: 1px;
    height: 25px;
    background: rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .floating-bar {
        bottom: 20px;
        padding: 8px 15px;
        gap: 10px;
        width: 90%;
        justify-content: space-around;
    }

    .float-item {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }

    .float-item.whatsapp-main-bar {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }
}

/* WhatsApp Offer Popup */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: all 0.3s ease;
}

.popup-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.popup-content {
    background: #FFFCF2;
    /* Warm Tint match */
    width: 90%;
    max-width: 400px;
    padding: 40px 30px;
    border-radius: 20px;
    border: 2px solid var(--brand-yellow);
    text-align: center;
    position: relative;
    transform: translateY(0) scale(1);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.popup-overlay.hidden .popup-content {
    transform: translateY(20px) scale(0.95);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    line-height: 1;
}

.popup-icon {
    font-size: 3rem;
    color: #25D366;
    margin-bottom: 20px;
}

.popup-content h3 {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 10px;
}

.popup-content p {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.5;
}

.popup-action {
    width: 100%;
    background: var(--brand-yellow);
    color: var(--text-main);
    font-weight: 800;
    border: none;
}

.popup-action:hover {
    background: #FFD54F;
    transform: translateY(-2px);
}

/* Partner Section */
.partners-section {
    padding: var(--spacing-xl) 0;
    background-color: #f0f4f8;
    /* Soft distinct background */
    text-align: center;
    border-radius: 0;
    margin: 0;
}

.partners-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    align-items: center;
}

.partners-content h2 {
    font-size: 2.5rem;
    color: var(--text-main);
    font-weight: 700;
}

.partners-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
}

.partner-action .btn {
    font-size: 1.2rem;
    padding: 15px 40px;
}