/* NOTE: @import must be at the very top of the stylesheet for full browser support */
@import url('css/fixes.css');
@import url('css/navigation-fixes.css');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: #ffffff;
    background-color: #4B4B4B;
    overflow-x: hidden;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}

/* Fix for mobile viewport issues */
@supports (-webkit-touch-callout: none) {
    body {
        min-height: -webkit-fill-available;
    }
}

html {
    height: -webkit-fill-available;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(75, 75, 75, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(93, 173, 226, 0.15);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    background: rgba(75, 75, 75, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 1.25rem;
        height: 70px;
    }
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: #5DADE2;
    letter-spacing: -0.5px;
}

.nav-logo i {
    margin-right: 12px;
    font-size: 2rem;
    filter: drop-shadow(0 2px 4px rgba(93, 173, 226, 0.3));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    letter-spacing: 0.3px;
}

.nav-link:hover {
    color: #5DADE2;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #5DADE2;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #4B4B4B 0%, #3a3a3a 50%, #2a2a2a 100%);
    position: relative;
    overflow: hidden;
}

.hero::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="%235DADE2" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 2;
    min-height: 80vh;
}

.hero-content {
    animation: slideInLeft 1s ease-out;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: #ffffff;
    letter-spacing: -1px;
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 1.6rem;
        margin-bottom: 1.25rem;
        line-height: 1.2;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
}

.highlight {
    color: #5DADE2;
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #5DADE2, transparent);
    animation: highlightGlow 2s ease-in-out infinite alternate;
}

.hero-description {
    font-size: 1.25rem;
    color: #e0e0e0;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    font-weight: 400;
    max-width: 600px;
}

@media (max-width: 768px) {
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 18px 36px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(135deg, #5DADE2, #4A9FD1);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(93, 173, 226, 0.3);
    border: 1px solid rgba(93, 173, 226, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(93, 173, 226, 0.4);
    background: linear-gradient(135deg, #6BB6E8, #5DADE2);
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(93, 173, 226, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #5DADE2;
    border: 2px solid #5DADE2;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(93, 173, 226, 0.1);
    color: #ffffff;
    transform: translateY(-3px);
    border-color: #6BB6E8;
    box-shadow: 0 8px 25px rgba(93, 173, 226, 0.2);
}

.btn-secondary:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(93, 173, 226, 0.15);
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideInRight 1s ease-out;
}

.security-animation {
    position: relative;
    width: 300px;
    height: 300px;
}

.shield-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.shield-icon {
    font-size: 8rem;
    color: #5DADE2;
    animation: shieldPulse 2s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(93, 173, 226, 0.5));
}

.security-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #5DADE2;
    border-radius: 50%;
    animation: particleFloat 3s ease-in-out infinite;
}

.particle:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 30%;
    right: 20%;
    animation-delay: 0.5s;
}

.particle:nth-child(3) {
    bottom: 30%;
    left: 30%;
    animation-delay: 1s;
}

.particle:nth-child(4) {
    bottom: 20%;
    right: 30%;
    animation-delay: 1.5s;
}

