/* Custom Fonts */
@font-face {
    font-family: 'Rubik Black';
    src: url('/static/fonts/Rubik-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Rubik Black';
    src: url('/static/fonts/Rubik-Light.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Rubik Black';
    src: url('/static/fonts/Rubik-Light.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Rubik Black';
    src: url('/static/fonts/Rubik-Light.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Rubik Black';
    src: url('/static/fonts/Rubik-Light.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Rubik Black';
    src: url('/static/fonts/Rubik-Light.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Rubik Black';
    src: url('/static/fonts/Rubik-Light.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Carmelit';
    src: url('/static/fonts/carmelitregular.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Carmelit';
    src: url('/static/fonts/carmelitregular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Carmelit';
    src: url('/static/fonts/carmelitregular.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Carmelit';
    src: url('/static/fonts/carmelitregular.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Carmelit';
    src: url('/static/fonts/carmelitregular.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Carmelit';
    src: url('/static/fonts/carmelitregular.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Carmelit';
    src: url('/static/fonts/carmelitregular.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* Partnerships Page */
.partners-page {
    background-color: #0f0f0f;
    color: #f5f5f5;
}

/* Policy Page */
.policy-page {
    background-color: #0f0f0f;
    color: #f5f5f5;
}

.policy-hero {
    position: relative;
    padding: 150px 0 70px;
    background-image:
        radial-gradient(120% 140% at 80% 20%, rgba(232, 211, 161, 0.12), rgba(12, 12, 12, 0.95)),
        url("../images/footer-bg.webp");
    background-size: cover, cover;
    background-position: center, center;
}

.policy-hero-card {
    max-width: 820px;
    padding: 40px;
    background: rgba(18, 18, 20, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
}

.policy-eyebrow {
    font-size: 14px;
    letter-spacing: 0.6px;
    color: #e8d3a1;
    margin: 0 0 10px 0;
}

.policy-title {
    font-size: 40px;
    font-weight: 800;
    margin: 0 0 12px 0;
    color: #ffffff;
}

.policy-updated {
    font-size: 15px;
    color: #c9cbd3;
    margin: 0;
}

.policy-content {
    padding: 50px 0 120px;
}

.policy-card {
    background: rgba(18, 18, 20, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 36px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.policy-intro {
    font-size: 16px;
    line-height: 1.9;
    color: #d7d9e1;
    margin: 0 0 28px 0;
}

.policy-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 28px;
}

.policy-section-title {
    font-size: 20px;
    color: #ffffff;
    margin: 0 0 12px 0;
}

.policy-item p {
    font-size: 15px;
    line-height: 1.85;
    color: #d0d2db;
    margin: 0 0 12px 0;
}

.policy-item p:last-child {
    margin-bottom: 0;
}

.policy-bullets {
    margin: 0 0 12px 0;
    padding-right: 22px;
    color: #d0d2db;
}

.policy-bullets li {
    margin-bottom: 6px;
    line-height: 1.7;
}

.policy-email {
    color: #e8d3a1;
    font-weight: 600;
}

.partners-hero {
    position: relative;
    padding: 160px 0 120px;
    background-image:
        radial-gradient(120% 140% at 80% 20%, rgba(232, 211, 161, 0.12), rgba(12, 12, 12, 0.95)),
        url("../images/coop-bg.webp");
    background-size: cover, cover;
    background-position: center, center;
    overflow: hidden;
}

.partners-hero::after {
    content: '';
    position: absolute;
    top: -140px;
    left: -120px;
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(232, 211, 161, 0.12) 0%, rgba(15, 15, 15, 0) 65%);
    filter: blur(12px);
    pointer-events: none;
}

.partners-hero-card {
    position: relative;
    max-width: 880px;
    padding: 48px;
    background: rgba(18, 18, 20, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
}

.partners-eyebrow {
    font-size: 14px;
    letter-spacing: 0.6px;
    color: #e8d3a1;
    margin: 0 0 10px 0;
}

.partners-title {
    font-size: 44px;
    font-weight: 800;
    margin: 0 0 14px 0;
    color: #ffffff;
}

.partners-subtitle {
    font-size: 18px;
    line-height: 1.8;
    color: #c9cbd3;
    margin: 0;
    max-width: 760px;
}

.partners-logos-section {
    padding: 20px 0 120px;
}

.partners-section-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.partners-grid-title {
    font-size: 32px;
    font-weight: 700;
    margin: 6px 0 0 0;
    color: #ffffff;
}

.partners-section-text {
    max-width: 540px;
    margin: 0;
    color: #c4c6cf;
    line-height: 1.7;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.partner-card {
    background: #131314;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
    outline: none;
    border: none;
    width: 100%;
    text-align: center;
    position: relative;
}

.partner-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
    border-color: rgba(232, 211, 161, 0.35);
}

.partner-card:focus-visible {
    border-color: rgba(232, 211, 161, 0.55);
    box-shadow: 0 0 0 3px rgba(232, 211, 161, 0.25), 0 18px 46px rgba(0, 0, 0, 0.35);
}

.partner-card-image {
    width: 100%;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.partner-card-image:focus-visible {
    outline: 2px solid rgba(232, 211, 161, 0.65);
    outline-offset: 4px;
}

.partner-card-meta {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 6px;
}

.partner-card-menu {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(232, 211, 161, 0.25);
    background: rgba(232, 211, 161, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 8px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
    flex-shrink: 0;
}

.partner-card-menu span {
    display: block;
    width: 100%;
    height: 2px;
    background: #e8d3a1;
    border-radius: 10px;
}

.partner-card-menu:hover {
    background: rgba(232, 211, 161, 0.18);
    border-color: rgba(232, 211, 161, 0.55);
    transform: translateY(-1px);
}

.partner-card-menu:focus-visible {
    outline: 2px solid rgba(232, 211, 161, 0.75);
    outline-offset: 2px;
}

.partner-logo {
    width: 100%;
    height: 200px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: grid;
    place-items: center;
    padding: 0;
    overflow: hidden;
    background: transparent;
}

.partner-logo--dark {
    background: transparent;
}

.partner-logo--light {
    background: transparent;
    border-color: rgba(0, 0, 0, 0.1);
}

.partner-logo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    filter: grayscale(10%);
}

.partner-card:hover .partner-logo img {
    filter: grayscale(0%);
}

.partner-name {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    color: #d9dbe3;
    text-align: center;
    line-height: 1.4;
    flex: 1;
}

.partners-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: #c4c6cf;
    padding: 40px 0;
}

.partners-cta-section {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    min-height: 1280px;
    background: #0d0d0e;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    overflow: hidden;
}

.partners-cta-media {
    background: url("../images/partner.webp") center/cover no-repeat;
    min-height: 100%;
}

.partners-cta-content {
    padding: 72px 64px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    background: linear-gradient(180deg, rgba(16,16,18,0.95) 0%, rgba(12,12,14,0.92) 100%);
}

.partners-cta-title {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
}

.partners-cta-text {
    margin: 0 0 8px 0;
    color: #c4c6cf;
    line-height: 1.7;
}

.partners-cta-form {
    display: grid;
    gap: 14px;
}

.partners-form-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.partners-form-label {
    font-size: 14px;
    color: #d9dbe3;
}

.partners-form-input {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 12px 14px;
    color: #fff;
    outline: none;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.partners-form-input:focus {
    border-color: rgba(232, 211, 161, 0.6);
    background: rgba(255, 255, 255, 0.08);
}

.partners-checkbox-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.partners-checkbox {
    margin-top: 4px;
}

.partners-checkbox-label {
    font-size: 13px;
    color: #cfd1da;
    line-height: 1.6;
}

.partners-policy-link {
    color: inherit;
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

.partners-policy-link:hover {
    opacity: 0.8;
}

.partners-submit-btn {
    background: linear-gradient(90deg, #e8d3a1, #c9ab67);
    color: #0d0d0e;
    border: none;
    border-radius: 12px;
    padding: 12px 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    transition: transform 0.15s ease, box-shadow 0.2s ease, opacity 0.15s ease;
}

.partners-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 22px 46px rgba(0, 0, 0, 0.45);
}

.partners-submit-btn:active {
    transform: translateY(0);
    opacity: 0.9;
}

@media (max-width: 1024px) {
    .partners-cta-section {
        grid-template-columns: 1fr;
        min-height: 620px;
    }
    .partners-cta-content {
        padding: 48px 32px;
    }
}

@media (max-width: 600px) {
    .partners-cta-content {
        padding: 40px 24px;
    }
    .partners-cta-title {
        font-size: 26px;
    }
}

@media (max-width: 600px) {
    .instagram-icon {
        width: 42px;
        height: 42px;
    }
}

.partner-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.78);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 1750;
}

.partner-modal.visible {
    opacity: 1;
    pointer-events: auto;
}

.partner-modal-backdrop {
    position: absolute;
    inset: 0;
}

.partner-modal-body {
    position: relative;
    max-width: 92vw;
    max-height: 88vh;
    background: #0e0e0f;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
    padding: 16px 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.partner-modal-image {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.partner-modal-caption {
    margin: 0;
    color: #e1e3ea;
    text-align: center;
    font-size: 15px;
    line-height: 1.5;
}

.partner-modal-close {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: grid;
    place-items: center;
}

.partner-modal-close:hover {
    background: rgba(232, 211, 161, 0.2);
    border-color: rgba(232, 211, 161, 0.5);
}

.partner-detail-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.82);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 1650;
}

.partner-detail-modal.visible {
    opacity: 1;
    pointer-events: auto;
}

.partner-detail-backdrop {
    position: absolute;
    inset: 0;
}

.partner-detail-dialog {
    position: relative;
    width: min(1140px, 94vw);
    background: linear-gradient(180deg, rgba(20, 20, 22, 0.96) 0%, rgba(12, 12, 14, 0.94) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 18px 18px 14px;
    box-shadow: 0 36px 90px rgba(0, 0, 0, 0.65);
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow: hidden;
}

.partner-detail-close {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    display: grid;
    place-items: center;
}

.partner-detail-close:hover {
    background: rgba(232, 211, 161, 0.2);
    border-color: rgba(232, 211, 161, 0.5);
}

.partner-detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.partner-detail-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.partner-detail-logo-wrap {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    display: grid;
    place-items: center;
    overflow: hidden;
}

.partner-detail-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.partner-detail-title {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
}

.partner-detail-body {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 18px;
    direction: ltr;
}

.partner-detail-media {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 10px;
}

.partner-detail-slider {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #0d0d0e;
    min-height: 380px;
}

.partner-detail-track {
    display: flex;
    transition: transform 0.4s ease;
    height: 100%;
}

.partner-detail-slide {
    min-width: 100%;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 20% 20%, rgba(232, 211, 161, 0.06), rgba(11, 11, 12, 0.96));
}

.partner-detail-slide img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    padding: 16px;
    cursor: zoom-in;
}

.partner-detail-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.partner-detail-nav:hover {
    background: rgba(232, 211, 161, 0.18);
    border-color: rgba(232, 211, 161, 0.5);
}

.partner-detail-nav:disabled {
    opacity: 0.35;
    cursor: default;
}

.partner-detail-nav--prev {
    right: 16px;
}

.partner-detail-nav--next {
    left: 16px;
}

.partner-detail-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.partner-detail-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.16);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.partner-detail-dot.active {
    background: #e8d3a1;
    border-color: rgba(232, 211, 161, 0.8);
    transform: scale(1.05);
}

.partner-detail-copy {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 16px;
    color: #e1e3ea;
    line-height: 1.7;
    font-size: 16px;
    direction: rtl;
    text-align: right;
}

.partner-detail-text {
    margin: 0;
    white-space: pre-line;
}

.partner-detail-modal.partner-detail-empty .partner-detail-nav,
.partner-detail-modal.partner-detail-empty .partner-detail-dots {
    display: none;
}
@media (max-width: 992px) {
    .partners-hero {
        padding: 140px 0 100px;
    }
    .partners-hero-card {
        padding: 38px;
    }
    .partners-title {
        font-size: 36px;
    }
    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 22px;
    }
    .partners-section-header {
        flex-direction: column;
    }
    .partner-detail-body {
        grid-template-columns: 1fr;
    }
    .partner-detail-slide img {
        max-height: 60vh;
    }
}

@media (max-width: 720px) {
    .partners-hero {
        padding: 120px 0 80px;
    }
    .partners-hero-card {
        padding: 28px;
    }
    .partners-title {
        font-size: 30px;
    }
    .partners-subtitle {
        font-size: 16px;
    }
    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 18px;
    }
    .partner-logo {
        height: 150px;
        padding: 18px;
    }
    .partner-detail-dialog {
        padding: 16px 14px 12px;
    }
    .partner-detail-title {
        font-size: 19px;
    }
    .partner-detail-slider {
        min-height: 280px;
    }
}


/* Portfolio Page */
.portfolio-page {
    background-color: #1E1E20;
    color: #EDEDED;
}

.portfolio-main {
    min-height: 100vh;
    padding-top: 96px;
    padding-bottom: 120px;
}

.portfolio-hero {
    text-align: center;
    max-width: 1575px;
    margin: 0 auto;
    padding: 0 32px;
}

.portfolio-title {
    font-size: 48px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin: 0 0 14px 0;
    color: #FFFFFF;
}

.portfolio-description {
    max-width: calc(100% - 226px);
    margin: 0 auto 38px auto;
    padding: 0 113px;
    font-size: 18px;
    line-height: 1.7;
    color: #D8D8D8;
}

.portfolio-marks {
    margin-bottom: 94px;
}

.portfolio-marks-row {
    max-width: 1575px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 32px;
}

.portfolio-mark {
    background: transparent;
    border: 1px solid transparent;
    padding: 12px 16px;
    border-radius: 18px;
    transition: transform 0.2s ease, filter 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}

.portfolio-mark img {
    max-height: 62px;
    width: auto;
    display: block;
    filter: grayscale(100%);
    opacity: 0.85;
}

.portfolio-mark:hover img,
.portfolio-mark:focus-visible img {
    filter: grayscale(0%);
    opacity: 1;
}

.portfolio-mark.active {
    border-color: #E8D3A1;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

.portfolio-cars-section {
    width: 100%;
}

.portfolio-cars-header {
    text-align: center;
    margin-bottom: 32px;
}

.portfolio-cars-title {
    font-size: 36px;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0;
}

.portfolio-cars-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
}

.portfolio-car-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #111;
    cursor: pointer;
    transition: transform 0.25s ease;
}

.portfolio-car-card:hover {
    transform: translateY(-4px);
}

.portfolio-car-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.6);
    transition: filter 0.3s ease;
}

.portfolio-car-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    transition: background 0.3s ease;
}

.portfolio-car-card:hover .portfolio-car-image {
    filter: brightness(1);
}

.portfolio-car-card:hover .portfolio-car-overlay {
    background: rgba(0, 0, 0, 0);
}

.portfolio-empty-state {
    text-align: center;
    color: #C7C7C7;
    padding: 40px 16px;
}

.portfolio-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 1200;
}

.portfolio-modal.visible {
    opacity: 1;
    pointer-events: auto;
}

.portfolio-modal-backdrop {
    position: absolute;
    inset: 0;
}

.portfolio-modal-inner {
    position: relative;
    max-width: 90vw;
    max-height: 86vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 1;
}

.portfolio-modal-image {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 16px;
    box-shadow: 0 18px 70px rgba(0, 0, 0, 0.65);
    object-fit: contain;
    background: #0E0E0F;
}

.portfolio-modal-caption {
    color: #F5F5F5;
    font-size: 16px;
    text-align: center;
}

.portfolio-modal-close {
    position: absolute;
    top: -14px;
    left: -14px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.7);
    color: #FFFFFF;
    font-size: 26px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.portfolio-modal-close:hover,
.portfolio-modal-close:focus-visible {
    background: rgba(0, 0, 0, 0.9);
}

@media (max-width: 1200px) {
    .portfolio-description {
        max-width: 100%;
        padding: 0 48px;
    }

    .portfolio-cars-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
    }
}

@media (max-width: 768px) {
    .portfolio-main {
        padding-top: 72px;
    }

    .portfolio-title {
        font-size: 36px;
    }

    .portfolio-description {
        padding: 0 24px;
        font-size: 16px;
        margin-bottom: 28px;
    }

    .portfolio-marks {
        margin-bottom: 60px;
    }

    .portfolio-marks-row {
        gap: 18px;
    }

    .portfolio-mark img {
        max-height: 52px;
    }

    .portfolio-cars-title {
        font-size: 28px;
    }

    .portfolio-cars-grid {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .portfolio-modal-close {
        top: -10px;
        left: -10px;
    }
}


/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Exact colors from materials folder */
    --color-171717: #171717;
    --color-353535: #353535;
    --color-393939: #393939;
    --color-000000: #000000;
    --color-6D6D6D: #6D6D6D;
    --color-9D9D9D: #9D9D9D;
    --color-FFFAEC: #FFFAEC;
    --color-FFFBF1: #FFFBF1;
    --color-FFFCF7: #FFFCF7;
    --color-FFFEFE: #FFFEFE;
    --color-FFFFFF: #FFFFFF;
    --color-1E1E20: #1E1E20;
    
    /* Semantic colors */
    --bg-primary: #171717;
    --bg-secondary: #171717;
    --bg-card: #1E1E20;
    --text-primary: #FFFFFF;
    --text-secondary: #9D9D9D;
    --text-muted: #6D6D6D;
    --border-color: #353535;
    --border-light: #393939;
}

body {
    font-family: 'Carmelit', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #1E1E20;
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    direction: rtl;
    text-align: right;
    position: relative;
}

/* Preloader */
body:not(.page-loaded) {
    overflow: hidden;
}

.preloader {
    position: fixed;
    inset: 0;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.preloader-done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: min(360px, 80vw);
}

.loader-logo {
    width: 220px;
    height: auto;
    object-fit: contain;
}

.loader-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.loader-bar-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #ff6a00, #ffbb3b);
    border-radius: inherit;
    transition: width 0.25s ease;
}

.page-wrapper {
    opacity: 0;
    transition: opacity 0.6s ease;
}

body.page-loaded .page-wrapper {
    opacity: 1;
}

.about-page {
    background-color: #1E1E20;
}

/* Dark overlay for dropdown menus */
.dropdown-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1200; /* sits below header + dropdowns */
    pointer-events: none;
}

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

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px 0 60px;
}

/* Header Styles - Exact Match */
.header {
    background-color: transparent;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3000;
    padding: 0;
    border-bottom: none;
    width: 100%;
    overflow: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Main header - visible at top */
.header-main {
    opacity: 1;
    visibility: visible;
}

.header-main.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Scrolled header - visible when scrolled */
.header-scrolled {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    background-color: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3200;
}

.header-scrolled.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 30%, rgba(0, 0, 0, 0.3) 60%, transparent 100%);
    pointer-events: none;
    z-index: -1;
}

.header .container {
    max-width: 100%;
    padding: 0 60px;
    margin: 0;
    position: relative;
    z-index: 3001;
}

.navbar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    width: 100%;
    position: relative;
    padding: 0;
    column-gap: 20px;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-self: start;
}

.logo-link {
    display: inline-block;
    text-decoration: none;
    margin-right: 0;
}

.logo-img {
    height: 110px;
    width: auto;
    display: block;
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    transition: all 0.3s ease;
    opacity: 0.9;
}

.social-icon:hover {
    opacity: 1;
    transform: scale(1.1);
}

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

.location-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    font-family: 'Rubik Black', 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 400;
    margin-right: 15px;
}

.location-icon {
    width: 20px;
    height: 20px;
    filter: none;
}

.location-text {
    white-space: nowrap;
    text-decoration: none;
    color: white;
}

.nav-menu-group {
    position: relative;
    display: flex;
    align-items: center;
    gap: 60px;
    justify-self: center;
}

.nav-right {
    display: flex;
    align-items: center;
    margin-right: auto;
    justify-self: end;
}

.contact-group {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 24px;
    font-weight: 400;
    font-family: 'Rubik Black', 'Montserrat', sans-serif;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

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

.dropdown-arrow {
    font-size: 28px;
    font-weight: 300;
    line-height: 1;
    display: inline-block;
    width: 24px;
    text-align: center;
    position: relative;
}

.dropdown-arrow::before {
    content: '+';
    display: inline-block;
    font-size: 28px;
    line-height: 1;
    transition: opacity 0.3s ease;
    opacity: 1;
}

.dropdown-arrow::after {
    content: '−';
    display: inline-block;
    font-size: 28px;
    line-height: 1;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-dropdown:hover .dropdown-arrow::before {
    opacity: 0;
}

.nav-dropdown:hover .dropdown-arrow::after {
    opacity: 1;
}

.nav-dropdown {
    position: relative;
    z-index: 3002;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}


.nav-dropdown:hover .dropdown-arrow::before {
    content: '−';
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    background-color: transparent;
    backdrop-filter: none;
    min-width: 300px;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    border-radius: 0;
    box-shadow: none;
    border: none;
    z-index: 3003;
    pointer-events: auto;
}

.dropdown-menu a {
    display: block;
    padding: 12px 0;
    color: #FFFFFF !important;
    text-decoration: none;
    font-size: 18px;
    font-family: 'Rubik Black', 'Montserrat', sans-serif;
    font-weight: 400;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    opacity: 0;
    transform: translateY(-8px);
    white-space: nowrap;
    z-index: 3004;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.8);
}

.nav-dropdown:hover .dropdown-menu a {
    opacity: 1;
    transform: translateY(0);
}

.dropdown-menu a:nth-child(1) {
    transition-delay: 0.05s;
}

.dropdown-menu a:nth-child(2) {
    transition-delay: 0.08s;
}

.dropdown-menu a:nth-child(3) {
    transition-delay: 0.11s;
}

.dropdown-menu a:nth-child(4) {
    transition-delay: 0.14s;
}

.dropdown-menu a:nth-child(5) {
    transition-delay: 0.17s;
}

.dropdown-menu a:nth-child(6) {
    transition-delay: 0.2s;
}

.dropdown-menu a:nth-child(7) {
    transition-delay: 0.23s;
}

.dropdown-menu a:nth-child(8) {
    transition-delay: 0.26s;
}

.dropdown-menu a:hover {
    color: #FFFFFF !important;
    padding-right: 8px;
}


.phone-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 24px;
    font-weight: 400;
    font-family: 'Rubik Black', 'Montserrat', sans-serif;
    transition: color 0.3s ease;
    white-space: nowrap;
    margin-right: 0;
    direction: ltr;
    text-align: left;
    display: inline-block;
}

.phone-link:hover {
    color: var(--text-secondary);
}

.btn-contact {
    background-color: transparent;
    color: var(--text-primary);
    padding: 5px 50px;
    border: 1px solid var(--text-primary);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 400;
    font-size: 20px;
    font-family: 'Rubik Black', 'Montserrat', sans-serif;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
    margin-left: 0;
}

.btn-contact:hover {
    background-color: var(--text-primary);
    color: var(--bg-primary);
}

.btn-contact::after {
    content: '←';
    font-size: 22px;
}

/* Mobile navigation container (hidden on desktop) */
.mobile-nav-panel {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 3501;
    position: relative;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
}

.mobile-menu-close {
    display: none;
}

/* Scrolled Header Styles */
.navbar-scrolled {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    width: 100%;
    padding: 8px 0;
    column-gap: 20px;
    position: relative;
}

.scrolled-left {
    display: flex;
    align-items: center;
}

.scrolled-left .social-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.scrolled-center {
    display: flex;
    align-items: center;
    gap: 28px;
    justify-content: center;
    justify-self: center;
}

.scrolled-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    font-family: 'Rubik Black', 'Montserrat', sans-serif;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.scrolled-link:hover {
    color: var(--text-secondary);
}

.scrolled-right {
    display: flex;
    align-items: center;
}

.logo-link-scrolled {
    display: inline-block;
    text-decoration: none;
}

.logo-img-scrolled {
    height: 60px;
    width: auto;
    display: block;
}

.header-scrolled .social-icons {
    gap: 8px;
}

.header-scrolled .social-icon {
    width: 22px;
    height: 22px;
}

/* Hero Slider Section - Exact Match */
.hero-slider {
    width: 100%;
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
    margin-top: 0;
    z-index: 1;
}

.hero-slider-container {
    width: 100%;
    width: 100vw;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.hero-slides {
    width: 100%;
    width: 100vw;
    height: 100%;
    display: flex;
    flex-direction: row;
    direction: ltr; /* avoid RTL flex offset that caused left whitespace */
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.hero-slides:active {
    cursor: grabbing;
}

.hero-slides.single-hero-slide.no-drag {
    cursor: default;
    user-select: auto;
    -webkit-user-select: auto;
    -moz-user-select: auto;
    -ms-user-select: auto;
    transition: none;
}

.hero-slide {
    min-width: 100%;
    min-width: 100vw;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    object-fit: cover;
    transform: scale(1);
    will-change: transform;
    transition: transform 3s ease;
}

.hero-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.55) 100%);
}

