/* 1. Base Setup & Variables */
:root {
    --primary: #63a0f0;
    --text-dark: #151827;
    --text-muted: #5e6278;
    --card-bg: rgba(255, 255, 255, 0.7);
    --border-color: rgba(238, 240, 242, 1);
    --glass-effect: blur(15px);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 2. Animated Background Blobs */
.global-bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    opacity: 0.5;
    pointer-events: none;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.out-top,
.out-bottom {
    animation: rotate 30s linear infinite;
}

.in-top,
.in-bottom {
    animation: rotate 20s linear infinite reverse;
}

/* 3. Global Layout Components */
section {
    background: transparent !important;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

/* 4. Typography & Headings */
h1 {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    margin: -50px 0 20px 0;
    letter-spacing: -1.5px;
}

h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 15px 0;
}

.gradient-text {
    background: linear-gradient(90deg, #151827, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* 5. Hero Styles */
.hero {
    text-align: center;
    padding: 140px 20px 80px;
}

.hero p {
    max-width: 750px;
    margin: 0 auto 40px;
}

/* 6. Info Grid (What & Why) */
.info-grid {
    display: grid;
    grid-template-columns: 2.5fr 2fr;
    gap: 30px;
    margin-bottom: 60px;
}

.card {
    background: #eaf4f7;
    backdrop-filter: var(--glass-effect);
    -webkit-backdrop-filter: var(--glass-effect);
    border: 1px solid var(--border-color);
    padding: 45px;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.main-card {
    width: 100%;
    max-width: 90%;
}

.main-card img {
    margin-top: 20px;
    width: 100%;
    max-width: 600px;
    height: auto;
    aspect-ratio: 800 / 600;
    object-fit: cover;
    border: 1px solid #1b5c59;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: block;
}

.accent-card {
    background-color: #1b5c59;
    color: white;
}

.accent-card h4,
.accent-card h3,
.accent-card p {
    color: white;
}

@media (max-width: 992px) {
    .info-grid {
        grid-template-columns: 1fr;
    }

    .main-card {
        max-width: 100%;
    }
}

.accent-card ul {
    list-style: none;
    margin-top: 20px;
}

.accent-card li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    font-weight: 500;
}

.accent-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: white;
}

/* 7. Process Section */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 20px;
    padding: 0 -10px 50px -10px;
}

.step-card {
    background: white;
    border: 1px solid var(--border-color);
    padding: 35px 20px;
    border-radius: 20px;
    text-align: center;
    transition: 0.3s;
}

.step-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.step-card span {
    display: block;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 800;
    margin-bottom: 15px;
}

/* 8. Split Layout (Elements & UX) */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 70px 0 70px 0;
}

.checklist {
    margin-top: 25px;
    display: grid;
    gap: 12px;
}

.checklist div {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--text-dark);
}

.checklist i {
    color: var(--primary);
}

/* 9. Bento Grid (Responsive & Identity) */
.bento-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 40px 0 80px 0;
}

.bento-item {
    background: white;
    padding: 40px;
    border-radius: 25px;
    border: 1px solid var(--border-color);
    transition: 0.3s;
}

.bento-item:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.bento-item ul {
    margin-top: 20px;
    list-style-position: inside;
    color: var(--text-muted);
}

.bento-item li {
    margin-bottom: 10px;
}

/* 10. Industry & Strengths */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
}

.tags-cloud span {
    background: white;
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.strengths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.strengths-grid div {
    background: #ffffff;
    color: #151827;
    padding: 5px;
    border-radius: 15px;
    text-align: center;
    font-weight: 700;
    border: 1px solid rgba(0, 122, 255, 0.1);
}

/* 11. Buttons & CTA */
.btn-primary {
    background: var(--text-dark);
    color: white;
    padding: 18px 40px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--primary);
    transform: scale(1.05);
}

.cta-section {
    text-align: center;
    padding-top: 70px;
    padding-bottom: 120px;
}

.industries-card {
    background-color: #eef5f4;
    margin-bottom: 80px;
}

.why-us {
    background-color: rgb(211, 240, 255);
}

/* 12. Mobile Responsive Adjustments */
@media (max-width: 992px) {

    .info-grid,
    .split-layout,
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 100px 20px 60px;
    }
}

/* Unique prefix sx- to prevent overriding */
.sx-services-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    font-family: 'Poppins', sans-serif;
}

.sx-hero-header {
    text-align: center;
    padding: 80px 40px;
    background: #f6fafd;
    border-radius: 20px;
    margin-bottom: 60px;
}

.sx-hero-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 20px;
}

.sx-services-display-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.sx-service-card a {
    text-decoration: none;
    color: black;
}

.sx-service-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-top: 5px solid #0056b3;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sx-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.sx-service-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.sx-service-card h4 {
    margin-top: 25px;
    color: #0056b3;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
}

.sx-features-list {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.sx-features-list li {
    margin-bottom: 10px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.sx-features-list li::before {
    content: " \f058";
    /* FontAwesome check-circle */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #28a745;
    margin-right: 12px;
}

.sx-footer-cta {
    text-align: center;
    margin-top: 80px;
    padding: 80px 40px;
    background: linear-gradient(135deg, #0056b3 0%, #003d7a 100%);
    color: rgb(5, 192, 249);
    border-radius: 20px;
}

.sx-cta-btn {
    display: inline-block;
    /* Crucial for anchor tags to respect padding/margins */
    background: #e5eef5;
    color: #0056b3;
    border: none;
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    margin-top: 55px;
    text-decoration: none;
    /* Removes the default link underline */
    text-align: center;
    transition: background 0.3s ease, transform 0.2s ease;
}

.sx-cta-btn:hover {
    transform: translateY(-3px);
    background: #0056b3;
    color: white;
}