/* Cyber Kill Chain Section */
.kill-chain-section {
    padding: 160px 0 150px;
    background: linear-gradient(135deg, #2a2a2a 0%, #3a3a3a 50%, #4B4B4B 100%);
    position: relative;
    overflow: hidden;
}

.kill-chain-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(93, 173, 226, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(93, 173, 226, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.kill-chain-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.kill-chain-text {
    animation: slideInLeft 1s ease-out;
}

.kill-chain-title {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.highlight-text {
    color: #5DADE2;
    position: relative;
}

.kill-chain-description {
    margin-bottom: 2.5rem;
}

.kill-chain-paragraph {
    font-size: 1.1rem;
    color: #e0e0e0;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.kill-chain-paragraph strong {
    color: #5DADE2;
    font-weight: 600;
}

.kill-chain-solution {
    font-size: 1.1rem;
    color: #ffffff;
    font-weight: 500;
    line-height: 1.6;
}

.kill-chain-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.kill-chain-visual {
    animation: slideInRight 1s ease-out;
}

.kill-chain-visual-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 5rem;
    text-align: center;
    line-height: 1.2;
}

.kill-chain-diagram {
    position: relative;
    width: 800px;
    height: 700px;
    margin: 0 auto 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Flow SVG */
.speed-svg, .flow-svg {
    overflow: visible;
    width: 100%;
    height: auto;
    max-width: 900px;
    shape-rendering: geometricPrecision;
    text-rendering: optimizeLegibility;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.arc {
    fill: none;
    stroke: rgba(93, 173, 226, 0.2);
    stroke-width: 4;
    vector-effect: non-scaling-stroke;
}

.arc-progress {
    fill: none;
    stroke: url(#neonBlue);
    stroke-width: 5;
    stroke-linecap: round;
    stroke-dasharray: 0 2000;
    vector-effect: non-scaling-stroke;
}

/* Wheel base */
.wheel-outer {
    fill: rgba(255,255,255,0.05);
    stroke: rgba(93,173,226,0.4);
    stroke-width: 10;
    filter: drop-shadow(0 0 15px rgba(93,173,226,0.3));
}

.wheel-inner {
    fill: rgba(255,255,255,0.08);
    stroke: rgba(93,173,226,0.25);
    stroke-width: 8;
    filter: drop-shadow(0 0 10px rgba(93,173,226,0.2));
}

.segment-slice {
    fill: rgba(93,173,226,0.15);
    stroke: url(#neonBlue);
    stroke-width: 5;
    vector-effect: non-scaling-stroke;
    opacity: 0.3;
    transition: opacity 0.3s ease-out, fill 0.3s ease-out;
    will-change: opacity, fill;
}

.segment-slice.active {
    opacity: 1;
    fill: rgba(93,173,226,0.35);
    filter: url(#glow);
}

.needle-dot {
    fill: url(#neonBlue);
    filter: url(#glow);
}

.speed-node .node-circle, 
.flow-node .node-circle {
    fill: rgba(14, 24, 34, 0.8);
    stroke: rgba(93, 173, 226, 0.7);
    stroke-width: 3;
    transition: stroke 0.3s ease-out, fill 0.3s ease-out, filter 0.3s ease-out;
    vector-effect: non-scaling-stroke;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
    will-change: stroke, fill, filter;
}
.step-label text {
    fill: #f2f8ff;
    paint-order: stroke fill;
    stroke: rgba(0,0,0,0.55);
    stroke-width: 0.8px;
    user-select: none;
    pointer-events: none;
    dominant-baseline: middle;
}

.label-title { font-size: 16px; font-weight: 700; }
.label-desc  { font-size: 12px; opacity: 0.9; }


.speed-node.active .node-circle { 
    stroke: url(#neonBlue); 
    fill: rgba(93,173,226,0.25); 
    filter: drop-shadow(0 0 12px rgba(93,173,226,0.6));
}

.speed-node { cursor: pointer; }

/* Prevent any transform animation from layout reflows */
.speed-node, .speed-node * {
    transform-box: fill-box;
    transform-origin: center;
}

/* Click glow pulse (no movement) */
@keyframes glowPulse {
    0% { filter: drop-shadow(0 0 8px rgba(93,173,226,0.4)); }
    50% { filter: drop-shadow(0 0 16px rgba(93,173,226,0.8)); }
    100% { filter: drop-shadow(0 0 8px rgba(93,173,226,0.4)); }
}

.speed-node.glow .node-circle {
    stroke: url(#neonBlue);
    animation: glowPulse 0.6s ease;
}

.center-title {
    font-size: 22px;
    font-weight: 700;
    fill: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.center-subtitle {
    font-size: 16px;
    fill: #e6f4ff;
    opacity: 0.95;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.step-node text, .speed-node text {
    fill: #f2f8ff;
    text-anchor: middle;
    paint-order: stroke fill;
    stroke: rgba(0, 0, 0, 0.55);
    stroke-width: 0.8px;
    pointer-events: none;
    user-select: none;
}

.step-node .step-number, .speed-node .step-number {
    font-size: 18px;
    font-weight: 800;
    fill: #5DADE2;
    paint-order: stroke fill;
    stroke: rgba(0, 0, 0, 0.6);
    stroke-width: 0.8px;
}

.step-node .step-title, .speed-node .step-title {
    font-size: 16px;
    font-weight: 700;
}

.step-node .step-desc, .speed-node .step-desc {
    font-size: 13px;
    opacity: 0.9;
}

/* Improved step label styling - organized layout with better spacing */
.step-label {
    pointer-events: none;
    user-select: none;
}

.step-label .label-num {
    font-size: 28px;
    font-weight: 900;
    fill: #5DADE2;
    paint-order: stroke fill;
    stroke: rgba(0, 0, 0, 0.9);
    stroke-width: 1.5px;
    text-anchor: middle;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.step-label .label-title {
    font-size: 15px;
    font-weight: 700;
    fill: #ffffff;
    paint-order: stroke fill;
    stroke: rgba(0, 0, 0, 0.9);
    stroke-width: 1.2px;
    letter-spacing: 0.5px;
    text-anchor: middle;
}

.step-label .label-desc {
    font-size: 12px;
    font-weight: 500;
    fill: #e0e0e0;
    paint-order: stroke fill;
    stroke: rgba(0, 0, 0, 0.7);
    stroke-width: 1px;
    opacity: 0.95;
    text-anchor: middle;
}

.step-node .node-circle, .speed-node .node-circle {
    r: 42;
}

/* Properly centered icon styling */
.icon-text {
    font-family: 'Font Awesome 6 Free', 'FontAwesome', sans-serif;
    font-weight: 900;
    text-anchor: middle;
    dominant-baseline: central;
    fill: #5DADE2;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}


.kill-chain-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    height: 160px;
    background: linear-gradient(135deg, #5DADE2, #4A9FD1);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 15px 40px rgba(93, 173, 226, 0.4);
    animation: centerPulse 3s ease-in-out infinite;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.center-logo {
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.center-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
    margin-bottom: 0.3rem;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.center-subtitle {
    font-size: 0.8rem;
    color: #ffffff;
    opacity: 0.9;
    text-align: center;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.kill-chain-stages {
    position: relative;
    width: 100%;
    height: 100%;
}

.kill-chain-stage {
    position: absolute;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.1);
    border: 3px solid rgba(93, 173, 226, 0.4);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    opacity: 0.7;
    transform: scale(0.9);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.kill-chain-stage.active {
    opacity: 1;
    transform: scale(1.05);
    border-color: #5DADE2;
    background: rgba(93, 173, 226, 0.2);
    box-shadow: 0 20px 50px rgba(93, 173, 226, 0.4);
    z-index: 5;
}

.kill-chain-stage:hover {
    transform: scale(1.1);
    border-color: #5DADE2;
    background: rgba(93, 173, 226, 0.25);
    box-shadow: 0 25px 60px rgba(93, 173, 226, 0.5);
    z-index: 6;
}

.kill-chain-stage[data-stage="1"] {
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
}

.kill-chain-stage[data-stage="2"] {
    bottom: 70px;
    left: 15px;
}

.kill-chain-stage[data-stage="3"] {
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
}

.kill-chain-stage[data-stage="4"] {
    top: 70px;
    right: 15px;
}

.kill-chain-stage[data-stage="5"] {
    bottom: 70px;
    right: 15px;
}

.stage-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #5DADE2, #4A9FD1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    transition: all 0.4s ease;
    box-shadow: 0 4px 12px rgba(93, 173, 226, 0.3);
}

.kill-chain-stage:hover .stage-icon {
    transform: scale(1.3) rotate(10deg);
    box-shadow: 0 8px 20px rgba(93, 173, 226, 0.5);
}

.stage-icon i {
    font-size: 1.2rem;
    color: #ffffff;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.stage-number {
    font-size: 1.4rem;
    font-weight: 800;
    color: #5DADE2;
    margin-bottom: 0.4rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.stage-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.4rem;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.stage-description {
    font-size: 0.65rem;
    color: #e0e0e0;
    line-height: 1.3;
    text-align: center;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.kill-chain-bottom-text {
    text-align: center;
    font-size: 1.15rem;
    font-weight: 600;
    color: #5DADE2;
    margin-top: 4rem;
    max-width: 900px;
    padding: 0 24px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    overflow-wrap: anywhere;
    word-break: break-word;
    text-wrap: balance;
}

/* Consultation Form Modal */
.consultation-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.consultation-modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.modal-content {
    background: linear-gradient(135deg, #4B4B4B, #3a3a3a);
    border-radius: 20px;
    padding: 0;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid rgba(93, 173, 226, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    animation: slideInUp 0.3s ease;
    position: relative;
}

.modal-header {
    background: linear-gradient(135deg, #5DADE2, #4A9FD1);
    padding: 2rem;
    border-radius: 20px 20px 0 0;
    text-align: center;
    position: relative;
}

.modal-header h2 {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
}

.modal-header h3 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.modal-body {
    padding: 2rem;
}

.consultation-form {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(93, 173, 226, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #5DADE2;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(93, 173, 226, 0.2);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    color: #e0e0e0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
    transform: scale(1.2);
}

.phone-group {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.country-selector {
    flex: 0 0 auto;
    min-width: 120px;
}

.country-select {
    width: 100%;
    padding: 12px 40px 12px 16px;
    border: 2px solid rgba(93, 173, 226, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235DADE2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    position: relative;
}

.country-select::-ms-expand {
    display: none;
}

.country-select:focus {
    outline: none;
    border-color: #5DADE2;
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(93, 173, 226, 0.2);
}

.country-select option {
    background: #4B4B4B;
    color: #ffffff;
    padding: 8px;
}

.phone-group input[type="tel"] {
    flex: 1;
    margin: 0;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    font-size: 1.1rem;
    font-weight: 600;
}

.form-footer {
    text-align: center;
    margin-top: 1rem;
}

.form-footer p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    margin: 0;
}

.contact-info {
    background: rgba(93, 173, 226, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
}

.contact-info h4 {
    color: #5DADE2;
    font-size: 1.2rem;
    margin: 0 0 1rem 0;
}

.contact-info p {
    color: #e0e0e0;
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.contact-info i {
    color: #5DADE2;
    width: 16px;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive tweaks for speedometer diagram */
@media (max-width: 1200px) {
  .kill-chain-content { grid-template-columns: 1fr; gap: 3rem; }
  .kill-chain-visual-title { margin-bottom: 2rem; }
  .kill-chain-diagram { 
    width: min(90vw, 700px); 
    height: auto; 
    max-width: 100%;
  }
  .speed-svg {
    max-width: 100%;
    height: auto;
  }
}

/* Kill Chain Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes centerPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 15px 40px rgba(93, 173, 226, 0.4);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05);
        box-shadow: 0 20px 50px rgba(93, 173, 226, 0.6);
    }
}

/* Additional animations for stages */
@keyframes stageGlow {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    }
    50% {
        box-shadow: 0 15px 35px rgba(93, 173, 226, 0.3);
    }
}

.kill-chain-stage.active {
    animation: stageGlow 2s ease-in-out infinite;
}

/* Services Section */
.services-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #4B4B4B 0%, #3a3a3a 50%, #2a2a2a 100%);
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(93, 173, 226, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(93, 173, 226, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    position: relative;
    letter-spacing: -0.5px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #5DADE2, transparent);
}

.section-description {
    font-size: 1.2rem;
    color: #e0e0e0;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    font-weight: 400;
}

/* Services Carousel */
.services-carousel-container {
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.services-carousel {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 2rem;
    width: fit-content;
    overflow: hidden;
}

.carousel-clone {
    opacity: 0.9;
}

.carousel-track .service-card,
.carousel-track .compliance-card {
    flex: 0 0 auto;
    width: 300px;
    min-width: 300px;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border: 2px solid #5DADE2;
    background: transparent;
    color: #5DADE2;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.carousel-btn:hover {
    background: #5DADE2;
    color: #ffffff;
    transform: scale(1.1);
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(93, 173, 226, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: #5DADE2;
    transform: scale(1.2);
}

.carousel-dot:hover {
    background: #5DADE2;
}

/* Compliance Carousel */
.compliance-carousel-container {
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.compliance-carousel {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Fallback grid layout when carousel fails */
.carousel-fallback {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.carousel-fallback .service-card,
.carousel-fallback .compliance-card {
    width: auto;
    min-width: auto;
}

.service-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(93, 173, 226, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(93, 173, 226, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: #5DADE2;
    box-shadow: 0 25px 50px rgba(93, 173, 226, 0.3);
    background: rgba(255, 255, 255, 0.12);
}

.service-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, #5DADE2, #4A9FD1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(93, 173, 226, 0.3);
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 15px 35px rgba(93, 173, 226, 0.4);
}

.service-icon i {
    font-size: 2.2rem;
    color: #ffffff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.service-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.2rem;
    letter-spacing: 0.3px;
}

.service-description {
    color: #e0e0e0;
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1rem;
}

.service-link {
    color: #5DADE2;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: #ffffff;
    gap: 10px;
}

/* Compliance Section */
.compliance-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #3a3a3a 0%, #4B4B4B 100%);
}

.compliance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.compliance-category {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(93, 173, 226, 0.1);
}

.category-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #5DADE2;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: #5DADE2;
}

.compliance-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.compliance-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(93, 173, 226, 0.2);
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
    min-height: 200px;
}

.compliance-card:hover {
    transform: translateY(-5px);
    border-color: #5DADE2;
    background: rgba(93, 173, 226, 0.1);
    box-shadow: 0 10px 25px rgba(93, 173, 226, 0.2);
}

.compliance-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #5DADE2, #4A9FD1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.compliance-card:hover .compliance-icon {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(93, 173, 226, 0.3);
}

.compliance-icon i {
    font-size: 1.5rem;
    color: #ffffff;
}

.compliance-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.compliance-description {
    font-size: 0.9rem;
    color: #cccccc;
    line-height: 1.5;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.compliance-link {
    color: #5DADE2;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    margin-top: auto;
}

.compliance-link:hover {
    color: #ffffff;
    gap: 10px;
}

/* Company Overview Section */
.company-overview {
    padding: 100px 0;
    background: linear-gradient(135deg, #3a3a3a 0%, #4B4B4B 100%);
}

.overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.overview-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2rem;
    position: relative;
}

.overview-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #5DADE2, transparent);
}

.overview-description {
    font-size: 1.1rem;
    color: #cccccc;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.overview-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(93, 173, 226, 0.2);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: #5DADE2;
    box-shadow: 0 10px 25px rgba(93, 173, 226, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #5DADE2;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: #cccccc;
    font-weight: 500;
}

/* Certifications Section */
.certifications-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #4B4B4B 0%, #3a3a3a 100%);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.cert-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(93, 173, 226, 0.2);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.cert-card:hover {
    transform: translateY(-10px);
    border-color: #5DADE2;
    box-shadow: 0 15px 30px rgba(93, 173, 226, 0.2);
}

.cert-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #5DADE2, #4A9FD1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    overflow: hidden;
}

.cert-card:hover .cert-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(93, 173, 226, 0.3);
}

.cert-icon i {
    font-size: 1.5rem;
    color: #ffffff;
}

.cert-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    background: #ffffff;
    padding: 6px;
    max-width: 100%;
    max-height: 100%;
}

/* Responsive adjustments for certification logos */
@media (max-width: 768px) {
    .cert-icon {
        width: 70px;
        height: 70px;
    }
    
    .cert-logo {
        padding: 4px;
    }
}

@media (max-width: 480px) {
    .cert-icon {
        width: 60px;
        height: 60px;
    }
    
    .cert-logo {
        padding: 3px;
    }
}

.cert-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.cert-description {
    font-size: 0.9rem;
    color: #cccccc;
    line-height: 1.4;
}

/* Industries Section */
.industries-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #3a3a3a 0%, #4B4B4B 100%);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
}

.industry-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(93, 173, 226, 0.2);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.industry-card:hover {
    transform: translateY(-5px);
    border-color: #5DADE2;
    background: rgba(93, 173, 226, 0.1);
    box-shadow: 0 10px 25px rgba(93, 173, 226, 0.2);
}

.industry-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #5DADE2, #4A9FD1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.industry-card:hover .industry-icon {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(93, 173, 226, 0.3);
}

.industry-icon i {
    font-size: 1.2rem;
    color: #ffffff;
}

.industry-title {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #4B4B4B 0%, #3a3a3a 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(93, 173, 226, 0.2);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: #5DADE2;
    box-shadow: 0 15px 30px rgba(93, 173, 226, 0.2);
}

.testimonial-text {
    font-size: 1.1rem;
    color: #cccccc;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-text::before {
    content: '"';
    font-size: 3rem;
    color: #5DADE2;
    position: absolute;
    top: -10px;
    left: 10px;
    font-family: serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.author-title {
    font-size: 0.9rem;
    color: #5DADE2;
}

/* Newsletter Section */
.newsletter-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #4B4B4B 0%, #3a3a3a 100%);
    border-top: 1px solid rgba(93, 173, 226, 0.2);
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.newsletter-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.newsletter-description {
    font-size: 1.2rem;
    color: #e0e0e0;
    line-height: 1.7;
}

.newsletter-form-container {
    display: flex;
    justify-content: center;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 400px;
    width: 100%;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: 1px solid rgba(93, 173, 226, 0.3);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 1rem;
}

.newsletter-form input::placeholder {
    color: #999;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #5DADE2;
}

.newsletter-btn {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #5DADE2, #4A9FD1);
    border: none;
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(93, 173, 226, 0.3);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    padding: 60px 0 20px;
    border-top: 1px solid rgba(93, 173, 226, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #5DADE2;
    margin-bottom: 1rem;
}

.footer-logo i {
    margin-right: 10px;
    font-size: 1.8rem;
}

.footer-description {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(93, 173, 226, 0.1);
    border: 1px solid rgba(93, 173, 226, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5DADE2;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #5DADE2;
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #5DADE2;
}

.contact-info p {
    color: #cccccc;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info i {
    color: #5DADE2;
    width: 16px;
}

.newsletter-description {
    color: #cccccc;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid rgba(93, 173, 226, 0.3);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 0.9rem;
}

.newsletter-form input::placeholder {
    color: #999;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #5DADE2;
}

.newsletter-btn {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #5DADE2, #4A9FD1);
    border: none;
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(93, 173, 226, 0.3);
}

.footer-bottom {
    border-top: 1px solid rgba(93, 173, 226, 0.2);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: #999;
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: #999;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #5DADE2;
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes shieldPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-20px) scale(1.2);
        opacity: 1;
    }
}

@keyframes highlightGlow {
    0% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(75, 75, 75, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        backdrop-filter: blur(10px);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-container {
        grid-template-columns: 1fr; /* single column to avoid narrow title */
        text-align: left;
        gap: 1rem;
        min-height: auto;
        padding: 2.75rem 0 1.5rem;
        align-items: start;
        position: relative;
    }

    .hero {
        min-height: auto;
        padding: 170px 0 54px; /* more top breathing room */
    }

    .hero-visual {
        display: block;
        position: absolute;
        right: 12px;
        bottom: 8px;
        pointer-events: none;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: flex-start;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
    }

    .btn {
        width: 100%;
        max-width: 230px;
        padding: 10px 18px;
        font-size: 0.8rem;
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .compliance-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        border-radius: 10px;
    }

    .overview-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .overview-stats {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .certifications-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }

    .industries-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }

    .carousel-controls {
        gap: 1rem;
    }

    .newsletter-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
        max-width: 300px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .carousel-track .service-card,
    .carousel-track .compliance-card {
        width: 280px;
        min-width: 280px;
    }

    .kill-chain-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .kill-chain-title {
        font-size: 2.1rem;
    }

    .kill-chain-visual-title {
        font-size: 1.75rem;
    }

    .kill-chain-diagram {
        width: min(92vw, 420px);
        height: auto;
    }

    .kill-chain-stage {
        width: 90px;
        height: 90px;
    }

    .kill-chain-center {
        width: 120px;
        height: 120px;
    }

    .center-logo {
        font-size: 2rem;
    }

    .center-text {
        font-size: 0.85rem;
    }

    /* Mobile text adjustments for organized layout */
    .step-label .label-num {
        font-size: 22px;
        stroke-width: 1px;
    }

    .step-label .label-title {
        font-size: 13px;
        letter-spacing: 0.4px;
        stroke-width: 0.8px;
    }

    .step-label .label-desc {
        font-size: 10px;
        stroke-width: 0.6px;
    }
    

    .center-subtitle {
        font-size: 0.7rem;
    }

    .stage-icon {
        width: 30px;
        height: 30px;
    }

    .stage-icon i {
        font-size: 1rem;
    }

    .stage-number {
        font-size: 1.1rem;
    }

    .stage-title {
        font-size: 0.7rem;
    }

    .stage-description {
        font-size: 0.6rem;
    }

    .compliance-card {
        padding: 1.5rem;
        min-height: 180px;
    }

    .compliance-icon {
        width: 50px;
        height: 50px;
    }

    .compliance-icon i {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.4rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .hero-description {
        font-size: 0.85rem;
    }

    .section-description {
        font-size: 1.1rem;
    }

    .btn {
        padding: 10px 18px;
        font-size: 0.8rem;
    }

    .service-card,
    .compliance-card,
    .testimonial-card {
        padding: 1.5rem;
    }

    .compliance-card {
        min-height: 160px;
    }

    .compliance-icon {
        width: 45px;
        height: 45px;
    }

    .compliance-icon i {
        font-size: 1.1rem;
    }

    .compliance-title {
        font-size: 1rem;
    }

    .compliance-description {
        font-size: 0.85rem;
    }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(93, 173, 226, 0.3);
    border-radius: 50%;
    border-top-color: #5DADE2;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
