/* --- CSS Variables & Theme --- */
:root {
    /* Core Colors */
    --bg-dark: #0a0e17;
    --bg-darker: #05070a;
    --bg-card: rgba(20, 24, 39, 0.7);
    --border-light: rgba(255, 255, 255, 0.08);
    
    /* Neon Accents based on Logo & Theme */
    --neon-purple: #c4328b; /* Logo match */
    --neon-purple-glow: rgba(196, 50, 139, 0.5);
    
    --neon-cyan: #00f0ff;
    --neon-cyan-glow: rgba(0, 240, 255, 0.5);
    
    --neon-red: #ff3366;
    --neon-green: #00ff66;
    --neon-blue: #0066ff;
    --neon-orange: #ff9900;
    
    /* Text */
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --text-white: #ffffff;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --section-pad: 100px 0;
}

/* --- Resets & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: var(--section-pad);
}

.bg-darker {
    background-color: var(--bg-darker);
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    color: var(--text-white);
    line-height: 1.2;
}

/* --- Typography Utilities --- */
.text-neon {
    color: var(--neon-purple);
    text-shadow: 0 0 10px var(--neon-purple-glow);
}

.text-center {
    text-align: center;
}

.section-subtitle {
    color: var(--neon-cyan);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.section-header p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 50px auto;
    font-size: 1.1rem;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: var(--neon-purple);
    color: white;
    border-color: var(--neon-purple);
}

.btn-primary:hover {
    background: transparent;
    color: var(--neon-purple);
}

.btn-glow {
    box-shadow: 0 0 15px var(--neon-purple-glow);
}

.btn-glow:hover {
    box-shadow: 0 0 25px var(--neon-purple-glow);
}

.btn-outline {
    background: transparent;
    color: var(--text-white);
    border-color: var(--border-light);
}

.btn-outline:hover {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    box-shadow: 0 0 15px var(--neon-cyan-glow);
}

.full-width {
    width: 100%;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(5, 7, 10, 0.98);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    border-bottom: 1px solid rgba(196, 50, 139, 0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 65px; /* Increased to allow text to be readable */
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.2));
    background-color: var(--text-white);
    padding: 6px 16px; /* More breathing room */
    border-radius: 8px; /* Slightly sharper but still soft */
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1); /* Subtle premium glow */
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.1;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--neon-cyan);
    text-shadow: 0 0 8px var(--neon-cyan-glow);
}

.nav-cta {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 120px; /* Offset for navbar */
    overflow: hidden;
}

.hero-bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center;
    z-index: -2;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,0));
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,0));
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--neon-purple-glow) 0%, transparent 70%);
    z-index: -1;
    opacity: 0.3;
}

.hero-grid-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: start;
    position: relative;
    z-index: 2;
    padding-top: 50px;
}

.hero-text-content {
    text-align: left;
}

.hero-text-content h1 {
    font-size: 4rem;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.cyber-hero-img {
    max-width: 100%;
    max-height: 550px;
    width: 100%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 0 40px var(--neon-cyan-glow);
    border: 1px solid var(--neon-cyan);
    filter: drop-shadow(0 0 30px rgba(0, 240, 255, 0.3));
    animation: float 6s ease-in-out infinite;
}

.hero-subtext {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    margin-bottom: 60px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding-top: 40px;
    border-top: 1px solid var(--border-light);
}

.stat-item h3 {
    font-size: 3rem;
    display: inline-block;
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan-glow);
}

.stat-item .plus {
    font-size: 2rem;
    color: var(--neon-cyan);
    font-family: var(--font-heading);
    font-weight: 700;
}

.stat-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Custom Bottom Wave */
.custom-shape-divider-bottom-1688625575 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}
.custom-shape-divider-bottom-1688625575 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}
.custom-shape-divider-bottom-1688625575 .shape-fill {
    fill: var(--bg-dark);
}

/* --- About Section --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-list {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    font-weight: 500;
}

.about-list i {
    color: var(--neon-purple);
    font-size: 1.2rem;
}

/* Cyber Shield Illustration CSS Art */
.cyber-shield-illustration {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.shield-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed var(--border-light);
    animation: rotate 20s linear infinite;
}

.c1 { width: 300px; height: 300px; border-color: var(--neon-cyan-glow); animation-direction: reverse; }
.c2 { width: 200px; height: 200px; border: 1px solid var(--neon-purple-glow); }
.c3 { width: 100px; height: 100px; background: rgba(196, 50, 139, 0.1); }

.main-icon {
    font-size: 4rem;
    color: var(--neon-purple);
    z-index: 2;
    text-shadow: 0 0 20px var(--neon-purple-glow);
}

.floating-node {
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--neon-cyan);
    backdrop-filter: blur(5px);
    animation: float 4s ease-in-out infinite;
}

.n1 { top: 20%; left: 20%; animation-delay: 0s; }
.n2 { bottom: 20%; right: 20%; animation-delay: 1s; color: var(--neon-red); }
.n3 { top: 30%; right: 10%; animation-delay: 2s; color: var(--neon-green); }

@keyframes rotate { 100% { transform: rotate(360deg); } }
@keyframes float { 
    0%, 100% { transform: translateY(0); } 
    50% { transform: translateY(-15px); }
}

