﻿/* ================================
   GoodByte Home Page Refactor
   ================================ */

.page-wrapper.rtl,
.rtl {
    direction: rtl;
}

.page-wrapper.ltr,
.ltr {
    direction: ltr;
}

.gb-small-link {
    font-size: .8rem;
}

.gb-center {
    text-align: center;
}

.gb-justify {
    text-align: justify;
}

.gb-bold-text {
    font-weight: 700;
    padding-top: 10px;
}

.gb-service-card {
    min-height: 380px;
}

.gb-feature-card {
    min-height: 450px;
    text-align: center;
}

.gb-stage-text {
    min-height: 200px;
    height: 200px;
}

.gb-cr {
    margin-top: 60px;
}

.gb-cr-img {
    width: 150px;
    max-width: 100%;
}

.gb-map {
    border: 0;
    width: 100%;
    height: 480px;
}

.gb-bg-cover {
    background-size: cover;
    background-position: center;
}

.gb-bg-globe {
    background-image: url('/images/icons/globe.png');
}

.gb-bg-pattern-1 {
    background-image: url('/images/background/pattern-1.png');
}

.gb-bg-pattern-2 {
    background-image: url('/images/background/pattern-2.png');
}

.gb-bg-pattern-3 {
    background-image: url('/images/background/pattern-3.png');
}

.gb-bg-pattern-5 {
    background-image: url('/images/background/pattern-5.png');
}

.gb-bg-pattern-6 {
    background-image: url('/images/background/pattern-6.png');
}

.gb-bg-pattern-7 {
    background-image: url('/images/background/pattern-7.png');
}

.gb-bg-pattern-8 {
    background-image: url('/images/background/pattern-8.png');
}

.gb-bg-icon-1 {
    background-image: url('/images/icons/icon-1.png');
}

.gb-bg-icon-2 {
    background-image: url('/images/icons/icon-2.png');
}

.gb-bg-icon-3 {
    background-image: url('/images/icons/icon-3.png');
}

.gb-bg-technology {
    background-image: url('/images/background/1.jpg');
}

.gb-feature-bg-1 {
    background-image: url('/images/resource/feature-1.jpg');
}

.gb-feature-bg-2 {
    background-image: url('/images/resource/feature-2.jpg');
}

.gb-feature-bg-1,
.gb-feature-bg-2 {
    background-size: cover;
    background-position: center;
}

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

.case-block .image img,
.sponsors-carousel img {
    object-fit: cover;
}

.social-box a[target="_blank"]:focus,
.case-block a[target="_blank"]:focus,
.whatsapp a:focus {
    outline: 2px solid #34a0bd;
    outline-offset: 3px;
}

h1 {
    font-size: clamp(2.1rem, 5vw, 52px);
}

h2 {
    font-size: clamp(1.9rem, 4vw, 36px);
}

h3 {
    font-size: clamp(1.4rem, 3vw, 24px);
}

h4 {
    font-size: 20px;
}

h5 {
    font-size: 19px;
}

h6 {
    font-size: 18px;
}

@media (max-width: 767px) {
    .gb-service-card,
    .gb-feature-card {
        min-height: auto;
    }

    .gb-stage-text {
        min-height: auto;
        height: auto;
    }

    .gb-map {
        height: 320px;
    }

    .footer-bottom {
        text-align: center;
    }
}

/* GoodByte bilingual refinements */
html[dir="rtl"] body { direction: rtl; text-align: right; }
html[dir="ltr"] body { direction: ltr; text-align: left; }

.gb-en {
    font-family: "Cairo", "Segoe UI", Tahoma, Arial, sans-serif;
}

.gb-text-right { text-align: right; }
.gb-text-left { text-align: left; }

[dir="ltr"] .rtl,
[dir="ltr"] .page-wrapper.rtl {
    direction: ltr !important;
    text-align: left;
}

[dir="ltr"] .pull-right {
    float: left !important;
}

[dir="ltr"] .pull-left {
    float: right !important;
}

[dir="ltr"] .flaticon-long-arrow-pointing-to-the-right::before {
    transform: scaleX(-1);
    display: inline-block;
}

.gb-tech-grid {
    row-gap: 18px;
}

