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

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'SF Pro Display', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            background: #fff;
            color: #1d1d1f;
            line-height: 1.6;
            overflow-x: hidden;
        }

        /* Navigation */
        nav {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(255, 255, 255, 0.8);
            backdrop-filter: blur(20px);
            z-index: 1000;
            padding: 16px 0;
            border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        }

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

        .logo {
            font-size: 24px;
            font-weight: 600;
            cursor: pointer;
            transition: opacity 0.3s ease;
        }

        .logo:hover {
            opacity: 0.6;
        }

        .logo-box {
            position: relative;
            display: inline-block;
            width: 32px;
            height: 32px;
        }

        .box-top {
            position: absolute;
            top: 0;
            left: 6px;
            right: 0;
            height: 2px;
            background: #1d1d1f;
        }

        .box-right {
            position: absolute;
            top: 0;
            right: 0;
            bottom: 6px;
            width: 2px;
            background: #1d1d1f;
        }

        .logo-l {
            position: absolute;
            left: 0;
            bottom: 0;
            font-size: 20px;
            font-weight: 700;
            line-height: 1;
        }

        .logo-m {
            position: absolute;
            top: 50%;
            left: 55%;
            transform: translate(-50%, -55%);
            font-size: 20px;
            font-weight: 700;
        }

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

        .nav-links a {
            color: #1d1d1f;
            text-decoration: none;
            font-size: 14px;
            font-weight: 400;
            transition: opacity 0.3s ease;
            cursor: pointer;
        }

        .nav-links a {
  padding: 0.75rem 1rem;
  display: inline-block;
}


        .nav-links a:hover {
            opacity: 0.6;
        }

        .nav-links a.active {
            position: relative;
        }

        .nav-links a.active::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            right: 0;
            height: 1px;
            background: #1d1d1f;
        }

        /* Hero Section */
        .hero {
            margin-top: 100px;
            padding: 80px 40px 40px;
            text-align: center;
        }

        .hero h1 {
            font-size: 120px;
            font-weight: 500;
            letter-spacing: 0.02em;
            margin-bottom: 20px;
            color: #1d1d1f;
            line-height: 1.05;
        }

        .hero .subtitle {
            font-size: 14px;
            font-weight: 500;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: #86868b;
            margin-bottom: 12px;
        }

        .hero p {
            font-size: 20px;
            color: #6e6e73;
            max-width: 600px;
            margin: 0 auto;
        }

        /* Project Grid */
        .projects-container {
            max-width: 1200px;
            margin: 80px auto;
            padding: 0 40px;
        }

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

        .project-card {
            background: #f5f5f7;
            border-radius: 16px;
            overflow: hidden;
            cursor: pointer;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .project-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        }

        .project-image {
            width: 100%;
            height: 300px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 48px;
            color: white;
            font-weight: 700;
        }

        .project-card:nth-child(2) .project-image {
            background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
        }

        .project-card:nth-child(3) .project-image {
            background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
        }

        .project-content {
            padding: 32px;
        }

        .project-content h2 {
            font-size: 28px;
            font-weight: 700;
            margin-bottom: 12px;
        }

        .project-content p {
            font-size: 16px;
            color: #6e6e73;
            line-height: 1.6;
        }

        /* About/Contact Pages */
        .content-page {
            max-width: 800px;
            margin: 0 auto;
            padding: 180px 40px 80px;
        }

        .content-page h1 {
            font-size: 56px;
            font-weight: 700;
            margin-bottom: 40px;
        }

        .content-page section {
            margin-bottom: 60px;
        }

        .expandable-section {
            margin-bottom: 24px;
            border-bottom: 1px solid #d2d2d7;
            padding-bottom: 24px;
        }

        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
            padding: 20px 0;
            transition: opacity 0.3s ease;
        }

        .section-header h2 {
            font-size: 28px;
            font-weight: 600;
            margin: 0;
        }

        .expand-icon {
            font-size: 28px;
            font-weight: 300;
            color: #86868b;
            transition: transform 0.3s ease;
        }

        .expandable-section.expanded .expand-icon {
            transform: rotate(45deg);
        }

        .section-content {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease;
        }

        .expandable-section.expanded .section-content {
            max-height: 1000px;
            padding-top: 12px;
        }

        .content-page h2 {
            font-size: 32px;
            font-weight: 700;
            margin-bottom: 20px;
        }

        .content-page p {
            font-size: 17px;
            color: #6e6e73;
            line-height: 1.7;
            margin-bottom: 16px;
        }

        .intro-text {
            font-size: 24px;
            font-weight: 600;
            color: #1d1d1f;
        }

        /* Case Study Page */
        .case-study {
            max-width: 900px;
            margin: 0 auto;
            padding: 100px 40px 80px;
        }

        .case-study,
