* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #f1f1f1;
    --surface: #ffffff;
    --text: #2e2e2e;
    --accent: #1d85bb;
    --accent-dark: #1b3248;
    --accent-medium: #315878;
    --deep-blue: #034468;
    --gold: #A88C3A;
    --gold-light: #C4A94D;
    --dark-bg: #0D1520;
    --text-secondary: #555555;
    --border: #e0e0e0;
}

html {
    overflow-x: hidden;
}

body {
    font-family: 'Heebo', sans-serif;
    background-color: #ffffff;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(27, 50, 72, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 2rem;
    transition: background-color 0.4s cubic-bezier(0.44, 0, 0.56, 1),
                box-shadow 0.4s cubic-bezier(0.44, 0, 0.56, 1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.logo img {
    height: 56px;
    width: auto;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    filter: brightness(0) invert(1);
}

.nav-menu {
    display: none;
    list-style: none;
    gap: 0;
    align-items: center;
}

.nav-menu.nav-open {
    display: flex;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: #0d1520;
    background: rgba(13, 21, 32, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 0.75rem;
    border-bottom: 2px solid var(--accent);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    max-height: 80vh;
    overflow-y: auto;
}
.nav-menu.nav-open li {
    width: 100%;
}
.nav-menu.nav-open a {
    display: block;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}
.nav-menu.nav-open a:hover {
    background: rgba(255, 255, 255, 0.1);
}
.nav-menu.nav-open a::after {
    display: none;
}

.nav-menu a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-container .logo         { order: -1; }
.nav-container .nav-menu     { order: 0; }
.nav-container .nav-controls { order: 2; }

.nav-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-controls .hamburger { order: -1; }

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 5px;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}
.hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.lang-switch {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease;
    border: none;
}
.lang-switch:hover {
    background: rgba(255, 255, 255, 0.25);
}

@media (min-width: 1025px) {
    .nav-menu {
        display: flex;
        gap: 1.5rem;
        align-items: center;
    }
    .nav-menu.nav-open {
        position: static;
        flex-direction: row;
        background: none;
        backdrop-filter: none;
        padding: 0;
        border-bottom: none;
        box-shadow: none;
        max-height: none;
        overflow: visible;
        gap: 1.5rem;
    }
    .nav-menu.nav-open li {
        width: auto;
    }
    .nav-menu.nav-open a {
        padding: 0;
        font-size: inherit;
    }
    .nav-menu.nav-open a::after {
        display: block;
    }
    .hamburger {
        display: none;
    }
}

.hero {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    z-index: 0;
    background: #0D1520 url('../images/hero/hero-slide-1.webp') center/cover no-repeat;
}

.page-content {
    position: relative;
    z-index: 1;
    background-color: var(--bg);
    margin-top: 100vh;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.7), 0 0 60px rgba(0, 0, 0, 0.3);
}

.hero .hero-brand {
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0.15em;
    display: block;
    margin-bottom: 1.5rem;
    color: #1D85BB;
    opacity: 1;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 0, 0, 0.3);
}

.hero .tagline {
    font-family: 'Inter', 'Heebo', sans-serif;
    font-size: 3.5rem;
    font-style: italic;
    color: #fff;
    margin-bottom: 0.5rem;
    opacity: 0.9;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 0, 0, 0.3);
}

.hero .hero-buttons .btn {
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.44, 0, 0.56, 1);
    border: 2px solid transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Heebo', sans-serif;
    font-size: 1rem;
}

.btn-primary {
    background: #2e2e2e;
    color: #ffffff;
    border-color: var(--accent);
}

.btn-primary:hover {
    background: #2e2e2e;
    color: #1d85bb;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(201, 168, 76, 0.2);
}

.btn-secondary {
    background: rgba(255,255,255,0.15);
    color: #ffffff;
    border: 2px solid #ffffff;
    backdrop-filter: blur(4px);
}

.btn-secondary:hover {
    background: #ffffff;
    color: var(--accent-dark);
    transform: translateY(-2px);
}

.process-section-wrapper {
    background: #0D1520;
    border-radius: 24px;
    padding: 60px 40px;
    margin: 0 auto;
    max-width: 1200px;
}
.process-section-wrapper h2,
.process-section-wrapper .section-heading {
    color: #ffffff;
}
.process-section-wrapper .section-heading::after {
    background: var(--gold);
}
.process-section-wrapper .section-description {
    color: rgba(255,255,255,0.7);
}
.process-infographic {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}
.process-step-icon {
    width: 100%;
    max-width: 280px;
    height: 240px;
    overflow: hidden;
    border-radius: 16px;
    background: transparent;
    box-shadow: none;
    margin: 0 auto 1rem;
}
.process-step-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.process-step-icon:hover {
    box-shadow: 0 0 20px rgba(29, 133, 187, 0.3);
    transition: box-shadow 0.3s ease;
}
.process-step-icon:hover img {
    transform: scale(1.05);
}
.process-step-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.4;
}
.process-step-desc {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.5;
    margin-top: 0.4rem;
}
.process-arrow {
    display: flex;
    align-items: center;
    align-self: center;
    padding-top: 0;
    margin-top: -2rem;
    color: var(--gold);
    font-size: 1.5rem;
    flex-shrink: 0;
}
.process-arrow svg {
    width: 32px;
    height: 32px;
    stroke: var(--gold);
    fill: none;
    stroke-width: 2;
    animation: arrowPulse 2s ease-in-out infinite;
}
@keyframes arrowPulse {
    0%, 100% { opacity: 0.5; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(4px); }
}
[dir="rtl"] .process-arrow svg {
    transform: scaleX(-1);
    animation: arrowPulseRTL 2s ease-in-out infinite;
}
@keyframes arrowPulseRTL {
    0%, 100% { opacity: 0.5; transform: scaleX(-1) translateX(0); }
    50% { opacity: 1; transform: scaleX(-1) translateX(4px); }
}
.btn-gold {
    background: var(--gold);
    color: #ffffff;
    border: 2px solid var(--gold);
    border-radius: 9999px;
}
.btn-gold:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(168, 140, 58, 0.3);
}
.btn-outline-light {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 9999px;
}
.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
    color: #ffffff;
    transform: translateY(-2px);
}

.section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 2rem;
    background-color: var(--bg);
}
@media (min-width: 1024px) {
    .section {
        padding: 100px 2rem;
    }
}

/* === DARK SECTIONS === */
.section-dark {
    background: #0D1520;
    color: #fff;
    padding: 40px 2rem;
    border-radius: 24px;
    max-width: 1400px;
    margin: 40px auto;
}
@media (min-width: 1024px) {
    .section-dark {
        padding: 50px 2rem;
    }
}
.section-dark h2,
.section-dark h3 {
    color: #fff;
}
.section-dark p {
    color: rgba(255,255,255,0.7);
}
.section-dark .section-heading {
    color: #fff;
}
.section-dark .section-description {
    color: rgba(255,255,255,0.6);
}

