/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #14a3d5;
    --secondary-color: #0A0F2C;
    --gradient-start: #14a3d5;
    --gradient-end: #6C5CE7;
    --accent-color: #A8EFFF;
    --text-primary: #000000;
    --text-secondary: #000000;
    --text-navy: #000080;
    --surface-white: #ffffff;
    --surface-light: #F8F9FB;
    --divider-subtle: #e2e8f0;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: #000000;
    background-color: var(--surface-white);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: #002366;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.section-header {
    margin-bottom: 4rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(20, 163, 213, 0.4);
}

.btn-secondary {
    background-color: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    /* height: 140px; */
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--divider-subtle);
    z-index: 1000;
    padding: 0 1rem;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: #002366;
    text-decoration: none;
}

.logo-image {
    height: 150px;
    width: 200px;
    object-fit: contain;
    display: block;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-weight: bold !important;
    text-decoration: none;
    color: #002366;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: 160px;
    padding-bottom: 80px;
    overflow: hidden;
    background-color: var(--surface-white);
}

.hero-layout {
    display: flex;
    align-items: center;
    gap: 4rem;
    min-height: 70vh;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(20, 163, 213, 0.1), rgba(108, 92, 231, 0.1));
    border-radius: 50%;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(168, 239, 255, 0.2), rgba(20, 163, 213, 0.1));
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    flex: 1;
    max-width: 600px;
}

.hero-media {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-video-container {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    background: white;
    padding: 1rem;
}

.hero-demo-video {
    width: 100%;
    height: 500px;
    border-radius: 12px;
    display: block;
    object-fit: cover;
}

.hero-title {
    font-size: 4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: #002366;
    font-family: var(--font-heading);
    text-align: left;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    font-weight: 400;
    text-align: left;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.trust-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
}

.trust-row::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
}


.dashboard-mockup {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    border: 1px solid var(--divider-subtle);
}

.mockup-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.mockup-dots {
    display: flex;
    gap: 8px;
}

.mockup-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--divider-subtle);
}

.mockup-dots span:first-child {
    background-color: #ff5f57;
}

.mockup-dots span:nth-child(2) {
    background-color: #ffbd2e;
}

.mockup-dots span:nth-child(3) {
    background-color: #28ca42;
}

.chart-placeholder {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), #1292c2);
    border-radius: 12px;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.chart-placeholder::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 60%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
}

.metrics-row {
    display: flex;
    gap: 1rem;
}

.metric-item {
    flex: 1;
    height: 60px;
    background-color: var(--surface-light);
    border-radius: 8px;
}

/* Metrics Strip */
.metrics-strip {
    padding: 80px 0;
    background-color: var(--surface-light);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.metric-card {
    text-align: center;
    padding: 2.2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-5px);
}

