/* ========================
       Global Page Styles
       ======================== */
.t1-page {
    background: #f8f9fa;
    min-height: 100vh;
    overflow-x: hidden;
    font-family: var(--font-primary);
    direction: rtl;
}

.t1-page * {
    box-sizing: border-box;
}

.t1-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================
       Scroll Progress
       ======================== */
.t1-scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color, #73ADDF), var(--primary-color, #73ADDF));
    z-index: 9999;
    transition: width 0.1s ease;
}

/* ========================
       HERO SECTION
       ======================== */
.t1-hero {
    background: linear-gradient(135deg, var(--surface-bg-light, #F8F9FA) 0%, #ffffff 50%, var(--surface-bg-light, #F8F9FA) 100%);
    padding: 30px 20px 60px;
    position: relative;
    overflow: hidden;
}

.t1-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(92, 181, 229, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
}

.t1-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
    position: relative;
    /* z-index: 1; */
}

.t1-hero-content {
    animation: smmFadeInRight 1s ease-out;
}

.t1-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    box-shadow: 0 4px 15px rgba(92, 181, 229, 0.15);
    color: var(--brand-ink, #0F1F33);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 25px;
    border: 1px solid rgba(92, 181, 229, 0.2);
}

.t1-hero-badge svg {
    width: 20px;
    height: 20px;
    color: var(--primary-color, #73ADDF);
}

.t1-hero h1 {
    font-size: 3.2rem;
    font-weight: 900;
    color: var(--brand-ink, #0F1F33);
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.t1-hero h1 span {
    color: var(--primary-color, #73ADDF);
    z-index: 1;
    position: relative; /* Ensure z-index works */
    display: inline-block; /* Enhance spacing if needed */
}

.t1-hero h1 span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    right: 0;
    left: 0;
    height: 8px;
    background: rgba(92, 181, 229, 0.2);
    z-index: -1;
    border-radius: 4px;
}

.t1-hero-desc {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-muted-2, #4A5568);
    margin-bottom: 35px;
    max-width: 90%;
}

.t1-hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.t1-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    background: linear-gradient(135deg, var(--primary-color, #73ADDF) 0%, var(--primary-color, #73ADDF) 100%);
    color: white;
    font-weight: 700;
    font-size: 1.05rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(92, 181, 229, 0.3);
    border: none;
    cursor: pointer;
    font-family: var(--font-primary);
    position: relative;
    overflow: hidden;
}

.t1-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.t1-btn-primary:hover::before {
    left: 100%;
}

.t1-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(92, 181, 229, 0.4);
}

.t1-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    background: white;
    color: var(--primary-color, #73ADDF);
    font-weight: 700;
    font-size: 1.05rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--border-subtle, #D6E8F5);
    cursor: pointer;
    font-family: var(--font-primary);
}

.t1-btn-outline:hover {
    border-color: var(--primary-color, #73ADDF);
    background: rgba(92, 181, 229, 0.05);
    color: var(--primary-color, #73ADDF);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(92, 181, 229, 0.1);
}

.t1-hero-visual {
    position: relative;
    animation: smmFadeInLeft 1s ease-out 0.3s backwards;
}

.t1-hero-illustration {
    position: relative;
    width: 100%;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.t1-hero-illustration:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.t1-hero-graphic {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color, #73ADDF) 0%, var(--primary-color, #73ADDF) 100%);
    border-radius: 40px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 20px 30px 60px rgba(92, 181, 229, 0.25);
}

.t1-hero-graphic::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><circle cx="50" cy="50" r="1.5" fill="rgba(255,255,255,0.15)"/></svg>');
    animation: smmFloat 60s infinite linear;
    opacity: 0.6;
}

.t1-hero-graphic img.floating-logo-img {
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
    animation: smmBounce 4s ease-in-out infinite;
    max-width: 50%;
    height: auto;
}

@keyframes smmBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Hero Stats */
.t1-hero-stats {
    display: flex;
    gap: 60px;
    margin-top: 50px;
    /* padding: 35px 0; */
}

.t1-hero-stat {
    text-align: center;
    position: relative;
    flex: 1;
    transition: all 0.3s ease;
}

.t1-hero-stat:hover .t1-hero-stat-number {
    transform: scale(1.08);
}

.t1-hero-stat:not(:last-child)::after {
    content: '';
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 45px;
    background: linear-gradient(to bottom, transparent, rgba(92, 181, 229, 0.3), transparent);
}

.t1-hero-stat-number {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color, #73ADDF) 0%, var(--primary-color, #73ADDF) 50%, var(--primary-color, #73ADDF) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1.1;
    margin-bottom: 10px;
    letter-spacing: -1.5px;
    transition: all 0.3s ease;
}

.t1-hero-stat-label {
    font-size: 1rem;
    color: var(--text-muted-2, #4A5568);
    font-weight: 600;
    letter-spacing: 0.2px;
    line-height: 1.4;
}

/* ========================
       SERVICE TAGS (Quick Nav)
       ======================== */
.t1-service-tags {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.t1-tags-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0 20px;
}

.t1-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: white;
    color: var(--text-muted-2, #4A5568);
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid var(--border-subtle, #D6E8F5);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.t1-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(92, 181, 229, 0.15);
    background: white;
    color: var(--primary-color, #73ADDF);
    border-color: var(--primary-color, #73ADDF);
}

.t1-tag.active {
    background: var(--primary-color, #73ADDF);
    color: white;
    border-color: var(--primary-color, #73ADDF);
    box-shadow: 0 4px 12px rgba(92, 181, 229, 0.3);
    transform: translateY(-2px);
}

.t1-tag svg {
    width: 18px;
    height: 18px;
    transition: stroke 0.2s;
}

.t1-tag.active svg {
    stroke: white;
}

/* ========================
       SECTION HEADERS
       ======================== */
.t1-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.t1-section-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--brand-ink, #0F1F33);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.t1-section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color, #73ADDF);
    border-radius: 2px;
}

.t1-section-header p {
    font-size: 1.1rem;
    color: var(--text-muted-2, #4A5568);
    margin-top: 25px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* ========================
       HOW WE DELIVER IN KSA
       ======================== */
.t1-ksa-section {
    background: #ffffff;
    padding: 100px 20px;
    position: relative;
}

.t1-ksa-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(var(--border-subtle, #D6E8F5) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.3;
    z-index: 0;
}

.t1-ksa-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.t1-ksa-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--border-subtle, #D6E8F5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.t1-ksa-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color, #73ADDF), var(--primary-color, #73ADDF));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: center;
}

.t1-ksa-card:hover::after {
    transform: scaleX(1);
}

.t1-ksa-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(92, 181, 229, 0.15);
    border-color: transparent;
}

.t1-ksa-icon {
    width: 80px;
    height: 80px;
    background: var(--surface-bg-light, #F8F9FA);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.4s ease;
    color: var(--primary-color, #73ADDF);
}

.t1-ksa-card:hover .t1-ksa-icon {
    background: var(--primary-color, #73ADDF);
    color: white;
    transform: rotate(5deg);
    box-shadow: 0 10px 20px rgba(92, 181, 229, 0.3);
}

.t1-ksa-icon svg {
    width: 36px;
    height: 36px;
    stroke: currentColor;
    transition: all 0.4s ease;
}

.t1-ksa-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--brand-ink, #0F1F33);
    margin-bottom: 15px;
    line-height: 1.4;
}

.t1-ksa-card p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-muted-2, #4A5568);
    margin-bottom: 0;
    flex-grow: 1;
}

/* ========================
       MAIN SERVICES BOXES
       ======================== */
.t1-services-section {
    background: var(--surface-bg, #f8f9fa);
    padding: 100px 20px;
}

.t1-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.t1-service-box {
    background: white;
    border-radius: 24px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid var(--border-subtle, #D6E8F5);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.t1-service-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(92, 181, 229, 0.12);
    border-color: rgba(92, 181, 229, 0.3);
}

.t1-service-box-icon {
    width: 70px;
    height: 70px;
    background: var(--surface-bg-light, #F8F9FA);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.4s ease;
    color: var(--primary-color, #73ADDF);
}

.t1-service-box:hover .t1-service-box-icon {
    background: linear-gradient(135deg, var(--primary-color, #73ADDF), var(--primary-color, #73ADDF));
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(92, 181, 229, 0.25);
    color: white;
}

.t1-service-box-icon svg {
    width: 32px;
    height: 32px;
    stroke: currentColor;
    transition: all 0.4s ease;
}

.t1-service-box h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--brand-ink, #0F1F33);
    margin-bottom: 12px;
}

.t1-service-box p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-muted-2, #4A5568);
    flex-grow: 1;
    margin-bottom: 15px;
}

.t1-service-box .t1-box-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
    color: var(--primary-color, #73ADDF);
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 8px 16px;
    background: rgba(92, 181, 229, 0.08);
    border-radius: 50px;
    align-self: center;
}

.t1-service-box:hover .t1-box-arrow {
    background: var(--primary-color, #73ADDF);
    color: white;
    gap: 12px;
}

/* ========================
       DETAIL SECTIONS (Sub-services)
       ======================== */
.t1-detail-section {
    padding: 80px 20px;
    position: relative;
}

.t1-detail-section:nth-child(even) {
    background: white;
}

.t1-detail-section:nth-child(odd) {
    background: #f8f9fa;
}

.t1-detail-inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* Detail header with two columns */
.t1-detail-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 50px;
}

.t1-detail-header.reversed {
    direction: ltr;
}

.t1-detail-header.reversed .t1-detail-text {
    direction: rtl;
}

.t1-detail-text h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--brand-ink, #0F1F33);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.t1-detail-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-color, #73ADDF);
    border-radius: 2px;
}

.t1-detail-text>p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-muted-2, #4A5568);
}

.t1-detail-visual {
    position: relative;
}

.t1-detail-graphic {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-color, #73ADDF), var(--primary-color, #73ADDF));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(92, 181, 229, 0.2);
    position: relative;
}

.t1-detail-graphic::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60"><circle cx="30" cy="30" r="1" fill="rgba(255,255,255,0.12)"/></svg>');
    animation: smmFloat 25s infinite linear;
}

.t1-detail-graphic svg {
    width: 120px;
    height: 120px;
    stroke: white;
    position: relative;
    z-index: 1;
    opacity: 0.9;
}

/* Sub-section title */
.t1-sub-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--brand-ink, #0F1F33);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.t1-sub-title-icon {
    width: 40px;
    height: 40px;
    background: rgba(92, 181, 229, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.t1-sub-title-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary-color, #73ADDF);
}

/* Detail cards grid */
.t1-detail-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.t1-detail-cards.cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

.t1-detail-card {
    background: white;
    border-radius: 20px;
    padding: 35px 25px;
    transition: all 0.4s ease;
    border: 1px solid var(--border-subtle, #D6E8F5);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.t1-detail-section:nth-child(even) .t1-detail-card {
    background: white;
    border-color: var(--border-subtle, #D6E8F5);
}

.t1-detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color, #73ADDF);
    transform: scaleY(0);
    transition: transform 0.4s ease;
    transform-origin: bottom;
}

.t1-detail-card:hover::before {
    transform: scaleY(1);
    transform-origin: top;
}

.t1-detail-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(92, 181, 229, 0.12);
    border-color: transparent;
}

.t1-detail-card-icon {
    width: 60px;
    height: 60px;
    background: var(--surface-bg-light, #F8F9FA);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.4s ease;
    color: var(--primary-color, #73ADDF);
}

.t1-detail-card:hover .t1-detail-card-icon {
    background: var(--primary-color, #73ADDF);
    color: white;
    transform: rotate(10deg);
}

.t1-detail-card-icon svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
    transition: all 0.4s ease;
}

.t1-detail-card h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--brand-ink, #0F1F33);
    margin-bottom: 12px;
}

.t1-detail-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-muted-2, #4A5568);
}

/* Results cards */
.t1-results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.t1-result-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    border: 1px solid var(--border-subtle, #D6E8F5);
    transition: all 0.4s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.t1-result-card:hover {
    border-color: var(--primary-color, #73ADDF);
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(92, 181, 229, 0.15);
}

.t1-result-card .result-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, rgba(92, 181, 229, 0.1), rgba(92, 181, 229, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary-color, #73ADDF);
    transition: all 0.3s ease;
}

.t1-result-card:hover .result-icon {
    background: var(--primary-color, #73ADDF);
    color: white;
    transform: scale(1.1);
}

.t1-result-card .result-icon svg {
    width: 26px;
    height: 26px;
    stroke: currentColor;
}

.t1-result-card h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--brand-ink, #0F1F33);
    margin-bottom: 10px;
}

.t1-result-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-muted-2, #4A5568);
}

/* Why choose box at end of each section */
.t1-why-box {
    background: linear-gradient(120deg, var(--primary-color, #73ADDF) 0%, var(--primary-color, #73ADDF) 100%);
    border-radius: 24px;
    padding: 50px;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(92, 181, 229, 0.25);
    margin-top: 60px;
}

.t1-why-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="80" height="80"><circle cx="40" cy="40" r="1" fill="rgba(255,255,255,0.08)"/></svg>');
}

.t1-why-box-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 30px;
}

.t1-why-box-text {
    flex: 1;
}

.t1-why-box h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.t1-why-box p {
    font-size: 1rem;
    line-height: 1.8;
    opacity: 0.95;
}

.t1-why-box .t1-btn-white {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: white;
    color: var(--primary-color, #73ADDF);
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-family: var(--font-primary);
}

.t1-why-box .t1-btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.t1-why-box-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    flex-shrink: 0;
}

.t1-why-box .t1-btn-outline-white {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 28px;
    background: transparent;
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 50px;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    white-space: nowrap;
    font-family: var(--font-primary);
}

.t1-why-box .t1-btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ========================
       CTA FINAL SECTION
       ======================== */
.t1-cta-section {
    background: linear-gradient(135deg, var(--primary-color, #73ADDF) 0%, var(--primary-color, #73ADDF) 50%, var(--primary-color, #73ADDF) 100%);
    padding: 80px 20px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.t1-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.06)"/></svg>');
}

.t1-cta-inner {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.t1-cta-section h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.t1-cta-section p {
    font-size: 1.15rem;
    margin-bottom: 35px;
    opacity: 0.95;
    line-height: 1.8;
}

.t1-cta-section .t1-btn-white {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: white;
    color: var(--primary-color, #73ADDF);
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    font-family: var(--font-primary);
}

.t1-cta-section .t1-btn-white:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.t1-cta-section .t1-btn-white svg {
    transition: transform 0.3s ease;
}

.t1-cta-section .t1-btn-white:hover svg {
    transform: translateX(5px);
}

/* ========================
       FAQ SECTION
       ======================== */
.t1-faq-section {
    background: white;
    padding: 80px 20px;
}

.t1-faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.t1-faq-item {
    border: 1px solid var(--border-subtle, #D6E8F5);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.t1-faq-item:hover {
    border-color: var(--primary-color, #73ADDF);
}

.t1-faq-question {
    padding: 20px 25px;
    background: #f8f9fa;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 1rem;
    color: var(--brand-ink, #0F1F33);
    transition: all 0.3s ease;
    user-select: none;
}

.t1-faq-question:hover {
    background: rgba(92, 181, 229, 0.05);
    color: var(--primary-color, #73ADDF);
}

.t1-faq-question.active {
    background: var(--primary-color, #73ADDF);
    color: white;
}

.t1-faq-arrow {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.t1-faq-question.active .t1-faq-arrow {
    transform: rotate(180deg);
}

.t1-faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.t1-faq-answer.open {
    padding: 20px 25px;
    max-height: 500px;
}

.t1-faq-answer p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-muted-2, #4A5568);
}

/* ========================
       ANIMATIONS
       ======================== */
@keyframes smmFadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes smmFadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes smmFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes smmFloat {
    0% {
        transform: translateY(0) translateX(0);
    }

    100% {
        transform: translateY(-100px) translateX(100px);
    }
}

.t1-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.t1-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================
       RESPONSIVE
       ======================== */
@media (max-width: 1024px) {
    .t1-hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .t1-hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .t1-hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .t1-hero-badge {
        margin-left: auto;
        margin-right: auto;
    }

    .t1-hero-buttons {
        justify-content: center;
    }

    .t1-hero-visual {
        margin-bottom: 20px;
    }

    .t1-hero-stats {
        justify-content: center;
        gap: 30px;
        flex-wrap: wrap;
    }
    
    .t1-hero-stat {
        flex: 1 1 calc(33.333% - 20px);
        min-width: 180px;
    }

    .t1-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .t1-detail-header {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .t1-detail-header.reversed {
        direction: rtl;
    }

    .t1-detail-text h2::after {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }

    .t1-detail-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .t1-detail-cards.cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .t1-results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .t1-hero {
        padding: 25px 20px 40px;
    }

    .t1-hero h1 {
        font-size: 2rem;
    }

    .t1-hero-desc {
        font-size: 1rem;
    }

    .t1-hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 25px 15px;
        /* padding: 30px 0; */
        justify-content: space-around;
    }

    .t1-hero-stat {
        text-align: center;
        flex: 0 0 calc(33.333% - 10px);
        min-width: 100px;
    }

    .t1-hero-stat:not(:last-child)::after {
        display: none;
    }

    .t1-hero-stat-number {
        font-size: 1.8rem;
        letter-spacing: -1px;
    }

    .t1-hero-stat-label {
        font-size: 0.85rem;
    }

    /* Ensure smooth animations on mobile */
    .t1-hero-stat,
    .t1-hero-stat-number {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
        will-change: transform;
    }

    .t1-hero-buttons {
        flex-direction: column;
        width: 100%;
        align-items: stretch;
    }

    .t1-btn-primary,
    .t1-btn-outline {
        width: 100%;
        justify-content: center;
    }

    .t1-hero-illustration {
        height: 280px;
    }

    /* Hide service tags section on mobile */
    .t1-service-tags {
        display: none;
    }

    .t1-ksa-grid {
        grid-template-columns: 1fr;
    }

    .t1-services-grid {
        grid-template-columns: 1fr;
    }

    .t1-detail-cards,
    .t1-detail-cards.cols-4 {
        grid-template-columns: 1fr;
    }

    .t1-results-grid {
        grid-template-columns: 1fr;
    }

    .t1-section-header h2 {
        font-size: 1.6rem;
    }

    .t1-detail-text h2 {
        font-size: 1.5rem;
    }

    .t1-why-box {
        padding: 30px 20px;
        margin-top: 40px;
    }

    .t1-why-box-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .t1-why-box-buttons {
        align-items: center;
        width: 100%;
    }

    .t1-why-box .t1-btn-white,
    .t1-why-box .t1-btn-outline-white {
        width: 100%;
        justify-content: center;
    }

    .t1-cta-section h2 {
        font-size: 1.6rem;
    }

    .t1-cta-section p {
        font-size: 1rem;
    }
}

/* ========================
   MOBILE PERFORMANCE OPTIMIZATIONS
   ======================== */
@media (max-width: 768px) {
    /* Hardware acceleration for smooth animations */
    .t1-hero-stat,
    .t1-hero-stat-number {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        will-change: transform;
    }
    
    /* Touch-friendly active states */
    .t1-hero-stat:active .t1-hero-stat-number {
        transform: scale(1.05) translateZ(0);
    }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .t1-hero-stat {
        transition: none !important;
    }
    
    .t1-hero-stat-number {
        transition: none !important;
        transform: none !important;
    }
    
    .t1-hero-stat:hover .t1-hero-stat-number,
    .t1-hero-stat:active .t1-hero-stat-number {
        transform: none !important;
    }
}

/* ========================
   DME - Digital Marketing Egypt Content Cards
   ======================== */
.dme-sections {
    padding: 52px 0 44px;
    background: var(--surface-bg, #f8f9fa);
}

.dme-container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
}

@keyframes dmeCardFadeUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.dme-card {
    background: #fff;
    border-radius: 16px;
    padding: 45px 50px;
    margin-bottom: 35px;
    box-shadow: 0 8px 24px rgba(15, 31, 51, 0.04);
    border: 1px solid rgba(115, 173, 223, 0.15);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    direction: rtl;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
}

.dme-card.visible {
    animation: dmeCardFadeUp 0.8s ease-out forwards;
}

.dme-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 6px;
    height: 100%;
    background: var(--primary-color, #73ADDF);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s ease;
    z-index: 10;
}

.dme-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--primary-color, #73ADDF);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s ease;
    z-index: 10;
}

.dme-card:nth-child(1) { animation-delay: 0.1s; }
.dme-card:nth-child(2) { animation-delay: 0.2s; }
.dme-card:nth-child(3) { animation-delay: 0.3s; }
.dme-card:nth-child(4) { animation-delay: 0.4s; }
.dme-card:nth-child(5) { animation-delay: 0.5s; }
.dme-card:nth-child(6) { animation-delay: 0.6s; }
.dme-card:nth-child(7) { animation-delay: 0.7s; }
.dme-card:nth-child(8) { animation-delay: 0.8s; }
.dme-card:nth-child(9) { animation-delay: 0.9s; }
.dme-card:nth-child(10) { animation-delay: 1.0s; }

.dme-card:hover {
    box-shadow: 0 20px 40px rgba(115, 173, 223, 0.18);
    transform: translateY(-6px);
}

.dme-card:hover::before,
.dme-card:hover::after {
    transform: scaleY(1);
}

.dme-card h2 {
    font-size: 1.45rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, var(--primary-color, #73ADDF) 0%, rgba(115, 173, 223, 0.8) 100%);
    margin: 0 0 24px;
    padding: 16px 24px;
    border-radius: 60px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 20px rgba(115, 173, 223, 0.25);
}

.dme-card h2::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 4px;
    background: #fff;
    flex-shrink: 0;
    transform: rotate(45deg);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.dme-card p {
    color: var(--text-muted-2, #4A5568);
    margin: 0 0 16px;
    line-height: 1.85;
    text-align: justify;
    font-size: 16px;
}

.dme-card p:last-of-type {
    margin-bottom: 24px;
}

/* Read More Button */
.dme-readmore {
    display: inline-flex;
    float: left;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: transparent;
    border: 2px solid var(--primary-color, #73ADDF);
    color: var(--primary-color, #73ADDF) !important;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dme-readmore:hover {
    background: var(--primary-color, #73ADDF);
    color: #fff !important;
    transform: translateX(-5px);
    box-shadow: 0 8px 20px rgba(115, 173, 223, 0.3);
}

.dme-readmore::before {
    content: '\2190';
    font-size: 1.1rem;
    transition: transform 0.3s;
}

.dme-readmore:hover::before {
    transform: translateX(-5px);
}
/* FAQ Section */
.dme-faq {
    background: #fff;
    border-radius: 16px;
    padding: 40px 45px;
    margin-bottom: 30px;
    box-shadow: 0 8px 24px rgba(15, 31, 51, 0.04);
    border: 1px solid rgba(115, 173, 223, 0.15);
    direction: rtl;
    opacity: 0;
    transform: translateY(40px);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.dme-faq:hover {
    box-shadow: 0 20px 40px rgba(115, 173, 223, 0.18);
    transform: translateY(-6px);
}

.dme-faq::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 6px;
    height: 100%;
    background: var(--primary-color, #73ADDF);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s ease;
    z-index: 10;
}

.dme-faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--primary-color, #73ADDF);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s ease;
    z-index: 10;
}

.dme-faq:hover::before,
.dme-faq:hover::after {
    transform: scaleY(1);
}

.dme-faq.visible {
    animation: dmeCardFadeUp 0.8s ease-out forwards;
}

.dme-faq h2 {
    font-size: 1.45rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, var(--primary-color, #73ADDF) 0%, rgba(115, 173, 223, 0.8) 100%);
    margin: 0 0 24px;
    padding: 16px 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 20px rgba(115, 173, 223, 0.25);
}

.dme-faq h2::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 4px;
    background: #fff;
    flex-shrink: 0;
    transform: rotate(45deg);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.dme-faq-item {
    border: 1.5px solid var(--border-subtle, #D6E8F5);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
}

.dme-faq-item:last-child {
    margin-bottom: 0;
}

.dme-faq-item:hover {
    border-color: var(--primary-color, #73ADDF);
    transform: translateX(-5px);
    box-shadow: 5px 5px 15px rgba(115, 173, 223, 0.1);
}

.dme-faq-q {
    background: var(--surface-bg-light, #F8F9FA);
    padding: 16px 20px;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--brand-ink, #0F1F33);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transition: all 0.3s;
}

.dme-faq-item:hover .dme-faq-q {
    background: var(--primary-color, #73ADDF);
    color: #fff;
}

.dme-faq-q::before {
    content: '?';
    background: var(--primary-color, #73ADDF);
    color: #fff;
    font-weight: 900;
    font-size: 1rem;
    min-width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: -1px;
    transition: all 0.3s;
}

.dme-faq-item:hover .dme-faq-q::before {
    background: #fff;
    color: var(--primary-color, #73ADDF);
}

.dme-faq-a {
    padding: 16px 20px 20px;
    color: var(--text-muted-2, #4A5568);
    line-height: 1.85;
    border-top: 1.5px solid var(--border-subtle, #D6E8F5);
    background: #fff;
    font-size: 15.5px;
}

/* CTA Section */
.dme-cta {
    background: #fff;
    border-radius: 16px;
    padding: 50px 45px;
    margin-bottom: 30px;
    text-align: center;
    color: var(--brand-ink, #0F1F33);
    box-shadow: 0 8px 24px rgba(15, 31, 51, 0.04);
    border: 1px solid rgba(115, 173, 223, 0.15);
    position: relative;
    overflow: hidden;
    direction: rtl;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.dme-cta:hover {
    box-shadow: 0 20px 40px rgba(115, 173, 223, 0.18);
    transform: translateY(-6px);
}

.dme-cta::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 6px;
    height: 100%;
    background: var(--primary-color, #73ADDF);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s ease;
    z-index: 10;
}

.dme-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--primary-color, #73ADDF);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s ease;
    z-index: 10;
}

.dme-cta:hover::before,
.dme-cta:hover::after {
    transform: scaleY(1);
}

.dme-cta.visible {
    animation: dmeCardFadeUp 0.8s ease-out forwards;
}

.dme-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(115, 173, 223, 0.1) 2px, transparent 2px);
    background-size: 30px 30px;
    pointer-events: none;
    opacity: 0.5;
}

.dme-cta h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0 0 16px;
    color: var(--brand-ink, #0F1F33);
    position: relative;
}

.dme-cta p {
    color: var(--text-muted-2, #4A5568);
    font-size: 1.1rem;
    margin: 0 auto 30px;
    max-width: 600px;
    position: relative;
    line-height: 1.8;
}

.dme-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: var(--primary-color, #73ADDF);
    color: #fff !important;
    font-weight: 800;
    font-size: 1.1rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 5px 15px rgba(115, 173, 223, 0.3);
}

.dme-cta-btn:hover {
    transform: translateY(-4px);
    background: var(--brand-ink, #0F1F33);
    color: #fff !important;
    box-shadow: 0 10px 25px rgba(15, 31, 51, 0.2);
}

/* DME Responsive */
@media (max-width: 640px) {
    .dme-card,
    .dme-faq,
    .dme-cta {
        padding: 24px 18px;
        border-radius: 12px;
    }

    .dme-card h2,
    .dme-faq h2,
    .dme-cta h2 {
        font-size: 1.1rem;
    }
}