* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background: #1a1a1a;
}

.activities-container {
    max-width: 1200px;
    margin: 0 auto;
    background: #2c2c2c;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    overflow: hidden;
}

/* Hero Section */
.hero-section {
    display: flex;
    align-items: center;
    padding: 80px 60px;
    background: #3a3a3a;
    min-height: 500px;
}

.hero-content {
    flex: 1;
    padding-right: 40px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #f1c40f;
    margin-bottom: 20px;
    line-height: 1.2;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #b0b0b0;
    margin-bottom: 30px;
    line-height: 1.5;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.activities-chart {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.activities-chart:hover {
    transform: scale(1.05);
}

/* Main Activities Section */
.main-activities-section {
    padding: 80px 60px;
    background: #2c2c2c;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.activity-card {
    background: #3a3a3a;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.activity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #9b59b6, #e74c3c, #f39c12, #2ecc71);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.activity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: #f1c40f;
}

.activity-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.activity-card h3 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: 600;
}

.activity-card p {
    color: #b0b0b0;
    line-height: 1.6;
}

/* Color themes for different activities */
.activity-card.optics .activity-icon { color: #3498db; }
.activity-card.distribution .activity-icon { color: #9b59b6; }
.activity-card.trading .activity-icon { color: #e74c3c; }
.activity-card.supplies .activity-icon { color: #f39c12; }
.activity-card.import-export .activity-icon { color: #2ecc71; }

/* Organizational Chart Section */
.org-chart-section {
    padding: 80px 60px;
    background: #3a3a3a;
}

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

.section-header h2 {
    font-size: 2.8rem;
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: 600;
}

.section-header p {
    font-size: 1.2rem;
    color: #b0b0b0;
}

.org-chart {
    max-width: 1000px;
    margin: 0 auto;
}

.org-level {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.org-box {
    background: #2c2c2c;
    padding: 20px 30px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid #f1c40f;
    min-width: 200px;
    transition: all 0.3s ease;
}

.org-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(241, 196, 15, 0.3);
    background: #3a3a3a;
}

.org-box h4 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.org-box.board {
    background: #f1c40f;
    color: #1a1a1a;
    border-color: #f39c12;
}

.org-box.board h4 {
    color: #1a1a1a;
}

.management-level {
    justify-content: space-around;
}

.management-level .org-box {
    border-color: #3498db;
    min-width: 150px;
}

.management-level .org-box:hover {
    box-shadow: 0 10px 25px rgba(52, 152, 219, 0.3);
}

/* Department Level */
.department-level {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.department-group {
    background: #2c2c2c;
    padding: 25px;
    border-radius: 15px;
    border: 2px solid #9b59b6;
    transition: all 0.3s ease;
}

.department-group:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(155, 89, 182, 0.3);
}

.department-group h5 {
    color: #9b59b6;
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
    text-align: center;
}

.dept-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dept-items span {
    color: #b0b0b0;
    font-size: 0.9rem;
    padding: 5px 10px;
    background: #3a3a3a;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.dept-items span:hover {
    background: #4a4a4a;
    color: #ffffff;
}

/* Business Units Section */
.business-units-section {
    padding: 80px 60px;
    background: #2c2c2c;
}

.business-units-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.business-unit {
    background: #3a3a3a;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid #e74c3c;
}

.business-unit:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(231, 76, 60, 0.3);
    border-color: #c0392b;
}

.unit-icon {
    font-size: 3rem;
    color: #e74c3c;
    margin-bottom: 20px;
    display: block;
}

.business-unit h3 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: 600;
}

.business-unit p {
    color: #b0b0b0;
    line-height: 1.6;
}

/* Call to Action */
.cta-section {
    padding: 80px 60px;
    background: #3a3a3a;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.8rem;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 600;
}

.cta-content p {
    font-size: 1.3rem;
    color: #b0b0b0;
    margin-bottom: 40px;
}

.cta-button {
    background: linear-gradient(135deg, #f1c40f 0%, #f39c12 100%);
    color: #1a1a1a;
    border: none;
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(241, 196, 15, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(241, 196, 15, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .activities-container {
        margin: 20px;
        border-radius: 15px;
    }
    
    .hero-section,
    .main-activities-section,
    .org-chart-section,
    .business-units-section,
    .cta-section {
        padding: 40px 30px;
    }
    
    .hero-section {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-header h2,
    .cta-content h2 {
        font-size: 2.2rem;
    }
    
    .activities-grid {
        grid-template-columns: 1fr;
    }
    
    .org-level {
        flex-direction: column;
    }
    
    .management-level {
        flex-direction: column;
        align-items: center;
    }
    
    .department-level {
        grid-template-columns: 1fr;
    }
    
    .business-units-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-header h2,
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .activity-card,
    .business-unit {
        padding: 30px 20px;
    }
    
    .org-box {
        min-width: 150px;
        padding: 15px 20px;
    }
    
    .department-group {
        padding: 20px;
    }
}

