﻿:root {
    --primary: #0a0e23;
    --secondary: #141a3a;
    --accent: #ff6f00;
    --accent-light: #ff8f33;
    --accent-dark: #e65c00;
    --text: #ffffff;
    --text-secondary: #b8c2d9;
    --card-bg: #1e2347;
    --gradient: linear-gradient(135deg, #ff6f00 0%, #ff3e00 100%);
    --glass-bg: rgba(30, 35, 71, 0.3);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow: 0 10px 30px rgba(255, 111, 0, 0.15);
    --shadow-hover: 0 20px 60px rgba(255, 111, 0, 0.25);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--primary);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Animated Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--primary);
}

    .animated-bg::before {
        content: '';
        position: absolute;
        width: 200%;
        height: 200%;
        background-image: radial-gradient(circle at 20% 20%, rgba(255, 111, 0, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(255, 111, 0, 0.05) 0%, transparent 50%), radial-gradient(circle at 40% 60%, rgba(255, 111, 0, 0.08) 0%, transparent 50%);
        animation: floatBackground 20s ease-in-out infinite;
    }


/* Hero Section */
.hero-section {
   
}

.hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
    z-index: 2;
   
    animation: fadeInUp 1s ease-out;
}
@media (min-width: 320px) and (max-width: 400px) {
    .hero-content {
        text-align: center;
        max-width: 900px;
        position: absolute;
        top: 46px;
        padding: 0 20px;
        z-index: 2;
        animation: fadeInUp 1s ease-out;
    }
    .hero-badge {
        padding:0px !important;
      
    }
            
    .cta-button {
        background: var(--gradient);
        color: white;
        padding: 9px 12px !important;
        font-size: 1.1rem;
        font-weight: 600;
        border: none;
        border-radius: 50px;
        cursor: pointer;
        transition: all 0.3s ease;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        box-shadow: var(--shadow);
    }
    .features-section {
        margin-top:30px;
        padding: 100px 0;
        background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    }

   
}

.hero-badge {
    display: inline-block;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--accent-light);
    margin-bottom: 30px;
    animation: pulse 2s ease-in-out infinite;
}

.hero-content h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 400;
    margin-bottom: 1.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 20px rgba(255, 111, 0, 0.3);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
    text-align:left;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}


.cta-button {
    background: var(--gradient);
    color: white;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow);
}

    .cta-button:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-hover);
    }

    .cta-button.secondary {
        background: transparent;
        border: 2px solid var(--accent);
        color: var(--accent);
    }

        .cta-button.secondary:hover {
            background: var(--accent);
            color: white;
        }

/* Overview Section */
.overview {
    padding: 60px 0;
    text-align: center;
    position: relative;
    top: 58px;
}

.container-anomaly {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: rgb(277, 111, 55);
    position: relative;
    display: flex;
    justify-content:center;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 3px;
        background: var(--gradient);
        border-radius: 3px;
    }

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
    text-align:justify;
}

/* Compact Statistics */
.compact-stats {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 30px;
    border: 1px solid var(--glass-border);
    max-width: 800px;
    margin: 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    text-align: center;
}

.stat-item {
    padding: 15px;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    display: block;
    margin-bottom: 5px;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
    opacity: 0.9;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .overview {
        padding: 40px 0;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .compact-stats {
        padding: 20px 15px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .stat-item {
        padding: 10px;
    }
}
/* Features Section - Updated for Video Cards */
.features-section {
   
    padding: 100px 0;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1.5fr);
    gap: 40px;
    margin-top: 80px;
}

.feature-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    padding: 0;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    height: 400px;
    display: flex;
    flex-direction: column;
}

    .feature-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--gradient);
        transform: scaleX(0);
        transition: transform 0.4s ease;
    }

    .feature-card::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--gradient);
        opacity: 0;
        transition: all 0.4s ease;
        z-index: -1;
    }

    .feature-card:hover::before {
        transform: scaleX(1);
    }

    .feature-card:hover::after {
        opacity: 0.05;
    }

    .feature-card:hover {
        transform: translateY(-15px);
        border-color: var(--accent-light);
        box-shadow: var(--shadow-hover);
    }

.feature-video-container {
    position: relative;
    height: 170px;
/*    overflow: hidden;
    background: var(--gradient);*/
}

.feature-video {
    width: 100%;
    height: 100%;
    object-fit:cover;
    transition: all 0.4s ease;
}

.feature-card:hover .feature-video {
    transform: scale(1.05);
}

.feature-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
    z-index: 2;
}

.feature-card:hover .feature-icon {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
}

.feature-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1.05rem;
    text-align:left;
   
}

/* Other existing styles... */

/* Scroll Navigation */
.scroll-nav {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 20px;
}

.scroll-btn {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    color: var(--text);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

    .scroll-btn:hover {
        background: var(--accent);
        border-color: var(--accent);
        transform: scale(1.1);
    }

    .scroll-btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

/* CTA Section */
.cta-section {
    padding: 120px 0;
    background: var(--gradient);
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .cta-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="white" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    }

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
}

