/* FbShlager Font Family (Hebrew) */
@font-face {
    font-family: 'FbShlager';
    src: url('/fonts/FbShlager-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'FbShlager';
    src: url('/fonts/FbShlager-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'FbShlager';
    src: url('/fonts/FbShlager-Black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: block;
}

/* Assistant Font Family (English) */
@font-face {
    font-family: 'Assistant';
    src: url('/fonts/Assistant-ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'Assistant';
    src: url('/fonts/Assistant-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'Assistant';
    src: url('/fonts/Assistant-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'Assistant';
    src: url('/fonts/Assistant-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'Assistant';
    src: url('/fonts/Assistant-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'Assistant';
    src: url('/fonts/Assistant-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'Assistant';
    src: url('/fonts/Assistant-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: block;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'FbShlager', 'Assistant', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

:root {
    --primary: #004FA3;
    --primary-dark: #003A7A;
    --primary-light: #0263B8;
    --accent: #C8323D;
    --accent-hover: #A22831;
    --success: #268735;
    --success-dark: #1E6B2A;
    --warning: #F59E0B;
    --danger: #C8323D;
    
    --bg-page: #FFFFFF;
    --bg-card: #FFFFFF;
    /* --bg-hover: #F8F9FA; */
    --bg-hover: #BEE2FF;
    
    --text-primary: #004FA3;
    --text-secondary: #004FA3;
    /* --text-muted: #6B7280; */
     --text-muted: #004FA3;
    
    --border: #E2E8F0;
    --border-light: #F1F5F9;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-md: 6px;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
}

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

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
    opacity: 0;
}

.fade-in-delay-1 {
    animation: fadeIn 0.8s ease-out 0.3s forwards;
    opacity: 0;
}

.fade-in-delay-2 {
    animation: fadeIn 0.8s ease-out 0.6s forwards;
    opacity: 0;
}

.fade-in-delay-3 {
    animation: fadeIn 0.8s ease-out 0.9s forwards;
    opacity: 0;
}

@keyframes fadeInAndPump {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(1);
    }
    11.1% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    61.1% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    66.7% {
        opacity: 1;
        transform: translateY(0) scale(1.05);
    }
    72.2% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    77.8% {
        opacity: 1;
        transform: translateY(0) scale(1.05);
    }
    83.3%, 100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.fade-in-pump {
    animation: fadeInAndPump 1.8s ease-out 0.9s forwards;
    opacity: 0;
}

@keyframes pump {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.pump-twice {
    animation: pump 0.4s ease-in-out 1.8s 2;
}

/* Scroll bar Side Navigator Accordion */

/* width */

::-webkit-scrollbar {
  width: 10px;
}

/* Track */

::-webkit-scrollbar-track {
  background: #004FA3;
  border-radius: 0px;
}

/* Handle */

::-webkit-scrollbar-thumb {
  background: #d1d9ff;
  border-radius: 10px;
}

/* Handle on hover */

::-webkit-scrollbar-thumb:hover {
  background: #f7f7f7;
}

/* EndScroll bar Side Navigator Accordion */

html {
    scroll-behavior: smooth;
    height: 100%;
    overflow-x: hidden;
}

body {
    /* background: #FFFFFF; */
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
    /* min-height: calc(100vh - 140px); Adjust based on header/footer height */
    /* background-image: url('/images/bachround.webp');
    background-repeat: repeat-y;
    background-size: 100% auto;
    background-position: top center; */
}
.ac-img-responsive{
    display: block;
    width:100%;
    height: auto;
    margin: 0 auto;
}
.ac-show-on-mobile {
    display: none;
}
.ac-hide-on-mobile {
    display: block;
}
@media (max-width: 769px) {
    .ac-show-on-mobile {
        display: block;
    }
    .ac-hide-on-mobile {
        display: none;
    }
}

/* ===== MAIN CONTENT BACKGROUND ===== */
.main-content-wrapper {
    position: relative;
    flex: 1;
    background-color: #98CFF2;
    background-image: url('/images/bachround.webp');
    background-repeat: repeat;
    background-size: auto;
    background-attachment: fixed;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    padding: 5.5rem 0 12rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Cloud Float Animations */
@keyframes floatCloud1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(18px, -12px) rotate(1deg); }
    50% { transform: translate(30px, -18px) rotate(0deg); }
    75% { transform: translate(18px, -10px) rotate(-1deg); }
}

@keyframes floatCloud2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-14px, 10px) rotate(-1deg); }
    50% { transform: translate(-24px, 14px) rotate(0deg); }
    75% { transform: translate(-12px, 7px) rotate(1deg); }
}

@keyframes floatCloud3 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(12px, 14px) rotate(1deg); }
    50% { transform: translate(22px, 24px) rotate(0deg); }
    75% { transform: translate(10px, 12px) rotate(-1deg); }
}

.clouds-decoration-up {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    height: 22vw;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.clouds-decoration-down {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    height: 20vw;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.clouds-decoration-mob {
    display: none;
}

.cloud-svg {
    position: absolute;
    opacity: 0.85;
}

.cloud-1 {
    width: 10.5vw;
    top: 5%;
    left: 3%;
    animation: floatCloud1 25s ease-in-out infinite;
}

.cloud-2 {
    width: 14vw;
    top: 15%;
    right: 3%;
    animation: floatCloud2 30s ease-in-out infinite;
}

.cloud-3 {
    width: 12.6vw;
    top: 50%;
    right: 3%;
    animation: floatCloud3 28s ease-in-out infinite;
}

.cloud-4 {
    width: 11.2vw;
    top: 45%;
    left: 3%;
    animation: floatCloud2 27s ease-in-out infinite;
}

.cloud-5 {
    width: 15.4vw;
    top: 80%;
    right: 3%;
    animation: floatCloud1 32s ease-in-out infinite;
}

.cloud-6 {
    width: 13.3vw;
    top: 85%;
    left: 3%;
    animation: floatCloud3 26s ease-in-out infinite;
}

.main-content-wrapper > *:not(.clouds-decoration-up):not(.clouds-decoration-down):not(.clouds-decoration-mob) {
    position: relative;
    z-index: 10;
}

.main-content {
    position: relative;
    z-index: 10;
    width: 100%;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: var(--primary-dark);
}

/* ===== LAYOUT ===== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
    box-sizing: border-box;
}

.max-w-4xl {
    max-width: 56rem;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

/* ===== HEADER ===== */
.header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    border-bottom: 1px solid var(--border-light);
    width: 100%;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 1.5rem;
    max-width: 1280px;
    margin: 0 auto;
}

.logo {
    font-size: 1.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 1;
    overflow: hidden;
}
.logo img{
    height: 3rem;
    margin-left: 1.3rem;
    flex-shrink: 0;
}
.logo span {
    font-size: clamp(1rem, 2rem, 2rem); 
    color: var(--gray-700); 
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===== HAMBURGER MENU ===== */
.hamburger-btn {
    cursor: pointer;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    padding: 0.5rem;
    border-radius: var(--radius);
    transition: all 0.2s;
    flex-shrink: 0;
}

.hamburger-btn:hover {
    background: var(--bg-hover);
}

.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.hamburger-menu {
    position: fixed;
    top: 0;
    right: -320px;
    height: 100vh;
    width: 320px;
    background: white;
    z-index: 10001;
    transition: right 0.3s ease;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
}

.hamburger-menu.active {
    right: 0;
}

.menu-header {
    padding: 1.5rem;
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-light);
}

.menu-close {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-close:hover {
    background: var(--bg-hover);
}

.menu-items {
    padding: 0.5rem 0;
}

.menu-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: var(--text-primary);
    transition: all 0.2s;
    border-right: 3px solid transparent;
    position: relative;
}

.menu-item:hover {
    background: var(--bg-hover);
    border-right-color: var(--primary);
    color: var(--primary);
}

.menu-item i {
    position: relative;
    width: 1.5rem;
    height: 1.5rem;
    text-align: center;
    line-height: 1.5rem;
    flex-shrink: 0;
}

.menu-item img {
    position: relative;
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
    object-fit: contain;
}

.menu-item span {
    flex-shrink: 1;
    text-align: right;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    /* padding: 0.875rem 2rem; */
    padding:0.3rem 2rem;
    font-size: 1.8rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-align: center;
    line-height: 1.5;
}

.btn:focus,
.btn:focus-visible {
    outline: 3px solid #0066cc;
    outline-offset: 3px;
}

.btn-primary {
    /* background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); */
    background: #004FA3;
    color: white;
    box-shadow: 0 4px 12px rgba(1, 79, 150, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(1, 79, 150, 0.4);
    color: white;
}

.btn-primary:focus,
.btn-primary:focus-visible {
    outline: 3px solid #0066cc;
    outline-offset: 3px;
}

.btn-gradient {
    background: linear-gradient(135deg, #268735 0%, #1E6B2A 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(38, 135, 53, 0.3);
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(38, 135, 53, 0.4);
    color: white;
}

.btn-gradient:focus,
.btn-gradient:focus-visible {
    outline: 3px solid #268735;
    outline-offset: 3px;
}

.btn-secondary {
    background: var(--bg-hover);
    color: var(--text-primary);
    border: 1px solid #004fa3;
}

.btn-secondary:hover {
    background: var(--border);
    color: var(--text-primary);
}

.btn-secondary:focus,
.btn-secondary:focus-visible {
    outline: 3px solid #0066cc;
    outline-offset: 3px;
}

.btn-full {
    width: 100%;
}

/* ===== CARDS ===== */
.card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

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

.card-title {
    font-size: 1.45rem;
    font-weight: 900;
    margin-bottom: 0rem;
    color: var(--text-primary);
    margin-top: 1.5rem;
}

/* ===== ALERTS ===== */
.alert-success,
.alert-error,
.alert-warning {
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    border-right: 4px solid;
}

.alert-success {
    background-color: #D1FAE5;
    border-color: var(--success);
    color: #065F46;
}

.alert-error {
    background-color: #FEE2E2;
    border-color: var(--danger);
    color: #991B1B;
}

.alert-warning {
    background-color: #FEF3C7;
    border-color: var(--warning);
    color: #92400E;
}

.alert-success ul,
.alert-error ul,
.alert-warning ul {
    list-style: disc;
    padding-right: 1.25rem;
    margin: 0;
}

/* ===== HERO ===== */
.hero {
    padding: 5rem 1.5rem 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-family: 'FbShlager', sans-serif;
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.3rem, 2vw, 1.6rem);
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    max-width: 90vw;
    margin-left: auto;
    margin-right: auto;
}

/* ===== FEATURES ===== */
.features {
    margin-top: 5rem;
        display: none !important;
}

.feature-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.feature-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-8px);
    border-color: var(--primary-light);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 8px rgba(0, 102, 204, 0.2));
}

.feature-title {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.feature-text {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
    margin-top: 2rem;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 1.5rem 8vw;
    border: 1px solid var(--border-light);
    margin-bottom: 2rem;
}

.how-it-works-title {
    font-size: 2.5rem;
    text-align: center;
   margin-bottom: 0.5rem;
    font-weight: 900;
}

.step {
    text-align: center;
width: max-content;
}

.step-number {
        width: 8rem;
    height: 8rem;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
}
.step-number-3 {
   width: 6rem; 
}
.step-arrow{
    width: 3rem;
    margin-top: 3rem;
}
.step-number span {
    font-size: 2rem;
    font-weight: 800;
    color: white;
}

.step-title {
font-weight: 700;
     font-size: 1.7rem;
    margin-bottom: 0.1rem;
}

.step-text {
    color: var(--text-secondary);
    font-size: 1.3rem;
    margin-bottom: 0;
}

.step-item {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
}

@media (min-width: 768px) {
    .step-item {
        flex-direction: row;
    }
}

.step-item .step-number {
    margin: 0;
    flex-shrink: 0;
}

/* ===== GRID ===== */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-cols-1 { grid-template-columns: 1fr; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (min-width: 768px) {
    .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
    .md\:grid-cols-5 { grid-template-columns: repeat(5, 1fr); }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
    .sm\:grid-cols-2,
    .md\:grid-cols-3,
    .lg\:grid-cols-4 { 
        grid-template-columns: 1fr; 
    }
}

/* ===== FORMS ===== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0rem;
}

input::-webkit-input-placeholder {
  /* Chrome/Opera/Safari */
 color: #004FA3;
  font-size: 1.1rem;
  text-indent: 0.1rem;
  transition: text-indent 0.5s;
}

input::-moz-placeholder {
  /* Firefox 19+ */
  color: #004FA3;
  font-size: 1.1rem;
  text-indent: 0.1rem;
  transition: text-indent 0.5s;
}

input:-ms-input-placeholder {
  /* IE 10+ */
color: #004FA3;
  font-size: 1.1rem;
  text-indent: 0.1rem;
  transition: text-indent 0.5s;
}

input:-moz-placeholder {
  /* Firefox 18- */
  color: #004FA3;
  font-size: 1.1rem;
  text-indent: 0.1rem;
  transition: text-indent 0.5s;
}
.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.875rem 1.125rem;
    /* border: 2px solid var(--border); */
    border: 1px solid #004FA3 !important;
    border-radius: var(--radius-md);
    /* font-size: 1rem; */
    transition: all 0.2s ease;
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 1.125rem;
    text-align: center;
}

/* Override browser default input border */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
textarea,
select {
    border-color: #004FA3 !important;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-primary);
}

.form-help {
    display: block;
    font-size: 0.875rem;
    color: var(--text-primary);
    margin-top: 0.5rem;
}

.form-error {
    background: #FEF2F2;
    border: 2px solid #FCA5A5;
    color: #991B1B;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
}

.form-error ul {
    list-style: disc;
    padding-right: 1.5rem;
}

/* ===== GALLERY ===== */
.gallery-header {
    margin-bottom: 2.5rem;
}

.gallery-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.gallery-subtitle {
    color: var(--text-secondary);
    color: var(--text-primary);
    font-size: 1.125rem;
}

.gallery-nav {
    margin-bottom: 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.gallery-item {
    background: var(--bg-card);
   border-radius: unset;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.gallery-item:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-6px) scale(1.05);
}

.gallery-image-container {
    position: relative;
    padding-bottom: 100%;
    background: linear-gradient(135deg, #F1F5F9 0%, #E2E8F0 100%);
    overflow: hidden;
}

.gallery-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
    /* No individual image scaling - whole item scales instead */
}

.gallery-image-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    /* color: var(--text-muted); */
    color: var(--text-primary);
}

.gallery-info {
    padding: 1.25rem;
}

.gallery-caption {
    font-size: 0.9375rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 500;
}

.gallery-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8125rem;
    /* color: var(--text-muted); */
    color: var(--primary);
}

/* ===== IMAGE SHOW ===== */
.image-container {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: visible;
    border: 1px solid var(--border-light);
}

.image-display {
    position: relative;
    padding-bottom: 100%;
    background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
}

.image-display img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ===== PROMPT PARAMS ===== */
.prompt-param-card {
    background: var(--bg-hover);
    padding: 1rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
}

.prompt-param-label {
    display: block;
    font-size: 0.75rem;
    /* color: var(--text-muted); */
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.prompt-param-value {
    font-weight: 500;
    color: var(--text-primary);
}

.image-status-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: #FEF3C7;
    color: #92400E;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 2px solid #FDE68A;
    box-shadow: var(--shadow-md);
}

.image-actions {
    padding: 2.5rem;
}

.image-actions-top {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .image-actions-top {
        flex-direction: row;
        align-items: center;
    }
}

.image-title {
    font-weight: 700;
    font-size: 1.75rem;
    margin: 0;
}

.image-date {
    font-size: 0.9375rem;
    color: var(--text-muted);
}

.image-action-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 2rem;
    border: 1px solid var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-md);
    transition: all 0.2s;
    background: var(--bg-card);
    font-weight: 700;
    font-size: 1.3rem;
}

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

