:root {
    --bg-color: #ffffff;
    --text-primary: #0f172a; /* very dark slate for high contrast */
    --text-sec: #64748b; /* readable gray */
    --border-color: rgba(15, 23, 42, 0.08);
    --btn-dark: #0f172a;
    --btn-light: #ffffff;
    --orb-glow: rgba(0, 0, 0, 0.03);
    --accent: #0f172a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: rgba(15, 23, 42, 0.1);
}

/* Background ripple similar to OrbAI */
.bg-ripple {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 150vw;
    height: 150vw;
    transform: translate(-50%, -50%);
    background: repeating-radial-gradient(
        circle,
        rgba(0,0,0,0) 0,
        rgba(0,0,0,0) 40px,
        rgba(0,0,0,0.01) 41px,
        rgba(0,0,0,0.01) 80px
    );
    z-index: -1;
    pointer-events: none;
    animation: rippleMove 20s linear infinite;
    opacity: 0.6;
}

@keyframes rippleMove {
    0% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.05); }
    100% { transform: translate(-50%, -50%) scale(1); }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 5%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.logo {
    font-weight: 700;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.logo-icon {
    width: 28px;
    height: 28px;
    background: var(--text-primary);
    color: white;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links a {
    text-decoration: none;
    color: var(--text-sec);
    font-size: 1.4rem;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
    transform: translateY(-1px);
}

/* Buttons */
.btn {
    text-decoration: none;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.btn-outline {
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transform: translateY(-2px);
    background: #ffffff;
    border-color: rgba(0,0,0,0.15);
}

.btn-dark {
    background: var(--btn-dark);
    color: white;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.15);
    padding: 0.85rem 2rem;
}

.btn-dark .arrow {
    transition: transform 0.3s ease;
}

.btn-dark:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.25);
    background: #000000;
}

.btn-dark:hover .arrow {
    transform: translate(2px, -2px);
}

.btn-light {
    background: var(--btn-light);
    color: var(--text-primary);
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    padding: 0.85rem 2rem;
}

.btn-light:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transform: translateY(-3px);
    border-color: rgba(0,0,0,0.2);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 5% 4rem;
    position: relative;
    z-index: 10;
    background-image: url('ripple-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.tag-pill {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    animation: fadeInDown 1s ease 0.2s both;
}

.tag-pill .icon {
    font-size: 0.9rem;
}

/* Central Orb Graphic */
.orb-container {
    position: relative;
    width: 320px;
    height: 320px;
    margin: 5rem auto 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: float 6s ease-in-out infinite, fadeIn 1s ease 0.4s both;
    perspective: 1000px;
}

.orb {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #ffffff 0%, #f1f5f9 50%, #e2e8f0 100%);
    box-shadow: 
        inset -8px -8px 24px rgba(15,23,42,0.08),
        inset 12px 12px 24px rgba(255,255,255,0.9),
        0 24px 48px rgba(15,23,42,0.12);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    position: relative;
    transition: transform 0.1s ease-out;
    transform-style: preserve-3d;
}

.orb::after {
    content: '';
    position: absolute;
    width: 110%;
    height: 110%;
    border-radius: 50%;
    box-shadow: 0 0 60px 10px rgba(15,23,42,0.04);
    z-index: -1;
    top: -5%;
    left: -5%;
}

.orb-content {
    background: var(--text-primary);
    color: white;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 0px;
    box-shadow: inset 2px 2px 10px rgba(255,255,255,0.3), 0 8px 16px rgba(0,0,0,0.2);
    text-align: center;
    line-height: 1.1;
    transform: translateZ(20px); /* 3d effect inner content */
}

/* Orbiting Items */
.orbit-wrap {
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    border: 1px dashed rgba(15,23,42,0.1);
    animation: rotateOrbit 25s linear infinite;
    z-index: 1;
}

.orbiting-item {
    position: absolute;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.5);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    box-shadow: 0 8px 24px rgba(15,23,42,0.06), inset 0 0 0 1px rgba(255,255,255,0.5);
    animation: counterRotateOrbit 25s linear infinite;
    white-space: nowrap;
    transition: all 0.3s ease;
    cursor: default;
}

.orbiting-item:hover {
    transform: scale(1.05) !important; /* Scale up on hover */
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15,23,42,0.1);
    z-index: 10;
}

/* Positioning based on degrees */
.item-1 { top: -20px; left: 50%; transform: translateX(-50%); }
.item-2 { top: 50%; right: -20px; transform: translateY(-50%); }
.item-3 { bottom: -20px; left: 50%; transform: translateX(-50%); }
.item-4 { top: 50%; left: -20px; transform: translateY(-50%); }

