/* Nathour Landing Page Styles */
:root {
    --nathour-primary: #0A4D8C;
    --nathour-primary-dark: #083d6e;
    --nathour-accent: #14B8A6;
    --nathour-foreground: #0F172A;
    --nathour-muted: #64748B;
    --nathour-border: #E2E8F0;
    --nathour-background: #FFFFFF;
    --nathour-secondary: #F1F5F9;
}

/* Reset for plugin scope */
.nathour-landing * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.nathour-landing {
    font-family: 'Tajawal', 'Arial', sans-serif;
    direction: rtl;
    text-align: right;
    line-height: 1.6;
    color: var(--nathour-foreground);
}

/* Container */
.nathour-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Hero Section */
.nathour-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--nathour-primary) 0%, var(--nathour-primary-dark) 100%);
    color: #ffffff;
    padding: 84px 0 48px;
    text-align: center;
}

.nathour-hero::before,
.nathour-hero::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    pointer-events: none;
}

.nathour-hero::before {
    width: 420px;
    height: 420px;
    left: 8%;
    bottom: -220px;
}

.nathour-hero::after {
    width: 520px;
    height: 520px;
    right: 6%;
    top: -260px;
}

.nathour-hero .nathour-container {
    position: relative;
    z-index: 1;
}

.nathour-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-weight: 700;
    color: #ffffff;
    margin: 0 auto 26px;
}

.nathour-hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--nathour-accent);
    display: inline-block;
}

.nathour-hero-title {
    font-size: clamp(2.1rem, 4.2vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 18px;
    color: #ffffff !important;
}

.nathour-hero-title span {
    display: block;
}

.nathour-hero-accent {
    color: var(--nathour-accent) !important;
}

.nathour-hero-subtitle {
    font-size: 1.15rem;
    max-width: 760px;
    margin: 0 auto 26px;
    color: rgba(255, 255, 255, 0.88) !important;
}

.nathour-hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 560px;
    margin: 0 auto;
}

.nathour-hero-buttons .nathour-btn {
    width: 100%;
    justify-content: center;
    padding: 18px 24px;
    border-radius: 16px;
    font-size: 1.15rem;
}

.nathour-hero-buttons .nathour-btn-outline {
    border-color: rgba(255, 255, 255, 0.45);
}

.nathour-hero-stats {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin: 34px auto 0;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    max-width: 760px;
}

.nathour-stat {
    flex: 1;
    text-align: center;
    padding-inline: 16px;
}

.nathour-stat:not(:first-child) {
    border-inline-start: 1px solid rgba(255, 255, 255, 0.18);
}

.nathour-stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff !important;
    line-height: 1.1;
}

.nathour-stat-label {
    margin-top: 6px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.78) !important;
}

@media (max-width: 520px) {
    .nathour-hero { padding: 68px 0 40px; }
    .nathour-hero-badge { font-size: 0.95rem; padding: 12px 16px; }
    .nathour-hero-buttons .nathour-btn { padding: 16px 18px; font-size: 1.05rem; }
    .nathour-stat-value { font-size: 1.8rem; }
}

.nathour-hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.nathour-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    min-width: 200px;
}

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

.nathour-btn-primary:hover {
    background: #0d9488;
    transform: translateY(-2px);
}

.nathour-btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
}

.nathour-btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
}

/* Award Section */
.nathour-award {
    background: white;
    padding: 48px 16px;
    text-align: center;
}

.nathour-award img {
    max-width: 280px;
    height: auto;
    margin: 0 auto;
    display: block;
}

.nathour-award h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--nathour-primary);
    margin-top: 20px;
}

.nathour-award p {
    color: var(--nathour-muted);
    font-size: 0.95rem;
}

/* Lead Form */
.nathour-lead-form {
    background: var(--nathour-secondary);
    padding: 48px 16px;
}

.nathour-form-card {
    background: white;
    border-radius: 16px;
    padding: 32px 24px;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.nathour-form-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 24px;
    color: var(--nathour-foreground);
}

.nathour-form-group {
    margin-bottom: 16px;
}

.nathour-form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--nathour-foreground);
}

.nathour-form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--nathour-border);
    border-radius: 8px;
    font-size: 1rem;
    direction: rtl;
    transition: border-color 0.3s;
}

.nathour-form-group input:focus {
    outline: none;
    border-color: var(--nathour-primary);
}

.nathour-form-group input::placeholder {
    color: var(--nathour-muted);
}

.nathour-submit-btn {
    width: 100%;
    padding: 16px;
    background: var(--nathour-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 8px;
}

.nathour-submit-btn:hover {
    background: var(--nathour-primary-dark);
}

/* Trusted Companies */
.nathour-trusted {
    padding: 48px 0;
    background: white;
    overflow: hidden;
}

.nathour-trusted h3 {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--nathour-foreground);
    margin-bottom: 32px;
}

.nathour-logos-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.nathour-logos-track {
    display: flex;
    gap: 48px;
    animation: scroll-left 25s linear infinite;
}

.nathour-logo-item {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
}

.nathour-logo-item img {
    width: 70%;
    height: 70%;
    object-fit: contain;
}

/* Portfolio Section */
.nathour-portfolio {
    padding: 48px 16px;
    background: var(--nathour-secondary);
}

.nathour-portfolio h2 {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--nathour-foreground);
    margin-bottom: 32px;
}

.nathour-projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.nathour-project-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.nathour-project-image {
    height: 200px;
    overflow: hidden;
}

.nathour-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nathour-project-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.nathour-project-content {
    padding: 20px;
}

