:root {
    --blue-primary: #003C82;
    --yellow-primary: #FFED4E;
    --blue-border: #003C82;
    --gray-800: #1F2937;
    --gray-700: #374151;
    --gray-600: #4B5563;
    --gray-500: #6B7280;
    --gray-400: #9CA3AF;
    --gray-300: #D1D5DB;
    --gray-200: #E5E7EB;
    --gray-100: #F3F4F6;
    --white: #FFFFFF;
    --radius: 0.5rem;
    --border-radius-21: 21px;
    --background: #09090b;
    --foreground: #fafafa;
    --primary: #facc15;
    --primary-foreground: #000;
    --border: #27272a;
    --muted: #18181b;
    --card: #18181b;
    --golden: #FFA629;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--gray-800);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    box-sizing: border-box;
    margin-top: 0;
}

.min-h-screen {
    min-height: 100vh;
}

.max-w-1248 {
    max-width: 1248px;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.lg-py-24 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-16 {
    margin-bottom: 4rem;
}

.lg-mb-24 {
    margin-bottom: 6rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

/* Typography */
.font-montserrat {
    font-family: 'Montserrat', sans-serif;
}

.font-semibold {
    font-weight: 600;
}

.text-white {
    color: var(--white);
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.lg-text-32 {
    font-size: 2rem;
    line-height: 2.5rem;
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.lg-text-24 {
    font-size: 1.5rem;
    line-height: 2rem;
}

.page-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: white;
    background-color: var(--blue-primary);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    display: inline-block;
}

/* Consulting Section Styles */
.consulting-section {
    width: 100%;
    position: relative;
    padding: 2rem 0;
}

/* Consulting Card Base Styles */
.consulting-card {
    background-color: #FEFFDD;
    padding: 1.5rem;
    border-radius: 0.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 60, 130, 0.1);
}

.consulting-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--gray-800);
}

.consulting-card p {
    color: var(--gray-600);
    font-size: 0.875rem;
    line-height: 1.625;
}

