
/* NOVISTAGE Brand Colors - Balanced Color Palette */
:root {
    /* Primary brand colors from palette */
    --primary-navy: #211d3e;
    --primary-red: #ff2938;
    --primary-orange: #ff851c;
    --primary-orange-light: #ff9f5a;
    --primary-green: #55cc38;
    --primary-cyan: #00aff0;
    --primary-cyan-light: #4fd1c7;

    /* Secondary colors from palette */
    --secondary-purple: #7746c0;

    /* Background colors */
    --bg-light-tertiary: #f8fafc;

    /* Secondary colors */
    --secondary-violet: #9966cc;
    --secondary-gray: #c0c0c0;
    --secondary-light-gray: #f5f5f5;

    /* Background colors */
    --bg-light: #ffffff;
    --bg-light-secondary: #f8f9fa;
    --bg-dark: #211d3e;

    /* Text colors */
    --text-primary: #2d3748;
    --text-secondary: #4a5568;
    --text-muted: #718096;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-purple) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-cyan) 100%);
    --gradient-tertiary: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-red) 100%);
    --gradient-quaternary: linear-gradient(135deg, var(--secondary-purple) 0%, var(--secondary-violet) 100%);
    --text-gradient: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-green) 100%);
    --text-gradient-alt: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-red) 100%);
}

/* Global Layout Adjustments */
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.landing-page {
    margin-top: -2rem;
    min-height: 100vh;
}

