/* Hero logo image sizing */
.hero {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #007AFF 0%, #005ACE 100%);
    color: white;
}

.hero img[alt="logo"],
.hero .logo,
.hero .hero-logo {
    display: block;
    max-width: 180px; /* adjust as desired */
    width: 40vw;      /* responsive cap on small screens */
    height: auto;
    margin: 0 auto 0.75rem; /* center above text */
}

@media (min-width: 768px) {
    .hero img[alt="logo"],
    .hero .logo,
    .hero .hero-logo {
        max-width: 160px;
        width: auto;
    }
}
/* Logo/hero title sizing */
.hero h1 {
    font-size: clamp(28px, 6vw, 48px);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero p {
    font-size: clamp(14px, 2.4vw, 18px);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero .cta-button {
    font-size: clamp(14px, 2.2vw, 16px);
    padding: 0.6rem 1rem;
    display: inline-block;
    background-color: white;
    color: #007AFF;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
}

.hero .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}
/* Screenshots carousel responsive styling */
.screenshots-section {
    padding: 4rem 1.5rem;
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.03) 0%, rgba(0, 122, 255, 0.01) 100%);
}

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

.screenshots-section h2 {
    text-align: center;
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    color: #007AFF;
    margin-bottom: 0.75rem;
}

.screenshots-subtitle {
    text-align: center;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: #666;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.screenshots-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    background: #fff;
    box-shadow: 0 10px 40px rgba(0, 122, 255, 0.12);
}

#carouselTrack {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.screenshot-slide {
    flex: 0 0 100%;
    min-width: 100%;
}

.screenshot-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #fff;
}

.screenshot-image-container {
    position: relative;
    width: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.screenshot-image-container img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    display: block;
}

.screenshot-caption {
    padding: 1.5rem;
    text-align: center;
    border-top: 3px solid #007AFF;
}

.screenshot-caption h3 {
    color: #007AFF;
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    margin: 0 0 0.75rem 0;
    font-weight: 600;
}

.screenshot-caption p {
    color: #666;
    line-height: 1.6;
    font-size: clamp(0.9rem, 2vw, 1.05rem);
    margin: 0;
    max-width: 600px;
    margin: 0 auto;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #007AFF;
    backdrop-filter: blur(8px);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #007AFF;
    padding: 0;
}

.carousel-nav:hover {
    background: #007AFF;
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 122, 255, 0.3);
}

.carousel-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-nav.prev { 
    left: 12px;
}

.carousel-nav.next { 
    right: 12px;
}

.carousel-nav svg {
    display: block;
}

/* Progress indicator container */
.carousel-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.carousel-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dots .dot:hover {
    background: #94a3b8;
    transform: scale(1.2);
}

.carousel-dots .dot.active { 
    background: #007AFF;
    width: 32px;
    border-radius: 5px;
}

.slide-counter {
    font-size: 0.95rem;
    color: #64748b;
    font-weight: 500;
}

.slide-counter .current-slide {
    color: #007AFF;
    font-weight: 600;
}

.thumbnail-gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
}

.thumbnail {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0.75rem;
    border: 2px solid rgba(0, 122, 255, 0.15);
    border-radius: 12px;
    cursor: pointer;
    background: white;
    transition: all 0.3s ease;
    text-align: center;
}

.thumbnail:hover {
    border-color: #007AFF;
    background: rgba(0, 122, 255, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.15);
}

.thumbnail.active {
    border-color: #007AFF;
    background: rgba(0, 122, 255, 0.1);
    box-shadow: 0 4px 16px rgba(0, 122, 255, 0.2);
}

.thumbnail-image {
    font-size: 1.75rem;
    line-height: 1;
}

.thumbnail-label {
    font-size: 0.85rem;
    color: #334155;
    font-weight: 500;
}

/* Tablet optimizations */
@media (max-width: 768px) {
    .screenshots-section {
        padding: 3rem 1rem;
    }
    
    .carousel-nav {
        width: 40px;
        height: 40px;
    }
    
    .carousel-nav.prev { 
        left: 8px;
    }
    
    .carousel-nav.next { 
        right: 8px;
    }
    
    .screenshot-caption {
        padding: 1.25rem 1rem;
    }
    
    .thumbnail-gallery {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }
    
    .thumbnail {
        padding: 0.75rem 0.5rem;
    }
    
    .thumbnail-image {
        font-size: 1.5rem;
    }
    
    .thumbnail-label {
        font-size: 0.75rem;
    }
}

