* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #0a192f;
    color: #f9fafb;
    font-family:
        "Poppins",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    overflow-x: hidden;
}

.hero-section {
    background:
        linear-gradient(180deg, rgba(3, 12, 24, 0.55), rgba(3, 12, 24, 0.8)),
        #07111f;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.42;
    filter: saturate(1.05) contrast(1.1) brightness(0.82);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top, rgba(0, 229, 255, 0.2), transparent 40%),
        linear-gradient(180deg, rgba(4, 12, 25, 0.28), rgba(4, 12, 25, 0.82));
}

/* Animated Grid Background */
.grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image:
        linear-gradient(0deg, rgba(0, 229, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 1;
    animation: gridShift 20s linear infinite;
}

.hero-metrics {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-metric {
    padding: 1rem 1.1rem;
    border-radius: 14px;
    background: rgba(8, 18, 30, 0.68);
    border: 1px solid rgba(0, 229, 255, 0.16);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.hero-metric-value {
    display: block;
    font-size: 1.15rem;
    font-weight: 700;
    color: #7cfc00;
    margin-bottom: 0.25rem;
    text-shadow: 0 0 10px rgba(124, 252, 0, 0.18);
}

.hero-metric-label {
    display: block;
    font-size: 0.92rem;
    line-height: 1.45;
    color: rgba(226, 232, 240, 0.8);
}

.cursor-blob-layer {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    /* Ensure blob appears above page content but below the nav */
    z-index: 40;
    /* sensible default so it's visible on page load */
    --cursor-opacity: 0.6;
}

/* Hero interactive atmosphere */
.hero-effects {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.hero-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(20px);
    opacity: 0.35;
    mix-blend-mode: screen;
    animation: orbFloat 12s ease-in-out infinite;
}

.hero-orb-1 {
    width: 34rem;
    height: 34rem;
    left: -8rem;
    top: -10rem;
    background: radial-gradient(circle at center,
            rgba(0, 229, 255, 0.24),
            rgba(0, 229, 255, 0.02) 60%,
            transparent 75%);
    animation-duration: 16s;
}

.hero-orb-2 {
    width: 28rem;
    height: 28rem;
    right: -8rem;
    top: 8rem;
    background: radial-gradient(circle at center,
            rgba(124, 252, 0, 0.2),
            rgba(124, 252, 0, 0.02) 58%,
            transparent 75%);
    animation-duration: 18s;
    animation-delay: -6s;
}

.hero-orb-3 {
    width: 22rem;
    height: 22rem;
    left: 35%;
    bottom: -7rem;
    background: radial-gradient(circle at center,
            rgba(255, 45, 45, 0.18),
            rgba(255, 45, 45, 0.01) 60%,
            transparent 78%);
    animation-duration: 20s;
    animation-delay: -10s;
}

.hero-cursor-glow {
    position: absolute;
    width: 12rem;
    height: 12rem;
    border-radius: 40% 60% 70% 30% / 40% 40% 60% 50%;
    animation: blobShape 8s ease-in-out infinite alternate;
    background:
        radial-gradient(circle at 35% 35%,
            rgba(255, 255, 255, 0.36) 0%,
            rgba(255, 255, 255, 0.16) 14%,
            rgba(0, 229, 255, 0.34) 34%,
            rgba(0, 229, 255, 0.14) 54%,
            rgba(124, 252, 0, 0.1) 70%,
            transparent 84%),
        radial-gradient(circle at 65% 60%,
            rgba(0, 229, 255, 0.25) 0%,
            rgba(0, 229, 255, 0.08) 30%,
            transparent 70%);
    top: 0;
    left: 0;
    opacity: var(--cursor-opacity, 0);
    transition: opacity 0.25s ease;
    filter: blur(14px) saturate(1.5);
    mix-blend-mode: screen;
    will-change: transform, opacity;
}

.hero-cursor-glow::before {
    content: "";
    position: absolute;
    inset: 18%;
    border-radius: inherit;
    background: radial-gradient(circle at center,
            rgba(255, 255, 255, 0.55),
            rgba(255, 255, 255, 0.08) 35%,
            transparent 70%);
    opacity: 0.55;
    filter: blur(2px);
}

.hero-cursor-glow::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at center,
            rgba(255, 255, 255, 0.18),
            transparent 58%);
    animation: blobPulse 7s ease-in-out infinite;
}

@keyframes blobShape {
    0% {
        border-radius: 40% 60% 70% 30% / 40% 40% 60% 50%;
    }

    34% {
        border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%;
    }

    67% {
        border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%;
    }

    100% {
        border-radius: 40% 60% 70% 30% / 40% 40% 60% 50%;
    }
}

@keyframes blobPulse {

    0%,
    100% {
        transform: scale(0.96);
        opacity: 0.65;
    }

    50% {
        transform: scale(1.04);
        opacity: 1;
    }
}

.hero-particles {
    position: absolute;
    inset: 0;
}

.hero-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(0, 229, 255, 0.55);
    box-shadow: 0 0 14px rgba(0, 229, 255, 0.45);
    animation: particleFloat linear infinite;
    will-change: transform, opacity;
}

