* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    background-color: rgb(208, 205, 195);
}

.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -2;
    overflow: hidden; /* Add this to prevent scrollbars */
}

#myVideo {
    position: absolute; /* Add this */
    top: 50%; /* Add this */
    left: 50%; /* Add this */
    transform: translate(-50%, -50%); /* Add this */
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
}

/* Font Classes */
.rajdhani-light {
    font-family: "Rajdhani", sans-serif;
    font-weight: 300;
}

.rajdhani-regular {
    font-family: "Rajdhani", sans-serif;
    font-weight: 400;
}

.rajdhani-medium {
    font-family: "Rajdhani", sans-serif;
    font-weight: 500;
}

.rajdhani-semibold {
    font-family: "Rajdhani", sans-serif;
    font-weight: 600;
}

.rajdhani-bold {
    font-family: "Rajdhani", sans-serif;
    font-weight: 700;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 2rem;
    background: rgba(208, 205, 195, 0.8);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.header-content {
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    height: 40px;
    width: auto;
    transition: all 0.3s ease;
}

/* Remove the original logo from hero section */
.content .logo {
    display: none;
}

.section-nav {
    position: fixed;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    height: 320px;
    overflow: hidden;
    display: block; /* Always show */
}

.section-numbers {
    position: relative;
    transition: transform 0.3s ease;
}

.section-number {
    font-family: "Rajdhani", sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
    color: #032535;
    opacity: 0.5;
    height: 80px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section-number::before {
    content: "";
    width: 2px;
    height: 0;
    background-color: #ff5858;
    transition: all 0.3s ease;
}

.section-number.active {
    opacity: 1;
    font-size: 2rem;
    color: #ff5858;
}

.section-number.active::before {
    height: 24px;
}

/* Update your media queries */
@media (max-width: 1200px) {
    .section-nav {
        right: 1rem;
    }

    .section-number {
        font-size: 1rem;
    }

    .section-number.active {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .section-nav {
        right: 0.5rem;
        height: 140px; /* Smaller height for mobile */
    }

    .section-number {
        font-size: 0.875rem;
        height: 60px;
        gap: 0.5rem;
    }

    .section-number.active {
        font-size: 1.25rem;
    }

    .section-number::before {
        width: 1px;
    }
}

@media (max-width: 480px) {
    .section-nav {
        right: 0.25rem;
    }

    .section-number {
        font-size: 0.75rem;
        height: 50px;
    }

    .section-number.active {
        font-size: 1rem;
    }
}
/* Adjust section padding to account for header */
.section {
    padding-top: 160px; /* Increased to account for header height */
}

/* Add responsive adjustments */
@media (max-width: 768px) {
    .header {
        padding: 0.75rem 1.5rem;
    }
    
    .header-logo {
        height: 30px;
    }
    
    .section {
        padding-top: 120px;
    }
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(
        90deg,
        rgba(208, 205, 195, 0.95) 0%,
        rgba(208, 205, 195, 0.9) 50%,
        rgba(208, 205, 195, 0.8) 70%,
        rgba(208, 205, 195, 0) 100%
    );
    z-index: -1;
    backdrop-filter: blur(3px);
    transition: all 0.3s ease;
}

.section-overlay {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100vh;
    background: radial-gradient(
        ellipse at 50% 25%,
        transparent 0%,
        rgba(208, 205, 195, 0.95) 60%
    );
    z-index: -1;
    backdrop-filter: blur(3px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.scroll-container {
    position: relative;
    min-height: 100vh;
}

.section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 120px;
    margin-bottom: 25px;
    scroll-margin-top: 0;
}

.content {
    position: relative;
    z-index: 2;
    padding: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}


h1 {
    font-family: "Rajdhani", sans-serif;
    font-weight: 600;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 2rem;
    color: #032535;
    letter-spacing: -0.02em;
    line-height: 1.1;
    max-width: 800px;
}

h2 {
    font-family: "Rajdhani", sans-serif;
    font-weight: 400;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    margin-bottom: 2rem;
    color: #032535;
    line-height: 1.2;
    max-width: 600px;
}

h3 {
    font-family: "Rajdhani", sans-serif;
    font-weight: 500;
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    margin-bottom: 1.5rem;
    color: #032535;
}

p {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-weight: 300;
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.8;
    color: #032535;
    margin-bottom: 2rem;
    max-width: 65ch;
}

.buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 3rem;
}

.btn {
    font-family: "Rajdhani", sans-serif;
    font-weight: 500;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-size: 0.875rem;
}

.btn-primary {
    background-color: #ff5858;
    color: white;
    border: none;
}

.btn-secondary {
    background-color: transparent;
    color: #666;
    border: 1px solid #ccc;
}

.btn-primary:hover {
    background-color: #ff7070;
    transform: translateY(-2px);
}

.btn-secondary:hover {
    background-color: rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.process-flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    padding: 1rem;
}

.process-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.detail-card {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 12px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    visibility: hidden;
    border-left: 3px solid #ff5858;
    z-index: 2;
}
/* Add connecting arrows between cards */
.process-flow::before {
    content: '';
    position: absolute;
    top: 30%;
    left: 0;
    width: 100%;
    height: 2px;
    background: #ff5858;
    z-index: 0;
}


.process-card:hover {
    transform: translateY(-5px);
}

.step-label {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 88, 88, 0.1);
    color: #ff5858;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: "Rajdhani", sans-serif;
    letter-spacing: 1px;
}

.process-card h3 {
    color: #032535;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-family: "Rajdhani", sans-serif;
    font-weight: 600;
}

.card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.card-subtitle {
    color: #666;
    font-size: 0.875rem;
    margin: 0;
    font-family: 'M PLUS Rounded 1c', sans-serif;
}

.card-icon {
    margin-top: 1rem;
}

.process-details {
    margin-top: 3rem;
    min-height: 300px;
    position: relative;
}


.detail-card h4 {
    color: #ff5858;
    font-family: "Rajdhani", sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.detail-card p {
    color: #032535;
    margin-bottom: 1.5rem;
}

.detail-card ul {
    list-style: none;
    padding: 0;
}

.detail-card ul li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    color: #032535;
}

.detail-card ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #ff5858;
}

/* Show detail card when corresponding process card is hovered */
.process-card:hover + .process-details .detail-card[data-step="1"],
.process-card:hover + .process-details .detail-card[data-step="2"],
.process-card:hover + .process-details .detail-card[data-step="3"],
.process-card:hover + .process-details .detail-card[data-step="4"] {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.philosophy-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.philosophy-card-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    opacity: 0;
}

.philosophy-card.expanded .philosophy-card-content {
    max-height: 1350px; /* Adjust based on content */
    opacity: 1;
    margin-top: 1rem;
}

.philosophy-card h3 {
    margin-bottom: 0;
    padding-right: 2rem; /* Make room for the icon */
}

.philosophy-card::after {
    content: '+';
    position: absolute;
    right: 2rem;
    top: 2rem;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    font-family: "Rajdhani", sans-serif;
}

.philosophy-card.expanded::after {
    transform: rotate(45deg);
}

.philosophy-card ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.philosophy-card ul li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.philosophy-card ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #ff5858;
}