.hero-slide--bright .hero-slide-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.slide-text-overlay {
    position: absolute;
    bottom: 80px;
    right: 80px;
    z-index: 5;
    pointer-events: auto;
    text-align: right;
    direction: rtl;
    max-width: 900px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 30px 40px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.slide-title {
    font-size: 72px;
    font-weight: 600;
    color: #ffffff;
    font-family: 'Rubik Black', 'Montserrat', sans-serif;
    max-width: 900px;
    margin-bottom: 25px;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.slide-description {
    font-size: 30px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.95);
    font-family: 'Carmelit', 'Inter', sans-serif;
    line-height: 1.6;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.slide-service-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 999px;
    pointer-events: auto;
    transition: all 0.3s ease;
}

.slide-service-link:hover {
    background: rgba(255, 255, 255, 0.24);
    transform: translateY(-2px);
}

/* Slide zoom animation on change */
.hero-slide.is-zooming {
    animation: heroSlideZoom 3.2s ease;
}

.single-hero-zoom {
    animation: heroSingleZoom 12s ease-out forwards;
    transform-origin: center center;
}

@keyframes heroSingleZoom {
    0% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

@keyframes heroSlideZoom {
    0% { transform: scale(1.07); }
    100% { transform: scale(1); }
}

/* Slider Controls - Bottom Right */
.hero-slider-controls {
    position: absolute;
    bottom: 80px;
    left: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    z-index: 10;
}

.slider-counter {
    color: var(--text-primary);
    font-size: 32px;
    font-weight: 400;
    font-family: 'Rubik Black', 'Montserrat', sans-serif;
    letter-spacing: 1px;
    margin-bottom: 0;
    text-align: center;
}

.slider-counter #currentSlide {
    color: var(--text-primary);
    font-weight: 500;
}

.slider-counter #totalSlides {
    color: var(--text-secondary);
    opacity: 0.6;
}

