/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f5f7;
}

.nav-menu {
    margin-right: 30px;
    margin-left: 30px;
}

Sticky Header Wrapper
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff; /* Bright white background */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); /* Soft, elegant shadow */
    z-index: 1000; /* Ensures it stays on top of all content */
    transition: all 0.3s ease;
}

.header-inner-container {
    display: flex;
    align-items: center;
}

/* Header Container Alignment */
.header-container {
    /* max-width: 1200px; */
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo Styling */
.header-logo {
    height: 40px; /* Adjust based on your logo design */
    display: block;
}

/* Navigation Links */
.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #4a4a4a;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.2s ease;
}

.nav-menu a:hover, 
.nav-menu a.active {
    color: #2e7d32; /* Beautiful fresh green accent color */
}

/* Right Action Buttons */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-secondary {
    text-decoration: none;
    color: #2e7d32;
    font-weight: 600;
    font-size: 15px;
    padding: 10px 20px;
}

.btn-primary {
    text-decoration: none;
    background-color: #2e7d32; /* Primary green button */
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
    padding: 10px 22px;
    border-radius: 25px; /* Clean rounded pill shape */
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.2);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn-primary:hover {
    background-color: #1b5e20; /* Slightly darker green on hover */
    transform: translateY(-1px);
}

/* Content spacing so the fixed header doesn't cover top text */
.content-wrapper {
    /* margin-top: 80px; Adjust to match header height */
    /* padding: 40px 20px; */

}

.logo-icon {
    width: 60px;
    height: 60px;
    background-color: #e4c111; /* Put whatever overlay color you want here */
    
    /* Applies the PNG as a mask layer */
    -webkit-mask-image: url('../imgs/logo.png');
    mask-image: url('../imgs/logo.png');
    
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

/* Container link alignment */
.logo-link {
    display: flex;
    align-items: center;
    gap: 10px; /* Space between the logo icon and the text */
    text-decoration: none; /* Removes underline from the link text */
}

/* Typography for the Brand Name beside the logo */
.logo-text {
    font-family: "Share Tech", sans-serif;
    font-size: 45px;
    font-weight: 800;
    margin-top: 10px;
    color: #1b5e20;
    letter-spacing: -0.5px;
    transition: color 0.2s ease;
}

/* Optional hover effect: slightly shifts color when users hover over the logo link */
.logo-link:hover .logo-text {
    color: #2e7d32;   /* Vibrant green on hover */
}

/* ==========================================
   Responsive Base Container 
   ========================================== */
.main-container {
    width: 100%;
    max-width: 1200px;       /* Matches the header max-width perfectly */
    margin-right: auto;
    margin-left: auto;
    padding-right: 24px;     /* Side margins for tablets and mobile screens */
    padding-left: 24px;
}

/* ==========================================
   Hero Banner Section 
   ========================================== */
.hero-section {
    width: 100%;
    overflow: hidden;
    background: #003D39
}

/* Banner Container */
.banner {
    background-color: #003d29; /* Dark green background */
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 60px;
    /* border-radius: 12px;
    max-width: 1200px;
    margin: 20px auto; */
    gap: 40px;
}

/* Left Side Content */
.banner-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.banner-heading {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    max-width: 380px;
}

.banner-button {
    background-color: #008a00; /* Vibrant green CTA button */
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 16px 36px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 20px;
    transition: background-color 0.2s ease;
}

.banner-button:hover {
    background-color: #007300;
}

.banner-disclaimer {
    font-size: 0.85rem;
    color: #e0e0e0;
    opacity: 0.9;
}

/* Right Side Image Container */
.banner-image-wrapper {
    flex: 1.2;
    display: flex;
    justify-content: flex-end;
}

.banner-image-wrapper img {
    width: 100%;
    height: 100%;
    max-height: 260px;
    object-fit: cover;
    border-radius: 20px; /* Soft rounded corners on the image */
}

/* Responsive adjustments for mobile/smaller screens */
@media (max-width: 768px) {
    .banner {
    flex-direction: column;
    padding: 30px 20px;
    text-align: center;
    }

    .banner-image-wrapper {
    width: 100%;
    }

    .banner-heading {
    font-size: 1.75rem;
    }
}

/* Full-width image handling with a friendly, bright atmosphere */
.hero-bg {
    width: 100%;
    min-height: 480px;       /* Substantial height for the title area */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;    /* Vertically centers the text inside the hero banner */
}

/* Soft white/bright overlay to ensure text stays highly readable over any imagery */
.hero-overlay {
    width: 100%;
    height: 100%;
    padding: 60px 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.40) 0%, rgba(255, 255, 255, 0.2) 100%);
}