.btn-share {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: var(--radius-md);
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(1, 79, 150, 0.3);
    cursor: pointer;
    border: none;
    font-weight: 700;
    font-size: 1.3rem;
}

.btn-share:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(1, 79, 150, 0.4);
    color: white;
}

.share-menu {
    display: none;
    position: absolute;
    left: 0;
    margin-top: 0.75rem;
    width: 13rem;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border);
    z-index: 9999;
    overflow: hidden;
}

.share-menu.active {
    display: block;
}

.share-menu button {
    width: 100%;
    text-align: right;
    padding: 1rem 1.25rem;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.2s;
    font-weight: 500;
}

.share-menu button:hover {
    background: var(--bg-hover);
}

.share-menu button:not(:last-child) {
    border-bottom: 1px solid var(--border-light);
}

.image-prompt-details {
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 2px solid var(--border-light);
}

.prompt-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.prompt-params {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .prompt-params {
        grid-template-columns: repeat(3, 1fr);
    }
}

.prompt-param {
    background: var(--bg-hover);
    padding: 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
}

.prompt-param-label {
    display: block;
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.prompt-param-value {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
}

/* ===== SUCCESS MESSAGE ===== */
.success-message {
    text-align: center;
    margin-bottom: 3rem;
}

.success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    background: linear-gradient(135deg, #268735 0%, #1E6B2A 100%);
    border-radius: 50%;
    margin-bottom: 2rem;
    box-shadow: 0 8px 24px rgba(38, 135, 53, 0.3);
}

.success-icon i {
    font-size: 2rem;
    color: white;
}

.success-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.success-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
    margin-bottom: 2rem;
}