/* Ensure content is initially hidden but smoothly transitions */
.philosophy-card-content {
    transition: opacity 0.3s ease-out;
    overflow: hidden;
    height: 0;
}

.philosophy-card.expanded .philosophy-card-content {
    height: auto;
}

/* Add hover effect to indicate clickability */
.philosophy-card:hover {
    background: rgba(255, 255, 255, 0.2);
}


.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.how-it-works-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.how-it-works-card-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    opacity: 0;
}
.carousel-container {
    position: relative;
    width: 80%;
    margin-top: 2rem;
    padding: 0 60px;
    overflow-x: hidden;
    overflow-y: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.3s ease-in-out;
    gap: 24px;
    width: 100%;
}

/* Update these carousel styles in your CSS */
.carousel-card {
    flex: 0 0 calc(25% - 18px);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 40px; /* Increased padding for better logo display */
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90px; /* Set minimum height for consistency */
}

.carousel-card img {
    max-width: 100%;
    height: auto;
    max-height: 80px; /* Control maximum logo height */
    object-fit: contain; /* Preserve logo aspect ratio */
    filter: grayscale(100%) brightness(0.8); /* Optional: makes logos gray by default */
    transition: all 0.3s ease;
}

.carousel-card:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.2);
}

.carousel-card:hover img {
    filter: grayscale(0%) brightness(1); /* Restore color on hover */
}

