/* Responsive: Center breadcrumb, title, and description on mobile */
@media (max-width: 600px) {


    .service-hero .service-title,
    .service-hero .service-description {
        text-align: center !important;
        justify-content: center;
        align-items: center;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }

    .service-hero .breadcrumb {
        margin-bottom: 1rem;
    }
}

/* Video Modal Styles */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.video-modal[style*="display: flex"] {
    display: flex !important;
}

.video-modal .close-btn {
    position: absolute;
    top: 32px;
    right: 32px;
    background: #fff;
    color: #222;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 2rem;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.video-modal .close-btn:hover {
    background: #ffe600;
    color: #000;
}

.video-modal video {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    background: #000;
}

/* Base Styles */
:root {
    --background: #09090b;
    --foreground: #fafafa;
    --primary: #facc15;
    --primary-foreground: #000;
    --border: #27272a;
    --muted: #18181b;
    --card: #18181b;
    --golden: #FFA629;
}


body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;

    color: hsl(210, 40%, 98%);

}

/* AI Tool Card Styles */
.tools-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 30px;
    padding-left: 1rem;
    padding-right: 1rem;

}

.ai-tool-card {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    background: linear-gradient(to bottom right, hsl(210, 4%, 11%), hsl(219, 24%, 16%));
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    color: inherit;

}

.ai-tool-card:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px -12px rgba(226, 249, 78, 0.25);
}

.ai-tool-card.highlighted {
    box-shadow: 0 0 0 2px var(--golden);
}

.ai-tool-card .image-container {
    aspect-ratio: 4/3;
    position: relative;
    overflow: hidden;


}

.ai-tool-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    filter: brightness(0.9);
}

.ai-tool-card:hover img {
    transform: scale(1.1);
}

.ai-tool-card .image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            hsla(0, 0%, 9%, 0.8),
            hsla(180, 2%, 10%, 0.2),
            transparent);
}

.ai-tool-card .content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
}

.ai-tool-card .status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.ai-tool-card .status-indicator {
    width: 0.5rem;
    height: 0.5rem;
    background-color: var(--primary);
    border-radius: 9999px;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.ai-tool-card .status-text {
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.025em;
}

.ai-tool-card h3 {
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.25;
}

.ai-tool-card p {
    color: hsl(213, 27%, 84%);
    font-size: 0.875rem;
    line-height: 1.625;
}

.ai-tool-card .arrow-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2rem;
    height: 2rem;
    background-color: hsla(0, 0%, 100%, 0.1);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.ai-tool-card .arrow-icon:hover {
    background-color: var(--golden);
}

.ai-tool-card .arrow-icon svg {
    width: 1rem;
    height: 1rem;
    color: white;
}

.ai-tool-card .arrow-icon svg:hover {
    color: #000;
}


.ai .intro-section {
    margin-top: 100px;

}

.service-card {
    position: relative;
    background: var(--card);
    /* or your card background color */
    padding: 1rem;
    border-radius: 12px;
    overflow: hidden;
}

.card-content {
    position: relative;
    padding-top: 1rem;
}

.card-stats {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    font-size: 0.875rem;
    color: #fff;
}

.stat-items {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
}

.stat-items i {
    color: var(--golden);
}

.wwa-header {
    text-align: center;
}

.wwa-title,
.wwa-description {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s ease forwards;
}

.wwa-title {
    animation-delay: 0.1s;
}

.wwa-description {
    animation-delay: 0.3s;
}

.platform-use {
    background: #efe9b3;
    color: #7a5d00;
    font-size: 0.98em;
    padding: 6px 18px;
    border-radius: 999px;
    margin: 8px 0 10px 0;
    display: inline-block;
    font-weight: 600;
    width: fit-content;
    box-shadow: 0 2px 8px 0 rgba(255, 230, 0, 0.08);
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .tools-container {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.2rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .ai-tool-card {
        min-width: 0;
    }
}

@media (max-width: 800px) {
    .tools-container {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .ai-tool-card {
        width: 100%;
        margin-bottom: 1rem;
    }

    .ai-tool-card .content {
        padding: 1rem;
    }

    .ai-tool-card h3 {
        font-size: 1rem;
    }

    .ai-tool-card p {
        font-size: 0.95rem;
    }
}

@media (max-width: 600px) {
    .tools-container {
        grid-template-columns: 1fr;
        gap: 0.7rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .ai-tool-card {
        width: 100%;
        min-width: 0;
        margin-bottom: 0.7rem;
        border-radius: 0.7rem;
    }

    .ai-tool-card .content {
        padding: 0.7rem;
    }

    .ai-tool-card h3 {
        font-size: 0.95rem;
    }

    .ai-tool-card p {
        font-size: 0.9rem;
    }

    .ai-tool-card .arrow-icon {
        top: 0.5rem;
        right: 0.5rem;
        width: 1.5rem;
        height: 1.5rem;
    }
}