/* ============================================
   המקום הבטוח - סוכנות ביטוח ופיננסים
   Colors: #363847 #1C244B #43B39A #F6F6F6
   Font: Liebling + Heebo fallback
   Direction: RTL
   ============================================ */

@font-face {
    font-family: 'Liebling';
    src: url('fonts/fonnts.com-Liebling_Thin.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Liebling';
    src: url('fonts/fonnts.com-Liebling_Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Liebling';
    src: url('fonts/fonnts.com-Liebling_Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Liebling';
    src: url('fonts/fonnts.com-Liebling_Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Liebling';
    src: url('fonts/fonnts.com-Liebling_Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Liebling';
    src: url('fonts/fonnts.com-Liebling_Heavy.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Liebling';
    src: url('fonts/fonnts.com-Liebling_Black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary: #363847;
    --secondary: #1C244B;
    --accent: #43B39A;
    --accent-light: #4fd4b5;
    --accent-dark: #369e86;
    --bg-light: #F6F6F6;
    --bg-white: #ffffff;
    --text-dark: #363847;
    --text-light: #ffffff;
    --text-muted: #7a7a8a;
    --gold: #c5a76c;
    --gold-bg: #d4b87a;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-pill: 30px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Liebling', 'Heebo', 'Arial', sans-serif;
    direction: rtl;
    color: var(--text-dark);
    background: var(--bg-white);
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

ul { list-style: none; }

/* ============ HEADER - CLARIO EXACT REPLICA ============ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    /* Outer wrapper transitions padding to push the inner bar down */
    transition: padding 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0 0 0 0;
}

.site-header.scrolled {
    padding: 12px 16px 0 16px;
}

.site-header .header-bg {
    /* This is the "navbar-inner" that morphs */
    margin: 0 auto;
    will-change: transform;
    transition:
        max-width 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        background-color 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        border-radius 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        backdrop-filter 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    /* Default state: full width, transparent, no rounding */
    max-width: 1280px;
    border-radius: 0;
    border: 1px solid transparent;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
}

.site-header.scrolled .header-bg {
    /* Scrolled state: shrinks, rounds, becomes glass pill */
    max-width: 920px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03), 0 4px 16px rgba(0, 0, 0, 0.04);
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    height: 52px;
}

/* Nav links */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 4px;
}

.main-nav a {
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.main-nav a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

/* When scrolled - switch to dark text */
.site-header.scrolled .main-nav a {
    color: #6b7280;
}

.site-header.scrolled .main-nav a:hover {
    color: #1a1a1a;
    background: rgba(0, 0, 0, 0.04);
}

/* Header actions - left side */
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Dark/light mode toggle button */
.theme-toggle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: rgba(255,255,255,0.7);
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.site-header.scrolled .theme-toggle {
    color: #6B7280;
}

.site-header.scrolled .theme-toggle:hover {
    background: rgba(0, 0, 0, 0.06);
    color: #111827;
}

.theme-toggle svg {
    width: 16px;
    height: 16px;
}

/* CTA button - lime green */
.nav-cta {
    background: #c8ee44;
    color: #111827 !important;
    padding: 8px 20px !important;
    border-radius: 999px;
    font-weight: 600;
    font-size: 13px;
    border: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1.4;
}

.nav-cta:hover {
    background: #bde33a;
    box-shadow: 0 2px 8px rgba(200, 238, 68, 0.4);
    transform: translateY(-1px);
}

.nav-cta-outline {
    background: transparent !important;
    border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
    color: rgba(255,255,255,0.9) !important;
}

.nav-cta-outline:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    color: #ffffff !important;
    box-shadow: none !important;
    transform: translateY(-1px);
}

.site-header.scrolled .nav-cta-outline {
    border-color: rgba(0, 0, 0, 0.15) !important;
    color: #374151 !important;
}

.site-header.scrolled .nav-cta-outline:hover {
    background: rgba(0, 0, 0, 0.04) !important;
    border-color: rgba(0, 0, 0, 0.25) !important;
    color: #111827 !important;
}

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

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: var(--transition);
}

.site-header.scrolled .hamburger span {
    background: var(--text-dark);
}

/* ============ HERO ============ */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 0 60px 80px;
    background: #3a5a40;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    opacity: 0.85;
}

.hero-bg-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.15) 40%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: right;
    max-width: 600px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    color: white;
    line-height: 1.3;
    margin-bottom: 16px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.8);
    font-weight: 400;
    line-height: 1.7;
    text-shadow: 0 1px 10px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-cards-wrapper {
    display: none;
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1100px;
    overflow: visible;
    padding-bottom: 20px;
}

.hero-cards-track {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-card {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: var(--radius);
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    min-width: 150px;
    max-width: 160px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.hero-card:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.hero-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.hero-card span {
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
}

/* ============ ABOUT SECTION ============ */
.about-section {
    padding: 60px 24px;
    background: var(--bg-white);
    position: relative;
}

.about-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.about-col {
    text-align: center;
    padding: 20px;
}

.about-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(67,179,154,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.about-col h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.about-col p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.8;
}

.about-decorative-line {
    max-width: 800px;
    margin: 20px auto 0;
    text-align: center;
}

.decorative-curvy-line {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    display: block;
}

/* ============ MONEY TIME / SERVICES TABS ============ */
/* ============ MONEY TIME / SERVICES ============ */
.moneytime-section {
    padding: 60px 24px 40px;
    background: var(--bg-white);
}

.moneytime-top {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.moneytime-header {
    margin-bottom: 24px;
}

.moneytime-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.moneytime-header p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

.moneytime-tabs {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 32px;
}

.tab-btn {
    padding: 8px 24px;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: #9CA3AF;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn.active {
    background: var(--accent);
    color: white;
}

.tab-btn:hover:not(.active) {
    color: var(--text-dark);
    background: rgba(0,0,0,0.04);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Service image cards */
.service-image-cards {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    overflow: visible;
}

.service-images-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 20px;
}

.service-img-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 300px;
    display: flex;
    align-items: flex-end;
    padding: 24px;
    transition: var(--transition);
}

.service-img-card .card-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.service-img-card .card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(54,56,71,0.7) 0%, rgba(54,56,71,0.1) 50%, transparent 100%);
    z-index: 1;
}

.service-img-card span {
    position: relative;
    z-index: 2;
    color: white;
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.5;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.service-img-card .card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: rgba(67,179,154,0.85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.service-img-card .card-badge img {
    width: 22px;
    height: 22px;
    filter: brightness(0) invert(1);
}

.service-img-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.moneytime-cta-wrap {
    text-align: center;
    padding: 32px 0;
}

.moneytime-cta {
    display: inline-block;
    padding: 12px 36px;
    background: var(--accent);
    color: white;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
}

.moneytime-cta:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(67,179,154,0.3);
}

/* ============ DASHBOARD SECTION ============ */
.dashboard-section {
    padding: 80px 24px;
    background: var(--primary);
    position: relative;
    overflow: visible;
}

.dashboard-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    position: relative;
    min-height: 400px;
}

.dashboard-content {
    flex: 1;
    background: linear-gradient(145deg, #c9a95e 0%, #d4b87a 40%, #d1b06a 100%);
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    padding: 52px 52px 52px 52px;
    position: relative;
    z-index: 1;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: right;
}

.dashboard-label {
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.dashboard-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
}

.dashboard-desc {
    color: var(--primary);
    opacity: 0.8;
    margin-bottom: 20px;
    font-size: 1rem;
}

.dashboard-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
    justify-content: flex-start;
}

.dashboard-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
}

