body {
    background: linear-gradient(180deg, #78a6c8 0%, #e6eef3 30%, #e6eef3 100%);
    min-height: 100vh;
}

.hero-section {
    padding: 2rem 0;
    padding-bottom: 0;
    color: #2c3e50;
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-size: 2rem;
    font-weight: 600;
    color: #2c3e50;
    position: relative;
    overflow: hidden;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #34495e;
    font-weight: 300;
    max-width: 800px;
    margin: 0 auto;
}

/* Search filters styles */
.search-filters {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 2rem;
}

.search-filters .input-group {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #dee2e6;
}

.search-filters .input-group-text {
    background-color: #fff;
    border-right: none;
    color: #666;
}

.search-filters .form-control {
    border-left: none;
    padding-left: 0;
    font-size: 1rem;
}

.search-filters .form-control:focus {
    box-shadow: none;
    border-color: #ced4da;
}

.companies-section {
    padding-bottom: 40px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin: 30px 0;
}

.companies-content {
    margin: 0 auto;
    padding: 0 20px;
}

#companies-container {
    margin: 0 -12px;
}

#companies-container > div {
    padding: 12px;
}

@media (max-width: 768px) {
    .companies-section {
        margin: 20px 15px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
}

.company-card {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    cursor: pointer;
}

.company-card-inner {
    background-color: #fff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    padding: 1.8rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    height: 100%;
    margin-bottom: 0;
}

.company-card:hover .company-card-inner {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.company-card:focus {
    outline: none;
}

.company-card:focus .company-card-inner {
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.3);
}

.logo-container {
    flex-shrink: 0;
}

/* Company logo styles */
.company-card .company-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

/* Mobile responsive logo styles */
@media (max-width: 767px) {
    .company-card .company-logo {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 400px) {
    .company-card .company-logo {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 375px) {
    .company-card .company-logo {
        width: 40px;
        height: 40px;
    }
}

/* Default logo style for other pages */
.company-logo:not(.company-card .company-logo) {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.company-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.company-name {
    color: #1a1a1a;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}

.company-description {
    color: #666;
    margin: 0;
    line-height: 1.6;
    font-size: .95rem;
}

.toggle-description {
    color: #0066cc;
    text-decoration: none;
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
    margin: 0;
    font: inherit;
    font-weight: 500;
    display: inline;
}

.toggle-description:hover {
    color: #0052a3;
    text-decoration: underline;
}

.toggle-description:focus {
    outline: none;
}

.toggle-description span {
    display: inline;
    white-space: nowrap;
}