/* Typography */
.main-title {
    position: relative;
    z-index: 20;
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 800;
    letter-spacing: -3px;
    line-height: 1;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    animation: fadeInUp 1s ease 0.6s both;
}

.text-glow {
    position: relative;
    display: inline-block;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--text-primary);
    background: linear-gradient(90deg, #0f172a, #334155, #0f172a);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    animation: gradientShift 4s ease infinite;
}

.sub-title {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--text-sec);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    animation: fadeInUp 1s ease 0.7s both;
}

.description {
    max-width: 600px;
    margin: 0 auto 2.5rem;
    font-size: 1.1rem;
    color: var(--text-sec);
    line-height: 1.7;
    animation: fadeInUp 1s ease 0.8s both;
}

.cta-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 4rem;
    animation: fadeInUp 1s ease 0.9s both;
}

/* Stats */
.stats-section {
    display: flex;
    gap: 5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border-color);
    animation: fadeInUp 1s ease 1s both;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.stat-number {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -1.5px;
    line-height: 1;
}

.stat-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-sec);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* Keyframes */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

@keyframes rotateOrbit {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes counterRotateOrbit {
    from { transform: rotate(0deg) translateX(-50%) translateY(-50%); } /* need to offset properly, actually let's simplify */
    to { transform: rotate(-360deg) translateX(-50%) translateY(-50%); } 
}

/* Fix counter rotation alignment */
.item-1 { margin-left: -50px; margin-top: -20px; animation: none; transform-origin: center; animation: revOrbit1 25s linear infinite; }
.item-2 { margin-right: -70px; margin-top: -20px; animation: none; transform-origin: center; animation: revOrbit2 25s linear infinite; }
.item-3 { margin-left: -50px; margin-bottom: -20px; animation: none; transform-origin: center; animation: revOrbit3 25s linear infinite; }
.item-4 { margin-left: -40px; margin-top: -20px; animation: none; transform-origin: center; animation: revOrbit4 25s linear infinite; }

/* Proper counter rotation maintaining upright text */
@keyframes revOrbit1 { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }
@keyframes revOrbit2 { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }
@keyframes revOrbit3 { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }
@keyframes revOrbit4 { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; scale: 0.9; }
    to { opacity: 1; scale: 1; }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Responsive */
@media (max-width: 900px) {
    .nav-links { display: none; }
    .stats-section { gap: 3rem; flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 600px) {
    .orb-container { width: 220px; height: 220px; margin: 3rem auto 2rem; }
    .orb { width: 120px; height: 120px; }
    .orb-content { width: 60px; height: 60px; font-size: 0.75rem; }
    .orbit-wrap { width: 260px; height: 260px; }
    .main-title { font-size: 2.5rem; letter-spacing: -1.5px; }
    .sub-title { font-size: 0.9rem; }
    .description { font-size: 1rem; padding: 0 1rem; }
    .cta-group { flex-direction: column; width: 100%; max-width: 300px; }
    .btn { justify-content: center; }
    .stats-section { flex-direction: column; gap: 2rem; }
    .navbar { padding: 1rem 1.5rem; }
    .nav-btn { padding: 0.5rem 1rem; font-size: 0.8rem; }
}

/* About Section */
.about-section {
    padding: 4rem 5%;
    background-color: var(--bg-color);
    position: relative;
    z-index: 10;
}

.about-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-header .tag-pill {
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease both;
}

.section-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    animation: fadeInUp 1s ease 0.2s both;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-sec);
    line-height: 1.7;
    animation: fadeInUp 1s ease 0.4s both;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    animation: fadeInUp 1s ease 0.6s both;
}

.about-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.about-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    border-color: rgba(15, 23, 42, 0.12);
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0f172a, #64748b);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.about-card:hover::before {
    opacity: 1;
}

.card-icon {
    margin-bottom: 1.5rem;
    background: #f8fafc;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.05);
    color: var(--text-primary);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.4;
    letter-spacing: -0.5px;
}

.card-text {
    font-size: 0.95rem;
    color: var(--text-sec);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .about-section { padding: 5rem 5%; }
    .section-title { font-size: 2rem; }
}

/* Timeline Section (Block Table Style) */
.timeline-section {
    padding: 4rem 5%;
    background-color: var(--bg-color);
    position: relative;
    z-index: 10;
    overflow-x: hidden;
    border-top: 1px solid var(--border-color);
}

.timeline-container {
    max-width: 1200px;
    margin: 0 auto;
}

.timeline-stairs {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 4rem;
    perspective: 1000px;
    padding-left: 5%;
}

.timeline-step {
    display: flex;
    align-items: center;
    margin-bottom: -30px;
    width: 100%;
    max-width: 850px;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    cursor: default;
}