.nathour-project-content h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--nathour-foreground);
}

.nathour-project-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--nathour-muted);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.nathour-project-description {
    color: var(--nathour-foreground);
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.nathour-project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.nathour-tag {
    background: var(--nathour-secondary);
    color: var(--nathour-primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.nathour-regions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.nathour-region {
    background: var(--nathour-primary);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
}

/* Testimonials */
.nathour-testimonials {
    padding: 48px 16px;
    background: white;
}

.nathour-testimonials h2 {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 32px;
    color: var(--nathour-foreground);
}

.nathour-testimonials-grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.nathour-testimonial-card {
    flex-shrink: 0;
    width: 280px;
    background: var(--nathour-secondary);
    border-radius: 16px;
    padding: 24px;
    scroll-snap-align: start;
}

.nathour-testimonial-stars {
    color: #FBBF24;
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.nathour-testimonial-text {
    color: var(--nathour-foreground);
    font-size: 0.95rem;
    margin-bottom: 16px;
    line-height: 1.7;
}

.nathour-testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nathour-author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--nathour-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.nathour-author-info h5 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--nathour-foreground);
}

.nathour-author-info span {
    font-size: 0.85rem;
    color: var(--nathour-muted);
}

/* Why Choose Us */
.nathour-why-us {
    padding: 48px 16px;
    background: var(--nathour-secondary);
}

.nathour-why-us h2 {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 32px;
    color: var(--nathour-foreground);
}

.nathour-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.nathour-feature-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nathour-feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(10, 77, 140, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    color: var(--nathour-primary);
}

.nathour-feature-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--nathour-foreground);
}

/* CTA Form */
.nathour-cta {
    padding: 48px 16px;
    background: white;
}

.nathour-cta-card {
    background: var(--nathour-secondary);
    border-radius: 20px;
    padding: 32px 24px;
    max-width: 500px;
    margin: 0 auto;
}

.nathour-cta h3 {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--nathour-foreground);
}

.nathour-business-types {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.nathour-business-type {
    background: white;
    border: 2px solid var(--nathour-border);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.nathour-business-type:hover {
    border-color: var(--nathour-primary);
}

.nathour-business-type.active {
    border-color: var(--nathour-primary);
    background: rgba(10, 77, 140, 0.05);
}

.nathour-business-type svg {
    width: 32px;
    height: 32px;
    color: var(--nathour-muted);
    margin-bottom: 8px;
}

.nathour-business-type.active svg {
    color: var(--nathour-primary);
}

.nathour-business-type span {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--nathour-foreground);
}

/* Footer */
.nathour-footer {
    background: var(--nathour-foreground);
    color: white;
    padding: 48px 16px 24px;
}

.nathour-footer-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.nathour-footer-logo {
    margin-bottom: 24px;
}

.nathour-footer-logo img {
    height: 60px;
    width: auto;
}

.nathour-footer-logo h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-top: 8px;
}

.nathour-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.nathour-contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.nathour-contact-item:hover {
    color: white;
}

.nathour-contact-icon {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nathour-footer-map {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
}

.nathour-footer-map iframe {
    width: 100%;
    height: 200px;
    border: 0;
}

.nathour-footer-cta {
    margin-bottom: 32px;
}

.nathour-footer-copyright {
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

/* WhatsApp Button */
.nathour-whatsapp-btn {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 9999;
}

.nathour-whatsapp-btn a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: all 0.3s;
    text-decoration: none;
}

.nathour-whatsapp-btn a:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.nathour-whatsapp-btn svg {
    width: 28px;
    height: 28px;
    fill: white;
}

/* Responsive */
@media (min-width: 640px) {
    .nathour-hero h1 {
        font-size: 2.5rem;
    }
    
    .nathour-hero-buttons {
        flex-direction: row;
        justify-content: center;
    }
    
    .nathour-projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .nathour-features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .nathour-hero {
        padding: 80px 0 100px;
    }
    
    .nathour-hero h1 {
        font-size: 3rem;
    }
}

/* Hide scrollbar for testimonials */
.nathour-testimonials-grid::-webkit-scrollbar {
    display: none;
}

.nathour-testimonials-grid {
    -ms-overflow-style: none;
    scrollbar-width: none;
}


/* Ensure theme styles don't override */
.nathour-landing .nathour-hero h1,
.nathour-landing .nathour-hero h2,
.nathour-landing .nathour-hero h3,
.nathour-landing .nathour-hero p {
    color: inherit;
}


/* === Mobile horizontal overflow & RTL blank-space fix (v2) === */
.nathour-landing{
  max-width:100%;
  width:100%;
  overflow-x: hidden !important; /* prevent page-level horizontal scroll */
}

/* Ensure sections never exceed viewport */
.nathour-landing .nathour-section,
.nathour-landing .nathour-container{
  max-width:100%;
}

/* Testimonials: stable scrolling + start from right */
.nathour-testimonials-grid{
  direction: ltr !important;              /* fix rtl overflow scroll bug */
  display:flex;
  flex-direction: row-reverse;            /* start from right */
  overflow-x:auto;
  overflow-y:hidden;
  max-width:100%;
  width:100%;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.nathour-testimonial-card{
  direction: rtl;                         /* keep Arabic correct */
  flex: 0 0 auto;
}

/* Avoid accidental overflow from wide media */
.nathour-landing img,
.nathour-landing svg,
.nathour-landing video,
.nathour-landing iframe{
  max-width:100%;
}

/* Last resort: if theme sets RTL on body/html and causes initial blank area */
html, body{
  overflow-x:hidden;
}