.gb-tech-card {
    background: #ffffff;
    border: 1px solid rgba(12, 128, 157, .12);
    border-radius: 16px;
    padding: 18px 14px;
    text-align: center;
    font-weight: 800;
    color: #0c809d;
    box-shadow: 0 12px 28px rgba(12, 128, 157, .08);
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.technology-section {
    padding: 70px 0;
    background: linear-gradient(180deg, #ffffff, rgba(12,128,159,.05));
}



/* ================================
   GoodByte complete layout polish - v3
   Restores previous content and removes fragile carousel spacing.
   ================================ */
:root {
    --gb-primary: #0c809f;
    --gb-primary-2: #03b5e5;
    --gb-dark: #062a3a;
    --gb-navy: #111d33;
    --gb-text: #263642;
    --gb-muted: #687684;
    --gb-soft: #f5fbfd;
    --gb-border: rgba(12, 128, 159, .14);
    --gb-shadow: 0 20px 45px rgba(12, 128, 159, .10);
}

.page-wrapper {
    background: #fff;
    color: var(--gb-text);
    overflow: hidden;
}

.gb-section {
    position: relative;
    padding: 86px 0;
}

.gb-about,
.gb-journey,
.gb-partners {
    background: #fff;
}

.gb-services,
.gb-portfolio {
    background: linear-gradient(180deg, #fff 0%, var(--gb-soft) 100%);
}

.gb-section-title {
    margin-bottom: 42px;
}

.gb-center-title {
    text-align: center;
    max-width: 860px;
    margin-inline: auto;
}

.gb-text-block {
    max-width: 680px;
}

.gb-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 15px;
    margin-bottom: 14px;
    border-radius: 999px;
    color: var(--gb-primary);
    background: rgba(3,181,229,.10);
    border: 1px solid rgba(3,181,229,.18);
    font-weight: 900;
    letter-spacing: .2px;
}

.gb-section-title h2,
.gb-cta-card h2 {
    color: #073141;
    font-weight: 900;
    line-height: 1.35;
    margin: 0 0 14px;
    font-size: clamp(28px, 3.1vw, 46px);
}

.gb-section-title p,
.gb-cta-card p {
    color: var(--gb-muted);
    line-height: 1.9;
    font-size: 17px;
    margin: 0;
}

.gb-light-title h2,
.gb-light-title p { color: #fff; }
.gb-light-title .gb-kicker { color: #fff; background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.22); }

.gb-about-visual {
    position: relative;
    max-width: 560px;
    margin: 0 auto 28px;
    border-radius: 32px;
    padding: 16px;
    background: linear-gradient(145deg, rgba(3,181,229,.16), rgba(12,128,159,.06));
}

.gb-about-visual > img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 26px;
    box-shadow: 0 30px 60px rgba(0, 30, 45, .16);
}

.gb-about-floating {
    position: absolute;
    min-width: 145px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255,255,255,.94);
    box-shadow: var(--gb-shadow);
    border: 1px solid rgba(255,255,255,.65);
}

.gb-about-floating strong {
    display: block;
    color: var(--gb-primary);
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
}

.gb-about-floating span {
    display: block;
    color: var(--gb-text);
    font-weight: 800;
    font-size: 13px;
    margin-top: 4px;
}

.gb-about-card-1 { inset-inline-start: 0; bottom: 34px; }
.gb-about-card-2 { inset-inline-end: 0; top: 34px; }

.gb-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.gb-mini-card,
.gb-service-box,
.gb-feature-box,
.gb-stage-card,
.gb-stat-card {
    position: relative;
    height: 100%;
    border-radius: 22px;
    background: #fff;
    border: 1px solid var(--gb-border);
    box-shadow: var(--gb-shadow);
}

.gb-mini-card {
    padding: 24px;
}

.gb-mini-card i,
.gb-icon-wrap,
.gb-feature-icon {
    color: var(--gb-primary);
}

.gb-mini-card i {
    font-size: 34px;
    display: inline-block;
    margin-bottom: 10px;
}

.gb-mini-card h3,
.gb-service-box h3,
.gb-feature-box h3,
.gb-stage-card h3,
.gb-stat-card h3,
.gb-portfolio-overlay h3 {
    color: #083548;
    font-weight: 900;
    margin-bottom: 10px;
}

.gb-mini-card p,
.gb-service-box p,
.gb-feature-box p,
.gb-stage-card p,
.gb-stat-card p {
    color: var(--gb-muted);
    line-height: 1.85;
    margin-bottom: 0;
}

.gb-stats-section {
    padding: 38px 0;
    background: #fff;
}

.gb-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.gb-stat-card {
    padding: 26px 20px;
    text-align: center;
    overflow: hidden;
}

.gb-stat-card::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gb-primary-2), var(--gb-primary));
}

.gb-stat-number {
    color: var(--gb-primary);
    font-size: 42px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 12px;
}

.gb-service-box {
    padding: 28px 24px;
    transition: .25s ease;
}

.gb-service-box:hover,
.gb-feature-box:hover,
.gb-stage-card:hover,
.gb-portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 58px rgba(12, 128, 159, .15);
}

.gb-icon-wrap,
.gb-feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: rgba(3,181,229,.10);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    margin-bottom: 18px;
}