.slider-arrows {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.slider-arrow {
    width: 72px;
    height: 72px;
    border: 1px solid var(--text-primary);
    background-color: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-primary);
    padding: 0;
}

.slider-arrow:hover {
    background-color: var(--text-primary);
    color: var(--bg-primary);
}

.slider-arrow svg {
    width: 32px;
    height: 32px;
}

/* Service hero CTA button positioning (for service detail pages) */
.service-hero-cta {
    position: absolute;
    bottom: 80px;
    left: 80px;
    z-index: 10;
}

.slider-select-service {
    margin-top: 0;
}

.btn-select-service {
    background-color: transparent;
    color: var(--text-primary);
    padding: 14px 32px;
    border: 1px solid var(--text-primary);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 400;
    font-size: 18px;
    font-family: 'Rubik Black', 'Montserrat', sans-serif;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

.btn-select-service:hover {
    background-color: var(--text-primary);
    color: var(--bg-primary);
}

.btn-select-service::after {
    content: '←';
    font-size: 20px;
}

.slider-arrow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.slider-arrow:disabled:hover {
    background-color: transparent;
    color: var(--text-primary);
}

/* Stats Section */
.stats-section {
    background-color: var(--bg-secondary);
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    text-align: center;
}

.stat-item {
    padding: 20px 20px;
}

.stat-number {
    font-size: 64px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
    line-height: 1;
    font-family: 'Rubik Black', 'Montserrat', sans-serif;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Carmelit', 'Inter', sans-serif;
}

/* Service storytelling section */
.service-story-section {
    background: #FFFDF8;
    padding: 80px 0 90px;
    width: 100%;
}

.service-story-inner {
    width: calc(100% - 190px);
    max-width: 1260px;
    margin: 0 auto;
}

.service-story-header {
    text-align: center;
}

.service-story-subtitle {
    font-size: 34px;
    font-weight: 800;
    color: #0F0F0F;
    letter-spacing: 0.5px;
}

.service-story-divider {
    width: 1071px;
    max-width: 100%;
    height: 1px;
    background: #0F0F0F;
    margin: 16px auto 0;
}

.service-story-description {
    margin: 16px auto 0;
    max-width: 760px;
    font-size: 24px;
    line-height: 1.9;
    color: #0F0F0F;
}

.service-story-content {
    margin-top: 52px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.service-story-item {
    text-align: right;
    direction: rtl;
}

.service-story-title {
    font-size: 40px;
    font-weight: 500;
    color: #0F0F0F;
    margin-bottom: 10px;
}

.service-story-text {
    font-size: 24px;
    line-height: 2;
    color: #0F0F0F;
}

.service-story-image {
    margin-top: 20px;
    width: 100%;
    min-height: 520px;
    max-height: 760px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 12px;
    background-color: #f7f4ed;
}

.service-steps-section {
    margin-top: 79px;
}

.service-steps-title {
    font-size: 38px;
    font-weight: 900;
    color: #0F0F0F;
    text-align: center;
    direction: rtl;
    margin-bottom: 24px;
}

.service-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 32px 16px;
}

.service-step-card {
    background: #FFF8E7;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.service-step-image {
    margin: 24px 24px 24px;
    border-radius: 12px;
    width: calc(100% - 48px);
    min-height: 320px;
    max-height: 520px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f7f4ed;
}

.service-step-body {
    padding: 0 24px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-step-heading {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 28px;
    font-weight: 800;
    color: #0F0F0F;
}

.service-step-number {
    font-weight: 900;
    font-size: 30px;
}

.service-step-title {
    font-weight: 800;
    font-size: 28px;
}

.service-step-text {
    margin-top: 12px;
    font-size: 22px;
    line-height: 1.9;
    color: #0F0F0F;
}

/* Services Gallery Section */
.services-gallery-section {
    padding: 120px 0;
    background-color: #171717;
}

.services-gallery-section .container {
    max-width: 100%;
    padding: 0;
}

.services-gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 80px;
    gap: 40px;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 60px;
}

.services-gallery-title {
    font-size: 45px;
    font-weight: 400;
    font-family: 'Rubik Black', 'Montserrat', sans-serif;
    letter-spacing: -1.8px;
    color: #FFFFFF;
    line-height: 1.2;
    margin: 0;
}

.services-gallery-subtitle {
    font-size: 28px;
    color: var(--text-secondary);
    max-width: 900px;
    line-height: 1.6;
    font-weight: 300;
    font-family: 'Carmelit', 'Inter', sans-serif;
    margin: 0;
}

.services-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    background-color: #171717;
}