/* Hero Content & Typography */
.hero-content {
    max-width: 600px;        /* Keeps text neatly wrapped and easy to read */
    animation: fadeInUp 0.8s ease-out; /* Smooth entrance animation */
}

.hero-title {
    font-size: 64px;         /* Very big, high-impact font size */
    font-weight: 800;
    color: #1b5e20;          /* Deep rich green for powerful brand presence */
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.hero-slogan {
    font-size: 22px;         /* Distinctly smaller but highly legible slogan */
    font-weight: 500;
    color: #4a4a4a;
    line-height: 1.4;
}

/* Entrance Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   Responsive Breakpoints
   ========================================== */
@media (max-width: 768px) {
    .hero-bg {
        min-height: 380px;   /* Slightly shorter wrapper on mobile device views */
    }
    
    .hero-title {
        font-size: 44px;     /* Responsively scales down text size gracefully */
    }

    .hero-slogan {
        font-size: 18px;
    }
    
    .hero-overlay {
        background: rgba(255, 255, 255, 0.5); /* Solid clear coating over mobile layout */
    }
}

/* ==========================================
   Responsive Navigation Styles
   ========================================== */

/* Hamburger Button Styling (Injected via JS) */
.menu-toggle {
    display: none; /* Hidden on desktop */
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: 15px;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: #4a4a4a;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hamburger to 'X' Animation */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Breakpoint */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex; /* Display hamburger on mobile */
    }

    .nav-menu {
        position: absolute;
        top: 100%; /* Sits exactly below the header */
        left: 0;
        width: 100%;
        background-color: #ffffff;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        padding: 20px;
        
        /* Hidden state */
        display: none;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    /* When menu is active */
    .nav-menu.open {
        display: block;
        opacity: 1;
        transform: translateY(0);
    }

    /* Stack links vertically */
    .nav-menu ul {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        align-items: flex-start;
    }

    .nav-menu ul li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 8px 0;
        width: 100%;
        font-size: 16px;
    }

    /* Compact actions for smaller mobile screens */
    .btn-secondary {
        padding: 8px 12px;
        font-size: 14px;
    }
    .btn-primary {
        padding: 8px 16px;
        font-size: 14px;
    }
}




/* ==========================================
   Split Feature Section
   ========================================== */
.feature-section {
    padding: 80px 0;
    /* background-color: #ffffff; Clean white background */
}

/* Flexbox/Grid alignment for side-by-side presentation */
.feature-grid {
    display: flex;
    align-items: center;
    gap: 60px; /* Generous breathing room between image and text */
}

/* Left Side: Image Layout */
.feature-image-area {
    flex: 1;
    width: 100%;
}

.feature-img {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
    border-radius: 16px; /* Smooth rounded corners matching modern UI/UX design */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); /* Subtle, premium lift */
}

/* Right Side: Text Layout */
.feature-text-area {
    flex: 1;
    width: 100%;
}

