:root {
    --primary-pink: #F63F8C;
    --secondary-teal: #2DD4BF;
    --accent-purple: #8B5CF6;
    --dark-gray: #1F2937;
    --light-gray: #F9FAFB;
    --white: #FFFFFF;
    --text-dark: #374151;
    --text-light: #6B7280;
    --border-light: #E5E7EB;
}

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

body {
    font-family: 'DM Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

/* Navigation - Fixed positioning like other pages */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-pink);
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-pink);
}

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

/* Header */
.header {
    background: linear-gradient(135deg, #0d9488, #14b8a6);
    color: white;
    padding: 120px 0 80px; /* Added top padding for fixed nav */
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="rgba(255,255,255,0.1)"><polygon points="0,0 1000,80 1000,100 0,100"/></svg>') no-repeat bottom;
    background-size: cover;
}

.header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 24px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}

.header .subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    opacity: 0.95;
    font-weight: 400;
    position: relative;
    z-index: 1;
}

/* Main Content */
.content {
    background: white;
    border-radius: 20px;
    padding: 60px 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    margin: 40px 0;
}

h2 {
    font-size: 2.2rem;
    color: var(--primary-pink);
    margin-bottom: 30px;
    font-weight: 700;
}

h3 {
    font-size: 1.8rem;
    color: var(--secondary-teal);
    margin: 40px 0 20px;
    font-weight: 600;
}

h4 {
    font-size: 1.4rem;
    color: var(--accent-purple);
    margin: 30px 0 15px;
    font-weight: 600;
}