@keyframes orbFloat {

    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(24px, -18px, 0) scale(1.05);
    }
}

@keyframes particleFloat {
    0% {
        transform: translate3d(0, 0, 0) scale(0.8);
        opacity: 0;
    }

    15% {
        opacity: 0.8;
    }

    50% {
        transform: translate3d(var(--drift-x, 20px), var(--drift-y, -24px), 0) scale(1);
        opacity: 0.95;
    }

    100% {
        transform: translate3d(calc(var(--drift-x, 20px) * 1.6),
                calc(var(--drift-y, -24px) * 1.6),
                0) scale(0.85);
        opacity: 0;
    }
}

@keyframes gridShift {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 50px 50px;
    }
}

/* Glow Effects */
.neon-glow {
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
    transition: all 0.3s ease;
}

.neon-glow:hover {
    box-shadow:
        0 0 40px rgba(0, 229, 255, 0.6),
        0 0 60px rgba(255, 45, 45, 0.2);
    transform: translateY(-5px);
}

.text-glow {
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}

/* Header logo sizing */
.logo {
    height: 42px;
    width: auto;
    display: block;
}

.footer-logo {
    height: 34px;
}

.btn-glow {
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 229, 255, 0.3);
}

.btn-glow:hover {
    background: #ff2d2d;
    box-shadow:
        0 0 20px rgba(255, 45, 45, 0.6),
        inset 0 0 20px rgba(255, 45, 45, 0.2);
    border-color: #ff2d2d;
    transform: scale(1.05);
}

.btn-secondary:hover {
    background: transparent;
    border-color: #00e5ff;
    color: #00e5ff;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
}

/* Card Hover Effect */
.service-card {
    background: linear-gradient(135deg,
            rgba(31, 59, 77, 0.8),
            rgba(31, 59, 77, 0.4));
    border: 1px solid rgba(0, 229, 255, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(0, 229, 255, 0.1),
            transparent);
    transition: left 0.5s ease;
}

.service-card:hover {
    border-color: rgba(0, 229, 255, 0.6);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.3);
    transform: translateY(-10px);
}

.service-card:hover::before {
    left: 100%;
}

.service-icon {
    font-size: 3rem;
    color: #00e5ff;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    color: #ff2d2d;
    filter: drop-shadow(0 0 10px #ff2d2d);
}

/* Scanning Line Animation */
@keyframes scan {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateY(100%);
        opacity: 0;
    }
}

.scan-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00e5ff, transparent);
    animation: scan 3s ease-in-out infinite;
}

