/* Embien */
/* :root {
    --primary-color: var(--color-sky-800);
    --secondary-color: var(--color-sky-400);
    --primary-font: "Poppins", sans-serif;
    --secondary-font: "Poppins", sans-serif;
    --grad-color-1: var(--color-sky-800);
    --grad-color-2: var(--color-indigo-800);
    --dark: var(--color-gray-800);
    --bg-grad: linear-gradient(to bottom left, var(--grad-color-1), var(--grad-color-2));
    --font-color: #424242;
    --primary-shadow: oklch(0.44 0.11 240.79 / 0.71);
} */

/*  Rapidsea */
:root {
  --primary-color: var(--color-indigo-800); 
  --secondary-color: var(--color-violet-500);
  --primary-font: "Poppins", sans-serif;
  --secondary-font: "Poppins", sans-serif;
  --grad-color-1: var(--color-violet-800);
  --grad-color-2: var(--color-violet-800);
  --dark: var(--color-gray-800);
  --bg-grad: linear-gradient(to bottom left, var(--grad-color-1), var(--grad-color-2));
  --font-color: #424242;
}

/* :root {
    --primary-color: var(--color-emerald-800);
    --secondary-color: var(--color-green-500);
    --primary-font: "Poppins", sans-serif;
    --secondary-font: "Poppins", sans-serif;
    --grad-color-1: var(--color-teal-600);
    --grad-color-2: var(--color-green-600);
} */

/* :root {
    --primary-color: var(--color-amber-500);
    --secondary-color: var(--color-orange-900);
    --primary-font: "Poppins", sans-serif;
    --secondary-font: "Poppins", sans-serif;
    --grad-color-1: var(--color-amber-500);
    --grad-color-2: var(--color-orange-900);
} */

body {
    font-family: var(--primary-font);
}

.div-container {
    margin-inline: calc(var(--spacing) * 10);
    padding: calc(var(--spacing) * 5);
}

section {
    padding: 30px 0;
}


svg {
    color: var(--font-color)
}

.carousel-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    cursor: pointer;
}

.text-center p {
    text-align: center;
}

h1>span {
    color: var(--secondary-color);
}

.bg-dark {
    background: var(--dark);
}

.bg-secondary-color h1 {
    color: var(--primary-color);
}

.bg-dark h2,
.bg-dark h3,
.bg-dark h4 {
    color: var(--secondary-color);
}

.bg-dark p,
.bg-dark svg {
    color: white;
}

.bg-dark h1>span,
.bg-secondary-color h1>span {
    color: white;
}

.bg-white h1>span {
    color: var(--secondary-color);
    ;
}


.w-full-img {
    width: 100%;
    border-radius: 0.5rem;
}

.img-only {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -10;
    width: 100%;
    height: 100%;
    border-radius: 0.5rem;
    object-fit: cover;
    object-position: right;
}

.banner {
    color: white;
    min-height: calc(var(--spacing) * 140);

}

.banner img {
    min-height: calc(var(--spacing) * 140);
}

.bg-white {
    background-color: white;
}

.bg-primary-color {
    background-color: var(--primary-color);
}

.bg-secondary-color {
    background-color: var(--secondary-color);
}

.bg-gradient {
    background: var(--bg-grad)
}

.bg-primary-color h2,
.bg-gradient h2,
.bg-primary-color,
.bg-secondary-color,
.bg-gradient,
.bg-gradient svg,
.bg-primary-color svg,
.bg-secondary-color svg,
.bg-gradient svg,
.cta-button,
.cta-button svg,
.bg-white .card svg,
.cta-content-block h2,
.cta-content-block p {
    color: white;
}

.bg-white h1,
.bg-white h3,
.bg-white h2 {
    color: var(--primary-color);
}

.bg-white p,
.bg-white li,
.bg-white svg {
    color: var(--font-color);
}

p>span {
    color: var(--secondary-color);
}

.cta-button {
    padding: 15px 30px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: var(--text-sm);
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 2rem;
    gap: 0.5rem;
    background-color: var(--secondary-color);

    transition: margin-right 0.2s ease-in-out;
    /* Added for smooth hover */
}

.cta-button:hover {
    transition: transform 0.2s ease-in-out, box-shadow 0.3s ease-in-out;
    box-shadow: 0px 3px 11px 2px var(--secondary-color);
    transform: translateY(-0.25rem);
}

.cta-button svg {
    transition: transform 0.2s ease-in-out, padding-left 0.2s ease-in-out;
}


.cta-button:hover svg {
    padding-left: 5px;
    transform: scale(1.2) translateX(2px);
    /* Interactive effect: scale up 20% and move right */
}

.cta-text {
    padding: 15px 30px;
    margin-top: calc(var(--spacing) * 5);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: var(--text-sm);
    font-weight: 700;
    letter-spacing: 1px;
    gap: 0.5rem;
    color: var(--primary-color);
    transition: margin-right 0.2s ease-in-out;
    /* Added for smooth hover */
}

.cta-text svg {
    color: var(--primary-color);
    transition: transform 0.2s ease-in-out, padding-left 0.2s ease-in-out;
    /* Added for smooth SVG hover */
}

.cta-text:hover {
    margin-right: 5px;
}

.cta-text:hover svg {
    padding-left: 5px;
    transform: scale(1.2) translateX(2px);
    /* Interactive effect: scale up 20% and move right */
}