.cta-section p {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

.cta-button-white {
    background: white;
    color: var(--accent);
    padding: 20px 50px;
    font-size: 1.2rem;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

    .cta-button-white:hover {
        transform: translateY(-5px);
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    }

/* Detection Categories - Fixed Horizontal Scroll */
.detection-categories {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.category-section {
    margin-bottom: 80px;
}

.category-header {
    text-align: center;
    margin-bottom: 50px;
}

    .category-header h3 {
        font-size: 2.2rem;
        font-weight: 600;
        margin-bottom: 10px;
        background: var(--gradient);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .category-header p {
        font-size: 1.1rem;
        color: var(--text-secondary);
        max-width: 600px;
        margin: 0 auto;
    }

/* Fixed Horizontal Scroll Container */
.horizontal-scroll {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 20px 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    /* Firefox ke liye scrollbar hide */
    scrollbar-width: none;
}

    /* Chrome, Safari, Edge ke liye scrollbar hide */
    .horizontal-scroll::-webkit-scrollbar {
        display: none;
    }

    .horizontal-scroll::-webkit-scrollbar-track {
        background: var(--glass-bg);
        border-radius: 10px;
        margin: 0 20px;
    }

    .horizontal-scroll::-webkit-scrollbar-thumb {
        background: var(--gradient);
        border-radius: 10px;
    }

        .horizontal-scroll::-webkit-scrollbar-thumb:hover {
            background: var(--accent-light);
        }

/* Fixed Object Cards */
.object-card {
    flex: 0 0 320px; /* Fixed width, no shrinking/growing */
    min-width: 320px; /* Minimum width */
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    scroll-snap-align: start;
}

    .object-card:hover {
        transform: translateY(-15px) scale(1.02);
        border-color: var(--accent-light);
        box-shadow: 0 25px 50px rgba(255, 111, 0, 0.3);
    }

        .object-card:hover .card-details {
            max-height: 200px;
            opacity: 1;
        }

        .object-card:hover .card-overlay {
            opacity: 1;
        }

        .object-card:hover .card-image img {
            transform: scale(1.1);
        }

.card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

    .card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 111, 0, 0.8), rgba(255, 62, 0, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.card-content {
    padding: 25px;
}

    .card-content h4 {
        font-size: 1.3rem;
        font-weight: 600;
        margin-bottom: 15px;
        color: var(--text);
    }

.card-details {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease;
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Category-specific color themes */
.object-card[data-category="vehicles"]:hover {
    box-shadow: 0 25px 50px rgba(59, 130, 246, 0.3);
    border-color: #3b82f6;
}

.object-card[data-category="vehicles"] .card-overlay {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.8), rgba(29, 78, 216, 0.6));
}

.object-card[data-category="animals"]:hover {
    box-shadow: 0 25px 50px rgba(34, 197, 94, 0.3);
    border-color: #22c55e;
}

.object-card[data-category="animals"] .card-overlay {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.8), rgba(21, 128, 61, 0.6));
}

.object-card[data-category="sports"]:hover {
    box-shadow: 0 25px 50px rgba(168, 85, 247, 0.3);
    border-color: #a855f7;
}

.object-card[data-category="sports"] .card-overlay {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.8), rgba(124, 58, 237, 0.6));
}

.object-card[data-category="food"]:hover {
    box-shadow: 0 25px 50px rgba(245, 158, 11, 0.3);
    border-color: #f59e0b;
}

.object-card[data-category="food"] .card-overlay {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.8), rgba(217, 119, 6, 0.6));
}

.object-card[data-category="security"]:hover {
    box-shadow: 0 25px 50px rgba(239, 68, 68, 0.3);
    border-color: #ef4444;
}

.object-card[data-category="security"] .card-overlay {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.8), rgba(220, 38, 38, 0.6));
}

.object-card[data-category="electronics"]:hover {
    box-shadow: 0 25px 50px rgba(6, 182, 212, 0.3);
    border-color: #06b6d4;
}

.object-card[data-category="electronics"] .card-overlay {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.8), rgba(8, 145, 178, 0.6));
}

/* Scroll Navigation Buttons */
.scroll-nav {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 15px;
}

.scroll-btn {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
}

    .scroll-btn:hover {
        background: var(--accent);
        border-color: var(--accent);
        transform: scale(1.1);
    }

    .scroll-btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

/* Call to Action */
.cta-section {
    padding: 100px 0;
    background: var(--gradient);
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .cta-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    }

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.cta-section p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button-white {
    background: white;
    color: var(--accent);
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

    .cta-button-white:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    }

/* Video Card Specific Styles */
.video-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-card:hover .video-overlay {
    background: rgba(0, 0, 0, 0);
}

.play-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.video-card:hover .play-icon {
    transform: scale(1.2);
    background: rgba(255, 111, 0, 0.8);
}
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section{
        margin-top:20px;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .cta-section p {
        font-size: 1.1rem;
    }

    .category-header h3 {
        font-size: 1.8rem;
    }

    .category-header p {
        font-size: 1rem;
    }

    .object-card {
        flex: 0 0 280px;
    }

    .horizontal-scroll {
        gap: 20px;
        padding: 10px;
    }

    .card-content {
        padding: 20px;
    }

        .card-content h4 {
            font-size: 1.2rem;
        }
}