/* Mobile optimizations */
@media (max-width: 480px) {
    .screenshots-section {
        padding: 2rem 0.75rem;
    }
    
    .screenshots-subtitle {
        margin-bottom: 2rem;
    }
    
    .screenshots-carousel {
        border-radius: 12px;
        margin-bottom: 1rem;
    }
    
    .screenshot-image-container img {
        max-height: 450px;
    }
    
    .carousel-nav {
        width: 36px;
        height: 36px;
        border-width: 1.5px;
    }
    
    .carousel-nav.prev { 
        left: 6px;
    }
    
    .carousel-nav.next { 
        right: 6px;
    }
    
    .carousel-nav svg {
        width: 16px;
        height: 16px;
    }
    
    .screenshot-caption {
        padding: 1rem 0.75rem;
    }
    
    .carousel-progress {
        gap: 1rem;
        margin-bottom: 1rem;
    }
    
    .carousel-dots .dot {
        width: 8px;
        height: 8px;
    }
    
    .carousel-dots .dot.active {
        width: 24px;
    }
    
    .slide-counter {
        font-size: 0.85rem;
    }
    
    /* Hide thumbnail gallery on mobile */
    .thumbnail-gallery {
        display: none;
    }
    
    .placeholder-icon {
        font-size: 2.5rem;
    }
}

/* Desktop split layout for image + caption */
@media (min-width: 768px) {
    .screenshot-wrapper {
        grid-template-columns: 1.2fr 1fr;
        align-items: center;
    }

    .screenshot-image {
        padding: 0.75rem;
    }
}