.bg-primary-color .cta-button,
.bg-secondary-color .cta-button {
    background-color: white;
    box-shadow: 0 10px 15px -3px rgba(255, 255, 255, 0.5),
        0 4px 6px -2px rgba(255, 255, 255, 0.05);
    color: var(--primary-color);
}

.bg-primary-color .cta-button svg,
.bg-secondary-color .cta-button svg {
    color: var(--primary-color);
}

/* Optional: Ensure hover effects apply in bg-primary-color context */
.bg-primary-color .cta-button:hover svg {
    padding-left: 5px;
    transform: scale(1.2) translateX(2px);
    /* Same interactive effect */
}

.col-2-gap {
    gap: calc(var(--spacing) * 4);
}

.col-3-card {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: calc(var(--spacing) * 20);
}

.col-4-card {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: calc(var(--spacing) * 10);
}

.col-4-infographic {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: calc(var(--spacing) * 0);
}

.card {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-radius: 0.5rem;
}

.vertical-card {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-radius: 0.5rem;
}

.div-video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 0.5rem;
}

.div-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-cta {
    position: relative;
    overflow: hidden;
    background-color: var(--color-gray-900);
    padding-inline: calc(var(--spacing) * 10);
    padding-top: calc(var(--spacing) *8);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border-radius: 2rem;
    gap: calc(var(--spacing) * 15);
}

.content-section {
    width: 100%;
    text-align: center;
    position: relative;
    padding-top: 1rem;
    padding-bottom: 2rem;
}

.card-item {
    width: 100%;
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}

.thumbnail-container {
    position: relative;
    width: 5rem;
    height: 5rem;
    border-radius: 0.375rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
}

.link-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem;
    border-radius: 0.375rem;
    transition: background-color 0.2s ease-in-out;
    text-decoration: none;
}

.cta-content-block {
    margin-left: auto;
    margin-right: auto;
    max-width: 28rem;
    text-align: center;
}



.carousel-slide {
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 1s ease;
    background-blend-mode: multiply;
}


.img-card {
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-height: 350px;
}

.img-card-link {
    display: block;
    height: 100%;
    width: 100%;
    position: relative;
}

.img-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--primary-color);
    background-blend-mode: soft-light;
}

.img-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    /* Blue overlay with 50% opacity */
    transform: translateY(-100%);
    /* Start below the image */
    transition: transform 1s ease;
    /* Smooth slide */
}


.img-card-text {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    transition: justify-content 0.3s ease;
    color: white;
}

.img-card-content:hover .img-card-text {
    justify-content: flex-start;
}

.img-card-footer {
    margin-top: 0.75rem;
    transition: opacity 0.3s ease;
    opacity: 0;
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
}

.img-card-footer p {
    color: white;
}

.img-card:hover .img-card-content {
    transform: translateY(0);
}

.img-card-content:hover .img-card-footer {
    opacity: 1;
}

.img-card-button {
    background-color: #fff;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    transition: background-color 0.2s ease;
    margin: 5px 30%;
}

.img-card-button:hover {
    background-color: #f3f4f6;
}

.img-card-button-link {
    color: var(--primary-color);
    text-decoration: none;
}

.card.bg-white h4 {
    color: var(--primary-color);
}

.bg-white .card h4,
.bg-white .card h3 {
    color: var(--primary-color);
}

.bg-white .card,
.bg-white .card li .bg-white .card svg {
    background-color: white;
    color: var(--primary-color);
}

.card li {
    list-style-type: disc;
}


.svg-bg {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: calc(var(--spacing) * 15.5);
    /* Matches size-15.5, 3.875rem or 62px */
    height: calc(var(--spacing) * 15.5);
    /* Matches size-15.5, 3.875rem or 62px */
    border-radius: 9999px;
    /* Matches rounded-full */
}

.bg-white .card .svg-bg {
    background-color: var(--primary-color);
}

.tab-button {
    display: flex;
    justify-content: center;
    padding: 1.25rem;
    border-radius: 0.75rem;
    box-shadow: 0 0px 6px 7px rgba(0, 0, 0, 0.1);
    color: var(--primary-color);
    transition: all 0.3s ease-in-out;
    font-weight: 500;
}

.tab-button:hover {
    background-color: var(--primary-color);
    color: white;
    font-weight: 500;
    box-shadow: 0 0px 6px 7px rgba(151, 199, 255, 0.1);
    transition: all 0.3s ease-in-out;
    transform: translateY(-0.25rem);
}

.tab-button.active {
    background-color: var(--secondary-color);
    color: white;
    font-weight: 600;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);

}

.bg-gradient .tab-button,
.bg-primary-color .tab-button,
.bg-secondary-color .tab-button {
    color: var(--color-white);
    border: 1px solid white;
}

.bg-gradient .tab-button:hover,
.bg-primary-color .tab-button:hover,
.bg-secondary-color .tab-button:hover {
    background-color: white;
    color: var(--primary-color);
}

.bg-gradient .tab-button.active .bg-primary-color .tab-button.active .bg-secondary-color .tab-button.active {
    background-color: var(--secondary-color);
    color: white;
}

.slider-container {
    margin: 20px 0;
}

.slider-card {
    color: #4b5563;
    background: white;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    width: 90%;
    outline: none;
    margin: 0 0.5rem;
    animation: fadeInUp 0.3s ease-in-out forwards;
}

.slider-card-image {
    position: relative;
    padding-top: 50%;
    padding-top: 70%;
    border-radius: 0.75rem;
    overflow: hidden;
}