.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    height: 400px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.why-us {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.card:hover {
    border-color: var(--accent);
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(29, 133, 187, 0.15);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.card-icon svg {
    transition: transform 0.4s ease;
}
.card:hover .card-icon svg {
    transform: scale(1.15) translateY(-3px);
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #ffffff;
    padding: 0;
    border-radius: 20px;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    transition: all 0.4s ease;
    overflow: hidden;
}

.service-card:hover {
    border-color: var(--accent);
    box-shadow: 0 12px 32px rgba(29, 133, 187, 0.18);
    transform: translateY(-8px);
}

.service-card-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}

.service-card:hover .service-card-img img {
    transform: scale(1.05);
    filter: brightness(1.05);
}

.service-card-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(27, 50, 72, 0.7), transparent);
    pointer-events: none;
}

.service-card-img .service-icon-overlay {
    position: absolute;
    bottom: 12px;
    right: 12px;
    z-index: 2;
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 3px 12px rgba(0,0,0,0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.service-card:hover .service-icon-overlay {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 5px 18px rgba(0,0,0,0.25);
}

.service-card-body {
    padding: 1.5rem 2rem 2rem;
}

.service-card h3 {
    font-size: 1.2rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.service-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-secondary);
    flex-grow: 1;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* === SERVICES ACCORDION (Aiko Style) === */
.services-accordion {
    background: #0D1520;
    border-radius: 24px;
    padding: 60px 40px;
    margin: 0 auto;
    max-width: 1200px;
}

.accordion-item {
    border-bottom: 1px solid rgba(255,255,255,0.12);
}
.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    display: flex;
    align-items: center;
    padding: 28px 0;
    cursor: pointer;
    transition: opacity 0.3s cubic-bezier(0.44, 0, 0.56, 1);
}
.accordion-header:hover {
    opacity: 0.7;
}

.accordion-number {
    color: rgba(255,255,255,0.4);
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    min-width: 60px;
}

.accordion-title {
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    flex: 1;
    margin: 0;
}

.accordion-toggle {
    color: rgba(255,255,255,0.6);
    font-size: 28px;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.44, 0, 0.56, 1),
                border-color 0.3s ease;
}

.accordion-item.active .accordion-toggle {
    transform: rotate(45deg);
    border-color: rgba(255,255,255,0.5);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.44, 0, 0.56, 1),
                opacity 0.4s ease;
    opacity: 0;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    opacity: 1;
}

.accordion-inner {
    display: flex;
    gap: 40px;
    padding: 10px 0 30px 60px;
    align-items: flex-start;
}

.accordion-media {
    flex: 0 0 280px;
    border-radius: 16px;
    overflow: hidden;
}
.accordion-media img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 16px;
}

.accordion-text {
    flex: 1;
}
.accordion-text p {
    color: rgba(255,255,255,0.7);
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 20px;
}

.accordion-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    padding: 6px 16px;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50px;
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
}

/* === PROJECT CARDS (Aiko Style) === */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.project-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

.project-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px 20px 0 0;
    border: 1px solid rgba(0,0,0,0.06);
    border-bottom: none;
}

.project-card-info {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.project-card-name {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: #1B3248;
}

.project-card-year {
    display: none;
}

.project-card-image {
    border-radius: 0 0 20px 20px;
    overflow: hidden;
    aspect-ratio: 16/11;
}

.project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.44, 0, 0.56, 1);
}

.project-card:hover .project-card-image img {
    transform: scale(1.04);
}

.projects-filter-bar {
    display: flex;
    gap: 12px;
    max-width: 400px;
    margin: 0 0 40px 0;
    padding: 0 36px;
}

.project-search {
    padding: 14px 24px;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    font-size: 16px;
    font-family: 'Heebo', sans-serif;
    flex: 1;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.project-search:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(29, 133, 187, 0.1);
}

.project-category-filter {
    padding: 10px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    font-size: 15px;
    font-family: 'Heebo', sans-serif;
    background: #fff;
    cursor: pointer;
}

.process {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    max-width: 220px;
    position: relative;
}

.process-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.process-step h3 {
    font-size: 1.2rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.process-step p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.gallery-section {
    overflow-x: hidden;
    padding: 4rem 2rem;
    background: var(--bg);
}

.masonry-gallery-wrapper {
    width: 100%;
    overflow: visible;
}

.masonry-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    animation: fadeInGallery 0.8s ease-out;
}