/* Staggering the stairs to make a continuous stepped ladder */
.timeline-step:nth-child(1) { margin-left: 0px; z-index: 5; }
.timeline-step:nth-child(2) { margin-left: 60px; z-index: 4; }
.timeline-step:nth-child(3) { margin-left: 120px; z-index: 3; }
.timeline-step:nth-child(4) { margin-left: 180px; z-index: 2; }
.timeline-step:nth-child(5) { margin-left: 240px; z-index: 1; margin-bottom: 0px; }

.timeline-step:hover {
    transform: translateX(15px) scale(1.02);
    z-index: 10;
}

/* The 3D Cube portion */
.step-cube {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: white;
    font-size: 1.75rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Create a strong 3D block shadow effect to mimic the image stairs */
    box-shadow: 
        8px 8px 0px rgba(15, 23, 42, 0.1), /* 3D extrusion illusion */
        15px 15px 30px rgba(0, 0, 0, 0.15),
        inset 1px 1px 2px rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    z-index: 2;
    position: relative;
    border: 1px solid #334155;
    transition: all 0.4s ease;
}

.timeline-step:hover .step-cube {
    background: linear-gradient(135deg, #334155, #0f172a);
    box-shadow: 
        12px 12px 0px rgba(15, 23, 42, 0.15),
        25px 25px 50px rgba(0, 0, 0, 0.2),
        inset 1px 1px 2px rgba(255, 255, 255, 0.2);
}

/* The expanding text Ribbon */
.step-ribbon {
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 2rem 2.5rem 2rem 3rem;
    border-radius: 0 20px 20px 0;
    margin-left: -20px;
    z-index: 1;
    width: 100%;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.03);
    transition: all 0.4s ease;
}

.timeline-step:hover .step-ribbon {
    background: #f8fafc;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.06);
    border-color: rgba(15, 23, 42, 0.1);
}

.ribbon-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.ribbon-text {
    font-size: 0.95rem;
    color: var(--text-sec);
    line-height: 1.6;
}

@media (max-width: 900px) {
    .timeline-step:nth-child(n) {
        margin-left: 0;
    }
    .timeline-stairs {
        align-items: flex-start;
        padding-left: 10px;
    }
    .timeline-step { max-width: 100%; }
}

@media (max-width: 600px) {
    .timeline-step { flex-direction: column; align-items: flex-start; margin-bottom: 3rem; }
    .step-cube { width: 80px; height: 80px; font-size: 1.25rem; margin-bottom: -40px; margin-left: 20px; z-index: 3; }
    .step-ribbon { padding: 3rem 1.5rem 1.5rem; margin-left: 0; border-radius: 16px; }
}

/* Services Section */
.services-section {
    padding: 4rem 1%;
    background-color: var(--bg-color);
    position: relative;
    z-index: 10;
    border-top: 1px solid var(--border-color);
}

.services-container {
    /*max-width: 1200px;*/
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.service-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    border-color: rgba(15, 23, 42, 0.12);
    z-index: 2;
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    background: #f8fafc;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.05);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--text-primary);
    color: white;
    transform: rotate(-5deg) scale(1.1);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.4;
    letter-spacing: -0.5px;
}

.service-text {
    font-size: 0.95rem;
    color: var(--text-sec);
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
}

.service-tags span {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-sec);
    background: #f1f5f9;
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.service-card:hover .service-tags span {
    background: #e2e8f0;
    color: var(--text-primary);
}

/* MATRIX Section */
.matrix-section {
    padding: 8rem 2%;
    /*background-color: var(--bg-color);*/
    background-color: #000000;
    position: relative;
    z-index: 10;
    border-top: 1px solid var(--border-color);
}

.matrix-container {
    max-width: 1600px;
    margin: 0 auto;
}


.matrix-dashboard {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    padding: 4rem;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.04), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    display: flex;
    gap: 4rem;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    margin-bottom: 4rem;
}

.matrix-dashboard:hover {
    box-shadow: 0 40px 80px rgba(15, 23, 42, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.8);
    transform: translateY(-5px);
}

.matrix-left {
    flex: 6;
    display: flex;
    flex-direction: column;
}

.matrix-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.matrix-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #334155, #0f172a);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.15);
}

.matrix-user {
    display: flex;
    flex-direction: column;
}

.matrix-user strong {
    color: var(--text-primary);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.verified {
    color: #0f172a;
    font-size: 0.8rem;
}

.handle {
    color: var(--text-sec);
    font-size: 0.85rem;
}

.matrix-huge-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    letter-spacing: -2px;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--text-primary);
    background: linear-gradient(90deg, #0f172a, #64748b, #0f172a);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    animation: gradientShift 4s ease infinite;
    line-height: 1;
    margin-bottom: 1rem;
}