/* Hero Section Styling - Clean & Professional */
.hero-section {
    background: 
        linear-gradient(135deg, rgba(33, 29, 62, 0.85) 0%, rgba(45, 38, 84, 0.85) 50%, rgba(255, 107, 53, 0.15) 100%),
        url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2071&q=80') center/cover no-repeat;
    position: relative;
    overflow: hidden;
    color: white;
    margin-top: -2rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.hero-particles {
    /* Grid pattern removed */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.hero-gradient {
    background: linear-gradient(135deg, rgba(33, 29, 62, 0.1) 0%, rgba(255, 107, 53, 0.05) 100%);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-centered-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-height: 85vh;
    text-align: center;
    padding-top: 4rem;
    position: relative;
    z-index: 2; /* Ensure content appears above background layers */
}

.hero-content-centered {
    max-width: 800px;
    margin: 0 auto;
}

.hero-main-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-family: 'Inter', sans-serif;
}

.text-gradient {
    background: var(--text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    min-width: 180px;
}

.hero-buttons .btn-lg {
    padding: 0.9rem 1.8rem;
    font-size: 1rem;
}

.hero-buttons .btn-primary:hover {
    background: #e55a2b !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(229, 90, 43, 0.3);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
}

.stat-label {
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0.8;
    letter-spacing: 0.1em;
}

.btn-primary {
    background: var(--primary-orange);
    border: none;
    padding: 0.75rem 1.25rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 15;
    pointer-events: auto;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 0.9rem;
}

.btn-primary:hover {
    background: #e55a2b !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(229, 90, 43, 0.3);
}

/* Stages CTA Button */
.stages-cta-btn {
    background: linear-gradient(135deg, #ff851c 0%, #ff6b35 100%) !important;
    border: none !important;
    color: white !important;
    padding: 0.75rem 2rem !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

.stages-cta-btn:hover {
    background: linear-gradient(135deg, #e55a2b 0%, #e55a2b 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.3) !important;
    color: white !important;
    text-decoration: none !important;
}

.btn-outline-primary {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.75rem 1.25rem;
    font-weight: 600;
    border-radius: 50px;
    background: transparent;
    transition: all 0.3s ease;
    position: relative;
    z-index: 15;
    pointer-events: auto;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 0.9rem;
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, #68d300 0%, #00c4ff 100%);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(104, 211, 0, 0.4);
}

/* Ecosystem Network */
.ecosystem-network {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
    z-index: 1;
    pointer-events: none;
}

.network-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

.novistage-hub {
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    color: white;
}

.network-node {
    position: absolute;
    width: 110px;
    height: 110px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
    font-weight: 500;
    border: 2px solid rgba(255, 255, 255, 0.2);
    animation: float 3s ease-in-out infinite;
    text-align: center;
    padding: 0.5rem;
    box-sizing: border-box;
}

.network-node i {
    font-size: 1.4rem;
    margin-bottom: 0.2rem;
}

.network-node span {
    font-size: 0.75rem;
    line-height: 1;
    word-wrap: break-word;
    hyphens: none;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

/* Specific adjustments for longer words */
.school-node span {
    font-size: 0.7rem;
    line-height: 0.95;
}

.company-node span {
    font-size: 0.7rem;
}

.student-node {
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.company-node {
    top: 50%;
    right: -15px;
    transform: translateY(-50%);
    animation-delay: 1s;
}

.school-node {
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 2s;
}

.career-node {
    top: 50%;
    left: -15px;
    transform: translateY(-50%);
    animation-delay: 3s;
}

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

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

/* Innovation Section */
.innovation-section {
    background: var(--bg-light-secondary);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    background: var(--gradient-secondary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(104, 211, 145, 0.3);
}

.section-badge.orange {
    background: var(--gradient-quaternary);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.section-badge.cyan {
    background: var(--gradient-tertiary);
    box-shadow: 0 4px 15px rgba(79, 209, 199, 0.3);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.innovation-card {
    background: var(--bg-light);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #e2e8f0;
}

.innovation-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-orange-light);
}

.innovation-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.innovation-icon.ai {
    background: var(--gradient-tertiary);
    box-shadow: 0 8px 25px rgba(79, 209, 199, 0.3);
}

.innovation-icon.discovery {
    background: var(--gradient-quaternary);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.innovation-icon.guidance {
    background: var(--gradient-secondary);
    box-shadow: 0 8px 25px rgba(104, 211, 145, 0.3);
}

.innovation-card h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
}

.innovation-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.innovation-tags {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.tag {
    background: var(--bg-light-tertiary);
    color: var(--text-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #e2e8f0;
}

/* How It Works Section */
.how-it-works-section {
    background: var(--bg-light);
}

.process-step {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #e2e8f0;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 60px;
    height: 60px;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    font-family: 'Inter', sans-serif;
}

.step-number.step-1 {
    background: var(--gradient-secondary);
}

.step-number.step-2 {
    background: var(--gradient-tertiary);
}

.step-number.step-3 {
    background: var(--gradient-quaternary);
}

.step-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-icon {
    position: absolute;
    top: -15px;
    right: 20px;
    width: 40px;
    height: 40px;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.step-icon.icon-green {
    background: var(--primary-green);
}

.step-icon.icon-cyan {
    background: var(--primary-cyan);
}

.step-icon.icon-orange {
    background: var(--primary-orange);
}

/* Advantages Section */
.advantages-section {
    background: var(--bg-light-secondary);
}

.advantage-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    height: 100%;
    border: 1px solid #e2e8f0;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-cyan-light);
}

.advantage-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(104, 211, 145, 0.3);
}

.advantage-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.advantage-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.advantage-highlight {
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
}

.advantage-highlight.highlight-cyan {
    background: var(--gradient-tertiary);
}

.advantage-highlight.highlight-green {
    background: var(--gradient-secondary);
}

.advantage-highlight.highlight-orange {
    background: var(--gradient-quaternary);
}

.advantage-highlight.highlight-navy {
    background: var(--primary-navy);
}

/* CTA Section */
.cta-section {
    background: var(--gradient-primary);
    color: white;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
}

.cta-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

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

    .ecosystem-network {
        width: 300px;
        height: 300px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .advantage-card {
        flex-direction: column;
        text-align: center;
    }

    .advantage-icon {
        margin: 0 auto 1rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .innovation-card {
        padding: 2rem 1.5rem;
    }

    .process-step {
        padding: 1.5rem;
    }
}

/* Why NoviStage Section */
.why-novistage {
    background: var(--bg-light);
    position: relative;
}

.feature-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(33, 29, 62, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    text-align: center;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--primary-navy);
    font-size: 2rem;
}

/* Varied colors for different feature cards */
.feature-card:nth-child(1) .feature-icon {
    color: var(--primary-navy);
}

.feature-card:nth-child(2) .feature-icon {
    color: var(--primary-green);
}

.feature-card:nth-child(3) .feature-icon {
    color: var(--primary-orange);
}

.feature-card:nth-child(4) .feature-icon {
    color: var(--secondary-purple);
}

.feature-card:nth-child(5) .feature-icon {
    color: var(--primary-cyan);
}

.feature-card:nth-child(6) .feature-icon {
    color: var(--primary-green);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* Responsive adjustments for feature cards */
@media (max-width: 768px) {
    .feature-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .feature-title {
        font-size: 1.1rem;
    }
    
    .feature-description {
        font-size: 0.9rem;
    }
}

/* Featured Internships Section */
.featured-internships {
    background: var(--bg-light-secondary);
}

/* Modern Internship Cards */
.modern-internship-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 16px rgba(33, 29, 62, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid #f0f0f0;
    height: 360px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.modern-internship-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(33, 29, 62, 0.12);
    border-color: var(--primary-navy);
}

.card-header-modern {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.job-icon {
    width: 52px;
    height: 52px;
    background: #f8f9fa;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--primary-navy);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.modern-internship-card:hover .job-icon {
    background: var(--primary-navy);
    color: white;
}

.stage-badge {
    background: var(--primary-navy);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


.card-content-modern {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.job-title {
    font-size: 19px;
    font-weight: 600;
    color: var(--primary-navy);
    margin: 0 0 18px 0;
    line-height: 1.4;
    font-family: 'Inter', sans-serif;
}

.job-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.tag-green {
    background: rgba(85, 204, 56, 0.1);
    color: var(--primary-green);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    border: 1px solid rgba(85, 204, 56, 0.2);
}

.tag-orange {
    background: rgba(255, 133, 28, 0.1);
    color: var(--primary-orange);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    border: 1px solid rgba(255, 133, 28, 0.2);
}

.tag-blue {
    background: rgba(0, 175, 240, 0.1);
    color: var(--primary-cyan);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    border: 1px solid rgba(0, 175, 240, 0.2);
}

.tag-red {
    background: rgba(255, 41, 56, 0.1);
    color: var(--primary-red);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    border: 1px solid rgba(255, 41, 56, 0.2);
}

.tag-purple {
    background: rgba(138, 43, 226, 0.1);
    color: #8a2be2;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    border: 1px solid rgba(138, 43, 226, 0.2);
}

.company-info-modern {
    flex: 1;
    margin-bottom: 16px;
}

.company-name {
    font-size: 14px;
    color: #666;
    margin-bottom: 4px;
}

.job-duration {
    font-size: 13px;
    color: #888;
    margin-bottom: 4px;
}

.company-location {
    font-size: 13px;
    color: #888;
}

.card-footer-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.company-logo-small {
    width: 40px;
    height: 40px;
    background: var(--primary-navy);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
}

.apply-actions {
    display: flex;
    gap: 8px;
}

.btn-apply-modern, .btn-save-modern {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
    background: #f8f9fa;
    color: #6c757d;
}

.btn-apply-modern:hover {
    background: var(--primary-navy);
    color: white;
    border-color: var(--primary-navy);
}

.btn-save-modern:hover {
    background: #e9ecef;
    color: #495057;
}

.btn-apply-modern.not-eligible {
    background: #f8f9fa;
    color: #6c757d;
    border-color: #e9ecef;
    cursor: not-allowed;
    opacity: 0.6;
}

.already-applied-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: #e8f5e8;
    color: #2d5a2d;
    border: 1px solid #c3e6c3;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    cursor: default;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* Login Required Modal Styles */
.login-modal-dialog {
    max-width: 400px;
    margin: 0 auto;
    position: relative;
    z-index: 1060;
}

.login-modal {
    border: none;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(33, 29, 62, 0.2);
    overflow: hidden;
    background: white;
    position: relative;
}

.login-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #f8f9fa;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.login-modal-close:hover {
    background: #e9ecef;
    color: #495057;
    transform: scale(1.1);
}

.login-modal-body {
    padding: 40px 32px 32px 32px;
    background: white;
}

.login-modal-content {
    text-align: center;
    margin-bottom: 32px;
}

.login-modal-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
    font-size: 24px;
    color: white;
}

.login-modal-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-navy);
    margin: 0 0 8px 0;
    font-family: 'Inter', sans-serif;
}

.login-modal-text {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.login-modal-subtitle {
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
    font-size: 14px;
}

.login-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.login-modal-btn-cancel {
    background: #f8f9fa;
    color: var(--text-secondary);
    border: 1px solid #e9ecef;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    cursor: pointer;
}

.login-modal-btn-cancel:hover {
    background: #e9ecef;
    color: var(--text-primary);
    transform: translateY(-1px);
}

.login-modal-btn-connect {
    background: var(--primary-orange);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.login-modal-btn-connect:hover {
    background: #e55a2b;
    color: white;
    transform: translateY(-1px);
}

/* Modern Modal Styles */
.modern-modal {
    border: none;
    border-radius: 16px;
    overflow: hidden;
}

.modal-header-modern {
    background: white;
    border: none;
    padding: 20px 20px 0 20px;
    display: flex;
    justify-content: flex-end;
}

.btn-close-modern {
    background: #f8f9fa;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-close-modern:hover {
    background: #e9ecef;
    color: #333;
}

.modal-body-modern {
    padding: 20px 40px 40px 40px;
}

.job-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.job-detail-title {
    flex: 1;
}

.job-detail-title h2 {
    font-size: 24px;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 8px 0;
}

.job-detail-subtitle {
    color: #666;
    font-size: 16px;
    margin-bottom: 12px;
}

.job-detail-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.apply-button-large {
    background: #28a745;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.apply-button-large:hover {
    background: #218838;
    transform: translateY(-2px);
}

.job-detail-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.job-description-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 16px 0;
}

.job-description-text {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 24px;
}

.mission-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    line-height: 1.5;
}

.mission-item span {
    color: #4a5568;
    font-size: 14px;
}

.description-section h4,
.missions-section h4,
.profile-section h4 {
    color: #ff6b35 !important;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.deadline-section {
    background: #fff3cd !important;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
    margin-bottom: 20px;
}

.deadline-section .fas {
    color: #856404;
    margin-right: 10px;
}

.deadline-section span {
    color: #856404;
    font-weight: 600;
}

.company-header {
    text-align: center;
    margin-bottom: 20px;
}

.company-icon {
    width: 60px;
    height: 60px;
    background: #6c757d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
}

.company-icon i {
    color: white;
    font-size: 24px;
}

.company-type {
    background: #e9ecef;
    color: #495057;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
}

.company-details {
    margin-bottom: 20px;
}

.company-detail-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    font-size: 14px;
}

.company-detail-item i {
    color: #6c757d;
    margin-right: 10px;
    margin-top: 2px;
    width: 16px;
    flex-shrink: 0;
}

.company-detail-item span {
    color: #495057;
    line-height: 1.4;
}

.apply-section {
    margin-top: 20px;
}

.apply-button-sidebar {
    width: 100%;
    background: #28a745;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.apply-button-sidebar:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.job-requirements h4 {
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 12px 0;
}

.requirements-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.requirements-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
    color: #4a5568;
    font-size: 14px;
}

.requirements-list li::before {
    content: "●";
    color: #28a745;
    font-weight: bold;
    margin-top: 2px;
}

.company-sidebar {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 24px;
}

.company-sidebar h4 {
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 16px 0;
}

.company-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #4a5568;
    font-size: 14px;
}

.company-info-item i {
    width: 16px;
    color: #666;
}

.company-ad {
    background: #007bff;
    color: white;
    text-align: center;
    padding: 40px 20px;
    border-radius: 12px;
    margin-top: 24px;
}

.company-ad h5 {
    margin: 0;
}

/* Recruiting Companies Section */
.recruiting-companies-section {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(26, 22, 64, 0.1);
    text-align: center;
}

.section-header h3 {
    color: #1a1640;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: #6c757d;
    font-size: 1rem;
    margin-bottom: 2rem;
}

/* Companies Carousel - Auto-scrolling */
.companies-carousel-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 220px; /* Increased height for larger cards */
    padding: 1.5rem 0; /* Increased padding */
}

.companies-carousel {
    display: flex;
    gap: 2rem;
    animation: scroll-companies 30s linear infinite;
    width: max-content;
    will-change: transform;
    align-items: center;
}

.companies-carousel:hover {
    animation-play-state: paused;
}

@keyframes scroll-companies {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.company-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 180px; /* Increased from 140px */
    max-width: 180px; /* Increased from 140px */
    padding: 1.5rem; /* Increased padding */
    background: white;
    border-radius: 16px; /* Increased border radius */
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    height: 160px; /* Increased from 120px */
    justify-content: center; /* Centered content vertically */
}

.company-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #ff6b35;
}

.company-icon-new {
    margin-bottom: 0.5rem;
}

.icon-circle {
    width: 60px; /* Increased from 40px */
    height: 60px; /* Increased from 40px */
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.icon-circle::before {
    content: '';
    position: absolute;
    top: 3px; /* Adjusted for larger circle */
    left: 3px; /* Adjusted for larger circle */
    right: 3px; /* Adjusted for larger circle */
    bottom: 3px; /* Adjusted for larger circle */
    background: white;
    border-radius: 50%;
    z-index: 1;
}

.icon-circle img {
    position: relative;
    z-index: 3;
}

.icon-circle.has-logo::before {
    display: none;
}

.icon-circle i {
    color: #ff6b35;
    font-size: 1rem;
    z-index: 2;
    position: relative;
}

.company-name {
    color: #1a1640;
    font-weight: 600;
    font-size: 1rem; /* Increased from 0.85rem */
    margin-bottom: 0.3rem; /* Increased margin */
    line-height: 1.2; /* Improved line height */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

.company-sector {
    color: #6c757d;
    font-size: 0.85rem; /* Increased from 0.75rem */
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}


.no-companies {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    width: 100%;
}

/* Latest Offers Header */
.latest-offers-header {
    text-align: left;
    margin-bottom: 1rem;
}

.latest-offers-header h3 {
    color: #1a1640;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0;
    padding-left: 1rem;
    border-left: 4px solid #ff6b35;
}

.search-input, .search-select {
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-input:focus, .search-select:focus {
    border-color: var(--primary-navy);
    box-shadow: 0 0 0 3px rgba(33, 29, 62, 0.1);
    outline: none;
}

/* Student Profile Banner */
.student-profile-banner {
    background: linear-gradient(135deg, #1a1640 0%, #2d2a5a 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.student-info h5 {
    margin-bottom: 0.75rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.profile-badges .badge {
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
    margin-right: 0.5rem;
}

.search-btn {
    background: linear-gradient(135deg, #ff6b35 0%, #ff851c 100%);
    border: none;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}




.company-info h5 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.company-info p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}



.tag {
    background: var(--secondary-light-gray);
    color: var(--primary-navy);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}


/* Responsive adjustments for internship cards and companies section */
@media (max-width: 768px) {
    .recruiting-companies-section {
        padding: 1.5rem;
    }
    
    .companies-carousel-container {
        gap: 0.5rem;
    }
    
    .companies-carousel {
        gap: 1rem;
    }
    
    .company-card {
        min-width: 120px;
        padding: 0.75rem;
    }
    
    .icon-circle {
        width: 40px;
        height: 40px;
    }
    
    .icon-circle i {
        font-size: 1rem;
    }
    
    .company-name {
        font-size: 0.8rem;
    }
    
    .company-sector {
        font-size: 0.7rem;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
    }
    
    .latest-offers-header h3 {
        font-size: 1.25rem;
    }
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Scroll Animation Classes */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-animate.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.scroll-animate-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-animate-left.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.scroll-animate-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-animate-right.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.scroll-animate-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-animate-scale.animate-in {
    opacity: 1;
    transform: scale(1);
}

.scroll-animate-fade {
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.scroll-animate-fade.animate-in {
    opacity: 1;
}

/* Staggered Animation Delays */
.scroll-animate:nth-child(1) { transition-delay: 0.1s; }
.scroll-animate:nth-child(2) { transition-delay: 0.2s; }
.scroll-animate:nth-child(3) { transition-delay: 0.3s; }
.scroll-animate:nth-child(4) { transition-delay: 0.4s; }
.scroll-animate:nth-child(5) { transition-delay: 0.5s; }
.scroll-animate:nth-child(6) { transition-delay: 0.6s; }

/* Smooth scrolling for anchor links */
a[href^="#"] {
    scroll-behavior: smooth;
}

/* Application Modal Styling */
.modal-backdrop.show {
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    background-color: rgba(26, 22, 64, 0.4) !important;
}

.modal-backdrop {
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    background-color: rgba(26, 22, 64, 0.4) !important;
}

.application-modal-content {
    border: none;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(26, 22, 64, 0.3);
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.application-modal-content .modal-header {
    background: white;
    color: #1a1640;
    border: none;
    border-bottom: 1px solid #e9ecef;
    padding: 1rem 1.5rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.application-modal-content .modal-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.application-modal-content .btn-close {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    opacity: 1;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 10;
}

.application-modal-content .btn-close:hover {
    background: #e9ecef;
    border-color: #adb5bd;
    transform: scale(1.1);
}

.application-modal-content .btn-close::before {
    content: '×';
    color: #6c757d;
    font-size: 18px;
    font-weight: 300;
    line-height: 1;
}

.application-modal-content .modal-body {
    padding: 1.5rem;
    background: white;
    max-height: 60vh;
    overflow-y: auto;
}

.application-modal-content .modal-body h6 {
    color: #1a1640;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.application-modal-content .modal-body .text-muted {
    color: #6c757d !important;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.application-modal-content .form-label {
    color: #1a1640;
    font-weight: 600;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

.application-modal-content .form-control {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 0.6rem 0.8rem;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.application-modal-content .form-control:focus {
    border-color: #ff6b35;
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.15);
    transform: translateY(-1px);
}

.application-modal-content .cv-display-section {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    margin-bottom: 1rem;
}

.application-modal-content .cv-file-info {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.application-modal-content .cv-file-info i {
    font-size: 1.5rem;
    color: #dc3545;
}

.application-modal-content .cv-filename {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #495057;
    flex: 1;
    text-align: left;
}

.application-modal-content .btn-outline-primary {
    border-color: #ff6b35;
    color: #ff6b35;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.application-modal-content .btn-outline-primary:hover {
    background-color: #ff6b35;
    border-color: #ff6b35;
    transform: translateY(-1px);
}

.application-modal-content .modal-footer {
    background: #f8f9fa;
    border: none;
    padding: 1rem 1.5rem;
    gap: 0.75rem;
}

.application-modal-content .modal-footer .btn {
    border-radius: 8px;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
}

.application-modal-content .modal-footer .btn-secondary {
    background: #6c757d;
    color: white;
}

.application-modal-content .modal-footer .btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 117, 125, 0.3);
}

.application-modal-content .modal-footer .btn-primary {
    background: linear-gradient(135deg, #ff6b35 0%, #e55a2b 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.application-modal-content .modal-footer .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.application-modal-content .modal-footer .btn-primary::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: left 0.5s;
}

.application-modal-content .modal-footer .btn-primary:hover::before {
    left: 100%;
}

/* Modal Animation */
.modal.fade .modal-dialog {
    transform: translate(0, -50px) scale(0.95);
    transition: all 0.3s ease-out;
}

.modal.show .modal-dialog {
    transform: translate(0, 0) scale(1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .application-modal-content .modal-header,
    .application-modal-content .modal-body,
    .application-modal-content .modal-footer {
        padding: 1.5rem;
    }
    
    .application-modal-content .modal-footer .btn {
        padding: 0.65rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Hero Responsive Design */
@media (max-width: 992px) {
    .hero-main-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .hero-content-centered {
        padding: 0 1rem;
    }
    
    .hero-main-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        margin-bottom: 3rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 320px;
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .hero-centered-wrapper {
        padding-top: 3rem;
        align-items: flex-start;
    }
    
    .hero-stats {
        gap: 2rem;
        flex-direction: column;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-main-title {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
}