p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Image Placeholders */
.image-placeholder {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border: 2px dashed #cbd5e0;
    border-radius: 16px;
    padding: 60px 40px;
    text-align: center;
    margin: 30px 0;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.image-placeholder:hover {
    border-color: var(--secondary-teal);
    background: linear-gradient(135deg, #f0fdfa, #ecfdf5);
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(45, 212, 191, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.image-icon {
    font-size: 4rem;
    background: linear-gradient(135deg, var(--primary-pink), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    display: block;
}

.image-text {
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 8px;
}

.image-description {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* Process Overview */
.process-overview {
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.1), rgba(139, 92, 246, 0.1));
    padding: 30px;
    border-radius: 15px;
    margin: 30px 0;
    border-left: 5px solid var(--secondary-teal);
}

/* Timeline */
.timeline {
    position: relative;
    margin: 60px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary-pink), var(--secondary-teal), var(--accent-purple));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin: 50px 0;
    padding: 0 50px;
}

.timeline-item:nth-child(odd) {
    text-align: right;
    padding-right: 50%;
    padding-left: 0;
}

.timeline-item:nth-child(even) {
    padding-left: 50%;
    padding-right: 0;
}

.timeline-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(45, 212, 191, 0.2);
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background: var(--primary-pink);
    border: 4px solid white;
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -60px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -60px;
}

.phase-title {
    color: var(--primary-pink);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.phase-duration {
    color: var(--accent-purple);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

/* Prototype Table */
.prototype-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.prototype-table th {
    background: linear-gradient(135deg, var(--primary-pink), var(--accent-purple));
    color: white;
    padding: 20px 15px;
    font-weight: 600;
    text-align: left;
}

.prototype-table td {
    padding: 15px;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: top;
}

.prototype-table tr:hover {
    background: rgba(45, 212, 191, 0.05);
}

.phase-label {
    background: var(--secondary-teal);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 10px;
}

/* Learning Cards */
.learning-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.learning-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-top: 4px solid;
    transition: transform 0.3s ease;
}

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

.learning-card:nth-child(1) { border-top-color: var(--primary-pink); }
.learning-card:nth-child(2) { border-top-color: var(--secondary-teal); }
.learning-card:nth-child(3) { border-top-color: var(--accent-purple); }

.learning-title {
    color: var(--primary-pink);
    font-weight: 600;
    margin-bottom: 15px;
}

/* Key Learnings Section */
.key-learnings {
    background: linear-gradient(135deg, rgba(246, 63, 140, 0.05), rgba(139, 92, 246, 0.05));
    padding: 40px;
    border-radius: 20px;
    margin: 40px 0;
}

.stream-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.stream-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.stream-card.survey { border-left-color: var(--primary-pink); }
.stream-card.dashboard { border-left-color: var(--secondary-teal); }
.stream-card.website { border-left-color: var(--accent-purple); }

.stream-title {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.stream-card.survey .stream-title { color: var(--primary-pink); }
.stream-card.dashboard .stream-title { color: var(--secondary-teal); }
.stream-card.website .stream-title { color: var(--accent-purple); }

/* Refining Phase */
.refining-section {
    background: rgba(45, 212, 191, 0.1);
    padding: 30px;
    border-radius: 15px;
    margin: 40px 0;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .nav-links a {
        font-size: 0.9rem;
    }

    .logo {
        font-size: 1.3rem;
    }

    .container {
        padding: 0 15px;
    }

    .content {
        padding: 40px 20px;
        margin: 20px 0;
    }

    .header {
        padding: 100px 0 60px;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        padding-left: 60px !important;
        padding-right: 20px !important;
        text-align: left !important;
    }

    .timeline-item .timeline-content::before {
        left: -60px !important;
    }

    .prototype-table {
        font-size: 0.85rem;
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .prototype-table thead,
    .prototype-table tbody,
    .prototype-table th,
    .prototype-table td,
    .prototype-table tr {
        display: block;
    }

    .prototype-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .prototype-table tr {
        border: 1px solid #ccc;
        margin-bottom: 10px;
        padding: 15px;
        border-radius: 8px;
        background: white;
        white-space: normal;
    }

    .prototype-table td {
        border: none;
        padding: 8px 0;
        position: relative;
        padding-left: 50%;
    }

    .prototype-table td:before {
        content: attr(data-label) ": ";
        position: absolute;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        font-weight: 600;
        color: var(--primary-pink);
    }

    .learning-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stream-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .learning-card,
    .stream-card {
        padding: 20px;
    }

    .image-placeholder {
        padding: 40px 20px;
    }

    .image-icon {
        font-size: 3rem;
    }
}
/* Image Gallery Row */
.image-gallery {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.image-gallery-item {
    flex: 1;
    min-width: 250px;
    text-align: center;
}

.image-placeholder-small {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border: 2px dashed #cbd5e0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.image-placeholder-small:hover {
    border-color: var(--secondary-teal);
    background: linear-gradient(135deg, #f0fdfa, #ecfdf5);
}

.image-placeholder-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.placeholder-icon {
    font-size: 3rem;
    opacity: 0.6;
}

.image-caption {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-top: 8px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .image-gallery {
        flex-direction: column;
        gap: 15px;
    }

    .image-gallery-item {
        min-width: unset;
    }

    .image-placeholder-small {
        height: 150px;
    }
}
    /* Video styling to make it a decent size */
    .demo-placeholder {
        text-align: center;
        margin: 2rem 0;
    }

    .demo-icon {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 1rem;
    }

    .demo-icon iframe {
        width: 640px;           /* ← CHANGED: was 560px */
        height: 360px;          /* ← CHANGED: was 315px */
        max-width: 100%;        /* ← NEW: responsive scaling */
        border-radius: 12px;    /* ← NEW: rounded corners */
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);  /* ← NEW: better shadow */
        border: none;           /* ← NEW: clean appearance */
    }

    .demo-text {
        font-size: 1.2rem;
        font-weight: 600;
        color: #1f2937;
        margin-top: 1rem;
    }

    /* Responsive adjustments */
    @media (max-width: 768px) {
        .demo-icon iframe {
            width: 100%;        /* ← NEW: full width on tablets */
            height: 280px;      /* ← NEW: proportional height */
        }
    }

    @media (max-width: 480px) {
        .demo-icon iframe {
            width: 100%;        /* ← NEW: full width on mobile */
            height: 200px;      /* ← NEW: smaller height for mobile */
        }
    }


@media (max-width: 768px) {
    .demo-icon iframe {
        width: 100%;
        height: 200px;
    }
}
@media (max-width: 480px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.8rem;
    }

    .header {
        padding: 80px 0 50px;
    }

    .content {
        padding: 30px 15px;
        margin: 15px 0;
        border-radius: 15px;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .timeline-content {
        padding: 20px;
    }

    .phase-title {
        font-size: 1.1rem;
    }

    .prototype-table tr {
        padding: 12px;
    }

    .prototype-table td {
        padding: 6px 0;
        font-size: 0.8rem;
    }

    .process-overview,
    .refining-section {
        padding: 20px;
    }

    .image-placeholder {
        padding: 30px 15px;
    }

    .image-icon {
        font-size: 2.5rem;
    }

    .image-text {
        font-size: 1rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

section {
    scroll-margin-top: 80px;
}