/* ========================================
   ORGANISATION STRUCTURE CSS
   Version: 1.0
   ======================================== */

/* Container */
.org-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 60px 24px;
    font-family: 'Inter', sans-serif;
}

/* Header Section */
.org-header {
    text-align: center;
    margin-bottom: 50px;
}

.org-badge {
    display: inline-block;
    background: rgba(230, 126, 34, 0.1);
    color: #e67e22;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.org-header h1 {
    font-size: 42px;
    font-weight: 800;
    color: #0f2c39;
    margin-bottom: 16px;
}

.org-header h1 span {
    color: #e67e22;
}

.org-header p {
    font-size: 18px;
    color: #4a5568;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.org-header i {
    color: #e67e22;
    margin-right: 8px;
}

/* Family Culture Card */
.org-culture {
    background: linear-gradient(135deg, #0f2c39, #123b48);
    border-radius: 32px;
    padding: 40px;
    text-align: center;
    margin-bottom: 50px;
    color: white;
}

.org-culture i {
    font-size: 48px;
    color: #e67e22;
    margin-bottom: 20px;
}

.org-culture h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

.org-culture p {
    font-size: 16px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Organisation Chart */
.org-chart {
    background: white;
    border-radius: 40px;
    padding: 40px;
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.08);
    border: 1px solid #eef2f6;
}

/* Managing Director - Top */
.org-top {
    text-align: center;
    margin-bottom: 30px;
}

.org-node-md {
    display: inline-block;
    background: #e67e22;
    padding: 20px 45px;
    border-radius: 16px;
    color: white;
    min-width: 280px;
    box-shadow: 0 4px 12px rgba(230, 126, 34, 0.2);
}

.org-node-md i {
    font-size: 36px;
    margin-bottom: 10px;
    display: block;
}

.org-node-md .name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 5px;
}

.org-node-md .title {
    font-size: 14px;
    opacity: 0.9;
}

/* Line Connector */
.org-line {
    text-align: center;
    margin: 20px 0 25px;
    color: #cbd5e1;
    font-size: 20px;
}

/* Directors Grid - Equal Size Cards */
.org-director-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 350px));
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}

.org-node-director {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 22px 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    width: 100%;
}

.org-node-director:hover {
    transform: translateY(-4px);
    border-color: #e67e22;
    box-shadow: 0 10px 25px -8px rgba(0, 0, 0, 0.1);
}

.org-node-director i {
    font-size: 32px;
    color: #e67e22;
    margin-bottom: 12px;
    display: block;
}

.org-node-director .name {
    font-size: 18px;
    font-weight: 700;
    color: #0f2c39;
    line-height: 1.3;
    margin-bottom: 5px;
}

.org-node-director .title {
    font-size: 13px;
    color: #e67e22;
    font-weight: 500;
}

/* Other Positions Grid */
.org-other-level {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin: 30px 0 20px;
}

.org-node-other {
    background: #ffffff;
    border-radius: 16px;
    padding: 18px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eef2f6;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.org-node-other:hover {
    transform: translateY(-3px);
    border-color: #e67e22;
    box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.08);
}

.org-node-other i {
    font-size: 24px;
    color: #e67e22;
    margin-bottom: 10px;
}

.org-node-other .name {
    font-size: 15px;
    font-weight: 700;
    color: #0f2c39;
    margin-bottom: 5px;
}

.org-node-other .title {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
}

/* Level Title */
.level-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 30px 0 20px;
}

.level-title .line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, #e2e8f0, #e67e22, #e2e8f0);
}

.level-title span {
    font-size: 14px;
    font-weight: 600;
    color: #e67e22;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.org-chart,
.org-culture {
    animation: fadeInUp 0.5s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
    .org-container {
        padding: 40px 20px;
    }
    
    .org-header h1 {
        font-size: 32px;
    }
    
    .org-culture {
        padding: 30px 20px;
    }
    
    .org-chart {
        padding: 25px;
    }
    
    .org-node-md {
        padding: 15px 30px;
        min-width: 220px;
    }
    
    .org-node-md .name {
        font-size: 18px;
    }
    
    .org-director-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .org-other-level {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .org-other-level {
        grid-template-columns: 1fr;
    }
}