/* ===== TRAINING PAGE SPECIFIC STYLES ===== */
.neon-academy {
    background: #0a192f;
    min-height: 100vh;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.data-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(rgba(100, 255, 218, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(100, 255, 218, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
    opacity: 0.3;
}

.skill-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.matrix-header {
    text-align: center;
    margin-bottom: 80px;
}

.skill-title {
    font-size: 4rem;
    color: #64ffda;
    margin-bottom: 30px;
    text-shadow: 0 0 15px rgba(100, 255, 218, 0.5);
    position: relative;
    display: inline-block;
}

.skill-title::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, #64ffda, transparent);
    bottom: -15px;
    left: 0;
    box-shadow: 0 0 20px #64ffda;
    animation: pulseLine 3s infinite;
}

@keyframes pulseLine {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

.skill-subtitle {
    color: #ccd6f6;
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Training Tracks */
.cyber-track-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.hack-track {
    background: rgba(17, 34, 64, 0.7);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 15px;
    padding: 40px;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hack-track::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #64ffda, #2dd4bf);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hack-track:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(100, 255, 218, 0.2);
    border-color: rgba(100, 255, 218, 0.5);
}

.hack-track:hover::before {
    opacity: 1;
}

.track-icon {
    font-size: 2.5rem;
    color: #64ffda;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(100, 255, 218, 0.5);
}

.track-title {
    color: #64ffda;
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.track-desc {
    color: #a8b2d1;
    line-height: 1.7;
    margin-bottom: 25px;
}

.skill-list {
    list-style: none;
    margin-bottom: 30px;
}

.skill-item {
    color: #e6f1ff;
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.skill-item::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #64ffda;
}

.enroll-btn {
    background: linear-gradient(45deg, #64ffda, #2dd4bf);
    color: #0a192f;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    font-size: 0.9rem;
}

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

.enroll-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(100, 255, 218, 0.4);
}

.enroll-btn:hover::after {
    left: 100%;
}

/* Learning Path */
.path-container {
    background: rgba(13, 27, 42, 0.8);
    border-radius: 15px;
    padding: 50px;
    margin-bottom: 80px;
    border: 1px solid rgba(100, 255, 218, 0.2);
    position: relative;
    overflow: hidden;
}

.path-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        transparent 65%,
        rgba(100, 255, 218, 0.05) 100%
    );
    z-index: -1;
}

.path-title {
    text-align: center;
    color: #64ffda;
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
}

.path-title::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 3px;
    background: linear-gradient(90deg, #64ffda, transparent);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.path-steps {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
}

.path-steps::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50px;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #64ffda, transparent);
    z-index: 0;
}

.path-step {
    display: flex;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 50px;
    height: 50px;
    background: #64ffda;
    color: #0a192f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 0 15px rgba(100, 255, 218, 0.5);
}

.step-content {
    background: rgba(17, 34, 64, 0.7);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 10px;
    padding: 25px;
    flex-grow: 1;
    transition: all 0.3s ease;
}

.step-content:hover {
    transform: translateX(10px);
    border-color: rgba(100, 255, 218, 0.5);
    box-shadow: 0 5px 15px rgba(100, 255, 218, 0.2);
}

.step-title {
    color: #64ffda;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.step-desc {
    color: #a8b2d1;
    line-height: 1.7;
}

/* Instructors Section */
.hack-masters {
    margin-bottom: 80px;
}

.masters-title {
    text-align: center;
    color: #64ffda;
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
}

.masters-title::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #64ffda, transparent);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.master-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(00px, 1fr));
    gap: 80px;
}

.code-master {
    background: rgba(17, 34, 64, 0.7);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(100, 255, 218, 0.2);
    transition: all 0.4s ease;
    position: relative;
}

.code-master:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(100, 255, 218, 0.2);
    border-color: rgba(100, 255, 218, 0.5);
}

.master-pic {
    width: 100%;
    height: 250px;
    object-fit: fill;
    filter: grayscale(30%);
    transition: filter 0.3s ease;
}

.code-master:hover .master-pic {
    filter: grayscale(0%);
}

.master-info {
    padding: 25px;
    position: relative;
}

.master-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #64ffda, #2dd4bf);
}

