/* ====================================
   STUDENT CORNER STYLES
   ==================================== */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #fff;
    overflow-x: hidden;
    font-size: 16px;
}

/* ====================================
   PRELOADER
   ==================================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 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); }
}

/* ====================================
   STUDENT CORNER HERO SECTION
   ==================================== */
.student-corner-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.student-corner-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>');
    animation: float 20s linear infinite;
}

@keyframes float {
    0% { transform: translateY(0); }
    100% { transform: translateY(-100px); }
}

.page-banner-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    padding: 60px 0;
}

.page-banner-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-banner-content p {
    font-size: 1.125rem;
    opacity: 0.95;
}

/* ====================================
   FEATURE CARDS SECTION
   ==================================== */
.feature-cards-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    text-align: center;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2.2rem;
    color: white;
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2d3748;
}

.feature-card p {
    color: #718096;
    line-height: 1.8;
    margin-bottom: 20px;
}

.feature-btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.feature-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

/* ====================================
   SECTION HEADINGS
   ==================================== */
.section-heading {
    text-align: center;
    margin-bottom: 60px;
}

.section-heading h2 {
    font-size: 2.625rem;
    font-weight: 800;
    color: #2d3748;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-heading h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.section-heading p {
    color: #718096;
    font-size: 1.125rem;
    margin-top: 25px;
}

/* ====================================
   RESOURCES SECTION
   ==================================== */
.resources-section {
    padding: 80px 0;
    background: white;
}

.resource-item {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    border-left: 5px solid #667eea;
    transition: all 0.3s ease;
    height: 100%;
}

.resource-item:hover {
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateX(10px);
}

.resource-item h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
}

.resource-item h4 i {
    margin-right: 10px;
    color: #667eea;
}

.resource-item p {
    color: #718096;
    margin-bottom: 15px;
    line-height: 1.6;
}

.resource-link {
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.resource-link:hover {
    color: #764ba2;
    text-decoration: none;
}

.resource-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.resource-link:hover i {
    transform: translateX(5px);
}

/* ====================================
   ACHIEVEMENT SECTION
   ==================================== */
.achievement-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    position: relative;
}

.achievement-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
}

.achievement-card:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.achievement-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.achievement-number i {
    margin-right: 10px;
}

.achievement-label {
    font-size: 1.125rem;
    opacity: 0.95;
}

/* ====================================
   QUICK LINKS SECTION
   ==================================== */
.quick-links-section {
    padding: 80px 0;
    background: #2d3748;
    color: white;
}

.quick-link-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    height: 100%;
}

.quick-link-card:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #667eea;
    transform: translateY(-5px);
}

.quick-link-card i {
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 20px;
}

.quick-link-card h4 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    font-weight: 600;
    color: white;
}

.quick-link-card a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.quick-link-card a:hover {
    color: #764ba2;
    text-decoration: none;
}

.quick-link-card a i {
    font-size: 1rem;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.quick-link-card a:hover i {
    transform: translateX(5px);
}

/* ====================================
   TESTIMONIAL SECTION
   ==================================== */
.testimonial-section {
    padding: 80px 0;
    background: white;
}

.testimonial-card {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    position: relative;
    height: 100%;
}

.testimonial-quote {
    font-size: 3.75rem;
    color: #667eea;
    opacity: 0.2;
    position: absolute;
    top: 20px;
    left: 30px;
    line-height: 1;
}

.testimonial-content {
    position: relative;
    z-index: 2;
}

.testimonial-text {
    font-style: italic;
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 15px;
    flex-shrink: 0;
}

.author-info h5 {
    margin: 0;
    color: #2d3748;
    font-weight: 700;
    font-size: 1.125rem;
}

.author-info p {
    margin: 0;
    color: #718096;
    font-size: 0.875rem;
}

/* ====================================
   APPLY NOW CTA
   ==================================== */
.apply-now-v1 {
    padding: 60px 0;
    background: #0a2540;
    position: relative;
    overflow: hidden;
}

.apply-now-v1 .item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.apply-now-v1 .left p {
    font-size: 1.5rem;
    color: white;
    margin: 0;
    font-weight: 600;
}

.apply-now-v1 .right a {
    display: inline-block;
    padding: 18px 50px;
    background: #ffd700;
    color: #0a2540;
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.4s;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
}

.apply-now-v1 .right a:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255,215,0,0.4);
    text-decoration: none;
    color: #0a2540;
}

/* ====================================
   SCROLL TO TOP BUTTON
   ==================================== */
.scrollup {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    line-height: 50px;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(102,126,234,0.4);
    transition: all 0.3s;
    z-index: 999;
    font-size: 1.25rem;
    display: none;
    text-decoration: none;
}

.scrollup:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(102,126,234,0.6);
    color: white;
    text-decoration: none;
}

/* ====================================
   RESPONSIVE DESIGN
   ==================================== */
@media (max-width: 991px) {
    .page-banner-content h1 {
        font-size: 2.5rem;
    }
    
    .section-heading h2 {
        font-size: 2.25rem;
    }
    
    .feature-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .page-banner-content {
        padding: 40px 0;
    }
    
    .page-banner-content h1 {
        font-size: 2rem;
    }
    
    .page-banner-content p {
        font-size: 1rem;
    }
    
    .section-heading h2 {
        font-size: 2rem;
    }
    
    .section-heading p {
        font-size: 1rem;
    }
    
    .achievement-number {
        font-size: 2.5rem;
    }
    
    .apply-now-v1 .item {
        text-align: center;
        justify-content: center;
    }
    
    .apply-now-v1 .left p {
        font-size: 1.25rem;
    }
    
    .apply-now-v1 .right a {
        padding: 15px 35px;
        font-size: 0.875rem;
    }
    
    .feature-cards-section {
        padding: 60px 0;
    }
    
    .resources-section {
        padding: 60px 0;
    }
    
    .achievement-section {
        padding: 60px 0;
    }
    
    .quick-links-section {
        padding: 60px 0;
    }
    
    .testimonial-section {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .page-banner-content h1 {
        font-size: 1.75rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.75rem;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .achievement-number {
        font-size: 2rem;
    }
    
    .achievement-label {
        font-size: 1rem;
    }
    
    .scrollup {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 1rem;
        bottom: 20px;
        right: 20px;
    }
}