.dashboard-tag img {
    width: 16px;
    height: 16px;
}

.dashboard-btn {
    display: inline-block;
    padding: 12px 32px;
    background: var(--primary);
    color: white;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
}

.dashboard-btn:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.dashboard-phone {
    flex: 0 0 340px;
    z-index: 3;
    margin-inline-start: -210px;
    align-self: center;
    margin-top: 30px;
}

.dashboard-phone img {
    width: 100%;
    filter: drop-shadow(-10px 20px 40px rgba(0,0,0,0.4));
}

/* ============ TEAM SECTION ============ */
.team-section {
    padding: 80px 24px;
    background: var(--primary);
    text-align: center;
}

.team-header {
    max-width: 600px;
    margin: 0 auto 48px;
}

.team-label {
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
    margin-bottom: 8px;
}

.team-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 16px;
}

.team-desc {
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
    line-height: 1.8;
}

.team-carousel-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding: 0 20px;
    position: relative;
}

/* Fade edges to hint scrollability */
.team-carousel-wrapper::before,
.team-carousel-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 2;
    pointer-events: none;
}

.team-carousel-wrapper::before {
    right: 0;
    background: linear-gradient(to left, var(--primary), transparent);
}

.team-carousel-wrapper::after {
    left: 0;
    background: linear-gradient(to right, var(--primary), transparent);
}