.matrix-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2rem;
    line-height: 1.5;
    letter-spacing: -0.5px;
}

.matrix-body {
    font-size: 1.05rem;
    color: var(--text-sec);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.matrix-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 3rem;
}

.matrix-tags span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.02);
    transition: all 0.2s ease;
    cursor: default;
}

.matrix-tags span:hover {
    background: #0f172a;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(15, 23, 42, 0.1);
}

.matrix-footer {
    display: flex;
    gap: 2rem;
    color: var(--text-sec);
    font-weight: 500;
    font-size: 0.95rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.matrix-right {
    flex: 4;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-content: center;
}

.matrix-metric {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.03);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.matrix-metric:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.08);
    background: linear-gradient(135deg, #f8fafc, #ffffff);
    border-color: rgba(15, 23, 42, 0.1);
}

.matrix-metric h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -1px;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.matrix-metric p {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-sec);
    line-height: 1.4;
}


/*=====================================================*/

/* MATRIX Section */
.matrix-section {
    padding: 8rem 2%;
    background-color: #000000; /* Updated to black as requested */
    position: relative;
    z-index: 10;
    border-top: 1px solid #1e293b; /* Darkened border for black background */
}

.matrix-container {
    max-width: 1600px; /* Widened to comfortably fit 3 columns */
    margin: 0 auto;
}

.matrix-dashboard {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    padding: 3rem; /* Slightly reduced padding to maximize internal space */
    box-shadow: 0 30px 60px rgba(255, 255, 255, 0.05), inset 0 0 0 1px rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: row;
    gap: 3rem;
    align-items: center; /* Vertically aligns all 3 columns */
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    margin-bottom: 4rem;
}

.matrix-dashboard:hover {
    box-shadow: 0 40px 80px rgba(255, 255, 255, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    transform: translateY(-5px);
}

/* 1. NEW Image Column (Far Left) */
.matrix-image-col {
    flex: 4.5;
    display: flex;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    min-height: 450px; /* Ensures the image has a good vertical presence */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.matrix-image-col img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Prevents image distortion */
    object-position: center;
}

/* 2. Text Content (Center) */
.matrix-left {
    flex: 4.5;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.matrix-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.matrix-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #334155, #0f172a);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.15);
}

.matrix-user {
    display: flex;
    flex-direction: column;
}

.matrix-user strong {
    color: var(--text-primary);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.verified {
    color: #0f172a;
    font-size: 0.8rem;
}

.handle {
    color: var(--text-sec);
    font-size: 0.85rem;
}

.matrix-huge-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem); /* Slightly scaled down to fit 3 columns */
    font-weight: 900;
    letter-spacing: -2px;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--text-primary);
    background: linear-gradient(90deg, #0f172a, #64748b, #0f172a);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    animation: gradientShift 4s ease infinite;
    line-height: 1;
    margin-bottom: 1rem;
}

.matrix-subtitle {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.5;
    letter-spacing: -0.5px;
}

.matrix-body {
    font-size: 1rem;
    color: var(--text-sec);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.matrix-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.matrix-tags span {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-primary);
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 0.5rem 0.8rem;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.02);
    transition: all 0.2s ease;
    cursor: default;
}

.matrix-tags span:hover {
    background: #0f172a;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(15, 23, 42, 0.1);
}

/* 3. Metrics Grid (Far Right) */
.matrix-right {
    flex: 4;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    align-content: center;
}

.matrix-metric {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.75rem 1.25rem;
    text-align: center;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.03);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.matrix-metric:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.08);
    background: linear-gradient(135deg, #f8fafc, #ffffff);
    border-color: rgba(15, 23, 42, 0.1);
}

.matrix-metric h3 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -1px;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.matrix-metric p {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-sec);
    line-height: 1.4;
}