.feature-title {
    font-size: 38px; /* Large, bold section heading */
    font-weight: 700;
    color: #1b5e20; /* Deep rich green accent */
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.feature-paragraph {
    font-size: 16px;
    color: #555555; /* Soft, readable gray text */
    line-height: 1.6;
    margin-bottom: 16px;
}

.feature-paragraph:last-child {
    margin-bottom: 0; /* Clears bottom margin on the final block of text */
}

/* ==========================================
   Responsive Feature Breakpoint (992px)
   ========================================== */
@media (max-width: 992px) {
    .feature-section {
        padding: 50px 0;
    }
    
    .feature-grid {
        flex-direction: column; /* Stacks image on top of text on tablets and phones */
        gap: 30px;
    }
    
    .feature-title {
        font-size: 30px; /* Scales down font sizes smoothly on smaller views */
        margin-bottom: 16px;
    }
}


/* ==========================================
   Testimonials Slider Section
   ========================================== */
.testimonials-section {
    padding: 80px 0;
    /* background-color: #f9f9f9; Soft contrast background */
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: #1b5e20;
}

/* Slider Controls */
.slider-arrows {
    display: flex;
    gap: 12px;
}

.arrow-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #e0e0e0;
    background-color: #ffffff;
    color: #4a4a4a;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}

.arrow-btn:hover {
    background-color: #2e7d32;
    color: #ffffff;
    border-color: #2e7d32;
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.2);
}

/* Horizontal Track Setup */
.testimonials-slider {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory; /* Native smooth snapping alignment */
    padding: 10px 4px 30px 4px;
    scrollbar-width: none; /* Invisibly hides default thick scrollbar on Firefox */
}

.testimonials-slider::-webkit-scrollbar {
    display: none; /* Invisibly hides default thick scrollbar on Chrome/Safari/Edge */
}

/* Premium Card Item Styles */
.testimonial-card {
    flex: 0 0 calc(33.333% - 16px); /* Displays 3 cards cleanly on desktop */
    min-width: 300px;
    background-color: #ffffff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    scroll-snap-align: start; /* Locks smoothly on edge alignment */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #f0f0f0;
}

.testimonial-text {
    font-size: 16px;
    color: #555555;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 24px;
}

/* Author/Client Area formatting */
.client-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.client-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%; /* Perfect circle round graphic formatting */
    object-fit: cover;
    background-color: #eceff1;
}

.client-name {
    font-size: 16px;
    font-weight: 600;
    color: #2d2d2d;
}

.client-role {
    font-size: 13px;
    color: #888888;
}

/* ==========================================
   Responsive Track Breakpoints
   ========================================== */
@media (max-width: 992px) {
    .testimonial-card {
        flex: 0 0 calc(50% - 12px); /* Drops to 2 cards displaying on tablets */
    }
}

@media (max-width: 640px) {
    .testimonials-section {
        padding: 50px 0;
    }
    .testimonial-card {
        flex: 0 0 100%; /* Adapts to a crisp single item card layout on mobile phones */
    }
    .section-title {
        font-size: 26px;
    }
}




/* ==========================================
   Footer Section Layout
   ========================================== */
.main-footer {
    background-color: #003D29;
    color: #ffffff;
    padding: 70px 0 30px 0;
    border-top: 1px solid #f0f0f0;
}

/* 4-Column Flex Grid Setup */
.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col {
    flex: 1; /* Equal baseline columns */
}

/* Adjusting widths proportionally */
.footer-col-wide {
    flex: 1.5; 
}

.footer-col-narrow {
    flex: 0.8;
}

/* Typography & Titles */
.footer-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
}

/* Column 1 Elements (Brand & Socials) */
.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo {
    width: 35px;
    height: 35px;
    background-color: #e4c111; /* Reuses your SVG mask dynamic background setup */
}

.brand-name {
    font-family: "Share Tech", sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
    margin-top: 10px;
}

.brand-text, .download-text {
    font-size: 14px;
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 280px;
}

