/* Our Companies Page Specific Styles - Modern Design */

/* Fix header overlap issue */
body {
    padding-top: 90px !important;
}

/* Hero Section - Modern Design */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    overflow: hidden;
    min-height: 50vh;
    display: flex;
    align-items: center;
    padding: 3rem 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="companies-hero-bg" cx="50%" cy="50%"><stop offset="0%" stop-color="%233b82f6" stop-opacity="0.02"/><stop offset="100%" stop-color="%232563eb" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="150" fill="url(%23companies-hero-bg)"/><circle cx="800" cy="400" r="120" fill="url(%23companies-hero-bg)"/><circle cx="400" cy="800" r="100" fill="url(%23companies-hero-bg)"/></svg>');
    background-size: cover;
    pointer-events: none;
}

/* Remove hero image on non-index pages */
.hero-image {
    display: none;
}

/* Adjust hero content for full width */
.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Hero Section Text Styling */
.hero-title {
    color: black !important;
}

.hero-subtitle {
    color: var(--gray-700) !important;
}

/* Section Dividers */
.section-divider {
    height: 2px;
    background: #007bff;
    margin: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: none;
}

/* Section Spacing - Compact Design */
.section-spacing {
    padding: 50px 0 !important;
    margin: 0 !important;
}

.section-spacing.bg-light {
    margin: 0 !important;
}

/* Modern Section Headers */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #dc2626, #fbbf24, #000000, #dc2626, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: black;
    margin-bottom: 3rem;
}


/* Company Cards */
.company-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 123, 255, 0.1);
}

.company-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #0056b3);
}

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

/* Owner Information */
.owner-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
    text-align: left;
}

.owner-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.owner-details {
    flex: 1;
}

.owner-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0 0 5px 0;
}

.owner-title {
    font-size: 0.9rem;
    color: var(--primary-color);
    margin: 0;
    font-weight: 500;
}

.company-icon {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 28px;
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.3);
    padding: 8px;
}

.company-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    background: white;
    padding: 4px;
}

.company-link {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.company-link:hover {
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
    color: white;
    text-decoration: none;
}

.company-link .material-icons {
    font-size: 20px;
}

.company-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.company-region {
    font-size: 1rem;
    color: #007bff;
    font-weight: 500;
    margin-bottom: 15px;
}

.company-description {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 25px;
}

.company-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-700);
    font-size: 0.9rem;
}

.feature-item .material-icons {
    font-size: 18px;
    color: #007bff;
}

/* Benefit Cards */
.benefit-card {
    background: white;
    padding: 35px 30px;
    border-radius: 18px;
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    transition: all 0.3s ease;
    border-left: 5px solid #007bff;
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
    border-left-color: #0056b3;
}

.benefit-icon {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 20px;
}

.benefit-card h4 {
    color: var(--gray-900);
    margin-bottom: 15px;
    font-weight: 600;
}

.benefit-card p {
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
}

/* Statistics Cards */
.stat-card {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: #007bff;
    transform: translateY(-5px);
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, #007bff, #0056b3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: var(--gray-600);
    font-weight: 500;
}

/* Enhanced CTA Section */
.cta-section {
    background: linear-gradient(135deg, #007bff, #0056b3);
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.cta-background::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 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

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

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-benefits {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.cta-benefit-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-weight: 500;
}

.cta-benefit-item .material-icons {
    font-size: 20px;
    color: #ffeb3b;
}

.cta-trust-indicators {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.trust-item {
    text-align: center;
    color: white;
}

.trust-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffeb3b;
}

.trust-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.lead-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    margin-top: 2rem;
}

.cta-actions .btn {
    margin: 0.5rem;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Button Spacing */
.btn {
    margin: 10px 0 !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    z-index: 10 !important;
    position: relative !important;
}

.hero-actions {
    margin-top: 40px !important;
}

.hero-actions .btn {
    margin: 10px 15px !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    z-index: 10 !important;
    position: relative !important;
}

/* Content Spacing */
.section-title {
    margin-bottom: 20px !important;
    padding-top: 20px !important;
}

.section-subtitle {
    margin-bottom: 40px !important;
}

.section-badge {
    margin-bottom: 20px !important;
    display: inline-block;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .hero-section {
        min-height: 50vh !important;
        padding: 100px 0 60px !important;
    }
    
    .section-spacing {
        padding: 60px 0 !important;
        margin: 30px 0 !important;
    }
    
    .company-card {
        margin-bottom: 25px;
        padding: 35px 25px;
    }
    
    .benefit-card {
        margin-bottom: 25px;
        padding: 30px 25px;
    }
    
    .stat-card {
        margin-bottom: 15px;
        padding: 25px 15px;
    }
    
    .hero-actions .btn {
        margin: 10px 5px !important;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: 40vh !important;
        padding: 90px 0 40px !important;
    }
    
    .section-spacing {
        padding: 40px 0 !important;
        margin: 20px 0 !important;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-subtitle {
        font-size: 1.1rem;
    }
    
    .cta-benefits {
        gap: 1rem;
    }
    
    .cta-trust-indicators {
        gap: 1rem;
    }
    
    .trust-number {
        font-size: 1.5rem;
    }
    
    .company-card {
        margin-bottom: 20px;
        padding: 30px 20px;
    }
    
    .owner-info {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding: 12px;
    }
    
    .owner-photo {
        width: 50px;
        height: 50px;
    }
    
    .owner-name {
        font-size: 1rem;
    }
    
    .owner-title {
        font-size: 0.85rem;
    }
    
    .company-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .benefit-card {
        margin-bottom: 20px;
        padding: 25px 20px;
    }
    
    .benefit-icon {
        width: 50px;
        height: 50px;
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .stat-card {
        margin-bottom: 12px;
        padding: 20px 15px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .hero-actions {
        margin-top: 30px !important;
    }
    
    .hero-actions .btn {
        margin: 10px 5px !important;
        display: inline-block;
        width: auto;
        min-width: 140px;
    }
}

/* Center Hero Content */
.hero-content {
    text-align: center;
}

.hero-title {
    text-align: center;
}

.hero-subtitle {
    text-align: center;
}

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

/* Center all buttons in hero */
.hero-actions .btn {
    margin: 0;
}