/* Responsive Rules for 3-Column Layout */
@media (max-width: 1100px) {
    .matrix-dashboard {
        flex-direction: column;
        padding: 3rem;
    }
    .matrix-image-col {
        width: 100%;
        min-height: 350px;
    }
    .matrix-right {
        width: 100%;
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .matrix-dashboard { padding: 2rem; border-radius: 24px; }
    .matrix-right { grid-template-columns: 1fr 1fr; }
    .matrix-huge-title { font-size: 3rem; }
}

/*========================================================*/



@media (max-width: 1024px) {
    .matrix-dashboard { flex-direction: column; padding: 3rem; }
    .matrix-right { grid-template-columns: 1fr 1fr 1fr 1fr; }
}

@media (max-width: 768px) {
    .matrix-dashboard { padding: 2rem; border-radius: 24px; }
    .matrix-right { grid-template-columns: 1fr 1fr; }
    .matrix-huge-title { font-size: 3rem; }
    .matrix-footer { gap: 1rem; flex-wrap: wrap; }
}

/* Founder Section */
.founder-section {
    padding: 8rem 5%;
    background-color: #ffffff; /* White minimal background */
    position: relative;
    z-index: 10;
    /*border-top: 1px solid var(--border-color);*/
    overflow: hidden;
}

.founder-bg-grid {
    position: absolute;
    top: 50px;
    right: 50px;
    width: 200px;
    height: 300px;
    background-image: radial-gradient(var(--border-color) 2px, transparent 2px);
    background-size: 20px 20px;
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
}

.founder-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 6rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.founder-left {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.founder-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
}

.founder-image-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(15,23,42,0.08) 0%, rgba(15,23,42,0) 70%);
    filter: blur(20px);
    border-radius: 50%;
    z-index: -1;
}

.founder-img {
    width: 100%;
    height: auto;
    display: block;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    filter: grayscale(100%) drop-shadow(25px 25px 40px rgba(15,23,42,0.25));
    transform-origin: bottom center;
}

.founder-img:hover {
    filter: grayscale(80%) drop-shadow(30px 30px 50px rgba(15,23,42,0.35));
    transform: scale(1.04);
}

.founder-right {
    flex: 1;
}

.founder-quote {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1.2;
    letter-spacing: -1.5px;
    margin-bottom: 3rem;
    position: relative;
}

.founder-quote::before {
    content: '\201C';
    position: absolute;
    top: -40px;
    left: -30px;
    font-size: 6rem;
    color: var(--border-color);
    font-family: Georgia, serif;
    line-height: 1;
    z-index: -1;
}

.founder-label {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text-primary);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.founder-role {
    color: var(--text-sec);
    font-weight: 500;
}

.founder-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.founder-tags span {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-sec);
    border: 1px solid var(--border-color);
    padding: 0.4rem 1rem;
    border-radius: 5px;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: #f8fafc;
    box-shadow: 2px 2px 0px rgba(15,23,42,0.05); /* Slight geometric shadow */
}

.founder-bio {
    font-size: 0.95rem;
    color: var(--text-sec);
    line-height: 1.8;
}

.founder-bio p {
    margin-bottom: 1.5rem;
}

.founder-highlights {
    list-style: none;
    margin-top: 2rem;
    padding-left: 0;
}

.founder-highlights li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
    color: var(--text-primary);
}

.founder-highlights li::before {
    content: '\2014';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--text-sec);
    font-weight: 700;
}

@media (max-width: 900px) {
    .founder-container { flex-direction: column; gap: 3rem; }
    .founder-quote::before { left: 0; top: -50px; }
}

/* Clients & Accreditations Section */
.clients-section {
    padding: 8rem 5%;
    background: linear-gradient(180deg, var(--bg-color) 0%, #f8fafc 100%);
    position: relative;
    z-index: 10;
    border-top: 1px solid var(--border-color);
}

.clients-container {
    max-width: 1200px;
    margin: 0 auto;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 6rem;
}

.client-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.02);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: default;
}

.client-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.08);
    border-color: rgba(15, 23, 42, 0.15);
}

.client-logo {
    width: 60px;
    height: 60px;
    background: #ffffff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    padding: 4px;
}

.dept-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 6px;
}

.client-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
}

.accreditations-header {
    text-align: center;
    margin-bottom: 3rem;
}

.accreditations-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    display: inline-block;
    position: relative;
}

.accreditations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.accreditation-card {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.accreditation-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.1);
    border-color: rgba(15, 23, 42, 0.12);
}

/*.acc-icon {*/
/*    font-size: 2.5rem;*/
/*    margin-bottom: 1.5rem;*/
/*    background: #ffffff;*/
/*    width: 80px;*/
/*    height: 80px;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    border-radius: 50%;*/
/*    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.05);*/
/*    transition: transform 0.3s ease;*/
/*}*/

.accreditation-card:hover .acc-icon {
    transform: scale(1.1) rotate(5deg);
}

.accreditation-card h4 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.accreditation-card p {
    font-size: 0.95rem;
    color: var(--text-sec);
    line-height: 1.6;
}

/* Hover unification for cards */
.service-card::before,
.client-card::before,
.accreditation-card::before,
.matrix-metric::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0f172a, #64748b);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 10;
}

.service-card:hover::before,
.client-card:hover::before,
.accreditation-card:hover::before,
.matrix-metric:hover::before {
    opacity: 1;
}

.client-card, .matrix-metric, .accreditation-card {
    position: relative;
    overflow: hidden;
}