.breadcrumb-link {
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
    font-weight: 500;
}

.breadcrumb-link:hover {
    color: var(--primary);
}

/* ===== EMPTY STATE ===== */
.empty-state {
    text-align: center;
    padding: 5rem 1rem;
}

.empty-icon {
    margin: 0 auto 2rem;
    width: 7rem;
    height: 7rem;
    color: var(--text-muted);
    opacity: 0.5;
}

.empty-title {
    margin-top: 1rem;
    font-size: 1.375rem;
    font-weight: 700;
}

.empty-text {
    margin-top: 0.75rem;
    color: var(--text-secondary);
    font-size: 1.125rem;
}

.empty-action {
    margin-top: 2rem;
}

/* ===== FOOTER ===== */
.footer {
    background-image: url(/images/bg_footer.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 0 0;
    margin-top: -11rem;
    padding: 4.5rem 0;
    position: relative;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        text-align: right;
    }
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-direction: row;
    order: 1;
}

.footer-link {
    color: var(--text-primary);
    text-decoration: underline;
    font-size: 1.3rem;
    font-weight: 700;
    transition: opacity 0.2s ease;
}

.footer-link:hover {
    opacity: 0.7;
}

.footer-copyright {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    order: 2;
     display: none
}

@media (min-width: 768px) {
    .footer-links {
       order: 1;
        position: relative;
        right: 0vw;
    }
    .footer-copyright {
        order: 1;
        display: none
    }
}