#smartcart,
#minyan {
  padding-left: 1rem;
  padding-right: 1rem;
  overflow: hidden;
}

@media (min-width: 769px) {
  .case-study,
  #smartcart,
  #minyan {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}


        .case-study-header {
            margin-bottom: 60px;
        }

        .case-study-header h1 {
            font-size: 56px;
            font-weight: 700;
            margin-bottom: 20px;
        }

        .case-study-meta {
            display: flex;
            gap: 40px;
            font-size: 14px;
            color: #6e6e73;
            margin-top: 20px;
        }

        .case-study-section {
            margin-bottom: 80px;
        }

        .case-study-section h2 {
            font-size: 36px;
            font-weight: 700;
            margin-bottom: 24px;
        }

        .case-study-section p {
            font-size: 17px;
            color: #6e6e73;
            line-height: 1.8;
            margin-bottom: 20px;
        }

        .case-study-image-placeholder {
            width: 100%;
            height: 400px;
            background: #f5f5f7;
            border-radius: 16px;
            margin: 40px 0;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #6e6e73;
            font-size: 18px;
        }

        /* Enhanced Case Study Styles */
        .cs-hero {
            background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
            padding: 60px 40px;
            margin: 0 0 60px 0;
            border-radius: 24px;
            text-align: center;
            color: white;
        }

        .cs-hero h1 {
            font-size: 64px;
            font-weight: 700;
            margin-bottom: 16px;
        }

        .cs-hero .tagline {
            font-size: 20px;
            opacity: 0.8;
            max-width: 600px;
            margin: 0 auto 40px;
            line-height: 1.6;
        }

        .cs-meta-grid {
            display: flex;
            justify-content: center;
            gap: 60px;
            flex-wrap: wrap;
            margin-top: 40px;
        }

        .cs-meta-item {
            text-align: center;
        }

        .cs-meta-item .label {
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            opacity: 0.6;
            margin-bottom: 8px;
        }

        .cs-meta-item .value {
            font-size: 16px;
            font-weight: 500;
        }

        .cs-section {
  margin-bottom: 4rem;
  width: 100%;
  box-sizing: border-box;
}


        .cs-section-label {
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: 2px;
            color: #6e6e73;
            margin-bottom: 16px;
        }

        .cs-section h2 {
            font-size: 40px;
            font-weight: 700;
            margin-bottom: 24px;
            color: #1d1d1f;
        }

        .cs-section h3 {
            font-size: 28px;
            font-weight: 600;
            margin-bottom: 16px;
            color: #1d1d1f;
        }

        .cs-section p {
            font-size: 18px;
            color: #6e6e73;
            line-height: 1.8;
            margin-bottom: 20px;
        }

        .cs-callout {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            border-left: 4px solid #1d1d1f;
            padding: 32px;
            border-radius: 0 16px 16px 0;
            margin: 40px 0;
        }

        .cs-callout p {
            font-size: 20px;
            font-weight: 500;
            color: #1d1d1f;
            margin: 0;
            font-style: italic;
        }

        .cs-image-placeholder {
            width: 100%;
            min-height: 300px;
            background: linear-gradient(135deg, #f5f5f7 0%, #e8e8ed 100%);
            border-radius: 16px;
            margin: 40px 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: #86868b;
            font-size: 16px;
            border: 2px dashed #d2d2d7;
            padding: 40px;
            text-align: center;
        }

        .cs-image-placeholder .placeholder-icon {
            font-size: 48px;
            margin-bottom: 16px;
            opacity: 0.5;
        }

        .cs-image-placeholder .placeholder-text {
            font-weight: 500;
            margin-bottom: 8px;
        }

        .cs-image-placeholder .placeholder-hint {
            font-size: 14px;
            opacity: 0.7;
        }

        .cs-list {
            list-style: none;
            padding: 0;
            margin: 24px 0;
        }

        .cs-list li {
            font-size: 17px;
            color: #6e6e73;
            padding: 12px 0 12px 32px;
            position: relative;
            line-height: 1.6;
        }

        .cs-list li::before {
            content: '';
            position: absolute;
            left: 0;
            top: 20px;
            width: 8px;
            height: 8px;
            background: #1d1d1f;
            border-radius: 50%;
        }

        .cs-grid-2 {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 24px;
            margin: 40px 0;
        }

        .cs-grid-3 {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
            margin: 40px 0;
        }

        .cs-card {
            background: #f5f5f7;
            border-radius: 16px;
            padding: 32px;
        }

        .cs-card h4 {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 12px;
            color: #1d1d1f;
        }

        .cs-card p {
            font-size: 15px;
            color: #6e6e73;
            margin: 0;
            line-height: 1.6;
        }

        .cs-insight-card {
            background: #1d1d1f;
            color: white;
            border-radius: 16px;
            padding: 32px;
        }

        .cs-subsection {
            margin-bottom: 40px;
        }

        .cs-subsection h3 {
            font-size: 22px;
            font-weight: 600;
            margin-bottom: 12px;
            color: #1d1d1f;
        }

        .cs-subsection p {
            font-size: 16px;
            color: #6e6e73;
            line-height: 1.6;
        }

        .cs-insight-card h4 {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 12px;
            color: white;
        }

        .cs-insight-card p {
            font-size: 15px;
            color: rgba(255,255,255,0.7);
            margin: 0;
            line-height: 1.6;
        }

        .cs-persona-card {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border-radius: 20px;
            padding: 48px;
            margin: 40px 0;
        }

        .cs-persona-card h4 {
            font-size: 14px;
            text-transform: uppercase;
            letter-spacing: 2px;
            opacity: 0.8;
            margin-bottom: 8px;
        }

        .cs-persona-card h3 {
            font-size: 32px;
            font-weight: 700;
            margin-bottom: 20px;
            color: white;
        }

        .cs-persona-card p {
            font-size: 18px;
            color: rgba(255,255,255,0.9);
            line-height: 1.7;
            margin-bottom: 24px;
        }

        .cs-persona-traits {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            margin-top: 24px;
        }

        .cs-trait {
            background: rgba(255,255,255,0.2);
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 14px;
        }

        .cs-testing-card {
            background: #f5f5f7;
            border-radius: 16px;
            padding: 32px;
            margin: 24px 0;
        }

        .cs-testing-card h4 {
            font-size: 20px;
            font-weight: 600;
            margin-bottom: 16px;
            color: #1d1d1f;
        }

        .cs-divider {
            height: 1px;
            background: #d2d2d7;
            margin: 80px 0;
        }

        .cs-solution-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 32px;
            margin: 40px 0;
        }

        .cs-solution-card {
            background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
            border: 1px solid #e8e8ed;
            border-radius: 20px;
            padding: 32px;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .cs-solution-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 32px rgba(0,0,0,0.08);
        }

        .cs-solution-card h4 {
            font-size: 20px;
            font-weight: 600;
            margin-bottom: 12px;
            color: #1d1d1f;
        }

        .cs-solution-card p {
            font-size: 16px;
            color: #6e6e73;
            margin: 0;
            line-height: 1.6;
        }

        .cs-reflection {
            background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
            color: white;
            border-radius: 24px;
            padding: 60px;
            margin: 60px 0;
        }

        .cs-reflection h2 {
            color: white;
            margin-bottom: 32px;
        }

        .cs-reflection p {
            color: rgba(255,255,255,0.8);
        }

        .cs-reflection-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 32px;
            margin-top: 40px;
        }

        .cs-reflection-item h4 {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 12px;
            color: white;
        }

        .cs-reflection-item p {
            font-size: 15px;
            color: rgba(255,255,255,0.7);
            line-height: 1.6;
            margin: 0;
        }

        @media (max-width: 768px) {
            .cs-hero h1 {
                font-size: 40px;
            }

            .cs-meta-grid {
                gap: 30px;
            }

            .cs-section h2 {
                font-size: 32px;
            }

            .cs-grid-2,
            .cs-grid-3,
            .cs-solution-grid,
            .cs-reflection-grid {
                grid-template-columns: 1fr;
            }

            .cs-persona-card {
                padding: 32px;
            }

            .cs-reflection {
                padding: 40px 24px;
            }
        }

        /* Contact Cards */
        .contact-grid {
            display: grid;
            gap: 24px;
            margin-top: 40px;
        }

        .contact-card {
            display: block;
            padding: 32px;
            background: #f5f5f7;
            border-radius: 12px;
            text-decoration: none;
            color: #1d1d1f;
            transition: background 0.3s ease;
        }

        .contact-card:hover {
            background: #e8e8ed;
        }

        .contact-card strong {
            font-size: 20px;
            display: block;
            margin-bottom: 8px;
        }

        .contact-card span {
            color: #6e6e73;
            font-size: 14px;
        }

        /* Footer */
        footer {
            background: #f5f5f7;
            padding: 60px 40px;
            margin-top: 120px;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            text-align: center;
        }

        .footer-content p {
            color: #6e6e73;
            font-size: 14px;
            margin-bottom: 8px;
        }

        #minyan .cs-section {
  margin-left: auto;
  margin-right: auto;
}

