:root {
  --primary-green: #00A859;
  --secondary-white: #ffffff;
  --bg-black: #000000;
}


/* Apply Inter font and basic styling */
html, body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    height: 100%; /* Ensure html and body take full viewport height initially */
    overflow-y: auto; /* Initially prevent scrolling, will be enabled by JS */
    overflow-x: hidden; /* Prevent horizontal scroll due to off-screen elements */
    background-color: #121212; /* Dark background */
    color: #e2e8f0; /* Light text color */
    position: relative;
}

h1 {
  font-size: 5em !important;
}
h2 {
  font-size: 3.5em !important;
}
@media (max-width: 768px) {
    h1 {
      font-size: 3em !important;
    }
    h2 {
      font-size: 2em !important;
    }
  }

.hero-section-top {
  position: relative;
  background-image: url('https://47865949.fs1.hubspotusercontent-na1.net/hubfs/47865949/raw_assets/public/astro%20final%201/assets/img/hero_bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* Menu and Navbar desighn */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: rgba(26, 32, 44, 0.5); /* 50% opacity */
    backdrop-filter: blur(10px); /* Optional: Adds a cool blur effect */
    z-index: 1000; /* Ensure the navbar is on top of everything else */
    transition: background-color 0.3s ease-in-out;
}

.navbar .logo img {
    height: 40px; /* Adjust as needed */
    width: auto;
}

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

.nav-links a {
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease-in-out;
}

.nav-links a:hover {
    color: var(--primary-green); /* Highlight color on hover */
}

/* Navbar general styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: rgba(26, 32, 44, 0.5);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: background-color 0.3s ease-in-out;
}

/* Mobile menu toggle button */
.menu-toggle {
    display: none; /* Hide by default on desktop */
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 102; /* Give it a very high z-index to ensure it's on top */
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #e2e8f0;
    transition: all 0.3s ease-in-out;
}

/* Mobile navigation container */
.mobile-nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 250px;
    height: 100%;
    background-color: rgba(26, 32, 44, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: center;
    padding-top: 6rem;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 101; /* Set z-index higher than navbar but lower than the toggle button */
    display: flex; /* Always display but use transform to hide it */
}

.mobile-nav-links.active {
    transform: translateX(0); /* Slide into view */
}

/* Media query to hide desktop nav and show mobile nav toggle */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: flex; /* Make the toggle button visible on mobile */
    }
}
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: rgba(26, 32, 44, 0.5); /* 50% opacity */
    backdrop-filter: blur(10px); /* Optional: Adds a cool blur effect */
    z-index: 1000; /* Ensure the navbar is on top of everything else */
    transition: background-color 0.3s ease-in-out;
}

.navbar .logo img {
    height: 40px; /* Adjust as needed */
    width: auto;
}

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

.nav-links a {
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease-in-out;
}

.nav-links a:hover {
    color: var(--primary-green); /* Highlight color on hover */
}

/* Mobile menu toggle button */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 102;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #e2e8f0;
    transition: all 0.3s ease-in-out;
}

/* Mobile navigation container */
/* Update the mobile-nav-links to start below the header and fill the remaining height */
.mobile-nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Keep it at 100% to take the full viewport height */
    background-color: rgba(26, 32, 44, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 99; /* Ensure it's below the header */
    display: none;
    padding-top: 0; /* Remove top padding to align with header height */
}

/* Use a wrapper inside the mobile menu to manage spacing */
.mobile-nav-links ul {
    list-style: none;
    padding: 0;
    width: 100%;
    text-align: center;
    /* Use calc() to start the list after the header height */
    margin-top: calc(40px + 2rem); /* 40px for logo height + 2rem for header padding */
}

.mobile-nav-links.active {
    transform: translateX(0);
    display: flex;
}

/* Keep the logo visible in the main header */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: rgba(26, 32, 44, 0.5);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: background-color 0.3s ease-in-out;
}

.navbar .logo {
    display: block; /* Make sure the logo is always visible */
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .menu-toggle {
        display: flex;
    }
    /* You may need to add a specific rule to ensure the logo is on top of the mobile menu */
    .navbar .logo {
        z-index: 101; /* Higher z-index to stay above the menu */
    }
}

.mobile-nav-links .logo {
    margin-bottom: 2rem; /* Add some space below the logo */
}

.mobile-nav-links ul {
    list-style: none;
    padding: 0;
    width: 100%;
    text-align: center;
    background-color: #000;
}

.mobile-nav-links li {
    margin-bottom: 2rem;
}

.mobile-nav-links a {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Hide desktop nav links on mobile */
    }

    .menu-toggle {
        display: flex; /* Show mobile toggle button */
    }
}
/* End of menu and navbar desighn */