@keyframes fadeInGallery {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.gallery-item-modern {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    aspect-ratio: 1;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: slideInGalleryItem 0.6s ease-out forwards;
}

@keyframes slideInGalleryItem {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.gallery-item-modern:nth-child(1) { animation-delay: 0.05s; }
.gallery-item-modern:nth-child(2) { animation-delay: 0.1s; }
.gallery-item-modern:nth-child(3) { animation-delay: 0.15s; }
.gallery-item-modern:nth-child(4) { animation-delay: 0.2s; }
.gallery-item-modern:nth-child(5) { animation-delay: 0.25s; }
.gallery-item-modern:nth-child(n+6) { animation-delay: 0.3s; }

.gallery-item-modern:hover {
    transform: scale(1.04);
    box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}

.gallery-item-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item-modern:hover img {
    transform: scale(1.04);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 21, 32, 0.85) 0%, rgba(13, 21, 32, 0.2) 40%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
}

.gallery-item-modern:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay .project-info {
    color: #fff;
    transform: translateY(15px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.1s, opacity 0.4s ease 0.1s;
}

.gallery-item-modern:hover .project-info {
    transform: translateY(0);
    opacity: 1;
}

.project-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.project-info span {
    font-size: 0.8rem;
    opacity: 0.8;
}

.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    width: 90vw;
    height: 90vh;
    max-width: 1200px;
    max-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 3rem;
    cursor: pointer;
    z-index: 2001;
    transition: color 0.3s ease;
    padding: 10px 20px;
}

.lightbox-close:hover {
    color: var(--accent);
}

.gallery-container {
    margin: 2rem 0;
}

.gallery-track {
    display: flex;
    gap: 1rem;
    animation: scrollLeft 20s linear infinite;
    width: fit-content;
}

.gallery-track.paused {
    animation-play-state: paused;
}

.gallery-track.scroll-right {
    animation: scrollRight 20s linear infinite;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes scrollRight {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

.gallery-item {
    flex-shrink: 0;
    width: 340px;
    height: 240px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: #2e2e2e;
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    text-align: center;
    font-weight: 600;
}

.gallery-item:hover .gallery-label {
    transform: translateY(0);
}

.seo-images {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial {
    background: #ffffff;
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.stars {
    color: #f0c040;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.testimonial-text {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.7;
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 0.25rem;
}

.testimonial-role {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.section-dark .testimonial {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
}
.section-dark .testimonial-text {
    color: rgba(255,255,255,0.8);
}
.section-dark .testimonial-author {
    color: #fff;
}
.section-dark .testimonial-role {
    color: rgba(255,255,255,0.5);
}
.section-dark .stars {
    color: var(--gold-light);
}

.client-pill {
    background: #ffffff;
    color: var(--text);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    border: 1px solid var(--border);
    font-weight: 500;
    transition: all 0.3s ease;
}

.client-pill:hover {
    border-color: var(--accent);
    background: rgba(201, 168, 76, 0.1);
    color: var(--accent);
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 20px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(201, 168, 76, 0.05);
    color: var(--accent);
}

.faq-toggle {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.3s ease;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.stage-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.stage-card {
    background: linear-gradient(135deg, var(--surface), rgba(201, 168, 76, 0.05));
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    text-align: center;
}

.stage-card h3 {
    font-size: 1.3rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.stage-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.cta-section {
    position: relative;
    background: url('../images/projects/alexandroni-raanana/alexandroni-raanana-01.webp') center / cover no-repeat;
    padding: 5rem 2rem;
    text-align: center;
    color: #ffffff;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(40, 40, 40, 0.78);
    z-index: 0;
}
.cta-section > * {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.cta-section .cta-description {
    color: rgba(255, 255, 255, 0.85);
}

.cta-section .btn-primary {
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
}

.cta-section .btn-primary:hover {
    background: #8a7430;
    border-color: #8a7430;
    color: #fff;
}

.contact-item {
    margin-bottom: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--accent);
    margin-top: 0.25rem;
}

.contact-details {
    flex: 1;
}

.contact-label {
    color: #2e2e2e;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.25rem;
}

.contact-value {
    color: var(--text);
    font-weight: 500;
    word-break: break-all;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 640px;
    margin: 0 auto;
    padding: 2rem;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    box-sizing: border-box;
}
.contact-form .btn-primary {
    width: 100%;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #2e2e2e;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    background: #ffffff;
    border: 1px solid var(--border);
    color: #2e2e2e;
    padding: 14px 18px;
    border-radius: 12px;
    font-family: 'Heebo', sans-serif;
    font-size: 15px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    direction: rtl;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(29, 133, 187, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.service-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 4px;
}
.service-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 8px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
    font-family: 'Heebo', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #2e2e2e;
    position: relative;
}
.service-btn svg {
    width: 30px;
    height: 30px;
    stroke: #555;
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke 0.2s ease;
}
.service-btn:hover {
    border-color: #1D85BB;
    background: rgba(29, 133, 187, 0.04);
}
.service-btn.selected {
    border-color: #1D85BB;
    background: rgba(29, 133, 187, 0.08);
    box-shadow: 0 0 0 2px rgba(29, 133, 187, 0.15);
    color: #1D85BB;
}
.service-btn.selected svg {
    stroke: #1D85BB;
}
.service-btn .check-icon {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #1D85BB;
    display: none;
    align-items: center;
    justify-content: center;
}
.service-btn.selected .check-icon {
    display: flex;
}
.service-btn .check-icon svg {
    width: 12px;
    height: 12px;
    stroke: #fff;
    stroke-width: 3;
}

.input-with-icon {
    position: relative;
}
.input-with-icon input,
.input-with-icon textarea {
    padding-right: 44px;
}
.input-icon {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    pointer-events: none;
    color: #999;
    display: flex;
}
.input-icon svg {
    width: 18px;
    height: 18px;
}
.input-with-icon textarea ~ .input-icon {
    top: 18px;
    transform: none;
}

@media (max-width: 600px) {
    .service-selector {
        grid-template-columns: repeat(2, 1fr);
    }
}

footer {
    position: relative;
    z-index: 1;
    background: #1b3248;
    padding: 3rem 2rem 1.5rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #f0f0f0;
}
.footer-content {
    max-width: 1000px;
    margin: 0 auto 2rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
    text-align: center;
}
.footer-logo {
    flex: 1;
    min-width: 200px;
}
.footer-logo img {
    margin-bottom: 0.5rem;
    filter: brightness(0) invert(1);
    max-height: 45px;
    width: auto;
}
.footer-tagline {
    font-size: 0.85rem;
    opacity: 0.8;
    margin: 0;
}
.footer-social {
    flex: 1;
    min-width: 200px;
}
.footer-social h4, .footer-contact h4 {
    font-size: 1rem;
    margin-bottom: 0.8rem;
    color: #ffffff;
}
.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}
.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.3s ease;
}
.social-link:hover {
    background: var(--accent);
    transform: translateY(-3px);
    color: #ffffff;
}
.footer-contact {
    flex: 1;
    min-width: 200px;
}
.footer-contact p {
    margin: 0.3rem 0;
    font-size: 0.9rem;
}
.footer-contact a {
    color: #f0f0f0;
    text-decoration: none;
}
.footer-contact a:hover {
    color: var(--accent);
}
.footer-policies {
    padding: 1.2rem 0;
    border-top: 1px solid rgba(255,255,255,0.15);
    margin-bottom: 0.8rem;
}
.footer-policies a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s ease;
}
.footer-policies a:hover {
    color: var(--accent);
}
.footer-divider {
    color: rgba(255,255,255,0.3);
    margin: 0 0.8rem;
    font-size: 0.8rem;
}
.footer-copyright {
    font-size: 0.8rem;
    opacity: 0.6;
}
.footer-copyright p {
    margin: 0;
}
.blog-article {
    max-width: 720px;
    margin: 0 auto;
    padding: 2rem 1rem;
}
.blog-article h1 {
    font-size: 2rem;
    color: var(--accent-dark);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}
.breadcrumbs {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    z-index: auto;
    background: transparent;
    backdrop-filter: none;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}
.breadcrumbs a {
    color: var(--accent);
    text-decoration: none;
}
.breadcrumbs a:hover {
    text-decoration: underline;
}
.blog-meta {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    display: flex;
    gap: 1rem;
}
.blog-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text);
}
.blog-content h2 {
    font-size: 1.4rem;
    margin: 2rem 0 1rem;
    color: var(--accent-dark);
}
.blog-content p {
    margin-bottom: 1.2rem;
}
.blog-cta {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--surface);
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.blog-cta p {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--accent-dark);
}
.blog-back {
    display: inline-block;
    margin-top: 2rem;
    font-size: 0.9rem;
}
.blog-article-section {
    padding-top: 110px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}
.blog-card {
    background: var(--surface);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    text-decoration: none;
    color: var(--text);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
}
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.blog-card-image {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.blog-card-content {
    padding: 1.25rem;
}
.blog-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--accent-dark);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}
.blog-card-excerpt {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 0.75rem;
}
.blog-card-link {
    font-size: 0.85rem;
    color: var(--gold);
    font-weight: 600;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--surface);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    overflow: hidden;
}
.faq-detail {
    border-bottom: 1px solid #E5E7EB;
}
.faq-detail:last-child {
    border-bottom: none;
}
.faq-detail summary {
    padding: 20px 24px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    color: var(--accent-dark);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s ease;
}
.faq-detail summary::-webkit-details-marker {
    display: none;
}
.faq-detail summary::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--gold);
    flex-shrink: 0;
    margin-inline-start: 1rem;
    transition: transform 0.3s ease;
}
.faq-detail[open] summary::after {
    content: '−';
}
.faq-detail summary:hover {
    background: rgba(168, 140, 58, 0.04);
}
.faq-detail-answer {
    padding: 0 24px 20px;
    color: #4B5563;
    line-height: 1.7;
    font-size: 0.95rem;
}

