/* ========================
       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, #5CB5E5, #3a9fd4);
    z-index: 9999;
    transition: width 0.1s ease;
}

/* ========================
       HERO SECTION
       ======================== */
.t1-hero {
    background: linear-gradient(135deg, #f0f9fd 0%, #ffffff 50%, #f0f9fd 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);
    pointer-events: none;
}

.t1-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(92, 181, 229, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    pointer-events: none;
}

.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;
}

.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: #1e293b;
    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: #5CB5E5;
}

.t1-hero h1 {
    font-size: 3.2rem;
    font-weight: 900;
    color: #1e293b;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.t1-hero h1 span {
    color: #5CB5E5;
    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: #475569;
    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, #5CB5E5 0%, #4AA3D1 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: #5CB5E5;
    font-weight: 700;
    font-size: 1.05rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #e2e8f0;
    cursor: pointer;
    font-family: var(--font-primary);
}

.t1-btn-outline:hover {
    border-color: #5CB5E5;
    background: rgba(92, 181, 229, 0.05);
    color: #5CB5E5;
    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, #5CB5E5 0%, #3a9fd4 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;
    width: 100%;
    max-width: 100%;
    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;
}

.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, #5CB5E5 0%, #3a9fd4 50%, #2d8ab8 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: #64748b;
    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: #64748b;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid #e2e8f0;
    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: #5CB5E5;
    border-color: #5CB5E5;
}

.t1-tag.active {
    background: #5CB5E5;
    color: white;
    border-color: #5CB5E5;
    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: #1e293b;
    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: #5CB5E5;
    border-radius: 2px;
}

.t1-section-header p {
    font-size: 1.1rem;
    color: #64748b;
    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(#e2e8f0 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 #f1f5f9;
    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, #5CB5E5, #3a9fd4);
    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: #f0f9fd;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.4s ease;
    color: #5CB5E5;
}

.t1-ksa-card:hover .t1-ksa-icon {
    background: #5CB5E5;
    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: #1e293b;
    margin-bottom: 15px;
    line-height: 1.4;
}

.t1-ksa-card p {
    font-size: 1rem;
    line-height: 1.8;
    color: #64748b;
    margin-bottom: 0;
    flex-grow: 1;
}

/* ========================
       MAIN SERVICES BOXES
       ======================== */
.t1-services-section {
    background: #f8fafc;
    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 #f1f5f9;
    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: #edf8fc;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.4s ease;
    color: #5CB5E5;
}

.t1-service-box:hover .t1-service-box-icon {
    background: linear-gradient(135deg, #5CB5E5, #3a9fd4);
    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: #0f172a;
    margin-bottom: 12px;
}

.t1-service-box p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #64748b;
    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: #5CB5E5;
    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: #5CB5E5;
    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: #1e293b;
    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: #5CB5E5;
    border-radius: 2px;
}

.t1-detail-text>p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #475569;
}

.t1-detail-visual {
    position: relative;
}

.t1-detail-graphic {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #5CB5E5, #4AA3D1);
    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: #1e293b;
    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: #5CB5E5;
}

/* 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 #e2e8f0;
    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: #e2e8f0;
}

.t1-detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #5CB5E5;
    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: #f0f9fd;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.4s ease;
    color: #5CB5E5;
}

.t1-detail-card:hover .t1-detail-card-icon {
    background: #5CB5E5;
    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: #1e293b;
    margin-bottom: 12px;
}

.t1-detail-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #64748b;
}

/* 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 #f1f5f9;
    transition: all 0.4s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.t1-result-card:hover {
    border-color: #5CB5E5;
    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: #5CB5E5;
    transition: all 0.3s ease;
}

.t1-result-card:hover .result-icon {
    background: #5CB5E5;
    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: #1e293b;
    margin-bottom: 10px;
}

.t1-result-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #64748b;
}

/* Why choose box at end of each section */
.t1-why-box {
    background: linear-gradient(120deg, #5CB5E5 0%, #3a9fd4 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: #5CB5E5;
    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, #5CB5E5 0%, #3a9fd4 50%, #2d8fc4 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: #5CB5E5;
    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 #e2e8f0;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.t1-faq-item:hover {
    border-color: #5CB5E5;
}

.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: #1e293b;
    transition: all 0.3s ease;
    user-select: none;
}

.t1-faq-question:hover {
    background: rgba(92, 181, 229, 0.05);
    color: #5CB5E5;
}

.t1-faq-question.active {
    background: #5CB5E5;
    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: #64748b;
}

/* ========================
       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;
        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;
    }
}

/* ========================
   DIGITAL MARKETING PAGE
   ======================== */

/* Hero — full-width centered (no visual column) */
.dm-page .t1-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.dm-page .t1-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dm-page .t1-hero-badge {
    margin-left: auto;
    margin-right: auto;
}

.dm-page .t1-hero h1 {
    font-size: 2.8rem;
}

.dm-page .t1-hero-desc {
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.05rem;
    line-height: 1.9;
}

.dm-page .t1-hero-buttons {
    justify-content: center;
    margin-top: 10px;
}

