/* ================= COMPONENTS ================= */

/* NAVBAR */
.cyn-navbar {
    background: rgba(11, 15, 26, 0.9);
    backdrop-filter: blur(10px);
    padding: 12px 0;
}

/* HERO SECTION */
.hero-section {
    position: relative;
    overflow: hidden;
    background: #0b0f1a;
}

#networkCanvas {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* HERO BUTTON */
.cyn-btn-primary {
    position: relative;
    background: linear-gradient(135deg, #6366f1, #06b6d4);
    padding: 14px 32px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    animation: pulseGlow 3s infinite;
}

.cyn-btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.7);
}

.cyn-btn-primary .arrow {
    transition: transform 0.3s ease;
}

.cyn-btn-primary:hover .arrow {
    transform: translateX(6px);
}

/* ANIMATIONS */
@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 rgba(6, 182, 212, 0.4);
    }
    50% {
        box-shadow: 0 0 20px rgba(6, 182, 212, 0.8);
    }
    100% {
        box-shadow: 0 0 0 rgba(6, 182, 212, 0.4);
    }
}

@keyframes blinkCursor {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes cardGlow {
    0% {
        box-shadow: 0 8px 20px rgba(0, 247, 255, 0.2), 0 -8px 20px rgba(0, 247, 255, 0.15);
    }
    50% {
        box-shadow: 0 18px 40px rgba(0, 247, 255, 0.35), 0 -18px 40px rgba(0, 247, 255, 0.25);
    }
    100% {
        box-shadow: 0 8px 20px rgba(0, 247, 255, 0.2), 0 -8px 20px rgba(0, 247, 255, 0.15);
    }
}

/* TYPING TEXT */
#typingText::after {
    content: "|";
    margin-left: 5px;
    animation: blinkCursor 1s infinite;
}

/* SERVICE CARDS */
.service-card {
    border: 2px solid rgba(0, 247, 255, 0.2);
    border-radius: 16px;
    transition: transform 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    animation: cardGlow 3s infinite ease-in-out;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: #00f7ff;
}

/* INDUSTRY SECTION */
.industry-section {
    padding: 60px 0;
}

.industry-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin-top: 40px;
}

.industry-track {
    display: flex;
    gap: 25px;
    width: max-content;
    padding: 10px 0;
    animation: industryScroll 28s linear infinite;
}

.industry-item {
    min-width: 260px;
    padding: 25px 25px;
    border-radius: 16px;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.industry-item:hover {
    border-color: #00cfff;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 15px rgba(0, 207, 255, 0.4);
    height: 80px;
}

.industry-slider:hover .industry-track {
    animation-play-state: paused;
}

@keyframes industryScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.industry-slider::before,
.industry-slider::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

.industry-slider::before {
    left: 0;
}

.industry-slider::after {
    right: 0;
}

/* FOOTER */
.footer h5 {
    padding-left: 35px;
}

.footer li {
    list-style: none;
}

/* TECH SECTION */
.tech-section {
    padding: 60px 15px;
}

.tech-section .col-lg-3,
.tech-section .col-md-4,
.tech-section .col-6 {
    display: flex;
}

.tech-section .tech-item {
    width: 100%;
    padding: 18px;
    border-radius: 12px;
    border: 1px solid transparent;
    text-align: center;
    transition: 0.3s;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
}

.tech-section .tech-item.active {
    border-color: #00cfff;
    box-shadow: 0 0 15px rgba(0, 207, 255, 0.4);
    transform: translateY(-4px);
}

@media (hover: hover) {
    .tech-section .tech-item:hover {
        border-color: #00cfff;
        background: rgba(255, 255, 255, 0.05);
        box-shadow: 0 0 15px rgba(0, 207, 255, 0.4);
        transform: translateY(-4px);
    }
}

/* ANIMATION BOX (for policy pages) */
.animation-box {
    max-width: 900px;
    margin: auto;
    padding: 25px;
    border-radius: 16px;
    border: 2px solid rgba(0, 247, 255, 0.2);
    background: rgba(255, 255, 255, 0.02);
    transition: 0.3s;
    animation: cardGlow 3s infinite ease-in-out;
}

.animation-box:hover {
    transform: translateY(-10px);
    border-color: #00f7ff;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .industry-item {
        min-width: 220px;
        font-size: 16px;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .animation-box {
        padding: 25px;
    }
    .animation-box h1 {
        font-size: 2rem;
    }
    .animation-box h3 {
        font-size: 1.2rem;
    }
    .footer .col-md-4 {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 576px) {
    .industry-item {
        min-width: 180px;
        padding: 25px 20px;
        font-size: 15px;
    }
    .process-step h4 {
        text-align: center;
    }
    .process-step {
        text-align: center;
        margin-bottom: 20px;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .service-card {
        text-align: center;
    }
    .service-card ul {
        padding-left: 0;
        list-style: none;
        text-align: left;
    }
    .tech-section .tech-item {
        min-height: 70px;
        font-size: 14px;
    }
    .footer p,
    .footer h5,
    .footer .footer-links {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .animation-box {
        padding: 20px;
    }
    .animation-box h1 {
        font-size: 1.7rem;
    }
    .animation-box p {
        font-size: 14px;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 3rem !important;
    }
}

.section-dark,
.section-gradient,
.industry-section {
    padding: 60px 0 !important;
}