/* =========================================================
    Design Tokens & Base
   ========================================================= */
:root {
    --body-color: hsl(0, 0%, 98%);
    --color-surface: #ffffff;
    --color-surface-soft: #f8fafc;

    --color-primary: #2563eb;
    --color-primary-dark: #1d4ed8;
    --color-primary-soft: #eff6ff;

    --color-danger: #ff3d2e;
    --color-danger-dark: #e63628;
    --color-danger-soft: #ffe5e2;

    --color-dark: #111827;
    --color-muted: #64748b;
    --color-muted-2: #6b7280;
    --color-border: #e5e7eb;
    --color-border-soft: #dbeafe;

    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 18px;

    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 8px 22px rgba(15, 23, 42, 0.07);
    --shadow-blue: 0 12px 26px rgba(37, 99, 235, 0.13);
    --shadow-danger: 0 12px 26px rgba(255, 61, 46, 0.18);

    --container-x: 8%;
    --section-padding-y: 90px;
    --transition: 0.25s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--body-color);
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.home-swiper-shell {
    width: 100%;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    align-items: center;
    gap: 10px;
}

.home-swiper-nav {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    background: #ffffff;
    color: var(--color-primary);
    cursor: pointer;
    transition: var(--transition);
}

.home-swiper-nav i {
    font-size: 15px;
}

.home-swiper-nav:hover {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: #ffffff;
    transform: translateY(-2px);
}

.home-swiper-nav.swiper-button-disabled {
    pointer-events: none;
    opacity: 0.4;
}

/* =========================================================
    Shared Components
   ========================================================= */
.btn,
.software-link,
.software-orange-link,
.btn-submit,
.plus-link,
.view-link,
.achievements-link {
    cursor: pointer;
}

.btn {
    min-height: 46px;
    padding: 12px 20px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    border: 1px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
}

.btn i {
    font-size: 15px;
}

.btn:hover,
.software-link:hover,
.software-orange-link:hover,
.btn-submit:hover,
.service-card:hover,
.about-card:hover,
.feature-card:hover,
.acheivement-card:hover,
.contact-item:hover,
.hour-row:hover {
    transform: translateY(-3px);
}

.btn-primary {
    background: var(--color-primary);
    color: #ffffff;
    box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    box-shadow: 0 16px 30px rgba(37, 99, 235, 0.18);
}

.btn-store-mobile {
    display: none;
    background: var(--color-danger);
    color: #ffffff;
    box-shadow: var(--shadow-danger);
}

.btn-store-mobile:hover {
    background: var(--color-danger-dark);
    box-shadow: 0 16px 30px rgba(255, 61, 46, 0.22);
}

.btn-outline {
    background: var(--color-danger);
    color: #ffffff;
    border-color: var(--color-danger);
    box-shadow: var(--shadow-danger);
}
.btn-outline:hover {
    background: var(--color-danger-dark);
    border-color:var(--color-danger-dark);
    box-shadow: 0 16px 30px rgba(255, 61, 46, 0.22);
}

.icon,
.icon-circle,
.software-icon,
.contact-item i,
.hours-header i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    background: var(--color-primary-soft);
    color: var(--color-primary);
}

.icon,
.icon-circle {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    font-size: 17px;
}