.consulting-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Desktop Layout (≥1024px) */
@media (min-width: 1024px) {
    .desktop-layout {
        display: block;
    }

    .mobile-tablet-layout {
        display: none;
    }

    .consulting-card {
        flex: 1;
        min-width: 220px;
        max-width: 320px;
        margin-bottom: 0;
    }

    .consulting-card.medium {
        min-width: 220px;
        max-width: 320px;
    }

    .consulting-row-center {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .consulting-center-image {
        width: 33.333%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 2rem 0;
    }
}

/* Tablet Layout (768px-1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .desktop-layout {
        display: none;
    }

    .mobile-tablet-layout {
        display: block;
    }

    .consulting-flex-container {
        display: flex;
        flex-direction: column;
    }

    .consulting-top-row,
    .consulting-bottom-row {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .consulting-middle-row {
        display: flex;
        flex-direction: row;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .consulting-card {
        width: calc(50% - 0.75rem);
        max-width: 320px;
    }

    .consulting-center-image {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1rem 0;
    }
}

/* Mobile Layout (<768px) */
@media (max-width: 767px) {
    .desktop-layout {
        display: none;
    }

    .mobile-tablet-layout {
        display: block;
    }

    .consulting-flex-container {
        display: flex;
        flex-direction: column;
    }

    .consulting-top-row,
    .consulting-middle-row,
    .consulting-bottom-row {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .consulting-card {
        width: 100%;
    }

    .consulting-center-image {
        display: none;
    }
}

/* Center Image Container */
.center-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.center-image-container img {
    width: 100%;
    height: auto;
    max-width: 500px;

    object-fit: contain;
}


/* Custom Tablet Range: 766px - 1023px: Stack all consulting cards full width, top 4, then image, then 5 cards */
@media (min-width: 766px) and (max-width: 1023px) {

    .mobile-tablet-layout .flex,
    .mobile-tablet-layout .flex-col,
    .mobile-tablet-layout .sm\:flex-row {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .mobile-tablet-layout .consulting-card {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .mobile-tablet-layout .center-image-container,
    .mobile-tablet-layout .w-full.sm\:w-1\/2.lg\:w-1\/3.flex.items-center.justify-center.py-8 {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 2rem 0 !important;
        width: 100% !important;
        max-width: 500px;
        margin: 0 auto;
    }
}

/* Ensure the 3D image is always centered and responsive */
.centered-img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    height: auto;
    max-width: 500px;
    object-fit: contain;
    margin-right: 30px;
}

/* Flex and Grid Utilities */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.lg-flex-row {
    flex-direction: row;
}

.flex-1 {
    flex: 1;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-cols-12 {
    grid-template-columns: repeat(12, minmax(0, 1fr));
}

.col-span-4 {
    grid-column: span 4 / span 4;
}

.col-span-6 {
    grid-column: span 6 / span 6;
}

.col-span-8 {
    grid-column: span 8 / span 8;
}

/* Industry Card Styles */
.industry-card {
    position: relative;
    height: 16rem;
    border-radius: var(--border-radius-21);
    border: 1px solid var(--primary);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.industry-card:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(223, 194, 8, 0.673);
}

.industry-card-lg {
    height: 32rem;
}

.industry-card-md {
    height: 24.6875rem;
    /* 395px */
}

.industry-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.industry-card:hover img {
    transform: scale(1.1);
}

.industry-title {
    position: absolute;
    left: 1.25rem;
    bottom: 3.125rem;
    color: var(--primary);
    font-size: 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border-radius: 0.625rem;
    margin: 0;
    z-index: 2;

}

/* Center content */
.justify-center {
    justify-content: center;
}

.items-center {
    align-items: center;
}

/* Responsive Adjustments */
@media (min-width: 768px) {
    .md-grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .lg-flex-row {
        flex-direction: row;
    }

    .lg-w-1\/3 {
        width: 33.333333%;
    }

    .lg-py-24 {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }

    .lg-mb-24 {
        margin-bottom: 6rem;
    }

    .lg-text-32 {
        font-size: 2rem;
        line-height: 2.5rem;
    }

    .lg-text-24 {
        font-size: 1.5rem;
        line-height: 2rem;
    }

    .consulting-card {
        margin-bottom: 0;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeIn {
    animation: fadeIn 0.6s ease-out forwards;
}

/* New Industry Grid Styles */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
}

.industry-grid-item {
    position: relative;
    border-radius: 22px;
    border: 1px solid var(--blue-border);
    overflow: hidden;
    padding: 1rem;
}

.industry-grid-item:hover {
    border: 1px solid var(--yellow-primary);
    color: var(--primary)
}

.industry-grid-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.industry-grid-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

.industry-grid-title {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 1.875rem;
}

.industry-grid-title:hover {
    color: var(--primary) !important;
}


.industry-grid-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 50px;
    height: 3px;
}



/* Mobile Industry Grid */
.mobile-industry-grid {
    display: grid;
    gap: 1.5rem;
}

.mobile-industry-card {
    position: relative;
    height: 300px;
    border-radius: 22px;
    border: 1px solid var(--blue-primary);
    overflow: hidden;
}


/* Process Section */
.process-section {
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
    background-color: var(--background);
}

.process-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.process-container {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 10px 0;

    /* Hide scrollbar for Firefox */
}

.process-container::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar for Chrome/Safari */
}



.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    margin: 0 auto 3rem;
    color: var(--foreground);
    position: relative;
    display: block;
    width: fit-content;
    /* Better than fixed percentage */
    padding: 0 1rem;
    /* Prevents text from touching edges on mobile */
}

.section-title::after {
    content: '';
    position: absolute;
    width: 100%;
    /* Full width of the text */
    height: 2px;
    background-color: var(--primary);
    bottom: -10px;
    left: 0;
    border-radius: 2px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 640px) {
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .section-title::after {
        bottom: -8px;
        height: 1.5px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.4rem;
        width: 90%;
        /* Allows better text wrapping on small screens */
        margin-bottom: 1.5rem;
    }

    .section-title::after {
        bottom: -6px;
    }
}


.process-step {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 300px;
    margin: 0 10px;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background-color: #1A1A1A;
    transition: all 0.3s ease;
    cursor: pointer;
    scroll-snap-align: start;
}

.process-step.active {
    background-color: rgba(250, 204, 21, 0.1);
    border-color: var(--primary);
}

.process-number {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary);
}

.process-step.active .process-number {
    color: var(--primary);
}

.process-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--foreground);
}

.process-description {
    color: var(--gray-200);
    line-height: 1.6;
}

/* Original Desktop Arrow Styling (sides) */
.process-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--primary);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
}

.para {
    text-align: center;
    color: white;
}

.process-nav:hover {
    border-color: var(--primary);
    background-color: var(--yellow-primary);
    color: var(--primary-foreground);
}

.process-nav.left {
    left: -60px;
}

.process-nav.right {
    right: -60px;
}

.process-nav[disabled] {
    opacity: 0.5;
    pointer-events: none;
}