.floating-contact {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 999;
    background: #A88C3A;
    color: #ffffff;
    padding: 16px 12px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Heebo', sans-serif;
    text-decoration: none;
    letter-spacing: 0.5px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    border-radius: 0 8px 8px 0;
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.15);
    transition: background 0.3s ease, opacity 0.4s ease;
    opacity: 0;
    pointer-events: none;
}
.floating-contact.visible {
    opacity: 1;
    pointer-events: auto;
}
.floating-contact:hover {
    background: #8a7430;
}

.whatsapp-float {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 9999;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}
.whatsapp-float svg {
    width: 28px;
    height: 28px;
    fill: #ffffff;
}

section:nth-of-type(even):not(.videos-section):not(.cta-section):not(.section-dark) {
    background-color: #ffffff;
}

section:nth-of-type(odd):not(.videos-section):not(.cta-section):not(.section-dark):not(.hero) {
    background-color: #f8f9fa;
    background-image: radial-gradient(circle at 1px 1px, rgba(0, 0, 0, 0.03) 1px, transparent 0);
    background-size: 24px 24px;
}

section.gallery-section {
    background-color: #f1f1f1;
}

section.testimonials-section {
    background-color: #ffffff;
}

section.faq-section {
    background-color: #f1f1f1;
}

section.contact-section {
    background-color: #ffffff;
}

section.videos-section {
    background-color: #1b3248 !important;
}

.fade-in {
    opacity: 1;
    transform: none;
}
section.fade-in {
    opacity: 1 !important;
    transform: none !important;
}
.fade-in.visible {
    opacity: 1;
    transform: none;
}

/* ========== Utility Classes (replacing inline styles) ========== */

.bg-surface { background: var(--surface); }
.bg-accent-dark { background: var(--accent-dark); }

.text-white { color: #fff; }
.text-white-muted { color: rgba(255, 255, 255, 0.7); }

.process-step-dark {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dir-ltr { direction: ltr; }
.dir-rtl { direction: rtl; }

.stats-section {
    background: var(--accent-dark);
    padding: 2rem 2rem;
}
.stats-section .why-us {
    color: #fff;
    gap: 1rem;
}
.stat-card {
    background: transparent;
    box-shadow: none;
    text-align: center;
    border: none;
}
.stat-card:hover {
    background: transparent;
    box-shadow: none;
    transform: none;
}
.stat-number {
    font-size: 3.5rem;
    color: var(--accent);
    margin-bottom: 0.25rem;
}
.stat-label {
    color: #fff;
    font-size: 1.15rem;
}

.section-description {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mt-1-5 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-1-5 { margin-bottom: 1.5rem; }
.mb-2 { margin-bottom: 2rem; }

.cta-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.footer-logo-img {
    max-height: 45px;
    width: auto;
    filter: brightness(0) invert(1);
}

.service-highlight {
    font-size: 1.2rem;
    color: var(--accent);
    margin-bottom: 1rem;
}
.service-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}
.service-features li {
    margin-bottom: 0.5rem;
}
.service-meta {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.blog-card {
    overflow: hidden;
    padding: 0;
    cursor: pointer;
}
.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}
.blog-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}
.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.blog-card-link {
    display: inline-block;
    margin-top: 0.75rem;
    color: var(--accent, #1D85BB);
    font-weight: 600;
    font-size: 0.9rem;
}
.blog-card-body {
    padding: 1.5rem;
}
.blog-card-meta {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}
.blog-card-excerpt {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.grid-3col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.grid-2col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.package-card {
    text-align: center;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}
.filter-btn {
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--accent);
    border-radius: 25px;
    cursor: pointer;
    font-family: 'Inter', 'Heebo', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: transparent;
    color: var(--accent);
}
.filter-btn.active,
.filter-btn:hover {
    background: var(--accent);
    color: #fff;
}

.section-heading--light {
    color: #fff;
}
.videos-section .section-heading::after {
    background: var(--gold);
}

.page-transitioning {
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
}

.page-exit-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: #1B3248;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
}
.transition-logo {
    font-family: 'Inter', 'Heebo', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.15em;
    opacity: 0;
    margin-bottom: 20px;
}
.transition-progress {
    width: 60px;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
}
.transition-progress::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: #A88C3A;
    border-radius: 2px;
    animation: progress-slide 1.2s ease-in-out infinite;
}
@keyframes progress-slide {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.client-logo-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.client-logo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(201, 168, 76, 0.15);
}

/* ===== CLIENTS MARQUEE - REPLACED COMPLETELY ===== */
.clients-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    background-color: var(--bg, #F5F5F5);
    overflow: hidden;
}
.clients-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}
.clients-heading {
    color: #1D85BB;
    margin-bottom: 1.5rem;
    padding-top: 2rem;
}
.clients-marquee {
    overflow: hidden;
    width: 100%;
    padding: 15px 0;
    mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
}
.marquee-track {
    display: flex;
    width: max-content;
    animation: marqueeScroll 35s linear infinite;
}
.marquee-content {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 0 20px;
    flex-shrink: 0;
}
.marquee-content img {
    height: 72px;
    width: auto;
    flex-shrink: 0;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: filter 0.3s ease, opacity 0.3s ease;
}
.marquee-content img:hover {
    filter: grayscale(0%);
    opacity: 1;
}
@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-25%); }
}
@keyframes marqueeScrollRTL {
    0% { transform: translateX(0); }
    100% { transform: translateX(25%); }
}
[dir="rtl"] .marquee-track {
    animation-name: marqueeScrollRTL;
}
.clients-marquee:hover .marquee-track {
    animation-play-state: paused;
}