.card-inner,
.card-content {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.card-text h3 {
    margin: 0 0 6px;
    color: var(--color-primary);
    font-size: 16px;
    font-weight: 700;
}

.card-text p {
    margin: 0;
    color: var(--color-muted-2);
    font-size: 13px;
    line-height: 1.55;
}

.swiper-wrapper {
    align-items: stretch;
}

.swiper-slide {
    height: auto;
    display: flex;
    justify-content: center;
}

.form-alert {
    margin-bottom: 18px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
}

.form-alert ul {
    margin: 0;
    padding-inline-start: 18px;
}

.form-alert.success {
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    color: #166534;
}
.form-alert.danger {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

/* =========================================================
    Hero Section
   ========================================================= */
.hero {
    min-height: 100vh;
    padding: 142px 0 50px;
    background: var(--body-color);
    display: flex;
    align-items: center;
    margin: 0;
}

.hero-container {
    min-height: calc(100vh - 164px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    padding-bottom: 50px;
}

.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-focus {
    color: var(--color-danger);
}

.hero-title {
    max-width: 620px;
    margin: 0 0 54px;
    color: var(--color-dark);
    font-size: 36px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: -1.4px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-buttons .btn {
    min-height: 52px;
    padding-inline: 24px;
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    width: min(100%, 760px);
    height: auto;
    display: block;
    object-fit: contain;
    transform: translateY(6px);
}

/* =========================================================
    Services Section
   ========================================================= */
.services {
    margin: 0;
    padding: var(--section-padding-y) 0;
    background: #ffffff;
}

.hero-container,
.services-container,
.software-container,
.achievements-container,
.contact-heading,
.contact-container {
    width: min(1180px, calc(100% - 2 * var(--container-x)));
    max-width: 1180px;
    margin-inline: auto;
}

.section-header {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.services-title {
    margin: 0 0 8px;
    color: var(--color-dark);
    font-size: 32px;
    font-weight: 600;
    text-align: center;
}

.section-description {
    max-width: 620px;
    text-align: center;
    margin: 0;
    color: var(--color-muted);
    font-size: 17px;
    line-height: 1.6;
}

.services-group {
    padding-bottom: 22px;
}

.service-card {
    width: 100%;
    min-height: 245px;
    overflow: hidden;
    margin: 5px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-3px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-blue);
    background: #ffffff;
}

.service-image {
    width: 100%;
    height: 160px;
    flex-shrink: 0;
    overflow: hidden;
    background: var(--color-primary-soft);
}

.service-image img {
    width: 100%;
    height: 100%;
    transition: transform 0.35s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.04);
}

.service-card h3 {
    margin: 8px 12px 0;
    margin-bottom: 8px;
    color: var(--color-dark);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

.service-card p {
    margin: 0 12px 0;
    margin-bottom: 8px;
    color: var(--color-muted);
    font-size: 15px;
    line-height: 1.4;
}

.plus-link {
    margin: 0 12px 8px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--color-primary);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
}

.plus-link:hover {
    gap: 10px;
}

.services-group .swiper,
.services-swiper,
.achievements-swiper {
    width: 100%;
    min-width: 0;
}

.services-group .swiper-wrapper,
.achievements .swiper-wrapper {
    width: 100%;
}

/* Secondary services merged inside main services */
.other-services {
    padding-top: 22px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.other-service-card {
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
    cursor: pointer;
}

.other-service-card:hover {
    transform: translateY(-2px);
    background: #ffffff;
    border-color: var(--color-primary);
    box-shadow: var(--shadow-blue);
}

.other-service-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-soft);
    color: var(--color-primary);
    border-radius: 12px;
    font-size: 15px;
}

.other-service-card h3 {
    margin: 0 0 5px;
    color: var(--color-dark);
    font-size: 17px;
    font-weight: 500;
}

.other-service-card p {
    margin: 0;
    color: var(--color-muted);
    font-size: 15px;
    line-height: 1.45;
}

/* =========================================================
    Software Section
   ========================================================= */
.software-section {
    margin: 0;
    padding: var(--section-padding-y) 0;
    overflow: hidden;
}

.software-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.software-title {
    margin: 0 0 8px;
    color: var(--color-dark);
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -0.25px;
    text-align: center;
}

.software-description {
    max-width: 760px;
    margin: 0;
    color: var(--color-muted-2);
    font-size: 17px;
    line-height: 1.65;
    text-align: center;
}

.software-card {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 24px;
    padding: 22px;
    transition: var(--transition);
}

.software-card-header {
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.software-icon {
    width: 62px;
    height: 62px;
    min-width: 50px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.software-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.software-card h3 {
    margin: 0 0 4px;
    color: var(--color-dark);
    font-size: 22px;
    font-weight: 600;
}

.software-card span {
    color: var(--color-muted-2);
    font-size: 15px;
}

.software-card p {
    margin: 0 0 16px;
    color: var(--color-dark);
    font-size: 17px;
    line-height: 1.7;

    display: -webkit-box;
    -webkit-line-clamp: 12; /* number of lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.software-link, 
.software-orange-link, 
.software-link-mobile,
.software-orange-link-mobile {
    width: fit-content;
    min-height: 44px;
    padding: 12px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--color-primary);
    color: #ffffff;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    box-shadow: var(--shadow-blue);
    transition: var(--transition);
}

.software-orange-link,
.software-orange-link-mobile {
    background: var(--color-danger);
    box-shadow: var(--shadow-danger);
}

.software-link,
.software-orange-link {
    margin-right: 10px;
    margin-left: 0;
}
[dir="rtl"] .software-link,
[dir="rtl"] .software-orange-link {
    margin-left: 10px;
    margin-right: 0;
}

.software-link-mobile,
.software-orange-link-mobile {
    display: none;
    width: 100%;
    margin-top: 20px;
    text-align: center;
}

.software-orange-link-mobile {
    margin-top: 5px;
}

.software-link:hover,
.software-link-mobile:hover {
    background: var(--color-primary-dark);
}

.software-orange-link:hover,
.software-orange-link-mobile:hover {
    background: var(--color-danger-dark);
}

.software-image {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.software-image img {
    width: 100%;
    max-width: none;
    height: auto;
    display: block;
}

/* =========================================================
    Achievements Section
   ========================================================= */
.achievements {
    margin: 0;
    padding: var(--section-padding-y) 0;
    overflow: hidden;
    background: #ffffff;
}

.achievements-header {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.achievements-title {
    margin: 0 0 8px;
    color: var(--color-dark);
    font-weight: 600;
    letter-spacing: -0.25px;
    font-size: 32px;
    text-align: center;
}

.achievements-description {
    max-width: 760px;
    margin: 0;
    color: var(--color-muted-2);
    font-size: 17px;
    line-height: 1.6;
    text-align: center;
}

.achievements-swiper {
    width: 100%;
    padding: 10px 0;
}

.acheivement-card {
    width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
    transition: var(--transition);
}

.acheivement-card:hover {
    box-shadow: var(--shadow-blue);
}

.acheivement-image {
    width: 100%;
    height: 160px;
    flex-shrink: 0;
    overflow: hidden;
    background: #ffffff;
}

.acheivement-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.acheivement-card:hover .acheivement-image img {
    transform: scale(1.04);
}

.image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #9ca3af;
}

.image-placeholder i {
    color: #9ca3af;
    font-size: 34px;
}

.image-placeholder-sm {
    min-height: 100%;
}

.image-placeholder-sm i {
    font-size: 18px;
}

.software-image-placeholder {
    min-height: 320px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
}

.acheivement-content {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.acheivement-header {
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.acheivement-header h3 {
    margin: 0;
    color: var(--color-dark);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;
}

.type {
    padding: 4px 9px;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    color: var(--color-muted-2);
    font-size: 12px;
    white-space: nowrap;
}

.acheivement-content p {
    margin: 0 0 12px;
    color: var(--color-muted-2);
    font-size: 15px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.view-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--color-primary);
    font-size: 15px;
    font-weight: 600;
}

/* =========================================================
   Contact Section
   ========================================================= */
.contact-section {
    margin: 0;
    padding: var(--section-padding-y) 0;
}

.contact-heading {
    margin: 0 auto 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-heading h2 {
    margin: 0;
    color: var(--color-dark);
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -0.7px;
}

.contact-description {
    max-width: 760px;
    margin: 0;
    color: var(--color-muted-2);
    font-size: 17px;
    line-height: 1.6;
    text-align: center;
}

.contact-container {
    display: grid;
    grid-template-columns: 0.85fr 1.4fr;
    align-items: stretch;
    gap: 32px;
    overflow: visible;
}

.contact-info,
.contact-form,
.contact-map {
    min-width: 0;
}

/* Contact info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-item {
    padding: 16px;
    display: flex;
    gap: 14px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-2px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-blue);
}

.contact-item i {
    width: 42px;
    height: 42px;
    min-width: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-soft);
    color: var(--color-primary);
    border-radius: 14px;
    font-size: 16px;
}

.contact-item h4 {
    margin: 0 0 5px;
    color: var(--color-dark);
    font-size: 17px;
    font-weight: 600;
}

.contact-item p {
    margin: 0;
    color: var(--color-muted);
    font-size: 16px;
    line-height: 1.5;
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* Hours inside contact item */
.contact-hours {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hour-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    color: var(--color-muted);
    font-size: 16px;
    line-height: 1.5;
}

.hour-row span {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.hour-row span:first-child {
    color: var(--color-dark);
}

.hour-row span:last-child {
    color: var(--color-dark);
    white-space: nowrap;
}

.hour-row.closed span:last-child {
    color: #ef4444;
}

/* Contact form */
.contact-form {
    padding: 22px;
    background: var(--color-surface);
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.form-group label {
    margin-bottom: 8px;
    color: #334155;
    font-size: 17px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    min-width: 0;
    padding: 14px 16px;
    background: var(--body-color);
    border: 1px solid #dbe3ef;
    border-radius: 12px;
    color: var(--color-dark);
    font-size: 15px;
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
}

.form-group input:focus,
.form-group textarea:focus {
    background: #ffffff;
    border-color: var(--color-primary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
}

.message-group {
    margin-top: 18px;
}

.form-group textarea {
    min-height: 160px;
    resize: vertical;
    line-height: 1.6;
}

.form-check {
    margin: 18px 0 22px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--color-muted);
    font-size: 13px;
}

.form-check input {
    margin-top: 4px;
    accent-color: var(--color-primary);
}

.form-check label {
    line-height: 1.5;
    font-size: 14px;
    font-weight: 400;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.btn-submit {
    min-height: 48px;
    padding: 14px 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    background: var(--color-primary);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-blue);
}

.btn-submit:hover {
    transform: translateY(-2px);
    background: var(--color-primary-dark);
}

/* Map */
.contact-map {
    grid-column: 1 / -1;
    position: relative;
    min-height: 360px;
    margin-top: 4px;
    background: var(--color-primary-soft);
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 360px;
    display: block;
    border: none;
}


/* =========================================================
   FLOATING BUTTONS 
========================================================= */
.float-nav {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.float-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    cursor: pointer;

    /* Medium black */
    background: #2f2f2f;
    color: #ffffff;

    font-size: 18px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    transition: all 0.3s ease;
}

/* Hover */
.float-btn:hover {
    background: #1f1f1f;
    transform: translateY(-3px);
}

/* Hidden state */
.float-btn.is-hidden {
    opacity: 0;
    pointer-events: none;
}

/* Down button slight variation (optional) */
.float-btn-down {
    background: #3a3a3a;
}

.float-btn-down:hover {
    background: #262626;
}

/* Social media */
.social-float {
    position: fixed;
    left: 25px;
    top: 105px;

    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.social-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;

    color: white;
    font-size: 18px;
    text-decoration: none;

    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    transition: all 0.3s ease;
}

/* Facebook brand color */
.social-btn.fb {
    background: #1877F2;
}

.social-btn.fb:hover {
    background: #0f5ec4;
    transform: translateY(-3px);
}

/* WhatsApp brand color */
.social-btn.wa {
    background: #25D366;
}

.social-btn.wa:hover {
    background: #1da851;
    transform: translateY(-3px);
}

/* LinkedIn brand color */
.social-btn.li {
    background: #0A66C2;
}

.social-btn.li:hover {
    background: #084a92;
    transform: translateY(-3px);
}

/* Instagram brand color */
.social-btn.ig {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-btn.ig:hover {
    filter: brightness(0.9);
    transform: translateY(-3px);
}

/* =========================================================
    RTL Improvements
   ========================================================= */
[dir="rtl"] .hero-title,
[dir="rtl"] .about-description,
[dir="rtl"] .software-description,
[dir="rtl"] .service-card,
[dir="rtl"] .contact-item,
[dir="rtl"] .form-group,
[dir="rtl"] .hours-part {
    direction: rtl;
}

[dir="rtl"] .form-alert ul {
    padding-left: 0;
    padding-right: 18px;
}

[dir="rtl"] .card-inner,
[dir="rtl"] .card-content,
[dir="rtl"] .software-card-header,
[dir="rtl"] .contact-item,
[dir="rtl"] .hours-header,
[dir="rtl"] .form-check {
    text-align: right;
}

/* =========================================================
   MEDIA QUERIES
   ========================================================= */

@media (max-width: 1100px) {
    /* Global / Layout */

    /* Hero Section */
    .hero {
        padding-top: 110px;
    }

    .hero-container {
        grid-template-columns: 0.95fr 1.05fr;
        gap: 34px;
    }

    .hero-title {
        font-size: 38px;
    }

    .hero-image img {
        width: min(100%, 660px);
    }

    /* Services Section */

    /* Software Section */

    /* Achievements Section */

    /* Contact Section */
    .contact-container {
        gap: 24px;
    }

    /* Floating Buttons */
}

@media (max-width: 1000px) {
    /* Global / Layout */

    /* Hero Section */

    /* Services Section */
    .other-services {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Software Section */

    /* Achievements Section */

    /* Contact Section */

    /* Floating Buttons */
}

@media (max-width: 900px) {
    /* Global / Layout */
    :root {
        --section-padding-y: 70px;
    }

    .home-swiper-shell {
        grid-template-columns: 1fr;
    }

    .home-swiper-nav {
        display: none;
    }

    /* Hero Section */
    .hero {
        min-height: auto;
        padding: 96px 6% 42px;
        align-items: flex-start;
    }

    .hero-container {
        min-height: auto;
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
        padding-bottom: 42px;
    }

    .hero-text {
        align-items: center;
        order: 2;
    }

    .hero-image {
        order: 1;
    }

    .hero-title {
        max-width: 760px;
        margin-bottom: 28px;
        font-size: 32px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image img {
        width: min(100%, 620px);
        transform: none;
    }

    /* Services Section */

    /* Software Section */
    .software-card {
        grid-template-columns: 1fr;
        text-align: start;
    }

    .software-header {
        text-align: center;
    }

    .software-description {
        margin: 0 auto;
    }

    /* Achievements Section */

    /* Contact Section */
    .contact-section {
        padding: var(--section-padding-y) 0;
    }

    .contact-heading {
        margin-bottom: 24px;
    }

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

    .contact-form {
        width: 100%;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contact-map {
        margin-top: 0;
    }

    .contact-map,
    .contact-map iframe {
        min-height: 300px;
    }

    /* Floating Buttons */
    .float-nav {
        bottom: 20px;
        right: 20px;
        gap: 9px;
    }

    .social-float {
        left: 20px;
        top: 95px;
        gap: 9px;
    }
}

@media (max-width: 600px) {
    /* Global / Layout */
    :root {
        --container-x: 5%;
        --section-padding-y: 50px;
    }

    /* Hero Section */
    .hero {
        padding: 88px 5% 34px;
    }

    .hero-container {
        gap: 22px;
        padding-bottom: 34px;
    }

    .hero-text {
        display: contents;
    }

    .hero-image {
        order: 1;
        width: 100%;
        margin-bottom: 8px;
    }

    .hero-title {
        order: 2;
        width: 100%;
        max-width: 420px;
        margin: 0 auto 24px;
        font-size: 28px;
        line-height: 1.4;
        letter-spacing: -0.7px;
    }

    .hero-buttons {
        order: 3;
        width: 100%;
        max-width: 380px;
        margin: 0 auto;
        flex-direction: column;
        gap: 12px;
    }

    .hero-buttons .btn {
        width: 100%;
        min-height: 50px;
        margin: 0;
    }

    .hero-image img {
        width: 100%;
        max-width: 360px;
        margin-inline: auto;
        transform: none;
    }

    .btn-store-mobile {
        display: inline-flex;
    }

    /* Services Section */
    .services {
        padding: var(--section-padding-y) 0;
    }

    .services-title {
        font-size: 21px;
    }

    .service-card {
        min-height: auto;
    }

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

    /* Software Section */
    .software-section {
        padding: var(--section-padding-y) 0;
    }

    .software-card {
        padding: 18px;
        gap: 18px;
    }

    .software-title {
        font-size: 21px;
    }

    .software-link,
    .software-orange-link {
        width: 100%;
        display: none;
    }

    .software-link-mobile, 
    .software-orange-link-mobile {
        display: block;
    }

    /* Achievements Section */
    .achievements-title {
        font-size: 21px;
    }

    /* Contact Section */
    .contact-section {
        padding: var(--section-padding-y) 0;
    }

    .contact-heading {
        margin-bottom: 22px;
    }

    .contact-heading h2 {
        font-size: 21px;
    }

    .contact-container {
        gap: 20px;
    }

    .contact-form {
        padding: 18px;
        border-radius: 18px;
    }

    .contact-item {
        padding: 14px;
        gap: 12px;
        border-radius: 14px;
    }

    .contact-item i {
        width: 38px;
        height: 38px;
        min-width: 38px;
        border-radius: 12px;
        font-size: 15px;
    }

    .contact-item h4 {
        font-size: 14px;
    }

    .contact-item p,
    .hour-row {
        font-size: 13px;
    }

    .form-group label {
        font-size: 13px;
    }

    .form-group input,
    .form-group textarea {
        padding: 13px 14px;
        font-size: 14px;
    }

    .form-group textarea {
        min-height: 140px;
    }

    .form-check {
        margin: 16px 0 20px;
    }

    .form-check label {
        font-size: 13px;
    }

    .btn-submit {
        width: 100%;
    }

    .contact-map,
    .contact-map iframe {
        min-height: 270px;
    }

    /* Floating Buttons */
    .float-nav {
        bottom: 15px;
        right: 15px;
    }

    .social-float {
        left: 15px;
        top: 90px;
    }
}

@media (max-width: 480px) {
    /* Global / Layout */

    /* Hero Section */
    .hero {
        padding: 112px 5% 32px;
    }

    .hero-container {
        gap: 18px;
    }

    .hero-title {
        max-width: 360px;
        font-size: 26px;
        margin-bottom: 22px;
    }

    .hero-image {
        margin-bottom: 10px;
    }

    .hero-image img {
        max-width: 320px;
    }

    /* Services Section */

    /* Software Section */

    /* Achievements Section */

    /* Contact Section */
    .contact-form {
        padding: 16px;
    }

    .contact-item {
        align-items: flex-start;
    }

    .hour-row {
        flex-direction: column;
        gap: 2px;
    }

    .hour-row span:last-child {
        white-space: normal;
    }

    .contact-map,
    .contact-map iframe {
        min-height: 250px;
    }

    /* Floating Buttons */
    .float-nav {
        bottom: 10px;
        right: 10px;
    }

    .social-float {
        left: 10px;
        top: 85px;
    }
}

@media (max-width: 370px) {
    /* Global / Layout */

    /* Hero Section */
    .hero-image img {
        max-width: 285px;
    }

    .hero-buttons .btn {
        min-height: 48px;
        padding-inline: 18px;
    }

    /* Services Section */

    /* Software Section */

    /* Achievements Section */

    /* Contact Section */

    /* Floating Buttons */
}

@media (max-width: 360px) {
    /* Global / Layout */

    /* Hero Section */

    /* Services Section */

    /* Software Section */

    /* Achievements Section */

    /* Contact Section */
    .contact-form {
        padding: 14px;
    }

    .contact-item {
        padding: 12px;
    }

    .contact-item i {
        width: 34px;
        height: 34px;
        min-width: 34px;
        border-radius: 11px;
    }

    .contact-map,
    .contact-map iframe {
        min-height: 230px;
    }

    /* Floating Buttons */
}

@media (min-width: 1440px) {
    /* Global / Layout */
    :root {
        --container-x: 6%;
        --section-padding-y: 110px;
    }

    .hero-container,
    .services-container,
    .software-container,
    .achievements-container,
    .contact-heading,
    .contact-container {
        width: min(1300px, calc(100% - 2 * var(--container-x)));
        max-width: 1300px;
    }

    .services-title,
    .software-title,
    .achievements-title,
    .contact-heading h2 {
        font-size: 36px;
    }

    .section-description,
    .software-description,
    .achievements-description,
    .contact-description {
        font-size: 18px;
    }

    /* Hero Section */
    .hero-title {
        max-width: 700px;
        font-size: 42px;
    }

    .hero-image img {
        width: min(100%, 840px);
    }

    /* Services Section */
    .service-card {
        min-height: 270px;
    }

    .service-image {
        height: 175px;
    }

    /* Software Section */

    /* Achievements Section */
    .acheivement-image {
        height: 180px;
    }

    /* Contact Section */
    .contact-container {
        grid-template-columns: 0.9fr 1.45fr;
    }

    /* Floating Buttons */
}

@media (min-width: 1800px) {
    /* Global / Layout */
    :root {
        --container-x: 5%;
        --section-padding-y: 130px;
    }

    .hero-container,
    .services-container,
    .software-container,
    .achievements-container,
    .contact-heading,
    .contact-container {
        width: min(1500px, calc(100% - 2 * var(--container-x)));
        max-width: 1500px;
    }

    /* Hero Section */
    .hero-container {
        grid-template-columns: 0.85fr 1.15fr;
    }

    .hero-title {
        max-width: 760px;
        font-size: 48px;
    }

    .hero-image img {
        width: min(100%, 960px);
    }

    /* Services Section */
    .service-card {
        min-height: 295px;
    }

    .service-image {
        height: 190px;
    }

    /* Software Section */
    .software-card {
        gap: 44px;
    }

    /* Achievements Section */
    .acheivement-image {
        height: 195px;
    }

    /* Contact Section */
    .contact-container {
        gap: 44px;
    }

    .contact-map,
    .contact-map iframe {
        min-height: 430px;
    }

    /* Floating Buttons */
}

@media (min-width: 2200px) {
    /* Global / Layout */
    .hero-container,
    .services-container,
    .software-container,
    .achievements-container,
    .contact-heading,
    .contact-container {
        width: min(1700px, calc(100% - 2 * var(--container-x)));
        max-width: 1700px;
    }

    /* Hero Section */
    .hero-title {
        font-size: 52px;
    }

    .hero-image img {
        width: min(100%, 1080px);
    }

    /* Services Section */
    .service-image {
        height: 205px;
    }

    /* Software Section */

    /* Achievements Section */
    .acheivement-image {
        height: 210px;
    }

    /* Contact Section */

    /* Floating Buttons */
}


/* =========================================================
   Software Demos Swiper - Same Customer Portal Style
   ========================================================= */

.software-demos-slider-card {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 8px;
}

.software-demos-section {
    padding: var(--section-padding-y) var(--container-x) 0;
    background: var(--body-color);
}

.software-demos-container {
    max-width: 1180px;
    margin: 0 auto;
}

.demo-slider-shell {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    align-items: center;
    gap: 10px;
}

.demo-nav {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dbeafe;
    border-radius: 50%;
    background: #ffffff;
    color: #2563eb;
    cursor: pointer;
    transition: 0.22s ease;
}

.demo-nav:hover {
    border-color: #2563eb;
    background: #2563eb;
    color: #ffffff;
    transform: translateY(-2px);
}

.demo-nav.swiper-button-disabled {
    pointer-events: none;
    opacity: 0.4;
}

.demos-swiper {
    width: 100%;
    padding: 4px;
}

.demos-swiper .swiper-slide {
    height: auto;
}

.software-demos-swiper .portal-demo-card {
    width: 100%;
}

.portal-demo-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #ffffff;
    color: inherit;
    text-decoration: none;
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease;
}

.portal-demo-card:hover {
    transform: translateY(-4px);
    border-color: #99caff;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.09);
}

.portal-demo-image {
    position: relative;
    height: 150px;
    overflow: hidden;
    background: #eff6ff;
}

.portal-demo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portal-demo-card:hover .portal-demo-image img {
    transform: scale(1.035);
}

.portal-demo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    font-size: 32px;
}

.portal-demo-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 13px;
}

.portal-demo-content h3 {
    margin: 0 auto;
    color: #ff3d2e;
    font-size: 19px;
    line-height: 1.4;
    font-weight: 700;
}

.portal-demo-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: auto;
    color: #2563eb !important;
    font-size: 13px;
    font-weight: 500;
}

.portal-demo-link i {
    transition: transform 0.22s ease;
}

.portal-demo-card:hover .portal-demo-link i {
    transform: translateX(2px);
}

[dir="rtl"] .portal-demo-card:hover .portal-demo-link i {
    transform: translateX(-2px);
}

@media (max-width: 820px) {
    .demo-slider-shell {
        grid-template-columns: 1fr;
    }

    .demo-nav {
        display: none;
    }
}

@media (max-width: 900px) {
    .software-demos-section {
        padding: var(--section-padding-y-tablet, 58px) 20px 0;
    }
}

@media (max-width: 600px) {
    .software-demos-section {
        padding: var(--section-padding-y-mobile, 46px) 18px 0;
    }
}

@media (min-width: 1440px) {
    .software-demos-container {
        max-width: 1360px;
    }
}

@media (min-width: 1800px) {
    .software-demos-container {
        max-width: 1560px;
    }
}

@media (min-width: 2200px) {
    .software-demos-container {
        max-width: 1760px;
    }
}