/* Grid — 2 columns for DM page */
.dm-page .t1-ksa-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Card improvements */
.dm-page .t1-ksa-card {
    text-align: right;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
}

.dm-page .t1-ksa-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 2px solid rgba(92, 181, 229, 0.2);
}

/* List styling inside cards */
.dm-page .t1-ksa-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dm-page .t1-ksa-card li {
    position: relative;
    padding-right: 22px;
    margin-bottom: 14px;
    line-height: 1.85;
    font-size: 0.95rem;
    color: #475569;
}

.dm-page .t1-ksa-card li:last-child {
    margin-bottom: 0;
}

.dm-page .t1-ksa-card li::before {
    content: '';
    position: absolute;
    right: 0;
    top: 11px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5CB5E5, #3a9fd4);
}

/* Section header improvements */
.dm-page .t1-section-header {
    margin-bottom: 50px;
}

.dm-page .t1-section-header h2 {
    font-size: 1.9rem;
    margin-bottom: 20px;
}

.dm-page .t1-section-header p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #64748b;
    max-width: 800px;
    margin: 8px auto 0;
}

/* Section padding refinement */
.dm-page .t1-services-section,
.dm-page .t1-ksa-section {
    padding: 80px 20px;
}

/* CTA section */
.dm-page .t1-cta-section {
    padding: 80px 20px;
}

.dm-page .t1-cta-inner {
    text-align: center;
}

.dm-page .t1-cta-section .t1-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: white;
    color: #5CB5E5;
    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);
}

.dm-page .t1-cta-section .t1-btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Responsive — DM page */
@media (max-width: 768px) {
    .dm-page .t1-hero h1 {
        font-size: 2rem;
    }

    .dm-page .t1-ksa-grid {
        grid-template-columns: 1fr;
    }

    .dm-page .t1-services-section,
    .dm-page .t1-ksa-section {
        padding: 50px 15px;
    }

    .dm-page .t1-section-header {
        margin-bottom: 30px;
    }

    .dm-page .t1-section-header h2 {
        font-size: 1.5rem;
    }
}

/* ===================================
   Tier 1 — H2 Subtitle Paragraph
   Floating dots + soft gradient glow
   =================================== */
@keyframes t1-softGlow {
    0%, 100% { box-shadow: 0 4px 24px rgba(92,181,229,0.08), 0 0 0 1px rgba(92,181,229,0.06); }
    50% { box-shadow: 0 8px 36px rgba(92,181,229,0.13), 0 0 0 1px rgba(92,181,229,0.1); }
}
@keyframes t1-shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}
@keyframes t1-floatDots {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-6px) rotate(3deg); }
}

.t1-section-header h2 + p,
.t1-detail-text h2 + p,
.t2-section-head h2 + p {
    font-size: 1.15rem;
    line-height: 1.95;
    color: #64748b;
    max-width: 740px;
    margin: 24px auto 36px;
    padding: 28px 36px 28px 28px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 40%, #faf5ff 70%, #f0fdfa 100%);
    border: 1px solid rgba(92,181,229,0.1);
    border-right: 4px solid rgba(92,181,229,0.25);
    border-radius: 20px;
    position: relative;
    text-align: right;
    animation: t1-softGlow 4s ease-in-out infinite;
    transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.4s ease;
    overflow: hidden;
}

.t1-section-header h2 + p:hover,
.t1-detail-text h2 + p:hover,
.t2-section-head h2 + p:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(92,181,229,0.12);
}

/* Decorative floating circles */
.t1-section-header h2 + p::before,
.t1-detail-text h2 + p::before,
.t2-section-head h2 + p::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(92,181,229,0.15), rgba(139,92,246,0.1));
    border: 2px solid rgba(92,181,229,0.12);
    animation: t1-floatDots 3s ease-in-out infinite;
    box-shadow:
        55px 20px 0 -4px rgba(6,182,212,0.12),
        55px 20px 0 -2px rgba(6,182,212,0.06),
        110px -5px 0 -6px rgba(139,92,246,0.1),
        110px -5px 0 -4px rgba(139,92,246,0.05);
    pointer-events: none;
    z-index: 2;
}

/* Bottom shimmer line */
.t1-section-header h2 + p::after,
.t1-detail-text h2 + p::after,
.t2-section-head h2 + p::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(92,181,229,0.2), rgba(139,92,246,0.15), rgba(6,182,212,0.2), transparent);
    background-size: 200% 100%;
    animation: t1-shimmer 4s ease-in-out infinite;
    border-radius: 2px;
}

@media (max-width: 768px) {
    .t1-section-header h2 + p,
    .t1-detail-text h2 + p,
    .t2-section-head h2 + p {
        font-size: 1rem;
        padding: 22px 24px;
        margin: 18px auto 24px;
    }
    .t1-section-header h2 + p::before,
    .t1-detail-text h2 + p::before,
    .t2-section-head h2 + p::before {
        width: 20px; height: 20px; top: -8px; left: -6px;
        box-shadow:
            40px 14px 0 -4px rgba(6,182,212,0.1),
            80px -3px 0 -5px rgba(139,92,246,0.08);
    }
}