slider-card-image img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    transition: transform 0.5s ease-in-out;
    border-radius: 0.75rem;
}

.slider-card:hover .slider-card-image img,
.slider-card:focus .slider-card-image img {
    transform: scale(1.05);
}

.slider-card-content {
    margin-top: 1.25rem;
    /* Adjusted from '5' typo */
}

.slider-card-content {
    color: #4b5563;
    transition: color 0.3s ease;
}

.slider-card:hover .slider-card-content h4 {
    color: #4b5563;
    /* group-hover:text-gray-600 */
}

.slider-card-content p {
    font-weight: 500;
}

.slider-btn {
    padding: 0.5rem;
    border-radius: 9999px;
    width: 1.5rem;
    height: 1.5rem;
    border: none;
    cursor: pointer;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 1.5rem 1.5rem;
}

.prev-btn {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 19l-7-7 7-7'/%3E%3C/svg%3E");
}

.next-btn {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5l7 7-7 7'/%3E%3C/svg%3E");
}

.cta-arrow-btn {
    width: calc(var(--spacing) * 2);
    height: calc(var(--spacing) * 2);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 20 20' fill='none' stroke='currentColor' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5l6 6-6 6'/%3E%3C/svg%3E");
}

.slider-btn:hover {
    color: #6b7280;
    /* Optional: Darken stroke on hover */
}


table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-family: Arial, sans-serif;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

th {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 15px;
    text-align: left;
    border-bottom: 2px solid #ddd;
}

td {
    padding: 10px 15px;
    border-bottom: 1px solid #ddd;
    color: #333;
}

tbody tr:nth-child(even) {
    background-color: #f2f2f2;
}

tbody tr:hover {
    background-color: #ddd;
    cursor: pointer;
}


.cta-form-button {
    padding: 15px 30px;
    margin-top: calc(var(--spacing) * 5);
    align-items: center;
    font-size: var(--text-sm);
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 1rem;
    background-color: var(--primary-color);
    color: white;
    transition: margin-right 0.2s ease-in-out;
}

.cta-form-button:hover {
    transition: transform 0.2s ease-in-out, box-shadow 0.3s ease-in-out;
    transform: translateY(-0.25rem);
}


/* Consolidated link styles */
.menu-link {
    color: var(--gray-200);
    text-decoration: none;
    font-size: var(--text-base);
    font-weight: 500;
    display: block;
}

.menu-link:hover {
    color: var(--color-white);
}

/* Heading styles */
.menu-heading {
    color: var(--gray-200);
    font-size: var(--text-lg);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.menu-heading a {
    color: var(--gray-200);
    text-decoration: none;
    font-size: var(--text-lg);
    font-weight: bold;
}

.menu-heading a:hover {
    color: var(--color-white);
}

/* Grid column styles */
.menu-column {
    width: 33.3333%;
    /* Equivalent to w-1/3 */
    padding: 0 1.25rem;
    /* Equivalent to px-5 */
    margin-bottom: 0.5rem;
    /* Equivalent to mb-7 */
}


/* Shared button styles */
.btn-base {
    padding: 15px 30px;
    margin-top: calc(var(--spacing) * 5);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: var(--text-sm);
    font-weight: 700;
    letter-spacing: 1px;
    gap: 0.5rem;
    transition: margin-right 0.2s ease-in-out;
}

.btn-base svg {
    transition: transform 0.2s ease-in-out, padding-left 0.2s ease-in-out;
}

.btn-base:hover {
    margin-right: 5px;
}

.btn-base:hover svg {
    padding-left: 5px;
    transform: scale(1.2) translateX(2px);
}

/* Shared link styles */
.menu-link {
    color: var(--color-gray-300);
    text-decoration: none;
    display: block;
}

.menu-link:hover {
    color: var(--color-white);
}

/* Mega menu dropdown */
.desktop-mega-menu-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--brand-color-800);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.active .desktop-mega-menu-dropdown {
    display: block;
}

/* Close button */
.mega-menu-close-btn {
    padding: 0.5rem;
    background: none;
    border: none;
    color: var(--gray-200);
    font-size: 0;
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 1001;
}

.mega-menu-close-btn svg {
    width: 2rem;
    height: 2rem;
    stroke: var(--color-white);
}

.mega-menu-close-btn:hover {
    color: var(--color-white);
}

.mega-menu-close-btn:focus {
    outline: none;
}

/* Sidebar and main content shared styles */
.menu-sidebar,
.menu-content {
    padding: 1.25rem;
}

.menu-sidebar {
    position: absolute;
    top: 0;
    left: 0;
    width: 16rem;
    background-color: rgb(28 30 36);
    height: 100%;
}

.menu-content {
    background: var(--bg-grad);
    padding-left: 16rem;
}

/* Shared list styles */
.menu-sidebar ul,
.menu-grid ul {
    list-style: none;
}

.menu-sidebar li,
.menu-grid li {
    padding: 0.5rem 0;
}

.menu-sidebar li {
    border-bottom: 1px solid #494949;
}

/* Headings and links */
.menu-sidebar h3,
.menu-content h3>a {
    color: var(--secondary-color);
    font-size: var(--text-base);
    font-weight: 500;
    padding: 0.75rem 0;
}

.menu-content h3>a {
    font-size: var(--text-lg);
}

.menu-content li>a {
    font-weight: 300;
    font-size: var(--text-base);
}