/* New: Hero Section Styles */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1; /* Ensure it's above other elements like the header on scroll */
    text-align: center; /* Center content horizontally on small screens */
}

/* New: Flexbox container for content and image */
.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Space out the text and image */
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
}

/* Original hero content styles, modified to a new class and alignment */
.hero-content {
    max-width: 600px;
    text-align: left; /* Align text to the left */
}

.hero-content-img-right {
    display: flex;
    justify-content: right;
    align-items: center;
    height: 100%; */
}
.hero-content-img-right img {
    /* transform: rotate(30deg); */
    height:900px;
}
.hero-content-img-left {
    display: flex;
    justify-content: left;
    align-items: center;
    height: 100%;
}
.hero-content-img-left img {
    transform: rotate(-30deg);
    height:600px;
}
@media (max-width: 1024px) {
  .hero-content-img-left {
    display: none;
  }
  .hero-content-img-right {
    display: none;
  }
}
/* Content containers */
.content-section {
    position: relative;
    z-index: 1; /* Above any potential background */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* min-height: 100vh;  */
    padding: 2rem;
    box-sizing: border-box; /* Include padding in height calculation */
    text-align: center;
}

/* New scrolling content section styles */
.scrolling-content-section {
    background-color: #000; /* Black background */
    min-height: 30vh;
    width: 110%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 0; /* Adjust padding for full width scrolling */
    overflow: hidden; /* Hide overflow to prevent scrollbar from content */
    /* Add transparency to the sides */
    mask-image: linear-gradient(to right,
        rgba(0, 0, 0, 0) 0%, /* Start fully transparent */
        rgba(0, 0, 0, 1) 40% /* Become fully opaque at 20% from left */
        /* rgba(0, 0, 0, 1) 70%, /* Remain fully opaque until 80% from left */ */
        /* rgba(0, 0, 0, 0) 100% /* Fade to transparent at 100% from left */ */
    );
    -webkit-mask-image: linear-gradient(to right,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 1) 40%
        /* rgba(0, 0, 0, 1) 70%,
        rgba(0, 0, 0, 0) 100% */
    );
}
.scrolling-content-section-slogan {
    transform: rotate(-5deg);
    z-index: 999;
}

.scrolling-line {
    width: 100%;
    margin: 1.5rem 0;
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}

.scrolling-text-container {
    display: inline-block;
    animation: scrollTextLeftToRight 60s linear infinite; /* Slower movement */
}

.scrolling-text {
    font-size: 5rem;
    font-weight: 700;
    color: #fff;
    padding: 0 2rem;
    display: inline-block;
}

.hero-section-2 {
  height: 100%;
  margin-top: 100px;
}

/* .hero_section {
  height: 100% !important;
  margin-bottom: 100px;
} */

#text-carousel {
    display: flex;
    white-space: nowrap;
    animation: scroll-right 10s linear infinite;
}

@keyframes scroll-right {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* New: Styles for the image wrapper */
.hero-image-wrapper {
    flex: 1; /* Allows it to grow and shrink */
    display: flex;
    justify-content: center; /* Center the image within its container */
    align-items: center;
    position: relative; /* IMPORTANT: Add this for absolute positioning of child image */
    height: auto; /* Allow height to adjust based on content, but ensure it's enough if image is abs. */
    min-height: 300px; /* Give it a minimum height just in case */
}

/* Update hero-image to use custom property for translation */
.hero-image {
    width: 100%; /* Make the image responsive within its container */
    max-width: 500px; /* Set a max width for the image */
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    /* Add this transition for smoother movement */
    transition: transform 0.1s linear;
    position: absolute; /* IMPORTANT: Position absolutely to allow independent movement */
    top: 0;
    left: 0;
    right: 0;
    margin: auto; /* For horizontal centering with absolute positioning */
    z-index: 10; /* Ensure the image is on top during animation */
}

/* REMOVED: The `.js-parallax` CSS rule as it conflicts with JS-driven transform */
/* .js-parallax {
    transform: translateX(calc(var(--scroll) * -0.5px));
} */

/* Hide the second hero image container for the parallax effect */
.hero-section-2 .hero-image-wrapper {
    display: none;
}

/* Responsive adjustments for the new layout */
@media (max-width: 1024px) {
    .hero-container {
        flex-direction: column; /* Stack the content and image on smaller screens */
        text-align: center;
        gap: 2rem;
    }
    .hero-content {
        text-align: center; /* Center text when stacked */
    }
    .hero-image-wrapper {
        min-height: 200px; /* Adjust min-height for mobile if needed */
    }
}

/* New styles for the alternate hero section layout */
.hero-section-2 .hero-content {
    text-align: right;
}

@media (max-width: 1024px) {
    /* On smaller screens, both sections will stack vertically, so we
       center the text for the second section as well. */
    .hero-section-2 .hero-content {
        text-align: center;
    }
}

.img_bg {
    background-image: url('https://47865949.fs1.hubspotusercontent-na1.net/hubfs/47865949/raw_assets/public/astro%20final%201/assets/img/img_bg.jpg');
    background-repeat: no-repeat;
    /* background-position: center center; */
    background-size: cover;
    width: 100%; /* Ensure the div has width */
    height: 100vh; /* Example height; adjust as needed */
    mask-image: linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 15%, rgba(0, 0, 0, 1) 85%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 15%, rgba(0, 0, 0, 1) 85%, rgba(0, 0, 0, 0) 100%);
}