/* ===== END CLIENTS MARQUEE ===== */

.client-logo-card img {
    max-width: 90%;
    max-height: 150px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.client-logo-card .company-name {
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    color: #0e0e0e;
}

.videos-section {
    background: #1b3248 !important;
    color: #ffffff !important;
    padding: 5rem 2rem;
    max-width: 100% !important;
}

.videos-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.video-card {
    background-color: rgba(255,255,255,0.07);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(29,133,187,0.25);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0;
}

.video-card:nth-child(even) {
    flex-direction: row-reverse;
}

.video-card:hover {
    border-color: var(--accent);
    background-color: rgba(255,255,255,0.12);
    box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}

.video-container iframe,
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    object-fit: cover;
}

.video-info {
    padding: 2rem 2.5rem;
    text-align: right;
    flex: 1;
}

.video-info h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 700;
}

.video-info p {
    font-size: 1rem;
    line-height: 1.9;
    color: #e0e0e0;
}

@media (max-width: 1024px) {
    .masonry-gallery {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 1rem;
    }

    .video-card {
        flex-direction: column !important;
    }

    .video-card:nth-child(even) {
        flex-direction: column !important;
    }

    .video-container {
        width: 100%;
        min-width: 100%;
        padding-bottom: 56.25%;
    }
}

.service-card, .video-card, .testimonial, .client-logo-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.service-card:hover, .video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(27, 50, 72, 0.15);
}

section h2 {
    position: relative;
    display: inline-block;
}
section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
}

.cta-btn, button[type="submit"] {
    background: #1b3248;
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.cta-btn::before, button[type="submit"]::before {
    content: '';
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, var(--accent), var(--deep-blue));
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
}
.cta-btn:hover, button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(29, 133, 187, 0.3);
}
.cta-btn:hover::before, button[type="submit"]:hover::before {
    width: 100%;
}

.gallery-item img {
    transition: transform 0.5s ease;
}
.gallery-item:hover img {
    transform: scale(1.04);
}

.client-logo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(27, 50, 72, 0.1);
}

.step-number {
    background: linear-gradient(135deg, #1b3248, #1d85bb);
    color: white;
}

.testimonial:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(27, 50, 72, 0.12);
}

.video-container {
    position: relative;
    width: 55%;
    min-width: 55%;
    padding-bottom: 30.9%;
    height: 0;
    overflow: hidden;
    background-color: #000;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(27, 50, 72, 0.1);
}

.hero h1, .hero p {
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

input[type="text"], input[type="email"], input[type="tel"], textarea {
    color: #2e2e2e;
    background: white;
    border: 1px solid #ddd;
}

label {
    color: #2e2e2e;
}

.nav-menu a {
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.3s ease;
}
.nav-menu a:hover {
    color: #fff;
}

footer a {
    color: white;
    transition: color 0.3s ease;
}
footer a:hover {
    color: var(--accent);
}

footer i {
    color: white;
    transition: color 0.3s ease;
}
footer i:hover {
    color: var(--accent);
}

.gallery-toggle-btn {
    display: block;
    margin: 2rem auto 0;
    padding: 0.8rem 3rem;
}

.gallery-hidden {
    display: none !important;
}

/* ========== Inner Page Hero ========== */
.hero-inner {
    min-height: 50vh;
    height: auto;
    margin-top: 0;
    padding-top: 80px;
    padding-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #0D1520;
    background-size: cover !important;
    background-position: center center;
    background-repeat: no-repeat !important;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}
.hero-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(13, 21, 32, 0.65);
    z-index: 1;
}
.hero-inner .hero-content {
    position: relative;
    z-index: 2;
}
.hero-inner .hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}
.hero-inner .hero-subtitle {
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin: 1rem auto;
}
.hero-inner .hero-buttons {
    position: relative;
    z-index: 2;
    margin-top: 1.5rem;
}

/* ========== Section Heading Utility Classes ========== */
.section-heading {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--accent-dark);
}
.section-heading--light {
    color: #fff;
}
.section-heading--sm {
    margin-bottom: 1rem;
}
.service-heading {
    color: var(--accent-dark);
}

/* ========== Grain/Noise Overlay ========== */
.grain-overlay {
    position: fixed;
    inset: 0;
    z-index: 50;
    pointer-events: none;
    opacity: 0.03;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ========== Scroll to Top Button ========== */
.scroll-top {
    position: fixed;
    bottom: 100px;
    inset-inline-end: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(29, 133, 187, 0.3);
}
.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.scroll-top:hover {
    background: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(29, 133, 187, 0.4);
}

/* ========== Navigation: Transparent → Solid ========== */
nav.nav-transparent {
    background: rgba(13, 21, 32, 0.85);
    backdrop-filter: blur(10px);
    border-bottom-color: transparent;
}
nav.nav-transparent .nav-menu a {
    color: rgba(255, 255, 255, 0.9);
}
nav.nav-transparent .nav-menu a:hover {
    color: #fff;
}
nav.nav-transparent .hamburger span,
nav.nav-transparent .hamburger-line {
    background: #fff;
}
nav.nav-transparent .nav-menu.nav-open {
    background: rgba(13, 21, 32, 0.95);
    backdrop-filter: blur(10px);
}
nav.nav-transparent .nav-menu.nav-open a {
    color: rgba(255, 255, 255, 0.9);
}
nav.nav-transparent .nav-menu.nav-open a:hover {
    background: rgba(255, 255, 255, 0.1);
}
nav.nav-scrolled {
    background: rgba(27, 50, 72, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
nav.nav-scrolled .nav-menu a {
    color: rgba(255, 255, 255, 0.9);
}
nav.nav-scrolled .nav-menu a:hover {
    color: #fff;
}
nav.nav-scrolled .hamburger span,
nav.nav-scrolled .hamburger-line {
    background: #fff;
}

.nav-menu a.active {
    color: var(--accent) !important;
    font-weight: 600;
}
.nav-menu a.active::after {
    width: 100%;
}

/* ========== Scroll Animation Classes ========== */
.reveal-text {
    overflow: hidden;
    display: block;
}
.reveal-text-inner {
    display: inline-block;
}
.image-reveal {
    clip-path: inset(0);
}
.parallax-img {
    height: 120%;
    width: 100%;
    object-fit: cover;
}
.section-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    width: 60%;
    margin: 0 auto;
}

/* ========== Custom Cursor (Portfolio) ========== */
.custom-cursor {
    position: fixed;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(29, 133, 187, 0.9);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    pointer-events: none;
    z-index: 2002;
    opacity: 0;
    transform: scale(0);
    letter-spacing: 0.05em;
}

@media (hover: none), (max-width: 768px) {
    .custom-cursor { display: none; }
    body[data-page="portfolio"] .gallery-item-modern { cursor: pointer; }
}

body[data-page="portfolio"] .gallery-item-modern { cursor: none; }

/* ========== Preloader ========== */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: linear-gradient(rgba(13, 21, 32, 0.85), rgba(13, 21, 32, 0.85)), url('../images/exterior-day-2.webp') center/cover no-repeat;
    background-color: #0D1520;
    display: flex;
    align-items: center;
    justify-content: center;
}
.preloader-hiding {
    opacity: 0;
    transition: opacity 0.5s ease;
}
.preloader-logo {
    font-family: 'Inter', 'Heebo', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.15em;
    opacity: 0;
    transform: translateY(20px);
    animation: preloaderPulse 1.5s ease-in-out infinite;
}
@keyframes preloaderPulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

/* === GLOBAL POLISH (Aiko Style) === */

.gallery-item-modern img,
.service-card-img img,
.project-card-image img,
.portfolio-image img,
.blog-card img {
    border-radius: 20px;
}
.gallery-item-modern,
.blog-card {
    border-radius: 20px;
    overflow: hidden;
}

.btn-primary, .cta-btn, .btn {
    border-radius: 50px;
    padding: 14px 32px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.44, 0, 0.56, 1);
}