/* Contact Section */
.contact-section {
    padding: 10rem 5% 6rem;
    background-color: #0f172a;
    position: relative;
    overflow: hidden;
    z-index: 10;
    border-top: 1px solid #1e293b;
}

.contact-ball-container {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6rem;
}

.contact-ball {
    position: absolute;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 50%;
    box-shadow: 
        inset -20px -20px 40px rgba(0, 0, 0, 0.5),
        20px 20px 60px rgba(0, 0, 0, 0.8),
        0 0 80px rgba(255, 255, 255, 0.03);
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
}

.contact-section:hover .contact-ball {
    transform: translate(-50%, -50%) scale(1.05);
    box-shadow: 
        inset -20px -20px 40px rgba(0, 0, 0, 0.8),
        30px 30px 80px rgba(0, 0, 0, 1),
        0 0 100px rgba(255, 255, 255, 0.05);
}

.huge-contact-text {
    font-size: clamp(4rem, 12vw, 15rem);
    font-weight: 900;
    color: #ffffff;
    text-align: center;
    position: relative;
    z-index: 2;
    letter-spacing: -4px;
    line-height: 1;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    position: relative;
    z-index: 5;
    border-top: 1px solid #1e293b;
    padding-top: 4rem;
}

.contact-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-block h4 {
    font-size: 0.75rem;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.contact-info-block p {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
}

.contact-right {
    background: #1e293b;
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1.25rem;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    background: #0f172a;
    font-family: inherit;
    font-size: 1rem;
    color: #ffffff;
    transition: all 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #64748b;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #334155;
    background: #0f172a;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.05);
}

.submit-btn {
    align-self: flex-start;
    padding: 1.25rem 2.5rem;
    font-size: 1rem;
    cursor: pointer;
    background: #ffffff;
    color: #0f172a;
    border: none;
    border-radius: 8px;
    font-weight: 600;
}
.submit-btn:hover {
    background: #e2e8f0;
}

/* Footer */
.minimal-footer {
    background-color: #0f172a;
    color: #64748b;
    text-align: center;
    padding: 2rem 5%;
    font-size: 0.85rem;
    font-weight: 500;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* --- Updated Founder Section & Particles --- */
.particle-canvas-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none; /* Allows user to click text on top */
}

.relative-z {
    position: relative;
    z-index: 2;
    width: 100%;
}

.founder-content-wrapper {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 32px;
    padding: 5rem 4rem;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.05), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    max-width: 1050px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.founder-quote.text-center::before {
    left: 50%;
    transform: translateX(-50%);
    top: -45px;
}

.centered-tags {
    justify-content: center;
    margin-bottom: 4rem;
}

.founder-bio-split {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    text-align: left;
    width: 100%;
    align-items: center;
}

.founder-bio-split p {
    margin-bottom: 1.5rem;
    color: var(--text-sec);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* --- Dual-Row Infinite Marquee CSS --- */
.client-slider-container {
    position: relative;
    width: 100%;
    /*max-width: 1300px; !* Slightly wider to accommodate larger cards *!*/
    margin: 0 auto 6rem;
    overflow: hidden;
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 2.5rem; /* Space between the two rows */
}

/* Smooth fade-out effect on the left and right edges */
.client-slider-container::before,
.client-slider-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.client-slider-container::before {
    left: 0;
    background: linear-gradient(to right, #f8fafc, rgba(248, 250, 252, 0));
}

.client-slider-container::after {
    right: 0;
    background: linear-gradient(to left, #f8fafc, rgba(248, 250, 252, 0));
}

.client-slide-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
}

/* Top Row Animation (Moves Left) */
.track-left {
    animation: scrollLeft 50s linear infinite;
}

/* Bottom Row Animation (Moves Right) */
.track-right {
    animation: scrollRight 45s linear infinite;
}

/* Pause on Hover */
.client-slide-track:hover {
    animation-play-state: paused;
}

@keyframes scrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 0.75rem)); }
}

@keyframes scrollRight {
    0% { transform: translateX(calc(-50% - 0.75rem)); }
    100% { transform: translateX(0); }
}

/* Updated Card Layout (Centered Logo & Text below) */
.client-card-slick {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    min-width: 280px;
    max-width: 280px;
    height: 240px; /* Fixed height so cards align perfectly despite text length */
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.02);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.client-card-slick:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    border-color: rgba(15, 23, 42, 0.15);
}

.client-card-slick::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0f172a, #64748b);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 10;
}

.client-card-slick:hover::before {
    opacity: 1;
}

/* Make Logo Bigger and Centered */
.client-logo-fixed {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    background: #ffffff;
    /* Optional: Add a subtle drop shadow to make the logo pop more */
    filter: drop-shadow(0px 5px 10px rgba(0,0,0,0.05));
}