.carousel-card h3 {
    font-family: "Rajdhani", sans-serif;
    font-weight: 500;
    font-size: 1.25rem;
    margin-bottom: 5px;
    color: #032535;
}

.carousel-card p {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-weight: 300;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #032535;
    margin-bottom: 0;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-button.show {
    display: flex;
}

.carousel-button:hover {
    background: rgba(255, 255, 255, 0.2);
}

.carousel-button.prev-button {
    left: 10px;
}

.carousel-button.next-button {
    right: 10px;
}

.two-column-grid {
    display: grid;
    grid-template-columns: 70% 30%;
    gap: 1rem;
    align-items: start;
    margin-top: 24px;
}

.map-column {
    width: 100%;
}

.map-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
    height: 100%;
    min-height: 500px;
}

.map-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.text-column {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 8px;
}

.location-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.location-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-weight: 300;
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    color: #032535;
}

.location-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #ff5858;
}

.explore-arrow {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    animation: bounce 2s infinite;
    color: #ff5858;
    z-index: 10;
    padding: 10px;
    border-radius: 50%;
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease;
}

.explore-arrow:hover {
    transform: translateX(-50%) scale(1.1);
}

.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgb(208, 205, 195);
    font-family: 'M PLUS Rounded 1c', sans-serif;
}

.login-box {
    width: 100%;
    max-width: 400px;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border-radius: 8px;
    text-align: center;
}

.welcome-text {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 2.5rem;
    color: #032535;
    margin-bottom: 0.5rem;
}

.email-prompt {
    color: #032535;
    font-size: 1.125rem;
    font-weight: 300;
    margin-bottom: 2rem;
}

.input-container {
    position: relative;
    margin-bottom: 1.5rem;
}

.email-input {
    width: 100%;
    padding: 1rem;
    background: transparent;
    border: none;
    color: #032535;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-size: 1rem;
    text-align: center;
    caret-color: #ff5858;
    animation: blink 1s infinite;
}

.email-input:focus {
    outline: none;
}

.email-input::placeholder {
    color: rgba(3, 37, 53, 0.5);
}

@keyframes blink {
    0%, 100% { caret-color: #ff5858; }
    50% { caret-color: transparent; }
}

.continue-btn {
    width: 100%;
    padding: 1rem;
    background-color: #ff5858;
    color: white;
    border: none;
    border-radius: 4px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 500;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.continue-btn:hover {
    background-color: #ff7070;
    transform: translateY(-2px);
}

.loading {
    display: none;
}

.htmx-request .loading {
    display: inline;
}

.htmx-request .btn-text {
    display: none;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-20px);
    }
    60% {
        transform: translateX(-50%) translateY(-10px);
    }
}

.footer {
    background-color: #032535;
    color: #fff;
    padding: 4rem 2rem 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    width: 100px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    color: #9CA3AF;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-links a {
    color: #9CA3AF;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #fff;
}

.footer h3 {
    font-family: "Rajdhani", sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 0.75rem;
}

.footer ul li a {
    color: #9CA3AF;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer ul li a:hover {
    color: #fff;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(156, 163, 175, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: #9CA3AF;
    font-size: 0.9rem;
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: #9CA3AF;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #fff;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .content {
        padding: 2rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .philosophy-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .section {
        padding-top: 80px;
    }

    .buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .video-background {
        height: 100%;
    }
}

@media (max-width: 480px) {
    .content {
        padding: 1.5rem;
    }
    
    .logo {
        width: 120px;
        margin-bottom: 2rem;
    }
    
    .philosophy-grid {
        gap: 2rem;
    }
    
    .philosophy-card {
        padding: 1.5rem;
    }
}

/* Update the media queries for video */
@media (max-aspect-ratio: 16/9) {
    #myVideo {
        width: 100vw;
        height: auto;
    }
}

@media (min-aspect-ratio: 16/9) {
    #myVideo {
        width: auto;
        height: 100vh;
    }
}

@media (max-width: 1024px) {
    .carousel-card {
        min-width: calc(33.333% - 16px);
    }
}

@media (max-width: 768px) {
    .carousel-card {
        min-width: calc(50% - 12px);
    }
}

@media (max-width: 480px) {
    .carousel-card {
        min-width: calc(100% - 8px);
    }
}