/* Large desktop: constrain the image height a bit while keeping aspect ratio */
@media (min-width: 1024px) {
    .screenshot-image img {
        max-height: 560px;
        object-fit: contain;
    }
}
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            background-color: #FFF;
            color: #333;
            line-height: 1.6;
        }

        /* Navigation */
        nav {
            background-color: #007AFF;
            padding: 1rem 2rem;
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0, 122, 255, 0.1);
        }

        .nav-container {
            display: flex;
            justify-content: center;
            align-items: center;
            max-width: 1200px;
            margin: 0 auto;
            width: 100%;
        }

        /* Hamburger menu button */
        .hamburger {
            display: none;
            flex-direction: column;
            background: none;
            border: none;
            cursor: pointer;
            padding: 0;
            z-index: 1001;
            position: absolute;
            right: 2rem;
        }

        .hamburger span {
            width: 25px;
            height: 3px;
            background-color: white;
            margin: 3px 0;
            transition: 0.3s;
            border-radius: 3px;
        }

        .hamburger.active span:nth-child(1) {
            transform: rotate(-45deg) translate(-5px, 6px);
        }

        .hamburger.active span:nth-child(2) {
            opacity: 0;
        }

        .hamburger.active span:nth-child(3) {
            transform: rotate(45deg) translate(-5px, -6px);
        }

        nav ul {
            list-style: none;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 2rem;
            margin: 0;
            padding: 0;
        }

        nav ul li a {
            color: #FFF;
            text-decoration: none;
            font-weight: 500;
            padding: 0.5rem 1rem;
            border-radius: 8px;
            transition: background-color 0.3s ease;
        }

        nav ul li a:hover {
            background-color: rgba(255, 255, 255, 0.2);
        }

        nav ul li a.active {
            background-color: rgba(255, 255, 255, 0.3);
        }

        /* Mobile Navigation */
        @media (max-width: 768px) {
            .hamburger {
                display: flex;
            }

            .nav-menu {
                position: fixed;
                left: -100%;
                top: 70px;
                flex-direction: column;
                background-color: #007AFF;
                width: 100%;
                text-align: center;
                transition: 0.3s;
                box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
                padding: 2rem 0;
                gap: 0 !important;
            }

            .nav-menu.active {
                left: 0;
            }

            .nav-menu li {
                margin: 0.5rem 0;
                width: 100%;
            }

            .nav-menu li a {
                display: block;
                width: 100%;
                padding: 1rem;
                font-size: 1.1rem;
            }
        }

        /* Hero Section */
        .hero {
            margin-top: 80px;
            padding: 4rem 2rem;
            text-align: center;
            background: linear-gradient(135deg, rgba(0, 122, 255, 0.05) 0%, rgba(0, 122, 255, 0.02) 100%);
        }

        .hero h1 {
            font-size: 3rem;
            color: #007AFF;
            margin-bottom: 1rem;
            animation: fadeInUp 0.8s ease;
        }

        .hero p {
            font-size: 1.3rem;
            color: #666;
            max-width: 600px;
            margin: 0 auto 2rem;
            animation: fadeInUp 0.8s ease 0.2s backwards;
        }

        .cta-button {
            display: inline-block;
            background-color: #007AFF;
            color: #FFF;
            padding: 1rem 2.5rem;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 600;
            font-size: 1.1rem;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            animation: fadeInUp 0.8s ease 0.4s backwards;
        }

        .cta-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(0, 122, 255, 0.3);
        }

        /* Features Section */
        .features {
            padding: 4rem 2rem;
            max-width: 1200px;
            margin: 0 auto;
        }

        .features h2 {
            text-align: center;
            font-size: 2.5rem;
            color: #007AFF;
            margin-bottom: 3rem;
        }

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

        .feature-card {
            background: #FFF;
            padding: 2rem;
            border-radius: 15px;
            border: 2px solid #007AFF;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            cursor: pointer;
        }

        .feature-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0, 122, 255, 0.15);
        }

        .feature-icon {
            font-size: 3rem;
            margin-bottom: 1rem;
        }

        .feature-card h3 {
            color: #007AFF;
            margin-bottom: 1rem;
            font-size: 1.5rem;
        }

        .feature-card p {
            color: #666;
        }

        /* Page Sections */
        .page-section {
            display: none;
            padding: 6rem 2rem 4rem;
            max-width: 1000px;
            margin: 0 auto;
            animation: fadeIn 0.5s ease;
        }

        .page-section.active {
            display: block;
        }

        /* Content pages (for separate HTML files) */
        .content-page {
            padding: 6rem 2rem 4rem;
            max-width: 1000px;
            margin: 0 auto;
            animation: fadeIn 0.5s ease;
        }

        .content-page h2,
        .content-page h2,
        .page-section h2 {
            color: #007AFF;
            font-size: 2.5rem;
            margin-bottom: 2rem;
        }

        .content-page p,
        .page-section p {
            font-size: 1.1rem;
            color: #666;
            margin-bottom: 1.5rem;
            line-height: 1.8;
        }

        /* Contact Form */
        .contact-form {
            max-width: 600px;
            margin: 2rem auto;
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-group label {
            display: block;
            color: #007AFF;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 0.8rem;
            border: 2px solid #007AFF;
            border-radius: 8px;
            font-size: 1rem;
            font-family: inherit;
            transition: border-color 0.3s ease;
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: #0051D5;
        }

        .form-group textarea {
            resize: vertical;
            min-height: 150px;
        }

        .submit-button {
            background-color: #007AFF;
            color: #FFF;
            padding: 1rem 2rem;
            border: none;
            border-radius: 30px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .submit-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(0, 122, 255, 0.3);
        }

        /* Footer */
        footer {
            background-color: #007AFF;
            color: #FFF;
            text-align: center;
            padding: 2rem;
            margin-top: 4rem;
        }

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

/* Index page styles */
.ministry-intro {
    max-width: 900px;
    margin: 3rem auto;
    padding: 2rem;
    text-align: center;
}

.ministry-intro h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.ministry-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1rem;
}

.support-section {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
    text-align: center;
}

.support-section h3 {
    color: #007AFF;
    margin-bottom: 1rem;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 3rem auto;
    padding: 2rem;
}

.app-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s, transform 0.3s;
}