/* Description */
.menu-sidebar .description {
    font-size: 0.75rem;
    margin-top: 0.25rem;
    color: var(--color-gray-300);
}

/* Grid */
.menu-grid {
    max-width: 72rem;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
}

li.group.active {
    border-bottom: 5px solid var(--secondary-color);
    background-color: #eee;
    color: var(--primary-color)
}

.card-outer {
    position: relative;
    margin-bottom: 2rem;
    /* Space between cards */
}

:root {
    --card-height: 50vw;
    --card-margin: 4vw;
    --card-top-offset: 1em;
    --card-translate-step: 40px;
    /* Dynamic translate step */
    --numcards: 4;
    /* Update dynamically via JavaScript if needed */
    --outline-width: 0px;
}

#sticky-card-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    /* Consistent spacing */
    padding-bottom: calc(var(--numcards) * var(--card-top-offset));
    margin-bottom: var(--card-margin);
}

.infographic-vertical-left {
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
}

.infographic-vertical-right {
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
}

.stacked-card {
    position: sticky;
    top: 65px;
    padding-top: calc(var(--index, 0) * var(--card-top-offset));
    /* Dynamic index */
}

.card-item {
    transition: opacity 0.5s ease, transform 0.5s ease;
    opacity: 0;
    transform: translateY(var(--translate-y, 20px));
    /* Default translateY */
}

/* Animation when card comes into view */
.card-item.visible {
    opacity: 1;
    transform: translateY(0);
    /* Reset to original position */
}

/* Remove grid if not needed, or adjust if still required */
#cards {
    list-style: none;
    /* Remove grid if using flex in #sticky-card-wrapper */
    /* display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(var(--numcards), var(--card-height));
    gap: var(--card-margin); */
}

.card-content>figure {
    grid-area: img;
    overflow: hidden;
}

.card-content>figure>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.4em;
}