.service-gallery-card {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    cursor: pointer;
    border-radius: 18px;
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-gallery-image {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.5s ease;
    filter: brightness(1);
    border-radius: inherit;
}

.service-gallery-card:hover .service-gallery-image {
    transform: scale(1.08);
}

.service-gallery-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.service-gallery-card.revealed .service-gallery-overlay,
.service-gallery-card.revealed .service-gallery-card-title-visible {
    transition-delay: 0.08s;
}

/* Visible title at bottom right - always visible */
.service-gallery-card-title-visible {
    position: absolute;
    bottom: 30px;
    right: 30px;
    font-size: 32px;
    font-weight: 900;
    color: var(--text-primary);
    font-family: 'Rubik Black', 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    z-index: 2;
    text-align: right;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    transition: opacity 0.3s ease;
}

.service-gallery-card:hover .service-gallery-card-title-visible {
    opacity: 0;
}

.service-gallery-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.92);
    padding: 60px 50px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 3;
    border-radius: inherit;
}

.service-gallery-card:hover .service-gallery-overlay {
    opacity: 1;
    visibility: visible;
}

.service-gallery-card-title {
    font-size: 42px;
    font-weight: 900;
    color: var(--text-primary);
    font-family: 'Rubik Black', 'Montserrat', sans-serif;
    margin-bottom: 25px;
    line-height: 1.2;
}

.service-gallery-underline {
    width: 100%;
    max-width: 350px;
    height: 1px;
    background-color: var(--text-primary);
    margin-bottom: 35px;
    opacity: 0.6;
}

.service-gallery-description {
    color: var(--text-primary);
    font-size: 18px;
    font-family: 'Carmelit', 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.8;
    margin: 0;
    max-width: 500px;
    flex-grow: 1;
}

.service-gallery-button {
    display: inline-block;
    background-color: transparent;
    color: var(--text-primary);
    border: 2px solid var(--text-primary);
    padding: 16px 40px;
    text-decoration: none;
    font-size: 18px;
    font-family: 'Rubik Black', 'Montserrat', sans-serif;
    font-weight: 900;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-align: center;
    align-self: flex-start;
    margin-top: 20px;
}

.service-gallery-button:hover {
    background-color: var(--text-primary);
    color: var(--bg-primary);
    transform: translateY(-2px);
}

/* Why Choose BULLDOG Section */
.why-bulldog-section {
    position: relative;
    min-height: 700px;
    padding: 120px 0;
    background-image: url("../images/team.webp");
    background-size: cover;
    background-position: center 80px;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
}

.why-bulldog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.70) 50%, rgba(0, 0, 0, 0.60) 100%);
    z-index: 1;
}

.why-bulldog-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.why-bulldog-title {
    font-size: 56px;
    font-weight: 600;
    color: var(--text-primary);
    font-family: 'Rubik Black', 'Montserrat', sans-serif;
    margin-bottom: 60px;
    line-height: 1.2;
}

.why-bulldog-features {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.why-bulldog-feature {
    border-right: 3px solid var(--text-primary);
    padding-right: 40px;
}

.feature-title {
    font-size: 32px;
    font-weight: 600;
    color: var(--text-primary);
    font-family: 'Rubik Black', 'Montserrat', sans-serif;
    margin-bottom: 20px;
    line-height: 1.3;
}

.feature-text {
    font-size: 20px;
    color: var(--text-primary);
    line-height: 1.8;
    font-weight: 300;
    font-family: 'Carmelit', 'Inter', sans-serif;
    opacity: 0.9;
}

/* Testimonials Section */
.testimonials-section {
    background: linear-gradient(180deg, #1E1E20 0%, #18181a 100%);
    padding: 42px 0 36px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.testimonials-row {
    display: grid;
    grid-template-columns: minmax(280px, 360px) 1fr;
    align-items: start;
    gap: 24px;
}

.testimonials-heading-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.testimonials-kicker {
    font-size: 14px;
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.testimonials-title {
    font-size: 36px;
    font-weight: 700;
    margin: 0;
    color: var(--text-primary);
    line-height: 1.2;
    font-family: 'Rubik Black', 'Montserrat', sans-serif;
}

.testimonials-subtitle {
    margin: 0;
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
    max-width: 420px;
}

.testimonials-messages {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.testimonial-alert {
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.6;
}

.testimonial-alert-success {
    border-color: #2ecc71;
    color: #d7ffe6;
}

.testimonial-alert-error, .testimonial-alert-warning {
    border-color: #e67e22;
    color: #ffe8d2;
}

.testimonials-slider {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 10px;
}

.testimonial-arrows-vertical {
    display: grid;
    gap: 8px;
    justify-content: center;
    align-items: center;
}

.testimonials-viewport {
    overflow: hidden;
    flex: 1;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 2px;
}

.testimonials-track {
    display: flex;
    justify-content: flex-start;
    transition: transform 0.5s ease;
    gap: 10px;
    direction: ltr;
    padding: 2px;
}

.testimonial-card {
    flex: 0 0 auto;
    width: calc(50% - 10px);
    max-width: 520px;
    min-width: 280px;
    margin: 0 auto;
    background: radial-gradient(120% 140% at 80% 0%, rgba(255,255,255,0.04), rgba(17,17,20,0.95));
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 16px 18px;
    display: flex;
    gap: 12px;
    align-items: center;
    min-height: 120px;
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.28);
    direction: rtl;
    justify-content: center;
}

.testimonial-card + .testimonial-card {
    margin-right: 0;
}

.testimonials-track.single-visible .testimonial-card {
    width: 100%;
    max-width: 620px;
}

@media (max-width: 900px) {
    .testimonial-card {
        width: 100%;
        max-width: 100%;
    }
}

.testimonial-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    display: grid;
    place-items: center;
    overflow: hidden;
    flex-shrink: 0;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-avatar span {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    line-height: 1;
    margin-top: 7px;
}

.testimonial-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: center;
}

.testimonial-name {
    font-size: 19px;
    font-weight: 700;
    margin: 0;
    color: var(--text-primary);
    font-family: 'Rubik Black', 'Montserrat', sans-serif;
}

.testimonial-text {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.55;
    font-size: 15px;
}

.testimonial-empty {
    text-align: center;
    justify-content: center;
}

.testimonial-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-primary);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.testimonial-arrow:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
}

.testimonial-arrow:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.testimonial-dots {
    grid-column: 1 / -1;
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 12px;
}

.testimonial-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: 1px solid var(--text-secondary);
    background: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.testimonial-dot.active {
    background: var(--text-primary);
    border-color: var(--text-primary);
    transform: scale(1.05);
}

.testimonial-cta-row {
    margin-top: 12px;
    margin-right: -6px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    width: 97.3%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.testimonial-cta-label {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.testimonial-cta-note {
    color: var(--text-secondary);
    margin: 0;
    font-size: 14px;
}

.testimonial-cta-button {
    background: var(--text-primary);
    color: var(--bg-primary);
    border: none;
    border-radius: 36px;
    padding: 11px 20px;
    font-weight: 800;
    font-size: 14px;
    font-family: 'Rubik Black', 'Carmelit', 'Inter', sans-serif;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
}

.testimonial-cta-button:hover {
    transform: translateY(-1px);
}

.testimonial-form-wrapper {
    margin-top: 12px;
    margin-right: -6px;
    padding: 18px;
    border: 1px dashed var(--border-color);
    border-radius: 16px;
    background: #101012;
    width: 97.3%;
    box-sizing: border-box;
    display: none;
}

.testimonial-form-wrapper.is-open {
    display: block;
}

.testimonial-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.testimonial-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
}

.testimonial-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: var(--text-primary);
    font-size: 14px;
}

.testimonial-field-label {
    font-weight: 700;
}

.testimonial-input,
.testimonial-textarea,
.testimonial-input-file {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 11px 13px;
    color: var(--text-primary);
    font-family: inherit;
}

.testimonial-input:focus,
.testimonial-textarea:focus,
.testimonial-input-file:focus {
    outline: 2px solid rgba(255, 255, 255, 0.15);
}

.testimonial-textarea {
    resize: vertical;
}

.testimonial-field-hint {
    color: var(--text-secondary);
    font-size: 12px;
}

.testimonial-field-error {
    color: #ffb39b;
    font-size: 12px;
}

.testimonial-form-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.testimonial-submit-btn {
    background: var(--text-primary);
    color: var(--bg-primary);
    border: none;
    padding: 11px 18px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 800;
}

.testimonial-cancel-btn {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    padding: 11px 18px;
    border-radius: 12px;
    cursor: pointer;
}

.testimonial-cancel-btn:hover {
    color: var(--text-primary);
}

/* FAQ Section */
.faq-section {
    background-color: #FFFBF1;
    padding: 100px 0 80px;
}

.faq-container {
    width: 100%;
    margin: 0;
    padding: 0;
}

.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 150px 40px;
    margin-bottom: 20px;
}

.faq-title {
    font-size: 72px;
    font-weight: 300;
    color: #9D9D9D;
    font-family: 'Rubik Black', 'Montserrat', sans-serif;
    margin: 0;
    line-height: 1;
    letter-spacing: -1px;
    text-align: right;
}

.faq-description {
    font-size: 28px;
    color: #9D9D9D;
    font-family: 'Carmelit', 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
    text-align: left;
}

.faq-list {
    width: 100%;
}

.faq-item {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-bottom: 2px solid #1E1E20;
}

.faq-item:last-child {
    border-bottom: 2px solid #1E1E20;
}

.faq-question-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    width: 100%;
    padding: 8px 0;
    max-height: 0px;
}

.faq-number {
    font-size: 26px;
    font-weight: 400;
    color: #000000 !important;
    font-family: 'Rubik Black', 'Montserrat', sans-serif;
    text-align: right;
    flex-shrink: 0;
    order: 1;
    min-width: 50px;
    margin-right: 70px;
    line-height: 1.05;
}

.faq-question-text {
    font-size: 26px;
    font-weight: 400;
    color: #000000 !important;
    font-family: 'Rubik Black', 'Montserrat', sans-serif;
    margin: 0;
    line-height: 1.15;
    text-align: right;
    flex: 1;
    order: 2;
    padding: 0 10px;
}

.faq-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: 25px;
    flex-shrink: 0;
    order: 3;
}

.faq-icon {
    font-size: 28px;
    color: #000000;
    font-weight: 300;
    line-height: 1;
    display: block;
}

.faq-item.active .faq-icon {
    content: '−';
}