.client-logo-fixed img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Full Name Text Styling */
.client-name-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Limits text to 3 lines just in case it runs too long */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- Modernized Accreditations Grid --- */
.accreditations-header {
    text-align: center;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.accreditations-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    display: inline-block;
    position: relative;
}

/* FIX 1: Enforce strict 3-column layout so it doesn't break into 5 columns */
.accreditations-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 3rem 2rem; /* Added more vertical gap for the floating logos */
    margin-top: 2rem;
}

.accreditation-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2rem 2rem 1.5rem; /* Increased top padding so text clears the logo */
    text-align: center;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.02);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.accreditation-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.08);
    border-color: rgba(15, 23, 42, 0.15);
    background: linear-gradient(145deg, #ffffff, #f8fafc);
}

.accreditation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0f172a, #64748b);
    border-radius: 24px 24px 0 0;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 10;
}

.accreditation-card:hover::before {
    opacity: 1;
}

/* FIX 2: Properly center the floating logo wrapper */
.acc-logo-wrapper {
    /*position: absolute;*/
    /*top: -45px;*/
    /*left: 50%;*/
    /*transform: translateY(50%); !* This perfectly centers the absolute element *!*/
    background: #ffffff;
    border-radius: 50%;
    padding: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 5;
}

/* Keep the X translation when scaling on hover */
.accreditation-card:hover .acc-logo-wrapper {
    transform: translateY(-25%) scale(1.15);
}

/* FIX 3: Constrain the circle and add overflow hidden */
.acc-icon {
    background: #f8fafc;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    padding: 12px;
    overflow: hidden;
}

/* FIX 4: Force images to fit inside the circle */
.acc-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Shrinks the image to fit proportionally */
    display: block;
}

.accreditation-card h4 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.4;
    letter-spacing: -0.5px;
}

.accreditation-card p {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-sec);
    line-height: 1.6;
}

/* --- Section Separator Banner --- */
.section-separator-banner {
    width: 100%;
    position: relative;
    z-index: 100;
    /* display: flex; */
    /* justify-content: center; */
    /* align-items: center; */
    /* background-color: transparent; */
    /* margin-top: 4rem; */
    margin-bottom: -7rem;
}

.section-separator-banner img {
    width: 100%;
    /* max-width: 1200px; */
    height: auto;
    display: block;
    object-fit: contain;
    /* padding: 0 5%; */
}

/* --- Section Separator Banner --- */
.section-separator-banner_opp {
    width: 100%;
    position: relative;
    z-index: 100;
    /* display: flex; */
    /* justify-content: center; */
    /* align-items: center; */
    /* background-color: transparent; */
    /* margin-top: 4rem; */
    margin-top: -7rem;
}

.section-separator-banner_opp img {
    width: 100%;
    /* max-width: 1200px; */
    height: auto;
    display: block;
    object-fit: contain;
    /* padding: 0 5%; */

    /* This flips the image vertically */
    transform: scaleY(-1);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .accreditations-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
    }
}

@media (max-width: 600px) {
    .accreditations-grid {
        grid-template-columns: 1fr; /* 1 column on mobile */
    }
}

@media (max-width: 900px) {
    .founder-bio-split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .founder-content-wrapper {
        padding: 3rem 2rem;
    }
}

@media (max-width: 900px) {
    .contact-container { grid-template-columns: 1fr; }
    .huge-contact-text { letter-spacing: -2px; }
    .contact-ball { width: 300px; height: 300px; }
}



/*bottom contact and footer styling*/

/* --- Modernized Contact Section --- */
.contact-section {
    padding: 8rem 5% 6rem;
    background-color: #0b1120; /* Deep tech slate */
    position: relative;
    overflow: hidden;
    z-index: 10;
}

/* Tech Grid Background */
.contact-bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
            linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
    pointer-events: none;
    mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
}

.contact-ball-container {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6rem;
    z-index: 2;
}

/* Floating 3D Ball with Glow */
.contact-ball {
    position: absolute;
    width: 320px;
    height: 320px;
    background: linear-gradient(135deg, #1e293b 0%, #070b14 100%);
    border-radius: 50%;
    box-shadow:
            inset -20px -20px 40px rgba(0, 0, 0, 0.6),
            20px 20px 60px rgba(0, 0, 0, 0.8),
            0 0 80px rgba(3, 160, 228, 0.15); /* Soft GC Cloud Blue Glow */
    top: 50%;
    left: 50%;
    /* Apply floating animation */
    animation: floatSphere 6s ease-in-out infinite;
}

@keyframes floatSphere {
    0%, 100% { transform: translate(-50%, -50%); }
    50% { transform: translate(-50%, -56%) scale(1.02); }
}

/* Huge Typography Styling */
.huge-contact-text {
    font-size: clamp(3.5rem, 10vw, 11rem);
    font-weight: 900;
    color: #ffffff;
    text-align: center;
    position: relative;
    z-index: 3;
    letter-spacing: -3px;
    line-height: 0.9;
    pointer-events: none;
    text-transform: uppercase;
}

.text-outline {
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.15);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
    position: relative;
    z-index: 5;
}