.footer-text {
    color: var(--text-secondary);
}

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.text-right { text-align: right; }

.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mt-20 { margin-top: 5rem; }

.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }

.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }

.px-6 {     padding-left: 1rem;
    padding-right: 1rem;}

.relative { position: relative; }
.hidden { display: none; }

.flex { display: flex; }
.inline-flex { display: inline-flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }

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

.animate-fade-in-down {
    animation: fadeInDown 0.6s ease-out;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero {
        padding: 3rem 1rem;
    }
    
    .how-it-works {
        padding: 2.5rem 1rem;
    }
    
    .feature-card {
        padding: 2rem;
    }
}

.scroll-mt-20 {
    scroll-margin-top: 5rem;
}

/* ===== LOADING OVERLAY ===== */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-overlay.active {
    display: flex;
}

.loading-box {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    max-width: 30rem;
    margin: 0 1rem;
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.loading-icon {
    position: relative;
    width: 8rem;
    height: 8rem;
    margin: 0 auto 2rem;
}

.loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6rem;
    height: 6rem;
    border: 6px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-house {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4rem;
    height: 4rem;
    color: var(--primary);
    animation: pulse 2s ease-in-out infinite;
}

.loading-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.loading-step {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.progress-bar-bg {
    width: 100%;
    background: var(--border-light);
    border-radius: 9999px;
    height: 0.625rem;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-bar-fill {
    height: 0.625rem;
    border-radius: 9999px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    transition: width 0.3s ease;
    width: 0%;
}

.progress-dots {
    display: flex;
    justify-content: center;
    gap: 0.625rem;
    margin-bottom: 1.5rem;
}

.progress-dot {
    width: 0.75rem;
    height: 0.75rem;
    background: var(--primary);
    border-radius: 50%;
    animation: bounce 1.4s infinite;
}

.progress-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.progress-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes bounce {
    0%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
}

@media(max-width:1024px) {
    .how-it-works .grid {
        gap: 0rem;
    }
}
@media(max-width:850px) {
    .how-it-works {
        padding: 1.5rem 1vw;
    }
}
@media (max-width: 769px) {
    .btn {
        padding: 0.2rem 2rem;
    }
    .step-arrow{
        display: none;
    }
    .how-it-works {
        padding: 1.5rem 9vw;
        width: max-content;
        margin: auto;
        margin-bottom: 8vw;
        min-width: 289px;
    }
    .logo {
        flex-direction: column;
    }
    .logo img{
        height: 39px;
        margin-left: 0;
        margin-top: 7px;
        margin-bottom: -13px;
    }
    .logo span {
        font-size: 5vw; 
        color: var(--gray-700); 
        font-weight: 700;
    }
    .hamburger-btn{
        position: relative;
        right: -4vw;
    }
    .main-content-wrapper {
        padding-bottom: 31vw;
        /* margin-top: 22vw; */
    }
    .hero-title{
        margin-bottom: 1rem;
    }
    .hero-subtitle {
        margin-bottom: 1.5rem;
        line-height: 1.1;
        max-width: 90vw;
    }
    .how-it-works-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    .step {
        margin: auto;
    }
    .step-title {
        font-size: 1.2rem;
        margin-bottom: -1vw;
        margin-top: -4.5vw;
    }
    .step-text {
        font-size: 1rem;
        margin-bottom: 0;
    }
    .step-number {
        width: 26vw;
        height: auto;
        background: transparent;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 4vw;
    }
    .step-number-2{
        margin-bottom: 2.1vw;
    }
    .step-number-3{
        margin-bottom: 7vw;
        margin-top: 4vw;
    }
    .footer {
        background-image: url(/images/bg_footer_mob_v1.webp);
        background-repeat: no-repeat;
        background-size: 100% auto;
        background-position: 0 0;
        margin-top: -24vw;
        position: relative;
        padding: 0;
        height: 24vw;
    }
    .footer-content {
        display: flex;
        flex-direction: column;
        gap: 0;
        align-items: flex-start;
        text-align: center;
    }
    .footer-links {
        display: flex;
        gap: 0;
        flex-direction: row;
        order: 1;
        text-align: right;
        position: relative;
        top: 9vw;
        width: 93vw;
        justify-content: space-between;
        right: -4vw;
    }
    .footer-link {
        font-weight: 700;
        font-size: 1rem;
    }
    .clouds-decoration-down,
    .clouds-decoration-up{
        display: none !important;
    }
    .clouds-decoration-mob {
        display: block !important;
        position: fixed;
        top: 10vh;
        left: 0;
        right: 0;
        width: 100%;
        height: 80vh;
        pointer-events: none;
        z-index: 0;
        overflow: hidden;
    }
    
    .cloud-mob-1 {
        width: 21vw;
        top: 8%;
        left: 2%;
        animation: floatCloud1 20s ease-in-out infinite;
    }
    
    .cloud-mob-2 {
        width: 24.5vw;
        top: 45%;
        right: 2%;
        animation: floatCloud2 25s ease-in-out infinite;
    }
    
    .cloud-mob-3 {
        width: 22.4vw;
        top: 78%;
        left: 2%;
        animation: floatCloud3 23s ease-in-out infinite;
    }
    .form-group {
        margin-bottom: 1rem;
    }
}