.faq-answer {
    display: block;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease, background-color 0.5s ease;
    background-color: transparent;
    order: 4;
    padding: 0;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 16px 150px 22px 150px;
    background-color: transparent;
}

.faq-answer p {
    font-size: 22px;
    color: #000000;
    font-family: 'Carmelit', 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.8;
    margin: 0;
    text-align: right;
}

@media (orientation: portrait) {
    .faq-section {
        padding: 70px 0 60px;
    }

    .faq-header {
        padding: 0 22px 20px;
        margin-bottom: 10px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .faq-title {
        font-size: 42px;
    }

    .faq-description {
        font-size: 18px;
        text-align: right;
        line-height: 1.6;
    }

    .faq-question-row {
        align-items: flex-start;
        gap: 12px;
    }

    .faq-number {
        margin-right: 0;
        min-width: 36px;
        font-size: 22px;
    }

    .faq-question-text {
        font-size: 20px;
        padding: 0;
        line-height: 1.35;
    }

    .faq-item.active .faq-answer {
        margin-top: 30px;
        padding: 14px 18px 18px;
        max-height: 900px;
    }

    .faq-answer p {
        font-size: 18px;
        line-height: 1.65;
        margin-top: 0;
    }
}

@media (max-width: 1024px) and (orientation: portrait) {
    html,
    body {
        overflow-x: hidden;
        overscroll-behavior: contain;
    }

    .header-scrolled {
        display: none !important;
    }

    .header-main {
        background-color: transparent;
        padding-top: max(0px, env(safe-area-inset-top));
    }

    .header-main.mobile-scrolled {
        background-color: rgba(0, 0, 0, 0.65);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    }

    /* Keep mobile menu visible at top always */
    body.mobile-menu-open .header-main {
        background-color: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        box-shadow: none !important;
        z-index: 3500 !important;
    }

    body.mobile-menu-open .dropdown-overlay {
        z-index: 2999 !important;
    }

    .mobile-nav-panel,
    .mobile-nav-panel.active {
        background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.05), transparent 35%), radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.05), transparent 30%), rgba(12, 12, 13, 0.95) !important;
        backdrop-filter: blur(14px) !important;
        -webkit-backdrop-filter: blur(14px) !important;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 3500 !important;
    }

    body.mobile-menu-open .mobile-nav-panel {
        background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.05), transparent 35%), radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.05), transparent 30%), rgba(12, 12, 13, 0.95) !important;
        backdrop-filter: blur(14px) !important;
        -webkit-backdrop-filter: blur(14px) !important;
    }

    body.mobile-menu-open {
        overflow: hidden !important;
        width: 100% !important;
        height: 100% !important;
    }

    body.is-ios.mobile-menu-open {
        position: fixed !important;
        touch-action: none !important;
    }

    .mobile-nav-inner {
        padding-top: max(18px, env(safe-area-inset-top));
        padding-bottom: max(24px, env(safe-area-inset-bottom));
        gap: 14px;
        height: 100%;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
    }

    .mobile-menu-sections {
        gap: 8px;
        flex: 1;
    }

    .mobile-menu-section {
        padding: 10px 12px;
    }

    .mobile-menu-title {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .mobile-menu-links {
        gap: 6px;
    }

    .mobile-menu-link {
        font-size: 15px;
        padding: 8px 0;
    }

    .mobile-menu-footer {
        gap: 8px;
        display: flex;
        flex-direction: column;
    }

    .mobile-phone-link {
        display: none;
    }

    .mobile-btn-contact {
        font-size: 16px;
    }

    .mobile-menu-footer-row {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .hero-slider,
    .hero-slider-container,
    .hero-slides,
    .hero-slide {
        width: 100%;
        max-width: 100%;
    }

    .hero-slide {
        min-width: 100%;
    }
}

/* Before/After Gallery */
.bf-section {
    background-color: #1E1E20;
    padding: 120px 0;
}

.bf-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

.bf-header {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 60px;
    padding: 0 40px;
}

.bf-title {
    font-size: 45px;
    font-weight: 400;
    color: #FFFFFF;
    font-family: 'Rubik Black', 'Montserrat', sans-serif;
    letter-spacing: -1.8px;
    line-height: 1.2;
    margin: 0;
}

.bf-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
    width: 100%;
    padding: 0;
    margin: 0;
}

.bf-card {
    position: relative;
    background-color: #0f0f10;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    width: 100%;
}

.bf-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    user-select: none;
}

/* Only show grab cursor on non-touch devices (desktop) */
@media (hover: hover) and (pointer: fine) {
    .bf-wrapper {
        cursor: grab;
    }
    .bf-wrapper:active {
        cursor: grabbing;
    }
}

.bf-section.service-bf {
    background-color: transparent;
    padding: 0;
}

.service-bf .bf-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 5px;
}

.service-bf .bf-divider {
    background: transparent;
    width: 0;
}

.service-bf .bf-divider::before {
    background-color: #FFFBF1;
}

/* After image - bottom layer, always visible */
.bf-image-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    pointer-events: none;
    z-index: 1;
}

/* Before image - top layer, will be clipped from left to reveal after image */
.bf-image-before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    pointer-events: none;
    z-index: 2;
    /* Initially clipped 50% from left (showing right 50%) */
    clip-path: inset(0 0 0 50%);
}

.bf-divider {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    z-index: 4;
    pointer-events: auto;
    cursor: ew-resize;
    /* Increase touch target area on mobile */
    background: transparent;
    padding: 0 6px;
}

.bf-divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
}

.bf-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 44px;
    border: 2px solid #FFFFFF;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    color: #FFFFFF;
    font-size: 22px;
    background: rgba(0, 0, 0, 0.5);
    pointer-events: auto;
    cursor: grab;
    user-select: none;
}

.bf-handle:active {
    cursor: grabbing;
}

.bf-arrow {
    line-height: 1;
    font-weight: 300;
}

@media (max-width: 968px) {
    .bf-container {
        padding: 0;
    }
    .bf-header {
        padding: 0 20px;
    }
    .bf-grid {
        grid-template-columns: 1fr;
    }
    .bf-title {
        font-size: 36px;
    }
    /* Increase touch targets for mobile */
    .bf-handle {
        width: 80px;
        height: 50px;
        font-size: 24px;
        padding: 0 12px;
        z-index: 5;
    }
    .bf-divider {
        /* Larger touch area on mobile - 30px on each side = 60px total touch width */
        padding: 0 30px;
    }
}

/* Make sure wrapper doesn't interfere with touch on mobile */
@media (max-width: 968px) and (orientation: portrait) {
    .bf-wrapper {
        touch-action: pan-y; /* Allow vertical scrolling by default */
    }
    .bf-divider,
    .bf-handle {
        touch-action: pan-y; /* Allow vertical scroll until horizontal drag */
    }
}
/* Services Section */
.services-section {
    padding: 120px 0;
    background-color: var(--bg-primary);
}

.section-title {
    font-size: 45px;
    font-weight: 400;
    font-family: 'Rubik Black', 'Montserrat', sans-serif;
    letter-spacing: -1.8px;
    text-align: center;
    margin-bottom: 25px;
    color: var(--text-primary);
    line-height: 1.2;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 80px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    font-weight: 300;
    font-family: 'Carmelit', 'Inter', sans-serif;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 35px;
    margin-bottom: 60px;
}

.service-card {
    background-color: var(--bg-card);
    padding: 45px 40px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-light);
}

.service-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--text-primary);
    font-family: 'Rubik Black', 'Montserrat', sans-serif;
}

.service-list {
    list-style: none;
}

.service-list li {
    color: var(--text-secondary);
    font-size: 15px;
    padding: 10px 0;
    padding-right: 25px;
    position: relative;
    font-family: 'Carmelit', 'Inter', sans-serif;
}

.service-list li::before {
    content: '←';
    position: absolute;
    right: 0;
    color: var(--text-primary);
}

.services-actions {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.btn-primary {
    background-color: transparent;
    color: var(--text-primary);
    padding: 15px 35px;
    border: 1px solid var(--text-primary);
    border-radius: 4px;
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
    font-family: 'Rubik Black', 'Montserrat', sans-serif;
    transition: all 0.3s ease;
    display: inline-block;
}

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

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    padding: 15px 35px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
    font-family: 'Rubik Black', 'Montserrat', sans-serif;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    display: inline-block;
}

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

/* Service Highlights */
.service-highlights {
    padding: 120px 0;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.highlight-card {
    background-color: var(--bg-card);
    padding: 50px 45px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
}

.highlight-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-light);
}

.highlight-title {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
    font-family: 'Rubik Black', 'Montserrat', sans-serif;
}

.highlight-text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.9;
    font-family: 'Carmelit', 'Inter', sans-serif;
}

/* Select Service Section */
.select-service-section {
    padding: 100px 0;
    background-color: var(--bg-primary);
}

/* Why Employees Section */
.why-employees-section {
    padding: 120px 0;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.section-text {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 850px;
    margin: 0 auto;
    line-height: 1.9;
    font-family: 'Carmelit', 'Inter', sans-serif;
}

/* FAQs Section */
.faqs-section {
    padding: 120px 0;
    background-color: var(--bg-primary);
}

.faqs-list {
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    display: flex;
    gap: 40px;
    padding: 50px 0;
    border-bottom: 1px solid var(--border-color);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-number {
    font-size: 56px;
    font-weight: 700;
    color: var(--text-primary);
    min-width: 100px;
    line-height: 1;
    font-family: 'Rubik Black', 'Montserrat', sans-serif;
    opacity: 0.8;
}

.faq-content {
    flex: 1;
}

.faq-question {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
    font-family: 'Rubik Black', 'Montserrat', sans-serif;
}

.faq-answer {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.9;
    font-family: 'Carmelit', 'Inter', sans-serif;
}

/* Our Work Section */
.our-work-section {
    padding: 120px 0;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

/* Contact Section */
.contact-section {
    padding: 120px 0;
    background-color: var(--bg-primary);
}

.contact-form {
    max-width: 650px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 30px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px 25px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-primary);
    font-size: 16px;
    font-family: 'Carmelit', 'Inter', sans-serif;
    transition: all 0.3s ease;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--text-primary);
    background-color: var(--bg-secondary);
}

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

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    line-height: 1.6;
    font-family: 'Carmelit', 'Inter', sans-serif;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--text-primary);
    flex-shrink: 0;
}

/* Footer */
.footer {
    background-color: var(--bg-secondary);
    padding: 100px 0 40px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    margin-bottom: 60px;
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--text-primary);
    font-family: 'Rubik Black', 'Montserrat', sans-serif;
}