/* Social Icons Area */
.social-links {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 36px;
    height: 36px;
    background-color: #f5f5f5;
    border-radius: 50%; /* Smooth circle backgrounds */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: bold;
    color: #555555;
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-icon:hover {
    background-color: #2e7d32;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Lists Links Structure */
.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    text-decoration: none;
    font-size: 14px;
    color: #f5f5f5;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #2e7d32;
}

/* Column 4: App Download Buttons styling */
.store-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 180px;
}

.store-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #111111; /* Sleek store aesthetic matching app market standards */
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.store-btn:hover {
    background-color: #2e7d32;
}

.store-sub {
    font-size: 9px;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.store-main {
    font-size: 14px;
    font-weight: 600;
}

/* Bottom bar copyright statement wrapper */
.footer-bottom {
    padding-top: 25px;
    border-top: 1px solid #f0f0f0;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: #888888;
}

/* ==========================================
   Responsive Breakpoints
   ========================================== */
@media (max-width: 992px) {
    .footer-grid {
        flex-wrap: wrap; /* Allows sections to split rows nicely on tablet sizes */
    }
    .footer-col {
        flex: 0 0 calc(50% - 20px); /* Sets split layout pairs */
    }
}

@media (max-width: 576px) {
    .main-footer {
        padding: 50px 0 20px 0;
    }
    .footer-grid {
        flex-direction: column; /* Clear down column grid stacked layout on narrow screens */
        gap: 35px;
    }
    .footer-col {
        flex: 1 0 100%;
    }
    .footer-title {
        margin-bottom: 16px;
    }
}


/* ==========================================
   Accordion FAQ Section Styles
   ========================================== */
.faq-section {
    padding: 60px 0;
    max-width: 900px; /* Aligns layout neatly down middle area */
    margin: 0 auto;
}

.faq-main-title {
    font-size: 36px;
    font-weight: 600;
    color: #2d2d2d;
    margin-bottom: 32px;
    letter-spacing: -0.5px;
}

/* Accordion Group Layout */
.faq-accordion-container {
    display: flex;
    flex-direction: column;
    gap: 12px; /* Perfect spacing gap separating rows precisely */
}

/* Individual Box Track Rows */
.faq-item {
    background-color: #f7f7f7; /* Very light grey card tracking base */
    border: 1px solid #e2e2e2;
    border-radius: 6px;
    overflow: hidden;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.faq-item:hover {
    border-color: #d0d0d0;
    background-color: #f3f3f3;
}

/* Interactive Trigger Bars */
.faq-trigger {
    width: 100%;
    background: transparent;
    border: none;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left; /* Respects default reading direction alignment */
}

/* Multi-language alignment setup helper handles RTL shifts natively */
html[dir="rtl"] .faq-trigger {
    text-align: right;
}

.faq-question {
    font-size: 16px;
    font-weight: 500;
    color: #333333;
}

/* Orange Custom Down Arrow Icon Chevron styling */
.faq-icon {
    position: relative;
    width: 12px;
    height: 12px;
    display: block;
    flex-shrink: 0;
}

/* Building arrow lines natively without pulling heavy imagery */
.faq-icon::before {
    content: '';
    position: absolute;
    top: 2px;
    right: 0;
    width: 8px;
    height: 8px;
    border-right: 2px solid #e65100; /* Beautiful deep premium orange icon path */
    border-bottom: 2px solid #e65100;
    transform: rotate(45deg);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Active Open panel states style adjustments */
.faq-item.active {
    background-color: #ffffff; /* Turns clean pure white when open */
    border-color: #2e7d32; /* Highlights with brand green accent border */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.faq-item.active .faq-question {
    color: #1b5e20; /* Brand green text highlight on open query */
    font-weight: 600;
}

/* Flips the chevron arrow line completely upside down upon activation loop */
.faq-item.active .faq-icon::before {
    transform: translateY(4px) rotate(-135deg);
}

/* Hidden Collapsible panels text wrapper block tracking */
.faq-panel {
    max-height: 0; /* Keeps panels fully hidden by default */
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-content {
    padding: 0 24px 20px 24px;
    font-size: 15px;
    line-height: 1.6;
    color: #555555;
}

/* Small adjustments layout wrapper for tighter phone screen boundaries */
@media (max-width: 600px) {
    .faq-main-title {
        font-size: 28px;
        margin-bottom: 20px;
    }
    .faq-trigger {
        padding: 14px 18px;
    }
    .faq-question {
        font-size: 14px;
    }
}


/* Container for the news ticker */
.ticker-container {
    display: flex;
    align-items: center;
    background-color: #0f2c15bb;
    color: #ffffff;
    height: 48px;
    overflow: hidden;
    border-bottom: 2px solid #008a00;
}

/* Static label on the left */
.ticker-title {
    background-color: #008a00;
    color: white;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    white-space: nowrap;
    z-index: 2;
}

/* Track that holds the scrolling content */
.ticker-track-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.ticker-track {
    display: flex;
    width: max-content;
}

/* 1. Define left-to-right animation */
@keyframes scrollRight {
    0%   { transform: translateX(0%); }
    100% { transform: translateX(100%); }
}

/* 2. Define right-to-left animation */
@keyframes scrollLeft {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Classes applied dynamically by PHP */
.scroll-right {
    animation: scrollRight 60s linear infinite;
}

.scroll-left {
    animation: scrollLeft 60s linear infinite;
}

/* Pause scrolling on hover so users can read/click */
.ticker-container:hover .ticker-track {
    animation-play-state: paused;
}

/* Individual news item styling */
.ticker-item {
    padding: 0 30px;
    white-space: nowrap;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.ticker-item a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.2s ease;
}


/* The infinite scrolling keyframe animation */
@keyframes scroll {
    0% {
    transform: translateX(0);
    }
    100% {
    transform: translateX(-50%);
    }
}

/* Main Banner Container */
.app-banner {
    background-color: #007300; /* Soft mint green background */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
    border-radius: 12px;
    max-width: 1200px;
    margin: 20px auto;
    overflow: hidden;
    min-height: 120px;
}

/* Left Side: Phone Graphic */
.banner-left {
    flex: 1;
    display: flex;
    align-items: flex-end;
}

.banner-left img {
    max-height: 110px;
    width: auto;
    object-fit: contain;
}

/* Middle: Text Content */
.banner-center {
    /* flex: 2; */
    text-align: center;
    padding: 0 20px;
}

.banner-heading {
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff; /* Dark green/charcoal text */
    /* text-decoration: underline; */
    margin-bottom: 6px;
    letter-spacing: -0.3px;
}

.banner-subtitle {
    font-size: 1.05rem;
    color: #ffffff;
    font-weight: 400;
}

/* Right Side: QR Code */
.banner-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.qr-code {
    /* width: 90px;
    height: 90px;
    border-radius: 12px;
    object-fit: cover;
    background-color: #ffffff;
    padding: 4px; */
        max-height: 110px;
    width: auto;
    object-fit: contain;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .app-banner {
    flex-direction: column;
    text-align: center;
    padding: 24px;
    gap: 16px;
    }

    .banner-left, .banner-right {
    justify-content: center;
    }

    .banner-heading {
    font-size: 1.3rem;
    }
}


.stores-section {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1B5E20;
    margin-bottom: 24px;
    padding-left: 20px;
}

/* Slider Container */
.slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

/* Continuous Motion Track */
.slider-track {
    padding:20px;
    display: flex;
    gap: 16px;
    width: max-content;
    animation: autoScroll 25s linear infinite;
}

.slider-track-ar {
    padding:20px;
    display: flex;
    gap: 16px;
    width: max-content;
    animation: autoScrollAr 25s linear infinite;
}

/* Pause animation on hover */
.slider-container:hover .slider-track {
    animation-play-state: paused;
}

.slider-container:hover .slider-track-ar {
    animation-play-state: paused;
}

/* Store Item Card */
.store-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100px;
    text-decoration: none;
    color: #333;
    flex-shrink: 0;
}

/* Logo Box Container */
.logo-wrapper {
    position: relative;
    width: 88px;
    height: 88px;
    border-radius: 16px;
    border: 1px solid #e0e0e0;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    padding: 8px;
}

.logo-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Starburst Discount Badge */
.badge {
    position: absolute;
    top: -12px;
    right: -12px;
    background-color: #ffd200;
    color: #000;
    font-size: 0.65rem;
    font-weight: 800;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1;
    /* Starburst shape using clip-path */
    clip-path: polygon(
    50% 0%, 63% 12%, 81% 6%, 84% 23%, 100% 30%, 93% 47%, 
    100% 63%, 85% 72%, 82% 90%, 65% 88%, 50% 100%, 35% 88%, 
    18% 90%, 15% 72%, 0% 63%, 7% 47%, 0% 30%, 16% 23%, 19% 6%, 37% 12%
    );
}

/* Text details under the logo */
.store-name {
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
    margin-bottom: 2px;
    /* Clamp text to 2 lines max */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.store-info {
    font-size: 0.75rem;
    color: #666;
    text-align: center;
}

/* Yellow Highlight Tag */
.tag-no-markup {
    background-color: #ffd200;
    color: #000;
    font-weight: 700;
    font-size: 0.7rem;
    padding: 1px 4px;
    border-radius: 2px;
    display: inline-block;
    margin-top: 2px;
}

/* Infinite loop animation keyframes */
@keyframes autoScroll {
    0% {
    transform: translateX(0);
    }
    100% {
    transform: translateX(-50%);
    }
}

@keyframes autoScrollAr {
    0% {
    transform: translateX(0%);
    }
    100% {
    transform: translateX(50%);
    }
}


/* Form Container */
.form-card {
    background: #ffffff;
    width: 100%;
    max-width: 520px;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.form-header {
    margin-bottom: 28px;
}

.form-header h2 {
    color: #0d2b1d;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.form-header p {
    color: #666;
    font-size: 0.95rem;
}

/* Form Group Styling */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.95rem;
    border: 1px solid #dcdfe4;
    border-radius: 8px;
    outline: none;
    transition: all 0.2s ease;
    background-color: #fafafa;
}

.form-control:focus {
    border-color: #008a00;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(0, 138, 0, 0.15);
}

textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

/* Radio Buttons (Yes/No Question) */
.radio-group {
    display: flex;
    gap: 16px;
}

.radio-card {
    flex: 1;
    position: relative;
}

.radio-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border: 1px solid #dcdfe4;
    border-radius: 8px;
    background-color: #fafafa;
    cursor: pointer;
    font-weight: 600;
    color: #555;
    transition: all 0.2s ease;
}

.radio-card input[type="radio"]:checked + .radio-label {
    border-color: #008a00;
    background-color: #f0fdf4;
    color: #008a00;
}

/* File Upload Box */
.file-upload-box {
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    background-color: #fafafa;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.file-upload-box:hover {
    border-color: #008a00;
    background-color: #f0fdf4;
}

.file-upload-box input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.file-icon {
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.file-text {
    font-size: 0.85rem;
    color: #666;
}

.file-text span {
    color: #008a00;
    font-weight: 600;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    background-color: #008a00;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    padding: 14px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.2s ease;
}

.submit-btn:hover {
    background-color: #007300;
}


/* Base Notification Overlay Styling */
.toast-overlay {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    z-index: 9999;
    
    display: flex;
    align-items: center;
    gap: 12px;
    
    min-width: 320px;
    max-width: 90%;
    padding: 14px 20px;
    border-radius: 10px;
    
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    
    /* Smooth Animation Transitions */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
}

/* Class added via JavaScript to trigger appearance */
.toast-overlay.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* SUCCESS STYLE */
.toast-overlay.toast-success {
    background-color: #008a00; /* Vibrant Green */
}

/* ERROR STYLE */
.toast-overlay.toast-error {
    background-color: #d93025; /* Crimson Red */
}

/* Icon styling */
.toast-icon {
    font-size: 1.2rem;
}

/* Close button styling */
.toast-close {
    margin-left: auto;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
    padding: 0;
    line-height: 1;
}

.toast-close:hover {
    opacity: 1;
}



        /* هيدر المدونة البارز */
        .blog-header {
            background: linear-gradient(135deg, #1e293b, #0f172a);
            color: white;
            text-align: center;
            padding: 50px 20px;
            margin-bottom: 30px;
        }
        .blog-header h1 {
            font-size: 32px;
            margin-bottom: 10px;
            color: #22c55e;
        }
        .blog-header p {
            font-size: 16px;
            color: #94a3b8;
            max-width: 600px;
            margin: 0 auto;
        }

        /* المحتوى الرئيسي */
        .container {
            max-width: 1100px;
            margin: 0 auto;
            padding: 0 20px 50px 20px;
        }

        /* أزرار التصفية (Categories) */
        .categories {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-bottom: 30px;
            flex-wrap: wrap;
        }
        .cat-btn {
            background: #fff;
            border: 1px solid #cbd5e1;
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.3s ease;
            color: #475569;
        }
        .cat-btn:hover, .cat-btn.active {
            background: #22c55e;
            color: white;
            border-color: #22c55e;
        }

        /* شبكة المقالات */
        .blog-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 25px;
        }

        /* كارت المقال المطور */
        .blog-card {
            background: #ffffff;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 12px rgba(0,0,0,0.04);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            display: flex;
            flex-direction: column;
            border: 1px solid #e2e8f0;
        }
        .blog-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.08);
        }

        /* مكان صورة المقال (اختياري لو حابب تحط صور بعدين) */
        .blog-img-placeholder {
            height: 160px;
            background: #e2e8f0;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #64748b;
            font-size: 14px;
            font-weight: bold;
        }

        .blog-content {
            padding: 22px;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
        }

        .blog-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 12px;
            color: #64748b;
            margin-bottom: 10px;
        }
        .blog-tag {
            background: #dcfce7;
            color: #15803d;
            padding: 2px 8px;
            border-radius: 4px;
            font-weight: 600;
        }

        .blog-title {
            font-size: 18px;
            color: #0f172a;
            margin-bottom: 12px;
            font-weight: 700;
            line-height: 1.4;
        }

        .blog-excerpt {
            font-size: 14px;
            color: #475569;
            margin-bottom: 20px;
            flex-grow: 1;
            line-height: 1.6;
        }

        .read-more-btn {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            color: #16a34a;
            text-decoration: none;
            font-weight: 700;
            font-size: 14px;
            transition: color 0.2s;
        }
        .read-more-btn:hover {
            color: #15803d;
        }

        


        
        .contact-container {
            max-width: 600px;
            margin: 40px auto;
            background: #ffffff;
            padding: 30px;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
            border-top: 5px solid #28a745;
        }
        h2 {
            text-align: center;
            color: #222;
            margin-bottom: 10px;
        }
        p.subtitle {
            text-align: center;
            color: #666;
            margin-bottom: 25px;
            font-size: 14px;
        }
        .whatsapp-btn {
            display: block;
            background-color: #25d366;
            color: white;
            text-align: center;
            padding: 12px;
            border-radius: 8px;
            text-decoration: none;
            font-weight: bold;
            font-size: 16px;
            margin-bottom: 20px;
            transition: background 0.3s;
        }
        .whatsapp-btn:hover {
            background-color: #20ba5a;
        }
        .info-box {
            background: #f4f6f8;
            padding: 15px;
            border-radius: 8px;
            margin-bottom: 25px;
            font-size: 14px;
            line-height: 1.6;
        }
        .form-group {
            margin-bottom: 15px;
        }
        label {
            display: block;
            margin-bottom: 5px;
            font-weight: 600;
            font-size: 14px;
        }
        input, textarea {
            width: 100%;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 6px;
            font-size: 14px;
        }
        input:focus, textarea:focus {
            border-color: #28a745;
            outline: none;
        }
        button.submit-btn {
            background-color: #333;
            color: white;
            border: none;
            padding: 12px;
            width: 100%;
            border-radius: 6px;
            font-size: 16px;
            cursor: pointer;
            transition: background 0.3s;
        }
        button.submit-btn:hover {
            background-color: #444;
        }

.privacy-container {
            max-width: 700px;
            margin: 40px auto;
            background: #ffffff;
            padding: 35px;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
            border-top: 5px solid #28a745;
        }

        p.subtitle {
            text-align: center;
            color: #666;
            margin-bottom: 30px;
            font-size: 14px;
        }

.terms-container {
            max-width: 700px;
            margin: 40px auto;
            background: #ffffff;
            padding: 35px;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
            border-top: 5px solid #28a745;
        }


/* LOGIN FORM STYLING */
    .login-card {
      background: #ffffff;
      width: 100%;
      max-width: 380px;
      padding: 30px;
      border-radius: 12px;
      box-shadow: 0 8px 24px rgba(0,0,0,0.08);
      margin-top: 60px;
    }

    .login-card h2 {
      margin-bottom: 20px;
      color: #0d2b1d;
      text-align: center;
    }

    .form-group {
      margin-bottom: 16px;
    }

    .form-group label {
      display: block;
      font-size: 0.85rem;
      font-weight: 600;
      margin-bottom: 6px;
    }

    .form-control {
      width: 100%;
      padding: 10px 12px;
      border: 1px solid #ccc;
      border-radius: 6px;
      font-size: 0.95rem;
    }

    .login-btn {
      width: 100%;
      background-color: #008a00;
      color: white;
      border: none;
      padding: 12px;
      font-size: 1rem;
      font-weight: bold;
      border-radius: 6px;
      cursor: pointer;
      transition: background 0.2s;
    }

    .login-btn:hover {
      background-color: #007300;
    }

    .error-msg {
      background-color: #fde8e8;
      color: #d93025;
      padding: 10px;
      border-radius: 6px;
      font-size: 0.85rem;
      margin-bottom: 16px;
      text-align: center;
    }

    .success-msg {
      background-color: #e6f4ea;
      color: #008a00;
      padding: 10px 16px;
      border-radius: 6px;
      margin-bottom: 20px;
      font-weight: 600;
    }

    /* TABLE DASHBOARD STYLING */
    .dashboard-container {
      width: 100%;
      max-width: 1100px;
      background: white;
      padding: 30px;
      border-radius: 12px;
      box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    }

    .dashboard-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 24px;
      border-bottom: 2px solid #f0f0f0;
      padding-bottom: 16px;
    }

    .logout-btn {
      background-color: #d93025;
      color: white;
      text-decoration: none;
      padding: 8px 16px;
      border-radius: 6px;
      font-size: 0.85rem;
      font-weight: 600;
    }

    .table-responsive {
      overflow-x: auto;
    }

    table {
      width: 100%;
      border-collapse: collapse;
      text-align: left;
      font-size: 0.9rem;
    }

    th, td {
      padding: 12px 16px;
      border-bottom: 1px solid #eee;
    }

    th {
      background-color: #f8f9fa;
      font-weight: 700;
      color: #444;
    }

    tr:hover {
      background-color: #fcfcfc;
    }

    .delete-btn {
      background-color: #dc3545;
      color: white;
      border: none;
      padding: 6px 12px;
      border-radius: 4px;
      cursor: pointer;
      font-weight: 600;
      font-size: 0.8rem;
    }

    .delete-btn:hover {
      background-color: #c82333;
    }

    .empty-state {
      text-align: center;
      padding: 40px;
      color: #777;
    }