.cs-section img,
.cs-section picture {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

        /* Page visibility */
        .page {
            display: none;
        }

        @media (max-width: 768px) {
  .page,
  .case-study,
  .content-page {
    padding-top: 5rem;
  }
}

        .page.active {
            display: block;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .hero h1 {
                font-size: 56px;
            }

            .projects-grid {
                grid-template-columns: 1fr;
            }

            .case-study-header h1,
            .content-page h1 {
                font-size: 40px;
            }
        }

        /* ========== COMPREHENSIVE MOBILE STYLES ========== */
        
        /* Mobile Navigation */
        @media (max-width: 768px) {
            nav {
                padding: 12px 20px;
            }
            
            .nav-container {
                flex-direction: column;
                gap: 15px;
            }
            
            .nav-links {
                gap: 12px;
                flex-wrap: nowrap;
                justify-content: center;
            }
            
            .nav-links li a {
                font-size: 14px;
            }
        }
        
        /* Mobile Hero */
        @media (max-width: 768px) {
            .hero {
                padding: 100px 20px 60px;
                min-height: auto;
            }
            
            .hero h1 {
                font-size: 36px;
                line-height: 1.2;
            }
            
            .hero p {
                font-size: 16px;
            }
        }

        /* Mobile Header overlap */
        @media (max-width: 768px) {
  .page,
  .case-study,
  .content-page {
    padding-top: 5rem;
  }
}

        
        /* Mobile Project Cards */
        @media (max-width: 768px) {
            .projects-grid {
                grid-template-columns: 1fr;
                padding: 0 20px;
                gap: 24px;
            }
            
            .project-card {
                margin-bottom: 0;
            }
            
            .project-image {
                height: 200px;
            }
            
            .project-content {
                padding: 20px;
            }
            
            .project-content h2 {
                font-size: 22px;
            }
            
            .project-content p {
                font-size: 14px;
            }
        }
        
        /* Mobile Case Study */
        @media (max-width: 768px) {
            .cs-hero {
                padding: 40px 20px;
                min-height: auto;
            }
            
            .cs-hero h1 {
                font-size: 32px;
            }
            
            .cs-hero p {
                font-size: 16px;
            }
            
            .cs-meta-grid {
                grid-template-columns: 1fr 1fr;
                gap: 20px;
            }
            
            .cs-meta-item h4 {
                font-size: 11px;
            }
            
            .cs-meta-item p {
                font-size: 14px;
            }
            
            .cs-section {
                padding: 50px 20px 0px 20px;
                margin-bottom: 0;
            }

            .cs-section h2 {
                font-size: 26px;
                margin-bottom: 20px;
            }
            
            .cs-section > p {
                font-size: 15px;
            }
            
            .cs-persona-card {
                padding: 24px;
            }
            
            .cs-persona-card[style*="display: flex"] {
                flex-direction: column !important;
                gap: 20px !important;
                text-align: center;
            }
            
            .cs-persona-card[style*="display: flex"] > div[style*="flex-shrink"] {
                flex-shrink: 1 !important;
                margin: 0 auto;
            }
            
            .cs-persona-card[style*="display: flex"] img {
                width: 100px !important;
                height: 100px !important;
            }
            
            .cs-persona-header {
                flex-direction: column;
                text-align: center;
                gap: 15px;
            }
            
            .cs-persona-avatar {
                width: 80px;
                height: 80px;
                font-size: 32px;
            }
            
            .cs-persona-details {
                grid-template-columns: 1fr;
                gap: 16px;
            }
            
            .cs-quote {
                font-size: 18px;
                padding: 24px;
            }
            
            .cs-subsection h3 {
                font-size: 20px;
            }
            
            .cs-list li {
                font-size: 15px;
                padding-left: 24px;
            }
            
            .cs-highlight-box {
                padding: 24px;
            }
            
            .cs-highlight-box h4 {
                font-size: 16px;
            }
            
            .cs-solution-card {
                padding: 24px;
            }
            
            .cs-solution-card h4 {
                font-size: 18px;
            }
            
            .cs-reflection {
                padding: 30px 20px;
            }
            
            .cs-reflection h3 {
                font-size: 20px;
            }
            
            .cs-reflection-grid {
                gap: 30px;
            }
        }
        
        /* Mobile About Page */
        @media (max-width: 768px) {
            .content-page {
                padding: 100px 20px 60px;
            }
            
            .content-page h1 {
                font-size: 32px;
            }
            
            .content-page p {
                font-size: 16px;
            }
        }

        /* Mobile H1 Padding */

        .content-page h1 {
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .content-page h1 {
    margin-top: 3rem;
  }
}

        
        /* Mobile Contact */
        @media (max-width: 768px) {
            .contact-grid {
                grid-template-columns: 1fr;
            }
            
            .contact-card {
                padding: 24px;
            }
            
            .contact-card strong {
                font-size: 18px;
            }
        }
        
        /* Mobile Footer */
        @media (max-width: 768px) {
            footer {
                padding: 40px 20px;
                margin-top: 60px;
            }
        }
        
        /* Mobile Images */
        @media (max-width: 768px) {
            .cs-section img {
                border-radius: 8px;
            }
        }
        
        /* Extra small screens (phones in portrait) */
        @media (max-width: 480px) {
            .hero h1 {
                font-size: 28px;
            }
            
            .cs-hero h1 {
                font-size: 26px;
            }
            
            .cs-meta-grid {
                grid-template-columns: 1fr;
            }
            
            .cs-section h2 {
                font-size: 22px;
            }
            
            .cs-quote {
                font-size: 16px;
            }
            
            .nav-links {
                gap: 15px;
            }
            
            .nav-links li a {
                font-size: 13px;
            }
        }

        /* ========== LIGHTBOX STYLES ========== */
        .lightbox {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.9);
            z-index: 10000;
            justify-content: center;
            align-items: center;
            cursor: pointer;
        }

        .lightbox.active {
            display: flex;
        }

        .lightbox img {
            max-width: 90%;
            max-height: 90%;
            object-fit: contain;
            border-radius: 8px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
            cursor: default;
        }

        .lightbox-close {
            position: absolute;
            top: 20px;
            right: 30px;
            font-size: 40px;
            color: white;
            cursor: pointer;
            z-index: 10001;
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            transition: background 0.3s ease;
        }

        .lightbox-close:hover {
            background: rgba(255, 255, 255, 0.2);
        }

        /* Make images in case study clickable */
        .cs-section img,
        .cs-image-container img {
            cursor: pointer;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .cs-section img:hover,
        .cs-image-container img:hover {
            transform: scale(1.02);
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
        }

        /* Clickable image indicator */
        .clickable-image {
            position: relative;
            display: inline-block;
        }

        .clickable-image::after {
            content: "🔍 Click to enlarge";
            position: absolute;
            bottom: 15px;
            right: 15px;
            background: rgba(0, 0, 0, 0.7);
            color: white;
            padding: 6px 12px;
            border-radius: 6px;
            font-size: 12px;
            opacity: 0;
            transition: opacity 0.3s ease;
            pointer-events: none;
        }

        .clickable-image:hover::after {
            opacity: 1;
        }

        /* ========== MINYAN STANDALONE STYLES ========== */
        .minyan-container {
            max-width: 900px;
            margin: 0 auto;
            padding: 100px 40px 80px;
            overflow: hidden;
            box-sizing: border-box;
        }
        .minyan-hero {
            background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
            padding: 60px 40px;
            border-radius: 24px;
            text-align: center;
            color: white;
            margin-bottom: 60px;
        }
        .minyan-hero h1 {
            font-size: 56px;
            font-weight: 700;
            margin-bottom: 16px;
            color: white;
        }
        .minyan-tagline {
            font-size: 18px;
            opacity: 0.9;
            max-width: 600px;
            margin: 0 auto 32px;
        }
        .minyan-meta {
            display: flex;
            justify-content: center;
            gap: 40px;
            flex-wrap: wrap;
        }
        .minyan-meta-item {
            text-align: center;
        }
        .minyan-label {
            display: block;
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 1px;
            opacity: 0.7;
            margin-bottom: 4px;
        }
        .minyan-value {
            font-size: 14px;
            font-weight: 500;
        }
        .minyan-section {
            margin-bottom: 60px;
            width: 100%;
            box-sizing: border-box;
            overflow: hidden;
        }
        .minyan-section-label {
            display: block;
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: 2px;
            color: #1a365d;
            margin-bottom: 12px;
            font-weight: 600;
        }
        .minyan-section h2 {
            font-size: 32px;
            font-weight: 700;
            margin-bottom: 20px;
            color: #1d1d1f;
        }
        .minyan-section p {
            font-size: 17px;
            color: #424245;
            line-height: 1.7;
            margin-bottom: 16px;
        }
        .minyan-list {
            list-style: none;
            padding: 0;
            margin: 16px 0;
        }
        .minyan-list li {
            font-size: 16px;
            color: #424245;
            padding: 8px 0 8px 24px;
            position: relative;
        }
        .minyan-list li::before {
            content: "•";
            position: absolute;
            left: 0;
            color: #1a365d;
            font-weight: bold;
        }
        .minyan-quote {
            background: #f5f5f7;
            border-left: 4px solid #1a365d;
            padding: 24px;
            border-radius: 0 12px 12px 0;
            margin: 24px 0;
            font-style: italic;
            color: #424245;
        }
        .minyan-two-col {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            margin-top: 24px;
        }
        .minyan-box {
            background: #f5f5f7;
            border-radius: 16px;
            padding: 24px;
            width: 100%;
            box-sizing: border-box;
        }
        .minyan-box h4 {
            font-size: 17px;
            font-weight: 600;
            margin-bottom: 12px;
            color: #1d1d1f;
        }
        .minyan-box p {
            font-size: 15px;
            color: #6e6e73;
            margin: 0;
        }
        .minyan-img-placeholder {
            background: #e8e8ed;
            border-radius: 16px;
            padding: 48px;
            text-align: center;
            margin: 24px 0;
            font-size: 16px;
            color: #1d1d1f;
        }
        .minyan-img-placeholder small {
            color: #6e6e73;
        }
        .minyan-persona {
            display: flex;
            gap: 20px;
            background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
            border-radius: 20px;
            padding: 28px;
            margin-bottom: 20px;
            align-items: flex-start;
            color: white;
        }
        .minyan-persona-avatar {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: rgba(255,255,255,0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 24px;
            font-weight: 700;
            flex-shrink: 0;
        }
        .minyan-persona-role {
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: rgba(255,255,255,0.7);
        }
        .minyan-persona-info h3 {
            font-size: 22px;
            margin: 4px 0 8px;
            color: white;
        }
        .minyan-persona-info p {
            font-size: 15px;
            color: rgba(255,255,255,0.85);
            margin: 0;
        }
        .minyan-features {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            margin-top: 24px;
        }
        .minyan-feature {
            background: #f5f5f7;
            border-radius: 16px;
            padding: 24px;
        }
        .minyan-feature-icon {
            font-size: 28px;
            display: block;
            margin-bottom: 12px;
        }
        .minyan-feature h4 {
            font-size: 17px;
            font-weight: 600;
            margin-bottom: 8px;
            color: #1d1d1f;
        }
        .minyan-feature p {
            font-size: 14px;
            color: #6e6e73;
            margin: 0;
        }
        .minyan-reflection {
            background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
            color: white;
            border-radius: 24px;
            padding: 48px;
            margin: 60px 0;
            width: 100%;
            box-sizing: border-box;
            overflow: hidden;
        }
        .minyan-reflection h3 {
            font-size: 28px;
            margin-bottom: 16px;
            color: white;
        }
        .minyan-reflection > p {
            font-size: 17px;
            opacity: 0.9;
            margin-bottom: 0;
        }
        .minyan-reflection-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
            margin-top: 24px;
            width: 100%;
            box-sizing: border-box;
        }
        .minyan-reflection-item h4 {
            font-size: 16px;
            margin-bottom: 8px;
            color: white;
        }
        .minyan-reflection-item p {
            font-size: 14px;
            opacity: 0.7;
            margin: 0;
        }
        @media (max-width: 768px) {
            .minyan-container { padding: 80px 20px 60px; }
            .minyan-hero { padding: 40px 20px; }
            .minyan-hero h1 { font-size: 36px; }
            .minyan-meta { gap: 20px; }
            .minyan-section h2 { font-size: 26px; }
            .minyan-two-col, .minyan-features, .minyan-reflection-grid { grid-template-columns: 1fr; }
            .minyan-persona { flex-direction: column; text-align: center; }
            .minyan-reflection { padding: 32px 20px; }
        }

        /* Wireframe images grid */
        .wireframe-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 24px;
            margin: 40px 0;
        }
        .wireframe-grid img {
            width: 100%;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            cursor: pointer;
            background: #f5f5f7;
        }
        .wireframe-grid img:hover {
            transform: scale(1.02);
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
        }
        @media (max-width: 900px) {
            .wireframe-grid {
                grid-template-columns: 1fr;
            }
        }

        /* Slideshow styles */
        .slideshow-container {
            position: relative;
            max-width: 100%;
            margin: 40px auto;
            overflow: hidden;
            border-radius: 16px;
            box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
            background: #f5f5f7;
        }
        .slideshow-slides {
            display: flex;
            transition: transform 0.5s ease-in-out;
        }
        .slideshow-slide {
            min-width: 100%;
            position: relative;
        }
        .slideshow-slide img {
            width: 100%;
            display: block;
            cursor: pointer;
        }
        .slideshow-caption {
            text-align: center;
            padding: 16px 20px;
            background: #f5f5f7;
            font-size: 14px;
            color: #6e6e73;
            font-weight: 500;
        }
        .slideshow-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255, 255, 255, 0.9);
            border: none;
            width: 48px;
            height: 48px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 20px;
            color: #1d1d1f;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
            transition: all 0.3s ease;
            z-index: 10;
        }
        .slideshow-nav:hover {
            background: white;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
        }
        .slideshow-prev {
            left: 16px;
        }
        .slideshow-next {
            right: 16px;
        }
        .slideshow-dots {
            display: flex;
            justify-content: center;
            gap: 8px;
            padding: 16px;
            background: #f5f5f7;
        }
        .slideshow-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: #d2d2d7;
            border: none;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        .slideshow-dot.active {
            background: #1a365d;
            transform: scale(1.2);
        }
        .slideshow-dot:hover:not(.active) {
            background: #86868b;
        }

        /* High-fidelity single image */
        .hifi-mockup-img {
            width: 100%;
            border-radius: 16px;
            box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
            margin: 40px 0;
            cursor: pointer;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .hifi-mockup-img:hover {
            transform: scale(1.01);
            box-shadow: 0 12px 50px rgba(0, 0, 0, 0.15);
        }
#minyan .cs-section {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
/* fixes padding at the bottom of minyan page */
#minyan .minyan-section,
#minyan .minyan-reflection {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}
/* adds padding to top cards in mobile for eachh work page */
.cs-hero,
.minyan-hero {
    margin-top: 40px;
}

/* Fix minyan sections to stay centered */
#minyan .minyan-section,
#minyan .minyan-reflection {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero card top margin */
.cs-hero,
.minyan-hero {
    margin-top: 40px;
}

/* Mobile persona card fixes */
@media (max-width: 768px) {
    .minyan-persona > div[style*="display: flex"] {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 16px !important;
    }
    
    .minyan-persona div[style*="grid-template-columns: repeat(3"] {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .minyan-persona ul {
        text-align: left;
    }
    
    /* Mobile nav fix - keep all items on one line */
    .nav-links {
        gap: 12px !important;
        flex-wrap: nowrap !important;
    }
}

.slideshow-slide {
    min-width: 100%;
    position: relative;
    background: #fff;
    display: flex;
    flex-direction: column;
}
.slideshow-slide img {
    width: 100%;
    height: 500px;
    object-fit: contain;
    display: block;
    cursor: pointer;
}
.slideshow-caption {
    text-align: center;
    padding: 16px 20px;
    background: #fff;
    font-size: 14px;
    color: #6e6e73;
    font-weight: 500;
    flex-shrink: 0;
}

/* Back button */
.back-button {
    background: none;
    border: none;
    color: #6e6e73;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 0;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}
.back-button:hover {
    color: #1d1d1f;
}

/* Dropdown menu */
.dropdown {
    position: relative;
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    list-style: none;
    padding: 8px 0;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1001;
}
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: #1d1d1f;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s ease;
}
.dropdown-menu li a:hover {
    background: #f5f5f7;
}

/* Dropdown arrow */
.dropdown-arrow {
    font-size: 8px;
    margin-left: 4px;
    transition: transform 0.3s ease;
}
.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}


.dropdown > a {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.dropdown-arrow {
    display: inline-block;
    font-size: 8px;
    margin-left: 6px;
    transition: transform 0.3s ease;
}