.footer-text {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.9;
    font-family: 'Carmelit', 'Inter', sans-serif;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-block;
    font-family: 'Carmelit', 'Inter', sans-serif;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-phone {
    display: block;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
    transition: color 0.3s ease;
    font-family: 'Rubik Black', 'Montserrat', sans-serif;
    direction: ltr;
    text-align: left;
}

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

.btn-contact-footer {
    background-color: transparent;
    color: var(--text-primary);
    padding: 14px 28px;
    border: 1px solid var(--text-primary);
    border-radius: 4px;
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
    font-family: 'Rubik Black', 'Montserrat', sans-serif;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-contact-footer:hover {
    background-color: var(--text-primary);
    color: var(--bg-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 14px;
    font-family: 'Carmelit', 'Inter', sans-serif;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
    
    .stats-grid {
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 968px) {
    .nav-right {
        gap: 25px;
    }
    
    .phone-link {
        display: none;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }
    
    .services-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .services-gallery-header {
        flex-direction: column;
        gap: 25px;
    }
    
    .faq-item {
        flex-direction: column;
        gap: 20px;
    }
    
    .faq-number {
        min-width: auto;
    }
    
    .hero-slider-controls {
        bottom: 30px;
        left: 30px;
    }
    
    .slide-text-overlay {
        bottom: 30px;
        right: 30px;
        max-width: 400px;
        padding: 24px 30px;
        border-radius: 14px;
    }
    
    .slide-title {
        font-size: 24px;
    }
    
    .slide-description {
        font-size: 16px;
    }
}

@media (max-width: 1024px) {
    .header .container {
        padding: 0 20px;
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }

    .header::after {
        height: 80px;
    }

    .navbar {
        grid-template-columns: 1fr auto;
        column-gap: 12px;
        align-items: center;
    }

    .nav-left {
        gap: 12px;
    }

    .nav-left .social-icons,
    .nav-left .location-info {
        display: none;
    }

    .logo-link {
        display: inline-flex;
        align-items: center;
        max-width: 200px;
    }

    .logo-img {
        height: 80px;
        width: auto;
        max-width: 200px;
        object-fit: contain;
    }

    .nav-menu-group,
    .nav-right {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: flex;
        justify-self: end;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(9px, 9px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }

    .header-scrolled {
        display: none !important;
    }

    body.mobile-menu-open {
        overflow: hidden;
    }

    body.mobile-menu-open .dropdown-overlay {
        opacity: 0.7;
        visibility: visible;
        pointer-events: none;
        z-index: 2999;
    }

    .mobile-nav-panel {
        display: flex;
        position: fixed;
        inset: 0;
        background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.05), transparent 35%), radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.05), transparent 30%), rgba(12, 12, 13, 0.95);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        z-index: 3500;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.35s ease, opacity 0.35s ease;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Ensure the mobile menu keeps the same blurred backdrop after scrolling */
    .header-main.mobile-scrolled .mobile-nav-panel {
        background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.05), transparent 35%), radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.05), transparent 30%), rgba(12, 12, 13, 0.95);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        z-index: 3500;
    }

    .mobile-nav-panel.active {
        transform: translateY(0) !important;
        opacity: 1 !important;
        pointer-events: auto;
        background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.05), transparent 35%), radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.05), transparent 30%), rgba(12, 12, 13, 0.95) !important;
        backdrop-filter: blur(14px) !important;
        -webkit-backdrop-filter: blur(14px) !important;
        visibility: visible !important;
    }

    .mobile-nav-inner {
        width: 100%;
        padding: 22px 22px 36px;
        display: flex;
        flex-direction: column;
        gap: 18px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
    }

    .mobile-nav-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: relative;
        z-index: 3502;
    }

    .mobile-logo-img {
        height: 64px;
        width: auto;
    }

    .mobile-menu-close {
        display: inline-flex;
        flex-direction: column;
        gap: 6px;
        background: none;
        border: none;
        padding: 8px;
        cursor: pointer;
        z-index: 3502;
        position: relative;
    }

    .mobile-menu-close span {
        display: block;
        width: 26px;
        height: 2px;
        background: var(--text-primary);
        transition: transform 0.3s ease;
    }

    .mobile-menu-close span:nth-child(1) {
        transform: rotate(45deg) translate(4px, 4px);
    }

    .mobile-menu-close span:nth-child(2) {
        transform: rotate(-45deg) translate(4px, -4px);
    }

    .mobile-menu-sections {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .mobile-menu-section {
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.07);
        border-radius: 14px;
        padding: 14px 16px;
    }

    .mobile-menu-title {
        color: var(--text-primary);
        font-family: 'Rubik Black', 'Montserrat', sans-serif;
        font-size: 18px;
        margin-bottom: 8px;
    }

    .mobile-menu-links {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .mobile-menu-link {
        color: var(--text-primary);
        text-decoration: none;
        font-family: 'Rubik Black', 'Montserrat', sans-serif;
        font-size: 16px;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .mobile-menu-link:last-child {
        border-bottom: none;
    }

    .mobile-menu-footer {
        margin-top: 4px;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .mobile-phone-link {
        color: var(--text-primary);
        text-decoration: none;
        font-size: 18px;
        font-family: 'Rubik Black', 'Montserrat', sans-serif;
    }

    .mobile-btn-contact {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 18px;
    }

    .mobile-menu-footer-row {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        gap: 12px;
    }

    .mobile-socials {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .mobile-socials .social-icon {
        width: 30px;
        height: 30px;
    }

    .mobile-location {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        color: var(--text-primary);
        font-family: 'Rubik Black', 'Montserrat', sans-serif;
        font-size: 16px;
    }

    .mobile-location .location-icon {
        width: 18px;
        height: 18px;
    }

    .mobile-location .location-text {
        color: var(--text-primary);
        text-decoration: none;
    }

    .header-main.mobile-scrolled {
        background-color: rgba(0, 0, 0, 0.65);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .faq-description {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(9px, 9px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }
    
    .nav-right {
        display: none !important;
    }
    
    .nav-left {
        gap: 12px;
        flex-wrap: wrap;
    }
    
    .social-icons {
        gap: 8px;
    }
    
    .social-icon {
        width: 24px;
        height: 24px;
    }
    
    .location-info {
        font-size: 14px;
    }
    
    .location-icon {
        width: 16px;
        height: 16px;
    }
    
    .logo-img {
        height: 76px;
    }
    
    .mobile-nav-inner {
        padding: 18px 18px 28px;
    }
    
    .mobile-logo-img {
        height: 58px;
    }
    
    .mobile-menu-title {
        font-size: 17px;
    }
    
    .mobile-menu-link {
        font-size: 15px;
        padding: 9px 0;
    }
    
    .mobile-btn-contact,
    .mobile-phone-link {
        font-size: 17px;
    }
    
    .hero-slider {
        height: 100vh;
        margin-top: 0;
    }
    
    .hero-slider-controls {
        bottom: 40px;
        left: 40px;
    }
    
    .slide-text-overlay {
        bottom: auto;
        top: 160px;
        right: 20px;
        left: auto;
        max-width: calc(100% - 40px);
        text-align: right;
        padding: 20px 25px;
        border-radius: 12px;
    }
    
    .slide-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .slide-description {
        font-size: 16px;
        line-height: 1.6;
    }
    
    .slider-arrow {
        width: 60px;
        height: 60px;
    }
    
    .slider-arrow svg {
        width: 28px;
        height: 28px;
    }
    
    .slider-counter {
        font-size: 24px;
    }
    
    .btn-select-service {
        font-size: 16px;
        padding: 12px 28px;
    }
    
    .service-hero-cta {
        bottom: 40px;
        left: 40px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
    }
    
    .services-actions {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .services-gallery-header {
        flex-direction: column;
        gap: 20px;
    }
    
    .services-gallery-title {
        font-size: 36px;
    }
    
    .services-gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-gallery-card {
        height: 400px;
    }
    
    .service-gallery-overlay {
        padding: 30px 25px;
    }
    
    .service-gallery-card-title {
        font-size: 24px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background-color: var(--text-primary);
    color: var(--bg-primary);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--border-light);
}

/* Footer Contact Section */
.site-footer {
    width: 100%;
    margin-top: 0;
}

.footer-contact-section {
    position: relative;
    width: 100%;
    min-height: 1100px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    overflow: hidden;
    padding-bottom: 220px;
}

.footer-contact-section .container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    height: 100%;
    min-height: 900px;
}

.footer-contact-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.footer-contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.footer-contact-content {
    position: absolute;
    z-index: 3;
    left: 200px;
    top: 260px;
    width: auto;
    margin: 0;
    padding: 0 0 80px 0;
}

/* Header Section (Top) - Positioned to the RIGHT */
.footer-contact-header {
    position: absolute;
    z-index: 3;
    top: 30px;
    right: 100px;
    width: auto;
    max-width: 600px;
    margin: 0;
    padding: 0;
    text-align: right;
}

.footer-contact-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 30px;
    margin-right: 0;
    margin-left: 0;
    font-family: 'Rubik Black', 'Montserrat', sans-serif;
    line-height: 1.2;
    max-width: 100%;
}

.footer-contact-description {
    font-size: 18px;
    color: var(--text-primary);
    line-height: 1.8;
    font-family: 'Carmelit', 'Inter', sans-serif;
    max-width: 100%;
    margin-right: 0;
    margin-left: 0;
}

/* Form Section (Left Bottom) - Positioned to the LEFT and DOWN */
.footer-contact-form-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0;
    margin-left: -30px;
    margin-top: 20px;
}

.footer-contact-form {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding-bottom: 32px;
}

.footer-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-form-label {
    font-size: 16px;
    color: var(--text-primary);
    font-family: 'Carmelit', 'Inter', sans-serif;
    font-weight: 400;
}

.footer-form-input {
    width: 100%;
    padding: 12px 0;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    color: var(--text-primary);
    font-size: 16px;
    font-family: 'Carmelit', 'Inter', sans-serif;
    transition: all 0.3s ease;
    outline: none;
}

.footer-form-input:focus {
    border-bottom-color: var(--text-primary);
}

.footer-form-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 10px;
}

.footer-checkbox {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--text-primary);
    flex-shrink: 0;
}

.footer-checkbox-label {
    font-size: 14px;
    color: var(--text-primary);
    font-family: 'Carmelit', 'Inter', sans-serif;
    line-height: 1.6;
    cursor: pointer;
    max-width: 450px;
}

.footer-policy-link {
    color: var(--text-primary);
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.footer-policy-link:hover {
    opacity: 0.8;
}

.footer-submit-btn {
    width: 100%;
    padding: 16px 32px;
    background-color: transparent;
    border: 1px solid var(--text-primary);
    border-radius: 4px;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 400;
    font-family: 'Rubik Black', 'Montserrat', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    margin-bottom: 12px;
}

.footer-submit-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.footer-submit-btn:active {
    transform: scale(0.98);
}

/* Footer Links Section */
.footer-links-section {
    background-color: rgba(15, 17, 21, 0.55);
    color: #f5f5f5;
    width: 100%;
    padding: 120px 0;
    background-size: cover;
    background-position: center 90%;
    background-repeat: no-repeat;
    background-blend-mode: overlay;
}

.footer-links-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 50px 0 70px;
}

.footer-links-content {
    display: flex;
    flex-direction: row;
    gap: 80px;
    align-items: flex-start;
    justify-content: space-between;
}

.footer-links-illustration {
    flex-shrink: 0;
    max-width: 540px;
    width: 40vw;
    min-width: 340px;
    align-self: center;
    margin-top: 0px;
}

.footer-links-illustration img {
    width: 100%;
    height: auto;
    display: block;
}

.footer-links-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.footer-links-columns {
    display: flex;
    gap: 110px;
    align-items: flex-start;
}

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

.footer-link {
    color: #f5f5f5;
    text-decoration: none;
    font-size: 18px;
    font-family: 'Carmelit', 'Inter', sans-serif;
    font-weight: 400;
    transition: opacity 0.3s ease;
    line-height: 1.6;
}

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

.footer-bottom-info {
    display: flex;
    align-items: center;
    gap: 35px;
    flex-wrap: wrap;
}

.footer-phone-number {
    color: #f5f5f5;
    text-decoration: none;
    font-size: 22px;
    font-family: 'Rubik Black', 'Montserrat', sans-serif;
    font-weight: 900;
    white-space: nowrap;
    transition: opacity 0.3s ease;
    direction: ltr;
    text-align: left;
    display: inline-block;
}

.footer-phone-number:hover {
    opacity: 0.7;
}

.footer-contact-button {
    background-color: transparent;
    color: #f5f5f5;
    border: 1px solid #f5f5f5;
    padding: 14px 32px;
    text-decoration: none;
    font-size: 17px;
    font-family: 'Rubik Black', 'Montserrat', sans-serif;
    font-weight: 900;
    border-radius: 999px;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-contact-button:hover {
    background-color: #f5f5f5;
    color: #0f1115;
}

.footer-contact-button::after {
    content: '←';
    font-size: 18px;
}

.footer-social-icons {
    display: flex;
    align-items: center;
    gap: 18px;
}

.footer-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    transition: opacity 0.3s ease;
}

.instagram-icon {
    width: 75px;
    height: 75px;
    margin-right: -10px;
    transition: opacity 0.3s ease;
}

/* Make Instagram icon bigger on tablets too */
@media (max-width: 992px) {
    .instagram-icon {
        width: 75px;
        height: 75px;
    }
}

.footer-social-icon:hover {
    opacity: 0.7;
}

.footer-social-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-links-section .footer-social-icon img {
    filter: invert(1) brightness(1.1);
}

.instagram-icon img {
    width: 100%;
    height: 100%;
}

/* Responsive Design for Footer Contact */
@media (max-width: 1200px) {
    .footer-links-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 50px;
    }
    
    .footer-links-illustration {
        max-width: 380px;
        width: 60%;
    }
    
    .footer-links-text {
        width: 100%;
    }
    
    .footer-contact-content {
        grid-template-columns: 1fr;
        gap: 80px;
        padding: 60px 30px;
    }
    
    .footer-contact-form-wrapper {
        padding-right: 0;
    }
    
    .footer-contact-header {
        text-align: center;
    }
    
    .footer-contact-description {
        margin: 0 auto;
        text-align: center;
    }
    
    .footer-contact-form-wrapper {
        justify-content: center;
    }
    
    .footer-contact-title {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .footer-contact-section {
        min-height: auto;
        padding: 60px 0 120px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .footer-contact-section .container {
        min-height: auto;
    }
    
    .footer-contact-background {
        background-position: left center;
    }
    
    .footer-contact-header {
        position: relative;
        top: 0;
        right: 0;
        width: 100%;
        text-align: center;
        padding: 0 20px;
        margin: 0 auto 26px;
    }
    
    .footer-contact-title {
        font-size: 30px;
        margin-bottom: 12px;
    }
    
    .footer-contact-description {
        font-size: 16px;
        line-height: 1.7;
        margin: 0 auto;
    }
    
    .footer-contact-content {
        position: relative;
        left: 0;
        top: 0;
        width: 100%;
        padding: 0 20px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
    }
    
    .footer-contact-form-wrapper {
        margin: 0;
        justify-content: center;
        width: 100%;
    }
    
    .footer-contact-form {
        max-width: 420px;
        margin: 0 auto;
        width: 100%;
        padding-bottom: 28px;
    }
    
    .footer-form-label {
        font-size: 14px;
    }
    
    .footer-form-input {
        font-size: 14px;
    }
    
    .footer-checkbox-label {
        font-size: 12px;
    }
    
    .footer-submit-btn {
        font-size: 14px;
        padding: 12px 26px;
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .footer-submit-area {
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
        margin-top: 12px;
        margin-bottom: 12px;
    }
    
    .footer-links-container {
        padding: 0 30px;
    }
    
    .footer-links-columns {
        gap: 50px;
    }
    
    .footer-bottom-info {
        gap: 20px;
    }
    
    .instagram-icon {
        width: 55px;
        height: 55px;
    }
}

@media (max-width: 768px) {
    .footer-links-section {
        padding: 50px 0;
        background-color: rgba(10, 10, 12, 0.7);
        background-blend-mode: multiply;
    }
    
    .footer-links-container {
        padding: 0 20px;
    }
    
    .footer-links-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }
    
    .footer-links-illustration {
        width: 80%;
        min-width: 240px;
        max-width: 360px;
    }
    
    .footer-links-columns {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-bottom-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .footer-phone-number {
        font-size: 18px;
    }
    
    .footer-contact-button {
        font-size: 14px;
        padding: 12px 24px;
    }
    
    .footer-social-icons {
        gap: 12px;
    }
    
    .footer-social-icon {
        width: 35px;
        height: 35px;
    }
    
    .instagram-icon {
        width: 52px;
        height: 52px;
        margin-right: -8px;
    }
}

/* About Us Page Styles */
.about-main-section {
    width: 100%;
    margin-top: 0;
    position: relative;
}

.about-main-image-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-main-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    filter: brightness(0.6);
}

.about-main-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.about-main-content {
    position: absolute;
    bottom: 80px;
    right: 80px;
    max-width: 800px;
    z-index: 2;
    text-align: right;
}

.about-main-title {
    font-size: 72px;
    font-weight: 900;
    color: var(--text-primary);
    font-family: 'Rubik Black', 'Montserrat', sans-serif;
    margin-bottom: 40px;
    line-height: 1.2;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9);
}

.about-main-text {
    font-size: 24px;
    color: var(--text-primary);
    font-family: 'Carmelit', 'Inter', sans-serif;
    line-height: 1.9;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
}

@media (max-width: 1200px) {
    .about-main-content {
        bottom: 60px;
        right: 60px;
        max-width: 650px;
    }
    
    .about-main-title {
        font-size: 56px;
        margin-bottom: 30px;
    }
    
    .about-main-text {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .about-main-section {
        margin-top: 0;
    }
    
    .about-main-image-wrapper {
        height: 80vh;
    }
    
    .about-main-content {
        bottom: 40px;
        right: 30px;
        left: 30px;
        max-width: 100%;
    }
    
    .about-main-title {
        font-size: 42px;
        margin-bottom: 20px;
    }
    
    .about-main-text {
        font-size: 18px;
        line-height: 1.7;
    }
}

/* Contact Page */
.contact-page {
    background-color: #0f0f0f;
}

/* Darker main header only on contact page top */
body.contact-page .header-main {
    background-color: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
}

.contact-hero {
    width: 100%;
    margin-top: 0;
}

.contact-map-shell {
    position: relative;
    width: 100%;
    height: 100vh;
    background: #0a0a0a;
    overflow: hidden;
}

.contact-map-embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(12%);
}

.contact-map-shell::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.contact-card {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: min(440px, 94vw);
    background: rgba(12, 12, 12, 0.95);
    border-radius: 20px 0 0 20px;
    padding: 32px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 18px;
    z-index: 2;
    backdrop-filter: blur(4px);
}

.contact-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.contact-card-kicker {
    font-size: 14px;
    color: #c9cbd3;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.contact-card-title {
    font-size: 36px;
    font-weight: 800;
    margin: 0 0 8px 0;
    color: #ffffff;
}

.contact-card-subtitle {
    font-size: 16px;
    color: #b5b8c2;
    margin: 0;
}

.contact-card-socials {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-social-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: transparent;
    display: grid;
    place-items: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.contact-social-btn img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.contact-social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.contact-card-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-info-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.contact-info-row:last-child {
    border-bottom: none;
}

.contact-info-label {
    font-size: 14px;
    color: #9ca1ae;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.contact-info-value {
    font-size: 16px;
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    text-align: right;
    direction: rtl;
    unicode-bidi: plaintext;
}

.contact-info-value:hover {
    color: #cfd2dc;
}

/* RTL adjustment for labels/value spacing */
.contact-info-row .contact-info-value {
    margin-right: auto;
}

@media (max-width: 1200px) {
    .contact-card {
        width: min(420px, 94vw);
        padding: 28px;
    }
}

@media (max-width: 1024px) {
    .contact-map-shell {
        height: 100vh;
    }
    
    .contact-card {
        top: auto;
        bottom: 40px;
        transform: none;
    }
}

@media (max-width: 900px) {
    .contact-card {
        position: relative;
        inset: auto;
        transform: none;
        border-radius: 18px;
        margin: -80px auto 0;
        width: min(520px, 94vw);
    }
    
    .contact-map-shell {
        height: 100vh;
    }
}

@media (max-width: 640px) {
    .contact-card {
        padding: 24px;
        margin: -60px auto 0;
    }
    
    .contact-card-top {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .contact-card-title {
        font-size: 30px;
    }
    
    .contact-card-subtitle {
        font-size: 15px;
    }
    
    .contact-info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    
    .contact-info-value {
        text-align: right;
    }
}

/* Service detail hero with interactive hotspots */
.service-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    background: #0c0c0d;
    padding-top: 0;
    overflow: hidden;
}

.service-hero-media {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
}

.service-hero-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.9);
}