a {
    transition: color 0.2s cubic-bezier(0.44, 0, 0.56, 1);
}

.gallery-item-modern:hover img,
.project-card:hover img,
.service-card:hover img {
    transform: scale(1.04);
    transition: transform 0.6s cubic-bezier(0.44, 0, 0.56, 1);
}

/* ========== Page Transition ========== */
.js body {
    opacity: 0;
    transition: opacity 0.4s ease;
}
.js body.loaded {
    opacity: 1;
}

/* =============================================
   MOBILE RESPONSIVE - COMPREHENSIVE FIX
   ============================================= */

/* --- Tablet (max 1024px) --- */
@media (max-width: 1024px) {
    .section {
        padding: 3rem 1.5rem;
    }
    .services {
        grid-template-columns: repeat(2, 1fr);
    }
    .process-steps {
        flex-wrap: wrap;
        justify-content: center;
    }
    .process-step {
        width: 45%;
    }
}

/* --- Very Small (max 360px) --- */
@media (max-width: 360px) {
    nav {
        padding: 0.5rem 0.75rem;
    }
    .logo img {
        height: 32px;
    }
    .lang-switch {
        padding: 3px 8px;
        font-size: 11px;
    }
}

@supports (padding: env(safe-area-inset-bottom)) {
    footer {
        padding-bottom: calc(1.5rem + env(safe-area-inset-bottom));
    }
}

img, video, iframe {
    max-width: 100%;
}

/* ========== Reduced Motion ========== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .preloader,
    .grain-overlay { display: none !important; }
    .fade-in { opacity: 1 !important; transform: none !important; }
    .js body { opacity: 1 !important; }
    .gallery-item-modern { animation: none !important; opacity: 1 !important; }
}

/* === PROJECT DETAIL PAGE === */
.project-detail-meta {
    display: flex;
    gap: 40px;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.meta-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.meta-label {
    font-size: 13px;
    color: #888;
    font-weight: 500;
}

.meta-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}

.project-description {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text);
    max-width: 800px;
}

.project-images-grid {
    display: grid;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 36px;
}

.project-gallery-img {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
}

.next-project-section {
    text-align: center;
    padding: 80px 36px;
    border-top: 1px solid var(--border);
}

.next-project-section a {
    text-decoration: none;
    color: inherit;
}

.next-label {
    font-size: 14px;
    color: #888;
    display: block;
    margin-bottom: 12px;
}

.next-project-section h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--accent-dark);
    transition: color 0.3s ease;
}

.next-project-section a:hover h2 {
    color: var(--accent);
}

/* === GLOBAL POLISH === */

a {
    transition: color 0.2s ease;
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--accent);
    z-index: 10000;
}

.video-play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3);
    cursor: pointer;
    transition: background 0.3s ease;
    z-index: 2;
}
.video-play-btn:hover {
    background: rgba(0,0,0,0.15);
}
.play-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text);
    transition: transform 0.3s ease;
}
.video-play-btn:hover .play-icon {
    transform: scale(1.1);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    border-radius: 12px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(29, 133, 187, 0.15);
    outline: none;
}

.hero-inner .hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
}

#project-video-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}
#project-video-container video {
    width: 100%;
    display: block;
}

.input-error {
    border-color: #e74c3c !important;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.15) !important;
}
.field-error {
    color: #e74c3c;
    font-size: 0.8rem;
    margin-top: 4px;
    display: block;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 16px 24px;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}
.cookie-banner p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text);
}
.cookie-banner a {
    color: var(--accent);
    text-decoration: underline;
}
.cookie-banner .btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
    margin-right: 20px;
}

.card-img-full {
    width: 100%;
    border-radius: 12px;
}

.skip-link {
    position: absolute;
    top: -40px;
    right: 0;
    padding: 8px 16px;
    background: var(--accent-dark, #1b3248);
    color: #fff;
    z-index: 10001;
    border-radius: 0 0 0 12px;
    font-size: 0.85rem;
    transition: top 0.3s ease;
    text-decoration: none;
}
.skip-link:focus {
    top: 0;
}

@media print {
    nav, footer, .whatsapp-btn, .whatsapp-float, .floating-contact, .preloader, .cookie-banner,
    .scroll-progress, #scrollProgress,
    .hero-buttons, .page-transitioning { display: none !important; }
    body { font-size: 12pt; color: black; background: white; }
    a { color: black; }
    img { max-width: 100%; }
}

/* === ACCESSIBILITY === */
*:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ===== SECTION BACKGROUND TEXTURES ===== */
section#about,
section#why-us,
.faq-section,
section#process,
.stats-section {
    position: relative !important;
    overflow: visible !important;
}
section#about::before {
    content: '' !important;
    position: absolute !important;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('../images/hero/hero-slide-2.webp') !important;
    background-size: cover !important;
    background-position: center !important;
    opacity: 0.04 !important;
    pointer-events: none !important;
    z-index: 0 !important;
}

.stats-section::before {
    content: '' !important;
    position: absolute !important;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('../images/hero/hero-slide-3.webp') !important;
    background-size: cover !important;
    background-position: center !important;
    opacity: 0.04 !important;
    pointer-events: none !important;
    z-index: 0 !important;
}

section#why-us::before {
    content: '' !important;
    position: absolute !important;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('../images/hero/hero-slide-4.webp') !important;
    background-size: cover !important;
    background-position: center !important;
    opacity: 0.04 !important;
    pointer-events: none !important;
    z-index: 0 !important;
}