/* Image section styles (now first) */
.image-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    /* background: rgba(0, 0, 0, 0.5); */
    border-radius: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 3rem;
    max-width: 75%;
    width: 90%;
    margin: 0 auto;
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 100vh;
}

.image-section .main-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%; /* Ensure wrapper takes full width for positioning */
    min-height: 400px; /* Ensure space for image and surrounding elements */
}

.image-section .main-image {
    width: 70%; /* Adjust size as needed */
    max-width: 700px; /* Larger main image */
    height: auto;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
    transition: transform 1s ease-out, opacity 1s ease-out; /* Animation properties */
    transform: translateY(100vh); /* Start off-screen bottom */
    opacity: 0;
    position: relative; /* Needed for z-index */
    z-index: 2; /* Main image on top */
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 90%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 90%, rgba(0, 0, 0, 0) 100%);
}

.image-section .side-image {
    position: absolute; /* Position side images absolutely around main */
    /* width: 200px; /* Larger side images for visibility */ */
    /* height: 200px; */
    object-fit: cover;
    border-radius: 0.5rem;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.8s ease-out, opacity 0.8s ease-out; /* Animation properties */
    opacity: 0;
    z-index: 1; /* Side images behind main image but above content */
}

/* Specific initial positions for side images (off-screen) */
.side-image-1 { /* Top-left */
    top: 0;
    left: 0;
    transform: translate(-150%, -150%); /* Move far off top-left */
    height: 200px;
    /* width: 200px; */
}
.side-image-2 { /* Top-right */
    top: 0;
    right: 0;
    transform: translate(150%, -150%); /* Move far off top-right */
    height: 230px;
}
.side-image-3 { /* Bottom-left */
    bottom: 0;
    left: 0;
    transform: translate(-150%, 150%); /* Move far off bottom-left */
    height: 200px;
}
.side-image-4 { /* Bottom-right */
    bottom: 0;
    right: 0;
    transform: translate(150%, 150%); /* Move far off bottom-right */
    height: 200px;
    /* width: 200px; */
}

/* Animation classes (added by JavaScript) */
.image-section.animate-in .main-image {
    transform: translateY(0); /* Move to original position */
    opacity: 1;
}

/* Final positions for side images */
.image-section.animate-in .side-image-1 {
    transform: translate(-150px, -50px); /* Adjust to desired final position relative to center */
    opacity: 1;
    transition-delay: 0.2s; /* Stagger animation */
}
.image-section.animate-in .side-image-2 {
    transform: translate(150px, -50px); /* Adjust to desired final position relative to center */
    opacity: 1;
    transition-delay: 0.4s; /* Stagger animation */
}
.image-section.animate-in .side-image-3 {
    transform: translate(-150px, 50px); /* Adjust to desired final position relative to center */
    opacity: 1;
    transition-delay: 0.6s; /* Stagger animation */
}
.image-section.animate-in .side-image-4 {
    transform: translate(150px, 50px); /* Adjust to desired final position relative to center */
    opacity: 1;
    transition-delay: 0.8s; /* Stagger animation */
}
/* Define the keyframes for the infinite horizontal scroll */
@keyframes scroll-text {
    from {
        transform: translateY(-50%) translateX(100%); /* Start off-screen right */
    }
    to {
        transform: translateY(-50%) translateX(-100%); /* End off-screen left */
    }
}

/* New CSS for the animated background text */
.background-text {
    position: absolute; /* Position relative to .main-image-wrapper */
    top: 50%;
    left: 0;
    color: rgba(255, 255, 255, 0.2); /* Very light, semi-transparent text */
    font-size: 8rem; /* Large font size for a dramatic effect */
    font-weight: 700;
    white-space: nowrap; /* Prevent text from wrapping */
    pointer-events: none; /* Make text non-interactive */
    opacity: 0; /* Initially hidden */
    transition: opacity 1s ease-in-out; /* Only animate opacity here */
    z-index: 0; /* Place behind the images */
}