.app-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.app-card h3 {
    color: #007AFF;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.app-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.status-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

.status-in-development {
    background-color: #fff3cd;
    color: #856404;
}

.status-publishing {
    background-color: #d1ecf1;
    color: #0c5460;
}

.status-planning {
    background-color: #f8d7da;
    color: #721c24;
}

.app-card a {
    display: inline-block;
    margin-top: 1rem;
    color: #007AFF;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.app-card a:hover {
    color: #005ACE;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #007AFF;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}        @keyframes fadeIn {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }

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

            .hero p {
                font-size: 1.1rem;
            }

            nav ul {
                flex-wrap: wrap;
                gap: 1rem;
            }

            .features h2,
            .page-section h2 {
                font-size: 2rem;
            }
        }

roadmap-section {
            padding: 4rem 2rem;
            max-width: 1200px;
            margin: 0 auto;
            background-color: #FFF;
        }

        .roadmap-section h2 {
            text-align: center;
            font-size: 2.5rem;
            color: #007AFF;
            margin-bottom: 1rem;
        }

        .roadmap-subtitle {
            text-align: center;
            font-size: 1.2rem;
            color: #666;
            margin-bottom: 3rem;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
        }

        .roadmap-timeline {
            position: relative;
            padding: 2rem 0;
        }

        /* Vertical line */
        .roadmap-timeline::before {
            content: '';
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            width: 4px;
            height: 100%;
            background: linear-gradient(to bottom, #007AFF, rgba(0, 122, 255, 0.3));
            border-radius: 2px;
        }

        .roadmap-item {
            display: flex;
            align-items: center;
            margin-bottom: 3rem;
            position: relative;
            opacity: 0;
            animation: fadeInUp 0.6s ease forwards;
        }

        .roadmap-item:nth-child(1) { animation-delay: 0.1s; }
        .roadmap-item:nth-child(2) { animation-delay: 0.2s; }
        .roadmap-item:nth-child(3) { animation-delay: 0.3s; }
        .roadmap-item:nth-child(4) { animation-delay: 0.4s; }
        .roadmap-item:nth-child(5) { animation-delay: 0.5s; }
        .roadmap-item:nth-child(6) { animation-delay: 0.6s; }

        /* Alternating sides */
        .roadmap-item:nth-child(odd) {
            flex-direction: row;
        }

        .roadmap-item:nth-child(even) {
            flex-direction: row-reverse;
        }

        .roadmap-content {
            width: 45%;
            padding: 1.5rem;
            background: #FFF;
            border: 2px solid #007AFF;
            border-radius: 15px;
            position: relative;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .roadmap-content:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0, 122, 255, 0.2);
        }

        .roadmap-content.completed {
            background: linear-gradient(135deg, rgba(0, 122, 255, 0.05) 0%, rgba(0, 122, 255, 0.02) 100%);
        }

        .roadmap-content h3 {
            color: #007AFF;
            font-size: 1.5rem;
            margin-bottom: 0.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .roadmap-content .quarter {
            display: inline-block;
            background-color: #007AFF;
            color: #FFF;
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

        .roadmap-content p {
            color: #666;
            line-height: 1.6;
            margin-bottom: 1rem;
        }

        .roadmap-content ul {
            list-style: none;
            padding: 0;
        }

        .roadmap-content ul li {
            color: #666;
            padding: 0.3rem 0;
            padding-left: 1.5rem;
            position: relative;
        }

        .roadmap-content ul li::before {
            content: '✓';
            position: absolute;
            left: 0;
            color: #007AFF;
            font-weight: bold;
        }

        .status-badge {
            display: inline-block;
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
            margin-top: 0.5rem;
        }

        .status-badge.completed {
            background-color: #34C759;
            color: #FFF;
        }

        .status-badge.in-progress {
            background-color: #007AFF;
            color: #FFF;
        }

        .status-badge.planned {
            background-color: #E5E5EA;
            color: #666;
        }

        /* Center circle marker */
        .roadmap-marker {
            width: 10%;
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 10;
        }

        .marker-circle {
            width: 24px;
            height: 24px;
            background-color: #007AFF;
            border: 4px solid #FFF;
            border-radius: 50%;
            box-shadow: 0 0 0 4px #007AFF;
            transition: transform 0.3s ease;
        }

        .roadmap-item:hover .marker-circle {
            transform: scale(1.3);
        }

        .marker-circle.completed {
            background-color: #34C759;
            box-shadow: 0 0 0 4px #34C759;
        }

        .marker-circle.planned {
            background-color: #E5E5EA;
            box-shadow: 0 0 0 4px #E5E5EA;
        }

        /* Mobile Responsive */
        @media (max-width: 768px) {
            .roadmap-timeline::before {
                left: 20px;
            }

            .roadmap-item {
                flex-direction: row !important;
                padding-left: 50px;
            }

            .roadmap-content {
                width: 100%;
            }

            .roadmap-marker {
                position: absolute;
                left: 0;
                width: auto;
            }

            .roadmap-section h2 {
                font-size: 2rem;
            }
                  .screenshots-section h2 {
                font-size: 2rem;
            }

            .carousel-nav {
                width: 40px;
                height: 40px;
                font-size: 1.2rem;
            }

            .carousel-nav.prev {
                left: 10px;
            }

            .carousel-nav.next {
                right: 10px;
            }

            .screenshot-slide {
                padding: 1rem;
            }

            .thumbnail-gallery {
                grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
                gap: 1rem;
            }

            .thumbnail-image {
                height: 120px;
            }
        }

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