/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, sans-serif;
}

:root {
    --primary-red: #c92727;
    --dark-black: #000000;
    --pure-white: #ffffff;
    --primary-purple: #9333ea;
    --heading-font: 'Orbitron', sans-serif;
    --body-font: 'Rajdhani', sans-serif;
}
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 500px;
}

.visual-container {
    position: relative;
    width: 400px;
    height: 400px;
}

/* Main Shield Container */
.shield-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
}

.shield-outer {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(201, 39, 39, 0.3);
    border-radius: 50%;
    animation: rotateClockwise 20s linear infinite;
}

.shield-inner {
    position: absolute;
    top: 10%;
    left: 10%;
    width: 80%;
    height: 80%;
    border: 2px solid rgba(201, 39, 39, 0.5);
    border-radius: 50%;
    animation: rotateCounterClockwise 15s linear infinite;
}

/* Binary Circle */
.binary-circle {
    position: absolute;
    top: 20%;
    left: 20%;
    width: 60%;
    height: 60%;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(201, 39, 39, 0.1);
    animation: pulse 4s ease-in-out infinite;
}

.binary-text {
    position: absolute;
    width: 100%;
    height: 100%;
    font-family: monospace;
    font-size: 10px;
    color: rgba(201, 39, 39, 0.5);
    white-space: pre-wrap;
    animation: scrollBinary 20s linear infinite;
}

/* Floating Security Icons */
.security-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 39, 39, 0.1);
    border-radius: 50%;
    animation: iconFloat 6s ease-in-out infinite;
}

.security-icon svg {
    width: 30px;
    height: 30px;
    stroke: rgba(201, 39, 39, 0.8);
    fill: none;
    stroke-width: 2;
}

.security-icon:nth-child(1) {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.security-icon:nth-child(2) {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    animation-delay: -2s;
}

.security-icon:nth-child(3) {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: -4s;
}

.security-icon:nth-child(4) {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    animation-delay: -6s;
}

/* Scanning Line Effect */
.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(201, 39, 39, 0.5) 50%, 
        transparent 100%
    );
    animation: scanMove 3s ease-in-out infinite;
    z-index: 2;
}

/* Animations */
@keyframes rotateClockwise {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rotateCounterClockwise {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
}

@keyframes iconFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(0, -20px); }
}

@keyframes scanMove {
    0% { top: 0; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

@keyframes scrollBinary {
    from { transform: translateY(0); }
    to { transform: translateY(-50%); }
}

/* Particle Effect */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(201, 39, 39, 0.5);
    border-radius: 50%;
    animation: particleFloat 3s ease-in-out infinite;
}

@keyframes particleFloat {
    0% { transform: translate(0, 0); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translate(var(--x, 20px), var(--y, 20px)); opacity: 0; }
}
/* Modern Hero Section Styles */
.training-hero {
    position: relative;
    min-height: 90vh;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 4rem 2rem;
}

/* Background Animation Elements */
.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    z-index: 1;
    background: 
        radial-gradient(circle at 100%, var(--primary-red) 0%, transparent 20%),
        radial-gradient(circle at 0%, var(--primary-red) 0%, transparent 20%);
    filter: blur(80px);
    animation: bgPulse 8s ease-in-out infinite;
}

.cyber-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(201, 39, 39, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201, 39, 39, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    transform-origin: center;
    transform: perspective(1000px) rotateX(60deg) scale(1.5);
    animation: gridMove 20s linear infinite;
    opacity: 0.2;
}

/* Hero Content Container */
.training-hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

/* Left Content */
.hero-content {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.hero-content h1 {
    font-family: var(--heading-font);
    font-size: clamp(2.5rem, 5vw, 4rem);
    background: linear-gradient(135deg, #ffffff 0%, #cccccc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
    line-height: 1.2;
    position: relative;
}

.hero-content h1::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.5rem;
    width: 100px;
    height: 4px;
    background: var(--primary-red);
    transform: scaleX(0);
    transform-origin: left;
    animation: lineExpand 1s ease forwards 0.5s;
}

.hero-content p {
    font-family: var(--body-font);
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 600px;
}

/* Right Side Visual Element */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1;
}