/* Animation class to make the text visible and start the movement */
.image-section.animate-in .background-text {
    opacity: 1; /* Make the text visible */
    animation: scroll-text 20s linear infinite; /* Apply the infinite animation */
    animation-delay: 0.1s; /* Correctly delay the animation start */
}





.scrolling-images-container {
    display: inline-flex;
    animation: scrollImagesRightToLeft 80s linear infinite; /* Slower movement */
    padding-right: 2rem; /* Ensure there's space for the next image to appear */
}

.scrolling-images-container.reverse {
    animation: scrollImagesLeftToRight 80s linear infinite; /* Slower movement */
    padding-left: 2rem; /* Ensure there's space for the next image to appear */
}

.scrolling-image {
    width: 350px; /* Adjust image size as needed */
    height: 300px;
    object-fit: cover;
    margin: 0 1rem;
    border-radius: 8px;
    flex-shrink: 0; /* Prevent images from shrinking */
}

/* Keyframes for continuous scrolling text */
@keyframes scrollTextLeftToRight {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(0%); }
}

/* Keyframes for continuous scrolling images (right to left) */
@keyframes scrollImagesRightToLeft {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-100%); }
}

/* Keyframes for continuous scrolling images (left to right) */
@keyframes scrollImagesLeftToRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0%); }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .image-section .main-image {
        width: 80%;
        max-width: 600px;
    }
    .image-section .side-image {
        /* width: 120px; */
        height: 120px;
    }
    .image-section.animate-in .side-image-1 {
        transform: translate(-100px, -40px);
    }
    .image-section.animate-in .side-image-2 {
        transform: translate(100px, -40px);
    }
    .image-section.animate-in .side-image-3 {
        transform: translate(-100px, 40px);
    }
    .image-section.animate-in .side-image-4 {
        transform: translate(100px, 40px);
    }
    .scrolling-text {
        font-size: 3.5rem; /* Smaller font for smaller screens */
    }
    .scrolling-image {
        width: 120px;
        height: 80px;
    }
}

@media (max-width: 768px) {
    .welcome-section h1 {
        font-size: 2rem;
    }
    .welcome-section p {
        font-size: 1rem;
    }
    .image-section {
        padding: 1.5rem;
        /* height: 100vh; /* Keep full height for image section */ */
    }
    .image-section .main-image-wrapper {
        min-height: 300px;
    }
    .img_bg {
      height: 500px;
    }
    .image-section .main-image {
        width: 100%;
        margin-top: -400px;
    }
    /* Adjust side images to stay relative to the main image */
    .image-section .side-image {
        display: none;
        /* Re-adjust positions for smaller screens relative to center */
    }
    .image-section.animate-in .side-image-1 {
        transform: translate(-60px, -30px);
    }
    .image-section.animate-in .side-image-2 {
        transform: translate(60px, -30px);
    }
    .image-section.animate-in .side-image-3 {
        transform: translate(-60px, 30px);
    }
    .image-section.animate-in .side-image-4 {
        transform: translate(60px, 30px);
    }
    .scrolling-text {
        font-size: 2.5rem; /* Even smaller font for mobile */
    }
    .scrolling-image {
        width: 100px;
        height: 70px;
    }
    .scrolling-line {
        margin: 0.8rem 0; /* Reduce margin between lines */
    }
    .image-section-features {
      min-height: 100% !important;
    }
}

.image-section-features {
  margin: 0 auto;
}

/* Styles for the FAQ section */
.faq-section {
    /* background-color: #1a202c;  */
    color: #e2e8f0; /* Light text */
    padding: 4rem 2rem;
    display: flex; /* Use flexbox for layout */
    flex-direction: row; /* Default to row for PC */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    justify-content: center;
    align-items: flex-start; /* Align items to the top */
    gap: 4rem;
    /* min-height: 100vh;  */
    text-align: left; /* Align text within the FAQ columns */
}