/* Scroll-based Animation */
@supports (animation-timeline: works) {
    @scroll-timeline cards-element-scrolls-in-body {
        source: selector(body);
        scroll-offsets: selector(#sticky-card-wrapper) start 1, selector(#sticky-card-wrapper) start 0;
        start: selector(#sticky-card-wrapper) start 1;
        end: selector(#sticky-card-wrapper) start 0;
        time-range: 4s;
    }

    .stacked-card {
        --index0: calc(var(--index, 0) - 1);
        --reverse-index: calc(var(--numcards) - var(--index0));
        --reverse-index0: calc(var(--reverse-index) - 1);
    }

    .card-content {
        transform-origin: 50% 0%;
        will-change: transform;
        --duration: calc(var(--reverse-index0) * 1s);
        --delay: calc(var(--index0) * 1s);
        animation: var(--duration) linear scale var(--delay) forwards;
        animation-timeline: cards-element-scrolls-in-body;
    }

    @keyframes scale {
        to {
            transform: scale(calc(1.1 - calc(0.1 * var(--reverse-index))));
        }
    }
}

/* hover styles */

.hover-text {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.hover-text:hover .card-image {
    transform: scale(1.05);
}

.hover-text .card-image {
    position: absolute;
    width: -webkit-fill-available;
    top: 0;
    left: 0;
    object-fit: cover;
    border-radius: 0.75rem;
    transition: transform 0.5s ease-in-out;
}

.hover-text:hover .hover-text {
    color: var(--secondary-color);
}

.hover-card:hover {
    box-shadow: 3px 4px 20px 0px var(--primary-shadow);
    border-radius: 0.7rem;
}

li.stacked-card {
    list-style: none;

}

.hover-text {
    transition: color 0.2s ease-in-out;
}

/* FAQ btn style */
.accordion-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    padding-top: 1.5rem;
    padding-bottom: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
    text-align: start;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

section ul {
    margin: 20px 0px 20px 50px;
}


section ul>li {
    list-style: disc;
}

.blog ul>li {
    list-style: disc;
}

 
.blog ol>li {
    list-style: decimal;
}
.case-study ol>li {
    list-style: decimal;
}

/* Basic styling for dropdown functionality */
.hs-dropdown-menu {
    transition: opacity 0.15s ease-in-out;
}

.hs-dropdown-open svg {
    transform: rotate(-180deg);
}


/* Define hover states */
.hover\:bg-color-primary:hover {
    background-color: var(--primary-color);
    /* Primary background color on hover */
}

.hover\:text-white:hover {
    color: #ffffff;
    /* White text on hover */
}

.hover-arrow:hover span {
    padding-left: 0.5rem;
    /* Equivalent to Tailwind's ps-2 */
}

.benefit-icon {
    flex-shrink: 0;
    margin-top: calc(var(--spacing) * 2);
    /* Matches original mt-2 */
    width: 2rem;
    /* Matches original size-8 */
    height: 2rem;
}

.benefits-column {
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing) * 6);
    /* Matches original space-y-6 */
}

.benefit-item {
    display: flex;
    gap: calc(var(--spacing) * 5);
    /* Matches original gap-x-5 */
}


@media (max-width: 768px) {

    .div-container {
        margin-inline: calc(var(--spacing) * 6);
        padding: calc(var(--spacing) * 3);
    }

    .cta-button {
        padding: 6px 10px;
        font-size: var(--text-sm);
        gap: 0.45rem;
    }

    .slider-card {
        width: 95%;
        /* sm:w-80 (320px) */
    }

    .slider-card-image {
        padding-top: 70%;
    }

    .col-3-card {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: calc(var(--spacing) * 15);
    }

    .col-4-card {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: calc(var(--spacing) * 10);
    }

    .col-4-infographic {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: calc(var(--spacing) * 0);
    }

    table {
        border: 0;
    }

    table thead {
        /* display: none; */
    }

    table tr {
        margin-bottom: 10px;
        display: block;
        border: 1px solid #ddd;
    }

    table td {
        display: block;
        /* text-align: right; */
        border-bottom: 1px dotted #ccc;
    }

    table td:before {
        content: attr(data-label);
        float: left;
        font-weight: bold;
        text-transform: uppercase;
    }

     .v-cards-container {
        flex-direction: column;
        align-items: center;
    }

    .v-card {
        width: 90%;
        max-width: 350px;
    }
   
}

@media (min-width: 768px) {

    .slider-card {
        width: 32.1%;
        /* md:w-94 (376px) */
    }

    .col-2-gap {
        gap: calc(var(--spacing) * 8);
        align-items: center;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .img-only {
        object-position: center;
    }

    .col-3-card {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: calc(var(--spacing) * 8);
    }

    .col-4-card {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: calc(var(--spacing) * 8);
        margin-top: calc(var(--spacing) * 10);
    }

    .col-4-infographic {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: calc(var(--spacing) * 0);
    }

    .col-video {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: calc(var(--spacing) * 8);
        align-items: center;
    }

    .hs-dropdown-menu {
        position: absolute;
        top: 100%;
        z-index: 10;
    }

    .accordion-toggle {
        font-size: 1.125rem;
    }

    .benefit-item {
        gap: calc(var(--spacing) * 8);
        /* Matches original gap-x-8 */
    }
    
    .v-cards-container {
        justify-content: center;
        /* Center the two columns */
    }

    .v-card {
        width: calc(50% - 30px);
        max-width: 350px;
    }
}

@media (min-width: 1024px) {

    .col-2-gap {
        gap: calc(var(--spacing) * 10);
    }

    .col-4-card {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: calc(var(--spacing) * 8);
        margin-top: calc(var(--spacing) * 12);
    }

    .col-4-infographic {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: calc(var(--spacing) * 0);
    }

    .content-section {
        width: 66.666%;
        text-align: left;
        position: sticky;
        top: 80px;
        align-self: flex-start;
        padding-top: 0;
        padding-bottom: 0;
    }

    .cta-content-block {
        margin-left: 0;
        margin-right: 0;
        flex: 1 1 0%;
        padding-top: 5rem;
        padding-bottom: 8rem;
        text-align: left;
    }

    .benefits-column {
        gap: calc(var(--spacing) * 10);
        /* Matches original space-y-10 */
    }

}

@media (min-width: 1250px) {

    .menu-container {
        max-width: 1150px;
        margin-inline: auto;
    }

    .div-container {
        max-width: 1150px;
        align-items: center;
        margin-inline: auto;
    }

    .col-video {
        gap: calc(var(--spacing) * 15);
    }
}


@media (min-width: 1350px) {
    .menu-container {
        max-width: 1250px;
        margin-inline: auto;
    }

    .div-container {
        max-width: 1250px;
        align-items: center;
        margin-inline: auto;
    }

}



@media (min-width: 1550px) {
    .menu-container {
        max-width: 1500px;
        margin-inline: auto;
    }

    .div-container {
        max-width: 1500px;
        align-items: center;
        margin-inline: auto;
    }

}

/* infographic horizontal wave */

.infographic-card {
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
    box-sizing: border-box;
    /* padding: 1rem; */
}

.card-section {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.card-content-area {
    height: 100px;
    padding: 40px;
}

.card-empty-space {
    height: 150px;
}

.hero-desc {
    margin-top: calc(var(--spacing) * 3);
    /* Matches mt-3 */
    font-size: var(--text-lg);
    color: var(--font-color);
}

.info-border-odd {
    border-top: 10px rgb(11, 113, 172) solid;
    border-radius: 150px;
}

.info-border-even {

    border-bottom: 10px rgb(11, 113, 172) solid;
    border-radius: 150px;
}


/* infographic Spinner years */


/* Hide radio buttons */
input[type="radio"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.cards-container {
    --base-rotation: 0deg;
    --full-circle: 360deg;
    --radius: 40vw;
    --duration: 200ms;
    --cards-container-size: calc(var(--radius) * 2);
    --cards-container-padding: 2rem;
    --border-color: transparent;
    --label-offset: calc(var(--radius) * -1 - 1rem);
    --label-size: 30px;
    --label-color: #666;
    --label-color-hover: steelblue;
    --label-line-h: 0;
    --label-line-h-current: 2rem;
    --label-icon-size: 10px;
    --title-top: 1.5rem;
    --title-offset-y: 30px;
    --info-top: 5rem;
    --info-width: min(70%, 500px);
    --info-offset-y: 30px;

    box-sizing: content-box;
    position: relative;
    inset: 0;
    margin: 5rem auto;
    width: var(--cards-container-size);
    height: var(--cards-container-size);
    padding: var(--cards-container-padding);
}

/* @media (width > 600px) {
    .cards-container {
        clip-path: polygon(0 0, 100% 0, 100% 50%, 0 50%);
    }
} */

@media (min-width: 800px) {
    .cards-container {
        --radius: 15vw;
        --label-size: 40px;
        --label-icon-size: 15px;
        --label-line-h-current: 4rem;
        --title-top: 4rem;
        --info-top: 8rem;
    }
}

@media (min-width: 1200px) {
    .cards-container {
        --label-size: 50px;
        --border-color: var(--label-color);
    }
}

.cards {
    position: absolute;
    inset: var(--cards-container-padding);
    aspect-ratio: 1;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease-in-out var(--duration);
    list-style: none;
}

.cards li {
    position: absolute;
    inset: 0;
    margin: 0;
    padding: 0;
    transform-origin: center;
    display: grid;
    place-content: center;
    transform: rotate(calc(var(--i) * 360deg / var(--items)));
    pointer-events: none;
}

.cards li>label {
    position: absolute;
    inset: 0;
    margin: auto;
    transform: translateY(var(--label-offset));
    width: var(--label-size);
    height: var(--label-size);
    cursor: pointer;
    pointer-events: initial;
    text-align: center;
    color: var(--label-color);
    font-size: clamp(.8rem, 2.5vw + .04rem, 1rem);
    transition: var(--duration) ease-in-out;
}

.cards li>label::before {
    content: '';
    position: absolute;
    top: var(--cards-container-padding);
    left: 50%;
    translate: -50% 0;
    width: var(--label-icon-size);
    height: var(--label-icon-size);
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 24 24" fill="none" stroke="%23666" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    transition: background-image var(--duration) ease-in-out;
}

.cards li>label:hover::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 24 24" fill="none" stroke="steelblue" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>');
}

.cards li>label::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    translate: -50% 5px;
    width: 2px;
    height: var(--label-line-h);
    background-color: steelblue;
    transition: height 300ms ease-in-out var(--label-line-delay, 0ms);
}

.cards li>label:hover {
    --label-color: var(--label-color-hover);
}

.cards>li>h2,
.cards>li>p {
    position: absolute;
    left: 50%;
    text-align: center;
    transform: translate(-50%, 0);
    transform-origin: center;
}

.cards>li>h2 {
    top: var(--title-top);
    opacity: var(--title-opacity, 0);
    translate: 0 var(--title-offset-y);
    transition: var(--duration) ease-in-out var(--title-delay, 0ms);
}

.cards>li>p {
    top: var(--info-top);
    margin: 0 auto;
    width: var(--info-width);
    z-index: 2;
    font-size: clamp(.8rem, 2.5vw + 0.05rem, .9rem);
    text-align: left;
    text-wrap: pretty;
    opacity: var(--info-opacity, 0);
    transition: var(--duration) ease-in-out var(--info-delay, 0ms);
}

li:has(input:checked) {
    --label-opacity: 1;
    --label-color: var(--label-color-hover);
    --label-line-h: var(--label-line-h-current);
    --label-line-delay: calc(var(--duration) * 2);
    --title-opacity: 1;
    --title-offset-y: 0;
    --title-delay: calc(var(--duration) * 3);
    --info-opacity: 1;
    --info-offset-y: 0;
    --info-delay: calc(var(--duration) * 4);
}

.cards:has(input:checked) {
    transform: rotate(calc(var(--base-rotation) - (var(--index) * var(--full-circle) / var(--items))));
}

.cards:has(li:nth-child(1)>input:checked) {
    --index: 0;
}

.cards:has(li:nth-child(2)>input:checked) {
    --index: 1;
}

.cards:has(li:nth-child(3)>input:checked) {
    --index: 2;
}

.cards:has(li:nth-child(4)>input:checked) {
    --index: 3;
}

.cards:has(li:nth-child(5)>input:checked) {
    --index: 4;
}

.cards:has(li:nth-child(6)>input:checked) {
    --index: 5;
}

.cards:has(li:nth-child(7)>input:checked) {
    --index: 6;
}

.cards:has(li:nth-child(8)>input:checked) {
    --index: 7;
}


/* -----------------pie chart------------ */

/* Infographic pie chart  */

:root {
    --chart-color-1: #ff9a00;
    --chart-color-2: #68c500;
    --chart-color-3: #1ca7ec;
    --chart-color-4: #ec407a;
    --chart-color-5: #00bcd4;
}

.infographic {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    width: 100%;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pie-chart {
    width: 360px;
    height: 360px;
    background: conic-gradient(var(--chart-color-1) 0deg 60deg,
            var(--chart-color-2) 60deg 120deg,
            var(--chart-color-3) 120deg 180deg,
            var(--chart-color-4) 180deg 240deg,
            var(--chart-color-5) 240deg 300deg,
            #a29bfe 300deg 360deg);
    border-radius: 50%;
    position: relative;
    box-shadow: inset 8px 8px 16px #babecc, inset -8px -8px 16px #ffffff;
}

.pie-inner {
    width: 160px;
    height: 160px;
    background: #e0e5ec;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    padding: 1rem;
    box-shadow: 8px 8px 16px #babecc, -8px -8px 16px #ffffff;
    z-index: 2;
}

.label {
    position: absolute;
    width: 100px;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
    cursor: help;
}

.label::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 5px 8px;
    border-radius: 5px;
    font-size: 11px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.label:hover::after {
    opacity: 1;
}

.label:nth-child(2) {
    /* top: 28px; */
    left: 42%;
    transform: translate(-87%, 224%) rotate(-32deg);
}

.label:nth-child(3) {
    top: 59px;
    right: 62px;
    transform: rotate(34deg);
}

.label:nth-child(4) {
    top: 161px;
    right: 4px;
    transform: rotate(90deg);
}

.label:nth-child(5) {
    bottom: 50px;
    left: 54%;
    transform: rotate(148deg);
}

.label:nth-child(6) {
    bottom: 47px;
    left: 64px;
    transform: rotate(211deg);
}

.label:nth-child(7) {
    top: 177px;
    left: 0;
    transform: rotate(90deg);
}

.right-panel {
    flex: 1;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.step {
    display: flex;
    align-items: center;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 8px 8px 16px #babecc, -8px -8px 16px #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #e0e5ec;
    opacity: 0;
    animation: revealStep 0.8s ease forwards;
}

.step:nth-child(1) {
    animation-delay: 0.3s;
}

.step:nth-child(2) {
    animation-delay: 0.6s;
}

.step:nth-child(3) {
    animation-delay: 0.9s;
}

.step:nth-child(4) {
    animation-delay: 1.2s;
}

.step:nth-child(5) {
    animation-delay: 1.5s;
}

@keyframes revealStep {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.step:hover {
    transform: scale(1.03);
    box-shadow: 6px 6px 12px #babecc, -6px -6px 12px #ffffff;
}

.step-index {
    padding: 1.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-content {
    padding: 1rem;
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.step-icon {
    font-size: 26px;
    color: #555;
}

.step-text {
    display: flex;
    flex-direction: column;
}

.step-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.step-desc {
    font-size: 0.9rem;
    color: #555;
}

.step:nth-child(1) .step-index {
    background: var(--chart-color-1);
}

.step:nth-child(2) .step-index {
    background: var(--chart-color-2);
}

.step:nth-child(3) .step-index {
    background: var(--chart-color-3);
}

.step:nth-child(4) .step-index {
    background: var(--chart-color-4);
}

.step:nth-child(5) .step-index {
    background: var(--chart-color-5);
}

@media (max-width: 768px) {
    .infographic {
        flex-direction: column;
    }
}


/* infographic Horizontal timeline */
:root {
    --primary: #6366f1;
    --primary-light: #a5b4fc;
    --secondary: #f59e0b;
    --text: #1e293b;
    --text-light: #64748b;
    --bg: #f8fafc;
    --card-bg: #ffffff;
}

.container {
    max-width: 100%;
    padding: 1rem 0;
    height: 100%;
}

.timeline-header {
    text-align: center;
    margin-bottom: 1rem;
    padding: 0 2rem;
}

.timeline-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.timeline-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.timeline-wrapper {
    position: relative;
    padding: 2rem 0;
    height: calc(100% - 150px);
}

.timeline-line {
    position: absolute;
    top: 57%;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: translateY(-50%);
    z-index: 1;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.3);
}

.timeline-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
    z-index: 2;
    transition: width 0.3s ease-out;
}

.timeline-items {
    display: flex;
    padding: 0 10%;
    scroll-snap-type: x mandatory;
    overflow-x: scroll;
    scroll-behavior: smooth;
    position: relative;
    z-index: 3;
    padding-top: 6rem;
    padding-bottom: 2rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
    height: 100%;
    align-items: center;
}

.timeline-items::-webkit-scrollbar {
    display: none;
}

.timeline-item {
    flex: 0 0 400px;
    scroll-snap-align: center;
    margin: 0 2rem;
    position: relative;
    opacity: 0.3;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.timeline-item.active {
    opacity: 1;
    transform: translateY(0);
}

.timeline-card {
    position: relative;
    padding: 2rem;
    border-radius: 1rem;
    background:
        linear-gradient(var(--card-bg), var(--card-bg)) padding-box,
        linear-gradient(135deg, var(--primary), var(--secondary)) border-box;
    border: 2px solid transparent;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.timeline-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.timeline-date {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
    z-index: 4;
}

.timeline-dot {
    position: absolute;
    top: -3rem;
    left: 50%;
    transform: translateX(-50%);
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: var(--primary);
    border: 4px solid var(--bg);
    z-index: 5;
    transition: all 0.3s ease;
}

.timeline-item.active .timeline-dot {
    transform: translateX(-50%) scale(1.2);
    box-shadow: 0 0 0 6px rgba(99, 102, 241, 0.2);
    animation: pulse 2s infinite;
}

.timeline-card .icon {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.timeline-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.timeline-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.timeline-card .btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.timeline-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.3),
        0 4px 6px -2px rgba(99, 102, 241, 0.1);
}

.timeline-nav {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
    gap: 1rem;
}

.timeline-nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-light);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 5000;
}

.timeline-nav-dot.active {
    background: var(--primary);
    transform: scale(1.3);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(99, 102, 241, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
    }
}


/* Responsive styles */
@media (max-width: 768px) {
    .timeline-items {
        flex-direction: column;
        padding: 0 2rem;
        overflow-x: visible;
        gap: 4rem;
        align-items: flex-start;
    }

    .timeline-item {
        flex: 1;
        margin: 0;
        opacity: 1;
        transform: none;
        width: 100%;
    }

    .timeline-line {
        left: 2rem;
        top: 0;
        bottom: 0;
        width: 4px;
        height: auto;
        transform: none;
    }

    .timeline-progress {
        width: 4px;
        height: 0;
        transition: height 0.3s ease-out;
    }

    .timeline-dot {
        top: -2rem;
        left: 1.8rem;
        transform: translateX(0);
    }

    .timeline-item.active .timeline-dot {
        transform: scale(1.2);
    }

    .timeline-date {
        left: 4rem;
        transform: none;
    }

    .timeline-card {
        margin-left: 4rem;
    }
}

/* Tooltip styles */
.timeline-dot::after {
    /* content: attr(data-tooltip); */
    position: absolute;
    top: -3rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.timeline-dot:hover::after {
    opacity: 1;
    top: -4.5rem;
}

@media (max-width: 768px) {
    .timeline-dot::after {
        left: 3rem;
        top: -1.5rem;
    }

    .timeline-dot:hover::after {
        left: 3rem;
        top: -3rem;
    }
}

.hero-desc.dark {
    color: #9ca3af;
    /* Matches dark:text-neutral-400 */
}

.hero-video-preview {
    position: relative;
    z-index: 0;
    /* Ensure image is above decorative elements */
    height: calc(var(--spacing) * 96);
    /* Matches h-96, 384px */
    background-color: #e5e7eb;
    /* Fallback if image fails */
}

@media (min-width: 640px) {
    .hero-video-preview {
        height: calc(var(--spacing) * 120);
        /* Matches sm:h-120, 480px */
    }
}

@media (max-width: 639px) {
    .hero-video-preview {
        height: calc(var(--spacing) * 64);
        /* Smaller height for mobile to prevent clipping */
    }
}

.hero-play-button {
    border: 1px solid #e5e7eb;
    /* Matches border-gray-200 */
    background-color: #ffffff;
    /* Matches bg-white */
    color: #1f2937;
    /* Matches text-gray-800 */
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    /* Matches shadow-2xs */
    z-index: 1;
    /* Ensure button is above image */
}

.hero-play-button:hover,
.hero-play-button:focus {
    background-color: #f3f4f6;
    /* Matches hover:bg-gray-50, focus:bg-gray-50 */
}

.hero-play-button.dark {
    background-color: #171717;
    /* Matches dark:bg-neutral-900 */
    border-color: #374151;
    /* Matches dark:border-neutral-700 */
    color: #ffffff;
    /* Matches dark:text-white */
}

.hero-play-button.dark:hover,
.hero-play-button.dark:focus {
    background-color: #262626;
    /* Matches dark:hover:bg-neutral-800, dark:focus:bg-neutral-800 */
}

.hero-modal {
    position: fixed;
    inset: 0;
    background-color: rgba(17, 24, 39, 0.5);
    /* Matches bg-gray-900 bg-opacity-50 */
    backdrop-filter: blur(4px);
    /* Matches backdrop-blur */
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 50;
}

.hero-modal.active {
    display: flex;
    /* Show modal when active */
}

.hero-modal-button {
    border: 1px solid #e5e7eb;
    /* Matches border-gray-200 */
    background-color: #ffffff;
    /* Matches bg-white */
    color: #1f2937;
    /* Matches text-gray-800 */
}

.hero-modal-button:hover {
    background-color: #f3f4f6;
    /* Matches hover:bg-gray-50 */
}

.hero-modal-button.dark {
    background-color: #171717;
    /* Matches dark:bg-neutral-900 */
    border-color: #374151;
    /* Matches dark:border-neutral-700 */
    color: #ffffff;
    /* Matches dark:text-white */
}

.hero-modal-button.dark:hover {
    background-color: #262626;
    /* Matches dark:hover:bg-neutral-800 */
}

.hero-deco-bottom {
    position: absolute;
    bottom: calc(var(--spacing) * 12);
    /* Matches bottom-12 */
    left: calc(var(--spacing) * -20);
    /* Matches -start-20 */
    z-index: -1;
    /* Ensure below image */
    width: calc(var(--spacing) * 48);
    /* Matches size-48, 192px */
    height: calc(var(--spacing) * 48);
    background: linear-gradient(to bottom, #f97316, #ffffff);
    /* Matches from-orange-500 to-white */
    padding: 1px;
    /* Matches p-px */
    border-radius: 0.5rem;
    /* Matches rounded-lg */
}

.hero-deco-bottom.dark {
    background: linear-gradient(to bottom, #f97316, #171717);
    /* Matches dark:to-neutral-900 */
}

.hero-deco-top {
    position: absolute;
    top: calc(var(--spacing) * -12);
    /* Matches -top-12 */
    right: calc(var(--spacing) * -20);
    /* Matches -end-20 */
    z-index: -1;
    /* Ensure below image */
    width: calc(var(--spacing) * 48);
    /* Matches size-48, 192px */
    height: calc(var(--spacing) * 48);
    background: linear-gradient(to top, #2563eb, #22d3ee);
    /* Matches from-blue-600 to-cyan-400 */
    padding: 1px;
    /* Matches p-px */
    border-radius: 9999px;
    /* Matches rounded-full */
}

.hero-deco-top.dark {
    background: linear-gradient(to top, #2563eb, #171717);
    /* Matches dark:to-neutral-900 */
}



/* Animations */
@keyframes fade-in-left {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in-right {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-left {
    animation: fade-in-left 0.5s ease-out forwards;
}

.fade-in-up {
    animation: fade-in-up 0.5s ease-out forwards;
}

.fade-in-right {
    animation: fade-in-right 0.5s ease-out forwards;
}

.blend-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--secondary-color);
    mix-blend-mode: hue;
    pointer-events: none;
}

.blog-banner-img{
    height: 650px;
}