/* Logo Grid */
.partner-logo {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 8px;
    padding: 10px 20px;
    background: rgba(31, 59, 77, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.partner-logo:hover {
    border-color: #00e5ff;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
    background: rgba(31, 59, 77, 0.6);
}

/* VAPT Grid Items */
.vapt-item {
    background: linear-gradient(135deg,
            rgba(31, 59, 77, 0.6),
            rgba(31, 59, 77, 0.2));
    border: 1px solid rgba(0, 229, 255, 0.2);
    padding: 2rem;
    border-radius: 12px;
    transition: all 0.4s ease;
    text-align: center;
}

.vapt-item:hover {
    border-color: #7cfc00;
    box-shadow: 0 0 25px rgba(124, 252, 0, 0.3);
    transform: translateY(-8px);
    background: linear-gradient(135deg,
            rgba(31, 59, 77, 0.8),
            rgba(31, 59, 77, 0.4));
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(31, 59, 77, 0.3);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 12px;
    overflow: hidden;
}

.comparison-table th {
    background: rgba(0, 229, 255, 0.1);
    border-bottom: 2px solid rgba(0, 229, 255, 0.3);
    padding: 1.5rem;
    text-align: left;
    color: #00e5ff;
    font-weight: 600;
}

.comparison-table td {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(0, 229, 255, 0.1);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.checkmark {
    color: #7cfc00;
    font-weight: bold;
    font-size: 1.25rem;
}

.xmark {
    color: #ff2d2d;
    font-weight: bold;
    font-size: 1.25rem;
}

/* Scroll Animation */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(90deg, #00e5ff, #7cfc00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Particles */
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #00e5ff;
    border-radius: 50%;
    opacity: 0.5;
}

/* Partner logos slider — rounded container with centered items and pagination */
.partner-slider {
    position: relative;
    overflow: hidden;
    padding: 36px 48px;
    border-radius: 18px;
    background: rgba(20, 34, 44, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.02);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.02),
        0 6px 24px rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    gap: 12px;
}

.partner-track {
    display: flex;
    gap: 36px;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform;
    align-items: center;
    width: 100%;
    padding: 10px 0;
    scroll-behavior: smooth;
}

.partner-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 72px;
    min-width: 160px;
    border-radius: 8px;
    padding: 12px 18px;
    background: transparent;
}

.partner-item img {
    max-height: 48px;
    width: auto;
    display: block;
    margin-right: 12px;
}

/* Pagination dots */
.partner-pagination {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 14px;
    display: flex;
    gap: 8px;
    z-index: 6;
}

.partner-dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    cursor: pointer;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.partner-dot.active {
    background: rgba(255, 255, 255, 0.28);
    transform: scale(1.05);
}

/* Hide arrows by default (clean look); show on hover */
.partner-arrow {
    display: none;
}

.partner-slider:hover .partner-arrow {
    display: flex;
}

.partner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.85);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
}

.partner-arrow[aria-label="Previous"] {
    left: 12px;
}

.partner-arrow[aria-label="Next"] {
    right: 12px;
}

.partner-arrow:hover {
    background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
    .partner-item {
        min-width: 140px;
        height: 60px;
    }

    .partner-slider {
        padding: 20px 18px;
    }

    .partner-track {
        gap: 20px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .grid-bg {
        background-size: 30px 30px;
    }

    .text-glow {
        font-size: 1.5rem;
    }

    .logo {
        height: 36px;
    }

    .footer-logo {
        height: 30px;
    }

    .hero-cursor-glow {
        width: 9rem;
        height: 9rem;
    }

    .hero-video {
        opacity: 0.28;
    }

    .hero-metric {
        padding: 0.9rem 1rem;
    }
}

/* Loading Animation for page */
.fade-in {
    animation: fadeInEffect 0.8s ease-in-out forwards;
}

@keyframes fadeInEffect {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Smooth Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #111827;
}

::-webkit-scrollbar-thumb {
    background: #00e5ff;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ff2d2d;
}