.metric-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.metric-number {
    font-size: 2rem;
    font-weight: 600;
    color: #002366;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.metric-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Brands Marquee */
.brands-section {
    padding: 40px 0 32px 0;
    background-color: white;
}

.divider-top, .divider-bottom {
    height: 1px;
    background-color: var(--divider-subtle);
    margin: 2rem 0;
}

.brands-marquee {
    overflow: hidden;
    padding: 2rem 0;
}

.marquee-track {
    display: flex;
    animation: marquee 30s linear infinite;
    gap: 4rem;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.brand-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    padding: 0 1rem;
    transition: opacity 0.3s ease;
    /* opacity: 0.7; */
}

.brand-logo img {
    max-height: 120px;
    max-width: 220px;
    object-fit: contain;
    /* filter: grayscale(100%); */
    transition: filter 0.3s ease;
}

.brand-logo:hover {
    opacity: 1;
}

.brand-logo:hover img {
    filter: grayscale(0%);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Platforms Section */
.platforms-section {
    padding: 40px 0;
    background-color: var(--surface-light);
}

.platforms-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.platform-logo {
    width: 200px;           /* fixed width */
    height: 120px;          /* fixed height */
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;       /* prevents image overflow */
    padding: 10px;          /* spacing inside */
}

.platform-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.platform-logo:hover {
    transform: translateY(-3px);
}

.platform-logo:hover img {
    filter: grayscale(0%);
}

/* Platform popup animations */
.platform-logo {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.5s ease, transform 0.3s ease;
}

.platform-logo.animate {
    opacity: 1;
    transform: scale(1);
}

.platform-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Staggered animation delays */
.platform-logo:nth-child(1) { animation-delay: 0ms; }
.platform-logo:nth-child(2) { animation-delay: 100ms; }
.platform-logo:nth-child(3) { animation-delay: 200ms; }
.platform-logo:nth-child(4) { animation-delay: 300ms; }
.platform-logo:nth-child(5) { animation-delay: 400ms; }
.platform-logo:nth-child(6) { animation-delay: 500ms; }
.platform-logo:nth-child(7) { animation-delay: 600ms; }
.platform-logo:nth-child(8) { animation-delay: 700ms; }
.platform-logo:nth-child(9) { animation-delay: 800ms; }
.platform-logo:nth-child(10) { animation-delay: 900ms; }
.platform-logo:nth-child(11) { animation-delay: 1000ms; }
.platform-logo:nth-child(12) { animation-delay: 1100ms; }
.platform-logo:nth-child(13) { animation-delay: 1200ms; }

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .platform-logo {
        opacity: 1;
        transform: scale(1);
        transition: none;
        animation-delay: 0ms;
    }
    
    .platform-logo:hover {
        transform: scale(1);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }
}

/* Solutions Section */
.solutions-section {
    padding: 24px 0 60px;
    background-color: white;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.solution-tile {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    color: #fff;
    border: 1px solid var(--divider-subtle);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

.solution-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.solution-tile h3,
.solution-tile .tile-title,
.solution-tile li {
    color: #fff;   /* force titles and list items to white */
}
.solution-tile .tile-features li {
    color: #fff !important;
}
.solution-tile,
.solution-tile h3,
.solution-tile .tile-title,
.solution-tile .tile-features li,
.solution-tile p {
    color: #fff !important;
}
.tile-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.tile-logo {
    font-size: 2rem;
}

.tile-title {
    font-size: 1.5rem;
    color: #002366;
}

.tile-features {
    list-style: none;
}

.tile-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.tile-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 600;
}

/* Tailored Solutions Banner */
.tailored-solutions-banner {
    padding: 40px 0;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    color: white;
}

.banner-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.banner-left {
    /* width: 3000px; */
    
    flex: 2;
    max-width: 70%;
}

.banner-title {
    margin-top: 110px;
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.banner-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

.tailored-solutions-banner .btn-primary {
    background: var(--accent-color);
    color: #002366;
    font-weight: 600;
    padding: 18px 36px;
    font-size: 1.2rem;
}

.tailored-solutions-banner .btn-primary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.banner-right {
    flex: 1;
    margin-left: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* .banner-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.3s ease;
} */

/* .banner-image:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
} */

/* .banner-image img {
    width: 100%;
    height: 400px;
    object-fit: contain;
    display: block;
} */

/* .banner-image { */
    /* border-radius: 0;              remove rounded cropping */
    /* overflow: visible;             allow full image */
    /* box-shadow: none;              optional if you don’t want box look */
    /* transform: none;               optional, removes 3D tilt */
    /* background: transparent;       no white/colored box */
/* } */

/* .banner-image img { */
    /* width: 800px;                   natural width */
    /* max-width: 100%;               responsive, won’t overflow */
    /* height: 500px;                  natural height */
    /* display: block; */
/* } */

/* Case Studies */
.case-studies-section {
    padding: 32px 0 60px;
    background-color: white;
}

.case-studies-grid {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 1rem;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--surface-light);
}

.case-studies-grid::-webkit-scrollbar {
    height: 8px;
}

.case-studies-grid::-webkit-scrollbar-track {
    background: var(--surface-light);
    border-radius: 4px;
}

.case-studies-grid::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.case-studies-grid::-webkit-scrollbar-thumb:hover {
    background: #1292c2;
}

.case-study-card {
    flex: 0 0 400px;
    min-width: 400px;
    background: white;
    border: 1px solid var(--divider-subtle);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.case-study-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 8px 40px rgba(168, 239, 255, 0.3);
}

.case-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.brand-logo-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.brand-name {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    color: #002366;
}

.brand-category {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.platform-logos {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.platform-tag {
    background: var(--surface-light);
    color: var(--text-secondary);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.solutions-provided h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #002366;
}

.solutions-provided ul {
    list-style: none;
    margin-bottom: 2rem;
}

.solutions-provided li {
    padding: 0.25rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    position: relative;
    padding-left: 1rem;
}

.solutions-provided li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.stats-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.stat-chip {
    background: var(--surface-light);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.stat-number {
    font-weight: 600;
    color: #002366;
    font-size: 1.1rem;
}

.stat-label {
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.2;
}

/* Team Section */
.team-section {
    width: 100%;
    padding: 40px 0; /* keep some vertical space */
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 equal columns */
    gap: 2rem;
    width: 100%;
    max-width: 16000px;   /* optional: limit max width if screens are huge */
    margin: 0 auto;      /* centers the grid */
    padding: 0 40px;     /* add side spacing */
}

.team-card {
    background: white;
    border: 1px solid var(--divider-subtle);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-image {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.team-image img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--divider-subtle);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.team-image img:hover {
    border-color: var(--primary-color);
    box-shadow: 0 6px 20px rgba(20, 163, 213, 0.2);
    transform: scale(1.05);
}

.team-name {
    font-size: 1.5rem;   /* bigger than default 1.25rem */
    font-weight: 700;
}

.team-role {
    font-size: 1.1rem;
    font-weight: 600;
    color: #374151;
}

.team-experience {
    font-size: 1rem;
    color: #4b5563;
}

.team-tag {
    font-size: 0.95rem;
    padding: 0.4rem 1rem;
}

/* Testimonials */
.testimonials-section {
    padding: 20px 0 120px;
    background-color: white;
}

.testimonials-carousel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: white;
    border: 1px solid var(--divider-subtle);
    border-radius: 20px;
    padding: 1rem 2rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-text {
    color: #000000;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.testimonial-author .author-info {
    flex: 1;
}

.author-name {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: #002366;
}

.author-role {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.company-logo-container {
    margin-top: 1rem;
}

.company-logo {
    height: 100px;
    width: auto;
    object-fit: contain;
    opacity: 0.8;
    /* transition: opacity 0.3s ease; */
    display: block;
}

.company-logo:hover {
    opacity: 1;
}

/* CTA Section */
.cta-section {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.cta-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

.cta-section .btn-primary {
    background: var(--accent-color);
    color: #002366;
    font-weight: 600;
    padding: 18px 36px;
    font-size: 1.2rem;
}

.cta-section .btn-primary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

/* Footer */
.footer {
    background-color: var(--text-primary);
    color: white;
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 1rem;
}

.footer-brand .logo-image {
    height: 70px;
    width: auto;
    max-width: 260px;
    object-fit: contain;
    display: block;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    margin-bottom: 1rem;
    color: #ffffff;
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

/* Typing Animation */
#typing-headline {
    position: relative;
    background: linear-gradient(to right, #6C5CE7, #00AEEF);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
}

.gradient-text {
    background: linear-gradient(to right, #6C5CE7, #00AEEF);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
}

#typing-headline::after {
    content: '|';
    color: #14a3d5;
    animation: blink 1s infinite;
    margin-left: 2px;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    #typing-headline::after {
        animation: none;
        opacity: 0;
    }
}

.loaded {
    animation: fadeInPage 0.8s ease-in-out;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 24px;
    }
    
    .hero-layout {
        gap: 3rem;
    }
    
    .hero-video-container {
        max-width: 400px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .logo-image {
        height: 60px;
    }
    
    .footer-brand .logo-image {
        height: 40px;
    }
    
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .banner-content {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
        flex-direction: row;
    }
    
    .banner-title {
        font-size: 2.5rem;
    }
    
    .cta-title {
        font-size: 2.5rem;
    }
    
    .case-study-card {
        flex: 0 0 350px;
        min-width: 350px;
    }
    
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .team-image img {
        width: 100px;
        height: 100px;
    }
    
    .testimonials-carousel {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding-top: 100px;
        min-height: 80vh;
    }
    
    .hero-layout {
        flex-direction: column;
        gap: 0;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-media {
        display: none;
    }
    
    .hero-title {
        text-align: center;
    }
    
    .hero-subtitle {
        text-align: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .trust-row {
        justify-content: center;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .logo-image {
        height: 50px;
    }
    
    .footer-brand .logo-image {
        height: 32px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .banner-title {
        font-size: 2rem;
    }
    
    .banner-subtitle {
        font-size: 1.1rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-subtitle {
        font-size: 1.1rem;
    }
    
    .case-study-card {
        flex: 0 0 300px;
        min-width: 300px;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-image img {
        width: 80px;
        height: 80px;
    }
    
    .testimonials-carousel {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    /* Tablet spacing adjustments */
    .hero {
        padding-bottom: 40px;
    }
    
    .brands-section {
        padding: 40px 0 24px 0;
    }
    
    .metrics-strip,
    .solutions-section,
    .tailored-solutions-banner,
    .case-studies-section,
    .team-section,
    .testimonials-section,
    .cta-section {
        padding: 16px 0 24px;
    }
    
    .testimonials-section {
        padding: 12px 0 24px;
    }
    
    .solutions-section {
        padding: 20px 0 40px;
    }
    
    .brands-section {
        padding: 32px 0;
    }
    
    .platforms-section {
        padding: 32px 0;
    }
    
    .footer {
        padding: 40px 0 30px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .team-image img {
        width: 80px;
        height: 80px;
    }
    
    .platforms-grid {
        gap: 1rem;
    }
    
    .platform-logo {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* Mobile spacing adjustments */
    .hero {
        padding-bottom: 24px;
    }
    
    .brands-section {
        padding: 40px 0 16px 0;
    }
    
    .metrics-strip,
    .solutions-section,
    .tailored-solutions-banner,
    .case-studies-section,
    .team-section,
    .testimonials-section,
    .cta-section {
        padding: 16px 0 24px;
    }
    
    .solutions-section {
        padding: 16px 0 24px;
    }
    
    .brands-section {
        padding: 24px 0;
    }
    
    .platforms-section {
        padding: 24px 0;
    }
    
    .footer {
        padding: 24px 0 20px;
    }
}

/* ========== Case Studies Carousel arrows (scoped) ========== */
.case-studies-section .case-studies-wrapper {
    position: relative;
    }

/* Keep horizontal scroll (for fallback), hide the native bar */
.case-studies-section #case-studies-grid {
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 0.5rem;
    -ms-overflow-style: none;       /* IE/Edge */
    scrollbar-width: none;          /* Firefox */
    }
.case-studies-section #case-studies-grid::-webkit-scrollbar {
    display: none;                  /* Chrome/Safari */
    }

/* Arrow buttons */
.case-studies-section .cs-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 9999px;
    background: rgba(0,0,0,0.5);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
    z-index: 2;
    }

/* Default blue background and white text */
.solution-tile {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);  /* Blue background */
    color: #ffffff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

/* If the card has the white-background class, change to white background and black text */
.solution-tile.white-background {
    background: #ffffff;  /* White background */
    color: #111827 !important;  /* Force black text */
}

/* Override text color within the white background card */
.solution-tile.white-background h3,
.solution-tile.white-background .tile-title,
.solution-tile.white-background li,
.solution-tile.white-background p,
.solution-tile.white-background .tile-logo {
    color: #111827 !important;  /* Force black text */
}

.solution-tile.white-background .tile-logo {
    color: #111827 !important;  /* Make sure the emoji/logo is also black */
}


.case-studies-section .cs-arrow:hover {
    background: rgba(0,0,0,0.75);
    transform: translateY(-50%) scale(1.05);
    }

.case-studies-section .cs-arrow.left  { left: -16px; }
.case-studies-section .cs-arrow.right { right: -16px; }

/* Disabled state when at edges */
.case-studies-section .cs-arrow.disabled {
    opacity: 0.35;
    pointer-events: none;
    }

/* Optional: hide arrows on small screens (swipe works) */
@media (max-width: 640px) {
    .case-studies-section .cs-arrow { display: none; }
    }

/* Container for both banner-left and banner-right */
.banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Aligns the left and right sections side by side */
    gap: 4rem;
    width: 100%; /* Ensures it takes up the full width */
}

/* For the left side of the banner */
.banner-left {
    flex: 2; /* Makes the left content take up more space */
    max-width: 70%; /* Optional: limits the width of the left section */
}

/* For the right side of the banner */
.banner-right {
    flex: 1; /* Makes the right content take up less space */
    margin-left: 20px; /* Adds space between left and right */
}

.banner-image {
    width: 100%;
    height: 60vh; /* You can adjust this height value */
    overflow: hidden;
    display: flex;
    justify-content: flex-end; /* Moves the image towards the right */
    align-items: center;
    padding-right: 200px; /* Adds padding to the right to control space */
}

/* Image styling */
.banner-image img {
    width: auto;  /* Allow image to keep its aspect ratio */
    height: 100%;  /* Ensure the image fills the container's height */
    object-fit: cover;  /* Ensures the image covers the entire container */
    display: block;
}

/* Mobile Layout: Adjustments for smaller screens */
@media (max-width: 768px) {
    .banner-content {
        flex-direction: column; /* Stack the content vertically */
        gap: 3rem; /* Adds spacing between elements */
        text-align: center; /* Centers the text on small screens */
    }

    .banner-left {
        max-width: 100%; /* Full width for the left content on mobile */
        flex: 1; /* Ensures the left section uses all available space */
    }

    .banner-right {
        max-width: 100%; /* Full width for the right content on mobile */
        flex: 1; /* Ensures the right section uses all available space */
        margin-left: 0; /* Removes the left margin when stacked */
    }

    .banner-image img {
        width: 100%; /* Ensures the image fills the container on mobile */
        height: auto; /* Maintains aspect ratio of the image */
    }
}

/* Optional: Make the image and banner adjust when resized */
.banner-right {
    display: flex;
    justify-content: center;  /* Ensures the image stays centered */
    align-items: center;      /* Centers the image vertically */
}

/* Optional: Hover effect on the image */
.banner-image:hover img {
    transform: scale(1.05); /* Slight zoom effect when hovering over the image */
    transition: transform 0.3s ease;
}