.faq-left-column {
    flex: 1; /* Take up available space */
    min-width: 300px; /* Minimum width before wrapping */
    max-width: 400px; /* Max width for this column */
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-left-column h2 {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
}

.faq-left-column p {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.faq-left-column button {
    background: linear-gradient(to right, #805ad5, #d53f8c); /* Purple to pink gradient */
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 700;
    transition: transform 0.2s ease-in-out;
    border: none;
    cursor: pointer;
    width: fit-content;
}

.faq-left-column button:hover {
    transform: translateY(-2px);
}

.faq-right-column {
    flex: 2; /* Take up more space than left column */
    min-width: 450px; /* Minimum width before wrapping */
    max-width: 700px; /* Max width for this column */
}

.faq-item {
    border-bottom: 1px solid #4a5568; /* Darker border */
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 0.75rem 0;
    font-size: 1.125rem;
    font-weight: 700;
}

.faq-question .icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease-in-out;
}

.faq-question.active .icon {
    transform: rotate(45deg); /* Rotate for minus sign effect */
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, opacity 0.4s ease-in-out;
    opacity: 0;
    padding-left: 0.5rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #cbd5e0; /* Slightly lighter text for answers */
}

.faq-answer.active {
    max-height: 250px; /* Adjust based on expected content height */
    opacity: 1;
    padding-bottom: 1rem;
}

/* Styles for the Roadmap section */
.roadmap-section {
    /* background-color: #1a202c; */
    color: #e2e8f0;
    padding: 4rem 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Important for preventing horizontal scroll from timeline */
}

.roadmap-section h2 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #63b3ed;
    margin-bottom: 3rem;
    text-align: center;
    text-shadow: 0 0 10px rgba(99, 179, 237, 0.5);
}

.timeline-container {
    position: relative;
    width: 90%;
    max-width: 800px; /* Max width for vertical timeline content */
    margin: 0 auto;
    display: flex;
    flex-direction: column; /* Always vertical */
    align-items: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.timeline-line {
    position: absolute;
    width: 2px; /* Thicker vertical line */
    background-image: linear-gradient(to bottom, var(--line-color, currentColor) 90%, transparent);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
    border-radius: 3px;
}

.timeline-item {
    display: flex;
    justify-content: space-between; /* Space out content on left/right */
    align-items: center;
    width: 100%;
    padding: 1.5rem 0; /* Vertical spacing between items */
    position: relative;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; /* Add transition for hover effect */
}

.timeline-marker {
    width: 20px; /* Larger marker */
    height: 20px;
    background-color: #00a859;
    border-radius: 50%;
    border: solid 5px #1a202c;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    /* box-shadow: 0 0 0 6px rgba(56, 189, 248, 0.4),
                0 0 15px rgba(56, 189, 248, 0.7); */
    transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out; /* Transition for hover effect */
}

.timeline-item:hover .timeline-marker {
    background-color: #fff; /* Change marker color on hover */
    box-shadow: 0 0 8px 8px rgba(0, 169, 89, 0.5); /* Stronger glow on hover */
}

.timeline-content {
    background-color: #2d3748;
    border-radius: 0.75rem;
    padding: 1.8rem;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
    width: 45%; /* Default for alternating left/right on larger screens */
    text-align: left;
    border: 1px solid #4a5568;
    transition: background-color 0.3s ease-in-out, border-color 0.3s ease-in-out; /* Transition for hover effect */
}

.timeline-item:hover .timeline-content {
  box-shadow: 0px 0px 20px 0px #00A859;
  border-color: #00A859;
}

.timeline-content h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.6rem;
}

.timeline-content p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #cbd5e0;
}

/* Positioning for alternating content left/right on desktop */
.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto; /* Push to the left */
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto; /* Push to the right */
}

/* Adjustments for the line connecting to content boxes (desktop) */
@media (min-width: 769px) {
    .timeline-item:nth-child(odd) .timeline-content {
        transform: translateX(calc(-50% - 20px)); /* Move content further left, clear of line */
        margin-left: 0; /* Reset default margin */
        margin-right: auto; /* Ensure it stays left */
    }

    .timeline-item:nth-child(even) .timeline-content {
        transform: translateX(calc(50% + 20px)); /* Move content further right, clear of line */
        margin-right: 0; /* Reset default margin */
        margin-left: auto; /* Ensure it stays right */
    }

    .timeline-item:nth-child(odd) .timeline-content::after {
        content: '';
        position: absolute;
        top: 50%;
        right: -200px; /* Position to connect to the marker */
        transform: translateY(-50%);
        width: 200px; /* Length of the connecting line */
        height: 2px; /* Thickness of the connecting line */
        /* background-color: #38bdf8; */
        background-image: linear-gradient(to right, var(--line-color, currentColor) 90%, transparent);
        z-index: 0;
    }

    .timeline-item:nth-child(even) .timeline-content::before {
        content: '';
        position: absolute;
        top: 50%;
        left: -200px; /* Position to connect to the marker */
        transform: translateY(-50%);
        width: 200px; /* Length of the connecting line */
        height: 2px; /* Thickness of the connecting line */
        /* background-color: #38bdf8; */
        background-image: linear-gradient(to left, var(--line-color, currentColor) 90%, transparent);
        z-index: 0;
    }
}