/* Left Side: Info Blocks */
.contact-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: center;
}

.contact-info-block {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.contact-info-block:not(.no-hover):hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(3, 160, 228, 0.3);
    transform: translateX(10px); /* Smooth slide right on hover */
}

.info-icon {
    width: 48px;
    height: 48px;
    background: #1e293b;
    color: #64748b;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-info-block:not(.no-hover):hover .info-icon {
    background: #03a0e4;
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(3, 160, 228, 0.3);
    transform: scale(1.1);
}

.info-text h4 {
    font-size: 0.75rem;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.25rem;
}

.info-text p {
    font-size: 1rem;
    font-weight: 500;
    color: #f8fafc;
    line-height: 1.4;
}

/* Right Side: Glassmorphism Form */
.contact-right {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 3.5rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.form-header {
    margin-bottom: 2.5rem;
}

.form-header h3 {
    font-size: 1.8rem;
    color: #ffffff;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
}

.form-header p {
    color: #94a3b8;
    font-size: 0.95rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1.25rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.2);
    font-family: inherit;
    font-size: 1rem;
    color: #ffffff;
    transition: all 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #475569;
}

/* Interactive Input Focus State */
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #03a0e4;
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 0 4px rgba(3, 160, 228, 0.15);
    transform: translateY(-2px);
}

/* Glowing Submit Button */
.btn-glowing {
    align-self: flex-start;
    padding: 1.1rem 2.5rem;
    font-size: 1rem;
    cursor: pointer;
    background: #03a0e4;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(3, 160, 228, 0.3);
}

.btn-glowing:hover {
    background: #0288c2;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(3, 160, 228, 0.4);
}

.btn-glowing:hover .arrow {
    transform: translateX(4px);
}

.btn-glowing .arrow {
    transition: transform 0.3s ease;
}

/* Minimal Footer */
.minimal-footer {
    background-color: #070b14; /* Extremely dark for bottom edge */
    color: #475569;
    text-align: center;
    padding: 2.5rem 5%;
    font-size: 0.9rem;
    font-weight: 500;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .contact-container { grid-template-columns: 1fr; gap: 3rem; }
    .contact-ball { width: 250px; height: 250px; }
    .contact-right { padding: 2.5rem; }
}
@media (max-width: 600px) {
    .contact-right { padding: 1.5rem; }
    .huge-contact-text { font-size: 4rem; }
}


/* --- Upgraded Services Cards with Background Images --- */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(520px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    margin-left: 2rem;
    margin-right: 2rem;
}

.service-card {
    border: 1px solid var(--border-color);
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    /* Setup for the inline background images */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #ffffff; /* Fallback */
    min-height: 420px; /* Ensure uniform height */
}

/* Glassmorphism Overlay to ensure text readability */
.service-card-overlay {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding: 2.5rem;
    /* Creates a frosted glass effect: slightly white at top, fading to mostly white at bottom */
    background: linear-gradient(180deg, rgba(255,255,255,0.75) 0%, rgba(255,255,255,0.95) 100%);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: background 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
    border-color: rgba(3, 160, 228, 0.3); /* Subtle GC Cloud Blue border on hover */
    z-index: 2;
}

/* Slightly clear the overlay on hover to reveal more of the background image */
.service-card:hover .service-card-overlay {
    background: linear-gradient(180deg, rgba(255,255,255,0.65) 0%, rgba(255,255,255,0.9) 100%);
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    background: #ffffff; /* Solid white to pop off the overlay */
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.05);
    color: var(--text-primary);
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.service-card:hover .service-icon {
    background: var(--text-primary);
    color: white;
    transform: rotate(-5deg) scale(1.1);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.4;
    letter-spacing: -0.5px;
}

.service-text {
    font-size: 0.95rem;
    color: var(--text-sec);
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
    font-weight: 500; /* Slightly bolder for better readability over the image */
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
}

.service-tags span {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-sec);
    background: rgba(15, 23, 42, 0.05);
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.service-card:hover .service-tags span {
    background: #03a0e4;
    color: #ffffff;
}

/* Gradient Top Border on hover */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #03a0e4, #0f172a);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 10;
}

.service-card:hover::before {
    opacity: 1;
}