.team-carousel {
    display: flex;
    gap: 28px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 24px 40px;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
}

.team-carousel::-webkit-scrollbar { display: none; }

.team-carousel.dragging {
    cursor: grabbing;
    scroll-snap-type: none;
}

.team-carousel.dragging .team-member {
    pointer-events: none;
}

.team-member {
    flex: 0 0 220px;
    scroll-snap-align: start;
    text-align: center;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-member:hover {
    transform: translateY(-4px);
}

.team-member-img {
    position: relative;
    width: 220px;
    height: 300px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.team-member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease;
}

.team-member-img .img-color {
    position: relative;
    z-index: 2;
}

.team-member-img .img-bw {
    position: absolute;
    inset: 0;
    z-index: 1;
    filter: grayscale(100%);
}

.team-member:hover .img-color {
    opacity: 0;
}

.team-member h4 {
    color: white;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.team-member p {
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
    line-height: 1.4;
    max-width: 180px;
    margin: 0 auto;
}

.team-about-link {
    display: inline-block;
    margin-top: 40px;
    padding: 12px 36px;
    background: var(--accent);
    color: white;
    border-radius: var(--radius-pill);
    font-weight: 700;
    transition: var(--transition);
}

.team-about-link:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
}

/* ============ TESTIMONIALS ============ */
.testimonials-section {
    padding: 60px 24px;
    background: var(--bg-white);
    text-align: center;
}

.testimonials-header {
    margin-bottom: 40px;
}

.testimonials-header h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-dark);
}

.testimonials-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 32px 28px;
    text-align: right;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
}

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

.testimonial-stars {
    margin-bottom: 16px;
    display: flex;
    gap: 2px;
}

.testimonial-stars span {
    color: #f5a623;
    font-size: 1.2rem;
}

.testimonial-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

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

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

.testimonial-author span {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.95rem;
}

/* ============ WHATSAPP FLOAT ============ */
.whatsapp-float {
    position: fixed;
    bottom: 90px;
    left: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    z-index: 998;
    transition: var(--transition);
}

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

/* ============ CLIENTS SECTION ============ */
.clients-section {
    padding: 60px 24px;
    background: var(--bg-light);
    text-align: center;
}

.clients-header {
    max-width: 600px;
    margin: 0 auto 40px;
}

.clients-header h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.clients-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

.clients-marquee {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.clients-marquee::before,
.clients-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.clients-marquee::before {
    right: 0;
    background: linear-gradient(to left, var(--bg-light), transparent);
}

.clients-marquee::after {
    left: 0;
    background: linear-gradient(to right, var(--bg-light), transparent);
}

.clients-track {
    display: flex;
    gap: 48px;
    align-items: center;
    width: max-content;
    cursor: grab;
    user-select: none;
    padding: 16px 0;
    animation: marquee 50s linear infinite;
}

.clients-track:hover {
    animation-play-state: paused;
}

.clients-track img {
    height: 44px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.45;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    mix-blend-mode: multiply;
}

.clients-track img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(50%); }
}

/* ============ CONTACT SECTION ============ */
.contact-section {
    padding: 80px 24px;
    background: var(--bg-light);
    text-align: center;
}

.contact-container {
    max-width: 700px;
    margin: 0 auto;
}

.contact-section h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.contact-subtitle {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1rem;
}

.contact-tabs {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 32px;
}