.service-hotspots {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hotspot {
    position: absolute;
    transform: translate(50%, -50%);
    pointer-events: auto;
    z-index: 5;
}

.hotspot-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hotspot-dot:hover,
.hotspot.active .hotspot-dot {
    transform: scale(1.08);
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.16);
}

.hotspot-card {
    position: absolute;
    top: -10px;
    right: 36px;
    min-width: 260px;
    max-width: 320px;
    background: rgba(12, 12, 13, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 14px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.hotspot:hover .hotspot-card,
.hotspot.active .hotspot-card,
.hotspot:focus-within .hotspot-card {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.hotspot-card-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    margin-bottom: 10px;
}

.hotspot-card-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hotspot-card-title {
    font-size: 18px;
    font-weight: 700;
    font-family: 'Rubik Black', 'Montserrat', sans-serif;
    color: #fff;
}

.hotspot-card-desc {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.hotspot-empty {
    position: absolute;
    bottom: 40px;
    right: 40px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
}

@media (max-width: 900px) {
    .service-hero {
        padding-top: 120px;
    }
    .service-hero-media {
        height: calc(100vh - 120px);
        min-height: 520px;
    }
    .hotspot-card {
        right: 26px;
        min-width: 220px;
    }
}

@media (max-width: 992px) {
    .testimonials-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .testimonials-title {
        font-size: 36px;
    }
    .testimonials-subtitle {
        max-width: 360px;
    }
    .testimonials-viewport {
        padding: 0 20px;
    }
    .testimonial-card {
        flex-direction: column;
        width: clamp(300px, calc(100vw - 40px), 720px);
        max-width: calc(100vw - 40px);
        margin: 0 auto;
        box-sizing: border-box;
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 44px 0 52px;
    }
    .testimonials-section .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    .testimonials-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .testimonials-heading-block {
        text-align: right;
        gap: 8px;
    }
    .testimonials-title {
        font-size: 30px;
    }
    .testimonials-subtitle {
        max-width: 280px;
        font-size: 15px;
        line-height: 1.7;
    }
    .testimonials-slider {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        width: 100vw;
        margin-left: -20px;
        margin-right: -20px;
    }
    .testimonial-arrows-vertical {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 12px;
        width: 100%;
        order: 2;
    }
    .testimonials-viewport {
        width: 100%;
        max-width: 100%;
        order: 1;
        padding: 0;
        overflow: hidden;
        box-sizing: border-box;
        position: relative;
    }
    .testimonial-arrow {
        width: 56px;
        height: 56px;
        border: 1px solid rgba(255, 255, 255, 0.25);
        background: rgba(255, 255, 255, 0.07);
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
        font-size: 22px;
    }
    .testimonials-track {
        gap: 0;
        padding: 0;
        box-sizing: border-box;
        justify-content: flex-start;
        position: relative;
        width: 100%;
        display: flex;
    }
    .testimonial-card {
        padding: 20px 20px;
        align-items: flex-start;
        text-align: right;
        width: 100vw;
        max-width: 100vw;
        min-width: 100vw;
        margin: 0;
        box-sizing: border-box;
        flex-shrink: 0;
        position: relative;
        flex-direction: column;
    }
    .testimonial-body {
        text-align: right;
        align-items: flex-start;
        gap: 8px;
    }
    .testimonial-name {
        font-size: 18px;
    }
    .testimonial-text {
        font-size: 16px;
        line-height: 1.7;
    }
    .testimonial-avatar {
        width: 58px;
        height: 58px;
    }
    .testimonial-dots {
        margin-top: 10px;
        padding: 0 20px;
    }
    .testimonial-cta-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-left: 0;
        margin-right: 0;
    }
}

/* iPhone and small screens optimization - Portrait mode */
@media (max-width: 768px) and (orientation: portrait) {
    /* Hero slider - move text to top on portrait */
    .slide-text-overlay {
        bottom: auto;
        top: 300px;
        right: 20px;
        left: auto;
        text-align: right;
        max-width: calc(100% - 40px);
        padding: 20px 25px;
        border-radius: 12px;
    }
    
    /* Keep controls at bottom */
    .hero-slider-controls {
        bottom: 40px;
    }
    
    /* Keep service detail button at bottom on portrait */
    .service-hero-cta {
        bottom: 40px;
        left: 20px;
    }
    
    /* Footer - Add dark containers for better readability on iPhone portrait */
    .footer-contact-header {
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 25px;
        border-radius: 12px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    }
    
    .footer-contact-title {
        color: #ffffff;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
        margin-bottom: 15px;
    }
    
    .footer-contact-description {
        color: rgba(255, 255, 255, 0.95);
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }
    
    .footer-links-columns {
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 25px;
        border-radius: 12px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    }
    
    .footer-link {
        color: #ffffff;
        text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    }
}

@media (max-width: 430px) and (orientation: portrait) {
    /* Ensure testimonial cards stay perfectly centered and within screen */
    .testimonials-viewport {
        padding: 0;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
        position: relative;
    }
    
    .testimonials-track {
        padding: 0;
        box-sizing: border-box;
        gap: 0;
        justify-content: flex-start;
        position: relative;
        width: 100%;
        display: flex;
    }
    
    .testimonial-card {
        width: 100vw;
        max-width: 100vw;
        min-width: 100vw;
        margin: 0;
        padding: 18px 20px;
        box-sizing: border-box;
        flex-shrink: 0;
        position: relative;
        flex-direction: column;
    }
    
    .testimonials-subtitle {
        max-width: 260px;
    }
    
    /* Hero slider text positioning for iPhone portrait */
    .slide-text-overlay {
        top: 300px;
        right: 20px;
        left: auto;
        text-align: right;
        padding: 18px 22px;
        border-radius: 12px;
    }
    
    .slide-title {
        font-size: 26px;
        margin-bottom: 12px;
    }
    
    .slide-description {
        font-size: 15px;
    }
    
    .service-hero-cta {
        bottom: 30px;
        left: 20px;
    }
    
    /* Footer containers - smaller padding for small iPhones */
    .footer-contact-header {
        padding: 20px;
    }
    
    .footer-links-columns {
        padding: 20px;
    }
}

@media (max-width: 540px) and (orientation: landscape) {
    /* Hero slider adjustments for small screens in LANDSCAPE only */
    .slide-text-overlay {
        top: 120px;
        right: 15px;
        left: auto;
        text-align: right;
        padding: 16px 20px;
        border-radius: 10px;
    }
    
    .slide-title {
        font-size: 24px;
        margin-bottom: 12px;
    }
    
    .slide-description {
        font-size: 14px;
    }
    
    .hero-slider-controls {
        bottom: 30px;
        left: 30px;
    }
    
    .service-hero-cta {
        bottom: 30px;
        left: 20px;
    }
    
    /* Testimonial adjustments for small screens */
    .testimonials-viewport {
        padding: 0;
        overflow: hidden;
        box-sizing: border-box;
        position: relative;
    }
    
    .testimonials-track {
        padding: 0;
        gap: 0;
        justify-content: flex-start;
        position: relative;
        width: 100%;
        display: flex;
    }
    
    .testimonial-card {
        width: 100vw;
        max-width: 100vw;
        min-width: 100vw;
        padding: 16px 20px;
        margin: 0;
        box-sizing: border-box;
        flex-shrink: 0;
        position: relative;
        flex-direction: column;
    }
    
    .testimonials-subtitle {
        max-width: 240px;
    }
    
    .testimonial-arrow {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    /* Footer containers - extra small screens in portrait */
}

@media (max-width: 540px) and (orientation: portrait) {
    .footer-contact-header {
        padding: 18px;
        border-radius: 10px;
    }
    
    .footer-links-columns {
        padding: 18px;
        border-radius: 10px;
    }
}

@media (max-width: 540px) {
    .testimonial-submit-btn,
    .testimonial-cancel-btn,
    .testimonial-cta-button {
        width: 100%;
        text-align: center;
    }
}

/* Service Detail Mobile Optimization - Vertical Phone Screens */
@media (max-width: 480px) and (orientation: portrait) {
    /* Remove margins from white section for full-width content */
    .service-story-inner {
        width: 100%;
        padding: 0;
    }
    
    .service-story-header {
        padding: 0 20px;
    }
    
    .service-story-content {
        gap: 24px;
    }
    
    /* Story items - no padding on container */
    .service-story-item {
        padding: 0;
    }
    
    /* Add padding only to text elements, not images */
    .service-story-title {
        font-size: 28px;
        padding: 0 20px;
    }
    
    .service-story-text {
        font-size: 18px;
        line-height: 1.8;
        padding: 0 20px;
    }
    
    /* Images full-width - no padding, no border-radius */
    .service-story-image {
        margin-top: 16px;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        min-height: 280px;
        max-height: 400px;
        border-radius: 0;
    }
    
    .service-story-subtitle {
        font-size: 26px;
    }
    
    .service-story-description {
        font-size: 18px;
        line-height: 1.7;
    }
    
    /* Fix yellow step containers overflow and center them */
    .service-steps-section {
        margin-top: 40px;
        padding: 0;
    }
    
    .service-steps-title {
        font-size: 28px;
        margin-bottom: 20px;
        padding: 0 20px;
    }
    
    .service-steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 16px;
        justify-items: center;
    }
    
    .service-step-card {
        border-radius: 12px;
        width: 100%;
        max-width: 100%;
    }
    
    .service-step-image {
        margin: 16px;
        width: calc(100% - 32px);
        min-height: 220px;
        max-height: 320px;
    }
    
    .service-step-body {
        padding: 0 16px 16px;
    }
    
    .service-step-heading {
        font-size: 22px;
        gap: 12px;
    }
    
    .service-step-number {
        font-size: 24px;
    }
    
    .service-step-title {
        font-size: 22px;
    }
    
    .service-step-text {
        font-size: 16px;
        line-height: 1.7;
    }
}

/* Additional optimization for larger phones like iPhone 12 Pro Max */
@media (max-width: 430px) and (orientation: portrait) {
    .service-story-inner {
        width: 100%;
    }
    
    .service-story-title,
    .service-story-text {
        padding: 0 16px;
    }
    
    .service-story-header {
        padding: 0 16px;
    }
    
    .service-steps-title {
        padding: 0 16px;
    }
    
    .service-steps-grid {
        padding: 0 12px;
    }
    
    .service-step-card {
        max-width: 100%;
        width: 100%;
    }
}