.faq-section::before {
    content: '' !important;
    position: absolute !important;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('../images/hero/hero-slide-5.webp') !important;
    background-size: cover !important;
    background-position: center !important;
    opacity: 0.04 !important;
    pointer-events: none !important;
    z-index: 0 !important;
}

section#process::before {
    content: '' !important;
    position: absolute !important;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('../images/hero/hero-slide-1.webp') !important;
    background-size: cover !important;
    background-position: center !important;
    opacity: 0.04 !important;
    pointer-events: none !important;
    z-index: 0 !important;
}

section#about > *,
.stats-section > *,
section#why-us > *,
.faq-section > *,
section#process > * {
    position: relative !important;
    z-index: 1 !important;
}
/* ===== END SECTION BACKGROUND TEXTURES ===== */

/* Lazy loading transition */
img.lazy-img {
    opacity: 0;
    transition: opacity 0.3s ease;
}
img.lazy-loaded {
    opacity: 1;
}

/* =============================================
   CONSOLIDATED MEDIA QUERIES
   ============================================= */

/* --- Tablet/Mobile nav reorder (max-width: 1024px) --- */
@media (max-width: 1024px) {
    .nav-container .logo { order: 2; }
    .nav-container .nav-controls { order: -1; }
}

/* --- Mobile (max-width: 768px) --- */
@media (max-width: 768px) {
    /* Process infographic */
    .process-section-wrapper {
        padding: 40px 20px;
        border-radius: 16px;
    }
    .process-infographic {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    .process-step-icon {
        max-width: 200px;
        height: 160px;
    }
    .process-arrow {
        padding-top: 0;
        margin-top: 0;
        transform: rotate(90deg);
    }
    .process-arrow svg {
        animation: none;
    }
    [dir="rtl"] .process-arrow svg {
        transform: scaleX(1);
        animation: none;
    }

    /* Services accordion */
    .services-accordion { padding: 30px 20px; }
    .accordion-inner { flex-direction: column; padding-left: 0; gap: 20px; }
    .accordion-media { flex: none; width: 100%; }
    .accordion-media img { height: 200px; }
    .accordion-title { font-size: 18px; }

    /* Projects grid + filter */
    .projects-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }
    .projects-filter-bar {
        padding: 0 20px;
        max-width: 100%;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    /* Stats, grid, gallery filters */
    .stats-section {
        padding: 2rem 1rem;
    }
    .stat-number {
        font-size: 2rem;
    }
    .section-description {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }
    .grid-3col,
    .grid-2col {
        grid-template-columns: 1fr;
    }
    .gallery-filters {
        gap: 0.5rem;
    }
    .filter-btn {
        padding: 0.4rem 1rem;
        font-size: 0.85rem;
    }

    /* Marquee */
    .marquee-content {
        gap: 30px;
        padding: 0 15px;
    }
    .marquee-content img {
        height: 56px;
    }

    /* Video cards, clients grid */
    .video-card, .video-card:nth-child(even) {
        flex-direction: column !important;
    }
    .clients-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    .client-logo-card {
        min-height: 150px;
    }

    /* Comprehensive mobile responsive */
    nav {
        padding: 0.75rem 1rem;
    }
    .nav-container {
        gap: 0.5rem;
    }
    .logo img {
        height: 38px;
    }
    .nav-menu.nav-open a {
        color: rgba(255, 255, 255, 0.9);
    }
    .nav-menu.nav-open a:hover {
        background: rgba(255, 255, 255, 0.1);
    }
    .nav-menu a::after {
        display: none;
    }
    .lang-switch {
        padding: 4px 10px;
        font-size: 12px;
    }

    .floating-contact {
        top: 50%;
        left: 0;
        bottom: auto;
        transform: translateY(-50%);
        font-size: 12px;
        padding: 12px 8px;
        z-index: 998;
    }
    .floating-contact.visible {
        transform: translateY(-50%);
    }
    .whatsapp-float {
        bottom: 24px;
        left: 16px;
        width: 48px;
        height: 48px;
    }

    .hero h1 {
        line-height: 1.3;
        padding: 0 1rem;
    }
    .hero .hero-brand {
        font-size: 1.2rem;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
    }
    .hero-buttons .btn {
        width: 80%;
        max-width: 280px;
        text-align: center;
    }
    .section {
        padding: 2.5rem 1rem;
    }
    section h2 {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }
    section h2::after {
        width: 40px;
    }

    .about {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .about-image {
        height: 250px;
        order: -1;
    }
    .about-text h2 {
        font-size: 1.5rem;
    }
    .about-text p {
        font-size: 0.95rem;
    }
    .about-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    .stat-item {
        min-width: 80px;
    }

    .services {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .service-card-img {
        height: 180px;
    }
    .service-card-body {
        padding: 1.2rem 1.5rem 1.5rem;
    }
    .service-card-body h3 {
        font-size: 1.1rem;
    }
    .service-price {
        font-size: 1.3rem;
    }

    .process-steps {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    .process-step {
        flex-direction: row;
        gap: 1rem;
        text-align: start;
        width: 100%;
        max-width: 350px;
    }

    .masonry-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    .gallery-item {
        width: 100%;
        height: auto;
        aspect-ratio: 4/3;
    }
    .gallery-toggle-btn {
        margin: 1.5rem auto 0;
        padding: 0.7rem 2.5rem;
        font-size: 0.9rem;
    }

    .videos-section {
        padding: 3rem 1rem;
    }
    .video-card, .video-card:nth-child(even) {
        flex-direction: column !important;
    }
    .video-container {
        width: 100% !important;
        min-width: 100% !important;
        padding-bottom: 56.25% !important;
    }
    .video-info {
        padding: 1.2rem 1rem;
    }
    .video-info h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    .video-info p {
        font-size: 0.85rem;
        line-height: 1.6;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .client-logo-card {
        min-height: 120px;
        padding: 1.2rem;
    }
    .client-logo-card img {
        max-height: 100px;
    }

    .testimonial {
        padding: 1.5rem;
    }
    .testimonial-text {
        font-size: 0.9rem;
    }

    .faq-question {
        font-size: 0.95rem;
        padding: 1rem 0;
    }
    .faq-answer p {
        font-size: 0.9rem;
    }

    .contact {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .contact-item {
        padding: 1rem;
    }
    input[type="text"], input[type="email"], input[type="tel"], textarea {
        font-size: 16px;
    }

    .cta-section {
        padding: 2.5rem 1rem;
    }
    .cta-section h2 {
        font-size: 1.4rem;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        text-align: center;
    }
    .footer-policies {
        padding: 1rem 0;
    }
    .footer-policies a {
        font-size: 0.75rem;
    }
    .footer-divider {
        margin: 0 0.4rem;
    }

    .scroll-top {
        bottom: 24px;
        right: 16px;
        left: auto;
        inset-inline-end: unset;
        width: 42px;
        height: 42px;
    }

    nav.nav-transparent .nav-menu.nav-open {
        background: rgba(13, 21, 32, 0.95);
        backdrop-filter: blur(10px);
    }
    nav.nav-transparent .nav-menu.nav-open a {
        color: rgba(255, 255, 255, 0.9);
    }
    nav.nav-scrolled .nav-menu.nav-open {
        background: rgba(13, 21, 32, 0.95);
        backdrop-filter: blur(10px);
    }
    nav.nav-scrolled .nav-menu.nav-open a {
        color: rgba(255, 255, 255, 0.9);
    }

    .section-divider {
        width: 80% !important;
    }

    .hero-inner {
        min-height: 40vh;
        margin-top: 0;
        padding-top: 70px;
        background-attachment: scroll;
    }
    .hero-inner .hero-title {
        font-size: 2rem;
        padding: 0 1rem;
    }
    .section-heading {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }

    /* Project detail */
    .project-detail-meta {
        flex-direction: column;
        gap: 16px;
    }
    .project-images-grid {
        padding: 0 20px;
    }
    .next-project-section h2 {
        font-size: 24px;
    }

    /* Mobile overflow prevention */
    .section, section {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        overflow-x: hidden;
    }
    .section > * {
        max-width: 100%;
    }
    img {
        max-width: 100%;
        height: auto;
    }
    .projects-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
    .why-us {
        flex-wrap: wrap;
        gap: 1rem;
    }
    .stat-card {
        min-width: 100px;
        flex: 1 1 30%;
    }

    body::before {
        background-attachment: scroll;
    }

    .hero-video {
        object-fit: cover;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0;
    }

    .blog-card {
        min-height: 44px;
    }
    .blog-card-content {
        padding: 1rem;
    }
    .blog-card-content h3 {
        font-size: 1rem;
        line-height: 1.4;
    }

    .process-step-desc {
        font-size: 0.75rem;
        text-align: center;
    }

    .about-image video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .btn {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    .accordion-item.active .accordion-content {
        max-height: 700px;
    }

    .project-card-header {
        flex-wrap: wrap;
        gap: 4px;
        padding: 12px 16px;
    }
    .project-card-name {
        font-size: 16px;
    }

    .video-container video {
        object-fit: contain;
    }

    .cta-section {
        background-attachment: scroll;
    }

    .testimonials {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 1rem;
        padding-bottom: 0.5rem;
    }
    .testimonial {
        min-width: 85%;
        scroll-snap-align: start;
        flex-shrink: 0;
    }

    .service-selector {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .service-btn {
        padding: 12px 6px;
        font-size: 0.8rem;
    }
    .service-btn svg {
        width: 26px;
        height: 26px;
    }

    .stages-grid {
        grid-template-columns: 1fr;
    }

    .input-with-icon input,
    .input-with-icon textarea {
        padding-right: 40px;
    }

    .contact-form {
        width: 100%;
    }

    details .faq-detail-answer {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .why-us {
        flex-direction: column;
    }
    .why-card {
        width: 100%;
    }

    /* Section background textures overflow */
    section#about,
    section#why-us,
    .faq-section,
    section#process,
    .stats-section {
        overflow: hidden !important;
    }

    /* Hero — relative position for iOS compatibility */
    .hero {
        position: relative;
    }
    .page-content {
        margin-top: 0;
    }

    /* Touch targets — minimum 44px */
    .lang-switch {
        min-height: 44px;
        min-width: 44px;
        padding: 10px 14px;
    }
    .footer-contact a {
        display: inline-block;
        min-height: 44px;
        line-height: 44px;
    }
    .footer-policies a {
        display: inline-block;
        min-height: 44px;
        line-height: 44px;
        font-size: 0.85rem;
    }

    /* Overflow prevention for embedded media */
    video, iframe {
        max-width: 100%;
    }
}

/* --- Small Mobile (max-width: 480px) --- */
@media (max-width: 480px) {
    /* Video card + lightbox */
    .video-card {
        padding: 1rem;
    }
    .lightbox-close {
        top: 10px;
        right: 10px;
        font-size: 2rem;
    }

    /* Comprehensive small mobile */
    .hero .hero-brand {
        font-size: 1rem;
    }
    .section {
        padding: 2rem 0.75rem;
    }
    section h2 {
        font-size: 1.3rem;
    }
    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.85rem;
    }
    .services {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    .service-card-img {
        height: 150px;
    }
    .masonry-gallery {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    .clients-grid {
        grid-template-columns: 1fr;
    }
    .about-text h2 {
        font-size: 1.3rem;
    }
    .about-stats .stat-number {
        font-size: 1.6rem;
    }
    .testimonials {
        gap: 1rem;
    }
    .footer-policies a {
        font-size: 0.75rem;
    }
    .footer-divider {
        margin: 0 0.3rem;
    }
    .lightbox-close {
        top: 10px;
        right: 10px;
        font-size: 2rem;
    }
    .hero-inner .hero-title {
        font-size: 1.6rem;
    }
    .section-heading {
        font-size: 1.3rem;
    }

    .process-step {
        max-width: 100%;
    }
    .process-step-icon {
        max-width: 200px;
        height: 160px;
    }
    .process-step-text {
        font-size: 0.8rem;
    }
    .process-step-desc {
        font-size: 0.7rem;
    }
    .process-arrow svg {
        width: 24px;
        height: 24px;
    }

    .stat-number {
        font-size: 2.2rem;
    }
    .stat-label {
        font-size: 0.8rem;
    }

    .marquee-content img {
        height: 32px;
    }
    .marquee-content {
        gap: 20px;
        padding: 0 10px;
    }

    .hero .subtitle,
    .hero-subtitle {
        font-size: 0.9rem;
        padding: 0 1rem;
    }

    .blog-grid {
        gap: 1rem;
    }

    .about-image {
        height: 200px;
    }

    .filter-btn {
        padding: 0.35rem 0.75rem;
        font-size: 0.78rem;
    }
    .gallery-filters {
        gap: 0.4rem;
    }

    .hero-inner {
        min-height: 35vh;
        padding-top: 60px;
    }

    .project-description {
        font-size: 15px;
        line-height: 1.7;
    }
    .project-images-grid {
        gap: 12px;
        padding: 0 12px;
    }
    .next-project-section {
        padding: 40px 16px;
    }
    .next-project-section h2 {
        font-size: 20px;
    }

    .cookie-banner {
        flex-direction: column;
        gap: 10px;
        padding: 12px 16px;
        text-align: center;
    }
    .cookie-banner .btn-sm {
        margin-right: 0;
    }
}