/* Responsive adjustments for overall sections */
@media (max-width: 768px) {
    .faq-section {
        flex-direction: column; /* Stack columns on mobile */
        padding: 2rem 1rem;
        gap: 2rem;
    }

    .faq-left-column, .faq-right-column {
        min-width: unset; /* Remove min-width on small screens */
        max-width: 100%;
        width: 100%; /* Take full width */
    }

    .faq-left-column h2 {
        font-size: 2.5rem;
    }

    .faq-left-column p {
        font-size: 1rem;
    }

    .faq-question {
        font-size: 1rem;
    }

    .faq-answer {
        font-size: 0.9rem;
    }

    /* Mobile specific roadmap content width */
    .timeline-content {
        width: 70%; /* Adjust width for better readability on mobile */
    }
    /* Push mobile content to one side of the vertical line */
    .timeline-item:nth-child(odd) .timeline-content {
        margin-right: 0; /* Reset */
        margin-left: calc(50% + 30px); /* Push to the right of the line */
    }
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 0; /* Reset */
        margin-right: calc(50% + 30px); /* Push to the left of the line */
    }

    .timeline-item:nth-child(odd) .timeline-content::after,
    .timeline-item:nth-child(even) .timeline-content::before {
        display: none; /* Hide connecting lines on mobile */
    }
}


/* Styles for the Image Comparison Section */
.image-comparison-section {
    /* background-color: #2c3a47;  */
    color: #e2e8f0;
    padding: 4rem 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
  .image-comparison-section{
    min-height: 100% !important;
  }
}

.image-comparison-section h2 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #63b3ed;
    text-shadow: 0 0 10px rgba(99, 179, 237, 0.5);
    margin-bottom: 1.5rem;
}

.image-comparison-section p {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    text-align: center;
    max-width: 800px;
}

.image-comparison-container {
    position: relative;
    width: 100%; /* Changed to 100% */
    max-width: 900px; /* Max width for large screens remains for visual balance */
    height: 600px; /* Fixed height or responsive height calculation */
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    /* Removed cursor for dragging, as it's now hover-based */
}

.comparison-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none; /* Prevent image dragging interference */
    object-position: left;
}

.comparison-image-before-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%; /* Initial width for the "before" image */
    height: 100%;
    overflow: hidden;
}


.comparison-slider {
    position: absolute;
    top: 0;
    left: 50%; /* Initial position in the middle */
    width: 4px; /* Thickness of the slider line */
    height: 100%;
    background-color: #fff;
    transform: translateX(-50%); /* Center the slider line */
    pointer-events: none; /* Make slider non-interactive for mouseover effect */
    z-index: 10;
}

/* Responsive adjustments for image comparison */
@media (max-width: 768px) {
    .image-comparison-container {
        width: 100%; /* Changed to 100% */
        height: 300px; /* Adjust height for mobile */
    }
}




.feature-card {
  background-color: #2a2a2a;
  border: 1px solid #3a3a3a;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

.feature-card:hover {
  background-color: #333;
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.feature-header {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}

.feature-title {
  font-size: 1.3em;
  font-weight: 500;
}

.feature-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background-color: #212121;
  border-top: 1px solid #3a3a3a;
}

.feature-card.open .feature-content {
  max-height: 500px;
  padding: 20px;
}

.image-container img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    float: left;
    margin-right: 15px;
  }



  /* Custom CSS for the "Why Start Creating with Big Tale?" section */

  #section_3 {
      /* background-color: #1a1a1a; */
      padding: 50px 20px;
      color: #f0f0f0;
  }

  #section_3 .container {
      max-width: 1600px;
      margin: 0 auto;
  }

  #section_3 .main-title {
      color: #ffffff;
      font-size: 3em;
      font-weight: bold;
      line-height: 1.2;
      margin-bottom: 20px;
  }

  #section_3 .intro-text {
      font-size: 1.2em;
      line-height: 1.6;
      margin-bottom: 50px;
      max-width: 800px;
  }

  #section_3 .features-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 40px;
  }

  #section_3 .feature-item {
      /* background-color: #262626; */
      padding: 30px;
      border-radius: 8px;
  }

  #section_3 .icon-title-wrapper {
      display: flex;
      align-items: center;
      margin-bottom: 15px;
  }

  #section_3 .icon {
      font-size: 2em;
      margin-right: 10px;
  }

  #section_3 .feature-title {
      color: #ffffff;
      font-size: 3em;
      font-weight: bold;
      margin: 0;
  }

  #section_3 .feature-description {
      line-height: 1.6;
      margin-top: 0;
      font-size: 20px;
  }

  /* Media query for smaller screens */
  @media (max-width: 768px) {
      #section_3 .features-grid {
          grid-template-columns: 1fr;
      }
  }



  /* Feature Section */