/* Tablet and Mobile - Bottom Arrows */
@media (max-width: 1324px) {
    .process-step {
        flex: 0 0 calc(50% - 20px);
    }

    .process-wrapper {
        padding-bottom: 60px;
        /* Add space for bottom arrows */
    }

    .process-nav {
        top: auto;
        bottom: 0;
        transform: none;
    }

    .process-nav.left {
        left: 50%;
        transform: translateX(calc(-50% - 30px));
        right: auto;
    }

    .process-nav.right {
        right: 50%;
        transform: translateX(calc(50% + 30px));
        left: auto;
    }
}

@media (max-width: 768px) {
    .process-step {
        flex: 0 0 calc(100% - 20px);
    }

    .process-wrapper {
        padding-bottom: 50px;
    }

    .process-nav.left {
        left: 40%;
        transform: translateX(-50%);
    }

    .process-nav.right {
        right: 40%;
        transform: translateX(50%);
    }
}

@media (max-width: 480px) {
    .process-nav {
        width: 40px;
        height: 40px;
    }

    .process-nav.left {
        left: 35%;
    }

    .process-nav.right {
        right: 35%;
    }

    .process-step {
        padding: 30px;
        min-width: 280px;
    }
}

@media (max-width: 360px) {
    .process-nav {
        width: 36px;
        height: 36px;
    }

    .process-nav.left {
        left: 30%;
    }

    .process-nav.right {
        right: 30%;
    }

    .process-step {
        padding: 25px;
        min-width: 260px;
    }
}

@media (min-width: 768px) {
    .mobile-industry-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .mobile-industry-grid {
        display: none;
    }
}

@media (max-width: 1023px) {
    .industry-grid {
        display: none;
    }

    /* Hide 3D image in mobile view */
    .mobile-hide {
        display: none;
    }

    /* Stack cards in single column for mobile */
    .mobile-stack {
        flex-direction: column;
    }

    /* Full width cards in mobile */
    .mobile-full-width {
        width: 100%;
    }

    /* Adjust process section for mobile */
    .process-step {
        flex: 0 0 calc(100% - 20px);
    }

    .process-wrapper {
        padding-bottom: 60px;
    }

    .process-nav {
        top: auto;
        bottom: 0;
        transform: none;
    }

    .process-nav.left {
        left: 40%;
        transform: translateX(-50%);
    }

    .process-nav.right {
        right: 40%;
        transform: translateX(50%);
    }
}

@media (max-width: 480px) {
    .process-nav {
        width: 40px;
        height: 40px;
    }

    .process-nav.left {
        left: 35%;
    }

    .process-nav.right {
        right: 35%;
    }

    .process-step {
        padding: 30px;
        min-width: 280px;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 360px) {
    .process-nav {
        width: 36px;
        height: 36px;
    }

    .process-nav.left {
        left: 30%;
    }

    .process-nav.right {
        right: 30%;
    }

    .process-step {
        padding: 25px;
        min-width: 260px;
    }

}


/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.faq-glow {
    position: absolute;
    top: 50%;
    left: 65%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(255, 221, 0, 0.4) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    filter: blur(100px);
    z-index: 0;
    border-radius: 50%;
    pointer-events: none;
}


.faq-accordion {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    margin-bottom: 0.5rem;
}

.faq-question {
    width: 100%;
    padding: 1.5rem 0;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: color 0.2s;
    font-family: 'Montserrat', sans-serif  ;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1rem;
}

.faq-answer p {
    padding-bottom: 1.5rem;
    color: #a1a1aa;
    line-height: 1.6;
}

.faq-item.active .faq-question {
    color: var(--primary);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-cta {
    text-align: center;
    margin-top: 3rem;
    font-size: 1rem;
    color: #9CA3AF;
}

.faq-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.faq-link:hover {
    text-decoration: underline;
}

/* feature section */
.features-section {
    padding: 60px 20px;
    text-align: center;

    font-family: 'Montserrat',sans-serif;
}

.features-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.features-subtitle {
    font-size: 1rem;
    color: var(--gray-300);
    max-width: 800px;
    margin: 0 auto 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.feature-box {
    padding: 25px;

    position: relative;
    z-index: 0;
    border-radius: 10px;
    overflow: hidden;
}

.feature-box h3 {
    font-size: medium;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary);
}

.feature-box p {
    font-size: 0.95rem;
    color: var(--foreground);
    line-height: 1.6;
}

.feature-box {
    background: transparent;
    position: relative;
    z-index: 1;
    border-radius: 12px;
}

.feature-box::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: 12px;
    padding: 2px;
    background: linear-gradient(270deg, var(--golden), var(--primary), var(--yellow-primary));
    background-size: 600% 600%;
    animation: animated-border 6s linear infinite;
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    mask:
        linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

@keyframes animated-border {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}