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

body {
    font-family: 'Avenir', 'Satoshi', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
}

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

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 32px;
    color: #1a1a1a;
    text-align: center;
}

.logo {
    font-size: 20px;
    font-weight: 600;
    color: #666;
    text-decoration: none;
}

.logo:hover {
    color: #1a1a1a;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: #666;
    font-weight: 400;
    /*font-size: 14px;*/
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #1a1a1a;
}

/* Case Study Hero */
.case-hero {
    padding: 90px 0 60px; /* Reduced to 90 from 120px*/
    text-align: center;
}

.case-study-hero-image{
    display: block;
    width: 100%;
    margin: 16px auto;
    border-radius: 40px;
}

.case-tag {
    display: inline-block;
    background: #f0f0f0;
    color: #666;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-transform: lowercase;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}

.case-hero h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 48px;
    /*color:#764ba2;*/
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/*Project Summary Row */
.project-details {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

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

.detail-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.detail-value {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
}

/* Project Overview Section */
.overview {
    padding: 40px 0;
    background-color: #fafafa;
}

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

.overview-text {
    font-size: 24px;
    color: #1a1a1a;
    line-height: 1.5;
    font-weight: 400;
    max-width: 1200px; /*Inreased from 700px */
    margin: 0 auto;
}


/* Content Sections */
.content-section {
    padding: 60px 0;
}

.content-section-narrow {
    padding: 20px 0;
}

.content-section.alt-bg {
    background-color: #fafafa;
}

.content-section.goal-section {
    /*background-color: #fafafa;*/
    background: linear-gradient(125deg, var(--token-7271da1b-9f0a-41bd-91b9-d7098d8944de, #f4edff) 0%, var(--token-a37e6c3e-a10c-437b-b258-07d1d49555da, rgb(252, 235, 239)) 100%);
}

.content-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #1a1a1a;
}

.content-section p {
    font-size: 18px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.content-section-narrow p {
    font-size: 18px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Goal Section */
.goal-text {
    font-size: 20px;
    font-weight: 400;
    color: white;
    margin-bottom: 32px;
}

/* Process steps */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin: auto;
    padding: 24px 0px; /* Top and bottom padding only */
    width: 80%;
}

.process-grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin: auto;
    padding: 24px;
    width: 100%;
}

/* Solution Overview */
.solution-overview {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.solution-content {
    max-width: 1200px;
    margin: 0 auto;
}

.solution-text {
    font-size: 22px;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 32px;
}

.solution-goal {
    font-size: 18px;
    font-weight: 400;
    opacity: 0.9;
    line-height: 1.6;
}

/* Project Use Case Grid */

.project-usecase-row{
    display: flex;
    /*flex-wrap: wrap;*/
    margin: auto;
    align-items: center;
    gap: 40px;
}

.project-usecase-row-v1{
    display: flex;
    margin: auto;
}

.project-usecase-image{
    display: block;
    width: 100%;
    margin: 16px auto;
}

.project-usecase-column-left{
     width: 50%;
     padding: 20px;
}


.project-usecase-column-right{
     width: 50%;
     padding: 20px;
}


/* Features Section */
.features {
    padding: 80px 0;
    background-color: #ffffff;
}


.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.feature-card {
    text-align: center;
    padding: 40px 24px;
    background: linear-gradient(130deg, var(--token-7271da1b-9f0a-41bd-91b9-d7098d8944de, #f4edff) 0%, var(--token-a37e6c3e-a10c-437b-b258-07d1d49555da, rgb(252, 235, 239)) 100%);
    border-radius: 40px;
    box-shadow: 0 .6021873017743928px 1.8065619053231785px -1.25px #0000002e, 0 2.288533303243457px 6.8655999097303715px -2.5px #00000029, 0 10px 30px -3.75px #0000000f;  
}


.feature-card img {
    display: block;
    width: 100%;
    margin: 16px auto;
    padding: 16px;
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.feature-card p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

.feature-text {
    font-size: 18px;
    font-weight: 400;
    color: #666;
    line-height: 1.7;
    margin-bottom: 32px;
}


.feature-card-v1 {
    text-align: center;
    padding: 40px 24px;
    background: linear-gradient(130deg, var(--token-7271da1b-9f0a-41bd-91b9-d7098d8944de, #f4edff) 0%, var(--token-a37e6c3e-a10c-437b-b258-07d1d49555da, rgb(252, 235, 239)) 100%);
    border-radius: 40px;
    box-shadow: 0 .6021873017743928px 1.8065619053231785px -1.25px #0000002e, 0 2.288533303243457px 6.8655999097303715px -2.5px #00000029, 0 10px 30px -3.75px #0000000f;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 40px;
    height: 720px;
    justify-content: flex-start;
    overflow: hidden;
    padding: 40px;
    position: relative;
    width: 1080px;
    will-change: var(--framer-will-change-override, transform);
    z-index: 0;    
}

/* Results Section */
.results {
    padding: 80px 0;
    background-color: #fafafa;
}

.results h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #1a1a1a;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.results-intro {
    /*text-align: center;*/
    margin-top: 64px;
    margin-bottom: 64px;
}

.results-intro p {
    font-size: 18px;
    color: #666;
    line-height: 1.7;
    max-width: 1200px;
    margin: 0 auto;
}

.results-image{
    display: block;
    width: 100%;
    margin: 16px auto;
}

.result-card {
    background: white;
    padding: 40px 32px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.result-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.result-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.result-card p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

/*Metics and numbers */

.numbers-grid {
    display: grid;
    /*grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));*/
    grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
    gap: 16px;
    text-align: center;
}

.number-card {
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.number-card h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.number-card p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

.number-card a {
    color: #05A0D1;
    text-decoration: none;
    font-weight: 500;
}



/*Launch Announcements*/

.launch-hero {
    padding: 0px; /* Reduced to 90 from 120px*/
    text-align: center;
}

.launch-hero-image{
    display: block;
    width: 50%;
    margin: 16px auto;
    border-radius: 8px;
}

.launch-announcements {
    margin: 60px 0;
    width: 80%; /* Changed from 960px*/
}

.launch-announcements a{
    text-decoration: none;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 32px;
    padding: 60px;
    color: #1a1a1a;
    text-align: center;
}


.announcements-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.announcement-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid #f0f0f0;
}

.announcement-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: #e0e0e0;
}

.announcement-logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
}

.announcement-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-placeholder {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 16px;
}

.announcement-content {
    flex: 1;
    min-width: 0;
}

.announcement-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.4;
}

.announcement-subtitle {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 8px;
}

.announcement-meta {
    font-size: 14px;
    color: #999;
    font-weight: 500;
}

.announcement-source {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 16px;
}

.external-link-icon {
    width: 16px;
    height: 16px;
    opacity: 0.6;
}

.link-icon-arrow{
     viewBox:0 0 24 24;
    fill:none;
    stroke::currentColor;
    stroke-width:2;
    stroke-linecap:round;
    stroke-linejoin:round;   
}


/* Back to Portfolio */
.back-to-portfolio {
    padding: 60px 0;
    text-align: center;
}

.back-button {
    display: inline-block;
    padding: 16px 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.back-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.animate-on-scroll.visible {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .case-hero h1 {
        font-size: 40px;
    }

    .project-details {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .overview-text {
        font-size: 20px;
    }

    .content-section h2 {
        font-size: 28px;
    }

    .content-section p {
        font-size: 16px;
    }

    .solution-text {
        font-size: 20px;
    }

    .features-grid,
    .results-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .nav-links {
        display: none;
    }
}

@media (max-width: 480px) {
    .case-hero h1 {
        font-size: 32px;
    }

    .project-details {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .overview-text {
        font-size: 18px;
    }

    .content-section h2 {
        font-size: 24px;
    }

    .solution-text {
        font-size: 18px;
    }
}


/* Responsive Design */
@media (max-width: 768px) {
body {
    padding: 20px;
}

.section-title {
    font-size: 28px;
}

.announcement-item {
    padding: 20px;
    gap: 12px;
}

.announcement-logo {
    width: 40px;
    height: 40px;
}

.logo-placeholder {
    width: 28px;
    height: 28px;
    font-size: 16px;
}

.announcement-title {
    font-size: 16px;
}
}

/* Loading state */
@keyframes shimmer {
0% { background-position: -200px 0; }
100% { background-position: calc(200px + 100%) 0; }
}

.shimmer {
background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
background-size: 200px 100%;
animation: shimmer 1.5s infinite;
}


/* Newly added - Solution Section - incorporates slidedeck controls */

.solutions {
    padding: 80px 0;
    background-color: #ffffff;
}

.solution-container {
    max-width: 1200px;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

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

.solution-title {
    font-size: 3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.solution-subtitle {
    font-size: 1.2rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.slider-frame {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    margin-bottom: 2rem;
    /*background: #f8fafc;*/
    /*border: 2px solid #e2e8f0;*/
}

.cards-container {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
    will-change: transform;
}

.solution-card {
    min-width: 100%; /* initial 100% */
    padding: 2rem;
    background: linear-gradient(135deg, #fef3f2 0%, #fef2f2 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    margin: 1rem; /* initial 1 rem */
}

.solution-card:nth-child(1) {
    background: linear-gradient(135deg, #fef3f2 0%, #fef2f2 100%);
}

.solution-card:nth-child(2) {
    background: linear-gradient(135deg, #f0fdf4 0%, #f0f9ff 100%);
}

.solution-card:nth-child(3) {
    background: linear-gradient(135deg, #fefce8 0%, #fdf4ff 100%);
}

.card-image {
    /*width: 100%;*/
    max-width: 720px; /* initial 400px */
    height: auto; /* initial 250px */
    object-fit: cover;
    border-radius: 12px;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.card-content {
    width: 100%;
    max-width: 500px;
}

.card-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.card-description {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 0.75rem;
    max-width: 100%;
}

.controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.control-btn {
    width: 25px; /* reduced it from 50px */
    height: 25px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.control-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.control-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.indicators {
    display: flex;
    gap: 0.5rem;
}

.indicator {
    width: 8px; /* reduced it from 12px */
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    transform: scale(1.2);
}

.card-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .solution-container {
        padding: 1.5rem;
        margin: 1rem;
    }

    .solution-title {
        font-size: 2rem;
    }

    .solution-card {
        padding: 1.5rem;
        margin: 0.5rem;
    }

    .card-image {
        height: 200px;
    }

    .card-title {
        font-size: 1.5rem;
    }

    .card-description {
        font-size: 0.95rem;
    }
}