.contact-tab {
    padding: 10px 28px;
    border-radius: var(--radius-pill);
    border: 2px solid var(--accent);
    background: transparent;
    color: var(--accent);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.contact-tab.active {
    background: var(--accent);
    color: white;
}

.contact-form {
    text-align: right;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    position: relative;
}

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

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid #e2e2e8;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--bg-white);
    transition: var(--transition);
    outline: none;
    direction: rtl;
    text-align: right;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    text-align: right;
    direction: rtl;
}

.contact-form select {
    text-align: right;
    direction: rtl;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(67,179,154,0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    display: inline-block;
    padding: 14px 48px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: var(--radius-pill);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 8px;
}

.submit-btn:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(67,179,154,0.3);
}

/* ============ FOOTER ============ */
.site-footer {
    background: var(--secondary);
    padding: 60px 24px 0;
    color: rgba(255,255,255,0.7);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 0.8fr 1fr;
    gap: 32px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col h4 {
    color: white;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-col a {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--accent);
}

.footer-info {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    margin-bottom: 8px;
    direction: ltr;
    text-align: right;
}

.footer-logo {
    height: 56px;
    width: auto;
    margin-bottom: 16px;
    border-radius: 8px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    color: white;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
    padding-right: 4px;
}

.footer-contact p {
    margin-bottom: 8px;
    font-size: 0.9rem;
    direction: ltr;
    text-align: right;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
}

.footer-social svg {
    width: 16px;
    height: 16px;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}

/* ============ BACK TO TOP ============ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(67,179,154,0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent-dark);
    transform: translateY(-4px);
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Reveal animations handled by JS IntersectionObserver */

/* ============ MOBILE NAV ============ */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav-overlay.open {
    opacity: 1;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .moneytime-container {
        flex-direction: column;
    }

    .moneytime-image {
        display: none;
    }

    .dashboard-container {
        flex-direction: column-reverse;
        text-align: center;
    }

    .dashboard-content {
        padding: 32px 24px;
        min-height: auto;
    }

    .dashboard-phone {
        flex: none;
        width: 200px;
        margin: 0 auto -30px;
        margin-inline-start: 0;
        margin: 0 auto;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 24px;
    }

    .service-images-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .main-nav { display: none; }
    .header-actions { display: none; }

    .hamburger { display: flex; }

    .main-nav.open {
        display: flex;
        position: fixed;
        top: 52px;
        right: 0;
        left: 0;
        background: rgba(255,255,255,0.97);
        backdrop-filter: blur(20px);
        padding: 16px 24px 24px;
        z-index: 999;
        box-shadow: 0 8px 30px rgba(0,0,0,0.06);
        border-top: 1px solid rgba(0,0,0,0.06);
    }

    .main-nav.open a {
        color: #374151;
        font-size: 15px;
        padding: 10px 14px;
        border-radius: 8px;
    }

    .main-nav.open a:hover {
        background: rgba(0,0,0,0.04);
    }

    .main-nav.open ul {
        flex-direction: column;
        gap: 4px;
        width: 100%;
    }

    .hero {
        min-height: 80vh;
        padding: 0 24px 48px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-cards-track {
        gap: 12px;
    }

    .hero-card {
        min-width: 120px;
        max-width: 140px;
        padding: 16px 12px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .team-member {
        flex: 0 0 160px;
    }

    .team-member-img {
        width: 160px;
        height: 220px;
    }

    .service-images-grid {
        grid-template-columns: 1fr;
    }

    .service-img-card {
        min-height: 220px;
    }

    .team-member {
        flex: 0 0 160px;
    }

    .team-member-img {
        width: 160px;
        height: 220px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        max-width: none;
    }

    .footer-social {
        justify-content: center;
    }

    .dashboard-content {
        padding: 32px 24px;
    }

    .dashboard-title {
        font-size: 1.5rem;
    }

    .dashboard-tags {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.2rem; }
    .hero-subtitle { font-size: 1rem; }

    .hero-cards-track {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 0 12px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .hero-card {
        scroll-snap-align: start;
        min-width: 130px;
    }

    .moneytime-tabs {
        flex-direction: column;
        align-items: stretch;
    }

    .clients-track img {
        height: 35px;
    }
}