.feature-section {
    /* background-color: #12111d; */
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
}

@media (min-width: 640px) {
    .feature-section {
        padding: 3rem;
    }
}

/* Tab and Button Styles */
.tab-buttons-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
    margin-top: 2.5rem;
    margin-bottom: 100px;
}

@media (min-width: 640px) {
    .tab-buttons-container {
        gap: 1rem;
    }
}

.tab-button {
    position: relative;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 9999px;
    transition: all 0.3s ease-in-out;
    outline: none;
}

@media (min-width: 640px) {
    .tab-button {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

.tab-button .underline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 0.25rem;
    background-color: #a855f7;
    border-radius: 9999px;
    transition: all 0.3s ease-in-out;
}

.tab-button.inactive {
    color: #9ca3af;
}

.tab-button.active {
    color: #c084fc;
    background-color: #332e48;
}

.tab-button:focus {
    outline: none;
    box-shadow: 0 0 0 2px #a855f7;
}

.tab-button:hover {
    outline: none;
    box-shadow: 0 0 0 2px #a855f7;
}

.tab-button.active .underline {
    width: 100%;
}

/* Tab Content */
.tab-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    min-height: 100vh;
}
@media (max-width: 1024px) {
  .tab-content {
    min-height: 100%;
  }
}
@media (min-width: 768px) {
    .tab-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.tab-content.hidden {
    display: none;
}

.image-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.image-card-container {
    position: relative;
    width: 100%;
/*     aspect-ratio: 1 / 1; */
    max-width: 28.125rem; /* max-w-[450px] */
}

/* Image Card Styles */
.image-card-base {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 1rem;
    padding: 0.5rem;
}

@media (min-width: 768px) {
    .image-card-base {
        padding: 1rem;
    }
}

.image-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #1e1c2e;
    border-radius: 0.75rem;
    padding: 0.5rem;
}

.prompt-to-image-card {
    background: linear-gradient(135deg, #c084fc, #9156e7, #6d28d9);
    transform: rotate(-5deg);
}

.tools-to-customize-card {
    background: linear-gradient(135deg, #10b981, #10b981, #f97316);
    transform: rotate(5deg);
}

.generate-avatars-card {
    background: linear-gradient(135deg, #ec4899, #8b5cf6, #4c1d95);
    transform: rotate(-5deg);
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    height: 100%;
}

.avatar-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    height: 100%;
}

.image-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 0.5rem;
    overflow: hidden;
    position: relative;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
}

/* Text Content */
.text-content-section {
    padding: 2rem;
}

.text-content-section .heading {
    font-size: 1.875rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .text-content-section .heading {
        font-size: 2.25rem;
    }
}

.text-content-section .text {
    font-size: 1rem;
    color: #9ca3af;
    line-height: 1.625;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .text-content-section .text {
        font-size: 1.125rem;
    }
}

.generate-button {
    padding: 0.75rem 2rem;
    background-color: #9333ea;
    color: #fff;
    font-weight: 600;
    border-radius: 9999px;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    transition: background-color 0.3s ease-in-out;
}

.generate-button:hover {
    background-color: #8b5cf6;
}

.site-footer {
  background-color: var(--bg-black);
  padding: 40px 20px;
  position: relative; /* To position the "go back up" element */
}

.footer-top-divider {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto 40px auto;
  border-top: 1px solid var(--secondary-white);
}

.footer-main-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-left-section,
.footer-middle-section,
.footer-right-section {
  padding: 10px;
  display: flex;
  align-items: center;
}

.footer-logo {
  font-size: 2.5em;
  font-weight: bold;
  color: var(--primary-green);
}

.footer-middle-section {
  gap: 15px;
}

.footer-middle-section a:hover {
  text-decoration: none;
}
.social-icon-link {
  display: inline-block;
  color: inherit;
  text-decoration: none;
}

.social-icon-circle {
  width: 40px;
  height: 40px;
  background-color: var(--secondary-white);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.2s ease-in-out;
  color: #000;
  font-size: 24px;
}

.social-icon-circle:hover {
  background-color: var(--primary-green);
}

.social-icon-svg {
  width: 24px;
  height: 24px;
  color: var(--bg-black);
}

.footer-right-section a {
  color: var(--secondary-white);
  text-decoration: none;
  font-size: 1em;
  margin-left: 20px;
}

.footer-right-section a:hover {
  color: var(--primary-green);
}

.footer-bottom-content {
  text-align: center;
  margin-top: 50px;
}

.footer-bottom-content p {
  font-size: 0.9em;
  color: var(--secondary-white);
}

.footer-bottom-content a {
  color: var(--primary-green);
  text-decoration: none;
}

.back-to-top-container {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
}

.back-to-top-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--primary-green);
  font-size: 0.8em;
  letter-spacing: 1px;
  text-transform: uppercase;
  transform: rotate(90deg);
  transform-origin: 50% 50%;
}