.gb-features-section {
    background:
        radial-gradient(circle at 12% 20%, rgba(3,181,229,.18), transparent 34%),
        linear-gradient(135deg, #071b2d 0%, #102542 45%, #0c809f 150%);
}

.gb-feature-box {
    padding: 30px 26px;
    min-height: 310px;
    background: rgba(255,255,255,.96);
    transition: .25s ease;
}

.gb-feature-box p { color: #596b78; }

.gb-cta-section {
    padding: 64px 0;
    background: #fff;
}

.gb-cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 44px;
    border-radius: 28px;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(7,49,65,.95), rgba(12,128,159,.92)),
        url('/images/background/pattern-3.png');
    background-size: cover;
    box-shadow: 0 28px 60px rgba(7,49,65,.22);
}

.gb-cta-card h2,
.gb-cta-card p { color: #fff; }
.gb-cta-card .gb-kicker { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.24); }

.gb-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    min-width: 170px;
    min-height: 54px;
    padding: 14px 28px;
    border-radius: 14px;
    color: var(--gb-primary) !important;
    background: #fff;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 18px 32px rgba(0,0,0,.16);
}

.gb-journey {
    padding-top: 92px;
}

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

.gb-stage-card {
    padding: 28px 24px;
    text-align: center;
    min-height: 310px;
    overflow: hidden;
    transition: .25s ease;
}

.gb-stage-number {
    position: absolute;
    top: 18px;
    inset-inline-start: 20px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--gb-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.gb-stage-card img {
    width: 82px;
    height: 82px;
    object-fit: contain;
    margin: 12px auto 18px;
}

.gb-tech-section {
    background:
        radial-gradient(circle at 80% 0%, rgba(3,181,229,.22), transparent 32%),
        linear-gradient(135deg, #071b2d 0%, #12213a 58%, #083548 100%);
    color: #fff;
}

.gb-tech-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.gb-tech-card {
    min-height: 116px;
    border-radius: 22px;
    background: rgba(255,255,255,.09);
    border: 1px solid rgba(255,255,255,.16);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    color: #fff;
    font-weight: 900;
    box-shadow: none;
    padding: 18px;
}

.gb-tech-card i {
    font-size: 34px;
    color: #75def8;
}

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

.gb-portfolio-card {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    box-shadow: 0 18px 38px rgba(0,0,0,.12);
    aspect-ratio: 4 / 3;
    background: #e8f3f7;
    transition: .25s ease;
}

.gb-portfolio-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .35s ease;
}

.gb-portfolio-card:hover img { transform: scale(1.06); }

.gb-portfolio-overlay {
    position: absolute;
    inset: auto 0 0;
    padding: 24px;
    background: linear-gradient(180deg, transparent, rgba(2,20,31,.92));
    color: #fff;
    min-height: 58%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.gb-portfolio-overlay h3 { color: #fff; font-size: 21px; }

.gb-portfolio-overlay a {
    color: #a9efff !important;
    font-weight: 900;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.gb-section-note {
    margin-top: 34px;
    padding: 22px 28px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--gb-border);
    box-shadow: var(--gb-shadow);
    color: var(--gb-text);
    text-align: center;
    font-weight: 900;
    font-size: 18px;
}

.gb-partners {
    background: #fff;
}

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

.gb-partner-logo {
    height: 92px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--gb-border);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-shadow: 0 14px 28px rgba(12,128,159,.06);
}

.gb-partner-logo img {
    max-width: 100%;
    max-height: 64px;
    object-fit: contain;
}

/* Package pages: more spacing and consistent typography */
.gb-package-page .main-header + .gb-package-hero,
.gb-package-page .header-wrapper + .gb-package-hero {
    margin-top: 0;
}

.gb-package-card,
.gb-benefit-item,
.gb-package-cta p {
    text-align: inherit;
}

@media (max-width: 1199.98px) {
    .gb-stats-grid,
    .gb-tech-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gb-partners-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 991.98px) {
    .gb-section { padding: 64px 0; }
    .gb-portfolio-grid,
    .gb-timeline-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gb-cta-card { flex-direction: column; text-align: center; align-items: stretch; }
    .gb-cta-btn { width: 100%; }
}

@media (max-width: 767.98px) {
    .gb-mini-grid,
    .gb-stats-grid,
    .gb-portfolio-grid,
    .gb-timeline-grid,
    .gb-tech-grid { grid-template-columns: 1fr; }
    .gb-partners-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gb-about-floating { position: static; margin-top: 12px; }
    .gb-cta-card { padding: 30px 22px; }
    .gb-service-box,
    .gb-feature-box,
    .gb-stage-card { min-height: auto; }
}