/* Add media query for smaller screens */
@media (max-width: 768px) {
    .carousel-container {
        padding: 0 0 60px 0; /* Remove side padding, add bottom padding */
    }

    .carousel-button {
        top: auto;
        bottom: 0;
        transform: none;
    }

    .carousel-button.prev-button {
        left: calc(50% - 50px); /* Position to the left of center */
    }

    .carousel-button.next-button {
        right: calc(50% - 50px); /* Position to the right of center */
    }
}

/* Responsive layout */
@media (max-width: 1024px) {
    .two-column-grid {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .two-column-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .map-container {
        min-height: 400px;
    }
}

@media (max-width: 480px) {
    .map-container {
        min-height: 300px;
    }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .process-flow {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-flow::before {
        display: none;
    }

    .detail-card {
        position: relative;
        top: 0;
        margin-top: 1rem;
        margin-bottom: 2rem;
        height: 0;
        padding: 0;
        overflow: hidden;
    }

    .process-card.active + .detail-card {
        height: auto;
        padding: 2rem;
        opacity: 1;
        transform: translateY(0);
        visibility: visible;
        margin-top: 1rem;
    }
}

@media (max-width: 640px) {
    .process-flow {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .process-card {
        padding: 1.5rem;
    }
}

/* Add arrow indicators for mobile */
@media (max-width: 1024px) {
    .process-card:not(:last-child)::after {
        content: '↓';
        position: absolute;
        bottom: -2rem;
        left: 50%;
        transform: translateX(-50%);
        color: #ff5858;
        font-size: 1.5rem;
    }
}


.storymap-container {
    position: relative;
    width: 100%;
    height: 80vh;
    margin-top: 2rem;
}

.map-container {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.storymap-card {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 400px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.story-title {
    font-family: "Rajdhani", sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: #032535;
    margin-bottom: 0.5rem;
}

.story-subtitle {
    font-family: "Rajdhani", sans-serif;
    font-size: 1.25rem;
    color: #ff5858;
    margin-bottom: 1.5rem;
}

.story-description {
    margin-bottom: 1.5rem;
}

.story-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.5);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

.stat-value {
    font-family: "Rajdhani", sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #ff5858;
}

.stat-label {
    font-size: 0.875rem;
    color: #666;
}

.storymap-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
}

.storymap-button {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.storymap-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.storymap-button:hover:not(:disabled) {
    background: rgba(255, 88, 88, 0.1);
}

.storymap-dots {
    display: flex;
    gap: 0.5rem;
}

.storymap-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #D1D5DB;
    cursor: pointer;
    transition: all 0.3s ease;
}

.storymap-dot.active {
    background: #ff5858;
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .storymap-card {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        margin-top: 1rem;
    }
    
    .storymap-container {
        height: auto;
    }
    
    .map-container {
        height: 50vh;
    }
}
#section4 {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 120px;
    scroll-margin-top: 0;
}

.cta-section {
    position: relative;
    z-index: 2;
    padding: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.cta-header {
    text-align: center;
    margin-bottom: 4rem;
}

.cta-title {
    font-family: "Rajdhani", sans-serif;
    font-weight: 600;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 2rem;
    color: #032535;
    letter-spacing: -0.02em;
    line-height: 1.1;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-subtitle {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-weight: 300;
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.8;
    color: #032535;
    margin-bottom: 2rem;
    max-width: 65ch;
    margin-left: auto;
    margin-right: auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-family: "Rajdhani", sans-serif;
    font-weight: 600;
    font-size: 2.5rem;
    color: #ff5858;
    margin-bottom: 0.5rem;
}

.stat-text {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-weight: 300;
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.6;
    color: #032535;
}

.cta-buttons {
    text-align: center;
}

.btn-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.btn-primary {
    font-family: "Rajdhani", sans-serif;
    font-weight: 500;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-size: 0.875rem;
    background-color: #ff5858;
    color: white;
    border: none;
}

.btn-secondary {
    font-family: "Rajdhani", sans-serif;
    font-weight: 500;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-size: 0.875rem;
    background-color: transparent;
    color: #666;
    border: 1px solid #ccc;
}

.btn-primary:hover {
    background-color: #ff7070;
    transform: translateY(-2px);
}

.btn-secondary:hover {
    background-color: rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.cta-footnote {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-weight: 300;
    font-size: 0.875rem;
    color: #666;
    margin-top: 1rem;
}

/* wheel animation stuff */

.container-wheel {
    position: relative;
    width: 100%;
    max-width: 1500px;
    height: 600px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: row-reverse; /* Reverse the order */
    align-items: center;
}

.wheel-section {
    position: relative;
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
}

.content-section {
    width: 50%;
    height: auto; /* Changed from fixed height */
    padding-left: 40px; /* Changed from padding-left */
    max-height: 600px; /* Match container height */
    overflow-y: auto; /* Allow scrolling if content is too long */
    z-index: 10;
}

/* Update media queries for the new layout */
@media (max-width: 992px) {
    .container-wheel {
        flex-direction: column; /* Stack on mobile */
        height: auto;
    }

    .wheel-section {
        width: 100%;
        height: 500px;
        margin-bottom: 40px;
    }

    .content-section {
        width: 100%;
        padding-right: 0;
        max-height: none;
    }
}
  
.logo-wheel {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 500px; /* Set a fixed width for the container */
    height: auto;
}

.logo-wheel-svg {
    width: 100%;
    height: auto;
    opacity: 0.8;
    transition: all 0.3s ease;
}

/* Adjust nodes container position to prevent overlap */
.nodes-container-wheel {
    position: absolute;
    width: 320px;
    height: 320px;
    left: 420px; /* Increased from 380px to give more space for logo */
    top: 45%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}
  
  
  .node-wheel {
    position: absolute;
    width: 24px;
    height: 24px;
    background: #E79999;
    border-radius: 50%;
    cursor: pointer;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    opacity: 0.6;
    filter: blur(0.5px);
  }
  
  .node-wheel.active {
    width: 48px;
    height: 48px;
    background: #E73B3B;
    opacity: 1;
    filter: blur(0);
    z-index: 2;
  }
  
  .node-wheel[data-position="2"],
  .node-wheel[data-position="4"] {
    width: 20px;
    height: 20px;
    opacity: 0.4;
    filter: blur(1px);
  }
  
  .node-wheel[data-position="3"] {
    width: 16px;
    height: 16px;
    opacity: 0.3;
    filter: blur(1.5px);
  }
  
/* Layout Styles */
.page-layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: calc(72px + 20px);
    position: relative;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

/* Content Container */
.content-container {
    display: flex;
    width: 100%;
    height: calc(100vh - 92px);
    position: relative;
    padding: 20px;
    gap: 20px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Chat Section */
.chat-section {
    flex: 0 0 100%;
    max-width: 800px;
    margin: 0 auto;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.content-container.has-content .chat-section {
    flex: 0 0 45%;
    margin: 0;
}




/* Content Section */
.content-section {
    flex: 0 0 50%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: none;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 20px;
    height: 100%;
}

.content-container.has-content .content-section {
    opacity: 1;
    transform: translateX(0);
    display: block;
}

.content-display {
    width: 100%;
    height: 100%;
    overflow: auto;
}

/* Process Graph Styles */
.process-graph {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.process-graph-title {
    font-family: "Rajdhani", sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
    color: #032535;
    margin-bottom: 1rem;
}

/* Animations */
@keyframes floatIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideFromRight {
    0% {
        opacity: 0;
        transform: translateX(20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}


  
  /* Responsive Breakpoints */
  @media (max-width: 1400px) {
    .logo-wheel {
      font-size: 110px;
      left: 30px;
    }
    
    .nodes-container-wheel {
      left: 320px;
      width: 300px;
      height: 300px;
    }
  }
  
  @media (max-width: 1200px) {
    .logo-wheel {
      font-size: 90px;
      left: 20px;
    }
    
    .nodes-container-wheel {
      left: 260px;
      width: 280px;
      height: 280px;
    }
  
    .wheel-section {
      width: 40%;
    }
  
    .content-section {
      width: 60%;
    }
  }
  
  @media (max-width: 992px) {
    .container-wheel {
      flex-direction: column;
      height: auto;
    }
  
    .wheel-section {
      width: 100%;
      height: 500px;
      margin-bottom: 40px;
    }
  
    .content-section {
      width: 100%;
      padding-left: 0;
    }
  
    .logo-wheel {
      font-size: 100px;
      left: 50%;
      transform: translate(-50%, -50%);
      text-align: center;
      width: 100%;
    }
    
    .nodes-container-wheel {
      left: 50%;
      transform: translate(-50%, -50%);
      width: 280px;
      height: 280px;
    }
  }
  
  @media (max-width: 768px) {
    .wheel-section {
      height: 400px;
    }
  
    .logo-wheel {
      font-size: 80px;
    }
    
    .nodes-container-wheel {
      width: 240px;
      height: 240px;
    }
  
    .node-wheel {
      width: 20px;
      height: 20px;
    }
  
    .node-wheel.active {
      width: 40px;
      height: 40px;
    }
  }
  
  @media (max-width: 480px) {
    .wheel-section {
      height: 350px;
    }
  
    .logo-wheel {
      font-size: 60px;
    }
    
    .nodes-container-wheel {
      width: 200px;
      height: 200px;
    }
  
    .node-wheel {
      width: 16px;
      height: 16px;
    }
  
    .node-wheel.active {
      width: 32px;
      height: 32px;
    }
  }
@media (max-width: 768px) {
    .cta-section {
        padding: 2rem;
    }

    .btn-group {
        flex-direction: column;
        padding: 0 2rem;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

.clickable-process-graph {
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border-left: 3px solid #ff5858;
}

.clickable-process-graph:hover {
    background-color: rgba(255, 88, 88, 0.1);
    transform: translateY(-2px);
}

.clickable-process-graph h4 {
    color: #ff5858;
    margin-bottom: 5px;
    font-family: "Rajdhani", sans-serif;
    font-weight: 500;
}

.clickable-process-graph p {
    color: #032535;
    font-size: 14px;
    margin-bottom: 0;
}

/* Add a loading indicator for HTMX requests */
.clickable-process-graph.htmx-request {
    opacity: 0.7;
}

.clickable-process-graph.htmx-request::after {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid #ff5858;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Add a subtle pulse animation for visual feedback */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 88, 88, 0.4);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(255, 88, 88, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 88, 88, 0);
    }
}

.message .clickable-process-graph {
    animation: pulse 2s infinite;
}

/* Graph visualization styles */
.graph-visualization {
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-top: 15px;
}


    .capabilities-container {
    position: relative;
    width: 100%;
    margin: 2rem 0;
    overflow: hidden;
}

.capabilities-scroll {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    scroll-behavior: smooth;
    padding: 1rem 0;
    cursor: grab;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

.capabilities-scroll:active {
    cursor: grabbing;
}

.capabilities-scroll::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Add a subtle indicator that the content can be scrolled */
.capabilities-container:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 80px;
    background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,0.3));
    pointer-events: none;
    z-index: 1;
}

.capabilities-wrapper {
    display: flex;
    gap: 2rem;
    padding: 0 1rem;
    min-width: max-content;
}

.capability-card {
    flex: 0 0 350px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.capability-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.capability-icon {
    margin-bottom: 1.5rem;
    background-color: rgba(255, 88, 88, 0.1);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.capability-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #032535;
}

.capability-card p {
    color: #4a4a4a;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.capability-card ul {
    padding-left: 1.2rem;
    color: #4a4a4a;
}

.capability-card li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.capabilities-navigation {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.capabilities-button {
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.capabilities-button:hover {
    background-color: rgba(255, 88, 88, 0.1);
}

.capabilities-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.cursor-dot {
    position: fixed;
    width: 26px;
    height: 26px;
    background-color: #ff58583e; /* Using the accent color from your site */
    border-radius: 50%;
    pointer-events: none; /* Allows clicking through the dot */
    z-index: 9999; /* Make sure it's above other elements */
    transform: translate(-50%, -50%); /* Center the dot on the cursor */
    transition: transform 0.15s ease-out; /* Optional: adds a slight delay for smoother movement */
  }
/* Hide cursor dot on mobile devices */
@media (max-width: 768px), (pointer: coarse) {
    .cursor-dot {
      display: none;
    }
  }
@media (max-width: 768px) {
    .capability-card {
        flex: 0 0 280px;
        padding: 1.5rem;
    }
    
    .capability-icon {
        width: 60px;
        height: 60px;
    }
    
    .capability-card h3 {
        font-size: 1.3rem;
    }
}