/* ====================================
   SSC COURSE PAGE STYLES
   Youthful, Energetic Design
   ==================================== */

:root {
    --ssc-primary: #FF6B6B;
    --ssc-secondary: #4ECDC4;
    --ssc-accent: #FFE66D;
    --ssc-dark: #2C3E50;
    --ssc-light: #F7F9FC;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

/* ====================================
   PRELOADER
   ==================================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--ssc-primary) 0%, var(--ssc-secondary) 100%);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

#status {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* ====================================
   HERO SECTION
   ==================================== */
.ssc-hero {
    position: relative;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #FF6B6B 0%, #4ECDC4 100%);
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: -50px;
    animation-delay: 5s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    bottom: 10%;
    left: 50%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-30px) rotate(5deg); }
    50% { transform: translateY(-50px) rotate(-5deg); }
    75% { transform: translateY(-30px) rotate(3deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-title .highlight {
    display: inline-block;
    background: white;
    color: var(--ssc-primary);
    padding: 0 20px;
    border-radius: 15px;
    transform: rotate(-2deg);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 40px 0;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    font-family: 'Space Mono', monospace;
}

.stat-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.btn-primary {
    display: inline-block;
    background: white;
    color: var(--ssc-primary);
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    color: var(--ssc-primary);
    text-decoration: none;
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid white;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: white;
    color: var(--ssc-primary);
    text-decoration: none;
}

/* ====================================
   SECTION HEADERS
   ==================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--ssc-dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 5px;
    background: var(--ssc-primary);
    border-radius: 3px;
}

.section-header p {
    font-size: 1.125rem;
    color: #666;
    margin-top: 20px;
}

/* ====================================
   WHY SSC SECTION
   ==================================== */
.why-ssc {
    padding: 80px 0;
    background: var(--ssc-light);
}

.feature-box {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    height: 100%;
    border: 3px solid transparent;
}

.feature-box:hover {
    transform: translateY(-10px);
    border-color: var(--ssc-primary);
    box-shadow: 0 20px 40px rgba(255, 107, 107, 0.2);
}

.icon-wrap {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--ssc-primary), var(--ssc-secondary));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: white;
    transform: rotate(45deg);
}

.icon-wrap i {
    transform: rotate(-45deg);
}

.feature-box h3 {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--ssc-dark);
    margin-bottom: 15px;
}

.feature-box p {
    color: #666;
    line-height: 1.8;
    margin: 0;
}

/* ====================================
   CURRICULUM SECTION
   ==================================== */
.curriculum-section {
    padding: 80px 0;
    background: white;
}

.curriculum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.curriculum-card {
    background: var(--ssc-light);
    border-radius: 20px;
    padding: 35px;
    border-left: 5px solid var(--ssc-primary);
    transition: all 0.3s ease;
}

.curriculum-card:hover {
    background: white;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    transform: translateX(10px);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.curriculum-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ssc-dark);
    margin-bottom: 20px;
}

.curriculum-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.curriculum-card ul li {
    padding: 10px 0;
    color: #666;
    position: relative;
    padding-left: 25px;
}

.curriculum-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--ssc-secondary);
    font-weight: bold;
}

/* ====================================
   MATERIALS SECTION
   ==================================== */
.materials-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.materials-section .section-header h2,
.materials-section .section-header p {
    color: white;
}

.material-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    margin-bottom: 30px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    height: 100%;
}

.material-card:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
}

.material-card i {
    font-size: 3rem;
    color: white;
    margin-bottom: 20px;
}

.material-card h4 {
    font-size: 1.375rem;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
}

.material-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.material-link {
    display: inline-block;
    color: white;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid white;
    transition: all 0.3s ease;
}

.material-link:hover {
    color: var(--ssc-accent);
    border-color: var(--ssc-accent);
    text-decoration: none;
}

.material-link i {
    font-size: 1rem;
    margin-left: 5px;
}

/* ====================================
   BATCH SECTION
   ==================================== */
.batch-section {
    padding: 80px 0;
    background: var(--ssc-light);
}

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

.batch-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.batch-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.batch-card.featured {
    border-color: var(--ssc-primary);
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.05), rgba(78, 205, 196, 0.05));
}

.batch-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--ssc-primary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.batch-label {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--ssc-dark);
    margin-bottom: 10px;
}

.batch-time {
    font-size: 1.875rem;
    font-weight: 900;
    color: var(--ssc-primary);
    font-family: 'Space Mono', monospace;
    margin-bottom: 20px;
}

.batch-card p {
    color: #666;
    margin-bottom: 25px;
}

.batch-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 25px 0;
    padding: 20px 0;
    border-top: 2px solid #f0f0f0;
    border-bottom: 2px solid #f0f0f0;
}

.batch-info span {
    font-size: 0.875rem;
    color: #666;
}

.batch-info i {
    color: var(--ssc-secondary);
    margin-right: 5px;
}

.btn-enroll {
    display: inline-block;
    background: linear-gradient(135deg, var(--ssc-primary), var(--ssc-secondary));
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-enroll:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.4);
    color: white;
    text-decoration: none;
}

/* ====================================
   SUCCESS STORIES SECTION
   ==================================== */
.success-section {
    padding: 80px 0;
    background: white;
}

.success-card {
    background: var(--ssc-light);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    height: 100%;
}

.success-card:hover {
    background: white;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.student-score {
    font-size: 3rem;
    font-weight: 900;
    color: var(--ssc-primary);
    font-family: 'Space Mono', monospace;
    margin-bottom: 15px;
}

.success-card h4 {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--ssc-dark);
    margin-bottom: 5px;
}

.student-year {
    color: var(--ssc-secondary);
    font-weight: 600;
    margin-bottom: 15px;
}

.success-card p {
    color: #666;
    font-style: italic;
    line-height: 1.8;
}

/* ====================================
   CTA SECTION
   ==================================== */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--ssc-primary) 0%, var(--ssc-secondary) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>');
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 900;
    color: white;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-cta-primary {
    display: inline-block;
    background: white;
    color: var(--ssc-primary);
    padding: 20px 50px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.125rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    color: var(--ssc-primary);
    text-decoration: none;
}

.btn-cta-secondary {
    display: inline-block;
    background: transparent;
    color: white;
    padding: 20px 50px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.125rem;
    text-decoration: none;
    border: 3px solid white;
    transition: all 0.3s ease;
}

.btn-cta-secondary:hover {
    background: white;
    color: var(--ssc-primary);
    text-decoration: none;
}

/* ====================================
   SCROLL TO TOP
   ==================================== */
.scrollup {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--ssc-primary), var(--ssc-secondary));
    color: white;
    text-align: center;
    line-height: 50px;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.4);
    transition: all 0.3s;
    z-index: 999;
    font-size: 1.25rem;
    display: none;
    text-decoration: none;
}

.scrollup:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.6);
    color: white;
    text-decoration: none;
}

/* ====================================
   RESPONSIVE DESIGN
   ==================================== */
@media (max-width: 991px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-stats {
        gap: 40px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .batch-info {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .curriculum-grid {
        grid-template-columns: 1fr;
    }
    
    .batch-grid {
        grid-template-columns: 1fr;
    }
}