.master-name {
    color: #64ffda;
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.master-title {
    color: #a8b2d1;
    font-size: 0.9rem;
    margin-bottom: 15px;
    font-style: italic;
}

.master-bio {
    color: #ccd6f6;
    line-height: 1.6;
    margin-bottom: 20px;
}

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

.master-link {
    color: #64ffda;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.master-link:hover {
    color: #a8ff78;
    transform: translateY(-3px);
}

/* Stats Section */
.skill-stats {
    background: linear-gradient(135deg, #112240, #0a192f);
    border-radius: 15px;
    padding: 60px 40px;
    margin-bottom: 80px;
    border: 1px solid rgba(100, 255, 218, 0.2);
    position: relative;
    overflow: hidden;
}

.skill-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 L0,100 Z" fill="none" stroke="rgba(100,255,218,0.05)" stroke-width="0.5"/></svg>');
    background-size: 20px 20px;
    opacity: 0.3;
}

.stats-title {
    text-align: center;
    color: #64ffda;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

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

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

.stat-number {
    font-size: 3.5rem;
    color: #64ffda;
    font-weight: bold;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.stat-number::after {
    content: '+';
    position: absolute;
    right: -15px;
    top: 10px;
    font-size: 1.5rem;
    color: #a8ff78;
}

.stat-label {
    color: #a8b2d1;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Floating Code Elements */
.floating-code {
    position: absolute;
    color: rgba(100, 255, 218, 0.1);
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    pointer-events: none;
    z-index: 1;
    animation: floatCode 20s linear infinite;
}

@keyframes floatCode {
    0% { transform: translateY(0) translateX(0); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translateY(-100vh) translateX(50px); opacity: 0; }
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .skill-title {
        font-size: 3rem;
    }
    
    .path-container {
        padding: 40px 30px;
    }
}

@media (max-width: 992px) {
    .cyber-track-container {
        grid-template-columns: 1fr;
        max-width: 800px;
        margin: 0 auto 60px;
    }
    
    .path-steps::before {
        left: 25px;
    }
    
    .path-step {
        gap: 15px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .skill-title {
        font-size: 2.5rem;
    }
    
    .skill-subtitle {
        font-size: 1.1rem;
    }
    
    .hack-track {
        padding: 30px;
    }
    
    .path-container {
        padding: 30px 20px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .skill-title {
        font-size: 2rem;
    }
    
    .neon-academy {
        padding: 100px 0 60px;
    }
    
    .matrix-header {
        margin-bottom: 50px;
    }
    
    .master-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}




/* Enrollment Modal Styles */
.enrollment-modal {
display: none;
position: fixed;
z-index: 1000;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.8);
backdrop-filter: blur(5px);
}

.modal-content {
background: linear-gradient(135deg, #0a192f 0%, #172a45 100%);
margin: 5% auto;
padding: 30px;
border: 1px solid #64ffda;
border-radius: 10px;
width: 90%;
max-width: 500px;
position: relative;
box-shadow: 0 0 20px rgba(100, 255, 218, 0.3);
animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
from { opacity: 0; transform: translateY(-50px); }
to { opacity: 1; transform: translateY(0); }
}

.close-modal {
position: absolute;
right: 20px;
top: 15px;
color: #64ffda;
font-size: 28px;
font-weight: bold;
cursor: pointer;
transition: all 0.3s;
}

.close-modal:hover {
color: #a8ff78;
transform: scale(1.2);
}

.modal-content h2 {
color: #64ffda;
margin-bottom: 20px;
text-align: center;
}

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

.form-group label {
display: block;
margin-bottom: 8px;
color: #ccd6f6;
}

.form-group input,
.form-group select,
.form-group textarea {
width: 100%;
padding: 12px;
border: 1px solid rgba(100, 255, 218, 0.3);
border-radius: 5px;
background: rgba(10, 25, 47, 0.7);
color: #ccd6f6;
font-size: 16px;
transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
outline: none;
border-color: #64ffda;
box-shadow: 0 0 10px rgba(100, 255, 218, 0.3);
}

.submit-btn {
background: linear-gradient(135deg, #64ffda 0%, #a8ff78 100%);
color: #0a192f;
border: none;
padding: 12px 25px;
border-radius: 5px;
cursor: pointer;
font-weight: bold;
font-size: 16px;
width: 100%;
transition: all 0.3s;
}

.submit-btn:hover {
transform: translateY(-3px);
box-shadow: 0 5px 15px rgba(100, 255, 218, 0.4);
}

/* Success Message */
.success-message {
display: none;
text-align: center;
color: #64ffda;
margin-top: 20px;
font-size: 18px;
}




      /* Offer Section Styles */
      .offer-section {
        background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
        padding: 4rem 2rem;
        position: relative;
        overflow: hidden;
        border-radius: 15px;
        border: 1px solid rgba(100, 255, 218, 0.2);
        margin-bottom: 80px;
    }
      
      .offer-section::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="rgba(0,150,255,0.03)" d="M0,0 L100,0 L100,100 L0,100 Z" /></svg>');
        opacity: 0.5;
      }
      
      .offer-container {
        max-width: 1200px;
        margin: 0 auto;
        position: relative;
        z-index: 1;
      }
      
      .offer-title {
        text-align: center;
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
        color: #fff;
        text-transform: uppercase;
        letter-spacing: 2px;
        background: linear-gradient(90deg, #00d2ff 0%, #3a7bd5 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
      }
      
      .offer-subtitle {
        text-align: center;
        color: rgba(255, 255, 255, 0.8);
        font-size: 1.2rem;
        margin-bottom: 3rem;
      }
      
      .offer-cards {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
        margin-bottom: 3rem;
      }
      
      .offer-card {
        background: rgba(10, 25, 47, 0.8);
        border-radius: 10px;
        padding: 2rem;
        position: relative;
        border: 1px solid rgba(0, 150, 255, 0.2);
        transition: all 0.3s ease;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
      }
      
      .offer-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 150, 255, 0.2);
        border-color: rgba(0, 150, 255, 0.5);
      }
      
      .offer-card.featured {
        border: 1px solid #00d2ff;
        box-shadow: 0 0 20px rgba(0, 210, 255, 0.3);
      }
      
      .offer-badge {
        position: absolute;
        top: -10px;
        right: 20px;
        background: #ff4d4d;
        color: white;
        padding: 0.3rem 1rem;
        border-radius: 20px;
        font-size: 0.8rem;
        font-weight: bold;
      }
      
      .offer-name {
        color: #fff;
        font-size: 1.5rem;
        margin-bottom: 1rem;
      }
      
      .offer-price {
        margin-bottom: 1.5rem;
      }
      
      .original-price {
        color: rgba(255, 255, 255, 0.5);
        text-decoration: line-through;
        font-size: 1.2rem;
        margin-right: 0.5rem;
      }
      
      .discounted-price {
        color: #00d2ff;
        font-size: 1.8rem;
        font-weight: bold;
      }
      
      .offer-desc {
        color: rgba(255, 255, 255, 0.7);
        margin-bottom: 1.5rem;
        font-size: 0.95rem;
      }
      
      .offer-benefits {
        list-style: none;
        padding: 0;
        margin-bottom: 2rem;
      }
      
      .offer-benefits li {
        color: rgba(255, 255, 255, 0.8);
        margin-bottom: 0.5rem;
        font-size: 0.9rem;
      }
      
      .offer-benefits i {
        color: #00d2ff;
        margin-right: 0.5rem;
      }
      
      .offer-btn {
        background: linear-gradient(90deg, #00d2ff 0%, #3a7bd5 100%);
        color: white;
        border: none;
        padding: 0.8rem 1.5rem;
        border-radius: 5px;
        font-weight: bold;
        cursor: pointer;
        width: 100%;
        transition: all 0.3s ease;
      }
      
      .offer-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 210, 255, 0.4);
      }
      
      .offer-countdown {
        text-align: center;
        margin-top: 2rem;
      }
      
      .offer-countdown p {
        color: rgba(255, 255, 255, 0.8);
        margin-bottom: 1rem;
        font-size: 1.1rem;
      }
      
      .countdown-timer {
        display: flex;
        justify-content: center;
        gap: 1.5rem;
      }
      
      .countdown-item {
        background: rgba(0, 150, 255, 0.1);
        padding: 1rem;
        border-radius: 5px;
        min-width: 80px;
        border: 1px solid rgba(0, 150, 255, 0.2);
      }
      
      .countdown-item span:first-child {
        display: block;
        font-size: 2rem;
        font-weight: bold;
        color: #00d2ff;
      }
      
      .countdown-item span:last-child {
        display: block;
        font-size: 0.8rem;
        color: rgba(255, 255, 255, 0.6);
        text-transform: uppercase;
        letter-spacing: 1px;
      }

      /* Add this to your existing CSS */
      .expired {
        color: #ff4d4d;
        font-size: 1.5rem;
        font-weight: bold;
        padding: 1rem;
        background: rgba(255, 77, 77, 0.1);
        border-radius: 5px;
      }
      
      @media (max-width: 768px) {
        .offer-cards {
          grid-template-columns: 1fr;
        }
        
        .countdown-timer {
          gap: 0.5rem;
        }
        
        .countdown-item {
          min-width: 60px;
          padding: 0.5rem;
        }
        
        .countdown-item span:first-child {
          font-size: 1.5rem;
        }
      }