.rotating-circle {
    position: absolute;
    border: 2px solid rgba(201, 39, 39, 0.3);
    border-radius: 50%;
}

.rotating-circle:nth-child(1) {
    width: 100%;
    height: 100%;
    animation: rotate 20s linear infinite;
}

.rotating-circle:nth-child(2) {
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    animation: rotate 15s linear infinite reverse;
}

.rotating-circle:nth-child(3) {
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
    animation: rotate 10s linear infinite;
}

/* Floating Icons */
.visual-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(201, 39, 39, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 6s ease-in-out infinite;
}

.visual-icon:nth-child(1) {
    top: 10%;
    left: 20%;
    animation-delay: -1s;
}

.visual-icon:nth-child(2) {
    top: 40%;
    right: 10%;
    animation-delay: -2s;
}

.visual-icon:nth-child(3) {
    bottom: 20%;
    left: 30%;
    animation-delay: -3s;
}

/* CTA Buttons */
.hero-cta {
    display: flex;
    gap: 1.5rem;
}

.hero-btn {
    padding: 1rem 2rem;
    font-family: var(--heading-font);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.primary-btn {
    background: var(--primary-red);
    color: white;
    border: none;
}

.secondary-btn {
    background: transparent;
    color: white;
    border: 2px solid var(--primary-red);
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.hero-btn:hover::before {
    left: 100%;
}

/* Animations */
@keyframes bgPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.15;
    }
}

@keyframes gridMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 50px 50px;
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes lineExpand {
    to {
        transform: scaleX(1);
    }
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .training-hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-content h1::after {
        left: 50%;
        transform: translateX(-50%) scaleX(0);
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .visual-container {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .training-hero {
        padding: 2rem 1rem;
    }

    .hero-cta {
        flex-direction: column;
        max-width: 300px;
        margin: 0 auto;
    }

    .visual-container {
        max-width: 300px;
    }

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

@media (prefers-reduced-motion: reduce) {
    .animated-bg,
    .cyber-grid,
    .rotating-circle,
    .visual-icon {
        animation: none;
    }
}

/* Training Courses Section */
.training-courses {
    padding: 100px 50px;
    background: linear-gradient(180deg, var(--dark-black) 0%, #1a1a1a 100%);
}

.course-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-red);
    box-shadow: 0 10px 30px rgba(201, 39, 39, 0.2);
}

.course-title {
    font-family: var(--heading-font);
    font-size: 32px;
    color: var(--pure-white);
    margin-bottom: 20px;
}

.course-description {
    font-family: var(--body-font);
    font-size: 18px;
    color: var(--pure-white);
    opacity: 0.8;
    margin-bottom: 30px;
    line-height: 1.6;
}

.course-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--body-font);
    color: var(--pure-white);
    opacity: 0.9;
}

.feature-item svg {
    color: var(--primary-red);
    flex-shrink: 0;
}

.course-meta {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--body-font);
    color: var(--primary-purple);
}

.course-actions {
    display: flex;
    gap: 20px;
}

.download-btn, .request-btn {
    padding: 12px 30px;
    border-radius: 6px;
    font-family: var(--heading-font);
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.download-btn {
    background: transparent;
    border: 2px solid var(--primary-red);
    color: var(--pure-white);
}

.request-btn {
    background: var(--primary-red);
    border: none;
    color: var(--pure-white);
}

.download-btn:hover, .request-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(201, 39, 39, 0.3);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .course-features {
        grid-template-columns: 1fr;
    }
    
    .training-hero h1 {
        font-size: 36px;
    }
    
    .training-hero p {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .training-courses {
        padding: 60px 30px;
    }
    
    .course-title {
        font-size: 28px;
    }
    
    .course-actions {
        flex-direction: column;
    }
    
    .download-btn, .request-btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .training-hero h1 {
        font-size: 28px;
    }
    
    .training-hero p {
        font-size: 18px;
    }
    
    .course-card {
        padding: 30px;
    }
    
    .meta-item {
        font-size: 14px;
    }
}