/* Company Details Page Styles */

/* Hero Section */
.company-hero {
    background: linear-gradient(135deg, #4FC3F7 0%, #29B6F6 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.company-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="%23ffffff05" points="0,1000 1000,800 1000,1000"/></svg>');
    background-size: cover;
}

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

.company-logo-large {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-logo-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.8);
}

.company-hero h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 20px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

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

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

.stat-number {
    display: block;
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
    font-weight: 500;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.circle-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
}

.circle-2 {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 15%;
}

.circle-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
}

/* Companies Grid Section */
.companies-section {
    padding: 80px 0;
    background: #f8f9fc;
}

.company-description {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 18px;
    line-height: 1.8;
    color: #4a5568;
    text-align: left;
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.company-description p {
    margin: 0;
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.job-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

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

.job-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a202c;
    margin: 0;
    flex: 1;
    margin-right: 15px;
}

.job-type {
    background: linear-gradient(135deg, #4FC3F7, #29B6F6);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #718096;
}

.job-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

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

.job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.job-date {
    font-size: 13px;
    color: #a0aec0;
}

.apply-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

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

.company-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f3f4;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.company-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4FC3F7, #29B6F6, #4FC3F7);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.company-card:hover::before {
    transform: scaleX(1);
}

.company-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(79, 195, 247, 0.15);
    border-color: rgba(79, 195, 247, 0.3);
}

.company-header {
    padding: 30px 25px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}

.company-logo {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #4FC3F7, #29B6F6);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(79, 195, 247, 0.3);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.company-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.company-info {
    flex: 1;
}

.company-info h3 {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.company-industry {
    font-size: 14px;
    color: #4FC3F7;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.company-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.stars {
    display: flex;
    gap: 2px;
}

.stars i {
    color: #FFD700;
    font-size: 14px;
}

.rating-text {
    font-size: 12px;
    font-weight: 600;
    color: #666;
}

.company-details {
    padding: 0 25px 25px;
}

.company-location {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.company-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.company-stats span {
    font-size: 13px;
    color: #666;
    background: rgba(79, 195, 247, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    border: 1px solid rgba(79, 195, 247, 0.2);
}

.company-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.benefit-tag {
    font-size: 11px;
    color: #4FC3F7;
    background: rgba(79, 195, 247, 0.1);
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 600;
    border: 1px solid rgba(79, 195, 247, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.view-company-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #4FC3F7, #29B6F6);
    color: white;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    border-radius: 0 0 20px 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.view-company-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: left 0.5s ease;
}

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

.view-company-btn:hover {
    background: linear-gradient(135deg, #29B6F6, #4FC3F7);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 195, 247, 0.4);
}

.company-details {
    padding: 0 25px 20px;
}

.company-location {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.company-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.company-stats span {
    font-size: 12px;
    color: #666;
    background: #f8f9fc;
    padding: 5px 10px;
    border-radius: 15px;
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #4FC3F7 0%, #29B6F6 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-content h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.cta-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.cta-btn {
    padding: 18px 35px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cta-btn.primary {
    background: white;
    color: #4FC3F7;
}

.cta-btn.primary:hover {
    background: #f8f9fc;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

.cta-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-btn.secondary:hover {
    background: white;
    color: #4FC3F7;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .companies-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }

    .hero-stats {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .company-hero h1 {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .companies-section {
        padding: 60px 0;
    }

    .companies-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .company-header {
        padding: 25px 20px;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .company-logo {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .company-info h3 {
        font-size: 20px;
    }

    .company-details {
        padding: 0 20px 20px;
    }

    .company-rating {
        position: absolute;
        top: 20px;
        right: 20px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .stat-number {
        font-size: 36px;
    }

    .cta-section {
        padding: 60px 0;
    }

    .cta-content h2 {
        font-size: 32px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .company-hero {
        padding: 80px 0 60px;
    }

    .company-hero h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .company-stats {
        flex-direction: column;
        gap: 15px;
    }

    .stat-number {
        font-size: 28px;
    }

    .company-benefits {
        justify-content: center;
    }

    .floating-circle {
        display: none;
    }
}