.back-to-top-icon {
  width: 15px;
  height: 15px;
  transform: rotate(-90deg);
  margin-bottom: 5px;
}

/* Responsive styles for smaller screens */
@media (max-width: 768px) {
  .footer-main-content {
    flex-direction: column;
    align-items: center;
  }

  .footer-left-section,
  .footer-middle-section,
  .footer-right-section {
    width: 100%;
    justify-content: center;
    margin-bottom: 20px;
  }

  .back-to-top-container {
    right: 10px;
  }
}

/* Basic styling for the section */
.blog-articles-section {
  padding: 40px 20px;
  /* background-color: #121212;  */
  color: #fff;
  font-family: Arial, sans-serif;
}

/* Styles for the carousel container */
.articles-carousel {
  overflow-x: auto;
  scroll-behavior: smooth;
  white-space: nowrap; /* Prevents cards from wrapping */
  -webkit-overflow-scrolling: touch; /* Improves scrolling on mobile */
  scrollbar-width: none; /* Hides scrollbar in Firefox */
}

/* Hides scrollbar for Webkit browsers (Chrome, Safari) */
.articles-carousel::-webkit-scrollbar {
  display: none;
}

/* Styles for the articles wrapper */
.articles-wrapper {
  display: inline-flex; /* Aligns cards horizontally */
  gap: 20px; /* Space between cards */
  padding-bottom: 20px;
}

/* Styles for each article card */
.article-card {
  display: flex;
  flex-direction: column;
  width: 450px;
  min-width: 300px;
  background-color: #1e1e1e;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.article-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 20px;
  flex-grow: 1;
}

.meta-data {
  font-size: 12px;
  color: #a0a0a0;
  margin-bottom: 8px;
}

.article-card h3 {
  white-space: break-spaces;
  font-size: 18px;
  margin-bottom: 15px;
  line-height: 1.4;
  overflow-wrap: break-word;
  word-wrap: break-word; /* For older browsers */
}

.read-more {
  font-weight: bold;
  color: #3498db;
}

/* Navigation button styling */
.carousel-nav {
  text-align: center;
  margin-top: 20px;
}

.carousel-nav button {
  background: none;
  border: 2px solid #fff;
  color: #fff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 20px;
  cursor: pointer;
  margin: 0 5px;
  transition: background-color 0.3s ease;
}

.carousel-nav button:hover {
  background-color: #333;
}

.hero-content-img-right {
  z-index: 999;
  pointer-events: none;
  justify-content: flex-end;
  align-items: center;
  height: 100vh;
  margin-top: -100vh;
  position: sticky;
  top: 60px;
  overflow: hidden;
  margin-right: 5%;
}


.gradient-border {
    border-radius: 12px;
    padding: 2px;
    background: linear-gradient(to right, #6EE7B7, #3B82F6, #9333EA, #EC4899);
    position: relative;
}

.gradient-border::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: black;
    border-radius: 10px;
    z-index: -1;
}




/* Privacy policy style */
    .privacy_policy-container {
      width: 100%;
      margin: 0 auto;
      padding: 20px;
      background: #fff;
      color: #000;
      padding-left:10%;
      padding-right:10%;
    }
    .privacy_policy-container h1,
    .privacy_policy-container h2 {
      color: #222;
      margin-top: 1.4em;
    }
    .privacy_policy-container h1 {
      font-size: 1.8rem;
      text-align: center;
      margin-bottom: 1rem;
    }
    .privacy_policy-container h2 {
      font-size: 1.2rem;
    }
    .privacy_policy-container p {
      margin: 0.8em 0;
    }
    .privacy_policy-container ul {
      padding-left: 20px;
    }
    .privacy_policy-last-updated {
      text-align: center;
      font-size: 0.9rem;
      color: #777;
      margin-bottom: 1rem;
    }
    @media (max-width: 600px) {
      .privacy_policy-container h1 {
        font-size: 1.5rem;
      }
      .privacy_policy-container h2 {
        font-size: 1.1rem;
      }
    }