/* --- Services Grid --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 40px 30px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255,255,255,0.2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    margin-bottom: 24px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
}

/* Service Colors */
.service-icon.red { color: var(--neon-red); box-shadow: inset 0 0 15px rgba(255, 51, 102, 0.2); }
.service-icon.neon { color: var(--neon-cyan); box-shadow: inset 0 0 15px var(--neon-cyan-glow); }
.service-icon.cyan { color: #00cccc; box-shadow: inset 0 0 15px rgba(0, 204, 204, 0.2); }
.service-icon.purple { color: var(--neon-purple); box-shadow: inset 0 0 15px var(--neon-purple-glow); }
.service-icon.blue { color: var(--neon-blue); box-shadow: inset 0 0 15px rgba(0, 102, 255, 0.2); }
.service-icon.green { color: var(--neon-green); box-shadow: inset 0 0 15px rgba(0, 255, 102, 0.2); }
.service-icon.orange { color: var(--neon-orange); box-shadow: inset 0 0 15px rgba(255, 153, 0, 0.2); }

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.service-list li {
    color: var(--text-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.service-list li::before {
    content: '▹';
    color: var(--neon-purple);
    font-size: 1.2rem;
    line-height: 1;
}

.full-width {
    grid-column: 1 / -1;
}

.horizontal-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/* --- Approach Timeline --- */
.horizontal-timeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 40px;
    position: relative;
}

.hz-timeline-item {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.hz-timeline-item:hover {
    transform: translateY(-5px);
    border-color: var(--neon-cyan);
}

.hz-dot {
    width: 40px;
    height: 40px;
    background: var(--bg-dark);
    border: 2px solid var(--neon-cyan);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--neon-cyan);
    box-shadow: 0 0 10px var(--neon-cyan-glow);
    margin: 0 auto 15px auto;
}

.hz-timeline-item h4 {
    color: var(--text-white);
    margin-bottom: 15px;
    font-size: 1.1rem;
    line-height: 1.3;
}

.hz-timeline-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Connecting line for desktop */
@media (min-width: 1025px) {
    .horizontal-timeline::before {
        content: '';
        position: absolute;
        top: 20px; /* Align with center of the dots */
        left: 5%;
        right: 5%;
        height: 2px;
        background: var(--border-light);
        z-index: 1;
    }
}

/* --- Industries --- */
.industry-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}

.ind-card {
    background: transparent;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 30px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    min-width: 180px;
}

.ind-card i {
    font-size: 2.5rem;
    color: var(--neon-purple);
}

.ind-card span {
    font-weight: 600;
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.ind-card:hover {
    background: rgba(196, 50, 139, 0.05);
    border-color: var(--neon-purple);
    transform: translateY(-5px);
}

/* --- Why Choose Us --- */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.glass-panel {
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid var(--border-light);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.glass-panel p {
    color: var(--text-muted);
    margin: 20px 0 30px 0;
}

.progress-bar {
    margin-bottom: 20px;
}

.prog-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
}

.prog-track {
    width: 100%;
    height: 6px;
    background: var(--bg-dark);
    border-radius: 3px;
    overflow: hidden;
}

.prog-fill {
    height: 100%;
    background: var(--neon-purple);
    border-radius: 3px;
    box-shadow: 0 0 10px var(--neon-purple-glow);
}

.prog-fill.cyan {
    background: var(--neon-cyan);
    box-shadow: 0 0 10px var(--neon-cyan-glow);
}

.feature-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feat-item {
    display: flex;
    gap: 20px;
}

.feat-item i {
    font-size: 2rem;
    color: var(--neon-cyan);
    background: rgba(0, 240, 255, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.feat-item h4 {
    margin-bottom: 8px;
    font-size: 1.25rem;
}

.feat-item p {
    color: var(--text-muted);
}

/* --- Case Studies --- */
.cs-grid, .cs-detailed-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.cs-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.cs-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--neon-cyan);
}

.cs-tag {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--text-muted);
}

.cs-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.cs-card p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.cs-link {
    color: var(--neon-cyan);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cs-link:hover {
    gap: 15px;
    text-shadow: 0 0 8px var(--neon-cyan-glow);
}

/* --- Contact Section --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-white);
}

.contact-info i {
    color: var(--neon-purple);
    font-size: 1.2rem;
}

.cyber-form {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    padding: 40px;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-dark);
    border: 1px solid var(--border-light);
    border-radius: 4px;
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--neon-purple);
    box-shadow: 0 0 10px var(--neon-purple-glow);
}

.form-disclaimer {
    margin-top: 20px;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
}

.form-disclaimer i {
    margin-right: 5px;
}

/* --- Footer --- */
.footer {
    padding-top: 80px;
    border-top: 1px solid var(--border-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-white);
}

.social-links a:hover {
    background: var(--neon-purple);
    box-shadow: 0 0 15px var(--neon-purple-glow);
    transform: translateY(-3px);
}

.footer-links h4 {
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.footer-links a:hover {
    color: var(--neon-cyan);
    padding-left: 5px;
}

.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid var(--border-light);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- Chat Widget --- */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--neon-purple);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 0 20px var(--neon-purple-glow);
    cursor: pointer;
    z-index: 999; /* Increased z-index to avoid overlap issues */
    transition: transform 0.3s ease;
}

.chat-widget:hover {
    transform: scale(1.1);
}

/* --- Animation Classes (Triggered via JS) --- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-right {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-left {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible,
.fade-right.visible,
.fade-left.visible {
    opacity: 1;
    transform: translate(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
    .hero-grid-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-text-content {
        text-align: center;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-text-content h1 { font-size: 3rem; }
    .about-grid, .why-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .horizontal-timeline {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Mobile menu requires JS toggle */
    }
    .mobile-toggle {
        display: block;
    }
    .hero-text-content h1 { font-size: 2.5rem; }
    .logo-text { font-size: 0.9rem; }
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .cs-grid, .cs-detailed-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .horizontal-timeline {
        grid-template-columns: 1fr;
    }
}
